mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-07-31 16:57:45 +03:00
zcode: fix user-scope install path to ~/.zcode/agents (per ZCode docs)
The user-scope dest was ~/.config/zcode/agents/, but the official ZCode docs state subagents are read from ~/.zcode/agents/<name>.md — so user-scope installs landed where ZCode never looks. (detect.agentsDir and project scope were already correct at .zcode/agents, so this was an internal inconsistency.) Point tools.json dest.user, install_zcode's default, the header comment, and the list display at ~/.zcode/agents; drop the stale ~/.config/zcode detection clause; update the integration README. Keep format `zcode-md` distinct — ZCode's native format supports color/model/permissions, so it will diverge from gemini-md as the converter matures rather than being a permanent alias. Verified: a default user-scope install now writes to ~/.zcode/agents/<slug>.md (not ~/.config/zcode); check-tools.sh passes at 16 tools; install.sh syntax and tools.json JSON both valid. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WKnDRWM4izsB8WAXKszhsq
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
971bf35668
commit
38cf69bcf3
+4
-4
@@ -22,7 +22,7 @@
|
||||
# windsurf -- Copy .windsurfrules to current directory
|
||||
# openclaw -- Copy workspaces to ~/.openclaw/agency-agents/
|
||||
# qwen -- Copy SubAgents to ~/.qwen/agents/ (user-wide) or .qwen/agents/ (project)
|
||||
# zcode -- Copy agents to ~/.config/zcode/agents/ (global) or .zcode/agents/ (project)
|
||||
# zcode -- Copy agents to ~/.zcode/agents/ (global) or .zcode/agents/ (project)
|
||||
# codex -- Copy custom agent TOML files to ~/.codex/agents/
|
||||
# osaurus -- Copy skills to ~/.osaurus/skills/
|
||||
# hermes -- Copy lazy-router plugin to ~/.hermes/plugins/ and enable it
|
||||
@@ -382,7 +382,7 @@ detect_aider() { command -v aider >/dev/null 2>&1; }
|
||||
detect_openclaw() { command -v openclaw >/dev/null 2>&1 || [[ -d "${HOME}/.openclaw" ]]; }
|
||||
detect_windsurf() { command -v windsurf >/dev/null 2>&1 || [[ -d "${HOME}/.codeium" ]]; }
|
||||
detect_qwen() { command -v qwen >/dev/null 2>&1 || [[ -d "${HOME}/.qwen" ]]; }
|
||||
detect_zcode() { command -v zcode >/dev/null 2>&1 || [[ -d "${HOME}/.zcode" ]] || [[ -d "${HOME}/.config/zcode" ]]; }
|
||||
detect_zcode() { command -v zcode >/dev/null 2>&1 || [[ -d "${HOME}/.zcode" ]]; }
|
||||
detect_kimi() { command -v kimi >/dev/null 2>&1; }
|
||||
detect_codex() { command -v codex >/dev/null 2>&1 || [[ -d "${HOME}/.codex" ]]; }
|
||||
detect_osaurus() { command -v osaurus >/dev/null 2>&1 || [[ -d "${HOME}/.osaurus" ]]; }
|
||||
@@ -424,7 +424,7 @@ tool_label() {
|
||||
aider) printf "%-14s %s" "Aider" "(CONVENTIONS.md)" ;;
|
||||
windsurf) printf "%-14s %s" "Windsurf" "(.windsurfrules)" ;;
|
||||
qwen) printf "%-14s %s" "Qwen Code" "(~/.qwen/agents)" ;;
|
||||
zcode) printf "%-14s %s" "ZCode" "(~/.config/zcode/agents)" ;;
|
||||
zcode) printf "%-14s %s" "ZCode" "(~/.zcode/agents)" ;;
|
||||
kimi) printf "%-14s %s" "Kimi Code" "(~/.config/kimi/agents)" ;;
|
||||
codex) printf "%-14s %s" "Codex" "(~/.codex/agents)" ;;
|
||||
osaurus) printf "%-14s %s" "Osaurus" "(~/.osaurus/skills)" ;;
|
||||
@@ -911,7 +911,7 @@ install_qwen() {
|
||||
|
||||
install_zcode() {
|
||||
local src="$INTEGRATIONS/zcode/agents"
|
||||
local dest; dest="$(resolve_dest zcode "${HOME}/.config/zcode/agents")"
|
||||
local dest; dest="$(resolve_dest zcode "${HOME}/.zcode/agents")"
|
||||
local count=0
|
||||
|
||||
[[ -d "$src" ]] || { err "integrations/zcode missing. Run convert.sh first."; return 1; }
|
||||
|
||||
Reference in New Issue
Block a user