Skip to content

Sync v1 REST client with API spec#19

Open
ellipsis-dev-beta[bot] wants to merge 1 commit into
mainfrom
hunter/sync-v1-first-run-yaml
Open

Sync v1 REST client with API spec#19
ellipsis-dev-beta[bot] wants to merge 1 commit into
mainfrom
hunter/sync-v1-first-run-yaml

Conversation

@ellipsis-dev-beta

Copy link
Copy Markdown

Syncs the hand-maintained v1 REST client with a spec change merged in ellipsis-dev/ellipsis#5484 (brand revamp: insights tabs, BYO-Bedrock page, agent starters, model rate cards).

Change

ListAgentTemplatesResponse (returned by GET /v1/agents/templates) gained a new required field:

  • first_run_yaml: string — the verbatim config of the run-on-demand recent-work-summary template behind the dashboard's first-run CTA, served alongside the gallery templates.

Added to src/lib/types.ts.

Not changed

  • src/lib/api.ts — no change needed. listAgentTemplates() returns res.templates; the endpoint path/verb/query are unchanged.
  • No endpoints were added, removed, or renamed. The other server-side changes in the triggering PR (routers/agents/agents_router.py, routers/models/models_router.py) are on the dashboard routers, not the /v1 public surface, so they're out of scope.
  • No run-stream / WebSocket frame schema changes were involved.

Verification

  • bun install
  • bun run typecheck
  • bun run test ✓ (107 passed)

Triggered by merged PR: https://github.com/ellipsis-dev/ellipsis/pull/5484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants