mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Rewrite ui-plan as a pure browser surface plugin. The control occupies the composer's named plan seat (declared empty by ui-conversation); reads render the host-computed plan projection through the standard-kit useProjection (absent key = capability absence, hides the control), writes execute /plan or /plan off through command.execute. The node half becomes the empty roster apply: plan behavior (command, policy, projection unit) is owned by dsh-plan-mode, already composed on the web roster with its policy in cordis.yml. The superseded RPC-backed setPlanMode face, the WEB_PLAN_SECTION duplicate, and the node-plugin spec are removed; the roster row moves from the retired CLIENT_PACKAGES table to the cordis.yml dshClient roster.
12 lines
540 B
TypeScript
12 lines
540 B
TypeScript
/**
|
|
* Plan control plugin, node half. Pure UI plugin: the empty apply exists so
|
|
* the plugin appears in the host cordis.yml / Loader; the browser half ships
|
|
* via exports["./client"], discovered through the package.json dshClient
|
|
* declaration. Plan behavior itself (the /plan command, the plan projection
|
|
* unit, the policy section) is owned by `@deepseek-ai/dsh-plan-mode`,
|
|
* composed independently on the host roster.
|
|
*/
|
|
|
|
/** Host plugin body — no host-side behavior for this surface plugin. */
|
|
export function apply(): void {}
|