Commit Graph

16 Commits

Author SHA1 Message Date
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 06b0775b66 fix new file 2026-05-17 14:11:01 +02:00
Levi Neely 5ec6ac6fe8 session: use agent config backend/model as defaults; fix stubCore for ToolCallCount 2026-05-17 00:15:40 +02:00
Levi Neely c075964a1f move t/ into s/{sid}/t/; add allowTools filtering at 9P layer 2026-05-16 23:55:14 +02:00
Levi Neely 393460f767 s/new: show generation params in spec template 2026-05-16 07:48:19 +02:00
Levi Neely 5b86ff06fb cfg: expose all generation params in session cfg file 2026-05-16 05:36:10 +00:00
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