Repository navigation
feat(skills): 贴 agentbuddy / skills 命令即装 + 修复帮助弹窗不可复制 - #432
Merged
Merged
Conversation
deepcoldy
force-pushed
the
wt/agentbuddy-url-tooltip
branch
from
July 11, 2026 07:28
8fe12f5 to
3869677
Compare
deepcoldy
force-pushed
the
wt/agentbuddy-url-tooltip
branch
from
July 11, 2026 07:55
3869677 to
7af02f1
Compare
接 #420 的产品化改进(申晗反馈): 1. 帮助弹窗(?)文字可复制:共享 `InfoTip` 此前 portal 到 body、鼠标移出触发点即 隐藏且 `pointer-events:none`,无法选中/复制。改为延迟隐藏 + 弹窗自身 hover 保持 + `pointer-events:auto` / `user-select:text`。全站 tooltip 同受益。 2. 直接粘贴安装命令即装: - **agentbuddy**(`parseAgentbuddyCommand`):`agentbuddy skill|plugin collection add <uid>` / `agentbuddy skill add <group> --skill <name>`,自动剥离 `npm_config_registry=… npx agentbuddy@latest …` 前缀;只受理 skill/plugin 的 add / collection add(publish/remove/login 等拒绝)。AgentbuddySource 增加 `protocol`(skill|plugin)。 - **开源 skills**(`parseSkillsInstallCommand`,vercel-labs/skills CLI):认 `skills add owner/repo` / `npx skills add …` / `add-skill …`,直接路由到 botmux 现成的 GitHub 安装(零依赖、公开仓库免鉴权、域名无关)。 dashboard discover 对 agentbuddy 源返回 `directInstall`,UI 跳过 discover-then- select 直接装;skills 命令走 GitHub 的正常 discover 流程。 3. 删除 `agentbuddy:<group>/<skill>` 短形(命令形式已覆盖,短形无人会贴)。 新增/更新测试:agentbuddy 命令解析(skill/plugin collection、单 skill add、剥前缀、 拒绝非安装)、skills 命令→GitHub 路由、plugin 安装、dashboard directInstall。 tsc + 全套 skill/dashboard 测试(68) + bundle 绿。
deepcoldy
force-pushed
the
wt/agentbuddy-url-tooltip
branch
from
July 11, 2026 13:43
7af02f1 to
de4b636
Compare
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.
接 #420 的产品化改进(申晗反馈):
1. 帮助弹窗(?)文字可复制
共享
InfoTip组件此前把弹窗 portal 到<body>、鼠标一移出触发点就隐藏,且pointer-events:none→ 无法把光标移进去选中/复制。修法:延迟隐藏 + 弹窗自身 hover 保持 +pointer-events:auto/user-select:text。改的是共享组件,全站 tooltip 都受益。2. 直接粘贴安装命令即装
parseAgentbuddyCommand):贴 marketplace「复制安装命令」即可npm_config_registry="…" npx agentbuddy@latest …前缀;只受理 skill/plugin 的add/collection add(publish/remove/login 拒绝)。AgentbuddySource增加protocol(skill|plugin),install 按协议给 flags。plugin 命令也跑,但收进 botmux 的是其内含 SKILL.md(botmux 是 skill registry)。parseSkillsInstallCommand,vercel-labs/skillsCLI):认skills add owner/repo/npx skills add …/add-skill …→ 直接路由到 botmux 现成的 GitHub 安装(零依赖、公开仓库免鉴权、域名无关、与贴 GitHub 链接等价)。dashboard
discover对 agentbuddy 源返回directInstall,UI 跳过 discover-then-select 直接装;skills 命令走 GitHub 的正常 discover 流程。3. 删除
agentbuddy:<group>/<skill>短形命令形式已覆盖真实场景,短形是早期自造、无人会那么贴,移除以保持单一入口。
测试
agentbuddy 命令解析(skill/plugin collection、单 skill add、剥前缀、拒绝非安装)、skills 命令→GitHub 路由、plugin 安装、dashboard directInstall。
tsc+ 全套 skill/dashboard 测试(68)+ dashboard bundle 绿。说明
live 效果暂未截图:当前 fleet 跑的是另一路开发的分支(共享机),未强行重启以免冲掉对方 live 测试。合入 master 后随部署上线。