Commit Graph
379 Commits
Author SHA1 Message Date
jason.woltjeandClaude Opus 4.6 9d686a0757 feat(ms22-p2): add agent status endpoints and chat routing
P2-005: Agent status endpoints
- GET /api/agents/status — list all user's agents with status
- GET /api/agents/:id/status — single agent status

P2-006: Agent chat routing
- Add optional `agent` parameter to chat requests
- Validate agent exists and is active for user
- Pass agent personality/model config to OpenClaw

Task: MS22-P2-005, MS22-P2-006

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-04 20:52:32 -06:00
jason.woltje af56684e84 feat(ms22-p2): add UserAgent CRUD endpoints (#682)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:44:19 +00:00
jason.woltje ee4d6fa12b feat(ms22-p2): add AgentTemplate admin CRUD endpoints (#678)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-05 02:32:17 +00:00
jason.woltje 22e08e4ef2 feat(ms22-p2): seed default agent templates (jarvis, builder, medic) 2026-03-04 19:41:25 -06:00
jason.woltje f11a005538 feat(ms22-p2): add AgentTemplate and UserAgent prisma schema 2026-03-04 18:49:25 -06:00
jason.woltje 5207d8c0c9 fix(chat): skip CSRF for guest endpoint 2026-03-03 12:36:01 -06:00
jason.woltje d1c9a747b9 fix(chat): import ConfigModule in ChatProxyModule 2026-03-03 12:28:50 -06:00
jason.woltje 48d734516a fix(lint): resolve prettier and dot-notation errors 2026-03-03 11:40:38 -06:00
jason.woltje c45cec3bba feat(chat): add guest chat mode for unauthenticated users
- Add POST /api/chat/guest endpoint (no auth required)
- Add proxyGuestChat() method using configurable LLM endpoint
- Add streamGuestChat() function to frontend chat API
- Modify useChat to fall back to guest mode on auth errors (403/401)
- Remove !user check from ChatInput disabled prop
- Configure guest LLM via env vars: GUEST_LLM_URL, GUEST_LLM_API_KEY, GUEST_LLM_MODEL
- Default guest LLM: http://10.1.1.42:11434/v1 (Ollama) with llama3.2 model
2026-03-03 11:16:23 -06:00
jason.woltje b1baa70e00 fix(db): add missing MS21 user auth fields migration (#666)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-03 04:10:10 +00:00
jason.woltje 7f94ecdc7a fix: add missing orchestrator endpoints + fix AgentStatusWidget (#657)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 16:43:51 +00:00
jason.woltje 51d46b2e4a fix(ci): copy .npmrc before pnpm install in all Dockerfiles (#654)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-02 01:09:22 +00:00
jason.woltje 7d505e75f8 feat: custom node base image (#649)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:39:41 +00:00
jason.woltje a00f1e1fd7 fix(api): activity interceptor tests (#647)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 23:15:16 +00:00
jason.woltje 6eb91c9eba fix(api): security hardening — helmet + auth rate limiting (#641)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:43:10 +00:00
jason.woltje e7da4ca25e fix: attach domain to project (#640)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:33:49 +00:00
jason.woltje d361d00674 fix: Logs page — activity_logs, optional workspaceId, autoRefresh on (#637)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 22:10:16 +00:00
jason.woltje 78ff8f8e70 fix: GET workspace members endpoint (#635)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:53:51 +00:00
jason.woltje 2463b7b8ba test(glm47): workspace stats endpoint (#633)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:46:48 +00:00
jason.woltje b4f4de6f7a fix(api): remove noisy CSRF guard debug log (#631)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 21:13:00 +00:00
jason.woltje 2b6bed2480 fix(api): value imports for DTO classes in controllers (#630)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:55:07 +00:00
jason.woltje c23c33b0c5 fix(api): use TRUSTED_ORIGINS for socket.io gateway CORS (#628)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 20:13:13 +00:00
jason.woltje 3607554902 fix(api): MS22 Phase 1 post-coding audit (#625)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:53:49 +00:00
jason.woltje a25a77a43c fix(api): widget throttling and orchestrator endpoints (#624)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:22:20 +00:00
jason.woltje 99a4567e32 fix(api): skip CSRF for Bearer-authenticated API clients (#622)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 19:06:14 +00:00
jason.woltje 559c6b3831 fix(api): add AuthModule to FleetSettingsModule and ChatProxyModule (#621)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 18:06:49 +00:00
jason.woltje 631e5010b5 fix(api): add ConfigModule to ContainerLifecycleModule imports (#620)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 17:52:10 +00:00
jason.woltje 029c190c05 feat(api): chat proxy (MS22-P1i) (#615)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:59:00 +00:00
jason.woltje 477d0c8fdf feat(api): idle container reaper (MS22-P1k) (#614)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:50:34 +00:00
jason.woltje dc7e0c805c feat(api): onboarding API (MS22-P1e) (#612)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:43:43 +00:00
jason.woltje 2b010fadda feat(api): fleet settings API (MS22-P1g) (#611)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:37:04 +00:00
jason.woltje c25e753f35 feat(api): ContainerLifecycleService (MS22-P1d) (#610)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:24:42 +00:00
jason.woltje d3c8b8cadd feat(api): internal agent config endpoint (MS22-P1c) (#609)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 15:14:06 +00:00
jason.woltje 7a46c81897 feat(api): add agent fleet Prisma schema (MS22-P1a) 2026-03-01 08:42:10 -06:00
jason.woltje e59e517d5c feat(api): add CryptoService for secret encryption (MS22-P1b) 2026-03-01 08:40:40 -06:00
jason.woltje 0e74b03d9c test(api): integration tests for MS22 knowledge layer modules (MS22-TEST-001) (#594)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 04:54:23 +00:00
jason.woltje 1df20f0e13 feat(api): add assigned_agent to Task model (MS22-DB-003, MS22-API-003) (#591)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 03:54:28 +00:00
jason.woltje d07a840f25 feat(api): add conversation archive with vector search (MS22-DB-004, MS22-API-004) (#587)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 02:20:56 +00:00
jason.woltje 4b2e48af9c feat(api): add agent memory module (MS22-DB-002, MS22-API-002) (#586)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 02:20:15 +00:00
jason.woltje 7b390d8be2 feat(api): add findings module with vector search (MS22-DB-001, MS22-API-001) (#585)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-01 02:10:02 +00:00
jason.woltje af68f84dcd feat(api): invalidate sessions on user deactivation (MS21-AUTH-004) (#582)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 23:41:11 +00:00
jason.woltje f99107fbfc feat(api): add admin bulk import endpoints (MS21-MIG-004) (#567)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 19:55:01 +00:00
jason.woltje 0e6734bdae feat(api): add team management module with CRUD endpoints (#564)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 18:24:09 +00:00
jason.woltje 5bcaaeddd9 fix(api): increase flaky test timeouts for CI (#562)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 18:20:39 +00:00
jason.woltje ac16d6ed88 feat(api): add break-glass local authentication module (#559)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 18:05:19 +00:00
jason.woltje 8388d49786 feat(api): add workspace member management endpoints (#556)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 18:01:05 +00:00
jason.woltje 20f914ea85 feat(api): add AdminModule with user and workspace management endpoints (#555)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 17:56:54 +00:00
jason.woltje ffc10c9a45 feat(api): add MS21 user fields for admin, local auth, and invitations (#553)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 17:47:03 +00:00
jason.woltje 128431ba58 fix(api,web): separate workspace context from auth session (#551)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-28 15:14:29 +00:00
jason.woltje 78b643a945 fix(api): use getTrustedOrigins() for WebSocket CORS (#549)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-02-27 12:07:51 +00:00