Skip to content

feat: add ZCode tool adapter - #338

Open
zw6234336 wants to merge 1 commit into
xingkongliang:mainfrom
zw6234336:feat/zcode-support
Open

feat: add ZCode tool adapter#338
zw6234336 wants to merge 1 commit into
xingkongliang:mainfrom
zw6234336:feat/zcode-support

Conversation

@zw6234336

Copy link
Copy Markdown

Summary

Adds built-in support for ZCode (an AI coding tool / IDE). ZCode uses the standard ~/.<tool>/skills convention, so this is a minimal adapter addition with no special path handling.

Changes

  • src-tauri/src/core/tool_adapters.rs — register a zcode ToolAdapter reading skills from ~/.zcode/skills (global) and <repo>/.zcode/skills (project-level).
  • src/lib/agentIcons.ts — register zcodezcode.svg icon 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 official ZCode.app bundle.

Verification

  • cargo test — all existing adapter tests pass
  • npm run lint — no errors
  • ✅ Manual: app launches, recognizes ~/.zcode as installed, and backfills existing stranded skills under the ZCode tool on startup.

Notes

ZCode follows the same ~/.<tool>/skills pattern as Cursor / Claude Code / Codex, so no .config prefix, additional_scan_dirs, recursive_scan, or project_relative_skills_dir overrides are needed. Scanning, sync, project workspaces, the CLI, and the file watcher all pick it up automatically via all_tool_adapters().

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant