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.
- +0Prompt · +0删掉vue实现 (remove the Vue implementation)
- +0mAgent did · +0mSearched 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
- +1mAgent did · +1mEdited 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
- +1mAgent did · +1mRan pnpm install --lockfile-only to refresh the lockfile, then pnpm test (161 tests passed) and pnpm run build to confirm nothing broke
- +2mAgent did · +2mVerified 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
- +3mOutcome · +3mRemoved 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.