@tec-explorer/skillpot 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +22 -0
- package/dist/cli.mjs +569 -247
- package/dist/gui/assets/{index-CQEycW9r.js → index-DN1MQ9V0.js} +1 -1
- package/dist/gui/index.html +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
所有显著变更记录于此。格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
|
|
4
4
|
版本号遵循 [SemVer](https://semver.org/lang/zh-CN/)。
|
|
5
5
|
|
|
6
|
+
## [0.9.0] - 2026-09-04
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- **团队对齐(主线 B)**:项目级 `.skillpot.yaml` 清单 + `skillpot sync`——`sync --export` 从中央仓库导出清单(来源/版本锁/开放矩阵,`--skill` 精选,local 来源自动警告),成员 `sync` 一键对齐:安装缺失、按 checksum 锁重装内容漂移、应用开放矩阵;支持 `--dry-run` 预览
|
|
10
|
+
- 对齐语义可预期:带 `checksum` 即版本锁(本地实际内容偏离清单自动重装);不带则只保证已安装、不主动更新;`expose` 只做增量开启,不主动关闭
|
|
11
|
+
- 对齐安装走与 `add` 相同流程(lint、来源登记、lockfile 刷新)
|
|
12
|
+
|
|
13
|
+
## [0.8.0] - 2026-09-04
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **`skillpot audit [--json]`**:审计每个 Agent 实际生效的 skill、来源与异常——外部同名占用(被绕过/遮蔽,error)、受管链接残留、声明开放但链接缺失(漂移)(产品计划 §9.4)
|
|
17
|
+
- **`update` / `--check` 携带文件级 diff**(新增/修改/删除),更新前即可看到将产生的变化(§9.2);CLI 表格与 GUI 维护页均展示
|
|
18
|
+
- **lint 安全规则扩展**(§9.1):SSH/云厂商凭据文件触碰、密钥类环境变量读取、curl POST/PUT 外发数据、向远端主机拷贝、清 shell 历史(反取证),附不误报的常规用例回归
|
|
19
|
+
- 产品计划 §10 更新为四条主线(安全纵深/团队对齐/覆盖验证/生态触达)并回填 M0-M2 完成状态
|
|
20
|
+
|
|
6
21
|
## [0.7.0] - 2026-09-04
|
|
7
22
|
|
|
8
23
|
### Added
|
package/README.md
CHANGED
|
@@ -85,10 +85,12 @@ skillpot doctor # 体检:断链/漂移/同名冲突
|
|
|
85
85
|
| `adopt [--from agents] [-f agents] [--move] [--dry-run]` | 收编已有 skill;`--move` 移动模式 |
|
|
86
86
|
| `remove <skill>` | 卸载(撤下所有链接 + 删除文件) |
|
|
87
87
|
| `doctor [--fix]` | 体检与自动修复 |
|
|
88
|
+
| `audit [--json]` | 审计:各 Agent 实际生效 skill、来源与被绕过/遮蔽 |
|
|
88
89
|
| `lint [skill] [--strict]` | 安全与质量检查:frontmatter + 脚本高危模式 |
|
|
89
90
|
| `update [skill] [--check]` | 检查/应用 git 来源 skill 的更新 |
|
|
90
91
|
| `gui [--port] [--host] [--no-open]` | Web 控制台:开关矩阵/体检/收编/安装/市场/维护 |
|
|
91
92
|
| `market [url] [--refresh]` | 浏览技能源里的 skill(缺省扫描全部源) |
|
|
93
|
+
| `sync [--file] [--export] [--dry-run]` | 团队对齐:按项目清单 `.skillpot.yaml` 安装/对齐 skill |
|
|
92
94
|
| `source list\|add <url>\|remove <url>` | 市场源管理(内置官方源 + 自定义 git 源) |
|
|
93
95
|
| `mcp` | 以 MCP server (stdio) 运行,供支持 MCP 的 Agent 消费 |
|
|
94
96
|
| `tui [--once]` | 交互式开关矩阵;无 TTY 自动降级静态输出 |
|
|
@@ -111,6 +113,26 @@ skillpot doctor # 体检:断链/漂移/同名冲突
|
|
|
111
113
|
|
|
112
114
|
无原生 skills 目录的 Agent 可通过 MCP 消费中央仓库:把 `skillpot mcp`(stdio)注册为其 MCP server,即获得 `skillpot_list / skillpot_read / skillpot_search` 三个工具;用 `SKILLPOT_AGENT=<agentId>` 环境变量或 `agent` 参数按开关矩阵过滤,`disable` 对 MCP 通道同样即时生效。设计说明见 [docs/design/mcp-bridge.md](./docs/design/mcp-bridge.md)。
|
|
113
115
|
|
|
116
|
+
## 团队协作
|
|
117
|
+
|
|
118
|
+
在项目仓库里提交一份 `.skillpot.yaml` 清单,声明项目需要哪些 skill:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
cd your-project
|
|
122
|
+
skillpot sync --export # 从当前中央仓库导出清单(可 --skill a,b 精选)
|
|
123
|
+
git add .skillpot.yaml && git commit -m "chore: pin project skills"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
团队成员克隆仓库后一键对齐——安装缺失的、重装与版本锁不一致的、应用清单里的开放矩阵:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
skillpot sync # 按 ./.skillpot.yaml 对齐;--dry-run 先预览
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
- 清单带 `checksum` 即**版本锁**:本机实际内容偏离清单会自动重装对齐;不带则只保证已安装、不主动更新
|
|
133
|
+
- `local:` 来源无法跨机器对齐,导出时会给出警告
|
|
134
|
+
- 对齐走与 `add` 相同的安装流程(含 lint、来源登记进 lockfile)
|
|
135
|
+
|
|
114
136
|
## 安全
|
|
115
137
|
|
|
116
138
|
Skill 是注入模型上下文的指令 + 可携带可执行脚本。SkillPot 的默认安全姿态:
|