Files
deepseek-harness/packages/boot
Turtle 82728808d4 feat(bundle): the web and one-shot apps own their own flags
dsh-web-app owns --host/--port/--dev/--workspace-root/--trusted-host and
its --help in a web-startup row; the rows it configures wait for the
webStartup service, and the client-plugin HMR receiver now ships disabled
so --dev is a row toggle rather than a runtime insert (the Loader cannot
resolve a row inserted from inside a mounting plugin).

dsh-headless owns the task positional and rejects a missing task as its own
usage error. Its runner ships disabled, not merely waiting: the schema
requires the task, and a row's config is validated when its fiber is
created, before the startup row can supply one. A composition has exactly
one command-line owner, so the patch disables the web startup row and this
one provides webStartup too, leaving the web rows on their composed
one-shot values.

The keyless web scaffold provides the same three values with no arguments,
which is what an embedding host with no command line does.
2026-08-10 23:45:04 +08:00
..

boot/ — shared app-bin boot glue

English | 中文

The channel-neutral boot library the app bins share: apps/cli, the scaffold/ launcher, and the examples/ demo bins all consume it.

Package Role ctx key
app-boot/ Shared boot glue for the app bins: .env loading, fail-loud Loader guards, snapshot-aware config resolution, the settle-the-tree boot sequence (library for the bins)
cmdline/ Launcher-to-app command-line handoff and app-owned startup parsing cmdlineArgs, appExit, appReady

The boot sequence and personal-config contract are documented in app-boot/README.md; app-owned command lines are documented in cmdline/README.md.