fix/gitea-auth-ask-marketplace-sync #7

Merged
admin merged 2 commits from fix/gitea-auth-ask-marketplace-sync into develop 2026-08-24 07:59:52 +00:00
2 Commits
Author SHA1 Message Date
jiantw83 ccf4b2af24 fix(wiki,repo-sync): Gitea 認證缺值改詢問使用者
什麼:wiki 與 repo-sync 兩支技能在 GITEA_HOST/GITEA_TOKEN 無法解析時,原本只回報認證失敗;現在改為先走 jsc-ask:ask 詢問使用者。同步將 jsc-gitea 版本號由 0.0.4 升至 0.0.5。

為什麼:guidelines 的環境變數表規定無法解析的必要環境變數要詢問使用者,不能直接回報失敗;先前兩支技能的行為不符合 jsc-meta:skill-check 的稽核規則。

如何:在 skills/wiki/SKILL.md 與 skills/repo-sync/SKILL.md 呼叫 tools/gitea.sh 前,先檢查 GITEA_HOST/GITEA_TOKEN 是否可解析(含 tea login list 的備援 token),無法解析時依 jsc-ask:ask 的決策樹詢問使用者;同時將 plugin.json、.claude-plugin/plugin.json、.codex-plugin/plugin.json 的版本號由 0.0.4 升至 0.0.5。

負責功能:Gitea 認證缺值改詢問使用者(wiki、repo-sync 兩技能共用的根因修正)。
2026-08-24 14:47:40 +08:00
jiantw83 3737e32210 fix(marketplace): 同步 canonical marketplace 缺漏欄位
什麼:.agents/plugins/marketplace.json 補上頂層 description、owner 欄位,並為每個 plugin 項目補上 description;.claude-plugin/marketplace.json 同步 jsc-meta 項目 description 的標點寫法(頓號取代斜線)。

為什麼:兩份 marketplace.json 與 plugins/jsc 的 canonical marketplace 定義不同步,缺漏欄位會讓依賴 marketplace 清單的下游工具(例如 jsc-cli:deploy 讀取 domain 清單)拿不到完整資訊。

如何:比對 plugins/jsc 的 canonical marketplace.json,將缺漏的 description、owner 欄位補齊到 .agents/plugins/marketplace.json,並將標點寫法同步到 .claude-plugin/marketplace.json。

負責功能:marketplace 定義同步(repo-wide infra fix)。
2026-08-24 14:47:26 +08:00