deepseek-harness/apps/cli/src
Turtle 5a06b9e926 fix(cli): reject default-surface flags leaked onto the web subcommand
ds-review-bot: `dsh web -p task`, `dsh web --resume s`, and `dsh --config c.yml
web` reached the web action with those values in program.opts() but the action
ignored them and served — silently dropping mode-specific inputs. The web
action now reads the parent opts and fails loud (exit 1) on a leaked
--config/-p/--resume, matching the root mode's mixing guard. Covered in
args.spec.ts.

Also (ds-review-bot): tui-demo/README documented the removed `dsh
[path-to-cordis.yml]` positional form; corrected to bare `dsh` / `dsh --config
<path>`. Agent Note + Chinese pair note the web-leak guard.
2026-07-25 17:24:39 +08:00
..
app-cli-entry.ts chore(web): gate repairs for the config-tree boot round 2026-07-25 10:38:54 +08:00
args.ts fix(cli): reject default-surface flags leaked onto the web subcommand 2026-07-25 17:24:39 +08:00
bin.ts docs(cli): trim bin.ts module comment to the non-obvious contract 2026-07-25 15:50:10 +08:00
headless.ts refactor(cli): bail early in the arg adapter instead of returning errors as data 2026-07-25 14:15:25 +08:00
tui.ts refactor(cli): unify the arg grammar — one program, --config flag, real web subcommand 2026-07-25 15:47:55 +08:00
web.ts refactor(cli): let the webserver schema own web --host/--port validation 2026-07-25 16:19:02 +08:00