feat: add ZCode tool adapter - #338
Open
zw6234336 wants to merge 1 commit into
Open
Conversation
Register ZCode as a built-in tool reading skills from ~/.zcode/skills (global) and <repo>/.zcode/skills (project-level), matching the standard ~/.<tool>/skills convention used by Cursor/Claude Code/Codex. - Add ToolAdapter entry in default_tool_adapters() - Register zcode.svg icon mapping in agentIcons.ts - Add zcode.svg icon (black rounded square with white Z, sourced from the official ZCode.app bundle) Verified: cargo test passes, npm run lint passes, app recognizes ~/.zcode as installed and backfills existing stranded skills.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds built-in support for ZCode (an AI coding tool / IDE). ZCode uses the standard
~/.<tool>/skillsconvention, so this is a minimal adapter addition with no special path handling.Changes
src-tauri/src/core/tool_adapters.rs— register azcodeToolAdapterreading skills from~/.zcode/skills(global) and<repo>/.zcode/skills(project-level).src/lib/agentIcons.ts— registerzcode→zcode.svgicon mapping.public/agent-icons/zcode.svg— ZCode icon (black rounded square with a white Z), redrawn as a clean vector based on the logo shipped in the officialZCode.appbundle.Verification
cargo test— all existing adapter tests passnpm run lint— no errors~/.zcodeas installed, and backfills existing stranded skills under the ZCode tool on startup.Notes
ZCode follows the same
~/.<tool>/skillspattern as Cursor / Claude Code / Codex, so no.configprefix,additional_scan_dirs,recursive_scan, orproject_relative_skills_diroverrides are needed. Scanning, sync, project workspaces, the CLI, and the file watcher all pick it up automatically viaall_tool_adapters().