feat(ms22-p2): add agent status endpoints and chat routing #684

Merged
jason.woltje merged 1 commits from feat/ms22-p2-agent-routing into main 2026-03-05 02:56:37 +00:00
Owner

Summary

  • P2-005: Agent status endpoints (GET /api/agents/status, GET /api/agents/:id/status)
  • P2-006: Agent chat routing with optional agent parameter in chat requests
  • Validates agent exists and is active before routing
  • Passes agent personality to OpenClaw for personalized responses

Endpoints

  • GET /api/agents/status — All agents status for user
  • GET /api/agents/:id/status — Single agent status
  • POST /api/chat/stream — Now accepts optional agent parameter

Test plan

  • CI passes (lint, typecheck, tests)

🤖 Generated with Claude Code

## Summary - P2-005: Agent status endpoints (GET /api/agents/status, GET /api/agents/:id/status) - P2-006: Agent chat routing with optional agent parameter in chat requests - Validates agent exists and is active before routing - Passes agent personality to OpenClaw for personalized responses ## Endpoints - GET /api/agents/status — All agents status for user - GET /api/agents/:id/status — Single agent status - POST /api/chat/stream — Now accepts optional agent parameter ## Test plan - [ ] CI passes (lint, typecheck, tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jason.woltje added 1 commit 2026-03-05 02:53:11 +00:00
feat(ms22-p2): add agent status endpoints and chat routing
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
9d686a0757
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 <noreply@anthropic.com>
jason.woltje merged commit 2f1ee53c8d into main 2026-03-05 02:56:37 +00:00
Sign in to join this conversation.