feat(bundle): ship the standalone sdk-minimal profile

Add a startup-only sdk-minimal template whose sole bundle inserts the complete JSON-RPC agent tree over the empty profile root. The roster is an explicit composition allowlist: it contains one DeepSeek adapter, the minimal agent spine, persistent Bash, the string-replace editor, local execution, and JSONL persistence, while dsh-base and Web remain absent.

Reuse the SDK app startup provider so the new profile retains help, stdin EOF, and bounded launcher shutdown semantics. Make that provider render its configured profile name, which keeps both sdk and sdk-minimal help truthful without duplicating process lifecycle code.

Register the package in the CLI closure, TypeScript graph, lockfile, Knip policy, and bilingual bundle references. Exact manifest, row-roster, profile-template, config-dump, and HMR tests make later additions visible instead of relying on a blacklist.
This commit is contained in:
Tianyi Cui
2026-08-24 17:28:28 +08:00
parent ab4e65ba82
commit 8dc3b0380e
28 changed files with 510 additions and 14 deletions
+1
View File
@@ -263,6 +263,7 @@
{ "path": "./packages/bundle/base" },
{ "path": "./packages/bundle/headless" },
{ "path": "./packages/bundle/sdk-app" },
{ "path": "./packages/bundle/sdk-minimal" },
{ "path": "./packages/bundle/web-app" },
{ "path": "./packages/boot/app-boot" },
{ "path": "./packages/boot/cmdline" },