Levi Neely
|
2a3798ae39
|
session: add agent/{aid} sublevel routing
The 9P namespace now supports:
session/{sid}/plan, env (session-level)
session/{sid}/agent/{aid}/* (agent-level files)
session/{sid}/agent/{aid}/proc/* (agent detached processes)
Routing updated in stat, openEntry, and Readdir.
Existing flat access ({sid}/{file}) preserved for backward compat.
Tests pass unchanged.
|
2026-07-29 20:49:59 +02:00 |
Levi Neely
|
19939cc074
|
session: split session.go into focused files
Break the 1522-line monolith into logical modules:
- session.go (201) — Session struct + basic methods
- manager.go (535) — Manager lifecycle, peers, stat/open
- persist.go (347) — save/restore, shutdown
- create.go (297) — CreateSession, renameSession
- format.go (94) — FormatEvent, LoadAgentConfig
- complete.go (103) — code completion
No behavioral changes. All tests pass.
|
2026-07-29 20:03:27 +02:00 |