Files
deepseek-harness/packages/bundle
lsdsjy 3488db77bf fix(headless): cap the bounding recursion depth and route error events through the line cap
Address the ds-review-bot v6 review on PR #3849:

- Cut a projected payload nested deeper than 64 levels instead of recursing
  until the stack overflows; the isolated session listener would otherwise
  drop the `tool_call` silently.
- Write both `error` events (startup usage errors and runner failures) through
  `boundJsonLine`, so the documented 32 KiB line cap covers JSON-escaping
  expansion as well as the 8 KiB message cap.

Tests: 76 headless unit tests with per-file 100% coverage on src, 14 profile
e2e tests, constraints/typecheck/lint/doc/pairing gates.
2026-09-09 18:06:29 +08:00
..
2026-09-08 23:06:34 +08:00
2026-09-08 23:06:34 +08:00

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>.

Dev Note

None.