OpenSpec icon indicating copy to clipboard operation
OpenSpec copied to clipboard

Support QWEN CODE CLI

Open nswish opened this issue 1 year ago • 2 comments

nswish avatar Oct 28 '25 13:10 nswish

I have completed the code, submitted the PR, and am waiting for the administrator's approval: "feat: add Qwen Code support with slash command integration #250", pls kindly close issue.

AndersHsueh avatar Oct 28 '25 16:10 AndersHsueh

Follow these commands:

git clone https://github.com/Fission-AI/OpenSpec.git cd OpenSpec pnpm install pnpm run build

openspec --version

0.13.0`

The latest OpenSpec git code has been downloaded and installed. OpenSpec is now executable.

Execute openspec init in the project directory.

You can choose Qwen Code.

In the project's .qwen\commands\ directory:

openspec-apply.md

openspec-archive.md

openspec-proposal.md

Enter the Qwen Code CLI command line.

/openspec-proposal, /openspec-apply, /openspec-archive

No corresponding commands are found. The Qwen Code manual states that custom commands require:

TOML file format (v1)

Your command definition files must be written in TOML format and use the .toml file extension.

https://qwenlm.github.io/qwen-code-docs/zh/cli/commands/#example-a-pure-function-refactoring-command

How can I use the commands /openspec-proposal, /openspec-apply, and /openspec-archive in the Qwen code CLI?

bailiangcn avatar Nov 03 '25 14:11 bailiangcn