kimi-code/scripts
Kimi Agent 4c5d7d5e27
chore: upgrade to TypeScript 7 (native compiler) (#4329)
* chore: upgrade to TypeScript 7 (native compiler)

- typescript 6.0.2 -> 7.0.2, tsdown 0.22.0 -> 0.23.1 (peer range now allows typescript ^7)
- CI typecheck uses the workspace tsc (native) instead of the frozen @typescript/native-preview beta snapshot
- product entry-points test spawns the tsc binary; the JS compiler API no longer ships with typescript
- check-no-comments.mjs pins typescript-legacy (TS6) for AST access

Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>

* chore: align remaining typescript pins and refresh the nix pnpmDeps hash

- apps/kimi-inspect and apps/vis/web pin their own typescript; bump to 7.0.2 (sherif multiple-dependency-versions)
- flake.nix fetchPnpmDeps hash tracked the old lockfile; recompute for the new one (fixes nix build)

Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>

* test(product): fail loudly when the tsc subprocess cannot run

runTsc only scanned output text; a missing native binary, a timeout, or
a spawn failure would yield empty diagnostics and the boundary checks
would pass vacuously. Assert the spawn error and exit status first.

Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>

---------

Co-authored-by: kimi-agent-bot <kimi-agent-bot@users.noreply.github.com>
Co-authored-by: chengluyu <2239547+chengluyu@users.noreply.github.com>
2026-10-22 15:14:15 +08:00
..
check-nix-workspace.mjs chore(flake): simplify nix build and add ci validation (#257) 2026-06-01 11:47:38 +08:00
check-no-comments.mjs chore: upgrade to TypeScript 7 (native compiler) (#4329) 2026-10-22 15:14:15 +08:00
check-service-naming.mjs refactor: remove the legacy agent-core v1 package (#3542) 2026-09-07 11:17:51 +08:00
fix-node-pty-perms.mjs feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
release-trigger.mjs ci: publish core releases from isolated release branches (#4217) 2026-10-14 22:35:59 +08:00
release-trigger.test.mjs ci: publish core releases from isolated release branches (#4217) 2026-10-14 22:35:59 +08:00