kimi-code/scripts
liruifengv 20964142d1
refactor: P1 lib migration to app-core + rename shared packages web-* → app-* (#185)
* docs: add renderer architecture refactor plan

* docs: add renderer architecture spec and progress ledger

* refactor: move shared renderer lib modules and tests into web-core

* refactor: point apps/web and apps/desktop renderer at web-core/lib

* refactor: fix dangling lib imports folded in by the main merge

Main added relative lib imports (modelThinking / pathRelativeTo /
nativeWorkspaceDrop / rootKey) alongside P1's rewrites; point them at
@moonshot-ai/web-core/lib like the rest.

* refactor: rename shared packages @moonshot-ai/web-* to app-*

These packages are shared by the web and desktop apps, so the web-
prefix is a misnomer: app-core / app-ui / app-markdown / app-i18n,
with packages/web-* directories renamed to packages/app-* to match.
The planned web-client package will land as app-client. vite-preset
is untouched; the app package names (kimi-code-web / kimi-code-app)
stay per repo policy. Historical plan/spec docs keep the old names.

* chore: point gitignored font paths at packages/app-ui

* test: fix type import path in mergeWorkspaces.test (../src/api/types)

Type-only so vitest erased it and never resolved at runtime, but the
path was wrong since the move into packages/ — flagged in review.

* chore: regenerate lockfile after kimi-code submodule bump

agent-core-v2 at cfd14a1f dropped its react/xyflow deps; the lockfile
staged in the merge predated the submodule sync and failed
--frozen-lockfile in CI.

* test: fix taskMerge.test import paths for its packages/ home

Same staging trap as before: a non-matching pathspec in the git add
aborted it silently, so the merge commit carried the pre-sed content.
2026-08-11 11:29:33 +08:00
..
build-brand-icons.mjs feat(web): settings-native provider management, blue-mark brand fork (#173) 2026-08-04 16:44:25 +08:00
export-icon-layers.mjs feat(desktop): theme-following Dock icon, app-icon picker, v2 brand kit (#92) 2026-07-24 06:31:53 +08:00
merge-mac-update-yml.mjs feat(desktop): add auto-update via CDN generic feed (#26) 2026-07-18 16:34:23 +08:00
prepare-fonts.mjs refactor: P1 lib migration to app-core + rename shared packages web-* → app-* (#185) 2026-08-11 11:29:33 +08:00
sync-web-to-kimi-code.mjs chore: drop the git add -f note from the web sync reminder 2026-08-05 12:40:34 +08:00