Session.Submit now forwards directly to Agent.Submit. Slash commands are agent-level concerns handled by Agent.HandleCommand. Session-level operations (save, resume, kill, rename, cwd) are ctl verbs issued via the ctl file — they are NOT slash commands and do not flow through the prompt path. This eliminates the artificial session/agent command routing and makes the prompt path clean: everything in the prompt goes to the agent. |
||
|---|---|---|
| .. | ||
| agent.go | ||
| agent_config.go | ||
| build_runtime.go | ||
| commands.go | ||
| compaction.go | ||
| config_paths.go | ||
| cost.go | ||
| fifo.go | ||
| fifo_test.go | ||
| history.go | ||
| hooks.go | ||
| loop.go | ||
| new.go | ||
| prompt_resolver.go | ||
| runtime.go | ||
| state.go | ||
| turn.go | ||
| usage_log.go | ||