Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSD for Qoder

Release

gsd-qoder is an Embeddable Orchestration System (EoS) that projects GSD — the spec-driven development system — into Qoder (Alibaba's AI coding product family, spanning Qoder CLI and Qoder Desktop). It is registered in the GSD EoS Registry and built against the GSD Host-Integration Interface. Running gsd-qoder install takes GSD's source agents and skills and projects them into the Qoder config directory (~/.qoder/ or QODER_CONFIG_DIR), which is shared by both the CLI and Desktop clients of the same region — so GSD's spec-driven workflows (spec authoring, planning, task decomposition, code review) are available everywhere you use Qoder.

Quick start (no install)

Run directly via npx without a global install:

npx -y github:cainiao1992/gsd-qoder install

This fetches the package on-the-fly, runs the interactive edition prompt, and projects GSD into your Qoder config directory. All commands work the same way:

npx -y github:cainiao1992/gsd-qoder uninstall
npx -y github:cainiao1992/gsd-qoder doctor

Install

npm install --global github:cainiao1992/gsd-qoder
gsd-qoder install

Running gsd-qoder install interactively prompts you to choose a Qoder edition:

  Select your Qoder edition:
    1) Qoder International (qoder.com)   → ~/.qoder
    2) Qoder China (qoder.cn)            → ~/.qoder-cn

  Enter choice [1]:
  • Qoder International (qoder.com) installs to ~/.qoder — shared by Qoder CLI and Qoder Desktop
  • Qoder China (qoder.cn) installs to ~/.qoder-cn — shared by Qoder CLI CN and Qoder Desktop CN

Both editions are the same product; the only difference is the config directory. To skip the prompt, pass --root or set QODER_CONFIG_DIR:

# Explicit directory
gsd-qoder install --root ~/.qoder-cn

# Or via env var
QODER_CONFIG_DIR=~/.qoder-cn gsd-qoder install

In non-interactive environments (CI, pipes), the International edition (~/.qoder) is used by default.

To remove every file this package projected (tracked via the install manifest):

gsd-qoder uninstall

Plugin mode

As an alternative to the traditional file-projection install, gsd-qoder can package GSD as a Qoder Plugin and install it through the standard plugin lifecycle (qodercli plugins install). Plugins are self-contained directories managed by the Qoder CLI — no manifest tracking or settings.json merging needed.

# Generate + install as a user-level plugin
gsd-qoder install --plugin

# Uninstall the plugin
gsd-qoder uninstall --plugin

Plugin mode requires qodercli (or qoderclicn for the China edition) on PATH. The plugin is always installed at user scope (globally available across all projects).

Commands

Command Description
gsd-qoder install Project GSD agents + skills into the Qoder config directory and write the install manifest.
gsd-qoder uninstall Remove every file recorded in the manifest; leaves anything GSD didn't project untouched.
gsd-qoder descriptor Print the EoS descriptor (the 9 host-integration axis values) as JSON, for the GSD EoS Registry.
gsd-qoder doctor Diagnose the local install: verify gsd-core is present, check projected file counts, flag missing or stale files.

Axis provenance

Each of the 9 GSD host-integration axes, the negotiated value, and the Qoder documentation that value was derived from.

Axis Value Source Evidence
embeddingMode declarative https://docs.qoder.com/en/cli/skills SKILL.md files with YAML frontmatter, discovered from ~/.qoder/skills/<name>/SKILL.md
commandSurface slash-file https://docs.qoder.com/en/cli/command Slash commands authored as markdown files with YAML frontmatter (/gsd-* style)
dispatch.subagentToolkit full https://docs.qoder.com/en/cli/subagent "Omitted means use the current available tool set; * means all tools"
dispatch.isolation none https://docs.qoder.com/en/cli/subagent Worktree is a frontmatter-declared, per-agent-definition property — not a dispatch-time parameter. GSD's harness/orchestrator models both assume a per-dispatch injection point Qoder doesn't expose; activating it needs the converter to inject isolation: worktree at install time (follow-up)
dispatch.maxDepth undocumented https://docs.qoder.com/en/cli/subagent Nesting is tool-availability-driven ("Yes, if the Agent tool remains available"); no numeric depth cap documented
modelMode passive https://docs.qoder.com/en/cli/sdk/references SDK is an AsyncGenerator consumed via for await; the host owns the conversation loop
hookBus host https://docs.qoder.com/en/cli/hooks "Hooks let you intercept the Agent's main execution flow at key points in Qoder CLI"
transport mcp https://docs.qoder.com/en/cli/mcp-servers MCP is built-in (qodercli mcp add); transports: stdio / sse / http / ws
runtime node https://www.npmjs.com/package/@qoder-ai/qodercli Ships as the npm package @qoder-ai/qodercli; Node.js 18+
effortSurface argv https://docs.qoder.com/en/cli/model --reasoning-effort startup flag (levels: low / medium / high / xhigh / max); /effort TUI command

Sources consulted

Known limitations

  • dispatch.isolation: none — Qoder documents a real worktree capability (isolation: worktree frontmatter), but it's a declaration-time, per-agent-definition property, not a dispatch-time parameter. GSD's two negotiation models (harness-worktree, orchestrator-worktree) both assume a per-dispatch injection point Qoder doesn't expose. Activating worktree isolation needs the converter to inject isolation: worktree into the executor agent's frontmatter — tracked as a follow-up.

How it works

  1. Depends on @opengsd/gsd-core (installed automatically as a regular npm dependency).
  2. Reads GSD's source agents, skills, and hooks from the gsd-core package.
  3. Applies Qoder-specific conversions (path rewrites, frontmatter sanitization, branding).
  4. Writes projected files to ~/.qoder/agents/, ~/.qoder/skills/, and ~/.qoder/hooks/.
  5. Merges GSD hook events into settings.json (preserves existing user hooks, deduplicates).
  6. Tracks installed files in .gsd-qoder-manifest.json for clean uninstall.

License

Apache-2.0

About

Embeds GSD in Qoder CLI & Desktop (Alibaba) — spec-driven development workflows across the Qoder product family.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages