prgrmrwy/ohmydsh--packages-dsh-openspec ↗★ 1

dsh-openspec

提供官方OpenSpec对话适配器,支持初始化和升级。 适合使用OpenSpec工作流的开发者。提供命令行生成与升级管理,不重复占用项目工具。

包名
dsh-openspec
兼容性
待验证
Harness 依赖范围
^0.2.0-rc.2
Cordis 依赖范围
^4.0.4
版本
0.1.0
许可证
MIT
最近更新
2026年10月10日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:prgrmrwy/ohmydsh#4d0809d824b42ae9b548bda8aa0ce9bdf105adf2&path:packages/dsh-openspec

Usage

Enable the local package through dsh.yaml, build/sync the profile, then use an official workflow Skill or the matching slash command.

  • /openspec-init returns a validated official CLI command for the current workspace; the adapter itself does not spawn it. By default it is non-interactive with --tools none --no-copilot-cloud --no-animation, so no project tool Skills are duplicated.
  • /openspec-upgrade is an adapter-defined entry for checking and upgrading the managed official OpenSpec stack (CLI and workflow templates), not an official change workflow or a system-global installation upgrade. It separates software upgrade/rollback, project instruction refresh (openspec update), and OpenSpec change revision (opsx-update). The former management name is not registered as an alias; reloading materializes a new generation and retains old generation directories unchanged.

Configuration

Options are fields of this plugin's own Config (the dsh-openspec row), persisted in the profile patch. There is no separate settings registry or settings.yaml section.

  • updateCheck: enabled (default) or disabled; checks only the fixed credential-free npm latest endpoint on Skill/command consumption. disabled makes zero network requests.
  • telemetry: adapter-off (default) or official; adapter-off sets OPENSPEC_TELEMETRY=0 on the managed CLI, official leaves the official CLI's own setting in charge. The selected policy is included in the managed invocation.

Neither field is live-editable: a change remounts the plugin, so the managed invocation and generation identity are recomputed from one consistent value. The fields are deliberately not marked volatile, so edit them in the config of the dsh-openspec row in the profile patch rather than expecting them in a settings form. Invalid values are rejected by the Host before the plugin mounts.

Notices appear only in a live consumption result. They do not install packages, append messages, or start turns.