Add Print-OS agent surfaces#16
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 98e52df93c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "business": "/api/v1/business/summary", | ||
| "system": "/api/v1/system/backup", |
There was a problem hiding this comment.
Point api-get resources at JSON endpoints
When users run api-get business or call MCP print_os_api_get with business, this maps to /api/v1/business/summary, but the checked business router only exposes GET /forecast plus POST-only endpoints, so the advertised read always 404s. The CLI also offers system, but /api/v1/system/backup returns a ZIP FileResponse while request_json always decodes and parses JSON, so that choice fails against a running backend too; remove these resource choices or map them to real JSON GET endpoints.
Useful? React with 👍 / 👎.
Summary
Verification