Commit Graph

8 Commits

Author SHA1 Message Date
Levi Neely 8f0dfdef37 generic read/write dispatch via store entry flags
- Add OneShot, IsBlocking, Async to StoreEntry interface
- FileSpec gains OneShot/Async fields; session entries annotated
- read() is fully generic: openEntry → check flags → dispatch
- handleWrite() reduced to 5 lines via routeStore
- clunk uses entry.Async() instead of hardcoded isAsyncWrite
- Root store for /backends and /help (consistent semantics)
- ToolStore.OpenFiltered for per-session allowTools on idx
- Remove storeReadCtx, storeBlockingRead, isAsyncWrite
2026-05-19 16:39:48 +02:00
Levi Neely 479ac1b9d4 sessionfile: defer backend/model overrides until after agent= in handleCfg
Ensures manual model/backend settings always win over agent.json defaults
regardless of line order in ctl writes.
2026-05-18 12:16:34 +02:00
Levi Neely 5b86ff06fb cfg: expose all generation params in session cfg file 2026-05-16 05:36:10 +00:00
Levi Neely b4237c326c remove chatwait file from 9p filesystem 2026-05-08 14:42:46 +02:00
Levi Neely 182682cbb7 agents: use OLLIE_AGENTS_PATH for multi-dir agent resolution 2026-05-08 13:01:22 +02:00
Levi Neely 323ae311fe chatwait: return immediately when session is idle
Fixes a race where the client starts a new chatwait read after the
turn has ended (EnsureTrailingNewline already fired), causing a
5-second blocking delay before the shell prompt reappears.
2026-05-08 12:15:36 +02:00
Levi Neely 46c57923ec add chatwait: blocking read that streams new chat content
Replaces polling with a blocking file that returns new bytes as they
are appended to the session log. Unblocks immediately on end-of-turn
(EnsureTrailingNewline) so frontends exit cleanly.
2026-05-08 12:08:34 +02:00
Levi Neely 61c169af3b move store package from core into 9p/store 2026-04-30 07:53:39 +02:00