gadget/gadget-code/frontend
Rob Colbert 5c56f95cd6 Implement workspace mode switching with validation
- Add isProcessingWorkOrder flag to track Agent work order processing
- Update onRequestWorkspaceMode with mode transition matrix validation
  - Idle → User/Agent: Always allowed
  - User → Agent: Always allowed (file editor checks for future)
  - Agent → User: Only if !isProcessingWorkOrder
  - All other transitions: Rejected with reason
- Extend RequestWorkspaceModeCallback with optional reason parameter
- Update frontend socket client to capture rejection reason
- Update handleWorkspaceModeChange to display rejection reason in toast
- Update WorkspaceModeIndicator to allow mode transitions per matrix
- Fix FilesPanel RW/RO indicator swap bug
- Document mode transition matrix and behavior in workspace-management.md
2026-05-02 18:13:31 -04:00
..
src Implement workspace mode switching with validation 2026-05-02 18:13:31 -04:00
index.html created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00
package.json wrap-up on Project Manager correctness 2026-04-30 04:43:42 -04:00
postcss.config.js created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00
tailwind.config.js theme enforced and correctly implemented; e2e tests added for theme 2026-04-28 17:43:05 -04:00
vite.config.ts created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00