Repository navigation
v0.8.0 #18
xiaxi626
announced in
Announcements
v0.8.0
#18
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This release turns
linkinto a real source registry: eighteen new external sources on top oftrae-cn— nineteen in total — each with its own discovery function behind one generic--source-diroverride, all exposed in the panel. It also narrowstrae-cntoskills/only, fixes editor TypeScript resolution forsrc/client, and hardens the shell-completion test harness.✨ Features
SOURCE_CONFIGStable pairs every source with its environment variable, default root and discovery function, replacing the hardcoded Trae path list.--source-dir <path>overrides the selected source root for every source (the legacy--trae-cn-dirstays as an alias); the override is threaded throughPOST /skills-nexus/link(sourceDir), the panel's root-directory input and the browser client, and all four shell completion templates offer it.trae(international):~/.trae/skills/, overridable withTRAE_DIR.qoder: user-levelskills/plus marketplace plugins — readsplugins/installed_plugins_v2.json, resolves each plugin's skill directories from itsplugin.json(falling back to./skills/), and excludes theqoder-bundlerpublisher that ships with the client.qoder-cn: the same layout under~/.qoder-cn, reusing one discovery function instead of a second copy of the layout knowledge.codebuddy/workbuddy: plain<root>/skills/scanning.copilot~/.copilot,claude-code~/.claude,pi~/.pi/agent,codex~/.codex,cursor~/.cursor,shared~/.agents,opencode~/.config/opencode,gemini~/.gemini,zcode~/.zcode,openclaw~/.openclaw,augment~/.augment,kimi-code~/.kimi-code,windsurf~/.codeium/windsurf. What they share is the discovery contract — one level of<root>/skills/, no recursion, no flatSKILL.md, no plugin manifest, no version layer — not the nature of their roots: client home, config root, agent directory, state dir, a subdirectory of a data root, a cross-tool shared root, a legacy personal location and a nested vendor path all appear here. Six reuse the client's own official variable (COPILOT_HOME,CLAUDE_CONFIG_DIR,PI_CODING_AGENT_DIR,CODEX_HOME,OPENCODE_CONFIG_DIR,OPENCLAW_STATE_DIR); the other seven take a Nexus-side*_DIR.SUPPORTED_SOURCESis now 19.~/.agentsis registered once asshared; compatibility directories (~/.agents,~/.claude,~/.codex) are never merged into a vendor source, so one physical directory never becomes several entries.KIMI_CODE_HOMEandGEMINI_CLI_HOMEare deliberately not scan roots — they replace the client's data root or home, not the Nexus scan root.Antigravitythe only disabled placeholder (its global skill directory differs between the app, CLI and IDE builds, so the contract stays open). Trae and every enabled source preview through source-aware link calls.🐛 Fixes
link trae-cnscansskills/only:~/.trae-cn/builtin_skills/is no longer discovered — silently, by design. Existing entries remain removable withremove --group trae-cn/builtin_skills --yes.src/client/tsconfig.jsongives the panel its own project file, so TS Server stops falling back to the roottsconfig.jsonand reporting TS2307 / TS7016 onpanel.tsxand the panel render test.EBUSYcan no longer fail an unrelated suite.⚙️ Changed
PASS agent clients), and every new group has an uninstall line.dsh-skills-nexus remove --group <source> --yesremoves only the symlinks and manifest entries; the linked source directories are never touched.typecheck,lint, the full 836-test suite, both build steps with nolib/drift, and all eightbashblocks of both verification guides pass locally. The thirteen new roots follow each client's official documentation; they were not exercised against installed clients on this machine.⬆️ Install / Upgrade
dsh plugin --profile web add "github:xiaxi626/dsh-skills-nexus", then restart once.dsh plugin --profile web remove dsh-skills-nexusthen re-add. Already-registered skills are untouched; refresh withdsh-skills-nexus update.本次发布把
link变成真正的来源注册表:在trae-cn之外新增十八个外部来源,合计十九个,每个来源都有自己的发现函数,共用同一个--source-dir根覆盖,并在面板里全部可见。同时把trae-cn收窄到只扫skills/,修复src/client的编辑器 TypeScript 解析,并加固补全测试工装。✨ 新增
SOURCE_CONFIGS为每个来源登记环境变量、默认根与发现函数,取代原先写死的 Trae 路径列表。--source-dir <path>对任何来源覆盖所选根(旧参数--trae-cn-dir保留为别名);覆盖规则贯通POST /skills-nexus/link(sourceDir)、面板的根目录输入与浏览器客户端,四种 shell 补全模板均提供该参数。trae(国际版):~/.trae/skills/,可用TRAE_DIR覆盖。qoder:用户级skills/之外还读市场插件——解析plugins/installed_plugins_v2.json,按插件自己的plugin.json(缺省./skills/)定位技能目录,并排除随客户端下发的qoder-bundler发布方。qoder-cn:~/.qoder-cn下布局完全相同,复用同一个发现函数,不再复制一份布局知识。codebuddy/workbuddy:按<root>/skills/一层扫描。copilot~/.copilot、claude-code~/.claude、pi~/.pi/agent、codex~/.codex、cursor~/.cursor、shared~/.agents、opencode~/.config/opencode、gemini~/.gemini、zcode~/.zcode、openclaw~/.openclaw、augment~/.augment、kimi-code~/.kimi-code、windsurf~/.codeium/windsurf。它们共享的是发现契约——只扫<root>/skills/一层、不递归、不认扁平SKILL.md、不读插件清单、没有版本层——而根的性质并不统一:客户端 home、配置根、agent 目录、state 目录、数据根下的子目录、跨工具共享根、旧版个人位置、嵌套 vendor 路径都在其中。其中六个复用客户端自己的官方变量(COPILOT_HOME、CLAUDE_CONFIG_DIR、PI_CODING_AGENT_DIR、CODEX_HOME、OPENCODE_CONFIG_DIR、OPENCLAW_STATE_DIR),其余七个使用 Nexus 侧的*_DIR。SUPPORTED_SOURCES至此为十九项。~/.agents只登记一次,来源名为shared;兼容目录(~/.agents、~/.claude、~/.codex)一律不并入任何 vendor 来源,避免同一物理目录被注册成多条。KIMI_CODE_HOME与GEMINI_CLI_HOME刻意不作为扫描根——它们替换的是客户端的数据根 / home,不是 Nexus 的扫描根。Antigravity是唯一禁用占位(它的 global 技能目录在 app / CLI / IDE 三种形态下各不相同,契约未定前不纳管)。Trae 起所有已启用来源都走「来源感知」的预览与执行。🐛 修复
link trae-cn只扫skills/:~/.trae-cn/builtin_skills/不再被发现,静默忽略属有意行为。存量条目仍可用remove --group trae-cn/builtin_skills --yes清理。src/client/tsconfig.json,让面板拥有自己的项目文件,TS Server 不再回落到根tsconfig.json而把panel.tsx与面板渲染测试报成 TS2307 / TS7016。EBUSY不再连累无关套件。⚙️ 变更
PASS agent clients),每个新组都给出卸载命令。dsh-skills-nexus remove --group <source> --yes只删除链接与 manifest 条目,被链接的源目录全程不动。typecheck、lint、836 项全量测试、两步构建(lib/无漂移)、两份验证指南的全部八个bash块在本机通过。十三个新根依据各客户端官方文档;本机未安装这些客户端,未对它们做真机链接验收。⬆️ 安装 / 升级
dsh plugin --profile web add "github:xiaxi626/dsh-skills-nexus",随后重启一次。dsh plugin --profile web remove dsh-skills-nexus后重新 add。已注册技能不受影响,用dsh-skills-nexus update刷新。This discussion was created from the release v0.8.0.
All reactions