2026-07-24 01:40:25 +08:00
# ui/ — human and SDK-client integration surfaces
2026-06-20 23:25:33 +08:00
2026-07-26 05:03:53 +08:00
English | [中文 ](README.zh.md )
2026-07-24 01:40:25 +08:00
Human-facing channels and the out-of-process SDK server. These are **product ** packages: real interfaces that a person or SDK client drives.
2026-06-20 23:25:33 +08:00
| Package | Role | ctx key |
|---|---|---|
2026-08-05 12:46:38 +08:00
| [`commands/` ](commands/README.md ) | Registers and dispatches human commands for interactive adapters. | `ctx.commands` |
| [`user-approval/` ](user-approval/README.md ) | Coordinates one-shot approval decisions. | `ctx.approval` |
| [`permission/` ](permission/README.md ) | Presents and persists user-facing permission presets. | `ctx.permission` |
| [`user-interaction/` ](user-interaction/README.md ) | Defines the provider-neutral human question/answer seam. | `ctx.userInteraction` |
| [`tool-ask-user/` ](tool-ask-user/README.md ) | Exposes human questions to the model. | (registers on `ctx.tools` ) |
| [`jsonrpc/` ](jsonrpc/README.md ) | Serves out-of-process SDK clients over stdio JSON-RPC. | (drives `ctx.agents` ) |
| [`app-boot/` ](app-boot/README.md ) | Provides shared boot support for application launchers. | (library for the bins) |
2026-06-20 23:25:33 +08:00
2026-08-05 12:46:38 +08:00
These packages integrate through existing agent and session contracts rather than changing the loop. Interactive applications provide the concrete command, approval, and question adapters; automation uses [`acp/` ](../acp/README.md ), and runnable demo bundles live under [`examples/` ](../examples/README.md ). The product [`dsh` ](../../apps/cli/README.md ) CLI composes these packages directly.