-
Notifications
You must be signed in to change notification settings - Fork 304
[Feature] 支持将 Skill 发布为 API 接口(不公开源码)供他人付费调用 #252
Copy link
Copy link
Open
Labels
effort/l大改动或高风险改动,需要 maintainer 负责 / Large or risky change requiring maintainer ownership.大改动或高风险改动,需要 maintainer 负责 / Large or risky change requiring maintainer ownership.enhancementNew feature or requestNew feature or requestpriority/p2中优先级 / Medium priority triage bucket.中优先级 / Medium priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/deferred暂留 backlog,由自动化定期重新评分 / Issue stays in backlog and is rescored by automation.暂留 backlog,由自动化定期重新评分 / Issue stays in backlog and is rescored by automation.
Metadata
Metadata
Assignees
Labels
effort/l大改动或高风险改动,需要 maintainer 负责 / Large or risky change requiring maintainer ownership.大改动或高风险改动,需要 maintainer 负责 / Large or risky change requiring maintainer ownership.enhancementNew feature or requestNew feature or requestpriority/p2中优先级 / Medium priority triage bucket.中优先级 / Medium priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/deferred暂留 backlog,由自动化定期重新评分 / Issue stays in backlog and is rescored by automation.暂留 backlog,由自动化定期重新评分 / Issue stays in backlog and is rescored by automation.
Problem
目前 SkillHub 发布的技能包需要包含完整的源码和工具文件。对于部分包含核心商业逻辑或专有数据的 Skill,开发者不希望公开源码和实现细节,但仍然希望能够将技能提供给其他用户使用,甚至进行商业化变现(付费调用)。这导致优质的高价值技能(如专有模型调用、私有数据检索)难以安全地进入生态体系。
Proposed Solution
支持将 Skill 发布为受平台托管或认证的 API 接口形式(而不公开源码/文件)。
Alternatives Considered
开发者自行在外部服务器上托管 API,然后在 SkillHub 上发布一个仅包含简单 HTTP 请求代码的“包装器(Wrapper)” Skill。
缺点:增加了开发者的运维成本,也难以利用 SkillHub 平台本身的用户生态、统一鉴权机制和计费模块,导致商业化变现链路断裂和体验割裂。
Impact
Contract Or SDK Impact
install命令对 API 类技能的处理(仅下发端点信息和访问凭证,而不是全量代码)。