Sync v1 REST client with API spec: add first_run_yaml to ListAgentTemplatesResponse#20
Open
ellipsis-dev[bot] wants to merge 1 commit into
Open
Sync v1 REST client with API spec: add first_run_yaml to ListAgentTemplatesResponse#20ellipsis-dev[bot] wants to merge 1 commit into
ellipsis-dev[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the hand-maintained v1 REST client types with a spec change from ellipsis-dev/ellipsis#5484.
The
GET /v1/agents/templatesresponse model (ListAgentTemplatesResponseinellipsis/src/public_api/services/agent_templates_service.py) gained a new required field, and the v1 route now populates it (v1_router.py).Changes
src/lib/types.tsListAgentTemplatesResponse: added required fieldfirst_run_yaml: string(Pydanticfirst_run_yaml: str) — the verbatim YAML of the dashboard's first-run template (recent-work-summary), served alongside the gallery.No new/removed/renamed endpoints, and no verb/path/query changes, so
src/lib/api.tsis unchanged.AgentTemplateand all other v1 models are unchanged.Verification
bun run typecheck— passesbun run test— 107 passedOut of scope
No run-stream / WebSocket frame schema changes in the triggering PR, so
src/lib/ws.tsis untouched.Triggered by merged spec change: ellipsis-dev/ellipsis#5484