【Feature Request】社区 Agent Preset 市场:设置内搜索 GitHub topic:dsh-plugin,一键安装/卸载/设为默认 #2994
TLNing260310
started this conversation in
Ideas
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.
背景
社区已开始出现 agent preset 的分发(例如 dsh-researcher,以 GitHub topic
dsh-plugin打标)。目前第三方预设的安装方式是:clone/下载 ZIP → 手动复制目录到${DSH_HOME}/.agent-presets/。痛点:无内置发现渠道、无更新机制、无卸载/开关语义、信任提示不显式。提议:社区预设市场(Settings 内)
agentPresets增加installFromGitHub(repo)—— 下载 release tarball → 校验预设目录结构(agent.cordis.yml存在、id 合法)→ 仅允许写入 user root,永不动 shipped root → 记录来源元数据(repo、commit/tag、安装时间)。search/repositories?q=topic:dsh-plugin + 关键词),列表展示 stars / license / 描述 / 信任徽章,一键安装;已装预设显示来源、版本、卸载、设为默认。agent-presets.default已是用户设置);如需 per-preset 禁用标记可后续再加。为什么建议归属上游
作者化目前是 copy-only(组合文本不跨 seam,这是刻意的安全决策)。"从 URL 下载组合并落地"是一个新的特权缝,应该属于 roster/host 的统一信任模型;由社区插件实现会各自为政且边界不清。
索引约定提议
以 GitHub topic
dsh-plugin作为社区分发的索引约定:任何 DSH 插件/预设仓库打上该 topic 即可被市场与搜索发现(零 registry 基础设施)。目前已有首批仓库打标,可作为索引来源。关联讨论:dsh-researcher 分享帖
All reactions