* feat(release): publish package source, declaration maps, and documentation Every release member publishes its TypeScript source and the declaration maps that resolve into it, and @deepseek-ai/dsh publishes the repository Markdown documentation staged from docs/ at prepack time. The ./src/* export most members already declared now resolves for an installed consumer, and a consumer editor follows a declaration to the implementation. Bundled JavaScript maps stay unpublished; the vendored family and the Desktop runtime file policy are unchanged. Rationale: .agents/notes/implemented/process/2026-10-08-published-source-and-docs.md * feat(release): publish JavaScript maps and compress bundles Every emitted JavaScript map ships beside the bundle it describes, and the workspace build and the client preset compress bundles without mangling identifiers. The documentation payload now mirrors the website publication manifest and is removed again by `postpack`; Desktop and the Python executable exclude the published source, documentation, and maps; `clean` removes a staged copy. Typert's publication contract gains the Remote declaration map. * fix(release): keep node bundles readable for the worker image The browser worker image lowers `yield*` only as a whole statement and rewrites `for await` loops by their source layout, so compressed node-side entries either fail that lowering or lower to unparseable code. Only the browser bundles keep compression, which removes about a third of their text. The bundle-purity assertion now matches the module-loader call regardless of the quote style compression picks, and the release-pack fixture exercises the installed package's new documentation requirement. * feat(release): publish the whole documentation tree `@deepseek-ai/dsh` copies `docs/` in full instead of the website's page set: the maintainer documents, the generated migration records, the translation guidelines, and the `*.i18n.yaml` consistency records ship with the installed package, so the documentation's own links resolve without a checkout. * feat(release): publish the upgrade guides with the documentation The staged documentation keeps the website's page set and adds every `docs/upgrade-guide/` document, which is what an installed reader consults when a released change breaks something. The rest of the maintainer tree stays out. * feat(agent-preset): ship plugin artwork skill with creator mode * docs(skills): clarify artwork icon lookup and official review steps * refactor(agent-preset): fold plugin artwork into cordis plugin development * feat(agent-preset): require detail documents for creator bundles * test(release): expect source and maps in master's new payload cases * refactor(agent-preset): consolidate creator skills into dsh-doc * feat(release): keep installed docs and source readable in Desktop Desktop keeps the published src/ and docs/ trees inside app.asar, and every model shell call receives DSH_INSTALL_DIR and DSH_NODE_EXECUTABLE so an agent can read them through Electron's Node mode. Staging also generates docs/upgrade-guide/README.md, an index of the upgrade guides grouped by the release they upgrade from. Minified client bundles print string literals with backticks: the worker image packer now recognizes those chunk requests, client license banners are prepended after minification so their text survives, and the affected artifact tests accept either quote. * docs(agent-preset): add dsh-doc install, upgrade, and fallback guidance * docs(agent-preset): align dsh-doc archive reads and upgrade start versions * docs(agent-preset): bound dsh-doc upgrade index reads and test documented commands * test(desktop): read archived docs through the Windows PowerShell form Regenerate the config catalog for the shifted shell-env source line. * docs(upgrade-guide): correct dsh-doc session verification step * test(agent-preset): use a block body for dsh-doc fixture cleanup * test(desktop): wait for the GUI-subsystem Electron process from PowerShell * docs(agent-preset): read the running DSH version from the installation * build(release): publish source and maps from the message-quotes package * docs(agent-preset): document the verified PowerShell runtime invocation * docs(agent-preset): keep PowerShell runtime output streams and exit code * docs(tool-cordis): describe the shipped dsh-doc skill * docs(skills): load configuration guidance separately * fix(skills): declare shared template details in every locale * fix(skills): verify dsh-doc guidance through recorded sessions * test(skills): retain current runtime reminder in dsh-doc replay * test(snapshot): refresh terminal panel runtime context
139 lines
7.3 KiB
YAML
139 lines
7.3 KiB
YAML
# Agent preset cordis: one `@deepseek-ai/dsh-agent-preset` declaration inserted
|
|
# after the web patch. Edits saved from the Web editor override this row's
|
|
# `config.plugins` by id from the profile patch.
|
|
- insert:
|
|
- id: preset-cordis
|
|
name: '@deepseek-ai/dsh-agent-preset'
|
|
config:
|
|
id: cordis
|
|
order: 4
|
|
plugins:
|
|
# Same persona as `standard`: tool descriptions and the skill catalog carry
|
|
# the operating detail, and the dsh-doc skill owns the preset-authoring rules.
|
|
- id: persona
|
|
name: '@deepseek-ai/dsh-persona'
|
|
config:
|
|
prefix: >-
|
|
You are a coding agent powered by the {{model}} model.
|
|
- id: agent-instructions
|
|
name: '@deepseek-ai/dsh-agent-instructions'
|
|
config:
|
|
maxBytes: 65536
|
|
- id: time-context
|
|
name: '@deepseek-ai/dsh-time-context'
|
|
- id: tool-bash
|
|
name: '@deepseek-ai/dsh-tool-bash'
|
|
disabled: !!js process.platform === 'win32'
|
|
- id: tool-pwsh
|
|
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
disabled: !!js process.platform !== 'win32'
|
|
- id: tool-fs
|
|
name: '@deepseek-ai/dsh-tool-fs'
|
|
config:
|
|
# Set true to add the apply_patch tool beside edit.
|
|
applyPatch: false
|
|
- id: tool-fs-search
|
|
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
config:
|
|
sampleOverCapGlobResults: false
|
|
- id: tool-jobs
|
|
name: '@deepseek-ai/dsh-tool-jobs'
|
|
- id: tool-schedule
|
|
name: '@deepseek-ai/dsh-tool-schedule'
|
|
- id: command-goal
|
|
name: '@deepseek-ai/dsh-command-goal'
|
|
- id: tool-goal
|
|
name: '@deepseek-ai/dsh-tool-goal'
|
|
- id: planning
|
|
name: cordis:group
|
|
group: true
|
|
isolate:
|
|
planMode: true
|
|
config:
|
|
- id: plan-mode
|
|
name: '@deepseek-ai/dsh-plan-mode'
|
|
config:
|
|
section: |
|
|
You are in plan mode. Stay in plan mode until the user approves your plan through exit_plan_mode or switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
|
|
|
|
Explore first. Use non-mutating reads, searches, static analysis, and checks to ground the plan in the actual repository. Do not edit or write files, change configuration, run formatters or code generation that rewrites tracked files, commit, or otherwise carry out the plan. Prefer existing functions and patterns over new machinery.
|
|
|
|
The tool catalog stays the same across modes for request-cache stability. These plan-mode rules override any later tool description or guidance that suggests using mutation tools; those tools remain listed to keep the tool catalog unchanged. Do not use todo_write to track this planning phase: it tracks implementation after an approved plan, while the plan itself belongs in exit_plan_mode.
|
|
|
|
Resolve discoverable facts by inspection. Use ask_user_question only for user-owned choices or material ambiguity that inspection cannot answer. Do not ask the user where code lives or how current behavior works when you can find out.
|
|
|
|
Make the plan decision-complete: state the goal and success criteria; group implementation changes by subsystem; identify public API, schema, and data-flow changes; cover edge cases, failure modes, tests, acceptance criteria, and explicit assumptions. Keep it concise enough to review but detailed enough that another engineer can implement it without making design decisions.
|
|
|
|
When ready, call exit_plan_mode with the complete plan markdown, starting with a # title. Make exit_plan_mode the only and final tool call in that assistant response: it presents the plan for approval, and implementation begins only in a later step after approval. Do not paste the final plan as a plain reply or ask "should I proceed?" through prose or ask_user_question. If review rejects it, incorporate the feedback and present again. If the review channel is unavailable or aborted, stay in plan mode and ask the user to switch modes manually; do not proceed with implementation.
|
|
- id: compaction
|
|
name: cordis:group
|
|
group: true
|
|
isolate:
|
|
compaction: true
|
|
toolResultPruner: true
|
|
config:
|
|
- id: compaction-basic
|
|
name: '@deepseek-ai/dsh-compaction-basic'
|
|
- id: command-compact
|
|
name: '@deepseek-ai/dsh-command-compact'
|
|
- id: tool-result-pruner
|
|
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
config:
|
|
thresholdChars: 8192
|
|
headChars: 4096
|
|
tailChars: 1024
|
|
- id: delegation
|
|
name: cordis:group
|
|
group: true
|
|
isolate:
|
|
workflowEngine: true
|
|
config:
|
|
- id: tool-subagent-control
|
|
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
- id: tool-subagent
|
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
config:
|
|
provider: spawn
|
|
toolName: subagent
|
|
modelSelection: true
|
|
modelDiscovery: true
|
|
- id: tool-subagent-fork
|
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
config:
|
|
provider: fork
|
|
toolName: subagent_fork
|
|
- id: workflow-ptc
|
|
name: '@deepseek-ai/dsh-workflow-ptc'
|
|
config:
|
|
provider: spawn
|
|
- id: tool-workflow
|
|
name: '@deepseek-ai/dsh-tool-workflow'
|
|
- id: tool-ask-user
|
|
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
- id: tool-todo
|
|
name: '@deepseek-ai/dsh-tool-todo'
|
|
config:
|
|
allowParallelInProgress: true
|
|
- id: tool-web
|
|
name: '@deepseek-ai/dsh-tool-web'
|
|
config:
|
|
fetch: true
|
|
searchTimeoutMs: 60000
|
|
- id: tool-cordis
|
|
name: '@deepseek-ai/dsh-tool-cordis'
|
|
- id: skill-filesystem
|
|
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
config:
|
|
customSkillDirs:
|
|
- !!js process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@deepseek-ai/dsh-agent-preset/package.json')), 'skills')
|
|
- id: tool-skill
|
|
name: '@deepseek-ai/dsh-tool-skill'
|
|
- id: present
|
|
name: '@deepseek-ai/dsh-tool-present'
|
|
- id: tool-plugin-manager
|
|
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
disabled: !!js "!ctx.get('profileContext')"
|
|
- id: tool-plugin-market
|
|
name: '@deepseek-ai/dsh-plugin-market/tools'
|
|
disabled: !!js "!ctx.get('profileContext')"
|