Files
deepseek-harness/docs/capability-seams.md
T
imccyu b8c33a1504 feat(experimental): 导入 DeepSeek 官网对话导出为会话 (#8342)
* feat(session-query): import DeepSeek chat exports as Sessions

Add @deepseek-ai/dsh-deepseek-chat-import: the browser uploads a
deepseek_data-*.zip export, the Host buffers it in memory (bounded by
maxUploadBytes, default 512 MiB), linearizes each conversation tree to its
newest leaf, keeps the most recent maxSessions conversations, and stores one
Session per conversation in the chosen Workspace with original titles and
times. Reasoning, answers, web search/open fragments, and exported images map
to native events and attachments; withdrawn, failed, and templated replies end
their turn with an error and stay out of model context.

Also add the sidebar.session.action slot beside New session, publish the
New-session Workspace menu as the reusable workspace.picker Factory (with a
directory-flow hole both directory pickers fill), and add an upload icon.

* refactor(experimental): ship DeepSeek chat import as an optional bundle

Move @deepseek-ai/dsh-deepseek-chat-import from packages/session-query to
packages/experimental under its unprefixed name (recorded in
EXPERIMENTAL_PACKAGE_NAME_EXCEPTIONS). The Web composition no longer mounts
it: the package now declares dsh.bundle.patch with its own
deepseek-chat-import row, an icon, and localized display metadata, and joins
OPTIONAL_BUNDLES, MORE_BUNDLES, and EXPERIMENTAL_BUNDLES, so the Plugins page
offers it switched off under More with the Experimental badge. The dsh
installation carries it as an optional-bundle dependency.

Also fix the test typings that failed the aggregate build:check (branded
SessionId keys, the generic renderFactorySlot stub, an ArrayBuffer-backed
Request body), the lines oxlint rejected, and regenerate the config catalog,
module graph, and dsh-doc package list.

* docs(experimental): document DeepSeek chat import as an optional bundle

Rewrite the DeepSeek chat export import Agent Note for the current design,
add its English counterpart and pairing record: browser upload to an
owner-only exact route, in-memory unzip bounded by maxUploadBytes, one import
at a time, a Workspace chosen through workspace.picker, the closed failure
reasons, and delivery as an experimental optional bundle. Record the rejected
host-path input, Workspace file listing, and disk staging alternatives.

Add the package README pair in the package-bundle layout (enabling from the
Plugins page, Config fields, results, failures, implementation, Model
Experience, limitations), list the package in the experimental group tables,
and re-record the ui-sidebar README pair whose sidebar.session.action
paragraph changed on both sides without a new record.

* fix(experimental): import DeepSeek chat exports one conversation at a time

Address the review of the DeepSeek chat import route and importer:

- Decompress with fflate's asynchronous unzip, one entry per request, and
  refuse any entry whose declared uncompressed size exceeds the new
  maxEntryBytes (default 256 MiB) before inflating it. A first pass keeps
  only each conversation's entry, id, title, and last-message time; a
  second pass imports the selected conversations oldest first, one at a
  time, yielding to the event loop between them.
- Fill the Session limit with the next older conversation when a selected
  one fails; omittedByLimit counts only conversations never attempted.
- Check that the Workspace still exists before each write; a Session stored
  but not attached is reported in skipped with its id.
- Stream the route answer as NDJSON progress lines and one outcome line; the
  dialog shows a progress bar and "Importing n/K".
- The service owns the single import slot and an AbortController per
  request; unloading cancels the running import and waits for it to stop.
- Buffer the upload once, sized from content-length; drop the unreachable
  405 branch.
- limits() refuses non-owner callers.
- Normalize titles with normalizeSessionTitle (new maxTitleBytes, default
  80); fixed error codes for unfinished replies with
  DEEPSEEK_EXPORT_UNFINISHED_REPLY for unknown statuses; an empty user
  message becomes "[empty message]"; a question whose reply was withdrawn by
  content filtering is left out together with the reply.
- The plugin entry exports only the Service class, error classes, and
  types.
- The dialog shows thrown errors, refreshes the Session list after every
  attempt without turning a success into a failure, and chooses singular or
  plural summary lines.

* docs(experimental): document and test the per-conversation chat import

Move the DeepSeek chat export import Agent Note to implemented/feature with
the Decision/Consequences skeleton and describe the shipped design: two
passes over the in-memory archive, the maxEntryBytes and maxTitleBytes
limits, NDJSON progress, the service-owned import slot and unload
cancellation, owner-only limits(), filling the limit, the per-conversation
validation guarantee, attach failures without a persistence delete, the
[empty message] placeholder, dropped content-filtered rounds, fixed error
codes, and branch selection that ignores current_message_id.

Update the package README pair to match, rewrite the unit tests for the new
importer, route, archive, and client behavior (including a declared-size
zip bomb, a misdeclared entry, buffer sizing, owner-only limits, and
unloading during a paused import through the real Loader composition) at
100% per-file coverage, classify normalizeSessionTitle as a peer-required
Host export, record the Session exports the importer already uses in the
dependency policy spec, fix the lines oxlint rejected, and regenerate the
config catalog and module graph.

* fix(experimental): give imported Sessions a protected empty system head

An imported seed had no system/message, so a resumed Agent appended its
system prompt after the imported history. The released Session format
accepts a system/message only as surface node 0 or after such a head, and
the JSONL reader checks this on every read, so a continued imported Session
failed to open again with SessionPersistenceCorruptionError.

The first imported turn now writes an empty system/message as surface node
0. It derives no model message and renders no prompt card; on resume the
Agent replaces it with the real prompt. The resume test asserts the single
replacement, one system message in the model request, and a successful
read of the stored log after the turn.

* test(web): record a DeepSeek chat import snapshot

Add the keyless Web snapshot case snapshots/web/deepseek-chat-import with
its driver apps/web/tests/deepseek-chat-import.e2e.ts. The driver enables
the optional bundle in the scaffold profile, uploads a synthetic export
through the owner route (two conversations: a branch, reasoning, a
web_search/web_fetch pair, a content-filtered round, and an incomplete
reply), opens the imported Session in the browser, and continues it with
one recorded model turn. The persisted log shows the empty system head
replaced by the real prompt and replays without a key.

Register the driver in the Host program and out of the Web Client
program, and point the package README pair and the Agent Note at the case.

* fix(experimental): classify the chat import service in the doc gates

The chat import service surfaces in the Cordis catalog, the capability-seam
graph, and the plugin manager inventory, but none of the three gates knew
about it: doc graphs threw on the missing role classification, the catalog
gate rejected the unclassified `DeepseekChatImportLimits` and the service
without a subsystems page, and the Web inventory expectation predated the
bundle. Map `ctx.deepseekChatImport` to persistence.md and classify the
limits type and service role, then regenerate the catalog and graph docs.

The two Web replay fixtures were recorded before the bundle was listed, so
regenerate them against the current catalog and plugin inventory.

* fix(experimental): upload chat imports through the page transport carrier

A page whose Host runs in another execution context has no HTTP server:
the preview answers the archive POST with 405. Send the export through the
pre-boot `__DSH_TRANSPORT__.fetch` carrier when a shell installed one, and
keep XMLHttpRequest on served pages so the browser still reports upload
progress.

* test(experimental): cover the chat import upload carrier path

Cover the page-transport branch of the export upload, which the previous
commit left untested: the carrier request, a streamed NDJSON answer, an answer
without a body, non-200/JSON/result failures, and cancellation before and
during the request. Both upload paths now share one answer collector, so the
XHR path keeps its behavior with fewer branches.

Resolve the generated `./remote` contribution through a stand-in when this
package has no built `lib/`, as the LiveShare suite does: on a clean checkout
Vite transforms the client entry before `vi.mock` can answer that import, which
failed the jsdom assembly suite in CI.

Record the Chinese capability-seams row and the pair after the generated
English row, so the bilingual pairing gate passes.

* feat(experimental): import the 2026-11-12 DeepSeek chat export structure

The 2026-11-12 exporter keeps `export_format_version: 3` while adding
`current_message_id`, `stage_id`, tool statuses, plaintext `READ_LINK` fields,
and exported `TOOL_FIND.pattern`. Read the added fields as optional so a
structurally older archive still imports.

- Select the branch ending at `current_message_id`, falling back to the
  greatest message id when the field is absent, null, or unknown.
- Split steps at a `stage_id` change; fragments without one keep the
  reasoning-or-text-after-a-tool-call rule.
- Replay a `FAILED` search as an error result, skip `WIP`, and treat a missing
  `status` as `FINISHED`.
- Write placeholder lines for opened pages without an address, links, image
  searches, partial file reads, tips, and page finds instead of dropping them;
  keep `CONTENT_RISK` dropped.
- Cover the new fields with a synthetic archive test, update the Web snapshot
  driver to the new structure, and refresh its fixture.

* docs(experimental): record the 2026-11-12 chat import structure

Update the package README pair and the Agent Note pair for the branch rule
(`current_message_id` with the greatest-id fallback), the new fragment
mappings, the `TOOL_FIND` pattern, the `stage_id` step rule, and the
limitation that only the 2026-11-12 structure is supported. Re-record both
translation-pairing records.

* fix(experimental): reject duplicate and misdeclared archive entries

A ZIP may list several entries under one name, and read() selects by name,
so duplicates decompressed every match at once and bypassed maxEntryBytes.
Reject a directory with duplicate names while opening the archive.

A ZIP_STORED entry is copied by its compressed size, not by originalSize,
so a stored entry could declare 16 bytes and deliver a megabyte. Require the
declared and stored sizes to agree and bound both by maxEntryBytes before
anything is copied.

* fix(experimental): validate the chat import answer lines

parseLine cast decoded JSON to the line union, so a null or any other valid
JSON threw when the reader read line.type. In the XHR path that throw
happened inside onload/onprogress, leaving the upload promise unsettled and
the dialog on "importing".

Validate the decoded value against the union with typed guards: an object of a
known type with that type's fields. An invalid line now fails the answer as
"the server answered with invalid JSON". Covered on both the XHR and carrier
paths.

* fix(experimental): keep call-less chat import steps open and bracket tips

A stage_id change split a step even when it held only placeholder text, so a
placeholder-only step became an assistant message without a call and the
resumed history carried two adjacent assistant messages, which the live agent
loop never produces. Split only when the open step already holds a tool call;
otherwise update its stage.

A TIP is a website notice attributed to the assistant, so write it as the
bracketed placeholder [tip: ...] like the other non-model records.

* fix(experimental): report the import limit the Host applied

The pre-check limit (maxUploadBytes) was attached to every Host failure, and
failureText printed only that limit, so a manifest over maxEntryBytes was
reported as "the file is too large: the limit is 512MB".

Attach the pre-check limit only to the browser's own too-large outcome and
show the Host's message when it reports too-large, which names the real limit.

* fix(client): fade the imported sidebar action in with the rail

The rail-in fade targeted .newSessionRow > *, whose slot entry is the
renderer's display: contents anchor: it has no box, so the imported button
appeared without fading next to New session. Hit the anchor's child too and
assert the selector keeps the rail-in animation.

* docs(experimental): describe the chat import upload carrier

A page whose Host runs in another execution context, such as the static
Cloudflare Pages preview, supplies __DSH_TRANSPORT__.fetch and carries the
archive over it with no byte progress, straight to the reading and importing
phases; a served page uses XMLHttpRequest. Record that in the README and the
Agent Note, and list the missing upload percentage under Known Limitations.

Also record the bracketed [tip: ...] placeholder, the stage-split rule that
keeps call-less steps merged, the within-step block order, and why
dsh-client-file-upload is not reused. Re-record both i18n pairs.

* fix(client): fade only the slot entry with the rail

The rail-in rule reached every child below the row's slot anchor, which
also matched the label mask and shortcut inside the New session button:
the button ran the animation twice, so its icon was clipped and then slid
in from the edge. Target the renderer's `data-slot` anchor child, which
is the registered session action alone, and assert that no rule under the
row reaches into the button.

* feat(experimental): stream the chat import from the export index

`chat_session_index.json` now selects the conversations: the newest
`maxSessions` by its `updated_at` (ties by `inserted_at`, then id) are
imported, and a missing or unreadable index fails with the new
`missing-index` reason instead of falling back to a scan.

The selected conversations are handled in one streaming pass over the
archive. Each conversation is parsed, converted, and written as it
arrives; one that waits for its images is held until they stream past or
the archive ends, and images that never arrive stay placeholders. No
conversation the index does not select is inflated, and a failure pulls
the next older indexed conversation by name.

The pass reports a stored entry whose declared size differs from the
bytes it holds as damage, not as an oversized entry, and reports actual
bytes above `maxEntryBytes` as oversized.

* refactor(client): wrap the New-session row with the session-action slot

Make `sidebar.session.action` an HOC layer instead of a list: the shell
passes the New-session Tooltip and button as `children` and an occupant
returns them together with its own controls. No wrapper element is added,
the per-entry anchors are gone, and an occupant that adds nothing (or may
not act) returns `children` unchanged.

The rail-in fade now targets the outlet anchor's children, because the
renderer's `display: contents` anchor has no box of its own; the style spec
asserts the rule matches both buttons and nothing inside them.

* fix(experimental): read chat-import images by name

Resolve each selected conversation's images by name through the archive's
targeted read instead of holding the conversation until its image entries
stream past. Archive entry order no longer decides whether an image is
attached, and an image rejected for size or corruption reports its own
reason. A replacement conversation now runs image planning and reads inside
its per-conversation failure handling, so an invalid candidate is skipped
instead of aborting the import.

* docs(experimental): record chat-import residual risks

Document the synchronous inflation that outlives the entry size bound,
duplicate local file headers, partial writes after a mid-pass archive
failure, by-name read truncation, and attachments stored for withdrawn
rounds. Explain the session-action HOC layering and the children obligation
in the Agent Note, and align both language pairs.

* docs(experimental): give the chat import a plugin detail page

The Plugins page renders `meta.detail` rather than the README, so the package
now ships `docs/DETAIL.md` and `docs/DETAIL.zh.md` beside Chinese and English
preview images of the import dialog. Every locale names its detail document,
and `docs` joins the published files.

* fix(experimental): store chat-import images in one archive pass

Pass 1 stores every image entry of a conversation the index chooses, before any conversation is parsed, and records the reference or the reason it stayed a placeholder. Pass 2 converts and writes each chosen conversation from those references, so the main path no longer re-parses the central directory once per image. A replacement conversation is still read by name once, and its images come from one further image pass.

Correct the convertWithStoredImages JSDoc and the Known Limitations entry: the images-first order makes validate-before-store impossible, so images of a withdrawn round, a dropped branch, or a conversation that fails conversion or Session.create seed validation stay stored without a referencing event. Neither SessionPersistence nor the attachment store offers a removal.

Settle the browser answer on the first invalid NDJSON line in both the XHR and page-carrier paths, cancel the rest of the stream, and prevent a later outcome from replacing the failure.

* fix(experimental): drop image searches and address-less opens from the chat import

The website shows neither of these in a reply, so the import no longer
writes a line for them:

- `TOOL_IMAGE_SEARCH` replays as nothing. The searched image is not in the
  export and the reply's reasoning already states what the model took from
  the results, so the `[image search: n results]` line carried no
  information a reader could act on.
- A `TOOL_OPEN` without an address is the all-null record the exporter
  writes beside the real page opens of a stage, carrying only `stage_id`
  and `group_id`; it names no page and replaces the line
  `[opened page: the export recorded no address]` with nothing.

A constructed archive with a pictured question, an image search, two opened
pages, and the all-null record now imports to the image, the two fetch
cards, the reasoning, and the answer.

* feat(experimental): show imported files as cards instead of placeholder text

The website shows none of these records as reply text, so the import now
matches it:

- A non-image file, and an image the archive cannot store, become a synthetic
  file card: the standard card renders its icon, name, and exported size, and
  no bytes exist behind the reference.
- A `READ_LINK` record becomes one Markdown link line per linked page.
- A `TOOL_FIND`, `PARTIAL_FILE_READ`, `TIP`, or `TOOL_IMAGE_SEARCH` record
  leaves no trace in the reply.
- A user message without any content keeps one empty text block instead of
  `[empty message]`.

`file_size` is optional in the export schema so an archive without it still
imports.

* fix(session-query): keep the session-log export when an attachment is gone

A reference whose stored object was deleted failed the whole ZIP download.
Each attachment is now read inside the entry that needs it: a missing object
is recorded in `attachments-missing.txt` with its archive path and reason,
while every other read failure still fails the export. A file's first chunk
is pulled before its entry is yielded, so an absent object no longer breaks
the download halfway through.

* fix(experimental): take attachment brands and error codes from their owners

The import package now builds the synthetic file reference with
`brandString<AttachmentId>` from dsh-brand instead of importing the
attachment package's runtime helper, so dsh-attachment stays type-only and
dsh-brand becomes its one runtime dependency. The log export matches the
missing-object code on the error instead of importing the class, which keeps
that class its owner's peer.

The recorded web snapshot follows the new link line.

* fix(session-query): release an abandoned attachment stream and accept invalid references

A consumer that stops early left the open file iterator to the garbage
collector: the entry's stream is now closed by the entry owner too, so a
cancelled download releases it. A reference the backend rejects as invalid
joins a missing object as a reported skip rather than failing the download.

The chat import documents that an empty question's text block is dropped by
DeepSeek request serialization, so that Turn's question stays out of the model
context.

* docs(experimental): drop a duplicated clause from the import note

* fix(session-query): close abandoned attachment streams without masking failures

Closing one stream must not keep the others open or replace the failure in
flight: the streams live in a set that removes each entry as it closes, and
the drain settles every close. The chat import converts a pictured
conversation once, resolving its references first, and states both possible
model handles for a synthetic card.
2026-11-13 13:10:47 +08:00

70 KiB

Capability Seams And Core Services

A service can be a core spine service, a swappable capability seam, a bundle/composition point, or a standalone service. The graph shows the package that owns the service declaration, known implementation packages, and packages that consume the service directly.

flowchart LR
  pkg_action_cards["action-cards"]
  svc_actionCards["ctx.actionCards<br/>Optional action cards"]
  pkg_creation_recommendations["creation-recommendations"]
  pkg_client_ui_action_cards["client-ui-action-cards"]
  pkg_plugin_recommendations["plugin-recommendations"]
  svc_pluginRecommendations["ctx.pluginRecommendations<br/>Explicit-need plugin recommendations"]
  pkg_client_ui_plugin_recommendations["client-ui-plugin-recommendations"]
  pkg_deepseek_chat_import["deepseek-chat-import"]
  svc_deepseekChatImport["ctx.deepseekChatImport<br/>DeepSeek chat export import"]
  pkg_headless["headless"]
  svc_headlessStartup["ctx.headlessStartup<br/>Headless invocation options"]
  pkg_experimental_client_ui_cot_translation["experimental-client-ui-cot-translation"]
  svc_cotTranslation["ctx.cotTranslation<br/>Reasoning translation Remote"]
  pkg_experimental_translator["experimental-translator"]
  svc_translator["ctx.translator<br/>Anonymous text translation"]
  pkg_hmr["hmr"]
  svc_hmr["ctx.hmr<br/>Serialized module and configuration reloads"]
  pkg_app_boot["app-boot"]
  pkg_client_ui_plugin_manager["client-ui-plugin-manager"]
  svc_pluginRegistryProbe["ctx.pluginRegistryProbe<br/>Host registry response comparison"]
  pkg_plugin_manager["plugin-manager"]
  svc_pluginManager["ctx.pluginManager<br/>Current-profile plugin and bundle management"]
  pkg_ui_settings_plugin_inventory["ui-settings-plugin-inventory"]
  pkg_plugin_market["plugin-market"]
  svc_pluginMarket["ctx.pluginMarket<br/>Plugin market index reader"]
  pkg_client_ui_plugin_market["client-ui-plugin-market"]
  svc_profileContext["ctx.profileContext<br/>Launcher-owned profile data"]
  pkg_client_connection["client-connection"]
  svc_connection["ctx.connection<br/>Authenticated browser transport"]
  pkg_api_gateway["api-gateway"]
  pkg_host_frontend_static["host-frontend-static"]
  pkg_experimental_forge["experimental-forge"]
  svc_forge["ctx.forge<br/>Code host change requests"]
  pkg_experimental_forge_github["experimental-forge-github"]
  pkg_experimental_forge_session["experimental-forge-session"]
  pkg_experimental_client_ui_forge["experimental-client-ui-forge"]
  svc_forgeSession["ctx.forgeSession<br/>Session change request bindings"]
  svc_forgePanel["ctx.forgePanel<br/>Forge panel Remote"]
  pkg_experimental_worktree["experimental-worktree"]
  svc_worktrees["ctx.worktrees<br/>Git worktree creation"]
  pkg_experimental_tool_worktree["experimental-tool-worktree"]
  pkg_working_directory["working-directory"]
  svc_workingDirectory["ctx.workingDirectory<br/>Session working directory"]
  pkg_tool_working_directory["tool-working-directory"]
  pkg_tool_fs["tool-fs"]
  pkg_tool_bash["tool-bash"]
  pkg_tool_pwsh["tool-pwsh"]
  pkg_subagent["subagent"]
  pkg_sdk_jsonrpc_server["sdk-jsonrpc-server"]
  pkg_mcp_resources["mcp-resources"]
  svc_mcpResources["ctx.mcpResources<br/>Scoped MCP resource access"]
  pkg_mcp_client["mcp-client"]
  pkg_browser_use["browser-use"]
  svc_browserUse["ctx.browserUse<br/>Browser-use provider registration"]
  pkg_experimental_browser_use_playwright_mcp["experimental-browser-use-playwright-mcp"]
  pkg_experimental_browser_use_chrome_devtools_mcp["experimental-browser-use-chrome-devtools-mcp"]
  pkg_experimental_browser_use_stagehand_native["experimental-browser-use-stagehand-native"]
  pkg_computer_use["computer-use"]
  svc_computerUse["ctx.computerUse<br/>Computer-use provider registration"]
  pkg_experimental_computer_use_cua_driver_mcp["experimental-computer-use-cua-driver-mcp"]
  pkg_experimental_computer_use_cua_driver_native["experimental-computer-use-cua-driver-native"]
  pkg_cua["cua"]
  svc_cuaAccess["ctx.cuaAccess<br/>Computer Use permission controls"]
  pkg_office_kit["office-kit"]
  svc_officeKit["ctx.officeKit<br/>Office rendering, conversion, and recalculation"]
  pkg_client_ui_sidebar_documentpreview["client-ui-sidebar-documentpreview"]
  pkg_tool_office["tool-office"]
  pkg_attachment["attachment"]
  svc_attachments["ctx.attachments<br/>Durable binary attachment storage"]
  pkg_attachment_local["attachment-local"]
  pkg_api_session_controller["api-session-controller"]
  pkg_llm_pi_ai["llm-pi-ai"]
  pkg_llm_deepseek["llm-deepseek"]
  pkg_client_file_upload["client-file-upload"]
  svc_fileUploads["ctx.fileUploads<br/>Agent-scoped staged file uploads"]
  pkg_llm["llm"]
  svc_llm["ctx.llm<br/>LLM adapter registry"]
  pkg_llm_replay["llm-replay"]
  pkg_agent_loop["agent-loop"]
  pkg_compaction_basic["compaction-basic"]
  pkg_session_log_deepseek["session-log-deepseek"]
  svc_sessionLogDeepSeek["ctx.sessionLogDeepSeek<br/>Session-log upload policy"]
  pkg_deepseek_llm_api_extensions["deepseek-llm-api-extensions"]
  svc_deepseekLlmApiExtensions["ctx.deepseekLlmApiExtensions<br/>Official DeepSeek request extensions"]
  pkg_plugin_package_inventory_deepseek["plugin-package-inventory-deepseek"]
  pkg_token_meter["token-meter"]
  svc_tokenMeter["ctx.tokenMeter<br/>Replay token measurement"]
  pkg_compaction_tool_result_pruner["compaction-tool-result-pruner"]
  svc_toolResultPruner["ctx.toolResultPruner<br/>Model-free tool-result pruning"]
  pkg_session["session"]
  svc_sessions["ctx.sessions<br/>In-memory session store"]
  pkg_agent["agent"]
  pkg_session_persistence["session-persistence"]
  pkg_session_query["session-query"]
  pkg_session_query_sqlite["session-query-sqlite"]
  pkg_message_feedback["message-feedback"]
  pkg_experimental_api_speech_to_text["experimental-api-speech-to-text"]
  svc_speechController["ctx.speechController<br/>Experimental transcription Remote"]
  svc_sessionController["ctx.sessionController<br/>Host Session Remote controller"]
  svc_sessionFileReferences["ctx.sessionFileReferences<br/>Session-addressed file-reference Remote adapter"]
  svc_sessionSkillCatalog["ctx.sessionSkillCatalog<br/>Session-addressed skill Remote adapter"]
  pkg_api_job_controller["api-job-controller"]
  svc_jobController["ctx.jobController<br/>Host job Remote controller"]
  pkg_api_settings_controller["api-settings-controller"]
  svc_credentialsController["ctx.credentialsController<br/>Host credential-surface Remote controller"]
  svc_settingsController["ctx.settingsController<br/>Host settings-surface Remote controller"]
  pkg_api_workspace_files["api-workspace-files"]
  svc_workspaceFiles["ctx.workspaceFiles<br/>Host workspace file Remote service"]
  pkg_workspace_changes["workspace-changes"]
  svc_workspaceChanges["ctx.workspaceChanges<br/>Host per-turn changed-file summaries"]
  pkg_api_terminal_controller["api-terminal-controller"]
  svc_terminalController["ctx.terminalController<br/>Session interactive terminal Remote controller"]
  pkg_api_workspace_controller["api-workspace-controller"]
  svc_workspaceController["ctx.workspaceController<br/>Host Workspace Remote controller"]
  svc_directoryPickerController["ctx.directoryPickerController<br/>Host directory-picking Remote controller"]
  pkg_typert_registry["typert-registry"]
  svc_typert["ctx.typert<br/>Runtime type registry"]
  pkg_typert_loader["typert-loader"]
  svc_typertGateway["ctx.typertGateway<br/>Typert Host invocation gateway"]
  pkg_api_remote_access["api-remote-access"]
  svc_remoteAccess["ctx.remoteAccess<br/>Remote method access control"]
  svc_sessionPersistence["ctx.sessionPersistence<br/>Durable session persistence seam"]
  pkg_session_persistence_jsonl["session-persistence-jsonl"]
  pkg_hooks_claude_code["hooks-claude-code"]
  pkg_hooks_codex["hooks-codex"]
  pkg_config_editor["config-editor"]
  svc_configEditor["ctx.configEditor<br/>Profile configuration edits"]
  pkg_settings["settings"]
  pkg_agent_default_model["agent-default-model"]
  svc_settings["ctx.settings<br/>Plugin configuration forms"]
  pkg_tool_subagent["tool-subagent"]
  svc_subagentModelSelection["ctx.subagentModelSelection<br/>Subagent model-selection preference"]
  pkg_credentials["credentials"]
  svc_credentials["ctx.credentials<br/>Credential seam"]
  pkg_credentials_local["credentials-local"]
  pkg_deepseek_account["deepseek-account"]
  svc_deepseekAccount["ctx.deepseekAccount<br/>DeepSeek account"]
  pkg_authorization["authorization"]
  svc_authorization["ctx.authorization<br/>Authorization flow registry"]
  pkg_client_product_analytics["client-product-analytics"]
  svc_productAnalytics["ctx.productAnalytics<br/>Desktop interaction collection"]
  pkg_otel["otel"]
  svc_otel["ctx.otel<br/>Shared OTel reporting channels"]
  pkg_host_product_telemetry_otel["host-product-telemetry-otel"]
  pkg_session_telemetry_otel["session-telemetry-otel"]
  svc_productTelemetry["ctx.productTelemetry<br/>Product usage event sender"]
  pkg_session_telemetry["session-telemetry"]
  svc_sessionTelemetry["ctx.sessionTelemetry<br/>Session telemetry seam"]
  pkg_storage["storage"]
  svc_storage["ctx.storage<br/>Non-session storage hub"]
  pkg_storage_json["storage-json"]
  pkg_storage_sqlite["storage-sqlite"]
  pkg_storage_domain["storage-domain"]
  svc_storageDomain["ctx.storageDomain<br/>Domain data facility"]
  pkg_workspace["workspace"]
  svc_messageFeedback["ctx.messageFeedback<br/>Lifecycle-bound message feedback"]
  pkg_command_feedback["command-feedback"]
  svc_sessionFeedback["ctx.sessionFeedback<br/>Session-level feedback recorder"]
  svc_workspaceRegistry["ctx.workspaceRegistry<br/>Workspace entity registry"]
  svc_sessionQuery["ctx.sessionQuery<br/>Session reads, traces, filters, and search"]
  pkg_session_reference["session-reference"]
  pkg_tool_session_query["tool-session-query"]
  pkg_file_reference["file-reference"]
  svc_fileReferences["ctx.fileReferences<br/>File reference discovery"]
  pkg_file_reference_local["file-reference-local"]
  svc_sessionReferenceResolver["ctx.sessionReferenceResolver<br/>Cross-session snapshot preparation"]
  pkg_session_title["session-title"]
  svc_sessionTitle["ctx.sessionTitle<br/>Log-backed session titles"]
  pkg_session_title_first_prompt_llm["session-title-first-prompt-llm"]
  pkg_session_title_all_prompts_llm["session-title-all-prompts-llm"]
  pkg_system_prompt["system-prompt"]
  svc_systemPrompt["ctx.systemPrompt<br/>System prompt assembly registry"]
  pkg_tools["tools"]
  pkg_tool_terminal["tool-terminal"]
  pkg_tool_web["tool-web"]
  svc_tools["ctx.tools<br/>Scoped tool registry and executor selection"]
  pkg_tool_ask_user["tool-ask-user"]
  pkg_tool_cordis["tool-cordis"]
  pkg_tool_skill["tool-skill"]
  pkg_tool_todo["tool-todo"]
  pkg_user_questions["user-questions"]
  svc_userQuestions["ctx.userQuestions<br/>Human question/answer seam"]
  pkg_plan_mode["plan-mode"]
  svc_planMode["ctx.planMode<br/>Plan collaboration state"]
  pkg_agent_preset_registry["agent-preset-registry"]
  svc_agentPresets["ctx.agentPresets<br/>Per-session agent composition"]
  pkg_commands["commands"]
  svc_commands["ctx.commands<br/>Human command registry"]
  pkg_session_projection["session-projection"]
  svc_sessionProjections["ctx.sessionProjections<br/>Session projection units"]
  pkg_session_projection_cache["session-projection-cache"]
  svc_sessionProjectionCache["ctx.sessionProjectionCache<br/>Persisted projection cache"]
  pkg_skill["skill"]
  svc_skills["ctx.skills<br/>Skill provider registry"]
  pkg_sandbox_windows_acl["sandbox-windows-acl"]
  pkg_skill_badge["skill-badge"]
  pkg_skill_filesystem["skill-filesystem"]
  pkg_skill_office["skill-office"]
  svc_agents["ctx.agents<br/>Agent service"]
  pkg_acp["acp"]
  svc_agentDefaultModel["ctx.agentDefaultModel<br/>Default Agent model selection"]
  svc_agentLoop["ctx.agentLoop<br/>Concrete loop driver"]
  pkg_base["base"]
  pkg_sdk_minimal["sdk-minimal"]
  pkg_mcp_manager["mcp-manager"]
  svc_mcpManager["ctx.mcpManager<br/>Settings-driven MCP server fleet"]
  pkg_schedule["schedule"]
  svc_schedule["ctx.schedule<br/>Host scheduled messages"]
  pkg_goal["goal"]
  svc_goals["ctx.goals<br/>Same-session goal domain"]
  pkg_ssh["ssh"]
  svc_ssh["ctx.ssh<br/>POSIX SSH connection owner"]
  pkg_fs_ssh["fs-ssh"]
  pkg_subprocess_ssh["subprocess-ssh"]
  pkg_sandbox_ssh["sandbox-ssh"]
  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_terminal_bash["terminal-bash"]
  pkg_lsp_stdio["lsp-stdio"]
  pkg_subagent_acp["subagent-acp"]
  pkg_subagent_codex["subagent-codex"]
  pkg_subagent_claude_code["subagent-claude-code"]
  pkg_shell["shell"]
  svc_shell["ctx.shell<br/>Bash executor seam"]
  pkg_pwsh_local["pwsh-local"]
  pkg_shell_env["shell-env"]
  svc_shellEnv["ctx.shellEnv<br/>Managed bash environment registry"]
  pkg_terminal["terminal"]
  svc_terminals["ctx.terminals<br/>Persistent PTY session registry"]
  pkg_terminal_panel["terminal-panel"]
  pkg_sandbox["sandbox"]
  svc_sandbox["ctx.sandbox<br/>Process-sandbox seam"]
  pkg_sandbox_local["sandbox-local"]
  pkg_sandbox_policy["sandbox-policy"]
  svc_sandboxPolicy["ctx.sandboxPolicy<br/>Sandbox policy home"]
  pkg_fs_sandbox["fs-sandbox"]
  pkg_user_approval["user-approval"]
  svc_approval["ctx.approval<br/>Approval seam"]
  pkg_permission_presets["permission-presets"]
  svc_permissionPresets["ctx.permissionPresets<br/>Permission presets"]
  pkg_ptc_runtime["ptc-runtime"]
  svc_ptcRuntime["ctx.ptcRuntime<br/>PTC execution seam"]
  pkg_ptc_runtime_node["ptc-runtime-node"]
  pkg_experimental_ptc_runtime_python["experimental-ptc-runtime-python"]
  pkg_tool_executor_ptc["tool-executor-ptc"]
  pkg_workflow_ptc["workflow-ptc"]
  pkg_fs["fs"]
  svc_fs["ctx.fs<br/>Filesystem provider seam"]
  pkg_fs_local["fs-local"]
  pkg_fs_observation_policy["fs-observation-policy"]
  pkg_compaction["compaction"]
  svc_compaction["ctx.compaction<br/>Compaction seam"]
  svc_subagents["ctx.subagents<br/>Subagent provider and continuation service"]
  pkg_subagent_spawn_in_process["subagent-spawn-in-process"]
  pkg_subagent_fork_in_process["subagent-fork-in-process"]
  pkg_subagent_dsh_sdk["subagent-dsh-sdk"]
  pkg_tool_subagent_control["tool-subagent-control"]
  pkg_tool_ralph["tool-ralph"]
  pkg_experimental_speech_to_text["experimental-speech-to-text"]
  svc_speechToText["ctx.speechToText<br/>Experimental speech recognition providers"]
  pkg_experimental_speech_to_text_sensevoice["experimental-speech-to-text-sensevoice"]
  pkg_agent_team["agent-team"]
  svc_agentTeams["ctx.agentTeams<br/>Agent Teams coordination domain"]
  pkg_tool_agent_team["tool-agent-team"]
  pkg_experimental_claude_code_mods["experimental-claude-code-mods"]
  svc_claudeCodeMods["ctx.claudeCodeMods<br/>Claude Code mods bridge"]
  pkg_inspector["inspector"]
  svc_inspector["ctx.inspector<br/>Cross-realm runtime inspection"]
  pkg_jobs["jobs"]
  svc_jobs["ctx.jobs<br/>Background job registry"]
  pkg_jobs_local["jobs-local"]
  pkg_tool_jobs["tool-jobs"]
  pkg_web["web"]
  svc_web["ctx.web<br/>Web access provider registry"]
  pkg_web_search_deepseek["web-search-deepseek"]
  pkg_web_deepseek_api["web-deepseek-api"]
  pkg_web_fetch_http["web-fetch-http"]
  pkg_spill["spill"]
  svc_spillStore["ctx.spillStore<br/>Spill storage seam"]
  pkg_spill_local["spill-local"]
  pkg_spill_policy["spill-policy"]
  pkg_host_directory_picker["host-directory-picker"]
  svc_directoryPicker["ctx.directoryPicker<br/>Workspace-directory picking seam"]
  pkg_host_directory_picker_native["host-directory-picker-native"]
  pkg_host_directory_picker_browse["host-directory-picker-browse"]
  pkg_host_webserver["host-webserver"]
  svc_webServer["ctx.webServer<br/>HTTP route registration"]
  pkg_client_modules["client-modules"]
  pkg_client_hmr["client-hmr"]
  pkg_web_app["web-app"]
  svc_webApp["ctx.webApp<br/>Served Web GUI"]
  pkg_harness_dev_context["harness-dev-context"]
  svc_clientModules["ctx.clientModules<br/>Client plugin graph host"]
  pkg_workflow["workflow"]
  svc_workflowEngine["ctx.workflowEngine<br/>Workflow script engine"]
  pkg_tool_workflow["tool-workflow"]
  pkg_webhook["webhook"]
  svc_webhookRuntime["ctx.webhookRuntime<br/>Webhook rule runtime"]
  pkg_webhook_github["webhook-github"]
  pkg_lsp["lsp"]
  svc_lsp["ctx.lsp<br/>Language-server navigation seam"]
  pkg_tool_lsp["tool-lsp"]
  pkg_cordis_host_runner["cordis-host-runner"]
  svc_dynamicCordisRunner["ctx.dynamicCordisRunner<br/>Dynamic Cordis package host runner"]
  svc_cordisInspect["ctx.cordisInspect<br/>Dynamic Cordis inspect registry"]
  pkg_experimental_liveshare["experimental-liveshare"]
  svc_liveshareShares["ctx.liveshareShares<br/>Owner share management Remote"]
  pkg_action_cards --> svc_actionCards
  pkg_agent --> svc_agents
  pkg_agent_default_model --> svc_agentDefaultModel
  pkg_agent_loop --> svc_agentLoop
  pkg_agent_preset_registry --> svc_agentPresets
  pkg_agent_team --> svc_agentTeams
  pkg_api_gateway --> svc_typertGateway
  pkg_api_job_controller --> svc_jobController
  pkg_api_remote_access --> svc_remoteAccess
  pkg_api_session_controller --> svc_sessionController
  pkg_api_session_controller --> svc_sessionFileReferences
  pkg_api_session_controller --> svc_sessionSkillCatalog
  pkg_api_settings_controller --> svc_credentialsController
  pkg_api_settings_controller --> svc_settingsController
  pkg_api_terminal_controller --> svc_terminalController
  pkg_api_workspace_controller --> svc_directoryPickerController
  pkg_api_workspace_controller --> svc_workspaceController
  pkg_api_workspace_files --> svc_workspaceFiles
  pkg_app_boot --> svc_profileContext
  pkg_attachment --> svc_attachments
  pkg_attachment_local --> svc_attachments
  pkg_authorization --> svc_authorization
  pkg_bash_local --> svc_shell
  pkg_bash_sandbox --> svc_shell
  pkg_browser_use --> svc_browserUse
  pkg_client_connection --> svc_connection
  pkg_client_file_upload --> svc_fileUploads
  pkg_client_modules --> svc_clientModules
  pkg_client_product_analytics --> svc_productAnalytics
  pkg_client_ui_plugin_manager --> svc_pluginRegistryProbe
  pkg_command_feedback --> svc_sessionFeedback
  pkg_commands --> svc_commands
  pkg_compaction --> svc_compaction
  pkg_compaction_basic --> svc_compaction
  pkg_compaction_tool_result_pruner --> svc_toolResultPruner
  pkg_computer_use --> svc_computerUse
  pkg_config_editor --> svc_configEditor
  pkg_cordis_host_runner --> svc_cordisInspect
  pkg_cordis_host_runner --> svc_dynamicCordisRunner
  pkg_credentials --> svc_credentials
  pkg_credentials_local --> svc_credentials
  pkg_cua --> svc_cuaAccess
  pkg_deepseek_account --> svc_deepseekAccount
  pkg_deepseek_chat_import --> svc_deepseekChatImport
  pkg_deepseek_llm_api_extensions --> svc_deepseekLlmApiExtensions
  pkg_experimental_api_speech_to_text --> svc_speechController
  pkg_experimental_browser_use_chrome_devtools_mcp --> svc_browserUse
  pkg_experimental_browser_use_playwright_mcp --> svc_browserUse
  pkg_experimental_browser_use_stagehand_native --> svc_browserUse
  pkg_experimental_claude_code_mods --> svc_claudeCodeMods
  pkg_experimental_client_ui_cot_translation --> svc_cotTranslation
  pkg_experimental_client_ui_forge --> svc_forgePanel
  pkg_experimental_computer_use_cua_driver_mcp --> svc_computerUse
  pkg_experimental_computer_use_cua_driver_native --> svc_computerUse
  pkg_experimental_forge --> svc_forge
  pkg_experimental_forge_github --> svc_forge
  pkg_experimental_forge_session --> svc_forgeSession
  pkg_experimental_liveshare --> svc_liveshareShares
  pkg_experimental_ptc_runtime_python --> svc_ptcRuntime
  pkg_experimental_speech_to_text --> svc_speechToText
  pkg_experimental_speech_to_text_sensevoice --> svc_speechToText
  pkg_experimental_translator --> svc_translator
  pkg_experimental_worktree --> svc_worktrees
  pkg_file_reference --> svc_fileReferences
  pkg_file_reference_local --> svc_fileReferences
  pkg_fs --> svc_fs
  pkg_fs_local --> svc_fs
  pkg_fs_sandbox --> svc_fs
  pkg_fs_ssh --> svc_fs
  pkg_goal --> svc_goals
  pkg_headless --> svc_headlessStartup
  pkg_hmr --> svc_hmr
  pkg_host_directory_picker --> svc_directoryPicker
  pkg_host_directory_picker_browse --> svc_directoryPicker
  pkg_host_directory_picker_native --> svc_directoryPicker
  pkg_host_product_telemetry_otel --> svc_productTelemetry
  pkg_host_webserver --> svc_webServer
  pkg_inspector --> svc_inspector
  pkg_jobs --> svc_jobs
  pkg_jobs_local --> svc_jobs
  pkg_llm --> svc_llm
  pkg_llm_deepseek --> svc_llm
  pkg_llm_pi_ai --> svc_llm
  pkg_llm_replay --> svc_llm
  pkg_lsp --> svc_lsp
  pkg_lsp_stdio --> svc_lsp
  pkg_mcp_client --> svc_mcpResources
  pkg_mcp_manager --> svc_mcpManager
  pkg_mcp_resources --> svc_mcpResources
  pkg_message_feedback --> svc_messageFeedback
  pkg_office_kit --> svc_officeKit
  pkg_otel --> svc_otel
  pkg_permission_presets --> svc_permissionPresets
  pkg_plan_mode --> svc_planMode
  pkg_plugin_manager --> svc_pluginManager
  pkg_plugin_market --> svc_pluginMarket
  pkg_plugin_package_inventory_deepseek --> svc_deepseekLlmApiExtensions
  pkg_plugin_recommendations --> svc_pluginRecommendations
  pkg_ptc_runtime --> svc_ptcRuntime
  pkg_ptc_runtime_node --> svc_ptcRuntime
  pkg_pwsh_local --> svc_shell
  pkg_sandbox --> svc_sandbox
  pkg_sandbox_local --> svc_sandbox
  pkg_sandbox_policy --> svc_sandboxPolicy
  pkg_sandbox_ssh --> svc_sandbox
  pkg_sandbox_windows_acl --> svc_skills
  pkg_schedule --> svc_schedule
  pkg_session --> svc_sessions
  pkg_session_log_deepseek --> svc_deepseekLlmApiExtensions
  pkg_session_log_deepseek --> svc_sessionLogDeepSeek
  pkg_session_persistence --> svc_sessionPersistence
  pkg_session_persistence_jsonl --> svc_sessionPersistence
  pkg_session_projection --> svc_sessionProjections
  pkg_session_projection_cache --> svc_sessionProjectionCache
  pkg_session_query --> svc_sessionQuery
  pkg_session_query_sqlite --> svc_sessionQuery
  pkg_session_reference --> svc_sessionReferenceResolver
  pkg_session_telemetry --> svc_sessionTelemetry
  pkg_session_telemetry_otel --> svc_sessionTelemetry
  pkg_session_title --> svc_sessionTitle
  pkg_session_title_all_prompts_llm --> svc_sessionTitle
  pkg_session_title_first_prompt_llm --> svc_sessionTitle
  pkg_settings --> svc_settings
  pkg_shell --> svc_shell
  pkg_shell_env --> svc_shellEnv
  pkg_skill --> svc_skills
  pkg_skill_badge --> svc_skills
  pkg_skill_filesystem --> svc_skills
  pkg_skill_office --> svc_skills
  pkg_spill --> svc_spillStore
  pkg_spill_local --> svc_spillStore
  pkg_ssh --> svc_ssh
  pkg_storage --> svc_storage
  pkg_storage_domain --> svc_storageDomain
  pkg_storage_json --> svc_storage
  pkg_storage_sqlite --> svc_storage
  pkg_subagent --> svc_subagents
  pkg_subagent_acp --> svc_subagents
  pkg_subagent_claude_code --> svc_subagents
  pkg_subagent_codex --> svc_subagents
  pkg_subagent_dsh_sdk --> svc_subagents
  pkg_subagent_fork_in_process --> svc_subagents
  pkg_subagent_spawn_in_process --> svc_subagents
  pkg_subprocess --> svc_subprocess
  pkg_subprocess_local --> svc_subprocess
  pkg_subprocess_ssh --> svc_subprocess
  pkg_system_prompt --> svc_systemPrompt
  pkg_terminal --> svc_terminals
  pkg_terminal_bash --> svc_terminals
  pkg_terminal_panel --> svc_terminals
  pkg_token_meter --> svc_tokenMeter
  pkg_tool_subagent --> svc_subagentModelSelection
  pkg_tools --> svc_tools
  pkg_typert_registry --> svc_typert
  pkg_user_approval --> svc_approval
  pkg_user_questions --> svc_userQuestions
  pkg_web --> svc_web
  pkg_web_app --> svc_webApp
  pkg_web_deepseek_api --> svc_web
  pkg_web_fetch_http --> svc_web
  pkg_web_search_deepseek --> svc_web
  pkg_webhook --> svc_webhookRuntime
  pkg_workflow --> svc_workflowEngine
  pkg_workflow_ptc --> svc_workflowEngine
  pkg_working_directory --> svc_workingDirectory
  pkg_workspace --> svc_workspaceRegistry
  pkg_workspace_changes --> svc_workspaceChanges
  svc_actionCards --> pkg_client_ui_action_cards
  svc_actionCards --> pkg_creation_recommendations
  svc_agentDefaultModel --> pkg_api_session_controller
  svc_agentDefaultModel --> pkg_headless
  svc_agentLoop --> pkg_base
  svc_agentLoop --> pkg_sdk_minimal
  svc_agentTeams --> pkg_tool_agent_team
  svc_agents --> pkg_acp
  svc_agents --> pkg_agent_loop
  svc_agents --> pkg_subagent
  svc_approval --> pkg_acp
  svc_approval --> pkg_tool_bash
  svc_approval --> pkg_tools
  svc_attachments --> pkg_api_session_controller
  svc_attachments --> pkg_llm_deepseek
  svc_attachments --> pkg_llm_pi_ai
  svc_attachments --> pkg_tool_fs
  svc_authorization --> pkg_llm_pi_ai
  svc_browserUse --> pkg_experimental_browser_use_chrome_devtools_mcp
  svc_browserUse --> pkg_experimental_browser_use_playwright_mcp
  svc_browserUse --> pkg_experimental_browser_use_stagehand_native
  svc_clientModules --> pkg_client_hmr
  svc_compaction --> pkg_compaction_basic
  svc_computerUse --> pkg_experimental_computer_use_cua_driver_mcp
  svc_computerUse --> pkg_experimental_computer_use_cua_driver_native
  svc_configEditor --> pkg_agent_default_model
  svc_configEditor --> pkg_settings
  svc_connection --> pkg_api_gateway
  svc_connection --> pkg_host_frontend_static
  svc_cordisInspect --> pkg_tool_cordis
  svc_credentials --> pkg_api_settings_controller
  svc_credentials --> pkg_llm_deepseek
  svc_credentials --> pkg_llm_pi_ai
  svc_cuaAccess --> pkg_cua
  svc_deepseekAccount --> pkg_llm_deepseek
  svc_deepseekLlmApiExtensions --> pkg_llm_deepseek
  svc_directoryPicker --> pkg_api_workspace_controller
  svc_dynamicCordisRunner --> pkg_tool_cordis
  svc_fileReferences --> pkg_api_session_controller
  svc_fileUploads --> pkg_api_session_controller
  svc_forge --> pkg_experimental_client_ui_forge
  svc_forge --> pkg_experimental_forge_session
  svc_forgeSession --> pkg_experimental_client_ui_forge
  svc_fs --> pkg_tool_fs
  svc_headlessStartup --> pkg_headless
  svc_hmr --> pkg_app_boot
  svc_jobs --> pkg_api_job_controller
  svc_jobs --> pkg_tool_bash
  svc_jobs --> pkg_tool_jobs
  svc_jobs --> pkg_tool_pwsh
  svc_jobs --> pkg_tool_terminal
  svc_llm --> pkg_agent_loop
  svc_llm --> pkg_compaction_basic
  svc_lsp --> pkg_tool_lsp
  svc_mcpResources --> pkg_mcp_resources
  svc_officeKit --> pkg_client_ui_sidebar_documentpreview
  svc_officeKit --> pkg_tool_office
  svc_otel --> pkg_host_product_telemetry_otel
  svc_otel --> pkg_session_telemetry_otel
  svc_pluginManager --> pkg_plugin_manager
  svc_pluginManager --> pkg_ui_settings_plugin_inventory
  svc_pluginMarket --> pkg_client_ui_plugin_market
  svc_pluginMarket --> pkg_plugin_market
  svc_pluginRecommendations --> pkg_client_ui_plugin_recommendations
  svc_pluginRegistryProbe --> pkg_client_ui_plugin_manager
  svc_profileContext --> pkg_plugin_manager
  svc_ptcRuntime --> pkg_tool_executor_ptc
  svc_ptcRuntime --> pkg_workflow_ptc
  svc_remoteAccess --> pkg_api_gateway
  svc_remoteAccess --> pkg_api_session_controller
  svc_remoteAccess --> pkg_api_workspace_controller
  svc_sandbox --> pkg_api_terminal_controller
  svc_sandbox --> pkg_bash_sandbox
  svc_sandbox --> pkg_terminal_bash
  svc_sandboxPolicy --> pkg_bash_sandbox
  svc_sandboxPolicy --> pkg_fs_sandbox
  svc_sandboxPolicy --> pkg_terminal_bash
  svc_sandboxPolicy --> pkg_terminal_panel
  svc_sessionPersistence --> pkg_agent_loop
  svc_sessionPersistence --> pkg_hooks_claude_code
  svc_sessionPersistence --> pkg_hooks_codex
  svc_sessionPersistence --> pkg_message_feedback
  svc_sessionPersistence --> pkg_session_query
  svc_sessionPersistence --> pkg_session_query_sqlite
  svc_sessionPersistence --> pkg_tool_bash
  svc_sessionProjectionCache --> pkg_api_session_controller
  svc_sessionProjectionCache --> pkg_session_query
  svc_sessionProjectionCache --> pkg_session_reference
  svc_sessionProjections --> pkg_api_session_controller
  svc_sessionProjections --> pkg_session_title
  svc_sessionProjections --> pkg_tool_todo
  svc_sessionQuery --> pkg_session_reference
  svc_sessionQuery --> pkg_tool_session_query
  svc_sessions --> pkg_agent
  svc_sessions --> pkg_agent_loop
  svc_sessions --> pkg_message_feedback
  svc_sessions --> pkg_session_persistence
  svc_sessions --> pkg_session_query
  svc_sessions --> pkg_session_query_sqlite
  svc_sessions --> pkg_subagent
  svc_settings --> pkg_api_settings_controller
  svc_shell --> pkg_hooks_claude_code
  svc_shell --> pkg_hooks_codex
  svc_shell --> pkg_tool_bash
  svc_shell --> pkg_tool_pwsh
  svc_shellEnv --> pkg_tool_bash
  svc_shellEnv --> pkg_tool_pwsh
  svc_skills --> pkg_tool_skill
  svc_speechToText --> pkg_experimental_api_speech_to_text
  svc_spillStore --> pkg_spill_policy
  svc_ssh --> pkg_fs_ssh
  svc_ssh --> pkg_sandbox_ssh
  svc_ssh --> pkg_subprocess_ssh
  svc_storage --> pkg_storage_domain
  svc_storageDomain --> pkg_workspace
  svc_subagentModelSelection --> pkg_tool_subagent
  svc_subagents --> pkg_tool_ralph
  svc_subagents --> pkg_tool_subagent
  svc_subagents --> pkg_tool_subagent_control
  svc_subprocess --> pkg_bash_local
  svc_subprocess --> pkg_bash_sandbox
  svc_subprocess --> pkg_lsp_stdio
  svc_subprocess --> pkg_subagent_acp
  svc_subprocess --> pkg_subagent_claude_code
  svc_subprocess --> pkg_subagent_codex
  svc_subprocess --> pkg_terminal_bash
  svc_systemPrompt --> pkg_agent_loop
  svc_systemPrompt --> pkg_tool_fs
  svc_systemPrompt --> pkg_tool_terminal
  svc_systemPrompt --> pkg_tool_web
  svc_systemPrompt --> pkg_tools
  svc_terminals --> pkg_tool_terminal
  svc_tokenMeter --> pkg_compaction_basic
  svc_toolResultPruner --> pkg_compaction_basic
  svc_tools --> pkg_agent_loop
  svc_tools --> pkg_tool_ask_user
  svc_tools --> pkg_tool_bash
  svc_tools --> pkg_tool_cordis
  svc_tools --> pkg_tool_fs
  svc_tools --> pkg_tool_skill
  svc_tools --> pkg_tool_subagent
  svc_tools --> pkg_tool_terminal
  svc_tools --> pkg_tool_todo
  svc_tools --> pkg_tool_web
  svc_translator --> pkg_experimental_client_ui_cot_translation
  svc_typert --> pkg_api_gateway
  svc_typert --> pkg_typert_loader
  svc_userQuestions --> pkg_tool_ask_user
  svc_web --> pkg_tool_web
  svc_webApp --> pkg_harness_dev_context
  svc_webServer --> pkg_client_connection
  svc_webServer --> pkg_client_hmr
  svc_webServer --> pkg_client_modules
  svc_webhookRuntime --> pkg_webhook_github
  svc_workflowEngine --> pkg_tool_ralph
  svc_workflowEngine --> pkg_tool_workflow
  svc_workingDirectory --> pkg_sdk_jsonrpc_server
  svc_workingDirectory --> pkg_subagent
  svc_workingDirectory --> pkg_tool_bash
  svc_workingDirectory --> pkg_tool_fs
  svc_workingDirectory --> pkg_tool_pwsh
  svc_workingDirectory --> pkg_tool_working_directory
  svc_workspaceRegistry --> pkg_api_session_controller
  svc_workspaceRegistry --> pkg_api_workspace_controller
  svc_worktrees --> pkg_experimental_tool_worktree
  svc_fs -. event gate .-> pkg_fs_observation_policy
ctx key Role Owner Implementations Direct consumers Companion plugins Note
ctx.actionCards service action-cards - creation-recommendations, client-ui-action-cards - Owns the card tool, card state, user actions and status notices; card kinds register their actions and handlers.
ctx.pluginRecommendations service plugin-recommendations - client-ui-plugin-recommendations - Reads the current catalog text of an official plugin card and enables the plugin through the profile plugin manager after a click.
ctx.deepseekChatImport service deepseek-chat-import - - - Serves the owner-only upload route that imports each conversation of a DeepSeek chat export as a Session, and the upload limits the browser checks first.
ctx.headlessStartup core headless - headless - Supplies parsed task and run options to the headless runner and its sandbox-policy configuration.
ctx.cotTranslation service experimental-client-ui-cot-translation - - - Serves reasoning translations, reuses saved results, and joins ordinary Session activation for uncached inactive Sessions.
ctx.translator service experimental-translator - experimental-client-ui-cot-translation - Resolves Google or Bing requests and retains shared experimental records through the active Session writer.
ctx.hmr core hmr - app-boot - Owns module and exact configuration watchers; application mutations share its queue and automatic reloads await the application file lock.
ctx.pluginRegistryProbe core client-ui-plugin-manager - client-ui-plugin-manager - Races public registry responses on the Host; the Client owns the initial registry recommendation.
ctx.pluginManager core plugin-manager - plugin-manager, ui-settings-plugin-inventory - Shares profile package operations with the CLI and reports persisted and running state to Web and agent callers.
ctx.pluginMarket core plugin-market - client-ui-plugin-market, plugin-market - Fetches and validates the index sources the user configures; installation goes through the plugin manager.
ctx.profileContext core app-boot - plugin-manager - The dsh launcher supplies data-only profile locations and composition inputs; reload scheduling belongs to dsh-hmr.
ctx.connection core client-connection - api-gateway, host-frontend-static - Owns browser authentication and shared HTTP request dispatch; API adapters register endpoints and streams.
ctx.forge seam experimental-forge experimental-forge-github experimental-forge-session, experimental-client-ui-forge - Providers map remote and change request URLs, look up change requests by head branch, and read status in batches; watchers of one change request share one polling loop.
ctx.forgeSession service experimental-forge-session - experimental-client-ui-forge - A Session projection derives bindings from shell results and binding records and publishes their URLs without status to clients; push results trigger head-branch discovery, and Session watchers poll bound change requests through the forge registry.
ctx.forgePanel service experimental-client-ui-forge - - - Streams one panel state per followed Session: Git inspection using Session permissions, the recognized code host and its sign-in, and the bound change requests with polled status.
ctx.worktrees seam experimental-worktree experimental-worktree experimental-tool-worktree - Explicit experimental creation from a pinned local commit. Existing write permissions govern checkout and shared Git metadata; the working-directory service owns the resulting Session directory.
ctx.workingDirectory seam working-directory working-directory tool-working-directory, tool-fs, tool-bash, tool-pwsh, subagent, sdk-jsonrpc-server - One Session projection owns the effective execution directory. The filesystem validates changes; user context reports them while original metadata and write grants stay fixed.
ctx.mcpResources seam mcp-resources mcp-client mcp-resources - Connection-owned providers serve shared resource tools in the calling agent scope.
ctx.browserUse seam browser-use experimental-browser-use-playwright-mcp, experimental-browser-use-chrome-devtools-mcp, experimental-browser-use-stagehand-native experimental-browser-use-playwright-mcp, experimental-browser-use-chrome-devtools-mcp, experimental-browser-use-stagehand-native - One provider-owned name per service instance. Providers own their tools and browser resources per live Session; the shared service has no browser operation API.
ctx.computerUse seam computer-use experimental-computer-use-cua-driver-mcp, experimental-computer-use-cua-driver-native experimental-computer-use-cua-driver-mcp, experimental-computer-use-cua-driver-native - One provider-owned name per service instance. Each provider also owns its model tools; the service has no common action API, runtime selection, or Session workflow lock.
ctx.cuaAccess core cua - cua - The native provider owns application consent and cancellation; the optional Client page queries and changes those decisions through its Remote.
ctx.officeKit core office-kit - client-ui-sidebar-documentpreview, tool-office - Authorized Office bytes are rendered as PDFs or images, converted, or recalculated on the Host using the declared native target engine, or Node WASM when no native target is declared.
ctx.attachments seam attachment attachment-local api-session-controller, tool-fs, llm-pi-ai, llm-deepseek - The host commits accepted images before session events; provider adapters resolve authorized durable references into provider-native content.
ctx.fileUploads core client-file-upload - api-session-controller - Owns streaming intake, durable storage, and staged receipt lifetime; the Session controller binds receipts to accepted submissions.
ctx.llm seam llm llm-deepseek, llm-pi-ai, llm-replay agent-loop, compaction-basic - Adapters register provider implementations; the loop and compaction call the provider-neutral stream service.
ctx.sessionLogDeepSeek core session-log-deepseek - - - Plugins register caller-owned exclusions before the canonical Session-log request contribution is prepared; unmatched requests use normal upload eligibility.
ctx.deepseekLlmApiExtensions seam deepseek-llm-api-extensions session-log-deepseek, plugin-package-inventory-deepseek llm-deepseek - Plugins prepare independent top-level fields; the official adapter merges them and commits their delivery state after HTTP acceptance.
ctx.tokenMeter core token-meter - compaction-basic - Owns isolated per-session replay folds; pressure consumers share immutable revisioned measurements.
ctx.toolResultPruner core compaction-tool-result-pruner - compaction-basic - Rewrites oversized current tool results through replayable single-node surface replacements before summary compaction.
ctx.sessions core session - agent-loop, agent, session-persistence, session-query, session-query-sqlite, subagent, message-feedback - Owns append-only Session instances and emits the durable session event feed.
ctx.speechController core experimental-api-speech-to-text - - - Validates bounded browser audio before provider dispatch.
ctx.sessionController core api-session-controller - - - Owns Session commands, cold reads, durable-event following, live control state, model catalogs, workspace opening, and Agent activation policy.
ctx.sessionFileReferences core api-session-controller - - - Delegates file-reference discovery through the Session Controller's established Agent lookup policy.
ctx.sessionSkillCatalog core api-session-controller - - - Lists the Session composition's user-invocable skills without activating a cold Agent.
ctx.jobController core api-job-controller - - - Streams one background job's observation record over the generated Remote namespace; the roster stays on the session control stream.
ctx.credentialsController core api-settings-controller - - - Projects the credential-reference seam onto the generated Remote namespace: batch fan-out, view projection, and refusal mapping live here, not on the seam Definition.
ctx.settingsController core api-settings-controller - - - Projects the user-settings seam onto the generated Remote namespace: the read is always redacted and every refusal is classified here, not on the seam Definition.
ctx.workspaceFiles core api-workspace-files - - - Serves stat, paged text, byte windows, directory listings, and the change feed for files inside a Session's workspace root, confined by lstat, containment, and a stat re-check.
ctx.workspaceChanges core workspace-changes - - - Serves the summary each workspace/changes event announced and each listed file's turn-start and turn-end comparison, by Session and event sequence, until that Session is disposed; the log carries only the turn.
ctx.terminalController core api-terminal-controller - - - Owns user terminal processes, default shell resolution and bounded screen recovery through the subprocess provider and typed Remote transport.
ctx.workspaceController core api-workspace-controller - - - Owns Workspace commands and reconnect-safe Workspace state delivery through the generated Remote namespace.
ctx.directoryPickerController core api-workspace-controller - - - Carries the picking seam onto the wire: capability gating, cancellation, and the seam-coded failures a browser directory flow discriminates on.
ctx.typert core typert-registry - typert-loader, api-gateway - Plugins register live zod contributions directly or through dsh-typert-loader; the API gateway consumes invocation descriptors and providers, while other runtime consumers query schemas and reflection metadata at their own edges.
ctx.typertGateway core api-gateway - - - Associates generated Remote descriptors with live Cordis services, resolves registered identities, and exposes unary calls through the shared Connection RPC carrier.
ctx.remoteAccess core api-remote-access - api-gateway, api-session-controller, api-workspace-controller - Decides which Remote methods a non-owner Peer may call through business-registered role-based policies, filters list results, and streams each Peer access snapshot.
ctx.sessionPersistence seam session-persistence session-persistence-jsonl agent-loop, tool-bash, hooks-claude-code, hooks-codex, session-query, session-query-sqlite, message-feedback - The JSONL backend persists the SessionEvent vocabulary as one artifact per Session.
ctx.configEditor core config-editor - settings, agent-default-model - Persists profile config patches under the application file lock and HMR queue, then reconciles Loader entries.
ctx.settings core settings - api-settings-controller - Forms project volatile Config fields from active profile entries and delegate validated edits to config-editor. Plugins consume their own Config references.
ctx.subagentModelSelection core tool-subagent - tool-subagent - Owns the default-off settings namespace that Agent-scoped delegation tools sample when composing a new top-level Session.
ctx.credentials seam credentials credentials-local api-settings-controller, llm-deepseek, llm-pi-ai - Configuration carries references to secrets; providers own the values. Consumers resolve per operation, so a rotated credential reaches the very next request; the settings controller exposes value-free views and write-only storage.
ctx.deepseekAccount service deepseek-account - llm-deepseek - The Host owns browser authorization and local credentials; UI consumers receive state without tokens.
ctx.authorization seam authorization - llm-pi-ai - Flows are registered by the plugin that knows how to obtain one credential and keyed by the record they write; the seam owns the conversation and the one-attempt-per-key lifecycle, never the protocol.
ctx.productAnalytics service client-product-analytics - - - Accepts selected Desktop events, enriches available login identity, and observes live compaction under the live Host collection policy.
ctx.otel service otel - host-product-telemetry-otel, session-telemetry-otel - Product analytics and Session feedback adapters create independent reporting channels through one injected service.
ctx.productTelemetry service host-product-telemetry-otel - - - Exports explicitly submitted analytics events through OTLP/HTTP; mounting alone collects nothing.
ctx.sessionTelemetry seam session-telemetry session-telemetry-otel - - The seam captures, redacts, and hands session records to one backend; nothing else consumes the service — its output leaves the process.
ctx.storage seam storage storage-json, storage-sqlite storage-domain - Backends register side by side under names; data forms (domain first) mount on the hub and translate typed operations into opaque KV-unit primitives.
ctx.storageDomain core storage-domain - workspace - Waits for every configured backend, then publishes the domain form as one lifecycle-bound service for typed durable state.
ctx.messageFeedback core message-feedback - - - Owns per-assistant-message feedback in the canonical Session log, target validation, per-item compare-and-set, and the Host unary Remote contract. Feedback stays outside model history; log export follows the consumer policy.
ctx.sessionFeedback core command-feedback - - - Records one Session-level remark with its category as a log-only feedback/record event on a live Session through the Host unary Remote contract; the /feedback command shares the same producer.
ctx.workspaceRegistry core workspace - api-workspace-controller, api-session-controller - Owns WorkspaceId-branded records over the domain facility; stable sessionIds accounts drive Host RPC and GUI projections.
ctx.sessionQuery seam session-query session-query-sqlite session-reference, tool-session-query - The interface supplies exact reads, filters, and traces; its concrete backend adds full-text reconciliation, ranking, snippets, and cursor generations, while the model consumer owns workspace authority and cursor-free rendering.
ctx.fileReferences seam file-reference file-reference-local api-session-controller - The interface returns path-only completion candidates within an Agent cwd; providers own namespace access and ranking without reading file contents.
ctx.sessionReferenceResolver core session-reference - - - Projects bounded current-surface conversation snapshots into durable untrusted message context; host adapters own mention syntax.
ctx.sessionTitle seam session-title session-title-first-prompt-llm, session-title-all-prompts-llm - - Owns the deterministic fallback, latest-title fold, and sole optional asynchronous provider registration.
ctx.systemPrompt core system-prompt - agent-loop, tools, tool-fs, tool-terminal, tool-web - Collects prompt sections and model-facing tool schemas for each step.
ctx.tools core tools - agent-loop, tool-ask-user, tool-bash, tool-cordis, tool-fs, tool-terminal, tool-skill, tool-subagent, tool-todo, tool-web - Registers capabilities and scoped executors. Native and PTC providers own descriptions and complete raw call batches; their optional shared pipeline handles tool policy and dispatch.
ctx.userQuestions seam user-questions - tool-ask-user - UI front ends provide the active human-answer provider; tool-ask-user pauses a tool call on the provider-neutral ask() promise.
ctx.planMode core plan-mode - - - Folds logged plan/mode state, flushes user selections at turn boundaries, renders deployment-owned guidance, registers /plan, and keeps the plan-exit schema stable across transitions.
ctx.agentPresets core agent-preset-registry - - - Eagerly mounts YAML-declared preset revisions, binds Agents and cold readers to scoped contributions, and retains retired revisions until their last user releases them.
ctx.commands core commands - - - Plugins register direct human commands without sending invocations to the model.
ctx.sessionProjections core session-projection - api-session-controller, tool-todo, session-title - Domains register state-driven fold units; the eager drive keeps per-session watermark states and the Session controller serves baselines and pushes changed values.
ctx.sessionProjectionCache core session-projection-cache - api-session-controller, session-query, session-reference - Durably checkpoints projection unit states per session (throttled + turn/end/detach mandatory points), serves cached projection views, and accelerates prepared-Session projection hydration.
ctx.skills seam skill sandbox-windows-acl, skill-badge, skill-filesystem, skill-office tool-skill - Merges provider skill catalogs; tool-skill renders the session-prefix catalog and loads complete skill bodies.
ctx.agents core agent - agent-loop, acp, subagent - Owns live Agent handles, the create/resume factory seam, and process-local initiator propagation.
ctx.agentDefaultModel core agent-default-model - api-session-controller, headless - Reads the default ModelSelection from volatile Config and saves selections through the profile editor.
ctx.agentLoop bundle agent-loop - base, sdk-minimal - The one concrete loop plugin; extension packages depend on dsh-agent events and services, not on this package.
ctx.mcpManager core mcp-manager - - - Reconciles mcp-client instances against its volatile servers configuration, aggregates their connection statuses, and serves restart and probe to management surfaces.
ctx.schedule core schedule - - - Stores tasks independently of Session activation and queues due messages in each task's target Session.
ctx.goals core goal - - - Folds revisioned objective state from the session log and keeps live continuation activation process-local.
ctx.ssh core ssh - fs-ssh, subprocess-ssh, sandbox-ssh - Owns one authenticated OpenSSH connection, installed helper identity, independent program streams and disconnect cleanup for the paired remote providers.
ctx.subprocess seam subprocess subprocess-local, subprocess-ssh bash-local, bash-sandbox, terminal-bash, lsp-stdio, subagent-acp, subagent-codex, subagent-claude-code - The bash executors, the PTY shell backend, the LSP host, and the out-of-process ACP, Codex, and Claude Code subagent backends spawn through ctx.subprocess; the service owns process coordinates, tree/session lifetime, stdio dispositions, terminal mechanics, and kill escalation.
ctx.shell seam shell bash-local, bash-sandbox, pwsh-local tool-bash, tool-pwsh, hooks-claude-code, hooks-codex - The model-facing shell tools and hook bridges consume this seam; sandboxed, remote, or PowerShell executors replace bash-local without touching them.
ctx.shellEnv core shell-env - tool-bash, tool-pwsh - Plugins declare effect-scoped DSH_* facts; each shell tool collects one trusted snapshot per execution and its executor rebuilds the namespace.
ctx.terminals seam terminal terminal-bash, terminal-panel tool-terminal - The registry owns exact-Agent session identity and cleanup; backends own terminal mechanics, while tool-terminal exposes the owner-scoped model tools.
ctx.sandbox seam sandbox sandbox-local, sandbox-ssh bash-sandbox, terminal-bash, api-terminal-controller - Consumers hand over the exact argv they are about to spawn; same-world backends wrap it under a per-call policy and report enforcement.
ctx.sandboxPolicy core sandbox-policy - bash-sandbox, fs-sandbox, terminal-bash, terminal-panel - The one home for the deployment default mode + workspace root; only the sandboxed executor and provider read the service (the tool layers use the pure sandbox/mode fold it also exports). Both enforcing families read it so bash and fs cannot confine to different roots.
ctx.approval seam user-approval - tools, tool-bash, acp - One-shot permission decisions dispatched over the approval/request waterfall; answerers are listeners (the ACP bridge for its own agents), absence fails closed to unavailable.
ctx.permissionPresets core permission-presets - - - User-facing preset table (workspace-write/danger-full-access) bundling the sandbox-mode and approval-policy knobs; a switch writes one permission/preset event through to both knob events.
ctx.ptcRuntime seam ptc-runtime ptc-runtime-node, experimental-ptc-runtime-python tool-executor-ptc, workflow-ptc - Runs programs against host-provided async bindings; tool-executor-ptc owns PTC presentation and workflow-ptc owns workflow orchestration.
ctx.fs seam fs fs-local, fs-sandbox, fs-ssh tool-fs fs-observation-policy tool-fs executes read/write/edit through ctx.fs; fs-sandbox fences mutations by the shared sandbox mode; fs-observation-policy contributes observed-state checks through the fs/* event gate.
ctx.compaction seam compaction compaction-basic compaction-basic - The basic backend consumes post-step pressure and request-error recovery events; there is no model-facing compact tool.
ctx.subagents seam subagent subagent-spawn-in-process, subagent-fork-in-process, subagent-acp, subagent-codex, subagent-claude-code, subagent-dsh-sdk tool-subagent, tool-subagent-control, tool-ralph - Providers prepare local children or execute external tasks; one activation manager owns both lifecycles. The delegation tool selects a backend, control tools deliver local follow-ups, and workflows await activation results.
ctx.speechToText seam experimental-speech-to-text experimental-speech-to-text-sensevoice experimental-api-speech-to-text - Routes explicit recognizers; the browser uses the authenticated Remote and keeps transcripts in the draft until submission.
ctx.agentTeams core agent-team - tool-agent-team - Owns the shared task DAG for a subagent tree; tool-agent-team contributes task controls.
ctx.claudeCodeMods core experimental-claude-code-mods - - - Loads mods that defineMod plugins add, raises their hook chains from harness extension points, and draws the band above the prompt over its Remote.
ctx.inspector core inspector - - - Owns the Worker-hosted CDP target and the transport-independent Host and Client observation and Cordis-tree query API.
ctx.jobs seam jobs jobs-local tool-bash, tool-pwsh, tool-terminal, tool-jobs, api-job-controller - Producers (background bash/pwsh and PTY sends) register running work; record-declaring jobs additionally stream raw output for non-consuming observers; tool-jobs is the model-facing controller that reads, lists, and kills it; jobs-local is the process-local registry.
ctx.web seam web web-search-deepseek, web-deepseek-api, web-fetch-http tool-web - Search and fetch providers register into one ctx.web seam; tool-web owns the stable model-facing names.
ctx.spillStore seam spill spill-local spill-policy - The backend saves oversized tool text and returns a model-facing locator plus retrieval hint; spill-policy is the tools/post-execute consumer that decides when to spill.
ctx.directoryPicker seam host-directory-picker host-directory-picker-native, host-directory-picker-browse api-workspace-controller - Discriminated interaction capability: the native backend opens one OS chooser on the host display, the browse backend serves listing/creation primitives for the in-app browser; dual-face backends fill ui-workspace directory-flow slots from their browser halves (no wire advertisement).
ctx.webServer core host-webserver - client-connection, client-modules, client-hmr - Plain node:http carrier: named-route registry, index transform taps, and the static dist fallback; web-transport plugins register their own routes.
ctx.webApp core web-app - harness-dev-context - The web-runtime row advertises one URL for its Web GUI: the configured publicUrl, otherwise the listener origin; DSH_WEB_URL, the startup URL, and harness-dev-context read the same value.
ctx.clientModules core client-modules - client-hmr - Composes the DSH_BOOT entry graph from an incremental dsh.client scan, serves plugin bundles, and notifies rebuilt/graph-changed subscribers.
ctx.workflowEngine seam workflow workflow-ptc tool-workflow, tool-ralph - One engine per context, as in bash, with no named-provider registry; the general workflow and fixed Ralph consumers start runs whose agent() calls fan out through ctx.subagents.
ctx.webhookRuntime core webhook - webhook-github - Provider adapters dispatch authenticated deliveries; trusted plugins register independent process-local rules, and the runtime turns non-null results into ordinary Workspace-backed Sessions without delivery or completion state.
ctx.lsp seam lsp lsp-stdio tool-lsp - Provider registration and selection plus normalized query execution over exactly four operations; the seam offers no protocol escape hatch, so a backend translates into the normalized request and result.
ctx.dynamicCordisRunner core cordis-host-runner - tool-cordis - Owns the in-memory definition registry, the vm sandbox for host halves, and the request-run round trip; browser pages reach the same service over the wire through its remote namespace.
ctx.cordisInspect core cordis-host-runner - tool-cordis - Registers host inspect providers, mirrors the client provider manifest, and routes client queries through the dynamic Cordis transport.
ctx.liveshareShares service experimental-liveshare - - - Publishes the owner share-management operations as one Typert Remote namespace that the owner client face calls; every method delegates to the same operations the same-origin routes used.

Maintenance mode: hybrid: services are discovered from Cordis declarations; interface/implementation/consumer roles are classified in scripts/gen-doc-graphs.ts with a completeness guard.