ollie/fs/session
Ollie Agent 83304e2896 split Session into Session + AgentState; move all agent-scoped state to AgentState
Session struct now only holds: id, uname, mu, Core, SessionCtx, cancel,
proc, modelsMu/Cache/At.

New AgentState struct holds: log, logVers, ChatOffset, chatCond, plan,
prevPrompt, remote — all per-agent state.

agentHelper now takes an *AgentState alongside *Session. All agent file
operations (plan, log, chat, prevPrompt, offset, remote, cfg) access
AgentState fields instead of Session fields.

Removed startEventLog from NewSession (was writing to session log).
replayMessagesToLog takes *AgentState. Rename no longer appends to log.
ReadPlanStep stubbed out (TODO: look up correct AgentState).
server.go makeStat stubbed out AgentState log size tracking (TODO).
2026-08-01 14:17:56 +02:00
..
create.go split Session into Session + AgentState; move all agent-scoped state to AgentState 2026-08-01 14:17:56 +02:00
files.go split Session into Session + AgentState; move all agent-scoped state to AgentState 2026-08-01 14:17:56 +02:00
format.go split Session into Session + AgentState; move all agent-scoped state to AgentState 2026-08-01 14:17:56 +02:00
fs.go 9P streaming: add chat file, rename chat→log, rewrite acme frontend 2026-07-31 19:52:27 +02:00
fs_test.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
perm.go move plan from session to agent level 2026-08-01 13:58:38 +02:00
persist.go split Session into Session + AgentState; move all agent-scoped state to AgentState 2026-08-01 14:17:56 +02:00
root.go split Session into Session + AgentState; move all agent-scoped state to AgentState 2026-08-01 14:17:56 +02:00
session.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
synth.go 9P streaming: add chat file, rename chat→log, rewrite acme frontend 2026-07-31 19:52:27 +02:00
tree.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
types.go split Session into Session + AgentState; move all agent-scoped state to AgentState 2026-08-01 14:17:56 +02:00