Address the ds-review-bot v5/v6 review on PR #3849: - Register the shared `lib/json-stream-*.js` chunk in `packageFileExtras` and order `files` as the workspace-constraints gate requires, so `pnpm run constraints` passes. - Re-validate the preset on the Session `agents.resume` actually attached, closing the TOCTOU window between `observeSession` and the write lease. - Bound one serialized event line at 32 KiB: an over-long event keeps its scalar fields, drops structured ones, and at the extreme reduces to `type`. - Normalize an empty tool-argument string to `{}`, matching the executor. - Scan only real `--json` flags (stop at `--`, skip a `--session-id` value) before installing the JSON error override. Tests: 74 headless unit tests with per-file 100% coverage on src, 14 profile e2e tests, constraints/typecheck/lint/doc/pairing gates, tarball import smoke.
description, kind
| description | kind |
|---|---|
| Ready-made dsh profile bundles for the shared core, browser GUI, one-shot task, ACP, and SDK application surfaces. | package-group |
bundle/ — profile plugin bundles
English | 中文
Summary
This group maps the installable patch layers used by dsh --profile. Each package declares dsh.bundle.patch; the launcher stacks those patch documents to assemble a named profile. The web, headless, acp, and sdk profiles build on dsh-base, while sdk-minimal supplies its complete tree in one bundle. Domain packages can declare additional layers outside this directory.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
base |
Shared core for base-backed profiles | — (patch only) |
acp-app |
Automation-only ACP stdio application over base | mounts the ACP bridge |
web-app |
Browser application layer over base | mounts Web rows |
headless |
One-shot command-line task application over base | headless-runner |
sdk-app |
SDK JSON-RPC stdio application over base | mounts the SDK server |
sdk-minimal |
Standalone minimal SDK application without base or Web | — (complete patch tree) |
In-box bundles resolve from the dsh installation; out-of-tree bundles install into a profile through dsh plugin --profile <name> add <package>.
Related documentation
- dsh app — the
dshcommand that starts a profile. - app-boot — how profiles are resolved, layered, and customized.
- Profile plugin bundles note — the profile and bundle composition design.
- Generated composition graph — the exact composition each shipped profile uses.
Dev Note
None.