mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-10 01:39:25 +00:00
* chore(dev): open monorepo root when running make dev The dev runner spawned the tsx child process with cwd pinned to apps/kimi-code, so the TUI always opened apps/kimi-code as its working directory. Switch the child cwd to the monorepo root and pass the tsconfig, raw-text loader, and entry point as absolute paths so their resolution does not depend on cwd. This only affects the local dev runner; the published CLI is unchanged. * fix(dev): pass --import preload as a file URL Node resolves `--import` preloads as ESM specifiers. On Windows, the absolute path produced by path.resolve() looks like a `c:` URL scheme and crashes the dev CLI with ERR_UNSUPPORTED_ESM_URL_SCHEME before src/main.ts loads. Convert the preload to a file:// URL via pathToFileURL so it resolves on every platform. Addresses codex review on PR #1458. |
||
|---|---|---|
| .. | ||
| kimi-code | ||
| kimi-desktop | ||
| kimi-web | ||
| vis | ||