发布

  • Add experimental feature config support to the CLI (#3126)

    frostbyte_neo 发布于 2026-04-07 07:34:02 +00:00

    Summary

    • Adds a persisted CLI user config file for experimental feature flags,
      artifact directory overrides, and experimental subagent target
      selection.
    • Wires config-aware command visibility into root command construction,
      help text, and validation error handling so experimental commands only
      appear when enabled.
    • Updates runtime helpers and session artifact resolution to honor the
      new CLI config values.
    • Expands installation workflow checks and adds tests for the new CLI
      config service.

    Testing

    • pnpm test ts/packages/cli/test/src/services/cli-user-config.test.ts
    • pnpm test ts/packages/cli/test/src/commands/$default.cmd.test.ts
    • Not run: full repo test suite
    • Not run: install workflow end-to-end in this environment

    Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件