From 0556c989b5fd24be951528602838e797d57237f4 Mon Sep 17 00:00:00 2001 From: Turtle Date: Thu, 6 Aug 2026 09:35:51 +0800 Subject: [PATCH] docs: regenerate config catalog for the web-app surfaceContext field --- docs/config-catalog.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/config-catalog.md b/docs/config-catalog.md index bd6a2de41e..52cafa3441 100644 --- a/docs/config-catalog.md +++ b/docs/config-catalog.md @@ -507,7 +507,7 @@ export interface Config { } ``` -Source: [`packages/bundle/headless/src/index.ts:31`](../packages/bundle/headless/src/index.ts) +Source: [`packages/bundle/headless/src/index.ts:33`](../packages/bundle/headless/src/index.ts) ## `@deepseek-ai/dsh-hooks-claude` @@ -2204,6 +2204,13 @@ export interface Config { mode: WebMode /** Print the URL line on activation; a headless layer over this bundle turns it off. */ printUrl: boolean + /** + * Register the model-visible surface context (the `app:web-surface` prompt + * section and the `DSH_WEB_URL`/`DSH_WEB_MODE` bash variables). A one-shot + * layer turns it off: its user is not interacting through the GUI, so the + * orientation text would be false. + */ + surfaceContext: boolean /** * LAN IPv4 addresses sampled once by the launcher when the effective bind * is all-interfaces — the exact snapshot the /api trust fence was