Skip to content

Feat/delete dot - #165

Open
debuJan wants to merge 2 commits into
CopilotKit:mainfrom
debuJan:feat/delete-dot
Open

debuJan wants to merge 2 commits into
CopilotKit:mainfrom
debuJan:feat/delete-dot

Conversation

@debuJan

@debuJan debuJan commented Oct 19, 2026 •

Copy link
Copy Markdown

Summary

Adds a way to delete specialist Dots (fixes #151).

Changes

  • src/server/workspace.ts: new deleteDot(id) — removes the Dot and its dot-specific data (space links, conversations, calls, computer permissions/audit, MCP connections/approvals, page threads) in a transaction; other Dots, Spaces and pages untouched
  • src/server/workspace-routes.ts: new DELETE /dots/:id route (404 if not found)
  • src/client/WorkspaceDialog.tsx: Delete button in Dot settings with a confirmation step showing the Dot's name
  • src/client/style.css: .danger / .delete-confirm styles
  • tests/workspace.test.ts: test covering deletion, data cleanup, and unknown-id error

Testing

  • npx vitest run tests/workspace.test.ts — 4/4 pass
  • npm run typecheck — clean
  • npm run lint — clean

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.

Add a way to delete specialist Dots

1 participant