Skip to content

Commit d7ddba7

Browse files
committed
docs(contracts): clarify lightweight orchestration snapshot
1 parent 937894a commit d7ddba7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/contracts/src/environmentHttp.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,17 @@ const EnvironmentOrchestrationThreadSnapshotParams = Schema.Struct({
457457
threadId: ThreadId,
458458
});
459459

460+
const EnvironmentOrchestrationCommandReadModel = OrchestrationReadModel.annotate({
461+
identifier: "EnvironmentOrchestrationCommandReadModel",
462+
description:
463+
"Lightweight command snapshot. Thread messages, activities, and checkpoints are intentionally empty; use the shell and per-thread snapshot endpoints for conversation history.",
464+
});
465+
460466
export class EnvironmentOrchestrationHttpApi extends HttpApiGroup.make("orchestration")
461467
.add(
462468
HttpApiEndpoint.get("snapshot", "/api/orchestration/snapshot", {
463469
headers: OptionalBearerHeaders,
464-
success: OrchestrationReadModel,
470+
success: EnvironmentOrchestrationCommandReadModel,
465471
error: EnvironmentOrchestrationSnapshotErrors,
466472
}).middleware(EnvironmentAuthenticatedAuth),
467473
)

0 commit comments

Comments
 (0)