@@ -99,11 +99,11 @@ Before writing any TS change, ask: *is this engine functionality?* If yes → im
9999
100100| 冻结包 | 目标 Rust | 备注 |
101101| ---| ---| ---|
102- | ` packages/migration-legacy ` | 退役 | 一次性数据迁移 |
103- | ` packages/pi-tui ` | 退役 | — |
104102| ` apps/kimi-code ` 剩余 TS(` src/main.ts ` 入口) | kimi-cli | G-3 切换中 |
105103
106104> ** 2026-08-10 已退役(→ ` retired/ ` )** :` node-sdk ` 、` kap-server ` 、` acp-adapter ` 、` oauth ` 、` protocol ` 、` kaos ` 、` kosong ` 、` telemetry ` 、` transcript ` ——不再扩展、不再恢复;引用它们的代码不得回引。` kimi-agent/rust-loop.ts ` 与 ` kimi-agent/runtime/ ` (TS 桥/兼容层)已删除(2026-08-10)——kimi-agent 包仅剩 Rust + 生成文件 ` src/rpc/wire.gen.ts ` ;apps/kimi-code 经 ` NativeServerClient ` (stdio RPC)直连引擎,telemetry/transcript 已本地化至宿主与 kimi-inspect。
105+ >
106+ > ** 2026-08-11 已退役(→ ` retired/ ` )** :` pi-tui ` 、` migration-legacy ` (G-6 收尾)。pi-tui 唯一消费者(TS 迁移屏)随 TS TUI 退役已死,` copy-native-assets.mjs ` / SEA ` native-deps.mjs ` 的 pi-tui 注册项一并删除;migration-legacy 的 vscode 消费面(` LegacyMigrationManager ` )已本地化至 ` apps/vscode/src/migration-legacy/ ` ,` kimi migrate ` TS 命令面随死代码删除(Rust kimi-cli 保留迁移提示占位)。引用它们的代码不得回引。
107107
108108** 保留 TS(不受冻结)** :` kimi-web ` / ` kimi-inspect ` / ` vis/web ` (web 前端)、` apps/vscode ` (壳)、npm 薄壳(` kimi.mjs ` )——仍遵守"引擎逻辑不得写 TS"白名单。
109109
@@ -200,8 +200,6 @@ packages/
200200 i18n-shared/ — Shared i18n core (types, locale detection, web-safe)
201201 telemetry/ — Shared client-side telemetry infrastructure
202202 minidb/ — Embedded key-value DB (Redis-style in-memory + SQLite-style WAL)
203- migration-legacy/ — Data migration from kimi-cli (~/.kimi/) to kimi-code (~/.kimi-code/)
204- pi-tui/ — Terminal UI framework (upstream dependency, node:test suite)
205203 kimi-native-tools/ — Rust native Node addon (napi-rs)
206204 kimi-build/ — Rust native build tool (SEA binary injection)
207205 kimi-agent/ — Rust agent engine — the only engine
@@ -327,10 +325,9 @@ pnpm --filter @moonshot-ai/kimi-web run dev
327325GitHub Actions (` ci.yml ` ) runs on every PR and push to ` main ` :
3283261 . ** build** — Install, build, smoke test CLI bundle
3293272 . ** test** — ` vitest run ` split across 5 parallel shards on Ubuntu
330- 3 . ** test-pi-tui** — ` pi-tui ` suite (uses node: test , not vitest)
331- 4 . ** lint** — oxlint, sherif, locale JSON freshness check, locale placeholder validity, hardcoded string scan
332- 5 . ** typecheck** — TypeScript check across all packages (uses ` tsgo ` from ` @typescript/native-preview ` )
333- 6 . ** native-tools** — Runs on Windows-latest: ` cargo test ` and ` cargo build --release `
328+ 3 . ** lint** — oxlint, sherif, locale JSON freshness check, locale placeholder validity, hardcoded string scan
329+ 4 . ** typecheck** — TypeScript check across all packages (uses ` tsgo ` from ` @typescript/native-preview ` )
330+ 5 . ** native-tools** — Runs on Windows-latest: ` cargo test ` and ` cargo build --release `
334331
335332Additional workflows: ` _native-build.yml ` , ` docs-deploy.yml ` , ` manual-native-bundle.yml ` , ` nix-build.yml ` , ` pkg-pr-new.yml ` , ` pr-title-checker.yml ` , ` release.yml ` .
336333
@@ -359,7 +356,7 @@ Additional workflows: `_native-build.yml`, `docs-deploy.yml`, `manual-native-bun
359356- Test files get relaxed rules (no-explicit-any off, no-console off, vitest plugin rules)
360357- ` packages/kosong/src/providers/ ` gets relaxed unsafety rules
361358- For full config with all overrides, see ` .oxlintrc.json `
362- - Ignored: ` dist/ ` , ` coverage/ ` , ` node_modules/ ` , ` apps/*/scripts/ ` , ` packages/pi-tui/ ` , ` *.generated.ts ` , ` 参考目录/ `
359+ - Ignored: ` dist/ ` , ` coverage/ ` , ` node_modules/ ` , ` apps/*/scripts/ ` , ` *.generated.ts ` , ` 参考目录/ `
363360
364361### TypeScript Config (root ` tsconfig.json ` )
365362
@@ -401,7 +398,6 @@ Additional workflows: `_native-build.yml`, `docs-deploy.yml`, `manual-native-bun
401398### Test Framework
402399
403400- ** vitest 4.1.4** for all TypeScript/JavaScript tests (root-level)
404- - ** node: test ** for ` @moonshot-ai/pi-tui ` (not part of vitest workspace)
405401- ** cargo test** for Rust packages (` kimi-native-tools ` )
406402- ** Coverage** : v8 provider, reports in text + HTML
407403
0 commit comments