Commit Graph

4 Commits

Author SHA1 Message Date
Eric Jungbauer 043aa18f3f API Clients + structured JSON results: app-level tokens for Synap/WSIT integration
- New api_clients + api_client_scopes tables; tokens scoped per-instance
- Admin UI tab at /admin for token create/rotate/revoke/delete with one-time reveal
- Dual-auth dependency (user session OR Bearer app token) on trigger + runs endpoints
- /api/instances/{id}/trigger pre-creates a run and returns run_id + cached last_result instantly
- New GET /api/runs/{id} for polling
- Generic trigger path for sub-agent instances (weather, calendar, etc.)
- runs.result column for structured JSON alongside markdown output
- agent_catalog.result_schema describes each agent's result shape
- Weather, daily-briefing, project-monitor retrofitted to emit structured results
- log_run: env INSTANCE_ID/RUN_ID only used when target matches, so nested sub-agents don't clobber parent runs
- Wiki docs: API Clients & Token Scoping + Calling Agents From Your Apps
2026-04-20 17:54:32 +00:00
eric 00e76e412d Add email field to users, login accepts email or username 2026-04-13 13:55:26 +00:00
eric c17594d7c0 Bridge distribution: auth, heartbeat, installer script, per-user ports 2026-04-13 13:31:14 +00:00
eric 26156543f6 v2.0: Multi-user platform with agent catalog, admin panel, LLM providers 2026-04-13 02:21:45 +00:00