summaryrefslogtreecommitdiffhomepage
path: root/.dispatch
diff options
context:
space:
mode:
Diffstat (limited to '.dispatch')
-rw-r--r--.dispatch/transport-contract.reference.md12
-rw-r--r--.dispatch/wire.reference.md10
2 files changed, 22 insertions, 0 deletions
diff --git a/.dispatch/transport-contract.reference.md b/.dispatch/transport-contract.reference.md
index 70d64d9..13387fc 100644
--- a/.dispatch/transport-contract.reference.md
+++ b/.dispatch/transport-contract.reference.md
@@ -8,6 +8,18 @@
> **Orchestrator:** SNAPSHOT of `[email protected]` (MCP status + computers + provider concurrency + cancel queued message). Regenerate whenever
> it changes.
>
+> **2026-08-20 delta (Named Agents — ADDITIVE, no version bump):** the `/named-agents` HTTP surface +
+> conversation snapshot wiring ships. New types: `NamedAgentsResponse` (`{ namedAgents: NamedAgent[] }`,
+> `GET /named-agents`), `NamedAgentResponse` (`{ namedAgent: NamedAgent }`, `POST`/`PUT`), and
+> `DeleteNamedAgentResponse` (`{ id }`), with `CreateNamedAgentRequest` / `UpdateNamedAgentRequest`
+> (`{ name, model }`). Snapshot semantics (plan §7): `ChatRequest.namedAgent?` (persist on the
+> conversation at creation), `ModelResponse.namedAgent?` (the persisted `NamedAgentSelectionSnapshot`),
+> and `SetModelRequest.namedAgent?` (persist/clear the snapshot with the model — omit for a raw
+> selection, pass `null` notion + omit `namedAgent` to clear). The FE consumes these via
+> `features/named-agents` + the app store's CRUD/`selectModel` methods (the local `logic/types.ts`
+> re-exports `NamedAgent`/`NamedAgentSelectionSnapshot` from `@dispatch/wire` and these request/response
+> types from this package).
+>
> **2026-06-29 update (cancel-queued-message — ADDITIVE, 0.23.0 → 0.24.0):** a per-message
> **cancel** for the steering message queue ships. While a turn is GENERATING and a user
> message is queued (awaiting steering delivery), the client can cancel a single queued
diff --git a/.dispatch/wire.reference.md b/.dispatch/wire.reference.md
index b430a45..a57125f 100644
--- a/.dispatch/wire.reference.md
+++ b/.dispatch/wire.reference.md
@@ -6,6 +6,16 @@
>
> **Orchestrator:** SNAPSHOT of `[email protected]` (workspaces + computers + provider-retry + concurrency-`queued` status). Regenerate whenever `@dispatch/wire` changes.
>
+> **2026-08-20 delta (Named Agents — ADDITIVE, no version bump):** `@dispatch/wire` now exports two
+> named-agent shapes the FE consumes (`named-agents-plan.md`): `NamedAgent`
+> `{ id, name, model }` (a user-curated model preset; `model` = canonical `<provider>/<model>`) and
+> `NamedAgentSelectionSnapshot` `{ namedAgentId, namedAgentName, model }` (the snapshot a conversation
+> retains when selected via a Named Agent — plan §7). These mirror the backend's `packages/named-agents`.
+> The FE re-exports them from this package (`features/named-agents/logic/types.ts`) rather than
+> duplicating. Transport-contract also carries the `/named-agents` HTTP request/response types +
+> `ChatRequest.namedAgent` / `ModelResponse.namedAgent` / `SetModelRequest.namedAgent` (see
+> `transport-contract.reference.md`).
+>
> **2026-06-27 delta (workspace starring — ADDITIVE to `[email protected]`, NO version bump):** `Workspace` gains a
> required `starred: boolean` (defaults to `false` on creation). A starred workspace's agents receive
> PRIORITY in the concurrency limiter queue — they jump ahead of agents from non-starred workspaces