feat(runs): add typed results and model aliases (#2043)

Also fix repository-free message.send validation (#2046) and add a single-binary development smoke path (#1977).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
samandCopilot committed 2026-11-18 23:47:35 +11:00
1 parent 6a3bf5a71a
commit 64dfad6d53
55 files changed
+1162 -517

No files matched your search

+38 -1
View File
@@ -2445,7 +2445,7 @@ paths:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: Replay one of the group's events through the draft, changing nothing
summary: Replay a stored event against the draft workflow and policy in a dry run
tags:
- Drafts
/api/drafts/{id}/publish:
@@ -3108,6 +3108,14 @@ paths:
/api/settings/agent-model:
get:
operationId: get-agent-model
parameters:
- description: Agent model alias; omit for the default model
explode: false
in: query
name: alias
schema:
description: Agent model alias; omit for the default model
type: string
responses:
"200":
content:
@@ -3126,6 +3134,14 @@ paths:
- Governance
put:
operationId: put-agent-model
parameters:
- description: Agent model alias; omit for the default model
explode: false
in: query
name: alias
schema:
description: Agent model alias; omit for the default model
type: string
requestBody:
content:
application/json:
@@ -3173,6 +3189,27 @@ paths:
summary: Ask a model one question before saving it
tags:
- Governance
/api/settings/agent-models:
get:
operationId: list-agent-models
responses:
"200":
content:
application/json:
schema:
additionalProperties:
$ref: "#/components/schemas/GovernanceModel"
type: object
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List agent models by alias
tags:
- Governance
/api/sources:
get:
operationId: list-sources