Skip to content

fix(web): remove broken dev:stub script and references#993

Open
tomsen-ai wants to merge 2 commits into
MoonshotAI:mainfrom
tomsen-ai:fix/web-remove-dev-stub
Open

fix(web): remove broken dev:stub script and references#993
tomsen-ai wants to merge 2 commits into
MoonshotAI:mainfrom
tomsen-ai:fix/web-remove-dev-stub

Conversation

@tomsen-ai

Copy link
Copy Markdown

Fixes #949

The dev:stub script in apps/kimi-web/package.json points to dev/stub-daemon.mjs, but that file does not exist on main. Running pnpm -C apps/kimi-web run dev:stub fails with MODULE_NOT_FOUND.

Since the stub daemon is no longer maintained and the real server is the supported development path, remove the broken script and all documentation references rather than leaving a misleading command in place.

Changes:

  • Remove "dev:stub": "node dev/stub-daemon.mjs" from apps/kimi-web/package.json
  • Remove the offline stub section from apps/kimi-web/README.md
  • Remove the dev:stub command entry from apps/kimi-web/AGENTS.md
  • Update the comment in apps/kimi-web/vite.config.ts to no longer mention dev:stub

No changeset is needed because @moonshot-ai/kimi-web is a private internal package and this change only affects the local development workflow.

The dev/stub-daemon.mjs file no longer exists on main, so the dev:stub script fails with MODULE_NOT_FOUND. Remove the script and its documentation references until a maintained stub daemon is restored.
@changeset-bot

changeset-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3631456

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(web): dev:stub command fails because dev/stub-daemon.mjs is missing

1 participant