Commit Graph

10 Commits

Author SHA1 Message Date
Levi Neely 73b166d276 store: expand ~ and env vars in cwd at session creation
When cwd was passed with ~ or $HOME (e.g. ~/src/myproj), it was used
unexpanded in BuildAgentEnv -> resolvePrompt, causing prompt commands
to fail silently (invalid cmd.Dir) and producing an empty system prompt.

Apply os.ExpandEnv + paths.ExpandHome before cwd is used anywhere.
2026-05-11 14:20:19 +02: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 77c20cf43d support OLLIE_PROMPTS_PATH: multi-dir prompt store via NewFlatDirUnion 2026-05-08 11:59:22 +02:00
Levi Neely 11618a7960 respect OLLIE_DEFAULT_AGENT env var in session creation 2026-05-08 11:33:28 +02:00
Logan Neely 88ea073135 olliesrv: add -strict and -yolo flags
-strict: only tool steps allowed, inline code rejected.
-yolo: skip landrun sandbox for execute_code.
2026-05-07 22:27:27 +02:00
Levi Neely 9bfccebff6 change tools to hierarchical 2026-04-30 14:38:47 +02:00
Levi Neely 61c169af3b move store package from core into 9p/store 2026-04-30 07:53:39 +02:00