feat: AIUI chat mode integration with iframe, context broker, overnight loop

- Chat mode: AIUI loads in sandboxed iframe at /dashboard/chat with transparent bg
- Mode switcher: Easy + Pro tabs only, Chat is a launcher button
- Keyboard shortcuts: Cmd+1 (Easy), Cmd+2 (Pro), Cmd+3 (Chat), Cmd+M (cycle)
- Directional transitions: chat slides from/to left, dashboard from/to right
- Context broker: postMessage protocol for quarantined AIUI communication
- AI permissions store: user-controlled toggles for data access categories
- Settings UI: AI Data Access section with per-category toggles
- AIUI container manifest and nginx proxy config for /aiui/
- Deploy script builds AIUI with /aiui/ base path
- Overnight loop infrastructure (loop.sh, prepare.sh, plan.md, prompt.md)
- Security hooks for autonomous overnight runs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-04 12:06:20 +00:00
co-authored by Claude Opus 4.6
parent 7b044d22ef
commit 584ce646e1
23 changed files with 1528 additions and 77 deletions
+2 -1
View File
@@ -64,6 +64,7 @@ kill_port 5959 # Mock backend
kill_port 8100 # Vite dev server
kill_port 8101 # Potential fallback port
kill_port 8102 # Another fallback port
kill_port 5173 # AIUI dev server
echo -e "${GREEN}✅ Ports cleared${NC}"
echo ""
@@ -119,7 +120,7 @@ fi
echo -e "${BLUE}🚀 Starting servers...${NC}"
echo ""
# Use npm run dev:mock which uses concurrently
# Use npm run dev:mock (includes AIUI dev server automatically)
npm run dev:mock
# Note: The script will stay running until Ctrl+C