toolsrv: - Merge rpc.go into conn.go (wire types already there) - Merge tools.go + discover.go into registry.go - Merge accessors.go into server.go - 4 files eliminated fs: - HandlerCtx.Context now carries the session context (set via sessionBindings Applier). Previously it was the daemon context which never cancels — handlers checking ctx.Done() now properly detect session kill/pause. - Session-scoped blocking handlers (streamAgentChat, blockAgentStateWait) merge session context with per-read timeout via mergeCtx(). A session kill now immediately unblocks readers without waiting for the 5s timeout. - Remove redundant manual AfterFunc in blockAgentStateWait. session: - Remove unused _ string parameter from WaitEvent |
||
|---|---|---|
| .. | ||
| agent_log.go | ||
| cache.go | ||
| ctl.go | ||
| handlers.go | ||
| lifecycle.go | ||
| newroot.go | ||
| replay_test.go | ||
| session_node.go | ||
| spec.go | ||