teamai-cli 0.23.1 → 0.24.0-beta.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamai-cli",
3
- "version": "0.23.1",
3
+ "version": "0.24.0-beta.10",
4
4
  "description": "TeamAI — Make Every Team AI Native (skill sync + shared knowledge base, powered by Git)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -56,26 +56,32 @@
56
56
  "ora": "^8.1.0",
57
57
  "semver": "^7.8.5",
58
58
  "simple-git": "^3.36.0",
59
- "smol-toml": "^1.3.1",
59
+ "smol-toml": "^1.7.1",
60
60
  "tree-sitter-wasms": "0.1.13",
61
61
  "web-tree-sitter": "0.25.10",
62
62
  "yaml": "^2.6.0",
63
63
  "zod": "^3.24.0"
64
64
  },
65
65
  "overrides": {
66
- "js-yaml": "^3.15.1"
66
+ "js-yaml": "^3.15.2",
67
+ "brace-expansion@1": "1.1.18",
68
+ "brace-expansion@2": "2.1.4",
69
+ "brace-expansion@5": "5.0.9",
70
+ "nanoid": "3.3.19",
71
+ "postcss": "8.5.28",
72
+ "picomatch": "4.0.7"
67
73
  },
68
74
  "devDependencies": {
69
75
  "@types/cross-spawn": "^6.0.6",
70
76
  "@types/fs-extra": "^11.0.4",
71
77
  "@types/node": "^20.17.0",
72
78
  "@types/semver": "^7.8.0",
73
- "@vitest/coverage-v8": "^2.1.9",
79
+ "@vitest/coverage-v8": "^3.2.7",
74
80
  "opencode-ai": "1.18.23",
75
81
  "standard-version": "^9.5.0",
76
82
  "tsup": "^8.3.0",
77
83
  "typescript": "^5.7.0",
78
- "vitest": "^2.1.0"
84
+ "vitest": "^3.2.7"
79
85
  },
80
86
  "main": "index.js",
81
87
  "directories": {
@@ -23,6 +23,7 @@
23
23
  - 每次生成后有准确性统计,超标自动警告
24
24
  - AI 读知识库而非读源码,**约 1/50 的 token 消耗**获得全局架构认知
25
25
  - Phase 0 可用 `teamai codebase --extract` 生成可证据化的结构边(TS/JS/Python/Go AST + 多语言 heuristic)
26
+ - 提取后可用 `teamai codebase --deep-enrich --project <slug> --output <repo>` 生成确定性图谱文档(G1/G2/G3)与深度知识;无需单独的 team-wiki CLI
26
27
 
27
28
  ---
28
29
 
@@ -889,9 +889,10 @@ _review/ ← 过程文件(不入知识库)
889
889
  | 阶段 | 命令 / 路径 |
890
890
  |------|-------------|
891
891
  | Phase 0 结构基线 | `teamai codebase --extract <repo> --project <slug>`(writes `<repo>/teamwiki/`) |
892
+ | Deep knowledge | Use `teamai codebase --deep-enrich --project <slug> --output <repo>` after extract has written `teamwiki/evidence/code/<slug>/`. `--output` is the repository root, not the `teamwiki/` directory. Prefix with `teamai --dry-run` to preview without writing. TeamAI does not ship a separate team-wiki CLI. No extra plugin is required. |
892
893
  | K3 后编译进 wiki | Skip. TeamAI does not ship a separate team-wiki CLI. Continue with this skill using `teamai` and the files under this skill directory. No extra plugin is required. |
893
894
  | 产品文档入图 | Skip. Same English note as above. |
894
- | 产品↔代码桥接 | Skip. Same English note as above. |
895
+ | 产品↔代码桥接 | Use `teamai codebase --reconcile --output <repo>` after product pages and extracted code pages are under `<repo>/teamwiki/`. Prefix with `teamai --dry-run` to preview without updating the graph. |
895
896
  | 一键刷新 | Use `teamai codebase --extract <repo> --project <slug> --incremental`, reusing the Phase 0 repository path and project slug even when running from another directory. Do not look for another CLI. |
896
897
  | 质量评估 | Use `scripts/validate_kb.py` and `teamai codebase --lint --output <repo>` to check `<repo>/teamwiki/` (`--output` takes the repository root, not the `teamwiki/` directory). Skip any extra evaluate binary. |
897
898