Add ZCode tool support (#1242)#1243
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughAdds ZCode as a new supported AI tool. A ChangesZCode Tool Integration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Issue Summary
#1242 reports that OpenSpec does not recognize or handle zcode. The actual behavior is that zcode cannot be used as a tool ID. The expected behavior is to support ZCode or clearly document that it is
unsupported. The affected areas are openspec init --tools zcode, tool auto-detection, and command/skill generation.
Selected Fix
I chose to implement ZCode support. The issue is clear and narrowly scoped: add tool registration, a command adapter, a registry entry, and test coverage. I avoided #1222 and #1226 because you noted they
were already fixed.
Root Cause
zcode was missing from AI_TOOLS, and there was no ZCode adapter in the command adapter registry, so the CLI could not recognize it or generate .zcode skills/commands.
Implementation
Commit
Commit: e4fc0cb
Message: Add ZCode tool support (#1242)
The commit does not include any OpenSpec-related files; it only includes source and test files.
Summary
This switched the local repo to the feature_0623 branch and added ZCode support for #1242.
Previously, zcode was not a valid tool ID, and OpenSpec did not detect .zcode or generate ZCode skills or commands.
This adds ZCode registration and command generation so openspec init --tools zcode can create .zcode/skills/.../SKILL.md and .zcode/commands/opsx/.md.
Changes
Verification
Summary by CodeRabbit
Bug Fixes
Documentation
Tests
Summary by CodeRabbit
Release Notes