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