teamai-cli 0.24.0-beta.3 → 0.24.0-beta.5
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/README.md +6 -2
- package/README.zh-CN.md +6 -2
- package/dist/index.js +1660 -758
- package/package.json +1 -1
- package/skills/team-wiki-codebase/README.md +1 -0
- package/skills/team-wiki-codebase/SKILL.md +2 -1
package/README.md
CHANGED
|
@@ -191,6 +191,8 @@ Matched: conflict | Missing: port
|
|
|
191
191
|
teamai import --from-repo https://github.com/org/repo
|
|
192
192
|
teamai import --from-org myorg # batch import all repos
|
|
193
193
|
teamai codebase --extract /path/to/repo # local extract into teamwiki/
|
|
194
|
+
teamai codebase --deep-enrich --project my-service --output /path/to/repo # generate deep knowledge docs
|
|
195
|
+
teamai codebase --reconcile --output /path/to/repo # map product docs to code pages
|
|
194
196
|
teamai codebase --lint --output /path/to/repo # check the locally extracted graph
|
|
195
197
|
```
|
|
196
198
|
|
|
@@ -222,9 +224,9 @@ Insight into how the team actually uses its AI tools, and a starting point for t
|
|
|
222
224
|
|
|
223
225
|
| Capability | Command | What it shows |
|
|
224
226
|
|------------|---------|---------------|
|
|
225
|
-
| **Usage** | `teamai digest` | Weekly team digest —
|
|
227
|
+
| **Usage** | `teamai digest` | Weekly team digest — 7-day success, prompt, active-time, estimated cost, cache, and correction trends, plus lifetime totals. |
|
|
226
228
|
| **Sessions** | `teamai session save` | Privacy-scrubbed per-session summaries (tool sequence, prompt turns, interventions) that feed the digest's Session Highlights. |
|
|
227
|
-
| **Dashboard** | `teamai dashboard` | Web dashboard showing
|
|
229
|
+
| **Dashboard** | `teamai dashboard` | Web dashboard showing live sessions and local 7-day trends compared with the prior 7 days. |
|
|
228
230
|
| **KB Health** | `teamai dashboard` → KB Health | Built-in dashboard page reporting knowledge-base usage & health — coverage by type, top recalled entries, silent entries, recall trend, author contributions, and a maintenance console. |
|
|
229
231
|
|
|
230
232
|
## Commands
|
|
@@ -243,6 +245,8 @@ Insight into how the team actually uses its AI tools, and a starting point for t
|
|
|
243
245
|
| `teamai recall maintenance` | Maintain knowledge base health: prune low-confidence learnings, writeback confidence scores, flag stale entries |
|
|
244
246
|
| `teamai import` | Import knowledge (`--dir`, `--from-repo`, `--from-org`, `--from-repo-list`, `--from-mr`) |
|
|
245
247
|
| `teamai codebase --extract [path]` | Extract code facts and build the local graph under `teamwiki/` |
|
|
248
|
+
| `teamai codebase --deep-enrich` | Generate deep knowledge docs from extracted evidence |
|
|
249
|
+
| `teamai codebase --reconcile` | Reconcile product documentation with extracted code knowledge |
|
|
246
250
|
| `teamai codebase --lint` | Knowledge graph health check |
|
|
247
251
|
| `teamai ci extract-mr --url <url>` | CI: extract knowledge from MR, post comments, write after merge |
|
|
248
252
|
| `teamai members` | List team members |
|
package/README.zh-CN.md
CHANGED
|
@@ -191,6 +191,8 @@ Matched: conflict | Missing: port
|
|
|
191
191
|
teamai import --from-repo https://github.com/org/repo
|
|
192
192
|
teamai import --from-org myorg # 批量导入所有仓库
|
|
193
193
|
teamai codebase --extract /path/to/repo # 本地提取到 teamwiki/
|
|
194
|
+
teamai codebase --deep-enrich --project my-service --output /path/to/repo # 从提取结果生成深度知识文档
|
|
195
|
+
teamai codebase --reconcile --output /path/to/repo # 将产品文档映射到代码页面
|
|
194
196
|
teamai codebase --lint --output /path/to/repo # 检查本地提取的图谱
|
|
195
197
|
```
|
|
196
198
|
|
|
@@ -222,9 +224,9 @@ teamai recall maintenance --update-quality # 为过时 skills / docs 生
|
|
|
222
224
|
|
|
223
225
|
| 能力 | 命令 | 呈现内容 |
|
|
224
226
|
|------|------|----------|
|
|
225
|
-
| **用量(Usage)** | `teamai digest` |
|
|
227
|
+
| **用量(Usage)** | `teamai digest` | 团队周报——近 7 天成功率、对话、活跃时长、估算成本、缓存与纠偏趋势,以及历史累计数据。 |
|
|
226
228
|
| **会话(Sessions)** | `teamai session save` | 脱敏的单会话摘要(工具序列、对话轮次、干预次数),喂给周报的 Session Highlights。 |
|
|
227
|
-
| **看板(Dashboard)** | `teamai dashboard` | Web
|
|
229
|
+
| **看板(Dashboard)** | `teamai dashboard` | Web 看板,展示实时会话,以及本机近 7 天相对前 7 天的趋势。 |
|
|
228
230
|
| **知识库健康(KB Health)** | `teamai dashboard` → KB Health | 内置于看板的报告页面,展示知识库使用情况与健康状态——各类型覆盖率、高频召回条目、沉默条目、召回趋势、作者贡献及维护控制台。 |
|
|
229
231
|
|
|
230
232
|
## 命令一览
|
|
@@ -243,6 +245,8 @@ teamai recall maintenance --update-quality # 为过时 skills / docs 生
|
|
|
243
245
|
| `teamai recall maintenance` | 维护知识库健康:清理低置信度 learnings、回写置信度、标记过时条目 |
|
|
244
246
|
| `teamai import` | 导入知识(`--dir`、`--from-repo`、`--from-org`、`--from-repo-list`、`--from-mr`) |
|
|
245
247
|
| `teamai codebase --extract [path]` | 提取代码事实并在 `teamwiki/` 下构建本地图谱 |
|
|
248
|
+
| `teamai codebase --deep-enrich` | 从已提取的 evidence 生成深度知识文档 |
|
|
249
|
+
| `teamai codebase --reconcile` | 将产品文档与提取的代码知识进行对账 |
|
|
246
250
|
| `teamai codebase --lint` | 知识图谱健康检查 |
|
|
247
251
|
| `teamai ci extract-mr --url <url>` | CI:从 MR 提取知识、发评论、合并后写入 |
|
|
248
252
|
| `teamai members` | 查看团队成员 |
|