Pairs with QRun-IO/qbit-assistant#21 (write mode, stacked on #19). It renders only when the server reports features.writeMode, so against older servers nothing changes.
The panel header gets a switch for the active conversation, built as role="switch". It shows Read-only (the default, an eye icon) or Write (an amber pencil icon), with a tooltip explaining each.
Toggling it sends PATCH /assistant/conversations/{id} with { writeMode }. The server decides whether the user may switch (policy, role, writable tables) and answers 403 with a message otherwise; the message appears as a toast.
Type additions: writeMode on conversations and updates, features.writeMode and features.autoConfirm, and preferences.
Tests: AssistantPanel.test.tsx covers switching a conversation from Read-only to Write. typecheck and lint are clean, and all 24 assistant tests pass.
Pairs with QRun-IO/qbit-assistant#21 (write mode, stacked on #19). It renders only when the server reports `features.writeMode`, so against older servers nothing changes.
- The panel header gets a switch for the active conversation, built as `role="switch"`. It shows **Read-only** (the default, an eye icon) or **Write** (an amber pencil icon), with a tooltip explaining each.
- Toggling it sends `PATCH /assistant/conversations/{id}` with `{ writeMode }`. The server decides whether the user may switch (policy, role, writable tables) and answers 403 with a message otherwise; the message appears as a toast.
- Type additions: `writeMode` on conversations and updates, `features.writeMode` and `features.autoConfirm`, and `preferences`.
Tests: `AssistantPanel.test.tsx` covers switching a conversation from Read-only to Write. `typecheck` and `lint` are clean, and all 24 assistant tests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Pairs with QRun-IO/qbit-assistant#21 (write mode, stacked on #19). It renders only when the server reports
features.writeMode, so against older servers nothing changes.role="switch". It shows Read-only (the default, an eye icon) or Write (an amber pencil icon), with a tooltip explaining each.PATCH /assistant/conversations/{id}with{ writeMode }. The server decides whether the user may switch (policy, role, writable tables) and answers 403 with a message otherwise; the message appears as a toast.writeModeon conversations and updates,features.writeModeandfeatures.autoConfirm, andpreferences.Tests:
AssistantPanel.test.tsxcovers switching a conversation from Read-only to Write.typecheckandlintare clean, and all 24 assistant tests pass.🤖 Generated with Claude Code