From 0e287b582ca1553c47157fa88d403ec116285f58 Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Sat, 25 Jul 2026 12:50:09 +0800 Subject: [PATCH] feat(headless): boot dsh -p from the shared composition; retire dsh-host-runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dsh -p now runs AppCLIEntry over the same cordis.yml as dsh web — one composition, no disabled rows, no layer marks. The only surface difference is port 0 (parallel runs never collide), and the printed URL opens the live headless session in a browser while it runs. The model face gains what web already had (ask_user_question, workspace context, model titles) per the unification ruling. InProcessApiClient now wraps toFetchHandler(ctx.apiProxy) directly, so bootHost/startHost lose their last consumer and the dsh-host-runtime package retires; its api-proxy behavior specs move to dsh-host-apiproxy where the implementation lives. --- apps/cli/package.json | 1 - docs/config-catalog.md | 2 +- pnpm-lock.yaml | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/cli/package.json b/apps/cli/package.json index a92cb68caf..d8a75e2bb5 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -15,7 +15,6 @@ "license": "BSD-3-Clause", "dependencies": { "@cordisjs/plugin-include": "workspace:*", - "@cordisjs/plugin-logger-console": "workspace:*", "@cordisjs/plugin-loader": "workspace:*", "@cordisjs/plugin-timer": "workspace:*", "@deepseek-ai/dsh-agent": "workspace:^", diff --git a/docs/config-catalog.md b/docs/config-catalog.md index 6234dcca21..b5484ba57d 100644 --- a/docs/config-catalog.md +++ b/docs/config-catalog.md @@ -285,7 +285,7 @@ export interface Config { } ``` -Source: [`packages/client/hmr/src/index.ts:31`](../packages/client/hmr/src/index.ts) +Source: [`packages/client/hmr/src/index.ts:30`](../packages/client/hmr/src/index.ts) ## `@deepseek-ai/dsh-code-runtime-worker` diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f50479ed1..6b3b39ab93 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -104,9 +104,6 @@ importers: '@cordisjs/plugin-loader': specifier: workspace:* version: link:../../vendor/loader - '@cordisjs/plugin-logger-console': - specifier: workspace:* - version: link:../../vendor/logger-console '@cordisjs/plugin-timer': specifier: workspace:* version: link:../../vendor/timer