nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:miguelangelnieto/dsh-mode-switch
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that adds the composer's missing Plan control, so a session can
enter plan mode with one click instead of remembering a slash command. It completes the
built-in plan-mode UI: the shipped Plan chip only appears while plan mode is already on, so
before this plugin the only way in was /plan or the + command menu.
Plan mode itself is shipped with DeepSeek Harness (@deepseek-ai/dsh-plan-mode): the agent
explores, grounds the plan in the real repository, and presents it for review before carrying
it out. This plugin only adds the way in.
While the effective mode is execution, a neutral Plan pill sits in the composer's mode cluster, next to the permissions pill:
[ + ] [ Workspace write ] [ Plan ]
Click it to enter plan mode. The pill disappears and the built-in Plan chip takes its place, in the same position:
[ + ] [ Workspace write ] [ Plan × ]
Click the chip to return to execution mode. The two affordances are never on screen at the same time: the plugin renders whenever the chip's folded target is execution, so there is always one Plan control and no duplicate.
To make the handoff read as one control, the pill reuses the chip's own identity:
Plan, Planificar, 计划, 計画,
Planifier, Planen, План, Plano;/plan shortcut.Hovering or focusing the pill swaps its plan glyph for a circled plus, mirroring the chip's hover circle-x. Mouse clicks keep the caret in the composer.
plan session projection. The pill renders
whenever the effective target — pending ? !active : active — is execution, which is the
exact complement of the chip's visibility./plan human command, so the mode stays a logged
command and keeps the plan-mode package's pending/queued behavior. Leaving uses the shipped
chip's own /plan off.conversation.input.left seat receives no
locked prop of its own, so this is the state the plugin can observe locally.The rest of the built-in flow is unchanged: /plan and /plan off still work, the placeholder
switches to the plan hint while plan mode is on, exit_plan_mode still presents the plan
review, and approving it returns the session to execution mode.
dsh-base + dsh-web-app profile does). Where the plan projection is absent, the plugin
renders nothing instead of failing.@deepseek-ai/dsh-client-ui-plan, part of the default dsh-web-app
bundle). It is the control's on-state and the way back to execution; without it, use
/plan off to leave plan mode.Add this directory as a profile bundle: Plugins → Add plugin in the app, or
ask the agent to run the plugin_manager tool with install_bundle and this
directory's absolute path.
Either route installs the package and selects the bundle. Installing the package
alone with pnpm (dsh plugin --profile <profile> add <dir>) is not enough: the
bundle must also be listed under dsh.profile.bundles in the profile's
package.json, which is what the two routes above do.
The package deliberately keeps the local name @local/dsh-mode-switch; rename it before
publishing to a registry. It installs the row dsh-mode-switch, so the feature can be
disabled from Plugins without uninstalling the package.
Refresh the Web page once after installing so its client bundle is fetched.
| File | Role |
|---|---|
cordis.patch.yml |
Inserts the dsh-mode-switch row. |
index.js |
Empty Host plugin body. |
client.js |
Composer Plan pill: projection read, /plan call, glyphs, styles, eight control dictionaries. |
locale/en.json, locale/es.json, locale/zh.json |
Plugin Manager title and description (other languages fall back to English). |
icon.svg |
Plugin icon. |
The client half is plain JavaScript loaded through the Harness client module table; React
comes from the page. There is no build step. After editing client.js in an installed linked
checkout, the Host's bundle watcher hot-swaps the plugin; refresh the page if it does not.
Styles use only --dsw-* theme tokens and are scoped under the dsh-plan-entry prefix.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ai-agent。