@maiaos/protocol 0.1.0-canary.80 → 0.1.0-canary.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/definition.d.ts +2 -2
- package/dist/agent/worker-operation.d.ts +1 -0
- package/dist/agent/worker-operation.d.ts.map +1 -1
- package/dist/discovery/contract.d.ts +1 -0
- package/dist/discovery/contract.d.ts.map +1 -1
- package/dist/discovery/effect-schema.d.ts +2 -0
- package/dist/discovery/effect-schema.d.ts.map +1 -1
- package/dist/event/registry.d.ts.map +1 -1
- package/dist/event/registry.js +3 -0
- package/dist/event/registry.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/local-node/contract.d.ts +4 -4
- package/dist/local-node/contract.d.ts.map +1 -1
- package/dist/local-node/contract.js.map +1 -1
- package/dist/local-node/effect-schema.d.ts +69 -13
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +3 -0
- package/dist/local-node/effect-schema.js.map +1 -1
- package/dist/local-node/node-api/methods.d.ts +2 -2
- package/dist/local-node/node-api/methods.d.ts.map +1 -1
- package/dist/local-node/node-api/methods.js +3 -0
- package/dist/local-node/node-api/methods.js.map +1 -1
- package/dist/local-node/receipt-list.d.ts +1 -1
- package/dist/local-node/receipt-list.d.ts.map +1 -1
- package/dist/local-node/receipt-list.js +2 -0
- package/dist/local-node/receipt-list.js.map +1 -1
- package/dist/pairing/effect-schema.d.ts +1 -1
- package/dist/pairing/effect-schema.js +1 -1
- package/dist/pairing/effect-schema.js.map +1 -1
- package/dist/presentation/contract.d.ts +1 -0
- package/dist/presentation/contract.d.ts.map +1 -1
- package/dist/presentation/effect-schema.d.ts +1 -0
- package/dist/presentation/effect-schema.d.ts.map +1 -1
- package/dist/presentation/session-list-effect-schema.d.ts +1 -0
- package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
- package/dist/principal/effect-schema.d.ts +1 -1
- package/dist/principal/effect-schema.js +1 -1
- package/dist/principal/effect-schema.js.map +1 -1
- package/dist/reach/effect-schema.d.ts +3 -2
- package/dist/reach/effect-schema.d.ts.map +1 -1
- package/dist/reach/effect-schema.js +2 -1
- package/dist/reach/effect-schema.js.map +1 -1
- package/dist/session/agent-permission-contract.d.ts +5 -5
- package/dist/session/agent-permission-effect-schema.d.ts +9 -9
- package/dist/session/contract.d.ts +14 -1
- package/dist/session/contract.d.ts.map +1 -1
- package/dist/session/contract.js.map +1 -1
- package/dist/session/defaults/contract.d.ts +19 -0
- package/dist/session/defaults/contract.d.ts.map +1 -0
- package/dist/session/defaults/contract.js +5 -0
- package/dist/session/defaults/contract.js.map +1 -0
- package/dist/session/defaults/effect-schema.d.ts +36 -0
- package/dist/session/defaults/effect-schema.d.ts.map +1 -0
- package/dist/session/defaults/effect-schema.js +28 -0
- package/dist/session/defaults/effect-schema.js.map +1 -0
- package/dist/session/defaults/index.d.ts +2 -0
- package/dist/session/defaults/index.d.ts.map +1 -0
- package/dist/session/defaults/index.js +2 -0
- package/dist/session/defaults/index.js.map +1 -0
- package/dist/session/effect-schema.d.ts +175 -0
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +14 -1
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +97 -2
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +91 -2
- package/dist/session/feature.js.map +1 -1
- package/dist/session/index.d.ts +2 -1
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +2 -1
- package/dist/session/index.js.map +1 -1
- package/dist/session/policy.d.ts +7 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +7 -0
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +2 -0
- package/dist/session/stop-resume-contract.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.d.ts +2 -1
- package/dist/session/worktree-effect-schema.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.js +2 -1
- package/dist/session/worktree-effect-schema.js.map +1 -1
- package/dist/session-stream/contract.d.ts +43 -3
- package/dist/session-stream/contract.d.ts.map +1 -1
- package/dist/session-stream/contract.js +1 -1
- package/dist/session-stream/contract.js.map +1 -1
- package/dist/session-stream/effect-schema.d.ts +47 -2
- package/dist/session-stream/effect-schema.d.ts.map +1 -1
- package/dist/session-stream/effect-schema.js +27 -1
- package/dist/session-stream/effect-schema.js.map +1 -1
- package/dist/session-stream/index.d.ts +1 -1
- package/dist/session-stream/index.d.ts.map +1 -1
- package/dist/session-stream/index.js +1 -1
- package/dist/session-stream/index.js.map +1 -1
- package/dist/session-stream/policy.d.ts +9 -1
- package/dist/session-stream/policy.d.ts.map +1 -1
- package/dist/session-stream/policy.js +9 -0
- package/dist/session-stream/policy.js.map +1 -1
- package/dist/turn/contract.d.ts +93 -1038
- package/dist/turn/contract.d.ts.map +1 -1
- package/dist/turn/contract.js +12 -5
- package/dist/turn/contract.js.map +1 -1
- package/dist/turn/effect-schema.d.ts +969 -126
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +88 -6
- package/dist/turn/effect-schema.js.map +1 -1
- package/dist/turn/index.d.ts +1 -1
- package/dist/turn/index.d.ts.map +1 -1
- package/dist/turn/index.js +1 -1
- package/dist/turn/index.js.map +1 -1
- package/package.json +1 -1
package/dist/turn/contract.d.ts
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CommandReceipt } from "../command-receipt/index.js";
|
|
2
|
+
import type { InferRuntimeSchema, RuntimeSchema } from "../runtime-schema/index.js";
|
|
2
3
|
import type { TurnWaitResult } from "./wait-contract.js";
|
|
3
4
|
/**
|
|
4
|
-
* Typed refusals a client branches on
|
|
5
|
-
* or type allow-list
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Typed refusals a client branches on. `turn_attachment_refused`: attachments
|
|
6
|
+
* break the Node's size cap or type allow-list. `turn_not_queued`: the turn
|
|
7
|
+
* is no longer in the queue, so the request changed nothing. An edit gets it
|
|
8
|
+
* for any turn that left the queue; a cancel or a promote gets it for a turn
|
|
9
|
+
* that ended failed, and reports one that dispatched first as the
|
|
10
|
+
* `already_dispatched` outcome instead. `turn_queue_full`: the Session holds
|
|
11
|
+
* its limit of pending turns.
|
|
8
12
|
*/
|
|
9
13
|
export declare const TURN_ERROR_CODES: readonly ["turn_attachment_refused", "turn_not_queued", "turn_queue_full"];
|
|
10
14
|
export type TurnErrorCode = (typeof TURN_ERROR_CODES)[number];
|
|
11
|
-
export declare const turnAttachmentSchema:
|
|
15
|
+
export declare const turnAttachmentSchema: RuntimeSchema<{
|
|
12
16
|
readonly byteLength: number;
|
|
13
17
|
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
14
18
|
readonly name: string;
|
|
15
19
|
readonly sha256: string;
|
|
16
20
|
}>;
|
|
17
21
|
export type TurnAttachment = InferRuntimeSchema<typeof turnAttachmentSchema>;
|
|
18
|
-
export declare const turnAttachmentUploadSchema:
|
|
22
|
+
export declare const turnAttachmentUploadSchema: RuntimeSchema<{
|
|
19
23
|
readonly data: string;
|
|
20
24
|
readonly mediaType: string;
|
|
21
25
|
readonly name: string;
|
|
22
26
|
}>;
|
|
23
27
|
export type TurnAttachmentUpload = InferRuntimeSchema<typeof turnAttachmentUploadSchema>;
|
|
24
|
-
export declare const turnAttachmentPolicyParametersSchema:
|
|
28
|
+
export declare const turnAttachmentPolicyParametersSchema: RuntimeSchema<{
|
|
25
29
|
readonly sessionId: string;
|
|
26
30
|
}>;
|
|
27
31
|
export type TurnAttachmentPolicyParameters = InferRuntimeSchema<typeof turnAttachmentPolicyParametersSchema>;
|
|
28
|
-
export declare const turnAttachmentPolicyResultSchema:
|
|
32
|
+
export declare const turnAttachmentPolicyResultSchema: RuntimeSchema<{
|
|
29
33
|
readonly accepted: boolean;
|
|
30
34
|
readonly maxBytes: number;
|
|
31
35
|
readonly mediaTypes: readonly ("image/gif" | "image/jpeg" | "image/png" | "image/webp")[];
|
|
@@ -33,195 +37,60 @@ export declare const turnAttachmentPolicyResultSchema: import("../runtime-schema
|
|
|
33
37
|
readonly sessionId: string;
|
|
34
38
|
}>;
|
|
35
39
|
export type TurnAttachmentPolicyResult = InferRuntimeSchema<typeof turnAttachmentPolicyResultSchema>;
|
|
36
|
-
export declare const turnCancelParametersSchema:
|
|
40
|
+
export declare const turnCancelParametersSchema: RuntimeSchema<{
|
|
37
41
|
readonly commandId: string;
|
|
38
42
|
readonly expectedRevision: string;
|
|
39
43
|
readonly turnId: string;
|
|
40
44
|
}>;
|
|
41
45
|
export type TurnCancelParameters = InferRuntimeSchema<typeof turnCancelParametersSchema>;
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
type TurnDelivery = "duplicate" | "new";
|
|
47
|
+
type TurnSteerPath = TurnSteerPreviewResult["path"];
|
|
48
|
+
export type TurnCancelResult = {
|
|
49
|
+
readonly delivery: TurnDelivery;
|
|
44
50
|
readonly method: "turn.cancel";
|
|
45
51
|
readonly outcome: "already_dispatched" | "cancelled";
|
|
46
|
-
readonly receipt:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly state: "succeeded";
|
|
57
|
-
readonly target: {
|
|
58
|
-
readonly id: string;
|
|
59
|
-
readonly type: string;
|
|
60
|
-
};
|
|
61
|
-
readonly updatedAt: string;
|
|
62
|
-
};
|
|
63
|
-
readonly turn: {
|
|
64
|
-
readonly attachments?: readonly {
|
|
65
|
-
readonly byteLength: number;
|
|
66
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
67
|
-
readonly name: string;
|
|
68
|
-
readonly sha256: string;
|
|
69
|
-
}[] | undefined;
|
|
70
|
-
readonly createdAt: string;
|
|
71
|
-
readonly id: string;
|
|
72
|
-
readonly input: {
|
|
73
|
-
readonly text: string;
|
|
74
|
-
readonly type: "text";
|
|
75
|
-
};
|
|
76
|
-
readonly revision: string;
|
|
77
|
-
readonly schemaVersion: 1;
|
|
78
|
-
readonly sessionId: string;
|
|
79
|
-
readonly sessionRevision: string;
|
|
80
|
-
readonly updatedAt: string;
|
|
81
|
-
readonly state: "queued";
|
|
82
|
-
} | {
|
|
83
|
-
readonly attachments?: readonly {
|
|
84
|
-
readonly byteLength: number;
|
|
85
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
86
|
-
readonly name: string;
|
|
87
|
-
readonly sha256: string;
|
|
88
|
-
}[] | undefined;
|
|
89
|
-
readonly createdAt: string;
|
|
90
|
-
readonly id: string;
|
|
91
|
-
readonly input: {
|
|
92
|
-
readonly text: string;
|
|
93
|
-
readonly type: "text";
|
|
94
|
-
};
|
|
95
|
-
readonly revision: string;
|
|
96
|
-
readonly schemaVersion: 1;
|
|
97
|
-
readonly sessionId: string;
|
|
98
|
-
readonly sessionRevision: string;
|
|
99
|
-
readonly updatedAt: string;
|
|
100
|
-
readonly state: "dispatching";
|
|
101
|
-
} | {
|
|
102
|
-
readonly attachments?: readonly {
|
|
103
|
-
readonly byteLength: number;
|
|
104
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
105
|
-
readonly name: string;
|
|
106
|
-
readonly sha256: string;
|
|
107
|
-
}[] | undefined;
|
|
108
|
-
readonly createdAt: string;
|
|
109
|
-
readonly id: string;
|
|
110
|
-
readonly input: {
|
|
111
|
-
readonly text: string;
|
|
112
|
-
readonly type: "text";
|
|
113
|
-
};
|
|
114
|
-
readonly revision: string;
|
|
115
|
-
readonly schemaVersion: 1;
|
|
116
|
-
readonly sessionId: string;
|
|
117
|
-
readonly sessionRevision: string;
|
|
118
|
-
readonly updatedAt: string;
|
|
119
|
-
readonly state: "running";
|
|
120
|
-
} | {
|
|
121
|
-
readonly attachments?: readonly {
|
|
122
|
-
readonly byteLength: number;
|
|
123
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
124
|
-
readonly name: string;
|
|
125
|
-
readonly sha256: string;
|
|
126
|
-
}[] | undefined;
|
|
127
|
-
readonly createdAt: string;
|
|
128
|
-
readonly id: string;
|
|
129
|
-
readonly input: {
|
|
130
|
-
readonly text: string;
|
|
131
|
-
readonly type: "text";
|
|
132
|
-
};
|
|
133
|
-
readonly revision: string;
|
|
134
|
-
readonly schemaVersion: 1;
|
|
135
|
-
readonly sessionId: string;
|
|
136
|
-
readonly sessionRevision: string;
|
|
137
|
-
readonly updatedAt: string;
|
|
138
|
-
readonly responseText: string;
|
|
139
|
-
readonly state: "completed";
|
|
140
|
-
readonly tokenUsage?: {
|
|
141
|
-
readonly cachedInputTokens: number;
|
|
142
|
-
readonly contextTokens?: number | undefined;
|
|
143
|
-
readonly contextWindow?: number | undefined;
|
|
144
|
-
readonly inputTokens: number;
|
|
145
|
-
readonly modelCallCount?: number | undefined;
|
|
146
|
-
readonly outputTokens: number;
|
|
147
|
-
readonly reasoningOutputTokens: number;
|
|
148
|
-
readonly totalTokens: number;
|
|
149
|
-
} | undefined;
|
|
150
|
-
} | {
|
|
151
|
-
readonly attachments?: readonly {
|
|
152
|
-
readonly byteLength: number;
|
|
153
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
154
|
-
readonly name: string;
|
|
155
|
-
readonly sha256: string;
|
|
156
|
-
}[] | undefined;
|
|
157
|
-
readonly createdAt: string;
|
|
158
|
-
readonly id: string;
|
|
159
|
-
readonly input: {
|
|
160
|
-
readonly text: string;
|
|
161
|
-
readonly type: "text";
|
|
162
|
-
};
|
|
163
|
-
readonly revision: string;
|
|
164
|
-
readonly schemaVersion: 1;
|
|
165
|
-
readonly sessionId: string;
|
|
166
|
-
readonly sessionRevision: string;
|
|
167
|
-
readonly updatedAt: string;
|
|
168
|
-
readonly failure?: {
|
|
169
|
-
readonly code: string;
|
|
170
|
-
readonly message: string;
|
|
171
|
-
} | undefined;
|
|
172
|
-
readonly failureReason: "approval_required" | "repository_changed" | "runtime_failed" | "turn_rejected";
|
|
173
|
-
readonly state: "failed";
|
|
174
|
-
} | {
|
|
175
|
-
readonly attachments?: readonly {
|
|
176
|
-
readonly byteLength: number;
|
|
177
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
178
|
-
readonly name: string;
|
|
179
|
-
readonly sha256: string;
|
|
180
|
-
}[] | undefined;
|
|
181
|
-
readonly createdAt: string;
|
|
182
|
-
readonly id: string;
|
|
183
|
-
readonly input: {
|
|
184
|
-
readonly text: string;
|
|
185
|
-
readonly type: "text";
|
|
186
|
-
};
|
|
187
|
-
readonly revision: string;
|
|
188
|
-
readonly schemaVersion: 1;
|
|
189
|
-
readonly sessionId: string;
|
|
190
|
-
readonly sessionRevision: string;
|
|
191
|
-
readonly updatedAt: string;
|
|
192
|
-
readonly failure?: {
|
|
193
|
-
readonly code: string;
|
|
194
|
-
readonly message: string;
|
|
195
|
-
} | undefined;
|
|
196
|
-
readonly failureReason: "output_limit_exceeded" | "protocol_invalid" | "runtime_exited" | "turn_deadline_exceeded";
|
|
197
|
-
readonly state: "outcome-unknown";
|
|
198
|
-
} | {
|
|
199
|
-
readonly attachments?: readonly {
|
|
200
|
-
readonly byteLength: number;
|
|
201
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
202
|
-
readonly name: string;
|
|
203
|
-
readonly sha256: string;
|
|
204
|
-
}[] | undefined;
|
|
205
|
-
readonly createdAt: string;
|
|
206
|
-
readonly id: string;
|
|
207
|
-
readonly input: {
|
|
208
|
-
readonly text: string;
|
|
209
|
-
readonly type: "text";
|
|
210
|
-
};
|
|
211
|
-
readonly revision: string;
|
|
212
|
-
readonly schemaVersion: 1;
|
|
213
|
-
readonly sessionId: string;
|
|
214
|
-
readonly sessionRevision: string;
|
|
215
|
-
readonly updatedAt: string;
|
|
216
|
-
readonly state: "interrupted";
|
|
52
|
+
readonly receipt: CommandReceipt;
|
|
53
|
+
readonly turn: Turn;
|
|
54
|
+
};
|
|
55
|
+
export declare const turnCancelResultSchema: RuntimeSchema<TurnCancelResult>;
|
|
56
|
+
export declare const turnQueueEditParametersSchema: RuntimeSchema<{
|
|
57
|
+
readonly commandId: string;
|
|
58
|
+
readonly expectedRevision: string;
|
|
59
|
+
readonly input: {
|
|
60
|
+
readonly text: string;
|
|
61
|
+
readonly type: "text";
|
|
217
62
|
};
|
|
63
|
+
readonly turnId: string;
|
|
218
64
|
}>;
|
|
219
|
-
export type
|
|
220
|
-
export
|
|
65
|
+
export type TurnQueueEditParameters = InferRuntimeSchema<typeof turnQueueEditParametersSchema>;
|
|
66
|
+
export type TurnQueueEditResult = {
|
|
67
|
+
readonly delivery: TurnDelivery;
|
|
68
|
+
readonly method: "turn.queue.edit";
|
|
69
|
+
readonly receipt: CommandReceipt;
|
|
70
|
+
readonly turn: Turn;
|
|
71
|
+
};
|
|
72
|
+
export declare const turnQueueEditResultSchema: RuntimeSchema<TurnQueueEditResult>;
|
|
73
|
+
export declare const turnQueuePromoteParametersSchema: RuntimeSchema<{
|
|
74
|
+
readonly commandId: string;
|
|
75
|
+
readonly expectedRevision: string;
|
|
76
|
+
readonly turnId: string;
|
|
77
|
+
}>;
|
|
78
|
+
export type TurnQueuePromoteParameters = InferRuntimeSchema<typeof turnQueuePromoteParametersSchema>;
|
|
79
|
+
export type TurnQueuePromoteResult = {
|
|
80
|
+
readonly delivery: TurnDelivery;
|
|
81
|
+
readonly method: "turn.queue.promote";
|
|
82
|
+
readonly outcome: "already_dispatched" | "promoted";
|
|
83
|
+
readonly path?: Extract<TurnSteerPath, "interrupt-restart">;
|
|
84
|
+
readonly receipt: CommandReceipt;
|
|
85
|
+
readonly sourceTurnId?: string;
|
|
86
|
+
readonly turn: Turn;
|
|
87
|
+
};
|
|
88
|
+
export declare const turnQueuePromoteResultSchema: RuntimeSchema<TurnQueuePromoteResult>;
|
|
89
|
+
export declare const turnQueueListParametersSchema: RuntimeSchema<{
|
|
221
90
|
readonly sessionId: string;
|
|
222
91
|
}>;
|
|
223
92
|
export type TurnQueueListParameters = InferRuntimeSchema<typeof turnQueueListParametersSchema>;
|
|
224
|
-
export declare const turnQueueListResultSchema:
|
|
93
|
+
export declare const turnQueueListResultSchema: RuntimeSchema<{
|
|
225
94
|
readonly activeTurn?: {
|
|
226
95
|
readonly id: string;
|
|
227
96
|
readonly revision: string;
|
|
@@ -238,7 +107,7 @@ export declare const turnQueueListResultSchema: import("../runtime-schema/runtim
|
|
|
238
107
|
readonly sessionId: string;
|
|
239
108
|
}>;
|
|
240
109
|
export type TurnQueueListResult = InferRuntimeSchema<typeof turnQueueListResultSchema>;
|
|
241
|
-
export declare const turnSchema:
|
|
110
|
+
export declare const turnSchema: RuntimeSchema<{
|
|
242
111
|
readonly attachments?: readonly {
|
|
243
112
|
readonly byteLength: number;
|
|
244
113
|
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
@@ -394,12 +263,12 @@ export declare const turnSchema: import("../runtime-schema/runtime-schema.js").R
|
|
|
394
263
|
readonly state: "interrupted";
|
|
395
264
|
}>;
|
|
396
265
|
export type Turn = InferRuntimeSchema<typeof turnSchema>;
|
|
397
|
-
export declare const turnInputSchema:
|
|
266
|
+
export declare const turnInputSchema: RuntimeSchema<{
|
|
398
267
|
readonly text: string;
|
|
399
268
|
readonly type: "text";
|
|
400
269
|
}>;
|
|
401
270
|
export type TurnInput = InferRuntimeSchema<typeof turnInputSchema>;
|
|
402
|
-
export declare const turnTokenUsageSchema:
|
|
271
|
+
export declare const turnTokenUsageSchema: RuntimeSchema<{
|
|
403
272
|
readonly cachedInputTokens: number;
|
|
404
273
|
readonly contextTokens?: number | undefined;
|
|
405
274
|
readonly contextWindow?: number | undefined;
|
|
@@ -410,19 +279,20 @@ export declare const turnTokenUsageSchema: import("../runtime-schema/runtime-sch
|
|
|
410
279
|
readonly totalTokens: number;
|
|
411
280
|
}>;
|
|
412
281
|
export type TurnTokenUsage = InferRuntimeSchema<typeof turnTokenUsageSchema>;
|
|
413
|
-
export declare const turnInterruptParametersSchema:
|
|
282
|
+
export declare const turnInterruptParametersSchema: RuntimeSchema<{
|
|
414
283
|
readonly commandId: string;
|
|
415
284
|
readonly expectedRevision: string;
|
|
416
285
|
readonly turnId: string;
|
|
417
286
|
}>;
|
|
418
287
|
export type TurnInterruptParameters = InferRuntimeSchema<typeof turnInterruptParametersSchema>;
|
|
419
|
-
export declare const turnSendParametersSchema:
|
|
288
|
+
export declare const turnSendParametersSchema: RuntimeSchema<{
|
|
420
289
|
readonly attachments?: readonly {
|
|
421
290
|
readonly data: string;
|
|
422
291
|
readonly mediaType: string;
|
|
423
292
|
readonly name: string;
|
|
424
293
|
}[] | undefined;
|
|
425
294
|
readonly commandId: string;
|
|
295
|
+
readonly delivery?: "now" | "queue" | undefined;
|
|
426
296
|
readonly expectedRevision: string;
|
|
427
297
|
readonly input: {
|
|
428
298
|
readonly text: string;
|
|
@@ -431,524 +301,32 @@ export declare const turnSendParametersSchema: import("../runtime-schema/runtime
|
|
|
431
301
|
readonly sessionId: string;
|
|
432
302
|
}>;
|
|
433
303
|
export type TurnSendParameters = InferRuntimeSchema<typeof turnSendParametersSchema>;
|
|
434
|
-
export declare const turnShowParametersSchema:
|
|
304
|
+
export declare const turnShowParametersSchema: RuntimeSchema<{
|
|
435
305
|
readonly turnId: string;
|
|
436
306
|
}>;
|
|
437
307
|
export type TurnShowParameters = InferRuntimeSchema<typeof turnShowParametersSchema>;
|
|
438
|
-
export
|
|
439
|
-
readonly delivery:
|
|
308
|
+
export type TurnInterruptResult = {
|
|
309
|
+
readonly delivery: TurnDelivery;
|
|
440
310
|
readonly method: "turn.interrupt";
|
|
441
|
-
readonly receipt:
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
readonly method: string;
|
|
448
|
-
readonly proposedBy?: string | undefined;
|
|
449
|
-
readonly receiptId: string;
|
|
450
|
-
readonly schemaVersion: 1;
|
|
451
|
-
readonly state: "succeeded";
|
|
452
|
-
readonly target: {
|
|
453
|
-
readonly id: string;
|
|
454
|
-
readonly type: string;
|
|
455
|
-
};
|
|
456
|
-
readonly updatedAt: string;
|
|
457
|
-
};
|
|
458
|
-
readonly turn: {
|
|
459
|
-
readonly attachments?: readonly {
|
|
460
|
-
readonly byteLength: number;
|
|
461
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
462
|
-
readonly name: string;
|
|
463
|
-
readonly sha256: string;
|
|
464
|
-
}[] | undefined;
|
|
465
|
-
readonly createdAt: string;
|
|
466
|
-
readonly id: string;
|
|
467
|
-
readonly input: {
|
|
468
|
-
readonly text: string;
|
|
469
|
-
readonly type: "text";
|
|
470
|
-
};
|
|
471
|
-
readonly revision: string;
|
|
472
|
-
readonly schemaVersion: 1;
|
|
473
|
-
readonly sessionId: string;
|
|
474
|
-
readonly sessionRevision: string;
|
|
475
|
-
readonly updatedAt: string;
|
|
476
|
-
readonly state: "queued";
|
|
477
|
-
} | {
|
|
478
|
-
readonly attachments?: readonly {
|
|
479
|
-
readonly byteLength: number;
|
|
480
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
481
|
-
readonly name: string;
|
|
482
|
-
readonly sha256: string;
|
|
483
|
-
}[] | undefined;
|
|
484
|
-
readonly createdAt: string;
|
|
485
|
-
readonly id: string;
|
|
486
|
-
readonly input: {
|
|
487
|
-
readonly text: string;
|
|
488
|
-
readonly type: "text";
|
|
489
|
-
};
|
|
490
|
-
readonly revision: string;
|
|
491
|
-
readonly schemaVersion: 1;
|
|
492
|
-
readonly sessionId: string;
|
|
493
|
-
readonly sessionRevision: string;
|
|
494
|
-
readonly updatedAt: string;
|
|
495
|
-
readonly state: "dispatching";
|
|
496
|
-
} | {
|
|
497
|
-
readonly attachments?: readonly {
|
|
498
|
-
readonly byteLength: number;
|
|
499
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
500
|
-
readonly name: string;
|
|
501
|
-
readonly sha256: string;
|
|
502
|
-
}[] | undefined;
|
|
503
|
-
readonly createdAt: string;
|
|
504
|
-
readonly id: string;
|
|
505
|
-
readonly input: {
|
|
506
|
-
readonly text: string;
|
|
507
|
-
readonly type: "text";
|
|
508
|
-
};
|
|
509
|
-
readonly revision: string;
|
|
510
|
-
readonly schemaVersion: 1;
|
|
511
|
-
readonly sessionId: string;
|
|
512
|
-
readonly sessionRevision: string;
|
|
513
|
-
readonly updatedAt: string;
|
|
514
|
-
readonly state: "running";
|
|
515
|
-
} | {
|
|
516
|
-
readonly attachments?: readonly {
|
|
517
|
-
readonly byteLength: number;
|
|
518
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
519
|
-
readonly name: string;
|
|
520
|
-
readonly sha256: string;
|
|
521
|
-
}[] | undefined;
|
|
522
|
-
readonly createdAt: string;
|
|
523
|
-
readonly id: string;
|
|
524
|
-
readonly input: {
|
|
525
|
-
readonly text: string;
|
|
526
|
-
readonly type: "text";
|
|
527
|
-
};
|
|
528
|
-
readonly revision: string;
|
|
529
|
-
readonly schemaVersion: 1;
|
|
530
|
-
readonly sessionId: string;
|
|
531
|
-
readonly sessionRevision: string;
|
|
532
|
-
readonly updatedAt: string;
|
|
533
|
-
readonly responseText: string;
|
|
534
|
-
readonly state: "completed";
|
|
535
|
-
readonly tokenUsage?: {
|
|
536
|
-
readonly cachedInputTokens: number;
|
|
537
|
-
readonly contextTokens?: number | undefined;
|
|
538
|
-
readonly contextWindow?: number | undefined;
|
|
539
|
-
readonly inputTokens: number;
|
|
540
|
-
readonly modelCallCount?: number | undefined;
|
|
541
|
-
readonly outputTokens: number;
|
|
542
|
-
readonly reasoningOutputTokens: number;
|
|
543
|
-
readonly totalTokens: number;
|
|
544
|
-
} | undefined;
|
|
545
|
-
} | {
|
|
546
|
-
readonly attachments?: readonly {
|
|
547
|
-
readonly byteLength: number;
|
|
548
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
549
|
-
readonly name: string;
|
|
550
|
-
readonly sha256: string;
|
|
551
|
-
}[] | undefined;
|
|
552
|
-
readonly createdAt: string;
|
|
553
|
-
readonly id: string;
|
|
554
|
-
readonly input: {
|
|
555
|
-
readonly text: string;
|
|
556
|
-
readonly type: "text";
|
|
557
|
-
};
|
|
558
|
-
readonly revision: string;
|
|
559
|
-
readonly schemaVersion: 1;
|
|
560
|
-
readonly sessionId: string;
|
|
561
|
-
readonly sessionRevision: string;
|
|
562
|
-
readonly updatedAt: string;
|
|
563
|
-
readonly failure?: {
|
|
564
|
-
readonly code: string;
|
|
565
|
-
readonly message: string;
|
|
566
|
-
} | undefined;
|
|
567
|
-
readonly failureReason: "approval_required" | "repository_changed" | "runtime_failed" | "turn_rejected";
|
|
568
|
-
readonly state: "failed";
|
|
569
|
-
} | {
|
|
570
|
-
readonly attachments?: readonly {
|
|
571
|
-
readonly byteLength: number;
|
|
572
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
573
|
-
readonly name: string;
|
|
574
|
-
readonly sha256: string;
|
|
575
|
-
}[] | undefined;
|
|
576
|
-
readonly createdAt: string;
|
|
577
|
-
readonly id: string;
|
|
578
|
-
readonly input: {
|
|
579
|
-
readonly text: string;
|
|
580
|
-
readonly type: "text";
|
|
581
|
-
};
|
|
582
|
-
readonly revision: string;
|
|
583
|
-
readonly schemaVersion: 1;
|
|
584
|
-
readonly sessionId: string;
|
|
585
|
-
readonly sessionRevision: string;
|
|
586
|
-
readonly updatedAt: string;
|
|
587
|
-
readonly failure?: {
|
|
588
|
-
readonly code: string;
|
|
589
|
-
readonly message: string;
|
|
590
|
-
} | undefined;
|
|
591
|
-
readonly failureReason: "output_limit_exceeded" | "protocol_invalid" | "runtime_exited" | "turn_deadline_exceeded";
|
|
592
|
-
readonly state: "outcome-unknown";
|
|
593
|
-
} | {
|
|
594
|
-
readonly attachments?: readonly {
|
|
595
|
-
readonly byteLength: number;
|
|
596
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
597
|
-
readonly name: string;
|
|
598
|
-
readonly sha256: string;
|
|
599
|
-
}[] | undefined;
|
|
600
|
-
readonly createdAt: string;
|
|
601
|
-
readonly id: string;
|
|
602
|
-
readonly input: {
|
|
603
|
-
readonly text: string;
|
|
604
|
-
readonly type: "text";
|
|
605
|
-
};
|
|
606
|
-
readonly revision: string;
|
|
607
|
-
readonly schemaVersion: 1;
|
|
608
|
-
readonly sessionId: string;
|
|
609
|
-
readonly sessionRevision: string;
|
|
610
|
-
readonly updatedAt: string;
|
|
611
|
-
readonly state: "interrupted";
|
|
612
|
-
};
|
|
613
|
-
}>;
|
|
614
|
-
export type TurnInterruptResult = InferRuntimeSchema<typeof turnInterruptResultSchema>;
|
|
615
|
-
export declare const turnSendResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
616
|
-
readonly delivery: "duplicate" | "new";
|
|
311
|
+
readonly receipt: CommandReceipt;
|
|
312
|
+
readonly turn: Turn;
|
|
313
|
+
};
|
|
314
|
+
export declare const turnInterruptResultSchema: RuntimeSchema<TurnInterruptResult>;
|
|
315
|
+
export type TurnSendResult = {
|
|
316
|
+
readonly delivery: TurnDelivery;
|
|
617
317
|
readonly method: "turn.send";
|
|
618
|
-
readonly
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
readonly proposedBy?: string | undefined;
|
|
626
|
-
readonly receiptId: string;
|
|
627
|
-
readonly schemaVersion: 1;
|
|
628
|
-
readonly state: "succeeded";
|
|
629
|
-
readonly target: {
|
|
630
|
-
readonly id: string;
|
|
631
|
-
readonly type: string;
|
|
632
|
-
};
|
|
633
|
-
readonly updatedAt: string;
|
|
634
|
-
};
|
|
635
|
-
readonly turn: {
|
|
636
|
-
readonly attachments?: readonly {
|
|
637
|
-
readonly byteLength: number;
|
|
638
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
639
|
-
readonly name: string;
|
|
640
|
-
readonly sha256: string;
|
|
641
|
-
}[] | undefined;
|
|
642
|
-
readonly createdAt: string;
|
|
643
|
-
readonly id: string;
|
|
644
|
-
readonly input: {
|
|
645
|
-
readonly text: string;
|
|
646
|
-
readonly type: "text";
|
|
647
|
-
};
|
|
648
|
-
readonly revision: string;
|
|
649
|
-
readonly schemaVersion: 1;
|
|
650
|
-
readonly sessionId: string;
|
|
651
|
-
readonly sessionRevision: string;
|
|
652
|
-
readonly updatedAt: string;
|
|
653
|
-
readonly state: "queued";
|
|
654
|
-
} | {
|
|
655
|
-
readonly attachments?: readonly {
|
|
656
|
-
readonly byteLength: number;
|
|
657
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
658
|
-
readonly name: string;
|
|
659
|
-
readonly sha256: string;
|
|
660
|
-
}[] | undefined;
|
|
661
|
-
readonly createdAt: string;
|
|
662
|
-
readonly id: string;
|
|
663
|
-
readonly input: {
|
|
664
|
-
readonly text: string;
|
|
665
|
-
readonly type: "text";
|
|
666
|
-
};
|
|
667
|
-
readonly revision: string;
|
|
668
|
-
readonly schemaVersion: 1;
|
|
669
|
-
readonly sessionId: string;
|
|
670
|
-
readonly sessionRevision: string;
|
|
671
|
-
readonly updatedAt: string;
|
|
672
|
-
readonly state: "dispatching";
|
|
673
|
-
} | {
|
|
674
|
-
readonly attachments?: readonly {
|
|
675
|
-
readonly byteLength: number;
|
|
676
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
677
|
-
readonly name: string;
|
|
678
|
-
readonly sha256: string;
|
|
679
|
-
}[] | undefined;
|
|
680
|
-
readonly createdAt: string;
|
|
681
|
-
readonly id: string;
|
|
682
|
-
readonly input: {
|
|
683
|
-
readonly text: string;
|
|
684
|
-
readonly type: "text";
|
|
685
|
-
};
|
|
686
|
-
readonly revision: string;
|
|
687
|
-
readonly schemaVersion: 1;
|
|
688
|
-
readonly sessionId: string;
|
|
689
|
-
readonly sessionRevision: string;
|
|
690
|
-
readonly updatedAt: string;
|
|
691
|
-
readonly state: "running";
|
|
692
|
-
} | {
|
|
693
|
-
readonly attachments?: readonly {
|
|
694
|
-
readonly byteLength: number;
|
|
695
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
696
|
-
readonly name: string;
|
|
697
|
-
readonly sha256: string;
|
|
698
|
-
}[] | undefined;
|
|
699
|
-
readonly createdAt: string;
|
|
700
|
-
readonly id: string;
|
|
701
|
-
readonly input: {
|
|
702
|
-
readonly text: string;
|
|
703
|
-
readonly type: "text";
|
|
704
|
-
};
|
|
705
|
-
readonly revision: string;
|
|
706
|
-
readonly schemaVersion: 1;
|
|
707
|
-
readonly sessionId: string;
|
|
708
|
-
readonly sessionRevision: string;
|
|
709
|
-
readonly updatedAt: string;
|
|
710
|
-
readonly responseText: string;
|
|
711
|
-
readonly state: "completed";
|
|
712
|
-
readonly tokenUsage?: {
|
|
713
|
-
readonly cachedInputTokens: number;
|
|
714
|
-
readonly contextTokens?: number | undefined;
|
|
715
|
-
readonly contextWindow?: number | undefined;
|
|
716
|
-
readonly inputTokens: number;
|
|
717
|
-
readonly modelCallCount?: number | undefined;
|
|
718
|
-
readonly outputTokens: number;
|
|
719
|
-
readonly reasoningOutputTokens: number;
|
|
720
|
-
readonly totalTokens: number;
|
|
721
|
-
} | undefined;
|
|
722
|
-
} | {
|
|
723
|
-
readonly attachments?: readonly {
|
|
724
|
-
readonly byteLength: number;
|
|
725
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
726
|
-
readonly name: string;
|
|
727
|
-
readonly sha256: string;
|
|
728
|
-
}[] | undefined;
|
|
729
|
-
readonly createdAt: string;
|
|
730
|
-
readonly id: string;
|
|
731
|
-
readonly input: {
|
|
732
|
-
readonly text: string;
|
|
733
|
-
readonly type: "text";
|
|
734
|
-
};
|
|
735
|
-
readonly revision: string;
|
|
736
|
-
readonly schemaVersion: 1;
|
|
737
|
-
readonly sessionId: string;
|
|
738
|
-
readonly sessionRevision: string;
|
|
739
|
-
readonly updatedAt: string;
|
|
740
|
-
readonly failure?: {
|
|
741
|
-
readonly code: string;
|
|
742
|
-
readonly message: string;
|
|
743
|
-
} | undefined;
|
|
744
|
-
readonly failureReason: "approval_required" | "repository_changed" | "runtime_failed" | "turn_rejected";
|
|
745
|
-
readonly state: "failed";
|
|
746
|
-
} | {
|
|
747
|
-
readonly attachments?: readonly {
|
|
748
|
-
readonly byteLength: number;
|
|
749
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
750
|
-
readonly name: string;
|
|
751
|
-
readonly sha256: string;
|
|
752
|
-
}[] | undefined;
|
|
753
|
-
readonly createdAt: string;
|
|
754
|
-
readonly id: string;
|
|
755
|
-
readonly input: {
|
|
756
|
-
readonly text: string;
|
|
757
|
-
readonly type: "text";
|
|
758
|
-
};
|
|
759
|
-
readonly revision: string;
|
|
760
|
-
readonly schemaVersion: 1;
|
|
761
|
-
readonly sessionId: string;
|
|
762
|
-
readonly sessionRevision: string;
|
|
763
|
-
readonly updatedAt: string;
|
|
764
|
-
readonly failure?: {
|
|
765
|
-
readonly code: string;
|
|
766
|
-
readonly message: string;
|
|
767
|
-
} | undefined;
|
|
768
|
-
readonly failureReason: "output_limit_exceeded" | "protocol_invalid" | "runtime_exited" | "turn_deadline_exceeded";
|
|
769
|
-
readonly state: "outcome-unknown";
|
|
770
|
-
} | {
|
|
771
|
-
readonly attachments?: readonly {
|
|
772
|
-
readonly byteLength: number;
|
|
773
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
774
|
-
readonly name: string;
|
|
775
|
-
readonly sha256: string;
|
|
776
|
-
}[] | undefined;
|
|
777
|
-
readonly createdAt: string;
|
|
778
|
-
readonly id: string;
|
|
779
|
-
readonly input: {
|
|
780
|
-
readonly text: string;
|
|
781
|
-
readonly type: "text";
|
|
782
|
-
};
|
|
783
|
-
readonly revision: string;
|
|
784
|
-
readonly schemaVersion: 1;
|
|
785
|
-
readonly sessionId: string;
|
|
786
|
-
readonly sessionRevision: string;
|
|
787
|
-
readonly updatedAt: string;
|
|
788
|
-
readonly state: "interrupted";
|
|
789
|
-
};
|
|
790
|
-
}>;
|
|
791
|
-
export type TurnSendResult = InferRuntimeSchema<typeof turnSendResultSchema>;
|
|
792
|
-
export declare const turnShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
318
|
+
readonly path?: TurnSteerPath;
|
|
319
|
+
readonly receipt: CommandReceipt;
|
|
320
|
+
readonly sourceTurnId?: string;
|
|
321
|
+
readonly turn: Turn;
|
|
322
|
+
};
|
|
323
|
+
export declare const turnSendResultSchema: RuntimeSchema<TurnSendResult>;
|
|
324
|
+
export type TurnShowResult = {
|
|
793
325
|
readonly method: "turn.show";
|
|
794
|
-
readonly turn:
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
readonly name: string;
|
|
799
|
-
readonly sha256: string;
|
|
800
|
-
}[] | undefined;
|
|
801
|
-
readonly createdAt: string;
|
|
802
|
-
readonly id: string;
|
|
803
|
-
readonly input: {
|
|
804
|
-
readonly text: string;
|
|
805
|
-
readonly type: "text";
|
|
806
|
-
};
|
|
807
|
-
readonly revision: string;
|
|
808
|
-
readonly schemaVersion: 1;
|
|
809
|
-
readonly sessionId: string;
|
|
810
|
-
readonly sessionRevision: string;
|
|
811
|
-
readonly updatedAt: string;
|
|
812
|
-
readonly state: "queued";
|
|
813
|
-
} | {
|
|
814
|
-
readonly attachments?: readonly {
|
|
815
|
-
readonly byteLength: number;
|
|
816
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
817
|
-
readonly name: string;
|
|
818
|
-
readonly sha256: string;
|
|
819
|
-
}[] | undefined;
|
|
820
|
-
readonly createdAt: string;
|
|
821
|
-
readonly id: string;
|
|
822
|
-
readonly input: {
|
|
823
|
-
readonly text: string;
|
|
824
|
-
readonly type: "text";
|
|
825
|
-
};
|
|
826
|
-
readonly revision: string;
|
|
827
|
-
readonly schemaVersion: 1;
|
|
828
|
-
readonly sessionId: string;
|
|
829
|
-
readonly sessionRevision: string;
|
|
830
|
-
readonly updatedAt: string;
|
|
831
|
-
readonly state: "dispatching";
|
|
832
|
-
} | {
|
|
833
|
-
readonly attachments?: readonly {
|
|
834
|
-
readonly byteLength: number;
|
|
835
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
836
|
-
readonly name: string;
|
|
837
|
-
readonly sha256: string;
|
|
838
|
-
}[] | undefined;
|
|
839
|
-
readonly createdAt: string;
|
|
840
|
-
readonly id: string;
|
|
841
|
-
readonly input: {
|
|
842
|
-
readonly text: string;
|
|
843
|
-
readonly type: "text";
|
|
844
|
-
};
|
|
845
|
-
readonly revision: string;
|
|
846
|
-
readonly schemaVersion: 1;
|
|
847
|
-
readonly sessionId: string;
|
|
848
|
-
readonly sessionRevision: string;
|
|
849
|
-
readonly updatedAt: string;
|
|
850
|
-
readonly state: "running";
|
|
851
|
-
} | {
|
|
852
|
-
readonly attachments?: readonly {
|
|
853
|
-
readonly byteLength: number;
|
|
854
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
855
|
-
readonly name: string;
|
|
856
|
-
readonly sha256: string;
|
|
857
|
-
}[] | undefined;
|
|
858
|
-
readonly createdAt: string;
|
|
859
|
-
readonly id: string;
|
|
860
|
-
readonly input: {
|
|
861
|
-
readonly text: string;
|
|
862
|
-
readonly type: "text";
|
|
863
|
-
};
|
|
864
|
-
readonly revision: string;
|
|
865
|
-
readonly schemaVersion: 1;
|
|
866
|
-
readonly sessionId: string;
|
|
867
|
-
readonly sessionRevision: string;
|
|
868
|
-
readonly updatedAt: string;
|
|
869
|
-
readonly responseText: string;
|
|
870
|
-
readonly state: "completed";
|
|
871
|
-
readonly tokenUsage?: {
|
|
872
|
-
readonly cachedInputTokens: number;
|
|
873
|
-
readonly contextTokens?: number | undefined;
|
|
874
|
-
readonly contextWindow?: number | undefined;
|
|
875
|
-
readonly inputTokens: number;
|
|
876
|
-
readonly modelCallCount?: number | undefined;
|
|
877
|
-
readonly outputTokens: number;
|
|
878
|
-
readonly reasoningOutputTokens: number;
|
|
879
|
-
readonly totalTokens: number;
|
|
880
|
-
} | undefined;
|
|
881
|
-
} | {
|
|
882
|
-
readonly attachments?: readonly {
|
|
883
|
-
readonly byteLength: number;
|
|
884
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
885
|
-
readonly name: string;
|
|
886
|
-
readonly sha256: string;
|
|
887
|
-
}[] | undefined;
|
|
888
|
-
readonly createdAt: string;
|
|
889
|
-
readonly id: string;
|
|
890
|
-
readonly input: {
|
|
891
|
-
readonly text: string;
|
|
892
|
-
readonly type: "text";
|
|
893
|
-
};
|
|
894
|
-
readonly revision: string;
|
|
895
|
-
readonly schemaVersion: 1;
|
|
896
|
-
readonly sessionId: string;
|
|
897
|
-
readonly sessionRevision: string;
|
|
898
|
-
readonly updatedAt: string;
|
|
899
|
-
readonly failure?: {
|
|
900
|
-
readonly code: string;
|
|
901
|
-
readonly message: string;
|
|
902
|
-
} | undefined;
|
|
903
|
-
readonly failureReason: "approval_required" | "repository_changed" | "runtime_failed" | "turn_rejected";
|
|
904
|
-
readonly state: "failed";
|
|
905
|
-
} | {
|
|
906
|
-
readonly attachments?: readonly {
|
|
907
|
-
readonly byteLength: number;
|
|
908
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
909
|
-
readonly name: string;
|
|
910
|
-
readonly sha256: string;
|
|
911
|
-
}[] | undefined;
|
|
912
|
-
readonly createdAt: string;
|
|
913
|
-
readonly id: string;
|
|
914
|
-
readonly input: {
|
|
915
|
-
readonly text: string;
|
|
916
|
-
readonly type: "text";
|
|
917
|
-
};
|
|
918
|
-
readonly revision: string;
|
|
919
|
-
readonly schemaVersion: 1;
|
|
920
|
-
readonly sessionId: string;
|
|
921
|
-
readonly sessionRevision: string;
|
|
922
|
-
readonly updatedAt: string;
|
|
923
|
-
readonly failure?: {
|
|
924
|
-
readonly code: string;
|
|
925
|
-
readonly message: string;
|
|
926
|
-
} | undefined;
|
|
927
|
-
readonly failureReason: "output_limit_exceeded" | "protocol_invalid" | "runtime_exited" | "turn_deadline_exceeded";
|
|
928
|
-
readonly state: "outcome-unknown";
|
|
929
|
-
} | {
|
|
930
|
-
readonly attachments?: readonly {
|
|
931
|
-
readonly byteLength: number;
|
|
932
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
933
|
-
readonly name: string;
|
|
934
|
-
readonly sha256: string;
|
|
935
|
-
}[] | undefined;
|
|
936
|
-
readonly createdAt: string;
|
|
937
|
-
readonly id: string;
|
|
938
|
-
readonly input: {
|
|
939
|
-
readonly text: string;
|
|
940
|
-
readonly type: "text";
|
|
941
|
-
};
|
|
942
|
-
readonly revision: string;
|
|
943
|
-
readonly schemaVersion: 1;
|
|
944
|
-
readonly sessionId: string;
|
|
945
|
-
readonly sessionRevision: string;
|
|
946
|
-
readonly updatedAt: string;
|
|
947
|
-
readonly state: "interrupted";
|
|
948
|
-
};
|
|
949
|
-
}>;
|
|
950
|
-
export type TurnShowResult = InferRuntimeSchema<typeof turnShowResultSchema>;
|
|
951
|
-
export declare const turnSteerPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
326
|
+
readonly turn: Turn;
|
|
327
|
+
};
|
|
328
|
+
export declare const turnShowResultSchema: RuntimeSchema<TurnShowResult>;
|
|
329
|
+
export declare const turnSteerPreviewParametersSchema: RuntimeSchema<{
|
|
952
330
|
readonly commandId: string;
|
|
953
331
|
readonly expectedRevision: string;
|
|
954
332
|
readonly input: {
|
|
@@ -958,7 +336,7 @@ export declare const turnSteerPreviewParametersSchema: import("../runtime-schema
|
|
|
958
336
|
readonly turnId: string;
|
|
959
337
|
}>;
|
|
960
338
|
export type TurnSteerPreviewParameters = InferRuntimeSchema<typeof turnSteerPreviewParametersSchema>;
|
|
961
|
-
export declare const turnSteerPreviewResultSchema:
|
|
339
|
+
export declare const turnSteerPreviewResultSchema: RuntimeSchema<{
|
|
962
340
|
readonly commandId: string;
|
|
963
341
|
readonly expectedRevision: string;
|
|
964
342
|
readonly input: {
|
|
@@ -973,7 +351,7 @@ export declare const turnSteerPreviewResultSchema: import("../runtime-schema/run
|
|
|
973
351
|
readonly path: "interrupt-restart" | "native";
|
|
974
352
|
}>;
|
|
975
353
|
export type TurnSteerPreviewResult = InferRuntimeSchema<typeof turnSteerPreviewResultSchema>;
|
|
976
|
-
export declare const turnSteerConfirmParametersSchema:
|
|
354
|
+
export declare const turnSteerConfirmParametersSchema: RuntimeSchema<{
|
|
977
355
|
readonly commandId: string;
|
|
978
356
|
readonly expectedRevision: string;
|
|
979
357
|
readonly input: {
|
|
@@ -986,338 +364,15 @@ export declare const turnSteerConfirmParametersSchema: import("../runtime-schema
|
|
|
986
364
|
readonly validUntil: string;
|
|
987
365
|
}>;
|
|
988
366
|
export type TurnSteerConfirmParameters = InferRuntimeSchema<typeof turnSteerConfirmParametersSchema>;
|
|
989
|
-
export
|
|
990
|
-
readonly delivery:
|
|
367
|
+
export type TurnSteerConfirmResult = {
|
|
368
|
+
readonly delivery: TurnDelivery;
|
|
991
369
|
readonly method: "turn.steer.confirm";
|
|
992
|
-
readonly path:
|
|
993
|
-
readonly receipt:
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
readonly proposedBy?: string | undefined;
|
|
1001
|
-
readonly receiptId: string;
|
|
1002
|
-
readonly schemaVersion: 1;
|
|
1003
|
-
readonly state: "succeeded";
|
|
1004
|
-
readonly target: {
|
|
1005
|
-
readonly id: string;
|
|
1006
|
-
readonly type: string;
|
|
1007
|
-
};
|
|
1008
|
-
readonly updatedAt: string;
|
|
1009
|
-
};
|
|
1010
|
-
readonly source: {
|
|
1011
|
-
readonly attachments?: readonly {
|
|
1012
|
-
readonly byteLength: number;
|
|
1013
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1014
|
-
readonly name: string;
|
|
1015
|
-
readonly sha256: string;
|
|
1016
|
-
}[] | undefined;
|
|
1017
|
-
readonly createdAt: string;
|
|
1018
|
-
readonly id: string;
|
|
1019
|
-
readonly input: {
|
|
1020
|
-
readonly text: string;
|
|
1021
|
-
readonly type: "text";
|
|
1022
|
-
};
|
|
1023
|
-
readonly revision: string;
|
|
1024
|
-
readonly schemaVersion: 1;
|
|
1025
|
-
readonly sessionId: string;
|
|
1026
|
-
readonly sessionRevision: string;
|
|
1027
|
-
readonly updatedAt: string;
|
|
1028
|
-
readonly state: "queued";
|
|
1029
|
-
} | {
|
|
1030
|
-
readonly attachments?: readonly {
|
|
1031
|
-
readonly byteLength: number;
|
|
1032
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1033
|
-
readonly name: string;
|
|
1034
|
-
readonly sha256: string;
|
|
1035
|
-
}[] | undefined;
|
|
1036
|
-
readonly createdAt: string;
|
|
1037
|
-
readonly id: string;
|
|
1038
|
-
readonly input: {
|
|
1039
|
-
readonly text: string;
|
|
1040
|
-
readonly type: "text";
|
|
1041
|
-
};
|
|
1042
|
-
readonly revision: string;
|
|
1043
|
-
readonly schemaVersion: 1;
|
|
1044
|
-
readonly sessionId: string;
|
|
1045
|
-
readonly sessionRevision: string;
|
|
1046
|
-
readonly updatedAt: string;
|
|
1047
|
-
readonly state: "dispatching";
|
|
1048
|
-
} | {
|
|
1049
|
-
readonly attachments?: readonly {
|
|
1050
|
-
readonly byteLength: number;
|
|
1051
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1052
|
-
readonly name: string;
|
|
1053
|
-
readonly sha256: string;
|
|
1054
|
-
}[] | undefined;
|
|
1055
|
-
readonly createdAt: string;
|
|
1056
|
-
readonly id: string;
|
|
1057
|
-
readonly input: {
|
|
1058
|
-
readonly text: string;
|
|
1059
|
-
readonly type: "text";
|
|
1060
|
-
};
|
|
1061
|
-
readonly revision: string;
|
|
1062
|
-
readonly schemaVersion: 1;
|
|
1063
|
-
readonly sessionId: string;
|
|
1064
|
-
readonly sessionRevision: string;
|
|
1065
|
-
readonly updatedAt: string;
|
|
1066
|
-
readonly state: "running";
|
|
1067
|
-
} | {
|
|
1068
|
-
readonly attachments?: readonly {
|
|
1069
|
-
readonly byteLength: number;
|
|
1070
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1071
|
-
readonly name: string;
|
|
1072
|
-
readonly sha256: string;
|
|
1073
|
-
}[] | undefined;
|
|
1074
|
-
readonly createdAt: string;
|
|
1075
|
-
readonly id: string;
|
|
1076
|
-
readonly input: {
|
|
1077
|
-
readonly text: string;
|
|
1078
|
-
readonly type: "text";
|
|
1079
|
-
};
|
|
1080
|
-
readonly revision: string;
|
|
1081
|
-
readonly schemaVersion: 1;
|
|
1082
|
-
readonly sessionId: string;
|
|
1083
|
-
readonly sessionRevision: string;
|
|
1084
|
-
readonly updatedAt: string;
|
|
1085
|
-
readonly responseText: string;
|
|
1086
|
-
readonly state: "completed";
|
|
1087
|
-
readonly tokenUsage?: {
|
|
1088
|
-
readonly cachedInputTokens: number;
|
|
1089
|
-
readonly contextTokens?: number | undefined;
|
|
1090
|
-
readonly contextWindow?: number | undefined;
|
|
1091
|
-
readonly inputTokens: number;
|
|
1092
|
-
readonly modelCallCount?: number | undefined;
|
|
1093
|
-
readonly outputTokens: number;
|
|
1094
|
-
readonly reasoningOutputTokens: number;
|
|
1095
|
-
readonly totalTokens: number;
|
|
1096
|
-
} | undefined;
|
|
1097
|
-
} | {
|
|
1098
|
-
readonly attachments?: readonly {
|
|
1099
|
-
readonly byteLength: number;
|
|
1100
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1101
|
-
readonly name: string;
|
|
1102
|
-
readonly sha256: string;
|
|
1103
|
-
}[] | undefined;
|
|
1104
|
-
readonly createdAt: string;
|
|
1105
|
-
readonly id: string;
|
|
1106
|
-
readonly input: {
|
|
1107
|
-
readonly text: string;
|
|
1108
|
-
readonly type: "text";
|
|
1109
|
-
};
|
|
1110
|
-
readonly revision: string;
|
|
1111
|
-
readonly schemaVersion: 1;
|
|
1112
|
-
readonly sessionId: string;
|
|
1113
|
-
readonly sessionRevision: string;
|
|
1114
|
-
readonly updatedAt: string;
|
|
1115
|
-
readonly failure?: {
|
|
1116
|
-
readonly code: string;
|
|
1117
|
-
readonly message: string;
|
|
1118
|
-
} | undefined;
|
|
1119
|
-
readonly failureReason: "approval_required" | "repository_changed" | "runtime_failed" | "turn_rejected";
|
|
1120
|
-
readonly state: "failed";
|
|
1121
|
-
} | {
|
|
1122
|
-
readonly attachments?: readonly {
|
|
1123
|
-
readonly byteLength: number;
|
|
1124
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1125
|
-
readonly name: string;
|
|
1126
|
-
readonly sha256: string;
|
|
1127
|
-
}[] | undefined;
|
|
1128
|
-
readonly createdAt: string;
|
|
1129
|
-
readonly id: string;
|
|
1130
|
-
readonly input: {
|
|
1131
|
-
readonly text: string;
|
|
1132
|
-
readonly type: "text";
|
|
1133
|
-
};
|
|
1134
|
-
readonly revision: string;
|
|
1135
|
-
readonly schemaVersion: 1;
|
|
1136
|
-
readonly sessionId: string;
|
|
1137
|
-
readonly sessionRevision: string;
|
|
1138
|
-
readonly updatedAt: string;
|
|
1139
|
-
readonly failure?: {
|
|
1140
|
-
readonly code: string;
|
|
1141
|
-
readonly message: string;
|
|
1142
|
-
} | undefined;
|
|
1143
|
-
readonly failureReason: "output_limit_exceeded" | "protocol_invalid" | "runtime_exited" | "turn_deadline_exceeded";
|
|
1144
|
-
readonly state: "outcome-unknown";
|
|
1145
|
-
} | {
|
|
1146
|
-
readonly attachments?: readonly {
|
|
1147
|
-
readonly byteLength: number;
|
|
1148
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1149
|
-
readonly name: string;
|
|
1150
|
-
readonly sha256: string;
|
|
1151
|
-
}[] | undefined;
|
|
1152
|
-
readonly createdAt: string;
|
|
1153
|
-
readonly id: string;
|
|
1154
|
-
readonly input: {
|
|
1155
|
-
readonly text: string;
|
|
1156
|
-
readonly type: "text";
|
|
1157
|
-
};
|
|
1158
|
-
readonly revision: string;
|
|
1159
|
-
readonly schemaVersion: 1;
|
|
1160
|
-
readonly sessionId: string;
|
|
1161
|
-
readonly sessionRevision: string;
|
|
1162
|
-
readonly updatedAt: string;
|
|
1163
|
-
readonly state: "interrupted";
|
|
1164
|
-
};
|
|
1165
|
-
readonly turn: {
|
|
1166
|
-
readonly attachments?: readonly {
|
|
1167
|
-
readonly byteLength: number;
|
|
1168
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1169
|
-
readonly name: string;
|
|
1170
|
-
readonly sha256: string;
|
|
1171
|
-
}[] | undefined;
|
|
1172
|
-
readonly createdAt: string;
|
|
1173
|
-
readonly id: string;
|
|
1174
|
-
readonly input: {
|
|
1175
|
-
readonly text: string;
|
|
1176
|
-
readonly type: "text";
|
|
1177
|
-
};
|
|
1178
|
-
readonly revision: string;
|
|
1179
|
-
readonly schemaVersion: 1;
|
|
1180
|
-
readonly sessionId: string;
|
|
1181
|
-
readonly sessionRevision: string;
|
|
1182
|
-
readonly updatedAt: string;
|
|
1183
|
-
readonly state: "queued";
|
|
1184
|
-
} | {
|
|
1185
|
-
readonly attachments?: readonly {
|
|
1186
|
-
readonly byteLength: number;
|
|
1187
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1188
|
-
readonly name: string;
|
|
1189
|
-
readonly sha256: string;
|
|
1190
|
-
}[] | undefined;
|
|
1191
|
-
readonly createdAt: string;
|
|
1192
|
-
readonly id: string;
|
|
1193
|
-
readonly input: {
|
|
1194
|
-
readonly text: string;
|
|
1195
|
-
readonly type: "text";
|
|
1196
|
-
};
|
|
1197
|
-
readonly revision: string;
|
|
1198
|
-
readonly schemaVersion: 1;
|
|
1199
|
-
readonly sessionId: string;
|
|
1200
|
-
readonly sessionRevision: string;
|
|
1201
|
-
readonly updatedAt: string;
|
|
1202
|
-
readonly state: "dispatching";
|
|
1203
|
-
} | {
|
|
1204
|
-
readonly attachments?: readonly {
|
|
1205
|
-
readonly byteLength: number;
|
|
1206
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1207
|
-
readonly name: string;
|
|
1208
|
-
readonly sha256: string;
|
|
1209
|
-
}[] | undefined;
|
|
1210
|
-
readonly createdAt: string;
|
|
1211
|
-
readonly id: string;
|
|
1212
|
-
readonly input: {
|
|
1213
|
-
readonly text: string;
|
|
1214
|
-
readonly type: "text";
|
|
1215
|
-
};
|
|
1216
|
-
readonly revision: string;
|
|
1217
|
-
readonly schemaVersion: 1;
|
|
1218
|
-
readonly sessionId: string;
|
|
1219
|
-
readonly sessionRevision: string;
|
|
1220
|
-
readonly updatedAt: string;
|
|
1221
|
-
readonly state: "running";
|
|
1222
|
-
} | {
|
|
1223
|
-
readonly attachments?: readonly {
|
|
1224
|
-
readonly byteLength: number;
|
|
1225
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1226
|
-
readonly name: string;
|
|
1227
|
-
readonly sha256: string;
|
|
1228
|
-
}[] | undefined;
|
|
1229
|
-
readonly createdAt: string;
|
|
1230
|
-
readonly id: string;
|
|
1231
|
-
readonly input: {
|
|
1232
|
-
readonly text: string;
|
|
1233
|
-
readonly type: "text";
|
|
1234
|
-
};
|
|
1235
|
-
readonly revision: string;
|
|
1236
|
-
readonly schemaVersion: 1;
|
|
1237
|
-
readonly sessionId: string;
|
|
1238
|
-
readonly sessionRevision: string;
|
|
1239
|
-
readonly updatedAt: string;
|
|
1240
|
-
readonly responseText: string;
|
|
1241
|
-
readonly state: "completed";
|
|
1242
|
-
readonly tokenUsage?: {
|
|
1243
|
-
readonly cachedInputTokens: number;
|
|
1244
|
-
readonly contextTokens?: number | undefined;
|
|
1245
|
-
readonly contextWindow?: number | undefined;
|
|
1246
|
-
readonly inputTokens: number;
|
|
1247
|
-
readonly modelCallCount?: number | undefined;
|
|
1248
|
-
readonly outputTokens: number;
|
|
1249
|
-
readonly reasoningOutputTokens: number;
|
|
1250
|
-
readonly totalTokens: number;
|
|
1251
|
-
} | undefined;
|
|
1252
|
-
} | {
|
|
1253
|
-
readonly attachments?: readonly {
|
|
1254
|
-
readonly byteLength: number;
|
|
1255
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1256
|
-
readonly name: string;
|
|
1257
|
-
readonly sha256: string;
|
|
1258
|
-
}[] | undefined;
|
|
1259
|
-
readonly createdAt: string;
|
|
1260
|
-
readonly id: string;
|
|
1261
|
-
readonly input: {
|
|
1262
|
-
readonly text: string;
|
|
1263
|
-
readonly type: "text";
|
|
1264
|
-
};
|
|
1265
|
-
readonly revision: string;
|
|
1266
|
-
readonly schemaVersion: 1;
|
|
1267
|
-
readonly sessionId: string;
|
|
1268
|
-
readonly sessionRevision: string;
|
|
1269
|
-
readonly updatedAt: string;
|
|
1270
|
-
readonly failure?: {
|
|
1271
|
-
readonly code: string;
|
|
1272
|
-
readonly message: string;
|
|
1273
|
-
} | undefined;
|
|
1274
|
-
readonly failureReason: "approval_required" | "repository_changed" | "runtime_failed" | "turn_rejected";
|
|
1275
|
-
readonly state: "failed";
|
|
1276
|
-
} | {
|
|
1277
|
-
readonly attachments?: readonly {
|
|
1278
|
-
readonly byteLength: number;
|
|
1279
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1280
|
-
readonly name: string;
|
|
1281
|
-
readonly sha256: string;
|
|
1282
|
-
}[] | undefined;
|
|
1283
|
-
readonly createdAt: string;
|
|
1284
|
-
readonly id: string;
|
|
1285
|
-
readonly input: {
|
|
1286
|
-
readonly text: string;
|
|
1287
|
-
readonly type: "text";
|
|
1288
|
-
};
|
|
1289
|
-
readonly revision: string;
|
|
1290
|
-
readonly schemaVersion: 1;
|
|
1291
|
-
readonly sessionId: string;
|
|
1292
|
-
readonly sessionRevision: string;
|
|
1293
|
-
readonly updatedAt: string;
|
|
1294
|
-
readonly failure?: {
|
|
1295
|
-
readonly code: string;
|
|
1296
|
-
readonly message: string;
|
|
1297
|
-
} | undefined;
|
|
1298
|
-
readonly failureReason: "output_limit_exceeded" | "protocol_invalid" | "runtime_exited" | "turn_deadline_exceeded";
|
|
1299
|
-
readonly state: "outcome-unknown";
|
|
1300
|
-
} | {
|
|
1301
|
-
readonly attachments?: readonly {
|
|
1302
|
-
readonly byteLength: number;
|
|
1303
|
-
readonly mediaType: "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
1304
|
-
readonly name: string;
|
|
1305
|
-
readonly sha256: string;
|
|
1306
|
-
}[] | undefined;
|
|
1307
|
-
readonly createdAt: string;
|
|
1308
|
-
readonly id: string;
|
|
1309
|
-
readonly input: {
|
|
1310
|
-
readonly text: string;
|
|
1311
|
-
readonly type: "text";
|
|
1312
|
-
};
|
|
1313
|
-
readonly revision: string;
|
|
1314
|
-
readonly schemaVersion: 1;
|
|
1315
|
-
readonly sessionId: string;
|
|
1316
|
-
readonly sessionRevision: string;
|
|
1317
|
-
readonly updatedAt: string;
|
|
1318
|
-
readonly state: "interrupted";
|
|
1319
|
-
};
|
|
1320
|
-
}>;
|
|
1321
|
-
export type TurnSteerConfirmResult = InferRuntimeSchema<typeof turnSteerConfirmResultSchema>;
|
|
1322
|
-
export type TurnResult = TurnAttachmentPolicyResult | TurnCancelResult | TurnInterruptResult | TurnQueueListResult | TurnSendResult | TurnShowResult | TurnSteerConfirmResult | TurnSteerPreviewResult | TurnWaitResult;
|
|
370
|
+
readonly path: TurnSteerPath;
|
|
371
|
+
readonly receipt: CommandReceipt;
|
|
372
|
+
readonly source: Turn;
|
|
373
|
+
readonly turn: Turn;
|
|
374
|
+
};
|
|
375
|
+
export declare const turnSteerConfirmResultSchema: RuntimeSchema<TurnSteerConfirmResult>;
|
|
376
|
+
export type TurnResult = TurnAttachmentPolicyResult | TurnCancelResult | TurnInterruptResult | TurnQueueEditResult | TurnQueueListResult | TurnQueuePromoteResult | TurnSendResult | TurnShowResult | TurnSteerConfirmResult | TurnSteerPreviewResult | TurnWaitResult;
|
|
377
|
+
export {};
|
|
1323
378
|
//# sourceMappingURL=contract.d.ts.map
|