chore: retire legacy npm packages (claude-remote, remo-code-supervisor npm)#72
Merged
Conversation
Retire the remo-code-agent npm package. The Tauri supervisor desktop app (MSI release) is the only supported local client now. - Delete agent/ workspace (src, test, package.json, tsconfig). - Drop "agent" from root workspaces. - Delete .github/workflows/publish-agent.yml. Hub /ws/agent route is unchanged — it stays as the WebSocket endpoint the Tauri supervisor sidecar connects to. Phase 09 plan: .planning/phases/09-retire-npm-packages/PLAN.md
The remo-code-supervisor npm package is retired. supervisor/src/ stays intact — the Tauri MSI build still compiles it as the sidecar binary. - Delete supervisor/package.json and supervisor/README.md. - Drop "supervisor" from root workspaces. - Keep supervisor/src/ (Tauri sidecar source). - Keep supervisor/tauri/ (Tauri project). - Keep .github/workflows/release-supervisor.yml (Tauri MSI release). Phase 09 plan: .planning/phases/09-retire-npm-packages/PLAN.md
The channel WebSocket path was for the legacy claude-code-channel plugin which is fully retired. The Tauri supervisor uses /ws/agent. /ws/client is the browser path. /ws/channel had no remaining consumers. - Delete hub/src/ws/channel.ts. - Drop /ws/channel from the upgrade router, wsData dispatch, and the open/message/close handlers in hub/src/index.ts. - Delete ChannelAuth, AssistantMessage, ChannelStatus, ChannelInbound Zod schemas from hub/src/ws/protocol.ts. - Delete verifyChannelToken DAL helper from hub/src/db/dal.ts. Hub builds clean, tests pass (same 5 pre-existing test-pollution failures on origin/main, unrelated). Web build clean. Phase 09 plan: .planning/phases/09-retire-npm-packages/PLAN.md
Update every user-facing surface to point at the Tauri Supervisor MSI release as the only supported local app. Web UI: - ConnectModal: rewrite as Tauri-MSI-only (drop npx remo-code-agent / npx remo-code-supervisor commands + claude-remote alias snippet). - ApiKeyModal: drop the legacy agent <details> fallback block. - SettingsPage: drop the legacy agent <details> fallback block. - Sidebar: drop claude-remote wording from title tooltips. Repo docs: - README.md: rewrite Quick Start step 6 + Architecture + Project Structure to describe the Tauri Supervisor desktop app. Drop the shell-alias setup section and the hosted-version npx example. - CLAUDE.md: rewrite Commands + Local Supervisor + WebSocket Protocol + Key Design Decisions to describe the supervisor instead of the agent. Drop the /ws/channel protocol entry. - docs/agent.md: delete. Planning + historical specs: - .planning/codebase/*, .planning/STATE.md, .planning/ROADMAP.md, .planning/REQUIREMENTS.md, .planning/debug/cannot-connect-new-servers.md, several historical phase plans (04, 05, 06, 07, merge-self-heal): prepend a Phase 09 banner noting the retirement. Historical content is preserved. - docs/superpowers/specs/2026-05-22-supervisor-remote-control-design.md - docs/superpowers/specs/2026-03-28-streaming-agent-architecture-design.md - docs/superpowers/plans/2026-03-28-streaming-agent-architecture.md - docs/superpowers/plans/2026-04-27-migrate-supabase-to-postgres.md: same Phase 09 banner. Web build clean. Hub tests unchanged from origin/main baseline. Phase 09 plan: .planning/phases/09-retire-npm-packages/PLAN.md
4 tasks
finedesignz
added a commit
that referenced
this pull request
May 27, 2026
…plete (#87) - README.md: install section now explicitly mentions HKCU Run-key auto-start (no Windows service, no shell alias) — clarifies the difference from the retired npx/NSSM flow. - supervisor/MIGRATION.md: bump status from "In-progress" to "Completed 2026-05-26 (Phase 09)" — the npm-package retirement landed in #72, and the agent/Dockerfile copy fix landed in #73, so the migration is fully closed. Doc sweep verified the rest of the forward-looking surface (README/CLAUDE/HANDOFF/docs/**/*.md) already references only the MSI path. .planning/* historical archives left intact per phase-history preservation policy; their Phase 09 retirement banners already mark legacy `claude-remote` / `npx remo-code-agent` mentions as historical. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retires the legacy npm-distributed local apps for Remo Code. The Tauri Supervisor desktop app (Windows MSI from https://github.com/finedesignz/remo-code/releases/latest) is now the only supported local app.
Five atomic phases (one commit each)
A.
chore: delete agent/ workspace and publish-agent CIagent/workspace (src, test, package.json, tsconfig).agentfrom rootpackage.jsonworkspaces..github/workflows/publish-agent.yml./ws/agentroute is UNCHANGED — the Tauri supervisor still connects there.B.
chore: drop supervisor npm publishing surface (keep Tauri sidecar)supervisor/package.jsonandsupervisor/README.md.supervisorfrom root workspaces.supervisor/src/(Tauri sidecar source — bundled into the MSI viabun build --compile).supervisor/tauri/and.github/workflows/release-supervisor.yml.C.
chore(hub): remove dead /ws/channel route and verifyChannelTokenhub/src/ws/channel.ts./ws/channelfrom the upgrade router, wsData dispatch, and open/message/close handlers inhub/src/index.ts.ChannelAuth,AssistantMessage,ChannelStatus,ChannelInboundZod schemas fromhub/src/ws/protocol.ts.verifyChannelTokenDAL helper fromhub/src/db/dal.ts.D.
docs+web: retire npm-package install paths, link Tauri MSI releaseConnectModal.tsxas Tauri-MSI-only; remove the legacy agent<details>fallback blocks fromApiKeyModal.tsxandSettingsPage.tsx; dropclaude-remotewording fromSidebar.tsxtooltips.README.mdQuick Start + Architecture + Project Structure; rewriteCLAUDE.mdCommands + Local Supervisor + WebSocket Protocol + Key Design Decisions; deletedocs/agent.md..planning/codebase/*,.planning/STATE.md,.planning/ROADMAP.md,.planning/REQUIREMENTS.md,.planning/debug/cannot-connect-new-servers.md, and historical phase plans (04, 05, 06, 07, merge-self-heal). Historical content is preserved.docs/superpowers/specs/*anddocs/superpowers/plans/*: annotate, do not rewrite.E. Memory + global
~/.claude/CLAUDE.mdsweep (outside this repo)~/.claude/projects/C--Users-artic-GitHub-remo-code/memory/: rewritefeedback_claude_remote_default.md,reference_remo_code_connection.md; patchMEMORY.md,feedback_run_things_yourself.md,reference_deployment_infra.md; markproject_handoff_supervisor_ws_close.mdSTALE.~/.claude/CLAUDE.md: rewrite the "Remo Code" section to point at the MSI release and explicitly forbid suggesting the retired npm flow.Verification
bun installclean after each workspace edit.bun run build:webclean after every phase.cd hub && bun testshows the same 5 pre-existing test-pollution failures that exist onorigin/main(confirmed by running the suite against a cleanorigin/mainworktree). All other tests pass: 311 pass / 67 skip.cd hub && bun build src/index.ts --target=bunproduces a clean bundle (no broken imports after channel deletion).grep -rn "npx remo-code\|claude-remote" README.md CLAUDE.md web/src/returns no results (only intentional retirement notices remain).Inventory
.planning/phases/09-retire-npm-packages/INVENTORY.md— the original scope document..planning/phases/09-retire-npm-packages/PLAN.md— the per-phase execution plan.Latest published npm versions (will be deprecated post-merge)
remo-code-agent@0.4.1remo-code-supervisor@0.1.0The Tauri MSI release at https://github.com/finedesignz/remo-code/releases/latest is the replacement.
🤖 Generated with Claude Code