|
|
|
|
@@ -82,9 +82,9 @@ flowchart LR
|
|
|
|
|
pkg_agent_spine_demo["agent-spine-demo"]
|
|
|
|
|
pkg_goal["goal"]
|
|
|
|
|
svc_goals["ctx.goals<br/>Same-session goal domain"]
|
|
|
|
|
pkg_process["process"]
|
|
|
|
|
svc_subprocess["ctx.subprocess<br/>Process manager seam"]
|
|
|
|
|
pkg_process_local["process-local"]
|
|
|
|
|
pkg_subprocess["subprocess"]
|
|
|
|
|
svc_subprocess["ctx.subprocess<br/>Subprocess seam"]
|
|
|
|
|
pkg_subprocess_local["subprocess-local"]
|
|
|
|
|
pkg_bash_local["bash-local"]
|
|
|
|
|
pkg_bash_sandbox["bash-sandbox"]
|
|
|
|
|
pkg_bash["bash"]
|
|
|
|
|
@@ -167,8 +167,6 @@ flowchart LR
|
|
|
|
|
pkg_modules --> svc_clientModuleHost
|
|
|
|
|
pkg_permission --> svc_permission
|
|
|
|
|
pkg_plan_mode --> svc_planMode
|
|
|
|
|
pkg_process --> svc_subprocess
|
|
|
|
|
pkg_process_local --> svc_subprocess
|
|
|
|
|
pkg_pty --> svc_pty
|
|
|
|
|
pkg_pty_local --> svc_pty
|
|
|
|
|
pkg_sandbox --> svc_sandbox
|
|
|
|
|
@@ -196,6 +194,8 @@ flowchart LR
|
|
|
|
|
pkg_subagent_acp --> svc_subagents
|
|
|
|
|
pkg_subagent_fork --> svc_subagents
|
|
|
|
|
pkg_subagent_spawn --> svc_subagents
|
|
|
|
|
pkg_subprocess --> svc_subprocess
|
|
|
|
|
pkg_subprocess_local --> svc_subprocess
|
|
|
|
|
pkg_system_prompt --> svc_systemPrompt
|
|
|
|
|
pkg_tasks --> svc_tasks
|
|
|
|
|
pkg_tasks_local --> svc_tasks
|
|
|
|
|
@@ -324,7 +324,7 @@ flowchart LR
|
|
|
|
|
| `ctx.agents` | `core` | [`agent`](../packages/core/agent) | - | [`agent-loop`](../packages/core/agent-loop), [`acp`](../packages/acp/acp), [`cli-demo`](../packages/examples/cli-demo), [`subagent-inprocess`](../packages/subagent/subagent-inprocess), [`tui-demo`](../packages/examples/tui-demo) | - | Owns live Agent handles, the create/resume factory seam, and process-local initiator propagation. |
|
|
|
|
|
| `ctx.agentLoop` | `bundle` | [`agent-loop`](../packages/core/agent-loop) | - | [`agent-spine-demo`](../packages/examples/agent-spine-demo) | - | The one concrete loop plugin; extension packages depend on dsh-agent events and services, not on this package. |
|
|
|
|
|
| `ctx.goals` | `core` | [`goal`](../packages/goal/goal) | - | - | - | Folds revisioned objective state from the session log and keeps live continuation activation process-local. |
|
|
|
|
|
| `ctx.subprocess` | `seam` | `process` | `process-local` | [`bash-local`](../packages/bash/bash-local), [`bash-sandbox`](../packages/bash/bash-sandbox) | - | The bash executors spawn their process groups through ctx.subprocess; the service owns group lifetime, bounded spill-backed output, and kill escalation. |
|
|
|
|
|
| `ctx.subprocess` | `seam` | [`subprocess`](../packages/subprocess/subprocess) | [`subprocess-local`](../packages/subprocess/subprocess-local) | [`bash-local`](../packages/bash/bash-local), [`bash-sandbox`](../packages/bash/bash-sandbox) | - | The bash executors spawn their process groups through ctx.subprocess; the service owns group lifetime, bounded spill-backed output, and kill escalation. |
|
|
|
|
|
| `ctx.bash` | `seam` | [`bash`](../packages/bash/bash) | [`bash-local`](../packages/bash/bash-local), [`bash-sandbox`](../packages/bash/bash-sandbox) | [`tool-bash`](../packages/bash/tool-bash), [`hooks-claude`](../packages/hooks/hooks-claude), [`hooks-codex`](../packages/hooks/hooks-codex) | - | The model-facing bash tools and hook bridges consume this seam; sandboxed or remote executors replace bash-local without touching them. |
|
|
|
|
|
| `ctx.bashEnv` | `core` | [`tool-bash`](../packages/bash/tool-bash) | - | - | - | Plugins declare effect-scoped DSH_* facts; tool-bash collects one trusted snapshot per execution and the executor rebuilds the namespace. |
|
|
|
|
|
| `ctx.pty` | `seam` | [`pty`](../packages/pty/pty) | [`pty-local`](../packages/pty/pty-local) | [`tool-pty`](../packages/pty/tool-pty) | - | The registry owns exact-Agent session identity and cleanup; backends own terminal mechanics, while tool-pty exposes the owner-scoped model surface. |
|
|
|
|
|
|