Skip to content
PirefactorWeb4 files · +13 −21

Remove legacy Vue web client, keep Svelte

Session from pi-web on Hugging Face by woxQAQ · MIT · condensed by Coders Talk

3msession
0interventions
GOAL

Delete the deprecated Vue 3 web client (packages/web) from the monorepo and update all references so only the Svelte client remains as the web frontend.

  1. Prompt · +0
    删掉vue实现 (remove the Vue implementation)
  2. Agent did · +0m
    Searched the repo for every reference to the Vue client (packages/web) across package.json, AGENTS.md, vitest.config.ts, oslint.config.ts, README.md and lockfile to map out what needs to change
  3. Agent did · +1m
    Edited package.json, AGENTS.md, vitest.config.ts and oslint.config.ts to remove Vue build/dev scripts, docs references, test include paths and the vue lint plugin, then deleted the packages/web directory entirely
  4. Agent did · +1m
    Ran pnpm install --lockfile-only to refresh the lockfile, then pnpm test (161 tests passed) and pnpm run build to confirm nothing broke
  5. Agent did · +2m
    Verified via git status/diff and grep that only the intended files were modified/deleted and that no stray build:vue/dev:vue or packages/web references remained
  6. Outcome · +3m
    Removed packages/web entirely; updated package.json, AGENTS.md, vitest.config.ts, oslint.config.ts; pnpm test passed 161/161 tests, pnpm run build succeeded
VERDICT

Next time I'd start the prompt by naming the exact package to delete (packages/web) since the agent had to spend a lot of turns just grepping the whole repo to figure out where Vue was referenced. No corrections were needed here — the agent worked cleanly through search, edit, delete, then verified with install/test/build on its own.

I tried this · 0

Discussion · 0

How Builds work