@crowdedkingdoms/crowdyjs 11.1.0 → 12.0.0
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/MIGRATION.md +107 -0
- package/README.md +203 -0
- package/dist/crowdy-agent/browser-dispatcher.d.ts +41 -0
- package/dist/crowdy-agent/browser-dispatcher.d.ts.map +1 -0
- package/dist/crowdy-agent/browser-dispatcher.js +264 -0
- package/dist/crowdy-agent/controller.d.ts +144 -0
- package/dist/crowdy-agent/controller.d.ts.map +1 -0
- package/dist/crowdy-agent/controller.js +1239 -0
- package/dist/crowdy-agent/errors.d.ts +37 -0
- package/dist/crowdy-agent/errors.d.ts.map +1 -0
- package/dist/crowdy-agent/errors.js +107 -0
- package/dist/crowdy-agent/graphql-transport.d.ts +154 -0
- package/dist/crowdy-agent/graphql-transport.d.ts.map +1 -0
- package/dist/crowdy-agent/graphql-transport.js +854 -0
- package/dist/crowdy-agent/index.d.ts +16 -0
- package/dist/crowdy-agent/index.d.ts.map +1 -0
- package/dist/crowdy-agent/index.js +15 -0
- package/dist/crowdy-agent/registry.d.ts +29 -0
- package/dist/crowdy-agent/registry.d.ts.map +1 -0
- package/dist/crowdy-agent/registry.js +281 -0
- package/dist/crowdy-agent/schema.d.ts +72 -0
- package/dist/crowdy-agent/schema.d.ts.map +1 -0
- package/dist/crowdy-agent/schema.js +467 -0
- package/dist/crowdy-agent/studio-tools.d.ts +15 -0
- package/dist/crowdy-agent/studio-tools.d.ts.map +1 -0
- package/dist/crowdy-agent/studio-tools.js +280 -0
- package/dist/crowdy-agent/tool-descriptors.d.ts +4 -0
- package/dist/crowdy-agent/tool-descriptors.d.ts.map +1 -0
- package/dist/crowdy-agent/tool-descriptors.js +1049 -0
- package/dist/crowdy-agent/transport.d.ts +152 -0
- package/dist/crowdy-agent/transport.d.ts.map +1 -0
- package/dist/crowdy-agent/transport.js +27 -0
- package/dist/crowdy-agent/types.d.ts +328 -0
- package/dist/crowdy-agent/types.d.ts.map +1 -0
- package/dist/crowdy-agent/types.js +37 -0
- package/dist/crowdy-client.d.ts +3 -0
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/crowdy-client.js +6 -0
- package/dist/crowdy-studio/agent-dom-shell.d.ts +40 -0
- package/dist/crowdy-studio/agent-dom-shell.d.ts.map +1 -0
- package/dist/crowdy-studio/agent-dom-shell.js +354 -0
- package/dist/crowdy-studio/controller.d.ts +74 -4
- package/dist/crowdy-studio/controller.d.ts.map +1 -1
- package/dist/crowdy-studio/controller.js +450 -17
- package/dist/crowdy-studio/dom-shell.d.ts +4 -1
- package/dist/crowdy-studio/dom-shell.d.ts.map +1 -1
- package/dist/crowdy-studio/dom-shell.js +6 -1
- package/dist/crowdy-studio/index.d.ts +6 -3
- package/dist/crowdy-studio/index.d.ts.map +1 -1
- package/dist/crowdy-studio/index.js +3 -0
- package/dist/crowdy-studio/models.d.ts +67 -0
- package/dist/crowdy-studio/models.d.ts.map +1 -1
- package/dist/crowdy-studio/mount.d.ts +15 -0
- package/dist/crowdy-studio/mount.d.ts.map +1 -1
- package/dist/crowdy-studio/mount.js +129 -2
- package/dist/crowdy-studio/styles.d.ts +1 -1
- package/dist/crowdy-studio/styles.d.ts.map +1 -1
- package/dist/crowdy-studio/styles.js +2 -0
- package/dist/generated/graphql.d.ts +3753 -1
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +296 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/player-host/index.d.ts +5 -0
- package/dist/player-host/index.d.ts.map +1 -0
- package/dist/player-host/index.js +3 -0
- package/dist/player-host/lease-manager.d.ts +66 -0
- package/dist/player-host/lease-manager.d.ts.map +1 -0
- package/dist/player-host/lease-manager.js +428 -0
- package/dist/player-host/schemas.d.ts +9 -0
- package/dist/player-host/schemas.d.ts.map +1 -0
- package/dist/player-host/schemas.js +347 -0
- package/dist/player-host/tools.d.ts +13 -0
- package/dist/player-host/tools.d.ts.map +1 -0
- package/dist/player-host/tools.js +79 -0
- package/dist/player-host/types.d.ts +203 -0
- package/dist/player-host/types.d.ts.map +1 -0
- package/dist/player-host/types.js +1 -0
- package/package.json +12 -2
|
@@ -53,6 +53,17 @@ export type Scalars = {
|
|
|
53
53
|
output: string;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
+
/** Monotonically acknowledge the highest contiguous applied event. */
|
|
57
|
+
export type AcknowledgeAgentEventsInput = {
|
|
58
|
+
/** Current attached client epoch. */
|
|
59
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
60
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
61
|
+
idempotencyKey: Scalars['String']['input'];
|
|
62
|
+
/** Owner/app session UUID. */
|
|
63
|
+
sessionId: Scalars['String']['input'];
|
|
64
|
+
/** Highest contiguous applied sequence. It cannot move backward or exceed committed history. */
|
|
65
|
+
throughSeq: Scalars['BigInt']['input'];
|
|
66
|
+
};
|
|
56
67
|
export type Actor = {
|
|
57
68
|
__typename?: 'Actor';
|
|
58
69
|
/** App (game) this actor belongs to. BigInt serialized as a decimal string. */
|
|
@@ -190,6 +201,753 @@ export type AdmitAppCodeInput = {
|
|
|
190
201
|
/** Optional P1 version range: exact "3", inclusive "2-5", ">=4", or "<=9". Omit to admit all versions. */
|
|
191
202
|
versionRange?: InputMaybe<Scalars['String']['input']>;
|
|
192
203
|
};
|
|
204
|
+
/** Short-lived single-use human decision bound to one tool call and canonical argument hash. */
|
|
205
|
+
export type AgentApproval = {
|
|
206
|
+
__typename?: 'AgentApproval';
|
|
207
|
+
/** Stable approval UUID. */
|
|
208
|
+
approvalId: Scalars['String']['output'];
|
|
209
|
+
/** True when this response granted/consumed the approval. */
|
|
210
|
+
approved: Scalars['Boolean']['output'];
|
|
211
|
+
/** Canonical sha256 argument/context binding shown to the human. */
|
|
212
|
+
argumentHash: Scalars['String']['output'];
|
|
213
|
+
/** Attached client epoch authorized to decide. */
|
|
214
|
+
clientEpoch: Scalars['BigInt']['output'];
|
|
215
|
+
/** Hard decision/consumption expiry. */
|
|
216
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
217
|
+
/** True when this response denied the approval. */
|
|
218
|
+
rejected: Scalars['Boolean']['output'];
|
|
219
|
+
/** Safe bounded domain summary shown before approval. */
|
|
220
|
+
safeSummary: Scalars['String']['output'];
|
|
221
|
+
/** Current single-use lifecycle. */
|
|
222
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
223
|
+
/** Tool call UUID this decision binds. */
|
|
224
|
+
toolCallId: Scalars['String']['output'];
|
|
225
|
+
};
|
|
226
|
+
/** Typed exact-argument human approval event. */
|
|
227
|
+
export type AgentApprovalEvent = AgentEventBase & {
|
|
228
|
+
__typename?: 'AgentApprovalEvent';
|
|
229
|
+
/** Stable approval UUID. */
|
|
230
|
+
approvalId: Scalars['String']['output'];
|
|
231
|
+
/** Canonical displayed argument hash. */
|
|
232
|
+
argumentHash: Scalars['String']['output'];
|
|
233
|
+
/** Commit timestamp. */
|
|
234
|
+
createdAt: Scalars['DateTime']['output'];
|
|
235
|
+
/** Stable event UUID for deduplication. */
|
|
236
|
+
eventId: Scalars['String']['output'];
|
|
237
|
+
/** Hard approval expiry. */
|
|
238
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
239
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
240
|
+
protocolVersion: Scalars['String']['output'];
|
|
241
|
+
/** Bounded server-authored reasons for requiring approval. */
|
|
242
|
+
reasons: Array<Scalars['String']['output']>;
|
|
243
|
+
/** Related run UUID, or null for session-only facts. */
|
|
244
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
245
|
+
/** Safe domain summary retained without raw arguments. */
|
|
246
|
+
safeSummary: Scalars['String']['output'];
|
|
247
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
248
|
+
seq: Scalars['BigInt']['output'];
|
|
249
|
+
/** Owning session UUID. */
|
|
250
|
+
sessionId: Scalars['String']['output'];
|
|
251
|
+
/** Required approval lifecycle status. */
|
|
252
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
253
|
+
/** Bound tool call UUID. */
|
|
254
|
+
toolCallId: Scalars['String']['output'];
|
|
255
|
+
/** Stable version 1 event discriminator. */
|
|
256
|
+
type: CrowdyStudioAgentEventType;
|
|
257
|
+
/** Versioned event payload contract. */
|
|
258
|
+
version: Scalars['String']['output'];
|
|
259
|
+
};
|
|
260
|
+
/** Complete platform-funded budget across turn, session, and player-day dimensions. */
|
|
261
|
+
export type AgentBudget = {
|
|
262
|
+
__typename?: 'AgentBudget';
|
|
263
|
+
/** All normative provider/tool/compile/wall-clock dimensions. */
|
|
264
|
+
dimensions: Array<AgentBudgetDimension>;
|
|
265
|
+
/** Payer seam; 'PLATFORM' throughout the development pilot. */
|
|
266
|
+
payer: Scalars['String']['output'];
|
|
267
|
+
/** True throughout the development pilot. */
|
|
268
|
+
platformFunded: Scalars['Boolean']['output'];
|
|
269
|
+
/** UTC player-day reset, or null when no reset applies. */
|
|
270
|
+
resetAt: Maybe<Scalars['DateTime']['output']>;
|
|
271
|
+
};
|
|
272
|
+
/** One effective budget dimension at TURN, SESSION, or PLAYER_DAY scope. */
|
|
273
|
+
export type AgentBudgetDimension = {
|
|
274
|
+
__typename?: 'AgentBudgetDimension';
|
|
275
|
+
/** Durably consumed amount. */
|
|
276
|
+
consumed: Scalars['BigInt']['output'];
|
|
277
|
+
/** Effective hard limit. */
|
|
278
|
+
limit: Scalars['BigInt']['output'];
|
|
279
|
+
/** REQUESTS, INPUT_TOKENS, OUTPUT_TOKENS, REASONING_TOKENS, PROVIDER_COST, TOOL_ROUNDS, WALL_CLOCK_MS, TOOL_CALLS, or COMPILES. */
|
|
280
|
+
name: Scalars['String']['output'];
|
|
281
|
+
/** Non-negative remaining amount. */
|
|
282
|
+
remaining: Scalars['BigInt']['output'];
|
|
283
|
+
/** Worst-case active reservation. */
|
|
284
|
+
reserved: Scalars['BigInt']['output'];
|
|
285
|
+
/** TURN, SESSION, or PLAYER_DAY limit scope. */
|
|
286
|
+
scope: Scalars['String']['output'];
|
|
287
|
+
/** Dimension unit, for example tokens, requests, microusd, or ms. */
|
|
288
|
+
unit: Scalars['String']['output'];
|
|
289
|
+
};
|
|
290
|
+
/** Typed provider budget reservation or reconciliation event; no wallet debit occurs in the platform-funded pilot. */
|
|
291
|
+
export type AgentBudgetEvent = AgentEventBase & {
|
|
292
|
+
__typename?: 'AgentBudgetEvent';
|
|
293
|
+
/** Complete effective budget snapshot after this change. */
|
|
294
|
+
budget: AgentBudget;
|
|
295
|
+
/** Commit timestamp. */
|
|
296
|
+
createdAt: Scalars['DateTime']['output'];
|
|
297
|
+
/** Stable event UUID for deduplication. */
|
|
298
|
+
eventId: Scalars['String']['output'];
|
|
299
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
300
|
+
protocolVersion: Scalars['String']['output'];
|
|
301
|
+
/** Related run UUID, or null for session-only facts. */
|
|
302
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
303
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
304
|
+
seq: Scalars['BigInt']['output'];
|
|
305
|
+
/** Owning session UUID. */
|
|
306
|
+
sessionId: Scalars['String']['output'];
|
|
307
|
+
/** Stable version 1 event discriminator. */
|
|
308
|
+
type: CrowdyStudioAgentEventType;
|
|
309
|
+
/** Versioned event payload contract. */
|
|
310
|
+
version: Scalars['String']['output'];
|
|
311
|
+
};
|
|
312
|
+
/** Typed immutable private project checkpoint event. */
|
|
313
|
+
export type AgentCheckpointEvent = AgentEventBase & {
|
|
314
|
+
__typename?: 'AgentCheckpointEvent';
|
|
315
|
+
/** Private checkpoint UUID. */
|
|
316
|
+
checkpointId: Scalars['String']['output'];
|
|
317
|
+
/** sha256 digest of the canonical private snapshot. */
|
|
318
|
+
contentHash: Scalars['String']['output'];
|
|
319
|
+
/** Commit timestamp. */
|
|
320
|
+
createdAt: Scalars['DateTime']['output'];
|
|
321
|
+
/** Stable event UUID for deduplication. */
|
|
322
|
+
eventId: Scalars['String']['output'];
|
|
323
|
+
/** Bounded target/path/hash/byte summaries; never source. */
|
|
324
|
+
files: Array<AgentCheckpointFile>;
|
|
325
|
+
/** Project revision captured as the immutable pre-image. */
|
|
326
|
+
projectRevision: Scalars['BigInt']['output'];
|
|
327
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
328
|
+
protocolVersion: Scalars['String']['output'];
|
|
329
|
+
/** AGENT_WRITE, RESTORE_PREIMAGE, or MANUAL. */
|
|
330
|
+
reason: Scalars['String']['output'];
|
|
331
|
+
/** Restore timestamp for CHECKPOINT_RESTORED, or null. */
|
|
332
|
+
restoredAt: Maybe<Scalars['DateTime']['output']>;
|
|
333
|
+
/** Related run UUID, or null for session-only facts. */
|
|
334
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
335
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
336
|
+
seq: Scalars['BigInt']['output'];
|
|
337
|
+
/** Owning session UUID. */
|
|
338
|
+
sessionId: Scalars['String']['output'];
|
|
339
|
+
/** Stable version 1 event discriminator. */
|
|
340
|
+
type: CrowdyStudioAgentEventType;
|
|
341
|
+
/** Versioned event payload contract. */
|
|
342
|
+
version: Scalars['String']['output'];
|
|
343
|
+
};
|
|
344
|
+
/** One source-free file summary in an immutable checkpoint. */
|
|
345
|
+
export type AgentCheckpointFile = {
|
|
346
|
+
__typename?: 'AgentCheckpointFile';
|
|
347
|
+
/** Exact UTF-8 byte length. */
|
|
348
|
+
byteLength: Scalars['Int']['output'];
|
|
349
|
+
/** Exact file content digest. */
|
|
350
|
+
contentHash: Scalars['String']['output'];
|
|
351
|
+
/** Bounded project-relative path. */
|
|
352
|
+
path: Scalars['String']['output'];
|
|
353
|
+
/** SERVER or CLIENT target. */
|
|
354
|
+
target: Scalars['String']['output'];
|
|
355
|
+
};
|
|
356
|
+
/** Result of attaching a fresh interactive client epoch. */
|
|
357
|
+
export type AgentClientAttachment = {
|
|
358
|
+
__typename?: 'AgentClientAttachment';
|
|
359
|
+
/** New server-issued monotonic client epoch. */
|
|
360
|
+
clientEpoch: Scalars['BigInt']['output'];
|
|
361
|
+
/** Persisted contiguous cursor for this client instance; subscribe after this sequence. */
|
|
362
|
+
replayAfterSeq: Scalars['BigInt']['output'];
|
|
363
|
+
/** Session after fencing older epochs. */
|
|
364
|
+
session: AgentSession;
|
|
365
|
+
};
|
|
366
|
+
/** Stable safe error envelope carried inside tool/run events. Branch on code, never message. */
|
|
367
|
+
export type AgentError = {
|
|
368
|
+
__typename?: 'AgentError';
|
|
369
|
+
/** Stable additive error code. */
|
|
370
|
+
code: Scalars['String']['output'];
|
|
371
|
+
/** Optional invalid input field path. */
|
|
372
|
+
field: Maybe<Scalars['String']['output']>;
|
|
373
|
+
/** Safe bounded human-readable detail. */
|
|
374
|
+
message: Scalars['String']['output'];
|
|
375
|
+
/** Optional safe human remediation, never a command to execute. */
|
|
376
|
+
remediation: Maybe<Scalars['String']['output']>;
|
|
377
|
+
/** Optional missing agent scope. */
|
|
378
|
+
requiredScope: Maybe<Scalars['String']['output']>;
|
|
379
|
+
/** Whether policy permits a deliberate retry. */
|
|
380
|
+
retryable: Scalars['Boolean']['output'];
|
|
381
|
+
};
|
|
382
|
+
/** Monotonic event acknowledgement result. */
|
|
383
|
+
export type AgentEventAcknowledgement = {
|
|
384
|
+
__typename?: 'AgentEventAcknowledgement';
|
|
385
|
+
/** Highest persisted contiguous acknowledged sequence. */
|
|
386
|
+
throughSeq: Scalars['BigInt']['output'];
|
|
387
|
+
};
|
|
388
|
+
/** Common identity/order fields on every typed durable agent event variant. */
|
|
389
|
+
export type AgentEventBase = {
|
|
390
|
+
/** Commit timestamp. */
|
|
391
|
+
createdAt: Scalars['DateTime']['output'];
|
|
392
|
+
/** Stable event UUID for deduplication. */
|
|
393
|
+
eventId: Scalars['String']['output'];
|
|
394
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
395
|
+
protocolVersion: Scalars['String']['output'];
|
|
396
|
+
/** Related run UUID, or null for session-only facts. */
|
|
397
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
398
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
399
|
+
seq: Scalars['BigInt']['output'];
|
|
400
|
+
/** Owning session UUID. */
|
|
401
|
+
sessionId: Scalars['String']['output'];
|
|
402
|
+
/** Stable version 1 event discriminator. */
|
|
403
|
+
type: CrowdyStudioAgentEventType;
|
|
404
|
+
/** Versioned event payload contract. */
|
|
405
|
+
version: Scalars['String']['output'];
|
|
406
|
+
};
|
|
407
|
+
/** Bounded ordered history connection, exclusive of the supplied afterSeq. */
|
|
408
|
+
export type AgentEventConnection = {
|
|
409
|
+
__typename?: 'AgentEventConnection';
|
|
410
|
+
/** Events in ascending contiguous sequence order. */
|
|
411
|
+
edges: Array<AgentEventEdge>;
|
|
412
|
+
/** SDK-compatible ordered typed events. */
|
|
413
|
+
events: Array<CrowdyStudioAgentEvent>;
|
|
414
|
+
/** SDK-compatible history continuation indicator. */
|
|
415
|
+
hasMore: Scalars['Boolean']['output'];
|
|
416
|
+
/** History page metadata. */
|
|
417
|
+
pageInfo: AgentPageInfo;
|
|
418
|
+
};
|
|
419
|
+
/** One ordered event connection edge. */
|
|
420
|
+
export type AgentEventEdge = {
|
|
421
|
+
__typename?: 'AgentEventEdge';
|
|
422
|
+
/** Opaque cursor equal to the event decimal sequence. */
|
|
423
|
+
cursor: Scalars['String']['output'];
|
|
424
|
+
/** Typed durable event node. */
|
|
425
|
+
node: CrowdyStudioAgentEvent;
|
|
426
|
+
};
|
|
427
|
+
/** Server acknowledgement of the 2-second client heartbeat and 5-second Play freshness window. */
|
|
428
|
+
export type AgentHeartbeat = {
|
|
429
|
+
__typename?: 'AgentHeartbeat';
|
|
430
|
+
/** Play lease remains server-fresh through this instant, bounded by its hard expiry; null without an active Play lease. */
|
|
431
|
+
playLeaseFreshUntil: Maybe<Scalars['DateTime']['output']>;
|
|
432
|
+
/** Authoritative server receipt time. */
|
|
433
|
+
serverTime: Scalars['DateTime']['output'];
|
|
434
|
+
/** Renewed 30-second workspace lease expiry; null when no unchanged connected workspace lease can be renewed. */
|
|
435
|
+
workspaceLeaseExpiresAt: Maybe<Scalars['DateTime']['output']>;
|
|
436
|
+
};
|
|
437
|
+
/** Two-second attached-client heartbeat that rechecks policy/permission/context, refreshes five-second Play freshness, and renews an unchanged workspace lease to 30 seconds. */
|
|
438
|
+
export type AgentHeartbeatInput = {
|
|
439
|
+
/** Exact current attached client epoch. */
|
|
440
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
441
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
442
|
+
idempotencyKey: Scalars['String']['input'];
|
|
443
|
+
/** Owner/app session UUID. */
|
|
444
|
+
sessionId: Scalars['String']['input'];
|
|
445
|
+
};
|
|
446
|
+
/** Short-lived context-bound capability. The model cannot create, widen, or renew it. */
|
|
447
|
+
export type AgentLease = {
|
|
448
|
+
__typename?: 'AgentLease';
|
|
449
|
+
/** Bound attached browser epoch. */
|
|
450
|
+
clientEpoch: Scalars['BigInt']['output'];
|
|
451
|
+
/** Authoritative context version bound to the lease. */
|
|
452
|
+
contextVersion: Scalars['String']['output'];
|
|
453
|
+
/** Controlled entity for PLAY, or null. */
|
|
454
|
+
controlledEntityId: Maybe<Scalars['String']['output']>;
|
|
455
|
+
/** Expected project revision for WORKSPACE, or null. */
|
|
456
|
+
expectedProjectRevision: Maybe<Scalars['BigInt']['output']>;
|
|
457
|
+
/** Hard expiry; the model cannot renew it. */
|
|
458
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
459
|
+
/** Lease grant timestamp. */
|
|
460
|
+
grantedAt: Scalars['DateTime']['output'];
|
|
461
|
+
/** Human-visible lease holder alias. */
|
|
462
|
+
holder: Scalars['String']['output'];
|
|
463
|
+
/** Host capability revision for PLAY, or null. */
|
|
464
|
+
hostCapabilityRevision: Maybe<Scalars['String']['output']>;
|
|
465
|
+
/** WORKSPACE or PLAY. */
|
|
466
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
467
|
+
/** Stable lease UUID. */
|
|
468
|
+
leaseId: Scalars['String']['output'];
|
|
469
|
+
/** Stable revoke/expiry reason, or null while active. */
|
|
470
|
+
revokedReason: Maybe<Scalars['String']['output']>;
|
|
471
|
+
/** Explicit maximum scopes carried by this lease. */
|
|
472
|
+
scopes: Array<Scalars['String']['output']>;
|
|
473
|
+
/** Required lease lifecycle status. */
|
|
474
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
475
|
+
};
|
|
476
|
+
/** Typed workspace/Play lease lifecycle event. */
|
|
477
|
+
export type AgentLeaseEvent = AgentEventBase & {
|
|
478
|
+
__typename?: 'AgentLeaseEvent';
|
|
479
|
+
/** Bound attached client epoch. */
|
|
480
|
+
clientEpoch: Scalars['BigInt']['output'];
|
|
481
|
+
/** Authoritative context version bound to this lease. */
|
|
482
|
+
contextVersion: Scalars['String']['output'];
|
|
483
|
+
/** Controlled entity identifier for PLAY, or null. */
|
|
484
|
+
controlledEntityId: Maybe<Scalars['String']['output']>;
|
|
485
|
+
/** Commit timestamp. */
|
|
486
|
+
createdAt: Scalars['DateTime']['output'];
|
|
487
|
+
/** Stable event UUID for deduplication. */
|
|
488
|
+
eventId: Scalars['String']['output'];
|
|
489
|
+
/** Expected project revision for WORKSPACE, or null. */
|
|
490
|
+
expectedProjectRevision: Maybe<Scalars['BigInt']['output']>;
|
|
491
|
+
/** Hard lease expiry. */
|
|
492
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
493
|
+
/** Lease grant timestamp. */
|
|
494
|
+
grantedAt: Scalars['DateTime']['output'];
|
|
495
|
+
/** Human-visible lease holder alias. */
|
|
496
|
+
holder: Scalars['String']['output'];
|
|
497
|
+
/** Host capability revision for PLAY, or null. */
|
|
498
|
+
hostCapabilityRevision: Maybe<Scalars['String']['output']>;
|
|
499
|
+
/** WORKSPACE or PLAY. */
|
|
500
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
501
|
+
/** Stable lease UUID. */
|
|
502
|
+
leaseId: Scalars['String']['output'];
|
|
503
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
504
|
+
protocolVersion: Scalars['String']['output'];
|
|
505
|
+
/** Stable revoke/expiry reason, or null. */
|
|
506
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
507
|
+
/** Related run UUID, or null for session-only facts. */
|
|
508
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
509
|
+
/** Explicit scopes carried when granted; empty otherwise. */
|
|
510
|
+
scopes: Array<Scalars['String']['output']>;
|
|
511
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
512
|
+
seq: Scalars['BigInt']['output'];
|
|
513
|
+
/** Owning session UUID. */
|
|
514
|
+
sessionId: Scalars['String']['output'];
|
|
515
|
+
/** Required lease lifecycle status. */
|
|
516
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
517
|
+
/** Stable version 1 event discriminator. */
|
|
518
|
+
type: CrowdyStudioAgentEventType;
|
|
519
|
+
/** Versioned event payload contract. */
|
|
520
|
+
version: Scalars['String']['output'];
|
|
521
|
+
};
|
|
522
|
+
/** Typed session/client/mode/context lifecycle event. */
|
|
523
|
+
export type AgentLifecycleEvent = AgentEventBase & {
|
|
524
|
+
__typename?: 'AgentLifecycleEvent';
|
|
525
|
+
/** Attached client epoch when this event carries one. */
|
|
526
|
+
clientEpoch: Maybe<Scalars['BigInt']['output']>;
|
|
527
|
+
/** New context version when carried by this event. */
|
|
528
|
+
contextVersion: Maybe<Scalars['String']['output']>;
|
|
529
|
+
/** Commit timestamp. */
|
|
530
|
+
createdAt: Scalars['DateTime']['output'];
|
|
531
|
+
/** Stable event UUID for deduplication. */
|
|
532
|
+
eventId: Scalars['String']['output'];
|
|
533
|
+
/** Selected mode when this event carries one. */
|
|
534
|
+
mode: Maybe<CrowdyStudioAgentMode>;
|
|
535
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
536
|
+
protocolVersion: Scalars['String']['output'];
|
|
537
|
+
/** Stable lifecycle/preemption reason, or null. */
|
|
538
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
539
|
+
/** Replay cursor returned by attach, or null. */
|
|
540
|
+
replayAfterSeq: Maybe<Scalars['BigInt']['output']>;
|
|
541
|
+
/** Related run UUID, or null for session-only facts. */
|
|
542
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
543
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
544
|
+
seq: Scalars['BigInt']['output'];
|
|
545
|
+
/** Owning session UUID. */
|
|
546
|
+
sessionId: Scalars['String']['output'];
|
|
547
|
+
/** Stable version 1 event discriminator. */
|
|
548
|
+
type: CrowdyStudioAgentEventType;
|
|
549
|
+
/** Versioned event payload contract. */
|
|
550
|
+
version: Scalars['String']['output'];
|
|
551
|
+
};
|
|
552
|
+
/** Typed bounded user or assistant text event. */
|
|
553
|
+
export type AgentMessageEvent = AgentEventBase & {
|
|
554
|
+
__typename?: 'AgentMessageEvent';
|
|
555
|
+
/** Redacted bounded text. ASSISTANT_MESSAGE is canonical; chunks are transient presentation hints. */
|
|
556
|
+
content: Scalars['String']['output'];
|
|
557
|
+
/** Commit timestamp. */
|
|
558
|
+
createdAt: Scalars['DateTime']['output'];
|
|
559
|
+
/** Stable event UUID for deduplication. */
|
|
560
|
+
eventId: Scalars['String']['output'];
|
|
561
|
+
/** Stable message UUID used for replay deduplication. */
|
|
562
|
+
messageId: Scalars['String']['output'];
|
|
563
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
564
|
+
protocolVersion: Scalars['String']['output'];
|
|
565
|
+
/** USER or ASSISTANT message role. */
|
|
566
|
+
role: Scalars['String']['output'];
|
|
567
|
+
/** Related run UUID, or null for session-only facts. */
|
|
568
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
569
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
570
|
+
seq: Scalars['BigInt']['output'];
|
|
571
|
+
/** Owning session UUID. */
|
|
572
|
+
sessionId: Scalars['String']['output'];
|
|
573
|
+
/** Stable version 1 event discriminator. */
|
|
574
|
+
type: CrowdyStudioAgentEventType;
|
|
575
|
+
/** Versioned event payload contract. */
|
|
576
|
+
version: Scalars['String']['output'];
|
|
577
|
+
};
|
|
578
|
+
/** Standard opaque-cursor pagination metadata. */
|
|
579
|
+
export type AgentPageInfo = {
|
|
580
|
+
__typename?: 'AgentPageInfo';
|
|
581
|
+
/** Opaque cursor for the final returned edge, or null. */
|
|
582
|
+
endCursor: Maybe<Scalars['String']['output']>;
|
|
583
|
+
/** Whether another page exists after endCursor. */
|
|
584
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
585
|
+
};
|
|
586
|
+
/** Summary of one durable session run. */
|
|
587
|
+
export type AgentRun = {
|
|
588
|
+
__typename?: 'AgentRun';
|
|
589
|
+
/** True when the durable run status is CANCELLED. */
|
|
590
|
+
cancelled: Scalars['Boolean']['output'];
|
|
591
|
+
/** Run acceptance timestamp. */
|
|
592
|
+
createdAt: Scalars['DateTime']['output'];
|
|
593
|
+
/** Stable terminal error code, or null while non-terminal/successful. */
|
|
594
|
+
errorCode: Maybe<Scalars['String']['output']>;
|
|
595
|
+
/** Terminal timestamp, or null while active. */
|
|
596
|
+
finishedAt: Maybe<Scalars['DateTime']['output']>;
|
|
597
|
+
/** Provider rounds already attempted in this run. */
|
|
598
|
+
providerRounds: Scalars['Int']['output'];
|
|
599
|
+
/** SDK-compatible terminal/preemption reason, or null. */
|
|
600
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
601
|
+
/** Stable run UUID. */
|
|
602
|
+
runId: Scalars['String']['output'];
|
|
603
|
+
/** Worker start timestamp, or null while queued. */
|
|
604
|
+
startedAt: Maybe<Scalars['DateTime']['output']>;
|
|
605
|
+
/** Current serialized state. */
|
|
606
|
+
status: CrowdyStudioAgentRunStatus;
|
|
607
|
+
/** Stable preemption/cancellation reason, or null. */
|
|
608
|
+
terminalReason: Maybe<Scalars['String']['output']>;
|
|
609
|
+
/** Descriptor-pinned tool calls already recorded. */
|
|
610
|
+
toolCalls: Scalars['Int']['output'];
|
|
611
|
+
};
|
|
612
|
+
/** Typed run lifecycle event. */
|
|
613
|
+
export type AgentRunEvent = AgentEventBase & {
|
|
614
|
+
__typename?: 'AgentRunEvent';
|
|
615
|
+
/** Stable terminal error code, or null. */
|
|
616
|
+
code: Maybe<Scalars['String']['output']>;
|
|
617
|
+
/** Commit timestamp. */
|
|
618
|
+
createdAt: Scalars['DateTime']['output'];
|
|
619
|
+
/** Safe typed error envelope when present. */
|
|
620
|
+
error: Maybe<AgentError>;
|
|
621
|
+
/** Stable event UUID for deduplication. */
|
|
622
|
+
eventId: Scalars['String']['output'];
|
|
623
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
624
|
+
protocolVersion: Scalars['String']['output'];
|
|
625
|
+
/** Stable terminal/preemption reason, or null. */
|
|
626
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
627
|
+
/** Related run UUID, or null for session-only facts. */
|
|
628
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
629
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
630
|
+
seq: Scalars['BigInt']['output'];
|
|
631
|
+
/** Owning session UUID. */
|
|
632
|
+
sessionId: Scalars['String']['output'];
|
|
633
|
+
/** Required durable run status carried by this event. */
|
|
634
|
+
status: CrowdyStudioAgentRunStatus;
|
|
635
|
+
/** Stable version 1 event discriminator. */
|
|
636
|
+
type: CrowdyStudioAgentEventType;
|
|
637
|
+
/** Versioned event payload contract. */
|
|
638
|
+
version: Scalars['String']['output'];
|
|
639
|
+
};
|
|
640
|
+
/** Owner/app-scoped durable agent conversation with pinned mode, model, policy, registry, and client epoch. */
|
|
641
|
+
export type AgentSession = {
|
|
642
|
+
__typename?: 'AgentSession';
|
|
643
|
+
/** Current unexpired leases; bounded to WORKSPACE and PLAY. */
|
|
644
|
+
activeLeases: Array<AgentLease>;
|
|
645
|
+
/** Current non-terminal run, or null. */
|
|
646
|
+
activeRun: Maybe<AgentRun>;
|
|
647
|
+
/** App tenant from the app-scoped bearer token. */
|
|
648
|
+
appId: Scalars['BigInt']['output'];
|
|
649
|
+
/** Opaque management app-policy version pinned at creation. */
|
|
650
|
+
appPolicyVersion: Scalars['String']['output'];
|
|
651
|
+
/** SDK-compatible attached client epoch, or null before attach. */
|
|
652
|
+
clientEpoch: Maybe<Scalars['BigInt']['output']>;
|
|
653
|
+
/** Close timestamp, or null while open. */
|
|
654
|
+
closedAt: Maybe<Scalars['DateTime']['output']>;
|
|
655
|
+
/** Current authoritative context version. */
|
|
656
|
+
contextVersion: Scalars['String']['output'];
|
|
657
|
+
/** Session contract version; always 'crowdy.studio-agent/1'. */
|
|
658
|
+
contractVersion: Scalars['String']['output'];
|
|
659
|
+
/** Session creation timestamp. */
|
|
660
|
+
createdAt: Scalars['DateTime']['output'];
|
|
661
|
+
/** Monotonic attached client epoch. A newer attach fences all older tabs. */
|
|
662
|
+
currentClientEpoch: Scalars['BigInt']['output'];
|
|
663
|
+
/** SDK-compatible current non-terminal run, or null. */
|
|
664
|
+
currentRun: Maybe<AgentRun>;
|
|
665
|
+
/** Selected grid id, or null; it does not grant authority. */
|
|
666
|
+
gridId: Maybe<Scalars['BigInt']['output']>;
|
|
667
|
+
/** Highest committed durable event sequence. */
|
|
668
|
+
lastEventSeq: Scalars['BigInt']['output'];
|
|
669
|
+
/** Human-selected current mode. */
|
|
670
|
+
mode: CrowdyStudioAgentMode;
|
|
671
|
+
/** Selected allowlisted model, matching the SDK session model. */
|
|
672
|
+
model: Maybe<Scalars['String']['output']>;
|
|
673
|
+
/** Newest unexpired pending approval, or null. */
|
|
674
|
+
pendingApproval: Maybe<AgentApproval>;
|
|
675
|
+
/** Selected private project UUID, or null. Returned only to its exact owner/app. */
|
|
676
|
+
projectId: Maybe<Scalars['String']['output']>;
|
|
677
|
+
/** Whether the human accepted first-use disclosure of selected private project source. Messages and metadata do not imply this consent. */
|
|
678
|
+
providerDataConsent: Scalars['Boolean']['output'];
|
|
679
|
+
/** Opaque platform provider-policy version pinned at creation. */
|
|
680
|
+
providerPolicyVersion: Scalars['String']['output'];
|
|
681
|
+
/** Digest of the mode/policy-filtered immutable tool registry. */
|
|
682
|
+
registryDigest: Scalars['String']['output'];
|
|
683
|
+
/** Requested model in the effective platform/app allowlist. */
|
|
684
|
+
requestedModel: Scalars['String']['output'];
|
|
685
|
+
/** Resolved routed model after a provider response, or null. */
|
|
686
|
+
resolvedModel: Maybe<Scalars['String']['output']>;
|
|
687
|
+
/** Stable session UUID. */
|
|
688
|
+
sessionId: Scalars['String']['output'];
|
|
689
|
+
/** Current durable session lifecycle. */
|
|
690
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
691
|
+
/** Latest durable session update. */
|
|
692
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
693
|
+
};
|
|
694
|
+
/** Bounded owner/app session connection. */
|
|
695
|
+
export type AgentSessionConnection = {
|
|
696
|
+
__typename?: 'AgentSessionConnection';
|
|
697
|
+
/** Sessions ordered newest first. */
|
|
698
|
+
edges: Array<AgentSessionEdge>;
|
|
699
|
+
/** SDK-compatible final opaque cursor. */
|
|
700
|
+
endCursor: Maybe<Scalars['String']['output']>;
|
|
701
|
+
/** SDK-compatible next-page indicator. */
|
|
702
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
703
|
+
/** SDK-compatible session nodes in newest-first order. */
|
|
704
|
+
nodes: Array<AgentSession>;
|
|
705
|
+
/** Connection page metadata. */
|
|
706
|
+
pageInfo: AgentPageInfo;
|
|
707
|
+
};
|
|
708
|
+
/** Common human session-control shape for pause, resume, and close. */
|
|
709
|
+
export type AgentSessionControlInput = {
|
|
710
|
+
/** Current attached client epoch. */
|
|
711
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
712
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
713
|
+
idempotencyKey: Scalars['String']['input'];
|
|
714
|
+
/** Owner/app session UUID. */
|
|
715
|
+
sessionId: Scalars['String']['input'];
|
|
716
|
+
};
|
|
717
|
+
/** One session connection edge. */
|
|
718
|
+
export type AgentSessionEdge = {
|
|
719
|
+
__typename?: 'AgentSessionEdge';
|
|
720
|
+
/** Opaque cursor for this session edge. */
|
|
721
|
+
cursor: Scalars['String']['output'];
|
|
722
|
+
/** Owner/app-scoped session node. */
|
|
723
|
+
node: AgentSession;
|
|
724
|
+
};
|
|
725
|
+
/** Typed browser tool-call terminal record returned after submit. */
|
|
726
|
+
export type AgentToolCall = {
|
|
727
|
+
__typename?: 'AgentToolCall';
|
|
728
|
+
/** True when the idempotent terminal result was accepted. */
|
|
729
|
+
accepted: Scalars['Boolean']['output'];
|
|
730
|
+
/** Canonical argument hash. */
|
|
731
|
+
argumentHash: Scalars['String']['output'];
|
|
732
|
+
/** Safe terminal error, or null. */
|
|
733
|
+
error: Maybe<AgentError>;
|
|
734
|
+
/** Durable terminal/current status. */
|
|
735
|
+
status: CrowdyStudioAgentToolCallStatus;
|
|
736
|
+
/** Stable tool call UUID. */
|
|
737
|
+
toolCallId: Scalars['String']['output'];
|
|
738
|
+
/** Logical descriptor name. */
|
|
739
|
+
toolName: Scalars['String']['output'];
|
|
740
|
+
};
|
|
741
|
+
/** One effective immutable tool descriptor. Schemas are JSON Schema 2020-12 objects serialized as canonical JSON. */
|
|
742
|
+
export type AgentToolDescriptor = {
|
|
743
|
+
__typename?: 'AgentToolDescriptor';
|
|
744
|
+
/** Maximum approval lifetime in seconds. */
|
|
745
|
+
approvalMaxTtlSeconds: Scalars['Int']['output'];
|
|
746
|
+
/** NONE, REQUIRED, or CONDITIONAL approval policy. */
|
|
747
|
+
approvalPolicy: Scalars['String']['output'];
|
|
748
|
+
/** Server-authored approval reasons. */
|
|
749
|
+
approvalReasons: Array<Scalars['String']['output']>;
|
|
750
|
+
/** Whether exact human approval is always required. */
|
|
751
|
+
approvalRequired: Scalars['Boolean']['output'];
|
|
752
|
+
/** sha256 digest of the immutable descriptor contract. */
|
|
753
|
+
descriptorDigest: Scalars['String']['output'];
|
|
754
|
+
/** Complete RFC8785-canonical crowdy.agent-tool/1 descriptor JSON. */
|
|
755
|
+
descriptorJson: Scalars['String']['output'];
|
|
756
|
+
/** SERVER or BROWSER. */
|
|
757
|
+
executor: CrowdyStudioAgentToolExecutor;
|
|
758
|
+
/** PURE, KEYED, TOOL_CALL_ONCE, or NON_RETRYABLE. */
|
|
759
|
+
idempotencyClass: Scalars['String']['output'];
|
|
760
|
+
/** NONE, TOOL_CALL, or USER_TOOL_ARGUMENTS key scope. */
|
|
761
|
+
idempotencyKeyScope: Scalars['String']['output'];
|
|
762
|
+
/** Canonical JSON array of input redaction rules. */
|
|
763
|
+
inputRedactionJson: Scalars['String']['output'];
|
|
764
|
+
/** Canonical bounded input JSON Schema. */
|
|
765
|
+
inputSchemaJson: Scalars['String']['output'];
|
|
766
|
+
/** Maximum persisted redacted tool bytes. */
|
|
767
|
+
maxPersistedBytes: Scalars['Int']['output'];
|
|
768
|
+
/** Human modes in which this descriptor may be proposed. */
|
|
769
|
+
modes: Array<CrowdyStudioAgentMode>;
|
|
770
|
+
/** Logical dotted tool name. */
|
|
771
|
+
name: Scalars['String']['output'];
|
|
772
|
+
/** Canonical JSON array of output redaction rules. */
|
|
773
|
+
outputRedactionJson: Scalars['String']['output'];
|
|
774
|
+
/** Canonical bounded output JSON Schema. */
|
|
775
|
+
outputSchemaJson: Scalars['String']['output'];
|
|
776
|
+
/** Server-classified risk. */
|
|
777
|
+
risk: CrowdyStudioAgentToolRisk;
|
|
778
|
+
/** Canonical server-classified effect labels. */
|
|
779
|
+
riskEffects: Array<Scalars['String']['output']>;
|
|
780
|
+
/** Whether the classified effect is reversible. */
|
|
781
|
+
riskReversible: Scalars['Boolean']['output'];
|
|
782
|
+
/** Descriptor schema version; always 'crowdy.agent-tool/1'. */
|
|
783
|
+
schemaVersion: Scalars['String']['output'];
|
|
784
|
+
/** Canonical JSON array of complete scope requirement objects, including argument-path conditions. */
|
|
785
|
+
scopeRequirementsJson: Scalars['String']['output'];
|
|
786
|
+
/** Required agent scopes; ordinary platform checks still apply. */
|
|
787
|
+
scopes: Array<Scalars['String']['output']>;
|
|
788
|
+
/** Safe model/user-facing summary. */
|
|
789
|
+
summary: Scalars['String']['output'];
|
|
790
|
+
/** Hard tool execution timeout in milliseconds. */
|
|
791
|
+
timeoutMs: Scalars['Int']['output'];
|
|
792
|
+
/** Semantic descriptor version. */
|
|
793
|
+
version: Scalars['String']['output'];
|
|
794
|
+
/** Provider-safe exact wire name including major version. */
|
|
795
|
+
wireName: Scalars['String']['output'];
|
|
796
|
+
};
|
|
797
|
+
/** Effective mode/policy-filtered descriptor registry. */
|
|
798
|
+
export type AgentToolDescriptorSet = {
|
|
799
|
+
__typename?: 'AgentToolDescriptorSet';
|
|
800
|
+
/** Digest pinned by the current session. */
|
|
801
|
+
registryDigest: Scalars['String']['output'];
|
|
802
|
+
/** Only tools implemented and currently allowed for this session; omitted contract tools are not executable. */
|
|
803
|
+
tools: Array<AgentToolDescriptor>;
|
|
804
|
+
};
|
|
805
|
+
/** Typed tool event. JSON fields are descriptor-versioned and validated against the descriptor returned by crowdyStudioAgentToolDescriptors; they are never arbitrary executor input. */
|
|
806
|
+
export type AgentToolEvent = AgentEventBase & {
|
|
807
|
+
__typename?: 'AgentToolEvent';
|
|
808
|
+
/** Opaque approval capability, or null. */
|
|
809
|
+
approvalGrant: Maybe<Scalars['String']['output']>;
|
|
810
|
+
/** Canonical argument hash, or null. */
|
|
811
|
+
argumentHash: Maybe<Scalars['String']['output']>;
|
|
812
|
+
/** Descriptor-schema-validated, redaction-safe canonical JSON arguments for browser dispatch; null otherwise. */
|
|
813
|
+
argumentsJson: Maybe<Scalars['String']['output']>;
|
|
814
|
+
/** Fenced browser epoch for a dispatch, or null. */
|
|
815
|
+
clientEpoch: Maybe<Scalars['BigInt']['output']>;
|
|
816
|
+
/** Authoritative dispatch context version, or null. */
|
|
817
|
+
contextVersion: Maybe<Scalars['String']['output']>;
|
|
818
|
+
/** Commit timestamp. */
|
|
819
|
+
createdAt: Scalars['DateTime']['output'];
|
|
820
|
+
/** Dispatch deadline, or null for non-dispatch events. */
|
|
821
|
+
deadline: Maybe<Scalars['DateTime']['output']>;
|
|
822
|
+
/** Pinned descriptor digest, or null before dispatch. */
|
|
823
|
+
descriptorDigest: Maybe<Scalars['String']['output']>;
|
|
824
|
+
/** Safe typed terminal tool error, or null. */
|
|
825
|
+
error: Maybe<AgentError>;
|
|
826
|
+
/** Stable event UUID for deduplication. */
|
|
827
|
+
eventId: Scalars['String']['output'];
|
|
828
|
+
/** SERVER or BROWSER executor, or null. */
|
|
829
|
+
executor: Maybe<CrowdyStudioAgentToolExecutor>;
|
|
830
|
+
/** Executor idempotency key, or null. */
|
|
831
|
+
idempotencyKey: Maybe<Scalars['String']['output']>;
|
|
832
|
+
/** Complete browser invocation on TOOL_DISPATCHED; null for other events. */
|
|
833
|
+
invocation: Maybe<AgentToolInvocation>;
|
|
834
|
+
/** Bound lease UUID, or null. */
|
|
835
|
+
leaseId: Maybe<Scalars['String']['output']>;
|
|
836
|
+
/** Event envelope version; always 'crowdy.agent-event/1'. */
|
|
837
|
+
protocolVersion: Scalars['String']['output'];
|
|
838
|
+
/** Complete typed terminal result when available. */
|
|
839
|
+
result: Maybe<AgentToolResultEnvelope>;
|
|
840
|
+
/** Descriptor-schema-validated, redaction-safe canonical JSON result summary; source and prompt bodies are omitted. */
|
|
841
|
+
resultJson: Maybe<Scalars['String']['output']>;
|
|
842
|
+
/** Related run UUID, or null for session-only facts. */
|
|
843
|
+
runId: Maybe<Scalars['String']['output']>;
|
|
844
|
+
/** Safe bounded human summary, or null. */
|
|
845
|
+
safeSummary: Maybe<Scalars['String']['output']>;
|
|
846
|
+
/** Strictly increasing session sequence as a decimal BigInt. */
|
|
847
|
+
seq: Scalars['BigInt']['output'];
|
|
848
|
+
/** Owning session UUID. */
|
|
849
|
+
sessionId: Scalars['String']['output'];
|
|
850
|
+
/** Required durable tool status for this event. */
|
|
851
|
+
status: CrowdyStudioAgentToolCallStatus;
|
|
852
|
+
/** Stable tool call UUID. */
|
|
853
|
+
toolCallId: Scalars['String']['output'];
|
|
854
|
+
/** Logical versioned tool name. */
|
|
855
|
+
toolName: Scalars['String']['output'];
|
|
856
|
+
/** Pinned semantic tool version. */
|
|
857
|
+
toolVersion: Scalars['String']['output'];
|
|
858
|
+
/** Stable version 1 event discriminator. */
|
|
859
|
+
type: CrowdyStudioAgentEventType;
|
|
860
|
+
/** Versioned event payload contract. */
|
|
861
|
+
version: Scalars['String']['output'];
|
|
862
|
+
};
|
|
863
|
+
/** Complete crowdy.tool-call/1 browser invocation envelope. Arguments are canonical descriptor-validated JSON. */
|
|
864
|
+
export type AgentToolInvocation = {
|
|
865
|
+
__typename?: 'AgentToolInvocation';
|
|
866
|
+
/** Opaque consumed approval capability when required. */
|
|
867
|
+
approvalGrant: Maybe<Scalars['String']['output']>;
|
|
868
|
+
/** Canonical argument/context hash. */
|
|
869
|
+
argumentHash: Scalars['String']['output'];
|
|
870
|
+
/** Canonical JSON object matching the descriptor input schema. */
|
|
871
|
+
argumentsJson: Scalars['String']['output'];
|
|
872
|
+
/** Required matching browser epoch. */
|
|
873
|
+
clientEpoch: Maybe<Scalars['BigInt']['output']>;
|
|
874
|
+
/** Authoritative context version. */
|
|
875
|
+
contextVersion: Scalars['String']['output'];
|
|
876
|
+
/** Hard browser execution deadline. */
|
|
877
|
+
deadline: Scalars['DateTime']['output'];
|
|
878
|
+
/** Pinned canonical descriptor digest. */
|
|
879
|
+
descriptorDigest: Scalars['String']['output'];
|
|
880
|
+
/** Server-issued executor idempotency key when required. */
|
|
881
|
+
idempotencyKey: Maybe<Scalars['String']['output']>;
|
|
882
|
+
/** Required lease UUID when the tool scopes demand one. */
|
|
883
|
+
leaseId: Maybe<Scalars['String']['output']>;
|
|
884
|
+
/** Logical tool name. */
|
|
885
|
+
name: Scalars['String']['output'];
|
|
886
|
+
/** Invocation version; always 'crowdy.tool-call/1'. */
|
|
887
|
+
protocolVersion: Scalars['String']['output'];
|
|
888
|
+
/** Owning run UUID. */
|
|
889
|
+
runId: Scalars['String']['output'];
|
|
890
|
+
/** Owning session UUID. */
|
|
891
|
+
sessionId: Scalars['String']['output'];
|
|
892
|
+
/** Execute-once tool call UUID. */
|
|
893
|
+
toolCallId: Scalars['String']['output'];
|
|
894
|
+
/** Pinned semantic tool version. */
|
|
895
|
+
version: Scalars['String']['output'];
|
|
896
|
+
};
|
|
897
|
+
/** Complete crowdy.tool-result/1 terminal browser result with exact timing and safe typed error. */
|
|
898
|
+
export type AgentToolResultEnvelope = {
|
|
899
|
+
__typename?: 'AgentToolResultEnvelope';
|
|
900
|
+
/** Safe typed error for non-success, or null. */
|
|
901
|
+
error: Maybe<AgentError>;
|
|
902
|
+
/** Browser execution finish timestamp. */
|
|
903
|
+
finishedAt: Scalars['DateTime']['output'];
|
|
904
|
+
/** Context version observed by the browser executor. */
|
|
905
|
+
observedContextVersion: Scalars['String']['output'];
|
|
906
|
+
/** Canonical descriptor-validated output JSON, or null. */
|
|
907
|
+
outputJson: Maybe<Scalars['String']['output']>;
|
|
908
|
+
/** Result version; always 'crowdy.tool-result/1'. */
|
|
909
|
+
protocolVersion: Scalars['String']['output'];
|
|
910
|
+
/** Browser execution start timestamp. */
|
|
911
|
+
startedAt: Scalars['DateTime']['output'];
|
|
912
|
+
/** Terminal result status. */
|
|
913
|
+
status: CrowdyStudioAgentToolResultStatus;
|
|
914
|
+
/** Matching tool call UUID. */
|
|
915
|
+
toolCallId: Scalars['String']['output'];
|
|
916
|
+
};
|
|
917
|
+
/** Complete crowdy.tool-result/1 browser result envelope. */
|
|
918
|
+
export type AgentToolResultEnvelopeInput = {
|
|
919
|
+
/** Stable AGENT_* error code for non-success; omit for SUCCEEDED. */
|
|
920
|
+
errorCode?: InputMaybe<Scalars['String']['input']>;
|
|
921
|
+
/** Safe bounded error message for non-success; no stack, source, prompt, headers, or tokens. */
|
|
922
|
+
errorMessage?: InputMaybe<Scalars['String']['input']>;
|
|
923
|
+
/** Whether policy permits deliberate retry; defaults false. */
|
|
924
|
+
errorRetryable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
925
|
+
/** Browser execution finish timestamp. */
|
|
926
|
+
finishedAt: Scalars['DateTime']['input'];
|
|
927
|
+
/** Exact authoritative context version observed by the host. */
|
|
928
|
+
observedContextVersion: Scalars['String']['input'];
|
|
929
|
+
/** Output JSON object required for SUCCEEDED and validated against the pinned descriptor; omit for failures. Maximum 128 KiB. */
|
|
930
|
+
outputJson?: InputMaybe<Scalars['String']['input']>;
|
|
931
|
+
/** Result protocol version; must be 'crowdy.tool-result/1'. */
|
|
932
|
+
protocolVersion: Scalars['String']['input'];
|
|
933
|
+
/** Browser execution start timestamp. */
|
|
934
|
+
startedAt: Scalars['DateTime']['input'];
|
|
935
|
+
/** Known terminal executor outcome. */
|
|
936
|
+
status: CrowdyStudioAgentToolResultStatus;
|
|
937
|
+
/** Dispatched tool call UUID. */
|
|
938
|
+
toolCallId: Scalars['String']['input'];
|
|
939
|
+
};
|
|
940
|
+
/** Submit one idempotent terminal browser result for the matching owner/session epoch. */
|
|
941
|
+
export type AgentToolResultInput = {
|
|
942
|
+
/** Current attached client epoch. */
|
|
943
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
944
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
945
|
+
idempotencyKey: Scalars['String']['input'];
|
|
946
|
+
/** Complete descriptor-validated crowdy.tool-result/1 result envelope. */
|
|
947
|
+
result: AgentToolResultEnvelopeInput;
|
|
948
|
+
/** Owner/app session UUID. */
|
|
949
|
+
sessionId: Scalars['String']['input'];
|
|
950
|
+
};
|
|
193
951
|
/** A publishable application (game/experience) owned by an organization. Its discoverability is controlled by visibility and its lifecycle by status. */
|
|
194
952
|
export type App = {
|
|
195
953
|
__typename?: 'App';
|
|
@@ -644,6 +1402,19 @@ export type AssignGroupToGridInput = {
|
|
|
644
1402
|
/** Runtime permission key strings to grant to the group/role. Each must be a known key in runtime_permissions, unique, and at most 64 chars. */
|
|
645
1403
|
permissionKeys: Array<Scalars['String']['input']>;
|
|
646
1404
|
};
|
|
1405
|
+
/** Attach one interactive browser and optional selected project/grid, atomically repinning policy/registry/context while fencing old tabs, leases, approvals, and browser dispatches. */
|
|
1406
|
+
export type AttachAgentClientInput = {
|
|
1407
|
+
/** Optional stable browser instance UUID. Omit to use the single-interactive-client session cursor. */
|
|
1408
|
+
clientInstanceId?: InputMaybe<Scalars['String']['input']>;
|
|
1409
|
+
/** Optional authoritative grid context selected by the attaching Studio. Omit to retain the current grid. */
|
|
1410
|
+
gridId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1411
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
1412
|
+
idempotencyKey: Scalars['String']['input'];
|
|
1413
|
+
/** Optional owner project UUID selected by the attaching Studio. Omit to retain the current selection; null explicitly clears it outside BUILD. */
|
|
1414
|
+
projectId?: InputMaybe<Scalars['String']['input']>;
|
|
1415
|
+
/** Owner/app session UUID. */
|
|
1416
|
+
sessionId: Scalars['String']['input'];
|
|
1417
|
+
};
|
|
647
1418
|
/** Whether the account has a password set. Does not reveal whether the email is registered. */
|
|
648
1419
|
export type AuthMethodResult = {
|
|
649
1420
|
__typename?: 'AuthMethodResult';
|
|
@@ -736,6 +1507,17 @@ export type BuddyLiveRates = {
|
|
|
736
1507
|
/** Timestamp of the heartbeat these rates came from. */
|
|
737
1508
|
updatedAt: Scalars['DateTime']['output'];
|
|
738
1509
|
};
|
|
1510
|
+
/** Immediately request cancellation of one active session run. */
|
|
1511
|
+
export type CancelAgentRunInput = {
|
|
1512
|
+
/** Current attached client epoch. */
|
|
1513
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
1514
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
1515
|
+
idempotencyKey: Scalars['String']['input'];
|
|
1516
|
+
/** Active run UUID to cancel; omit to cancel the session currentRun. */
|
|
1517
|
+
runId?: InputMaybe<Scalars['String']['input']>;
|
|
1518
|
+
/** Owner/app session UUID. */
|
|
1519
|
+
sessionId: Scalars['String']['input'];
|
|
1520
|
+
};
|
|
739
1521
|
/** Input for publishing a message to a channel. Delivered to every active member of the channel (regardless of location), not chunk-routed. The sender must have the channel send_messages permission. */
|
|
740
1522
|
export type ChannelMessageInput = {
|
|
741
1523
|
/** The channel id (groups.group_id) to publish to. */
|
|
@@ -1836,6 +2618,23 @@ export type CreateActorInput = {
|
|
|
1836
2618
|
/** Actor id: exactly 32 ASCII characters (the UDP-wire actor id), NOT a hyphenated RFC-4122 UUID. Required and must be unique. */
|
|
1837
2619
|
uuid: Scalars['String']['input'];
|
|
1838
2620
|
};
|
|
2621
|
+
/** Create an owner/app-scoped session with pinned human mode, project/grid context, model, policy, registry, and provider disclosure choice. */
|
|
2622
|
+
export type CreateAgentSessionInput = {
|
|
2623
|
+
/** App tenant; the bearer credential must be an unexpired app token for this exact app and the caller must hold use_studio_agent. */
|
|
2624
|
+
appId: Scalars['BigInt']['input'];
|
|
2625
|
+
/** Optional selected grid context; selection grants no authority. */
|
|
2626
|
+
gridId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
2627
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
2628
|
+
idempotencyKey: Scalars['String']['input'];
|
|
2629
|
+
/** Human-selected initial ASK, BUILD, or PLAY mode. */
|
|
2630
|
+
mode: CrowdyStudioAgentMode;
|
|
2631
|
+
/** Optional private owner project UUID. Required for BUILD; cross-owner/app ids return the same not-found shape. */
|
|
2632
|
+
projectId?: InputMaybe<Scalars['String']['input']>;
|
|
2633
|
+
/** Optional explicit first-use consent for selected private project source. Omit/false for message-only or metadata-only sessions. */
|
|
2634
|
+
providerDataConsent?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2635
|
+
/** Optional requested allowlisted model. Omit for the platform default. */
|
|
2636
|
+
requestedModel?: InputMaybe<Scalars['String']['input']>;
|
|
2637
|
+
};
|
|
1839
2638
|
/** Input payload for creating a new app. */
|
|
1840
2639
|
export type CreateAppInput = {
|
|
1841
2640
|
/** Optional short plain-text description for listings. */
|
|
@@ -2147,6 +2946,611 @@ export type CreateUserAppStateInput = {
|
|
|
2147
2946
|
/** Per-app user state as base64-encoded binary. Omit or send null to clear it. */
|
|
2148
2947
|
state?: InputMaybe<Scalars['String']['input']>;
|
|
2149
2948
|
};
|
|
2949
|
+
/** Single-use human decision lifecycle for one canonical argument hash. */
|
|
2950
|
+
export declare enum CrowdyStudioAgentApprovalStatus {
|
|
2951
|
+
/** Used exactly once for dispatch/execution. */
|
|
2952
|
+
Consumed = "CONSUMED",
|
|
2953
|
+
/** Human denied the exact call. */
|
|
2954
|
+
Denied = "DENIED",
|
|
2955
|
+
/** TTL elapsed before use. */
|
|
2956
|
+
Expired = "EXPIRED",
|
|
2957
|
+
/** Granted but not yet atomically consumed. */
|
|
2958
|
+
Granted = "GRANTED",
|
|
2959
|
+
/** Awaiting the matching attached human. */
|
|
2960
|
+
Pending = "PENDING",
|
|
2961
|
+
/** Invalidated by context or policy change. */
|
|
2962
|
+
Revoked = "REVOKED"
|
|
2963
|
+
}
|
|
2964
|
+
/** Typed union of ordered, replayable version 1 session facts. Delivery is at-least-once; seq and eventId support deduplication. */
|
|
2965
|
+
export type CrowdyStudioAgentEvent = AgentApprovalEvent | AgentBudgetEvent | AgentCheckpointEvent | AgentLeaseEvent | AgentLifecycleEvent | AgentMessageEvent | AgentRunEvent | AgentToolEvent;
|
|
2966
|
+
/** Version 1 durable ordered event vocabulary. */
|
|
2967
|
+
export declare enum CrowdyStudioAgentEventType {
|
|
2968
|
+
/** Approval was atomically consumed once. */
|
|
2969
|
+
ApprovalConsumed = "APPROVAL_CONSUMED",
|
|
2970
|
+
/** Human denied the pending exact approval. */
|
|
2971
|
+
ApprovalDenied = "APPROVAL_DENIED",
|
|
2972
|
+
/** Approval TTL elapsed. */
|
|
2973
|
+
ApprovalExpired = "APPROVAL_EXPIRED",
|
|
2974
|
+
/** Human granted the pending exact approval. */
|
|
2975
|
+
ApprovalGranted = "APPROVAL_GRANTED",
|
|
2976
|
+
/** Exact argument-hash human approval was requested. */
|
|
2977
|
+
ApprovalRequested = "APPROVAL_REQUESTED",
|
|
2978
|
+
/** Bounded coalesced assistant text; final message is canonical. */
|
|
2979
|
+
AssistantChunk = "ASSISTANT_CHUNK",
|
|
2980
|
+
/** Canonical final assistant response. */
|
|
2981
|
+
AssistantMessage = "ASSISTANT_MESSAGE",
|
|
2982
|
+
/** Provider reservation/accounting state changed. */
|
|
2983
|
+
BudgetUpdated = "BUDGET_UPDATED",
|
|
2984
|
+
/** Immutable private pre-image checkpoint was created. */
|
|
2985
|
+
CheckpointCreated = "CHECKPOINT_CREATED",
|
|
2986
|
+
/** Checkpoint restored as a new project revision. */
|
|
2987
|
+
CheckpointRestored = "CHECKPOINT_RESTORED",
|
|
2988
|
+
/** A new monotonic client epoch attached and fenced older tabs. */
|
|
2989
|
+
ClientAttached = "CLIENT_ATTACHED",
|
|
2990
|
+
/** The interactive browser detached. */
|
|
2991
|
+
ClientDetached = "CLIENT_DETACHED",
|
|
2992
|
+
/** Authoritative context changed and old authority was fenced. */
|
|
2993
|
+
ContextChanged = "CONTEXT_CHANGED",
|
|
2994
|
+
/** Lease reached its expiry. */
|
|
2995
|
+
LeaseExpired = "LEASE_EXPIRED",
|
|
2996
|
+
/** Workspace or Play lease was granted. */
|
|
2997
|
+
LeaseGranted = "LEASE_GRANTED",
|
|
2998
|
+
/** Lease was immediately revoked. */
|
|
2999
|
+
LeaseRevoked = "LEASE_REVOKED",
|
|
3000
|
+
/** Human selected ASK, BUILD, or PLAY. */
|
|
3001
|
+
ModeSelected = "MODE_SELECTED",
|
|
3002
|
+
/** Human cancellation became durable. */
|
|
3003
|
+
RunCancelled = "RUN_CANCELLED",
|
|
3004
|
+
/** Run reached a typed terminal failure. */
|
|
3005
|
+
RunFailed = "RUN_FAILED",
|
|
3006
|
+
/** Active run entered a recoverable pause. */
|
|
3007
|
+
RunPaused = "RUN_PAUSED",
|
|
3008
|
+
/** Safety preemption became durable. */
|
|
3009
|
+
RunPreempted = "RUN_PREEMPTED",
|
|
3010
|
+
/** A leased worker started the serialized run. */
|
|
3011
|
+
RunStarted = "RUN_STARTED",
|
|
3012
|
+
/** Run completed successfully. */
|
|
3013
|
+
RunSucceeded = "RUN_SUCCEEDED",
|
|
3014
|
+
/** Session closed and retention cleanup began. */
|
|
3015
|
+
SessionClosed = "SESSION_CLOSED",
|
|
3016
|
+
/** Session and pinned policy/registry context were created. */
|
|
3017
|
+
SessionCreated = "SESSION_CREATED",
|
|
3018
|
+
/** Human paused the session and revoked capabilities. */
|
|
3019
|
+
SessionPaused = "SESSION_PAUSED",
|
|
3020
|
+
/** Human explicitly resumed after context revalidation. */
|
|
3021
|
+
SessionResumed = "SESSION_RESUMED",
|
|
3022
|
+
/** Human denied the exact proposal. */
|
|
3023
|
+
ToolDenied = "TOOL_DENIED",
|
|
3024
|
+
/** Typed browser call was durably dispatched once. */
|
|
3025
|
+
ToolDispatched = "TOOL_DISPATCHED",
|
|
3026
|
+
/** Typed executor reported a safe terminal failure. */
|
|
3027
|
+
ToolFailed = "TOOL_FAILED",
|
|
3028
|
+
/** Effect may have occurred; no blind retry is allowed. */
|
|
3029
|
+
ToolOutcomeUnknown = "TOOL_OUTCOME_UNKNOWN",
|
|
3030
|
+
/** Provider proposal passed exact name and input validation. */
|
|
3031
|
+
ToolProposed = "TOOL_PROPOSED",
|
|
3032
|
+
/** Typed executor output passed validation. */
|
|
3033
|
+
ToolSucceeded = "TOOL_SUCCEEDED",
|
|
3034
|
+
/** Recorded tool deadline elapsed. */
|
|
3035
|
+
ToolTimedOut = "TOOL_TIMED_OUT",
|
|
3036
|
+
/** Redacted bounded human message accepted for one run. */
|
|
3037
|
+
UserMessage = "USER_MESSAGE"
|
|
3038
|
+
}
|
|
3039
|
+
/** Funding seam for Agentic Studio. The development pilot is platform-funded and never debits a player wallet; payer/rate-card fields are reserved for a later contract. */
|
|
3040
|
+
export type CrowdyStudioAgentFundingPolicy = {
|
|
3041
|
+
__typename?: 'CrowdyStudioAgentFundingPolicy';
|
|
3042
|
+
/** Funding mode. The pilot always returns 'PLATFORM_FUNDED'. */
|
|
3043
|
+
billingMode: Scalars['String']['output'];
|
|
3044
|
+
/** Future payer kind. The pilot always returns 'PLATFORM'. */
|
|
3045
|
+
payerKind: Scalars['String']['output'];
|
|
3046
|
+
/** Future rate-card UUID; null throughout the platform-funded pilot. */
|
|
3047
|
+
rateCardId: Maybe<Scalars['String']['output']>;
|
|
3048
|
+
/** Whether this policy can debit a player wallet. Always false in the pilot. */
|
|
3049
|
+
walletDebitEnabled: Scalars['Boolean']['output'];
|
|
3050
|
+
};
|
|
3051
|
+
/** Lifecycle of a short-lived workspace or Play capability. */
|
|
3052
|
+
export declare enum CrowdyStudioAgentLeaseStatus {
|
|
3053
|
+
/** Usable until its exact expiry/context changes. */
|
|
3054
|
+
Active = "ACTIVE",
|
|
3055
|
+
/** Expired and cannot be renewed by the model. */
|
|
3056
|
+
Expired = "EXPIRED",
|
|
3057
|
+
/** Explicitly or automatically revoked. */
|
|
3058
|
+
Revoked = "REVOKED"
|
|
3059
|
+
}
|
|
3060
|
+
/** Capability family represented by a lease. */
|
|
3061
|
+
export declare enum CrowdyStudioAgentLeaseType {
|
|
3062
|
+
/** Visible human-granted browser control lease, capped at ten minutes. */
|
|
3063
|
+
Play = "PLAY",
|
|
3064
|
+
/** Thirty-second server-acquired lease bound to project revision and target write scopes. */
|
|
3065
|
+
Workspace = "WORKSPACE"
|
|
3066
|
+
}
|
|
3067
|
+
/** Human-selected authority mode. The model cannot change modes or elevate itself. */
|
|
3068
|
+
export declare enum CrowdyStudioAgentMode {
|
|
3069
|
+
/** Read-only assistance and proposals. */
|
|
3070
|
+
Ask = "ASK",
|
|
3071
|
+
/** Routine project edits and draft tests under ordinary write/run permissions. */
|
|
3072
|
+
Build = "BUILD",
|
|
3073
|
+
/** Game control only while a human-granted, scoped, time-boxed control lease is active. */
|
|
3074
|
+
Play = "PLAY"
|
|
3075
|
+
}
|
|
3076
|
+
/** Per-player UTC-day cumulative limits plus player/app concurrency ceilings. */
|
|
3077
|
+
export type CrowdyStudioAgentPlayerDayLimits = {
|
|
3078
|
+
__typename?: 'CrowdyStudioAgentPlayerDayLimits';
|
|
3079
|
+
/** Maximum draft compile submissions per player per UTC day. */
|
|
3080
|
+
compiles: Scalars['Int']['output'];
|
|
3081
|
+
/** Maximum concurrent agent runs across the app. */
|
|
3082
|
+
concurrentRunsPerApp: Scalars['Int']['output'];
|
|
3083
|
+
/** Maximum concurrent sessions for one player. */
|
|
3084
|
+
concurrentSessions: Scalars['Int']['output'];
|
|
3085
|
+
/** Maximum input tokens per player per UTC day. */
|
|
3086
|
+
inputTokens: Scalars['BigInt']['output'];
|
|
3087
|
+
/** Maximum output tokens per player per UTC day. */
|
|
3088
|
+
outputTokens: Scalars['BigInt']['output'];
|
|
3089
|
+
/** Maximum provider cost per player per UTC day, in micro-USD. */
|
|
3090
|
+
providerCostMicrousd: Scalars['BigInt']['output'];
|
|
3091
|
+
/** Maximum provider requests per player per UTC day. */
|
|
3092
|
+
providerRequests: Scalars['Int']['output'];
|
|
3093
|
+
/** Maximum reasoning tokens per player per UTC day. */
|
|
3094
|
+
reasoningTokens: Scalars['BigInt']['output'];
|
|
3095
|
+
/** Maximum tool calls per player per UTC day. */
|
|
3096
|
+
toolCalls: Scalars['Int']['output'];
|
|
3097
|
+
/** Maximum total provider tokens per player per UTC day. */
|
|
3098
|
+
totalTokens: Scalars['BigInt']['output'];
|
|
3099
|
+
};
|
|
3100
|
+
/** Patch for per-player/day and app concurrency limits. Omitted values stay unchanged; supplied values are clamped down to platform ceilings. */
|
|
3101
|
+
export type CrowdyStudioAgentPlayerDayLimitsInput = {
|
|
3102
|
+
/** Maximum draft compile submissions per player per UTC day. */
|
|
3103
|
+
compiles?: InputMaybe<Scalars['Int']['input']>;
|
|
3104
|
+
/** Maximum concurrent Agentic Studio runs across the app. */
|
|
3105
|
+
concurrentRunsPerApp?: InputMaybe<Scalars['Int']['input']>;
|
|
3106
|
+
/** Maximum concurrent Agentic Studio sessions for one player. */
|
|
3107
|
+
concurrentSessions?: InputMaybe<Scalars['Int']['input']>;
|
|
3108
|
+
/** Maximum input tokens per player per UTC day. */
|
|
3109
|
+
inputTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3110
|
+
/** Maximum output tokens per player per UTC day. */
|
|
3111
|
+
outputTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3112
|
+
/** Maximum provider cost per player per UTC day, in micro-USD. */
|
|
3113
|
+
providerCostMicrousd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3114
|
+
/** Maximum provider requests per player per UTC day. */
|
|
3115
|
+
providerRequests?: InputMaybe<Scalars['Int']['input']>;
|
|
3116
|
+
/** Maximum reasoning tokens per player per UTC day. */
|
|
3117
|
+
reasoningTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3118
|
+
/** Maximum tool calls per player per UTC day. */
|
|
3119
|
+
toolCalls?: InputMaybe<Scalars['Int']['input']>;
|
|
3120
|
+
/** Maximum total provider tokens per player per UTC day. */
|
|
3121
|
+
totalTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3122
|
+
};
|
|
3123
|
+
/** Management's Agentic Crowdy Studio policy publication. EFFECTIVE values are the fail-closed platform/app intersection; an app can never widen platform models, tools, modes, risks, budgets, retention, or privacy. Game API runtime enforcement still requires a fresh validated replica. */
|
|
3124
|
+
export type CrowdyStudioAgentPolicy = {
|
|
3125
|
+
__typename?: 'CrowdyStudioAgentPolicy';
|
|
3126
|
+
/** Exact model ids allowed by this layer/intersection. Empty denies all models. */
|
|
3127
|
+
allowedModelIds: Array<Scalars['String']['output']>;
|
|
3128
|
+
/** Human-selectable modes allowed by this layer/intersection. */
|
|
3129
|
+
allowedModes: Array<CrowdyStudioAgentMode>;
|
|
3130
|
+
/** Allowed tool risk classes. Required approval classes remain approval-gated even when listed. */
|
|
3131
|
+
allowedRiskClasses: Array<CrowdyStudioAgentRiskClass>;
|
|
3132
|
+
/** Exact crowdy.agent-tools/1 logical tool names allowed by this layer/intersection. Empty denies all tools. */
|
|
3133
|
+
allowedToolNames: Array<Scalars['String']['output']>;
|
|
3134
|
+
/** App id for APP/EFFECTIVE policy; null for platform policy. */
|
|
3135
|
+
appId: Maybe<Scalars['BigInt']['output']>;
|
|
3136
|
+
/** App revision used by an EFFECTIVE projection; zero means missing app policy. */
|
|
3137
|
+
appRevision: Scalars['BigInt']['output'];
|
|
3138
|
+
/** Policy row creation time or projection time. */
|
|
3139
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3140
|
+
/** Safe operator/app reason text; never includes provider bodies or secrets. */
|
|
3141
|
+
disableReason: Maybe<Scalars['String']['output']>;
|
|
3142
|
+
/** Stable disable/kill reason code (for example AGENT_OPERATOR_KILLED); null when enabled. */
|
|
3143
|
+
disableReasonCode: Maybe<Scalars['String']['output']>;
|
|
3144
|
+
/** Composite Management revision, formatted p<platform revision>:a<app revision>. Game API pins it only after a successful fresh replica pull. */
|
|
3145
|
+
effectiveRevision: Scalars['String']['output'];
|
|
3146
|
+
/** Whether this Management policy layer/publication is enabled. EFFECTIVE is true only when all required layers are enabled and no kill applies; it does not attest that Game API has synchronized. */
|
|
3147
|
+
enabled: Scalars['Boolean']['output'];
|
|
3148
|
+
/** Platform-funded pilot/future billing seam. */
|
|
3149
|
+
funding: CrowdyStudioAgentFundingPolicy;
|
|
3150
|
+
/** Layer kill state. EFFECTIVE is true when platform, operator-app, or app kill is active. */
|
|
3151
|
+
killSwitch: Scalars['Boolean']['output'];
|
|
3152
|
+
/** PLATFORM, APP, or EFFECTIVE projection. */
|
|
3153
|
+
kind: CrowdyStudioAgentPolicyKind;
|
|
3154
|
+
/** Operator-only per-app kill state. App policy mutations cannot clear or alter it. */
|
|
3155
|
+
operatorKillSwitch: Scalars['Boolean']['output'];
|
|
3156
|
+
/** Platform revision used by an EFFECTIVE projection. */
|
|
3157
|
+
platformRevision: Scalars['BigInt']['output'];
|
|
3158
|
+
/** Per-player UTC-day and concurrency hard limits. */
|
|
3159
|
+
playerDayLimits: CrowdyStudioAgentPlayerDayLimits;
|
|
3160
|
+
/** Locked provider privacy and private-source controls. */
|
|
3161
|
+
privacy: CrowdyStudioAgentPrivacyPolicy;
|
|
3162
|
+
/** Redacted-data retention limits. */
|
|
3163
|
+
retention: CrowdyStudioAgentRetentionPolicy;
|
|
3164
|
+
/** Revision of this stored layer; zero means no app row exists yet. */
|
|
3165
|
+
revision: Scalars['BigInt']['output'];
|
|
3166
|
+
/** Per-session hard limits. */
|
|
3167
|
+
sessionLimits: CrowdyStudioAgentSessionLimits;
|
|
3168
|
+
/** Per-turn hard limits. */
|
|
3169
|
+
turnLimits: CrowdyStudioAgentTurnLimits;
|
|
3170
|
+
/** Last policy change time or projection time. */
|
|
3171
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3172
|
+
};
|
|
3173
|
+
/** Whether a policy object is the platform row, app row, or intersection. */
|
|
3174
|
+
export declare enum CrowdyStudioAgentPolicyKind {
|
|
3175
|
+
/** App-owned policy after write-time platform clamping. */
|
|
3176
|
+
App = "APP",
|
|
3177
|
+
/** Fail-closed intersection of platform, operator-kill, and app policy. */
|
|
3178
|
+
Effective = "EFFECTIVE",
|
|
3179
|
+
/** Operator-owned platform policy and hard ceilings. */
|
|
3180
|
+
Platform = "PLATFORM"
|
|
3181
|
+
}
|
|
3182
|
+
/** Closed CrowdyJS/BWF reason vocabulary for synchronous lease and control preemption. */
|
|
3183
|
+
export declare enum CrowdyStudioAgentPreemptionReason {
|
|
3184
|
+
AdmissionChanged = "ADMISSION_CHANGED",
|
|
3185
|
+
BudgetFailure = "BUDGET_FAILURE",
|
|
3186
|
+
ClientReattached = "CLIENT_REATTACHED",
|
|
3187
|
+
ContextChanged = "CONTEXT_CHANGED",
|
|
3188
|
+
ControlTargetChanged = "CONTROL_TARGET_CHANGED",
|
|
3189
|
+
Death = "DEATH",
|
|
3190
|
+
Disconnected = "DISCONNECTED",
|
|
3191
|
+
Escape = "ESCAPE",
|
|
3192
|
+
HumanEdit = "HUMAN_EDIT",
|
|
3193
|
+
HumanInput = "HUMAN_INPUT",
|
|
3194
|
+
HumanStop = "HUMAN_STOP",
|
|
3195
|
+
LeaseExpired = "LEASE_EXPIRED",
|
|
3196
|
+
OperatorKill = "OPERATOR_KILL",
|
|
3197
|
+
PermissionChanged = "PERMISSION_CHANGED",
|
|
3198
|
+
QuotaFailure = "QUOTA_FAILURE",
|
|
3199
|
+
SessionClosed = "SESSION_CLOSED"
|
|
3200
|
+
}
|
|
3201
|
+
/** Provider privacy posture. ZDR and collection denial are locked true; provider request/response bodies are never persisted. */
|
|
3202
|
+
export type CrowdyStudioAgentPrivacyPolicy = {
|
|
3203
|
+
__typename?: 'CrowdyStudioAgentPrivacyPolicy';
|
|
3204
|
+
/** Whether selected private project source may be sent after the separate human disclosure/consent gate. */
|
|
3205
|
+
allowPrivateSource: Scalars['Boolean']['output'];
|
|
3206
|
+
/** Whether routed-provider data collection must be denied. Always true in v1. */
|
|
3207
|
+
denyDataCollection: Scalars['Boolean']['output'];
|
|
3208
|
+
/** Whether provider HTTP request/response bodies can be persisted. Always false in v1. */
|
|
3209
|
+
persistProviderBodies: Scalars['Boolean']['output'];
|
|
3210
|
+
/** Whether first-use human disclosure/consent is required for private source. Always true in v1. */
|
|
3211
|
+
requirePrivateSourceConsent: Scalars['Boolean']['output'];
|
|
3212
|
+
/** Whether Zero Data Retention is required. Always true in v1. */
|
|
3213
|
+
requireZdr: Scalars['Boolean']['output'];
|
|
3214
|
+
};
|
|
3215
|
+
/** App/platform privacy patch. It can disable private-source sharing; ZDR, collection denial, first-use consent, and provider-body non-persistence are locked. */
|
|
3216
|
+
export type CrowdyStudioAgentPrivacyPolicyInput = {
|
|
3217
|
+
/** Allow selected private source only after the separate human disclosure/consent gate. */
|
|
3218
|
+
allowPrivateSource?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3219
|
+
};
|
|
3220
|
+
/** Retention ceilings for redacted Agentic Studio data. Provider wire bodies, headers, private reasoning, and individual token deltas always have zero retention and are absent. */
|
|
3221
|
+
export type CrowdyStudioAgentRetentionPolicy = {
|
|
3222
|
+
__typename?: 'CrowdyStudioAgentRetentionPolicy';
|
|
3223
|
+
/** Coalesced assistant chunk retention in hours (0-24). */
|
|
3224
|
+
assistantChunkHours: Scalars['Int']['output'];
|
|
3225
|
+
/** Detailed game observation/browser tool-result retention in hours (0-24). */
|
|
3226
|
+
detailedContextHours: Scalars['Int']['output'];
|
|
3227
|
+
/** Final messages, redacted events, and checkpoint retention after close in days (0-30). */
|
|
3228
|
+
sessionDataDays: Scalars['Int']['output'];
|
|
3229
|
+
/** Provider generation/token/cost and kill metadata retention in days (1-90). */
|
|
3230
|
+
usageDays: Scalars['Int']['output'];
|
|
3231
|
+
};
|
|
3232
|
+
/** Retention patch. Values may only shorten the platform policy and the hard pilot maxima. */
|
|
3233
|
+
export type CrowdyStudioAgentRetentionPolicyInput = {
|
|
3234
|
+
/** Coalesced assistant chunk retention in hours (0-24). */
|
|
3235
|
+
assistantChunkHours?: InputMaybe<Scalars['Int']['input']>;
|
|
3236
|
+
/** Detailed observation/browser result retention in hours (0-24). */
|
|
3237
|
+
detailedContextHours?: InputMaybe<Scalars['Int']['input']>;
|
|
3238
|
+
/** Final message/redacted event retention after close in days (0-30). */
|
|
3239
|
+
sessionDataDays?: InputMaybe<Scalars['Int']['input']>;
|
|
3240
|
+
/** Generation/token/cost/kill metadata retention in days (1-90). */
|
|
3241
|
+
usageDays?: InputMaybe<Scalars['Int']['input']>;
|
|
3242
|
+
};
|
|
3243
|
+
/** Tool risk classes from crowdy.agent-tools/1. App policy may only remove platform-allowed classes; locked approval requirements still apply. */
|
|
3244
|
+
export declare enum CrowdyStudioAgentRiskClass {
|
|
3245
|
+
/** Destructive action; exact human approval required. */
|
|
3246
|
+
Destructive = "DESTRUCTIVE",
|
|
3247
|
+
/** Money or commerce action; exact human approval required. */
|
|
3248
|
+
Economic = "ECONOMIC",
|
|
3249
|
+
/** Irreversible action; exact human approval required. */
|
|
3250
|
+
Irreversible = "IRREVERSIBLE",
|
|
3251
|
+
/** Owner/app-scoped reads with redaction. */
|
|
3252
|
+
ReadOnly = "READ_ONLY",
|
|
3253
|
+
/** Reversible Build writes with revision checks and checkpoints. */
|
|
3254
|
+
RoutineWrite = "ROUTINE_WRITE",
|
|
3255
|
+
/** Trust, consent, or capability change; exact human approval required. */
|
|
3256
|
+
TrustConsent = "TRUST_CONSENT",
|
|
3257
|
+
/** Routine Play actions requiring a visible human-granted lease. */
|
|
3258
|
+
WorldControl = "WORLD_CONTROL"
|
|
3259
|
+
}
|
|
3260
|
+
/** Serialized durable state of one accepted human message and its provider/tool loop. */
|
|
3261
|
+
export declare enum CrowdyStudioAgentRunStatus {
|
|
3262
|
+
/** Terminal human cancellation. */
|
|
3263
|
+
Cancelled = "CANCELLED",
|
|
3264
|
+
/** Terminal typed failure; inspect errorCode. */
|
|
3265
|
+
Failed = "FAILED",
|
|
3266
|
+
/** Recoverable human pause; resume revalidates context. */
|
|
3267
|
+
Paused = "PAUSED",
|
|
3268
|
+
/** Terminal safety preemption caused by context/control loss. */
|
|
3269
|
+
Preempted = "PREEMPTED",
|
|
3270
|
+
/** Durably accepted and awaiting a worker claim. */
|
|
3271
|
+
Queued = "QUEUED",
|
|
3272
|
+
/** Owned by one leased orchestrator worker. */
|
|
3273
|
+
Running = "RUNNING",
|
|
3274
|
+
/** Finished with a canonical assistant message. */
|
|
3275
|
+
Succeeded = "SUCCEEDED",
|
|
3276
|
+
/** Waiting for a short-lived exact human decision. */
|
|
3277
|
+
WaitingForApproval = "WAITING_FOR_APPROVAL",
|
|
3278
|
+
/** Waiting for one matching browser tool result. */
|
|
3279
|
+
WaitingForTool = "WAITING_FOR_TOOL"
|
|
3280
|
+
}
|
|
3281
|
+
/** Per-session cumulative provider/tool/compile limits and the serialized-run concurrency ceiling. */
|
|
3282
|
+
export type CrowdyStudioAgentSessionLimits = {
|
|
3283
|
+
__typename?: 'CrowdyStudioAgentSessionLimits';
|
|
3284
|
+
/** Maximum draft compile submissions in one session. */
|
|
3285
|
+
compiles: Scalars['Int']['output'];
|
|
3286
|
+
/** Maximum concurrent non-terminal runs in a session. The v1 contract requires one. */
|
|
3287
|
+
concurrentRuns: Scalars['Int']['output'];
|
|
3288
|
+
/** Maximum input tokens in one session. */
|
|
3289
|
+
inputTokens: Scalars['BigInt']['output'];
|
|
3290
|
+
/** Maximum output tokens in one session. */
|
|
3291
|
+
outputTokens: Scalars['BigInt']['output'];
|
|
3292
|
+
/** Maximum provider cost in one session, in micro-USD. */
|
|
3293
|
+
providerCostMicrousd: Scalars['BigInt']['output'];
|
|
3294
|
+
/** Maximum provider requests in one session. */
|
|
3295
|
+
providerRequests: Scalars['Int']['output'];
|
|
3296
|
+
/** Maximum reasoning tokens in one session. */
|
|
3297
|
+
reasoningTokens: Scalars['BigInt']['output'];
|
|
3298
|
+
/** Maximum tool calls in one session. */
|
|
3299
|
+
toolCalls: Scalars['Int']['output'];
|
|
3300
|
+
/** Maximum total provider tokens in one session. */
|
|
3301
|
+
totalTokens: Scalars['BigInt']['output'];
|
|
3302
|
+
};
|
|
3303
|
+
/** Patch for per-session limits. Omitted values stay unchanged; supplied values are clamped down to platform ceilings. */
|
|
3304
|
+
export type CrowdyStudioAgentSessionLimitsInput = {
|
|
3305
|
+
/** Maximum draft compile submissions in one session. */
|
|
3306
|
+
compiles?: InputMaybe<Scalars['Int']['input']>;
|
|
3307
|
+
/** Maximum concurrent non-terminal runs in one session. */
|
|
3308
|
+
concurrentRuns?: InputMaybe<Scalars['Int']['input']>;
|
|
3309
|
+
/** Maximum input tokens in one session; positive decimal string. */
|
|
3310
|
+
inputTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3311
|
+
/** Maximum output tokens in one session; positive decimal string. */
|
|
3312
|
+
outputTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3313
|
+
/** Maximum provider cost in one session, in positive micro-USD. */
|
|
3314
|
+
providerCostMicrousd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3315
|
+
/** Maximum provider requests in one session. */
|
|
3316
|
+
providerRequests?: InputMaybe<Scalars['Int']['input']>;
|
|
3317
|
+
/** Maximum reasoning tokens in one session; positive decimal string. */
|
|
3318
|
+
reasoningTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3319
|
+
/** Maximum tool calls in one session. */
|
|
3320
|
+
toolCalls?: InputMaybe<Scalars['Int']['input']>;
|
|
3321
|
+
/** Maximum total provider tokens in one session. */
|
|
3322
|
+
totalTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3323
|
+
};
|
|
3324
|
+
/** Durable lifecycle state of an owner/app agent session. */
|
|
3325
|
+
export declare enum CrowdyStudioAgentSessionStatus {
|
|
3326
|
+
/** Accepts human control mutations and one run. */
|
|
3327
|
+
Active = "ACTIVE",
|
|
3328
|
+
/** Permanently closed, all capabilities revoked, and retention cleanup scheduled. */
|
|
3329
|
+
Closed = "CLOSED",
|
|
3330
|
+
/** Stopped by the human or reconnect flow; explicit context-revalidating resume is required. */
|
|
3331
|
+
Paused = "PAUSED",
|
|
3332
|
+
/** Disabled by authoritative policy or platform control and cannot resume. */
|
|
3333
|
+
Revoked = "REVOKED"
|
|
3334
|
+
}
|
|
3335
|
+
/** Durable state of one descriptor-pinned serialized tool proposal. */
|
|
3336
|
+
export declare enum CrowdyStudioAgentToolCallStatus {
|
|
3337
|
+
/** Cancelled before a known successful effect. */
|
|
3338
|
+
Cancelled = "CANCELLED",
|
|
3339
|
+
/** Human denied the exact proposal. */
|
|
3340
|
+
Denied = "DENIED",
|
|
3341
|
+
/** Durably sent to the matching attached browser epoch. */
|
|
3342
|
+
Dispatched = "DISPATCHED",
|
|
3343
|
+
/** Typed executor failure. */
|
|
3344
|
+
Failed = "FAILED",
|
|
3345
|
+
/** An effect may have occurred; it is never retried blindly and requires human inspection. */
|
|
3346
|
+
OutcomeUnknown = "OUTCOME_UNKNOWN",
|
|
3347
|
+
/** Validated and recorded, not yet dispatched. */
|
|
3348
|
+
Proposed = "PROPOSED",
|
|
3349
|
+
/** Executor began the typed operation. */
|
|
3350
|
+
Running = "RUNNING",
|
|
3351
|
+
/** Fenced by an epoch or context change. */
|
|
3352
|
+
Stale = "STALE",
|
|
3353
|
+
/** Typed output validated successfully. */
|
|
3354
|
+
Succeeded = "SUCCEEDED",
|
|
3355
|
+
/** The recorded tool deadline elapsed. */
|
|
3356
|
+
TimedOut = "TIMED_OUT",
|
|
3357
|
+
/** Blocked on the exact argument-hash approval. */
|
|
3358
|
+
WaitingForApproval = "WAITING_FOR_APPROVAL"
|
|
3359
|
+
}
|
|
3360
|
+
/** Trusted boundary that executes a typed tool. */
|
|
3361
|
+
export declare enum CrowdyStudioAgentToolExecutor {
|
|
3362
|
+
/** The attached CrowdyJS host executes once after epoch/context/lease validation. */
|
|
3363
|
+
Browser = "BROWSER",
|
|
3364
|
+
/** Game API invokes an owner-scoped domain service; never shell or arbitrary GraphQL. */
|
|
3365
|
+
Server = "SERVER"
|
|
3366
|
+
}
|
|
3367
|
+
/** Terminal result reported once by a browser executor. */
|
|
3368
|
+
export declare enum CrowdyStudioAgentToolResultStatus {
|
|
3369
|
+
/** Known cancelled before successful effect. */
|
|
3370
|
+
Cancelled = "CANCELLED",
|
|
3371
|
+
/** Effect is known failed with a typed safe error. */
|
|
3372
|
+
Failed = "FAILED",
|
|
3373
|
+
/** Effect may have happened; server fails the run without retrying. */
|
|
3374
|
+
OutcomeUnknown = "OUTCOME_UNKNOWN",
|
|
3375
|
+
/** Effect and typed output are known successful. */
|
|
3376
|
+
Succeeded = "SUCCEEDED",
|
|
3377
|
+
/** Browser deadline elapsed. */
|
|
3378
|
+
TimedOut = "TIMED_OUT"
|
|
3379
|
+
}
|
|
3380
|
+
/** Server-classified effect risk; app policy may only tighten it. */
|
|
3381
|
+
export declare enum CrowdyStudioAgentToolRisk {
|
|
3382
|
+
/** Possible data/path loss; exact human approval required. */
|
|
3383
|
+
Destructive = "DESTRUCTIVE",
|
|
3384
|
+
/** Moves or commits value; exact human approval required. */
|
|
3385
|
+
Economic = "ECONOMIC",
|
|
3386
|
+
/** Cannot be safely undone; exact human approval required. */
|
|
3387
|
+
Irreversible = "IRREVERSIBLE",
|
|
3388
|
+
/** No canonical state mutation. */
|
|
3389
|
+
ReadOnly = "READ_ONLY",
|
|
3390
|
+
/** Reversible expected-revision write with checkpointing. */
|
|
3391
|
+
RoutineWrite = "ROUTINE_WRITE",
|
|
3392
|
+
/** Changes trust or consent; exact human approval required. */
|
|
3393
|
+
TrustConsent = "TRUST_CONSENT",
|
|
3394
|
+
/** Routine game control requiring an explicit Play scope. */
|
|
3395
|
+
WorldControl = "WORLD_CONTROL"
|
|
3396
|
+
}
|
|
3397
|
+
/** Per-turn provider/tool/compile limits. Token and cost values are exact decimal BigInt strings; cost is in micro-US-dollars. */
|
|
3398
|
+
export type CrowdyStudioAgentTurnLimits = {
|
|
3399
|
+
__typename?: 'CrowdyStudioAgentTurnLimits';
|
|
3400
|
+
/** Maximum draft compile submissions in one turn. */
|
|
3401
|
+
compiles: Scalars['Int']['output'];
|
|
3402
|
+
/** Maximum concurrent provider requests in one turn. The v1 orchestrator still serializes calls. */
|
|
3403
|
+
concurrentProviderRequests: Scalars['Int']['output'];
|
|
3404
|
+
/** Maximum input tokens in one turn. */
|
|
3405
|
+
inputTokens: Scalars['BigInt']['output'];
|
|
3406
|
+
/** Maximum output tokens in one turn. */
|
|
3407
|
+
outputTokens: Scalars['BigInt']['output'];
|
|
3408
|
+
/** Maximum reserved/reconciled provider cost per turn, in micro-USD. */
|
|
3409
|
+
providerCostMicrousd: Scalars['BigInt']['output'];
|
|
3410
|
+
/** Maximum provider requests in one accepted turn. */
|
|
3411
|
+
providerRequests: Scalars['Int']['output'];
|
|
3412
|
+
/** Maximum reasoning tokens in one turn. */
|
|
3413
|
+
reasoningTokens: Scalars['BigInt']['output'];
|
|
3414
|
+
/** Maximum tool calls in one turn. */
|
|
3415
|
+
toolCalls: Scalars['Int']['output'];
|
|
3416
|
+
/** Maximum serialized provider/tool rounds in one turn. */
|
|
3417
|
+
toolRounds: Scalars['Int']['output'];
|
|
3418
|
+
/** Maximum total provider tokens in one turn. */
|
|
3419
|
+
totalTokens: Scalars['BigInt']['output'];
|
|
3420
|
+
/** Maximum turn wall-clock duration in milliseconds. */
|
|
3421
|
+
wallClockMs: Scalars['Int']['output'];
|
|
3422
|
+
};
|
|
3423
|
+
/** Patch for per-turn limits. Omitted values stay unchanged; supplied values must be positive and are clamped down to platform ceilings. */
|
|
3424
|
+
export type CrowdyStudioAgentTurnLimitsInput = {
|
|
3425
|
+
/** Maximum draft compile submissions in one turn. */
|
|
3426
|
+
compiles?: InputMaybe<Scalars['Int']['input']>;
|
|
3427
|
+
/** Maximum concurrent provider requests in one turn. */
|
|
3428
|
+
concurrentProviderRequests?: InputMaybe<Scalars['Int']['input']>;
|
|
3429
|
+
/** Maximum input tokens in one turn; positive decimal string. */
|
|
3430
|
+
inputTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3431
|
+
/** Maximum output tokens in one turn; positive decimal string. */
|
|
3432
|
+
outputTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3433
|
+
/** Maximum provider cost in one turn, in positive micro-USD. */
|
|
3434
|
+
providerCostMicrousd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3435
|
+
/** Maximum provider requests in one turn; positive integer. */
|
|
3436
|
+
providerRequests?: InputMaybe<Scalars['Int']['input']>;
|
|
3437
|
+
/** Maximum reasoning tokens in one turn; positive decimal string. */
|
|
3438
|
+
reasoningTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3439
|
+
/** Maximum tool calls in one turn; positive integer. */
|
|
3440
|
+
toolCalls?: InputMaybe<Scalars['Int']['input']>;
|
|
3441
|
+
/** Maximum serialized provider/tool rounds in one turn. */
|
|
3442
|
+
toolRounds?: InputMaybe<Scalars['Int']['input']>;
|
|
3443
|
+
/** Maximum total provider tokens in one turn; positive decimal string. */
|
|
3444
|
+
totalTokens?: InputMaybe<Scalars['BigInt']['input']>;
|
|
3445
|
+
/** Maximum wall-clock duration of one turn in milliseconds. */
|
|
3446
|
+
wallClockMs?: InputMaybe<Scalars['Int']['input']>;
|
|
3447
|
+
};
|
|
3448
|
+
/** Sanitized app usage read model: newest exact records plus an aggregate for the requested window. */
|
|
3449
|
+
export type CrowdyStudioAgentUsagePage = {
|
|
3450
|
+
__typename?: 'CrowdyStudioAgentUsagePage';
|
|
3451
|
+
/** Newest usage records, bounded by the requested limit. */
|
|
3452
|
+
records: Array<CrowdyStudioAgentUsageRecord>;
|
|
3453
|
+
/** Inclusive start of the usage window. */
|
|
3454
|
+
since: Scalars['DateTime']['output'];
|
|
3455
|
+
/** Aggregate over the full requested time window, not only returned records. */
|
|
3456
|
+
summary: CrowdyStudioAgentUsageSummary;
|
|
3457
|
+
/** Exclusive end of the usage window. */
|
|
3458
|
+
until: Scalars['DateTime']['output'];
|
|
3459
|
+
};
|
|
3460
|
+
/** One sanitized, platform-funded provider usage record. It contains exact OpenRouter token/cost dimensions but no key, prompt, headers, request/response body, private reasoning, or wallet debit. */
|
|
3461
|
+
export type CrowdyStudioAgentUsageRecord = {
|
|
3462
|
+
__typename?: 'CrowdyStudioAgentUsageRecord';
|
|
3463
|
+
/** RECONCILED or RESERVATION_CONSUMED when terminal usage was unavailable. */
|
|
3464
|
+
accountingStatus: Scalars['String']['output'];
|
|
3465
|
+
/** App whose agent run consumed usage. */
|
|
3466
|
+
appId: Scalars['BigInt']['output'];
|
|
3467
|
+
/** Pinned app policy revision. */
|
|
3468
|
+
appPolicyRevision: Scalars['BigInt']['output'];
|
|
3469
|
+
/** Funding mode; 'PLATFORM_FUNDED' in the pilot. */
|
|
3470
|
+
billingMode: Scalars['String']['output'];
|
|
3471
|
+
/** OpenRouter cached token count. */
|
|
3472
|
+
cachedTokens: Scalars['BigInt']['output'];
|
|
3473
|
+
/** Draft compile submissions in the run. */
|
|
3474
|
+
compileCount: Scalars['BigInt']['output'];
|
|
3475
|
+
/** OpenRouter completion token count. */
|
|
3476
|
+
completionTokens: Scalars['BigInt']['output'];
|
|
3477
|
+
/** True: provider data collection was denied. */
|
|
3478
|
+
dataCollectionDenied: Scalars['Boolean']['output'];
|
|
3479
|
+
/** When Management API accepted the usage record. */
|
|
3480
|
+
ingestedAt: Scalars['DateTime']['output'];
|
|
3481
|
+
/** Provider-native cached token count. */
|
|
3482
|
+
nativeCachedTokens: Scalars['BigInt']['output'];
|
|
3483
|
+
/** Provider-native completion token count. */
|
|
3484
|
+
nativeCompletionTokens: Scalars['BigInt']['output'];
|
|
3485
|
+
/** Provider-native prompt token count. */
|
|
3486
|
+
nativePromptTokens: Scalars['BigInt']['output'];
|
|
3487
|
+
/** Provider-native reasoning token count. */
|
|
3488
|
+
nativeReasoningTokens: Scalars['BigInt']['output'];
|
|
3489
|
+
/** When the provider usage occurred. */
|
|
3490
|
+
occurredAt: Scalars['DateTime']['output'];
|
|
3491
|
+
/** Payer kind; 'PLATFORM' in the pilot. */
|
|
3492
|
+
payerKind: Scalars['String']['output'];
|
|
3493
|
+
/** Pinned platform policy revision. */
|
|
3494
|
+
platformPolicyRevision: Scalars['BigInt']['output'];
|
|
3495
|
+
/** OpenRouter prompt token count. */
|
|
3496
|
+
promptTokens: Scalars['BigInt']['output'];
|
|
3497
|
+
/** Provider name; 'openrouter' for the v1 pilot. */
|
|
3498
|
+
provider: Scalars['String']['output'];
|
|
3499
|
+
/** Exact provider-reported OpenRouter cost in decimal USD (up to 18 fractional digits). */
|
|
3500
|
+
providerCostUsd: Scalars['String']['output'];
|
|
3501
|
+
/** Opaque OpenRouter generation id; null when terminal provider accounting was unavailable. */
|
|
3502
|
+
providerGenerationId: Maybe<Scalars['String']['output']>;
|
|
3503
|
+
/** OpenRouter reasoning token count. */
|
|
3504
|
+
reasoningTokens: Scalars['BigInt']['output'];
|
|
3505
|
+
/** Provider request count. */
|
|
3506
|
+
requestCount: Scalars['BigInt']['output'];
|
|
3507
|
+
/** Worst-case cost reserved before provider contact, in micro-USD. */
|
|
3508
|
+
reservedCostMicrousd: Scalars['BigInt']['output'];
|
|
3509
|
+
/** Resolved allowlisted model id. */
|
|
3510
|
+
resolvedModelId: Scalars['String']['output'];
|
|
3511
|
+
/** Game-local Agentic Studio run UUID. */
|
|
3512
|
+
runId: Scalars['String']['output'];
|
|
3513
|
+
/** Game-local Agentic Studio session UUID. */
|
|
3514
|
+
sessionId: Scalars['String']['output'];
|
|
3515
|
+
/** Validated tool calls in the run. */
|
|
3516
|
+
toolCalls: Scalars['BigInt']['output'];
|
|
3517
|
+
/** Serialized provider/tool rounds in the run. */
|
|
3518
|
+
toolRounds: Scalars['BigInt']['output'];
|
|
3519
|
+
/** Exact upstream inference cost in decimal USD when reported. */
|
|
3520
|
+
upstreamInferenceCostUsd: Maybe<Scalars['String']['output']>;
|
|
3521
|
+
/** Game API-issued immutable usage UUID. */
|
|
3522
|
+
usageId: Scalars['String']['output'];
|
|
3523
|
+
/** Player whose isolated budget consumed usage. */
|
|
3524
|
+
userId: Scalars['BigInt']['output'];
|
|
3525
|
+
/** Accepted run wall-clock duration in milliseconds, from durable run start to finish. */
|
|
3526
|
+
wallClockMs: Scalars['BigInt']['output'];
|
|
3527
|
+
/** True: OpenRouter ZDR was enforced. */
|
|
3528
|
+
zdrEnforced: Scalars['Boolean']['output'];
|
|
3529
|
+
};
|
|
3530
|
+
/** Exact aggregate over the returned app/window usage records. Decimal USD remains a string to preserve precision. */
|
|
3531
|
+
export type CrowdyStudioAgentUsageSummary = {
|
|
3532
|
+
__typename?: 'CrowdyStudioAgentUsageSummary';
|
|
3533
|
+
/** Cached tokens. */
|
|
3534
|
+
cachedTokens: Scalars['BigInt']['output'];
|
|
3535
|
+
/** Draft compiles. */
|
|
3536
|
+
compileCount: Scalars['BigInt']['output'];
|
|
3537
|
+
/** Completion tokens. */
|
|
3538
|
+
completionTokens: Scalars['BigInt']['output'];
|
|
3539
|
+
/** Prompt tokens. */
|
|
3540
|
+
promptTokens: Scalars['BigInt']['output'];
|
|
3541
|
+
/** Exact summed provider cost in decimal USD. */
|
|
3542
|
+
providerCostUsd: Scalars['String']['output'];
|
|
3543
|
+
/** Reasoning tokens. */
|
|
3544
|
+
reasoningTokens: Scalars['BigInt']['output'];
|
|
3545
|
+
/** Provider requests. */
|
|
3546
|
+
requestCount: Scalars['BigInt']['output'];
|
|
3547
|
+
/** Tool calls. */
|
|
3548
|
+
toolCalls: Scalars['BigInt']['output'];
|
|
3549
|
+
/** Tool rounds. */
|
|
3550
|
+
toolRounds: Scalars['BigInt']['output'];
|
|
3551
|
+
/** Summed accepted-run wall-clock milliseconds. */
|
|
3552
|
+
wallClockMs: Scalars['BigInt']['output'];
|
|
3553
|
+
};
|
|
2150
3554
|
/** A Crowdy Studio-curated app-scoped common file at its current immutable published version. Unlike personal source, this content is intentionally readable by app-scoped players. */
|
|
2151
3555
|
export type CrowdyStudioCommonFile = {
|
|
2152
3556
|
__typename?: 'CrowdyStudioCommonFile';
|
|
@@ -2340,6 +3744,21 @@ export declare enum CrowdyStudioTarget {
|
|
|
2340
3744
|
/** Server-target Rust that can run only after the caller separately passes current grid ownership and write_server_code deployment checks. */
|
|
2341
3745
|
Server = "SERVER"
|
|
2342
3746
|
}
|
|
3747
|
+
/** Approve or reject one exact pending tool call by its displayed argument hash. */
|
|
3748
|
+
export type DecideAgentToolInput = {
|
|
3749
|
+
/** Exact sha256 hash displayed by APPROVAL_REQUESTED; substitutions and stale contexts fail. */
|
|
3750
|
+
argumentHash: Scalars['String']['input'];
|
|
3751
|
+
/** Current attached client epoch. */
|
|
3752
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
3753
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
3754
|
+
idempotencyKey: Scalars['String']['input'];
|
|
3755
|
+
/** Optional bounded human rejection reason. */
|
|
3756
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
3757
|
+
/** Owner/app session UUID. */
|
|
3758
|
+
sessionId: Scalars['String']['input'];
|
|
3759
|
+
/** Pending tool call UUID. */
|
|
3760
|
+
toolCallId: Scalars['String']['input'];
|
|
3761
|
+
};
|
|
2343
3762
|
/** Define an app feature key. */
|
|
2344
3763
|
export type DefineAppFeatureInput = {
|
|
2345
3764
|
/** The app (tenant) defining the feature. */
|
|
@@ -3332,6 +4751,23 @@ export type GmTypeSchema = {
|
|
|
3332
4751
|
/** The container type name. */
|
|
3333
4752
|
typeName: Scalars['String']['output'];
|
|
3334
4753
|
};
|
|
4754
|
+
/** Human-grant a visible, scoped Play lease for the current grid/entity/host revision. */
|
|
4755
|
+
export type GrantAgentLeaseInput = {
|
|
4756
|
+
/** Current attached client epoch. */
|
|
4757
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
4758
|
+
/** Current player-controlled entity identifier, capped at 128 characters. */
|
|
4759
|
+
controlledEntityId: Scalars['String']['input'];
|
|
4760
|
+
/** Human-selected duration in seconds (1–600); no silent renewal. */
|
|
4761
|
+
durationSeconds: Scalars['Int']['input'];
|
|
4762
|
+
/** Exact current host capability revision. */
|
|
4763
|
+
hostCapabilityRevision: Scalars['String']['input'];
|
|
4764
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
4765
|
+
idempotencyKey: Scalars['String']['input'];
|
|
4766
|
+
/** Explicit unique Play scopes: observe, locomotion, interact, craft, combat, communicate, or travel. */
|
|
4767
|
+
scopes: Array<Scalars['String']['input']>;
|
|
4768
|
+
/** Owner/app PLAY session UUID. */
|
|
4769
|
+
sessionId: Scalars['String']['input'];
|
|
4770
|
+
};
|
|
3335
4771
|
/** Input for granting a user access to an app, optionally on a specific tier. */
|
|
3336
4772
|
export type GrantAppAccessInput = {
|
|
3337
4773
|
/** Numeric id of the app to grant access to. The caller must hold manage_access_tiers on this app. */
|
|
@@ -3877,11 +5313,15 @@ export type Mutation = {
|
|
|
3877
5313
|
consentGridClientMod: Scalars['Boolean']['output'];
|
|
3878
5314
|
/** Operator only (is_operator). Patches the platform compute ceilings: omitted fields stay unchanged, an explicit null clears that override (game-api falls back to env/default), a value (> 0) sets it. SIDE EFFECTS: fans a replica notify out to every game-api so the new ceilings clamp computeSetPolicy within ~30 seconds without a restart, and writes an audit entry. Lowering a ceiling does not shrink already-stored per-app policies; it rejects future computeSetPolicy values above the new ceiling. Returns the updated ceilings row. */
|
|
3879
5315
|
cpSetComputePlatformCeilings: CpComputePlatformCeilings;
|
|
5316
|
+
/** Operator only (is_operator or is_super_admin). Publish or release an emergency kill for one app. This state is separate from the app's own kill and always takes precedence in Management's effective envelope; app users cannot clear it. SIDE EFFECTS: revision increment, sanitized audit event, and transactional Game API policy notify. Runtime preemption depends on Game API pulling and enforcing the fresh envelope; releasing the operator kill does not enable the app or clear its own kill. Stable errors: AGENT_POLICY_INVALID, AGENT_POLICY_REVISION_CONFLICT, IDEMPOTENCY_CONFLICT. */
|
|
5317
|
+
cpSetCrowdyStudioAgentAppKill: CrowdyStudioAgentPolicy;
|
|
5318
|
+
/** Operator only (is_operator or is_super_admin). Patch Management platform Agentic Studio policy and global emergency kill. SIDE EFFECTS: the published kill takes precedence over every app setting, revision increments, a sanitized append-only audit event is written, and transactional replica notifications fan out to every app with Agentic Studio policy. Runtime enforcement changes only when Game API pulls and validates the fresh crowdy.studio-agent-policy/1 envelope; Game API must fail closed if it is missing, malformed, or stale. Hard ZDR/collection/body-retention rules and platform-funded/no-wallet pilot funding cannot be loosened. Stable errors: AGENT_POLICY_INVALID, AGENT_POLICY_REVISION_CONFLICT, IDEMPOTENCY_CONFLICT. */
|
|
5319
|
+
cpSetCrowdyStudioAgentPlatformPolicy: CrowdyStudioAgentPolicy;
|
|
3880
5320
|
/** Create a new access tier (a free/paid bundle of runtime permissions) for an app. Requires the 'manage_access_tiers' permission on the app (input.appId); super admins bypass. SIDE EFFECTS: validates the tier's permission keys against runtimePermissions and notifies the game API so Buddy sees the new tier. Does NOT grant the tier to any user. */
|
|
3881
5321
|
createAccessTier: AppAccessTier;
|
|
3882
5322
|
/** Creates an actor (a player’s presence/instance in an app world) owned by the authenticated user and returns the persisted row (including the server-set `createdAt`). Requires a valid game token. If `input.avatarId` is set it must reference an avatar the caller owns (throws Unauthorized otherwise). `input.uuid` must be the 32-character ASCII actor id used on the UDP wire (NOT a hyphenated RFC-4122 UUID). */
|
|
3883
5323
|
createActor: Actor;
|
|
3884
|
-
/** Create a new app within an organization. Requires the 'manage_apps' permission on the target org (input.orgId); super admins bypass. SIDE EFFECTS: also provisions a free, open-by-default "Default" access tier granting
|
|
5324
|
+
/** Create a new app within an organization. Requires the 'manage_apps' permission on the target org (input.orgId); super admins bypass. SIDE EFFECTS: also provisions a free, open-by-default "Default" access tier granting baseline runtime permissions and notifies the game API. Elevated capabilities such as use_studio_agent are NOT granted by default and require an explicit tier grant. Slug must be unique within the org (a duplicate slug fails). New apps default to visibility=PUBLIC and status=DRAFT unless overridden in the input. */
|
|
3885
5325
|
createApp: App;
|
|
3886
5326
|
/** Creates a new avatar owned by the authenticated user and returns it. Requires a valid game token; the new avatar is always owned by the caller. `input.name` is optional and defaults to "Default Avatar". */
|
|
3887
5327
|
createAvatar: Avatar;
|
|
@@ -3913,6 +5353,36 @@ export type Mutation = {
|
|
|
3913
5353
|
createTeam: Group;
|
|
3914
5354
|
/** Create a custom (non-system) team role granting the given team permission keys. Requires the 'manage_roles' team permission (app admins bypass). Permission keys must be valid team permission keys (group_permission_defs). */
|
|
3915
5355
|
createTeamRole: GroupRole;
|
|
5356
|
+
/** Monotonically persist one attached epoch’s highest contiguous applied event sequence. Requires the app-scoped owner, exact current epoch, and idempotency key; stale epochs and gaps fail with stable errors. */
|
|
5357
|
+
crowdyStudioAgentAcknowledgeEvents: AgentEventAcknowledgement;
|
|
5358
|
+
/** Human-grant one unexpired pending tool call by exact argument hash. The server revalidates epoch, context, policy, lease, descriptor, permissions, and project revision before single-use consumption. Requires the app-scoped owner, use_studio_agent, and idempotency key; approval never creates missing authority. */
|
|
5359
|
+
crowdyStudioAgentApproveTool: AgentApproval;
|
|
5360
|
+
/** Attach one interactive browser, allocate a new monotonic epoch, return that client instance’s replay cursor, and fence every older epoch plus its leases, approvals, and pending browser tools. Requires the app-scoped owner, use_studio_agent, and idempotency key; reconnect never replays an effect. */
|
|
5361
|
+
crowdyStudioAgentAttachClient: AgentClientAttachment;
|
|
5362
|
+
/** Immediately make one owner/session run durably CANCELLED, revoke pending capabilities/tools, and abort its local provider stream when present. Requires the app-scoped owner, current epoch, exact run id, and idempotency key; cancellation never silently resumes. */
|
|
5363
|
+
crowdyStudioAgentCancelRun: AgentRun;
|
|
5364
|
+
/** Permanently close one owner/app session, preempt its active run, revoke leases/approvals/dispatches, detach clients, and start the 30-day agent-data cleanup clock without deleting canonical projects/runtime state. Requires the current epoch and idempotency key. */
|
|
5365
|
+
crowdyStudioAgentCloseSession: AgentSession;
|
|
5366
|
+
/** Create a durable owner/app Agentic Crowdy Studio session and pin mode, private project/grid context, allowlisted model, exact Management platform/app revisions, and the mode/tool/risk-filtered registry digest. Requires an app-scoped token, use_studio_agent, a fresh non-killed policy, and an idempotency key; optional consent applies only to private source. */
|
|
5367
|
+
crowdyStudioAgentCreateSession: AgentSession;
|
|
5368
|
+
/** Human-grant a visible PLAY lease with explicit scopes, controlled entity, host capability revision, epoch, context, and 1–600 second duration. Requires PLAY mode, selected grid, app-scoped owner, use_studio_agent, effective policy, and idempotency key; the model cannot grant or renew it. */
|
|
5369
|
+
crowdyStudioAgentGrantLease: AgentLease;
|
|
5370
|
+
/** Recheck current agent permission, policy, owner context, and record the attached heartbeat. CrowdyJS sends this every two seconds; PLAY is stale after five seconds and an unchanged workspace lease renews to 30 seconds. Requires the current app-scoped owner/epoch and an idempotency key. */
|
|
5371
|
+
crowdyStudioAgentHeartbeat: AgentHeartbeat;
|
|
5372
|
+
/** Immediately pause the session and active run, revoke leases/approvals/pending dispatches, and persist SESSION_PAUSED. This human safety action does not wait for provider progress; requires the app-scoped owner, current epoch, and idempotency key. */
|
|
5373
|
+
crowdyStudioAgentPause: AgentSession;
|
|
5374
|
+
/** Human-deny one unexpired pending exact tool call, terminally denying the call and failing its run without any effect. Requires the app-scoped owner, current epoch, matching hash, and idempotency key. */
|
|
5375
|
+
crowdyStudioAgentRejectTool: AgentApproval;
|
|
5376
|
+
/** Explicitly resume a paused session after fresh policy/context validation and requeue its paused run. PLAY never restores an old lease. Requires the app-scoped owner, current epoch, use_studio_agent, and idempotency key. */
|
|
5377
|
+
crowdyStudioAgentResume: AgentSession;
|
|
5378
|
+
/** Immediately and idempotently revoke one owner/session lease. This safety action remains available without waiting for provider/model progress and does not require approval; requires an app-scoped owner, current epoch, and idempotency key. */
|
|
5379
|
+
crowdyStudioAgentRevokeLease: AgentLease;
|
|
5380
|
+
/** Append one bounded, redacted human message and queue exactly one serialized provider/tool run. Requires an active app-scoped owner, use_studio_agent, current epoch, fresh Management policy, complete budget reservation, and idempotency key; private source remains separately policy/consent gated. */
|
|
5381
|
+
crowdyStudioAgentSendMessage: AgentRun;
|
|
5382
|
+
/** Atomically human-select ASK, BUILD, or PLAY plus optional project/grid and repin effective policy revisions, descriptors, registry digest, and context. The change preempts runs and revokes old leases/approvals. Requires current epoch, app owner, use_studio_agent, mode policy, and idempotency key. */
|
|
5383
|
+
crowdyStudioAgentSetMode: AgentSession;
|
|
5384
|
+
/** Submit one idempotent terminal result for a matching BROWSER dispatch. The server fences old epochs/context, validates output against the pinned descriptor, redacts before persistence/provider continuation, and never retries OUTCOME_UNKNOWN. Requires an app-scoped owner and idempotency key. */
|
|
5385
|
+
crowdyStudioAgentToolResult: AgentToolCall;
|
|
3916
5386
|
/** Publish a new immutable version of an app-scoped Crowdy Studio-curated common file and make it the current player-readable version. Requires an app-scoped token plus the app manage_compute permission. Old versions remain immutable for provenance; an idempotency key is strongly recommended for transport retries. */
|
|
3917
5387
|
crowdyStudioCommonPublish: CrowdyStudioCommonFile;
|
|
3918
5388
|
/** Create or optimistically update one private personal-library source file. Requires an app-scoped token; ownership is always the authenticated player and cannot be delegated. Safe source paths, 64-KiB content, revision, and configurable bounded aggregate library storage are enforced atomically. */
|
|
@@ -4189,6 +5659,8 @@ export type Mutation = {
|
|
|
4189
5659
|
setChannelMemberRoles: GroupMember;
|
|
4190
5660
|
/** Set who may create channels in an app and the default membership policy for new channels. Requires app-admin ('manage_apps'). Affects future channel creation only, not existing channels. */
|
|
4191
5661
|
setChannelPolicy: AppGroupPolicy;
|
|
5662
|
+
/** Create or patch an app's Agentic Crowdy Studio policy. Requires 'manage_compute'. Omitted values stay unchanged; first creation starts disabled, killed, and deny-all. Model/tool/mode/risk lists are intersected with platform allowlists and every numeric/retention value is clamped down to platform limits. Locked ZDR/collection/body-retention rules and the operator app kill cannot be changed. SIDE EFFECTS: increments Management's publication revision, appends a sanitized audit event, and transactionally notifies Game API to pull crowdy.studio-agent-policy/1. Runtime enforcement changes only after Game API obtains and validates the fresh replica. Stable errors: AGENT_POLICY_INVALID, AGENT_POLICY_REVISION_CONFLICT, IDEMPOTENCY_CONFLICT. */
|
|
5663
|
+
setCrowdyStudioAgentPolicy: CrowdyStudioAgentPolicy;
|
|
4192
5664
|
/** Sets the per-user early-access override flag, forcing early access on or off regardless of the global free-play window. Requires a super-admin bearer game token (and the management API enabled). NOTE: management-owned in cks-game-api (throws ForbiddenException) — use cks-management-api. */
|
|
4193
5665
|
setEarlyAccessOverride: User;
|
|
4194
5666
|
/** Operator only (is_operator). Toggles deletion protection on an environment (when enabled, purgeEnvironment is blocked) and writes an audit entry. Returns true on success. */
|
|
@@ -4407,6 +5879,12 @@ export type MutationConsentGridClientModArgs = {
|
|
|
4407
5879
|
export type MutationCpSetComputePlatformCeilingsArgs = {
|
|
4408
5880
|
input: CpSetComputePlatformCeilingsInput;
|
|
4409
5881
|
};
|
|
5882
|
+
export type MutationCpSetCrowdyStudioAgentAppKillArgs = {
|
|
5883
|
+
input: SetCrowdyStudioAgentOperatorAppKillInput;
|
|
5884
|
+
};
|
|
5885
|
+
export type MutationCpSetCrowdyStudioAgentPlatformPolicyArgs = {
|
|
5886
|
+
input: SetCrowdyStudioAgentPlatformPolicyInput;
|
|
5887
|
+
};
|
|
4410
5888
|
export type MutationCreateAccessTierArgs = {
|
|
4411
5889
|
input: CreateAccessTierInput;
|
|
4412
5890
|
};
|
|
@@ -4462,6 +5940,51 @@ export type MutationCreateTeamArgs = {
|
|
|
4462
5940
|
export type MutationCreateTeamRoleArgs = {
|
|
4463
5941
|
input: CreateGroupRoleInput;
|
|
4464
5942
|
};
|
|
5943
|
+
export type MutationCrowdyStudioAgentAcknowledgeEventsArgs = {
|
|
5944
|
+
input: AcknowledgeAgentEventsInput;
|
|
5945
|
+
};
|
|
5946
|
+
export type MutationCrowdyStudioAgentApproveToolArgs = {
|
|
5947
|
+
input: DecideAgentToolInput;
|
|
5948
|
+
};
|
|
5949
|
+
export type MutationCrowdyStudioAgentAttachClientArgs = {
|
|
5950
|
+
input: AttachAgentClientInput;
|
|
5951
|
+
};
|
|
5952
|
+
export type MutationCrowdyStudioAgentCancelRunArgs = {
|
|
5953
|
+
input: CancelAgentRunInput;
|
|
5954
|
+
};
|
|
5955
|
+
export type MutationCrowdyStudioAgentCloseSessionArgs = {
|
|
5956
|
+
input: AgentSessionControlInput;
|
|
5957
|
+
};
|
|
5958
|
+
export type MutationCrowdyStudioAgentCreateSessionArgs = {
|
|
5959
|
+
input: CreateAgentSessionInput;
|
|
5960
|
+
};
|
|
5961
|
+
export type MutationCrowdyStudioAgentGrantLeaseArgs = {
|
|
5962
|
+
input: GrantAgentLeaseInput;
|
|
5963
|
+
};
|
|
5964
|
+
export type MutationCrowdyStudioAgentHeartbeatArgs = {
|
|
5965
|
+
input: AgentHeartbeatInput;
|
|
5966
|
+
};
|
|
5967
|
+
export type MutationCrowdyStudioAgentPauseArgs = {
|
|
5968
|
+
input: AgentSessionControlInput;
|
|
5969
|
+
};
|
|
5970
|
+
export type MutationCrowdyStudioAgentRejectToolArgs = {
|
|
5971
|
+
input: DecideAgentToolInput;
|
|
5972
|
+
};
|
|
5973
|
+
export type MutationCrowdyStudioAgentResumeArgs = {
|
|
5974
|
+
input: AgentSessionControlInput;
|
|
5975
|
+
};
|
|
5976
|
+
export type MutationCrowdyStudioAgentRevokeLeaseArgs = {
|
|
5977
|
+
input: RevokeAgentLeaseInput;
|
|
5978
|
+
};
|
|
5979
|
+
export type MutationCrowdyStudioAgentSendMessageArgs = {
|
|
5980
|
+
input: SendAgentMessageInput;
|
|
5981
|
+
};
|
|
5982
|
+
export type MutationCrowdyStudioAgentSetModeArgs = {
|
|
5983
|
+
input: SetAgentModeInput;
|
|
5984
|
+
};
|
|
5985
|
+
export type MutationCrowdyStudioAgentToolResultArgs = {
|
|
5986
|
+
input: AgentToolResultInput;
|
|
5987
|
+
};
|
|
4465
5988
|
export type MutationCrowdyStudioCommonPublishArgs = {
|
|
4466
5989
|
input: PublishCrowdyStudioCommonFileInput;
|
|
4467
5990
|
};
|
|
@@ -4949,6 +6472,9 @@ export type MutationSetChannelMemberRolesArgs = {
|
|
|
4949
6472
|
export type MutationSetChannelPolicyArgs = {
|
|
4950
6473
|
input: SetChannelPolicyInput;
|
|
4951
6474
|
};
|
|
6475
|
+
export type MutationSetCrowdyStudioAgentPolicyArgs = {
|
|
6476
|
+
input: SetCrowdyStudioAgentAppPolicyInput;
|
|
6477
|
+
};
|
|
4952
6478
|
export type MutationSetEarlyAccessOverrideArgs = {
|
|
4953
6479
|
userId: Scalars['BigInt']['input'];
|
|
4954
6480
|
value: Scalars['Boolean']['input'];
|
|
@@ -6305,6 +7831,8 @@ export type Query = {
|
|
|
6305
7831
|
cpChangeOrders: CpChangeOrdersPage;
|
|
6306
7832
|
/** Operator only (is_operator). The stored platform ceilings for the per-app WASM compute policy (the nine knobs computeSetPolicy clamps against). Null fields mean no operator override: game-api uses its COMPUTE_PLATFORM_MAX_* env var, then the code default. Read-only. */
|
|
6307
7833
|
cpComputePlatformCeilings: CpComputePlatformCeilings;
|
|
7834
|
+
/** Operator only (is_operator or is_super_admin). Read the platform Agentic Studio enablement, global emergency kill, model/tool/mode/risk allowlists, budget ceilings, retention/privacy policy, pilot funding seam, timestamps, and revision. No provider credential or request body is stored or returned. */
|
|
7835
|
+
cpCrowdyStudioAgentPlatformPolicy: CrowdyStudioAgentPolicy;
|
|
6308
7836
|
/** Operator only (is_operator). Lists environment-delivered secret metadata (names/kinds only, never plaintext) injected into the tenant runtime, optionally filtered by environment. */
|
|
6309
7837
|
cpEnvSecrets: Array<CpEnvSecretRow>;
|
|
6310
7838
|
/** Operator only (is_operator). Operator view of one environment by slug, across any org. Null when not found. */
|
|
@@ -6321,6 +7849,22 @@ export type Query = {
|
|
|
6321
7849
|
cpUnreleasedGameApiTags: CpUnreleasedGameApiTagsPage;
|
|
6322
7850
|
/** Operator only (is_operator). Per-minute usage summary for any environment by slug (operator equivalent of environmentUsageSummary, not org-scoped). Read-only. */
|
|
6323
7851
|
cpUsageSummary: CpUsageSummary;
|
|
7852
|
+
/** Return every effective TURN, SESSION, and PLAYER_DAY request/token/reasoning/cost/tool-round/wall-clock/tool-call/compile dimension with reserved, consumed, and non-negative remaining values. The pilot is platform-funded and this owner/app query never debits a wallet. */
|
|
7853
|
+
crowdyStudioAgentBudget: AgentBudget;
|
|
7854
|
+
/** Read Management's fail-closed Agentic Crowdy Studio publication: platform enable/kill, per-app operator kill, app enable/kill, exact model/tool/mode/risk intersections, minimum budgets/retention, locked privacy, and platform-funded billing seam. Requires 'view_compute_diagnostics'. This is the source publication, not proof of current runtime enforcement: Game API must hold a fresh crowdy.studio-agent-policy/1 replica and independently enforce it; missing/stale/malformed replica or an empty model/mode intersection must disable the agent. */
|
|
7855
|
+
crowdyStudioAgentEffectivePolicy: CrowdyStudioAgentPolicy;
|
|
7856
|
+
/** Replay ordered durable typed events with seq greater than afterSeq. Requires the app-scoped owner and use_studio_agent. Use this query to fill subscription gaps; results are ascending, at-least-once safe, default 100, maximum 200. */
|
|
7857
|
+
crowdyStudioAgentHistory: AgentEventConnection;
|
|
7858
|
+
/** Read the app-owned Agentic Crowdy Studio policy row, or a disabled/killed deny-all projection when no row exists. Requires 'view_compute_diagnostics' on the app. This is configuration only: use crowdyStudioAgentEffectivePolicy to see platform clamp and kill precedence. No provider key, prompt, source, header, request/response body, payer reference, or other secret is exposed. */
|
|
7859
|
+
crowdyStudioAgentPolicy: CrowdyStudioAgentPolicy;
|
|
7860
|
+
/** Return one durable Agentic Crowdy Studio session plus its active run, leases, and pending approval. Requires an unexpired app-scoped token, use_studio_agent, and exact session owner/app visibility; missing and foreign ids return AGENT_SESSION_NOT_FOUND. */
|
|
7861
|
+
crowdyStudioAgentSession: AgentSession;
|
|
7862
|
+
/** List the authenticated owner’s Agentic Crowdy Studio sessions in one app using an opaque cursor, newest first. Requires an app-scoped token for appId and use_studio_agent. The bounded page defaults to 20 and allows 1–50. */
|
|
7863
|
+
crowdyStudioAgentSessions: AgentSessionConnection;
|
|
7864
|
+
/** Return only implemented tools allowed by the current mode plus the exact non-stale Management model/tool/risk policy. Each entry includes the complete canonical crowdy.agent-tool/1 descriptor and digest. Requires the app-scoped owner and use_studio_agent. */
|
|
7865
|
+
crowdyStudioAgentToolDescriptors: AgentToolDescriptorSet;
|
|
7866
|
+
/** Read the app's sanitized platform-funded Agentic Studio usage over a bounded time window. Requires 'view_compute_diagnostics'. Returns exact OpenRouter prompt/completion/reasoning/cache/native token and decimal-USD cost dimensions, request/tool/compile/wall counts, and pinned policy revisions. It never returns prompts, source, private reasoning, headers, provider bodies, credentials, payer references, or wallet data; pilot usage never debits a player wallet. */
|
|
7867
|
+
crowdyStudioAgentUsage: CrowdyStudioAgentUsagePage;
|
|
6324
7868
|
/** List the current immutable versions of published Crowdy Studio-curated common files for one app. Requires an app-scoped token for appId; unlike private player source, this catalog content is intentionally readable by players in that app. Results are bounded and may be filtered by target. */
|
|
6325
7869
|
crowdyStudioCommonFiles: Array<CrowdyStudioCommonFile>;
|
|
6326
7870
|
/** List the authenticated player’s private reusable Crowdy Studio source files in one app. Requires an app-scoped token for appId; cross-user entries are never visible, including to grid owners or Crowdy Studio operators. The bounded result defaults to 50. */
|
|
@@ -6833,6 +8377,37 @@ export type QueryCpUsageSummaryArgs = {
|
|
|
6833
8377
|
environmentSlug: Scalars['String']['input'];
|
|
6834
8378
|
since: Scalars['DateTime']['input'];
|
|
6835
8379
|
};
|
|
8380
|
+
export type QueryCrowdyStudioAgentBudgetArgs = {
|
|
8381
|
+
sessionId: Scalars['String']['input'];
|
|
8382
|
+
};
|
|
8383
|
+
export type QueryCrowdyStudioAgentEffectivePolicyArgs = {
|
|
8384
|
+
appId: Scalars['BigInt']['input'];
|
|
8385
|
+
};
|
|
8386
|
+
export type QueryCrowdyStudioAgentHistoryArgs = {
|
|
8387
|
+
afterSeq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8388
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
8389
|
+
sessionId: Scalars['String']['input'];
|
|
8390
|
+
};
|
|
8391
|
+
export type QueryCrowdyStudioAgentPolicyArgs = {
|
|
8392
|
+
appId: Scalars['BigInt']['input'];
|
|
8393
|
+
};
|
|
8394
|
+
export type QueryCrowdyStudioAgentSessionArgs = {
|
|
8395
|
+
sessionId: Scalars['String']['input'];
|
|
8396
|
+
};
|
|
8397
|
+
export type QueryCrowdyStudioAgentSessionsArgs = {
|
|
8398
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
8399
|
+
appId: Scalars['BigInt']['input'];
|
|
8400
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
8401
|
+
};
|
|
8402
|
+
export type QueryCrowdyStudioAgentToolDescriptorsArgs = {
|
|
8403
|
+
sessionId: Scalars['String']['input'];
|
|
8404
|
+
};
|
|
8405
|
+
export type QueryCrowdyStudioAgentUsageArgs = {
|
|
8406
|
+
appId: Scalars['BigInt']['input'];
|
|
8407
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8408
|
+
since?: InputMaybe<Scalars['DateTime']['input']>;
|
|
8409
|
+
until?: InputMaybe<Scalars['DateTime']['input']>;
|
|
8410
|
+
};
|
|
6836
8411
|
export type QueryCrowdyStudioCommonFilesArgs = {
|
|
6837
8412
|
appId: Scalars['BigInt']['input'];
|
|
6838
8413
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7358,6 +8933,19 @@ export type ResumeEnvironmentInput = {
|
|
|
7358
8933
|
/** Slug of the suspended/grace environment to resume (billingStatus must be grace, suspension_queued, suspended, or resume_failed). */
|
|
7359
8934
|
slug: Scalars['String']['input'];
|
|
7360
8935
|
};
|
|
8936
|
+
/** Immediately revoke one visible lease. */
|
|
8937
|
+
export type RevokeAgentLeaseInput = {
|
|
8938
|
+
/** Current attached client epoch. */
|
|
8939
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
8940
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
8941
|
+
idempotencyKey: Scalars['String']['input'];
|
|
8942
|
+
/** Lease UUID to revoke. */
|
|
8943
|
+
leaseId: Scalars['String']['input'];
|
|
8944
|
+
/** Optional strict CrowdyJS/BWF preemption reason; defaults to HUMAN_STOP. */
|
|
8945
|
+
reason?: InputMaybe<CrowdyStudioAgentPreemptionReason>;
|
|
8946
|
+
/** Owner/app session UUID. */
|
|
8947
|
+
sessionId: Scalars['String']['input'];
|
|
8948
|
+
};
|
|
7361
8949
|
/** Revoke a user's direct grants on a grid (deletes from the grid_user_direct_grants input table). */
|
|
7362
8950
|
export type RevokeGridPermissionsInput = {
|
|
7363
8951
|
/** The app (tenant) that owns the grid. */
|
|
@@ -7693,6 +9281,17 @@ export type SellerPayoutBalance = {
|
|
|
7693
9281
|
/** Cents held back (reserve or T11 freeze). */
|
|
7694
9282
|
reservedCents: Scalars['Int']['output'];
|
|
7695
9283
|
};
|
|
9284
|
+
/** Accept one bounded human message and queue exactly one serialized run. */
|
|
9285
|
+
export type SendAgentMessageInput = {
|
|
9286
|
+
/** Current attached client epoch. */
|
|
9287
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
9288
|
+
/** Human intent text, normalized, secret-scanned, and capped at 16 KiB. It never grants authority. */
|
|
9289
|
+
content: Scalars['String']['input'];
|
|
9290
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
9291
|
+
idempotencyKey: Scalars['String']['input'];
|
|
9292
|
+
/** Owner/app active session UUID. */
|
|
9293
|
+
sessionId: Scalars['String']['input'];
|
|
9294
|
+
};
|
|
7696
9295
|
/** Notification received when the server sends a custom event. Received via the udpNotifications subscription. */
|
|
7697
9296
|
export type ServerEventNotification = {
|
|
7698
9297
|
__typename?: 'ServerEventNotification';
|
|
@@ -7807,6 +9406,21 @@ export type ServiceQuota = {
|
|
|
7807
9406
|
/** When the rule was last updated (ISO-8601 UTC timestamp). */
|
|
7808
9407
|
updatedAt: Scalars['DateTime']['output'];
|
|
7809
9408
|
};
|
|
9409
|
+
/** Atomically select human mode plus optional project/grid and repin effective policy revisions, descriptors, registry digest, and context while preempting old authority. */
|
|
9410
|
+
export type SetAgentModeInput = {
|
|
9411
|
+
/** Current attached client epoch. */
|
|
9412
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
9413
|
+
/** Optional grid context to atomically repin with the mode. Omit to retain it; PLAY requires the resulting grid. */
|
|
9414
|
+
gridId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
9415
|
+
/** Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT. */
|
|
9416
|
+
idempotencyKey: Scalars['String']['input'];
|
|
9417
|
+
/** New human-selected mode; the model cannot call this mutation. */
|
|
9418
|
+
mode: CrowdyStudioAgentMode;
|
|
9419
|
+
/** Optional owner project UUID to atomically repin with the mode. Omit to retain it; BUILD requires the resulting selection. */
|
|
9420
|
+
projectId?: InputMaybe<Scalars['String']['input']>;
|
|
9421
|
+
/** Owner/app session UUID. */
|
|
9422
|
+
sessionId: Scalars['String']['input'];
|
|
9423
|
+
};
|
|
7810
9424
|
/** Register/update an app's OAuth client settings for the portal handoff (requires manage_apps on the app). */
|
|
7811
9425
|
export type SetAppClientSettingsInput = {
|
|
7812
9426
|
appId: Scalars['BigInt']['input'];
|
|
@@ -7906,6 +9520,85 @@ export type SetContainerPropertyInput = {
|
|
|
7906
9520
|
/** The value type being written (must match the property definition). */
|
|
7907
9521
|
valueType: Scalars['String']['input'];
|
|
7908
9522
|
};
|
|
9523
|
+
/** Patch an app's Agentic Studio policy. Requires manage_compute. Omitted fields stay unchanged; all supplied authority and limits are clamped to platform policy. */
|
|
9524
|
+
export type SetCrowdyStudioAgentAppPolicyInput = {
|
|
9525
|
+
/** Replacement exact model allowlist (max 64). App values are intersected with the platform allowlist. */
|
|
9526
|
+
allowedModelIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
9527
|
+
/** Replacement mode allowlist; app values are intersected with platform modes. */
|
|
9528
|
+
allowedModes?: InputMaybe<Array<CrowdyStudioAgentMode>>;
|
|
9529
|
+
/** Replacement risk-class allowlist; app values are intersected with platform classes. */
|
|
9530
|
+
allowedRiskClasses?: InputMaybe<Array<CrowdyStudioAgentRiskClass>>;
|
|
9531
|
+
/** Replacement exact logical tool-name allowlist (max 256). App values are intersected with platform tools. */
|
|
9532
|
+
allowedToolNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
9533
|
+
/** App whose policy is changed. */
|
|
9534
|
+
appId: Scalars['BigInt']['input'];
|
|
9535
|
+
/** Enable or disable this policy layer. */
|
|
9536
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9537
|
+
/** Optional optimistic revision. Use 0 when creating; a mismatch fails AGENT_POLICY_REVISION_CONFLICT. */
|
|
9538
|
+
expectedRevision?: InputMaybe<Scalars['BigInt']['input']>;
|
|
9539
|
+
/** Required retry key (1-128 characters). Same key/arguments replay; different arguments fail IDEMPOTENCY_CONFLICT. */
|
|
9540
|
+
idempotencyKey: Scalars['String']['input'];
|
|
9541
|
+
/** Set or clear this layer kill switch. Kill always wins over enablement. */
|
|
9542
|
+
killSwitch?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9543
|
+
/** Optional per-player/day and concurrency limit patch. */
|
|
9544
|
+
playerDayLimits?: InputMaybe<CrowdyStudioAgentPlayerDayLimitsInput>;
|
|
9545
|
+
/** Optional private-source sharing patch; first-use consent remains locked on. */
|
|
9546
|
+
privacy?: InputMaybe<CrowdyStudioAgentPrivacyPolicyInput>;
|
|
9547
|
+
/** Optional retention patch. */
|
|
9548
|
+
retention?: InputMaybe<CrowdyStudioAgentRetentionPolicyInput>;
|
|
9549
|
+
/** Optional per-session limit patch. */
|
|
9550
|
+
sessionLimits?: InputMaybe<CrowdyStudioAgentSessionLimitsInput>;
|
|
9551
|
+
/** Optional per-turn limit patch. */
|
|
9552
|
+
turnLimits?: InputMaybe<CrowdyStudioAgentTurnLimitsInput>;
|
|
9553
|
+
};
|
|
9554
|
+
/** Operator-only per-app emergency kill. App managers cannot clear or override this state. */
|
|
9555
|
+
export type SetCrowdyStudioAgentOperatorAppKillInput = {
|
|
9556
|
+
/** App to kill or release. */
|
|
9557
|
+
appId: Scalars['BigInt']['input'];
|
|
9558
|
+
/** Optional optimistic app-policy revision. */
|
|
9559
|
+
expectedRevision?: InputMaybe<Scalars['BigInt']['input']>;
|
|
9560
|
+
/** Required retry key (1-128 characters). Same key/arguments replay; different arguments fail IDEMPOTENCY_CONFLICT. */
|
|
9561
|
+
idempotencyKey: Scalars['String']['input'];
|
|
9562
|
+
/** True to kill immediately; false to release the operator kill. */
|
|
9563
|
+
killed: Scalars['Boolean']['input'];
|
|
9564
|
+
/** Safe reason text (max 256); no secrets or provider bodies. */
|
|
9565
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
9566
|
+
/** Stable reason code (max 64); defaults to AGENT_OPERATOR_KILLED. */
|
|
9567
|
+
reasonCode?: InputMaybe<Scalars['String']['input']>;
|
|
9568
|
+
};
|
|
9569
|
+
/** Operator-only platform policy patch. Omitted values stay unchanged; hard v1 privacy and retention maxima still apply. */
|
|
9570
|
+
export type SetCrowdyStudioAgentPlatformPolicyInput = {
|
|
9571
|
+
/** Replacement exact model allowlist (max 64). App values are intersected with the platform allowlist. */
|
|
9572
|
+
allowedModelIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
9573
|
+
/** Replacement mode allowlist; app values are intersected with platform modes. */
|
|
9574
|
+
allowedModes?: InputMaybe<Array<CrowdyStudioAgentMode>>;
|
|
9575
|
+
/** Replacement risk-class allowlist; app values are intersected with platform classes. */
|
|
9576
|
+
allowedRiskClasses?: InputMaybe<Array<CrowdyStudioAgentRiskClass>>;
|
|
9577
|
+
/** Replacement exact logical tool-name allowlist (max 256). App values are intersected with platform tools. */
|
|
9578
|
+
allowedToolNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
9579
|
+
/** Enable or disable this policy layer. */
|
|
9580
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9581
|
+
/** Optional optimistic platform revision. */
|
|
9582
|
+
expectedRevision?: InputMaybe<Scalars['BigInt']['input']>;
|
|
9583
|
+
/** Required retry key (1-128 characters). Same key/arguments replay; different arguments fail IDEMPOTENCY_CONFLICT. */
|
|
9584
|
+
idempotencyKey: Scalars['String']['input'];
|
|
9585
|
+
/** Safe operator-facing kill reason (max 256); no secrets or provider bodies. */
|
|
9586
|
+
killReason?: InputMaybe<Scalars['String']['input']>;
|
|
9587
|
+
/** Stable kill reason code (max 64); used only while killSwitch is true. */
|
|
9588
|
+
killReasonCode?: InputMaybe<Scalars['String']['input']>;
|
|
9589
|
+
/** Set or clear this layer kill switch. Kill always wins over enablement. */
|
|
9590
|
+
killSwitch?: InputMaybe<Scalars['Boolean']['input']>;
|
|
9591
|
+
/** Optional per-player/day and concurrency limit patch. */
|
|
9592
|
+
playerDayLimits?: InputMaybe<CrowdyStudioAgentPlayerDayLimitsInput>;
|
|
9593
|
+
/** Optional private-source sharing patch; first-use consent remains locked on. */
|
|
9594
|
+
privacy?: InputMaybe<CrowdyStudioAgentPrivacyPolicyInput>;
|
|
9595
|
+
/** Optional retention patch. */
|
|
9596
|
+
retention?: InputMaybe<CrowdyStudioAgentRetentionPolicyInput>;
|
|
9597
|
+
/** Optional per-session limit patch. */
|
|
9598
|
+
sessionLimits?: InputMaybe<CrowdyStudioAgentSessionLimitsInput>;
|
|
9599
|
+
/** Optional per-turn limit patch. */
|
|
9600
|
+
turnLimits?: InputMaybe<CrowdyStudioAgentTurnLimitsInput>;
|
|
9601
|
+
};
|
|
7909
9602
|
/** Optimistically archive or restore one caller-owned personal-library file. */
|
|
7910
9603
|
export type SetCrowdyStudioLibraryFileArchivedInput = {
|
|
7911
9604
|
/** App tenant that owns the private library entry. */
|
|
@@ -8143,11 +9836,18 @@ export type SocialLoginStartInput = {
|
|
|
8143
9836
|
};
|
|
8144
9837
|
export type Subscription = {
|
|
8145
9838
|
__typename?: 'Subscription';
|
|
9839
|
+
/** Replay durable events with seq greater than afterSeq, then tail newly committed facts using database replay plus in-memory wakeups. Requires an app-scoped owner, use_studio_agent, and exact current clientEpoch. Delivery is ordered and at-least-once: deduplicate eventId/seq, fill gaps with crowdyStudioAgentHistory, and acknowledge only contiguous sequences. */
|
|
9840
|
+
crowdyStudioAgentEvents: CrowdyStudioAgentEvent;
|
|
8146
9841
|
/** Push notification whenever a container in the app changes: an invoke mutated it, a direct gameModelSetProperty wrote it, or it was created/deleted. Metadata only (containerId, typeName, changedKeys — no property values); pull the visibility-filtered state with gameModelContainerState on receipt. Post-commit and best-effort (a dropped event costs one missed pull, never correctness) — durable reads remain the source of truth. Optional typeName/sessionId filters narrow delivery. Fans out across all API replicas. Requires a valid token. Replaces interval polling with pull-on-push. */
|
|
8147
9842
|
gameModelContainerChanged: GmContainerChange;
|
|
8148
9843
|
/** Realtime downlink from the game server: spatial notifications and responses, GenericErrorResponse (errors from your sends, correlated by sequenceNumber), and RealtimeConnectionEvent (lifecycle/setup failures). Requires a bearer game token AND an appId-scoped connection — the appId is read from the graphql-transport-ws connection (game tokens are app-agnostic and one UDP socket is shared across apps, so an app-agnostic subscription is rejected with a RealtimeConnectionEvent code APP_ID_REQUIRED, and a missing/invalid token with AUTH_REQUIRED). On subscribe, opens a UDP proxy session if none exists (binds to the least-loaded game server); open/transport failures are delivered as RealtimeConnectionEvent (code UDP_PROXY_CONNECTION_FAILED) and then the stream ends. Only this app’s spatial fan-out is delivered; appId-less control frames always pass. Subscribe before/while sending so async results are not missed. Unsubscribing stops delivery only — it does NOT close the UDP session; call disconnectUdpProxy (or rely on the server inactivity timeout) to release it. */
|
|
8149
9844
|
udpNotifications: Maybe<UdpNotification>;
|
|
8150
9845
|
};
|
|
9846
|
+
export type SubscriptionCrowdyStudioAgentEventsArgs = {
|
|
9847
|
+
afterSeq: Scalars['BigInt']['input'];
|
|
9848
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
9849
|
+
sessionId: Scalars['String']['input'];
|
|
9850
|
+
};
|
|
8151
9851
|
export type SubscriptionGameModelContainerChangedArgs = {
|
|
8152
9852
|
appId: Scalars['BigInt']['input'];
|
|
8153
9853
|
sessionId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -12071,6 +13771,2027 @@ export type CrowdyStudioProjectImportFileMutation = {
|
|
|
12071
13771
|
}>;
|
|
12072
13772
|
};
|
|
12073
13773
|
};
|
|
13774
|
+
export type CrowdyAgentErrorFieldsFragment = {
|
|
13775
|
+
__typename?: 'AgentError';
|
|
13776
|
+
code: string;
|
|
13777
|
+
message: string;
|
|
13778
|
+
retryable: boolean;
|
|
13779
|
+
remediation: string | null;
|
|
13780
|
+
field: string | null;
|
|
13781
|
+
requiredScope: string | null;
|
|
13782
|
+
};
|
|
13783
|
+
export type CrowdyAgentRunFieldsFragment = {
|
|
13784
|
+
__typename?: 'AgentRun';
|
|
13785
|
+
runId: string;
|
|
13786
|
+
status: CrowdyStudioAgentRunStatus;
|
|
13787
|
+
providerRounds: number;
|
|
13788
|
+
toolCalls: number;
|
|
13789
|
+
errorCode: string | null;
|
|
13790
|
+
terminalReason: string | null;
|
|
13791
|
+
reason: string | null;
|
|
13792
|
+
startedAt: string | null;
|
|
13793
|
+
finishedAt: string | null;
|
|
13794
|
+
createdAt: string;
|
|
13795
|
+
cancelled: boolean;
|
|
13796
|
+
};
|
|
13797
|
+
export type CrowdyAgentLeaseFieldsFragment = {
|
|
13798
|
+
__typename?: 'AgentLease';
|
|
13799
|
+
leaseId: string;
|
|
13800
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
13801
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
13802
|
+
clientEpoch: string;
|
|
13803
|
+
scopes: Array<string>;
|
|
13804
|
+
holder: string;
|
|
13805
|
+
contextVersion: string;
|
|
13806
|
+
controlledEntityId: string | null;
|
|
13807
|
+
hostCapabilityRevision: string | null;
|
|
13808
|
+
expectedProjectRevision: string | null;
|
|
13809
|
+
grantedAt: string;
|
|
13810
|
+
expiresAt: string;
|
|
13811
|
+
revokedReason: string | null;
|
|
13812
|
+
};
|
|
13813
|
+
export type CrowdyAgentApprovalFieldsFragment = {
|
|
13814
|
+
__typename?: 'AgentApproval';
|
|
13815
|
+
approvalId: string;
|
|
13816
|
+
toolCallId: string;
|
|
13817
|
+
argumentHash: string;
|
|
13818
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
13819
|
+
safeSummary: string;
|
|
13820
|
+
clientEpoch: string;
|
|
13821
|
+
expiresAt: string;
|
|
13822
|
+
approved: boolean;
|
|
13823
|
+
rejected: boolean;
|
|
13824
|
+
};
|
|
13825
|
+
export type CrowdyAgentSessionFieldsFragment = {
|
|
13826
|
+
__typename?: 'AgentSession';
|
|
13827
|
+
contractVersion: string;
|
|
13828
|
+
sessionId: string;
|
|
13829
|
+
appId: string;
|
|
13830
|
+
projectId: string | null;
|
|
13831
|
+
gridId: string | null;
|
|
13832
|
+
mode: CrowdyStudioAgentMode;
|
|
13833
|
+
requestedModel: string;
|
|
13834
|
+
model: string | null;
|
|
13835
|
+
resolvedModel: string | null;
|
|
13836
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
13837
|
+
providerDataConsent: boolean;
|
|
13838
|
+
registryDigest: string;
|
|
13839
|
+
providerPolicyVersion: string;
|
|
13840
|
+
appPolicyVersion: string;
|
|
13841
|
+
contextVersion: string;
|
|
13842
|
+
currentClientEpoch: string;
|
|
13843
|
+
clientEpoch: string | null;
|
|
13844
|
+
lastEventSeq: string;
|
|
13845
|
+
createdAt: string;
|
|
13846
|
+
updatedAt: string;
|
|
13847
|
+
closedAt: string | null;
|
|
13848
|
+
currentRun: {
|
|
13849
|
+
__typename?: 'AgentRun';
|
|
13850
|
+
runId: string;
|
|
13851
|
+
status: CrowdyStudioAgentRunStatus;
|
|
13852
|
+
providerRounds: number;
|
|
13853
|
+
toolCalls: number;
|
|
13854
|
+
errorCode: string | null;
|
|
13855
|
+
terminalReason: string | null;
|
|
13856
|
+
reason: string | null;
|
|
13857
|
+
startedAt: string | null;
|
|
13858
|
+
finishedAt: string | null;
|
|
13859
|
+
createdAt: string;
|
|
13860
|
+
cancelled: boolean;
|
|
13861
|
+
} | null;
|
|
13862
|
+
activeLeases: Array<{
|
|
13863
|
+
__typename?: 'AgentLease';
|
|
13864
|
+
leaseId: string;
|
|
13865
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
13866
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
13867
|
+
clientEpoch: string;
|
|
13868
|
+
scopes: Array<string>;
|
|
13869
|
+
holder: string;
|
|
13870
|
+
contextVersion: string;
|
|
13871
|
+
controlledEntityId: string | null;
|
|
13872
|
+
hostCapabilityRevision: string | null;
|
|
13873
|
+
expectedProjectRevision: string | null;
|
|
13874
|
+
grantedAt: string;
|
|
13875
|
+
expiresAt: string;
|
|
13876
|
+
revokedReason: string | null;
|
|
13877
|
+
}>;
|
|
13878
|
+
pendingApproval: {
|
|
13879
|
+
__typename?: 'AgentApproval';
|
|
13880
|
+
approvalId: string;
|
|
13881
|
+
toolCallId: string;
|
|
13882
|
+
argumentHash: string;
|
|
13883
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
13884
|
+
safeSummary: string;
|
|
13885
|
+
clientEpoch: string;
|
|
13886
|
+
expiresAt: string;
|
|
13887
|
+
approved: boolean;
|
|
13888
|
+
rejected: boolean;
|
|
13889
|
+
} | null;
|
|
13890
|
+
};
|
|
13891
|
+
export type CrowdyAgentBudgetFieldsFragment = {
|
|
13892
|
+
__typename?: 'AgentBudget';
|
|
13893
|
+
resetAt: string | null;
|
|
13894
|
+
platformFunded: boolean;
|
|
13895
|
+
payer: string;
|
|
13896
|
+
dimensions: Array<{
|
|
13897
|
+
__typename?: 'AgentBudgetDimension';
|
|
13898
|
+
name: string;
|
|
13899
|
+
scope: string;
|
|
13900
|
+
limit: string;
|
|
13901
|
+
reserved: string;
|
|
13902
|
+
consumed: string;
|
|
13903
|
+
remaining: string;
|
|
13904
|
+
unit: string;
|
|
13905
|
+
}>;
|
|
13906
|
+
};
|
|
13907
|
+
export type CrowdyAgentToolDescriptorFieldsFragment = {
|
|
13908
|
+
__typename?: 'AgentToolDescriptor';
|
|
13909
|
+
schemaVersion: string;
|
|
13910
|
+
name: string;
|
|
13911
|
+
wireName: string;
|
|
13912
|
+
version: string;
|
|
13913
|
+
summary: string;
|
|
13914
|
+
executor: CrowdyStudioAgentToolExecutor;
|
|
13915
|
+
modes: Array<CrowdyStudioAgentMode>;
|
|
13916
|
+
risk: CrowdyStudioAgentToolRisk;
|
|
13917
|
+
riskEffects: Array<string>;
|
|
13918
|
+
riskReversible: boolean;
|
|
13919
|
+
scopes: Array<string>;
|
|
13920
|
+
scopeRequirementsJson: string;
|
|
13921
|
+
approvalRequired: boolean;
|
|
13922
|
+
approvalPolicy: string;
|
|
13923
|
+
approvalReasons: Array<string>;
|
|
13924
|
+
approvalMaxTtlSeconds: number;
|
|
13925
|
+
idempotencyClass: string;
|
|
13926
|
+
idempotencyKeyScope: string;
|
|
13927
|
+
timeoutMs: number;
|
|
13928
|
+
inputSchemaJson: string;
|
|
13929
|
+
outputSchemaJson: string;
|
|
13930
|
+
inputRedactionJson: string;
|
|
13931
|
+
outputRedactionJson: string;
|
|
13932
|
+
maxPersistedBytes: number;
|
|
13933
|
+
descriptorJson: string;
|
|
13934
|
+
descriptorDigest: string;
|
|
13935
|
+
};
|
|
13936
|
+
type CrowdyAgentEventBaseFields_AgentApprovalEvent_Fragment = {
|
|
13937
|
+
__typename?: 'AgentApprovalEvent';
|
|
13938
|
+
protocolVersion: string;
|
|
13939
|
+
eventId: string;
|
|
13940
|
+
sessionId: string;
|
|
13941
|
+
seq: string;
|
|
13942
|
+
type: CrowdyStudioAgentEventType;
|
|
13943
|
+
runId: string | null;
|
|
13944
|
+
version: string;
|
|
13945
|
+
createdAt: string;
|
|
13946
|
+
};
|
|
13947
|
+
type CrowdyAgentEventBaseFields_AgentBudgetEvent_Fragment = {
|
|
13948
|
+
__typename?: 'AgentBudgetEvent';
|
|
13949
|
+
protocolVersion: string;
|
|
13950
|
+
eventId: string;
|
|
13951
|
+
sessionId: string;
|
|
13952
|
+
seq: string;
|
|
13953
|
+
type: CrowdyStudioAgentEventType;
|
|
13954
|
+
runId: string | null;
|
|
13955
|
+
version: string;
|
|
13956
|
+
createdAt: string;
|
|
13957
|
+
};
|
|
13958
|
+
type CrowdyAgentEventBaseFields_AgentCheckpointEvent_Fragment = {
|
|
13959
|
+
__typename?: 'AgentCheckpointEvent';
|
|
13960
|
+
protocolVersion: string;
|
|
13961
|
+
eventId: string;
|
|
13962
|
+
sessionId: string;
|
|
13963
|
+
seq: string;
|
|
13964
|
+
type: CrowdyStudioAgentEventType;
|
|
13965
|
+
runId: string | null;
|
|
13966
|
+
version: string;
|
|
13967
|
+
createdAt: string;
|
|
13968
|
+
};
|
|
13969
|
+
type CrowdyAgentEventBaseFields_AgentLeaseEvent_Fragment = {
|
|
13970
|
+
__typename?: 'AgentLeaseEvent';
|
|
13971
|
+
protocolVersion: string;
|
|
13972
|
+
eventId: string;
|
|
13973
|
+
sessionId: string;
|
|
13974
|
+
seq: string;
|
|
13975
|
+
type: CrowdyStudioAgentEventType;
|
|
13976
|
+
runId: string | null;
|
|
13977
|
+
version: string;
|
|
13978
|
+
createdAt: string;
|
|
13979
|
+
};
|
|
13980
|
+
type CrowdyAgentEventBaseFields_AgentLifecycleEvent_Fragment = {
|
|
13981
|
+
__typename?: 'AgentLifecycleEvent';
|
|
13982
|
+
protocolVersion: string;
|
|
13983
|
+
eventId: string;
|
|
13984
|
+
sessionId: string;
|
|
13985
|
+
seq: string;
|
|
13986
|
+
type: CrowdyStudioAgentEventType;
|
|
13987
|
+
runId: string | null;
|
|
13988
|
+
version: string;
|
|
13989
|
+
createdAt: string;
|
|
13990
|
+
};
|
|
13991
|
+
type CrowdyAgentEventBaseFields_AgentMessageEvent_Fragment = {
|
|
13992
|
+
__typename?: 'AgentMessageEvent';
|
|
13993
|
+
protocolVersion: string;
|
|
13994
|
+
eventId: string;
|
|
13995
|
+
sessionId: string;
|
|
13996
|
+
seq: string;
|
|
13997
|
+
type: CrowdyStudioAgentEventType;
|
|
13998
|
+
runId: string | null;
|
|
13999
|
+
version: string;
|
|
14000
|
+
createdAt: string;
|
|
14001
|
+
};
|
|
14002
|
+
type CrowdyAgentEventBaseFields_AgentRunEvent_Fragment = {
|
|
14003
|
+
__typename?: 'AgentRunEvent';
|
|
14004
|
+
protocolVersion: string;
|
|
14005
|
+
eventId: string;
|
|
14006
|
+
sessionId: string;
|
|
14007
|
+
seq: string;
|
|
14008
|
+
type: CrowdyStudioAgentEventType;
|
|
14009
|
+
runId: string | null;
|
|
14010
|
+
version: string;
|
|
14011
|
+
createdAt: string;
|
|
14012
|
+
};
|
|
14013
|
+
type CrowdyAgentEventBaseFields_AgentToolEvent_Fragment = {
|
|
14014
|
+
__typename?: 'AgentToolEvent';
|
|
14015
|
+
protocolVersion: string;
|
|
14016
|
+
eventId: string;
|
|
14017
|
+
sessionId: string;
|
|
14018
|
+
seq: string;
|
|
14019
|
+
type: CrowdyStudioAgentEventType;
|
|
14020
|
+
runId: string | null;
|
|
14021
|
+
version: string;
|
|
14022
|
+
createdAt: string;
|
|
14023
|
+
};
|
|
14024
|
+
export type CrowdyAgentEventBaseFieldsFragment = CrowdyAgentEventBaseFields_AgentApprovalEvent_Fragment | CrowdyAgentEventBaseFields_AgentBudgetEvent_Fragment | CrowdyAgentEventBaseFields_AgentCheckpointEvent_Fragment | CrowdyAgentEventBaseFields_AgentLeaseEvent_Fragment | CrowdyAgentEventBaseFields_AgentLifecycleEvent_Fragment | CrowdyAgentEventBaseFields_AgentMessageEvent_Fragment | CrowdyAgentEventBaseFields_AgentRunEvent_Fragment | CrowdyAgentEventBaseFields_AgentToolEvent_Fragment;
|
|
14025
|
+
type CrowdyAgentEventFields_AgentApprovalEvent_Fragment = {
|
|
14026
|
+
__typename: 'AgentApprovalEvent';
|
|
14027
|
+
protocolVersion: string;
|
|
14028
|
+
eventId: string;
|
|
14029
|
+
sessionId: string;
|
|
14030
|
+
seq: string;
|
|
14031
|
+
type: CrowdyStudioAgentEventType;
|
|
14032
|
+
runId: string | null;
|
|
14033
|
+
version: string;
|
|
14034
|
+
createdAt: string;
|
|
14035
|
+
approvalEventId: string;
|
|
14036
|
+
approvalToolCallId: string;
|
|
14037
|
+
approvalArgumentHash: string;
|
|
14038
|
+
approvalStatus: CrowdyStudioAgentApprovalStatus;
|
|
14039
|
+
approvalSafeSummary: string;
|
|
14040
|
+
approvalReasons: Array<string>;
|
|
14041
|
+
approvalExpiresAt: string;
|
|
14042
|
+
};
|
|
14043
|
+
type CrowdyAgentEventFields_AgentBudgetEvent_Fragment = {
|
|
14044
|
+
__typename: 'AgentBudgetEvent';
|
|
14045
|
+
protocolVersion: string;
|
|
14046
|
+
eventId: string;
|
|
14047
|
+
sessionId: string;
|
|
14048
|
+
seq: string;
|
|
14049
|
+
type: CrowdyStudioAgentEventType;
|
|
14050
|
+
runId: string | null;
|
|
14051
|
+
version: string;
|
|
14052
|
+
createdAt: string;
|
|
14053
|
+
budgetSnapshot: {
|
|
14054
|
+
__typename?: 'AgentBudget';
|
|
14055
|
+
resetAt: string | null;
|
|
14056
|
+
platformFunded: boolean;
|
|
14057
|
+
payer: string;
|
|
14058
|
+
dimensions: Array<{
|
|
14059
|
+
__typename?: 'AgentBudgetDimension';
|
|
14060
|
+
name: string;
|
|
14061
|
+
scope: string;
|
|
14062
|
+
limit: string;
|
|
14063
|
+
reserved: string;
|
|
14064
|
+
consumed: string;
|
|
14065
|
+
remaining: string;
|
|
14066
|
+
unit: string;
|
|
14067
|
+
}>;
|
|
14068
|
+
};
|
|
14069
|
+
};
|
|
14070
|
+
type CrowdyAgentEventFields_AgentCheckpointEvent_Fragment = {
|
|
14071
|
+
__typename: 'AgentCheckpointEvent';
|
|
14072
|
+
protocolVersion: string;
|
|
14073
|
+
eventId: string;
|
|
14074
|
+
sessionId: string;
|
|
14075
|
+
seq: string;
|
|
14076
|
+
type: CrowdyStudioAgentEventType;
|
|
14077
|
+
runId: string | null;
|
|
14078
|
+
version: string;
|
|
14079
|
+
createdAt: string;
|
|
14080
|
+
checkpointEventId: string;
|
|
14081
|
+
checkpointProjectRevision: string;
|
|
14082
|
+
checkpointContentHash: string;
|
|
14083
|
+
checkpointReason: string;
|
|
14084
|
+
checkpointRestoredAt: string | null;
|
|
14085
|
+
checkpointFiles: Array<{
|
|
14086
|
+
__typename?: 'AgentCheckpointFile';
|
|
14087
|
+
target: string;
|
|
14088
|
+
path: string;
|
|
14089
|
+
contentHash: string;
|
|
14090
|
+
byteLength: number;
|
|
14091
|
+
}>;
|
|
14092
|
+
};
|
|
14093
|
+
type CrowdyAgentEventFields_AgentLeaseEvent_Fragment = {
|
|
14094
|
+
__typename: 'AgentLeaseEvent';
|
|
14095
|
+
protocolVersion: string;
|
|
14096
|
+
eventId: string;
|
|
14097
|
+
sessionId: string;
|
|
14098
|
+
seq: string;
|
|
14099
|
+
type: CrowdyStudioAgentEventType;
|
|
14100
|
+
runId: string | null;
|
|
14101
|
+
version: string;
|
|
14102
|
+
createdAt: string;
|
|
14103
|
+
leaseEventId: string;
|
|
14104
|
+
leaseKind: CrowdyStudioAgentLeaseType;
|
|
14105
|
+
leaseStatus: CrowdyStudioAgentLeaseStatus;
|
|
14106
|
+
leaseClientEpoch: string;
|
|
14107
|
+
leaseScopes: Array<string>;
|
|
14108
|
+
leaseHolder: string;
|
|
14109
|
+
leaseContextVersion: string;
|
|
14110
|
+
leaseControlledEntityId: string | null;
|
|
14111
|
+
leaseHostCapabilityRevision: string | null;
|
|
14112
|
+
leaseExpectedProjectRevision: string | null;
|
|
14113
|
+
leaseGrantedAt: string;
|
|
14114
|
+
leaseExpiresAt: string;
|
|
14115
|
+
leaseReason: string | null;
|
|
14116
|
+
};
|
|
14117
|
+
type CrowdyAgentEventFields_AgentLifecycleEvent_Fragment = {
|
|
14118
|
+
__typename: 'AgentLifecycleEvent';
|
|
14119
|
+
protocolVersion: string;
|
|
14120
|
+
eventId: string;
|
|
14121
|
+
sessionId: string;
|
|
14122
|
+
seq: string;
|
|
14123
|
+
type: CrowdyStudioAgentEventType;
|
|
14124
|
+
runId: string | null;
|
|
14125
|
+
version: string;
|
|
14126
|
+
createdAt: string;
|
|
14127
|
+
lifecycleMode: CrowdyStudioAgentMode | null;
|
|
14128
|
+
lifecycleClientEpoch: string | null;
|
|
14129
|
+
lifecycleReplayAfterSeq: string | null;
|
|
14130
|
+
lifecycleReason: string | null;
|
|
14131
|
+
lifecycleContextVersion: string | null;
|
|
14132
|
+
};
|
|
14133
|
+
type CrowdyAgentEventFields_AgentMessageEvent_Fragment = {
|
|
14134
|
+
__typename: 'AgentMessageEvent';
|
|
14135
|
+
protocolVersion: string;
|
|
14136
|
+
eventId: string;
|
|
14137
|
+
sessionId: string;
|
|
14138
|
+
seq: string;
|
|
14139
|
+
type: CrowdyStudioAgentEventType;
|
|
14140
|
+
runId: string | null;
|
|
14141
|
+
version: string;
|
|
14142
|
+
createdAt: string;
|
|
14143
|
+
messageEventId: string;
|
|
14144
|
+
messageRole: string;
|
|
14145
|
+
messageContent: string;
|
|
14146
|
+
};
|
|
14147
|
+
type CrowdyAgentEventFields_AgentRunEvent_Fragment = {
|
|
14148
|
+
__typename: 'AgentRunEvent';
|
|
14149
|
+
protocolVersion: string;
|
|
14150
|
+
eventId: string;
|
|
14151
|
+
sessionId: string;
|
|
14152
|
+
seq: string;
|
|
14153
|
+
type: CrowdyStudioAgentEventType;
|
|
14154
|
+
runId: string | null;
|
|
14155
|
+
version: string;
|
|
14156
|
+
createdAt: string;
|
|
14157
|
+
runStatus: CrowdyStudioAgentRunStatus;
|
|
14158
|
+
runCode: string | null;
|
|
14159
|
+
runReason: string | null;
|
|
14160
|
+
runError: {
|
|
14161
|
+
__typename?: 'AgentError';
|
|
14162
|
+
code: string;
|
|
14163
|
+
message: string;
|
|
14164
|
+
retryable: boolean;
|
|
14165
|
+
remediation: string | null;
|
|
14166
|
+
field: string | null;
|
|
14167
|
+
requiredScope: string | null;
|
|
14168
|
+
} | null;
|
|
14169
|
+
};
|
|
14170
|
+
type CrowdyAgentEventFields_AgentToolEvent_Fragment = {
|
|
14171
|
+
__typename: 'AgentToolEvent';
|
|
14172
|
+
protocolVersion: string;
|
|
14173
|
+
eventId: string;
|
|
14174
|
+
sessionId: string;
|
|
14175
|
+
seq: string;
|
|
14176
|
+
type: CrowdyStudioAgentEventType;
|
|
14177
|
+
runId: string | null;
|
|
14178
|
+
version: string;
|
|
14179
|
+
createdAt: string;
|
|
14180
|
+
toolEventCallId: string;
|
|
14181
|
+
toolEventName: string;
|
|
14182
|
+
toolEventVersion: string;
|
|
14183
|
+
toolStatus: CrowdyStudioAgentToolCallStatus;
|
|
14184
|
+
toolSafeSummary: string | null;
|
|
14185
|
+
toolDescriptorDigest: string | null;
|
|
14186
|
+
toolArgumentHash: string | null;
|
|
14187
|
+
toolExecutor: CrowdyStudioAgentToolExecutor | null;
|
|
14188
|
+
toolContextVersion: string | null;
|
|
14189
|
+
toolClientEpoch: string | null;
|
|
14190
|
+
toolArgumentsJson: string | null;
|
|
14191
|
+
toolLeaseId: string | null;
|
|
14192
|
+
toolApprovalGrant: string | null;
|
|
14193
|
+
toolIdempotencyKey: string | null;
|
|
14194
|
+
toolResultJson: string | null;
|
|
14195
|
+
toolDeadline: string | null;
|
|
14196
|
+
toolInvocation: {
|
|
14197
|
+
__typename?: 'AgentToolInvocation';
|
|
14198
|
+
protocolVersion: string;
|
|
14199
|
+
sessionId: string;
|
|
14200
|
+
runId: string;
|
|
14201
|
+
toolCallId: string;
|
|
14202
|
+
name: string;
|
|
14203
|
+
version: string;
|
|
14204
|
+
descriptorDigest: string;
|
|
14205
|
+
argumentsJson: string;
|
|
14206
|
+
argumentHash: string;
|
|
14207
|
+
contextVersion: string;
|
|
14208
|
+
clientEpoch: string | null;
|
|
14209
|
+
leaseId: string | null;
|
|
14210
|
+
approvalGrant: string | null;
|
|
14211
|
+
idempotencyKey: string | null;
|
|
14212
|
+
deadline: string;
|
|
14213
|
+
} | null;
|
|
14214
|
+
toolResult: {
|
|
14215
|
+
__typename?: 'AgentToolResultEnvelope';
|
|
14216
|
+
protocolVersion: string;
|
|
14217
|
+
toolCallId: string;
|
|
14218
|
+
status: CrowdyStudioAgentToolResultStatus;
|
|
14219
|
+
outputJson: string | null;
|
|
14220
|
+
observedContextVersion: string;
|
|
14221
|
+
startedAt: string;
|
|
14222
|
+
finishedAt: string;
|
|
14223
|
+
error: {
|
|
14224
|
+
__typename?: 'AgentError';
|
|
14225
|
+
code: string;
|
|
14226
|
+
message: string;
|
|
14227
|
+
retryable: boolean;
|
|
14228
|
+
remediation: string | null;
|
|
14229
|
+
field: string | null;
|
|
14230
|
+
requiredScope: string | null;
|
|
14231
|
+
} | null;
|
|
14232
|
+
} | null;
|
|
14233
|
+
toolError: {
|
|
14234
|
+
__typename?: 'AgentError';
|
|
14235
|
+
code: string;
|
|
14236
|
+
message: string;
|
|
14237
|
+
retryable: boolean;
|
|
14238
|
+
remediation: string | null;
|
|
14239
|
+
field: string | null;
|
|
14240
|
+
requiredScope: string | null;
|
|
14241
|
+
} | null;
|
|
14242
|
+
};
|
|
14243
|
+
export type CrowdyAgentEventFieldsFragment = CrowdyAgentEventFields_AgentApprovalEvent_Fragment | CrowdyAgentEventFields_AgentBudgetEvent_Fragment | CrowdyAgentEventFields_AgentCheckpointEvent_Fragment | CrowdyAgentEventFields_AgentLeaseEvent_Fragment | CrowdyAgentEventFields_AgentLifecycleEvent_Fragment | CrowdyAgentEventFields_AgentMessageEvent_Fragment | CrowdyAgentEventFields_AgentRunEvent_Fragment | CrowdyAgentEventFields_AgentToolEvent_Fragment;
|
|
14244
|
+
export type CrowdyStudioAgentSessionQueryVariables = Exact<{
|
|
14245
|
+
sessionId: Scalars['String']['input'];
|
|
14246
|
+
}>;
|
|
14247
|
+
export type CrowdyStudioAgentSessionQuery = {
|
|
14248
|
+
__typename?: 'Query';
|
|
14249
|
+
crowdyStudioAgentSession: {
|
|
14250
|
+
__typename?: 'AgentSession';
|
|
14251
|
+
contractVersion: string;
|
|
14252
|
+
sessionId: string;
|
|
14253
|
+
appId: string;
|
|
14254
|
+
projectId: string | null;
|
|
14255
|
+
gridId: string | null;
|
|
14256
|
+
mode: CrowdyStudioAgentMode;
|
|
14257
|
+
requestedModel: string;
|
|
14258
|
+
model: string | null;
|
|
14259
|
+
resolvedModel: string | null;
|
|
14260
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
14261
|
+
providerDataConsent: boolean;
|
|
14262
|
+
registryDigest: string;
|
|
14263
|
+
providerPolicyVersion: string;
|
|
14264
|
+
appPolicyVersion: string;
|
|
14265
|
+
contextVersion: string;
|
|
14266
|
+
currentClientEpoch: string;
|
|
14267
|
+
clientEpoch: string | null;
|
|
14268
|
+
lastEventSeq: string;
|
|
14269
|
+
createdAt: string;
|
|
14270
|
+
updatedAt: string;
|
|
14271
|
+
closedAt: string | null;
|
|
14272
|
+
currentRun: {
|
|
14273
|
+
__typename?: 'AgentRun';
|
|
14274
|
+
runId: string;
|
|
14275
|
+
status: CrowdyStudioAgentRunStatus;
|
|
14276
|
+
providerRounds: number;
|
|
14277
|
+
toolCalls: number;
|
|
14278
|
+
errorCode: string | null;
|
|
14279
|
+
terminalReason: string | null;
|
|
14280
|
+
reason: string | null;
|
|
14281
|
+
startedAt: string | null;
|
|
14282
|
+
finishedAt: string | null;
|
|
14283
|
+
createdAt: string;
|
|
14284
|
+
cancelled: boolean;
|
|
14285
|
+
} | null;
|
|
14286
|
+
activeLeases: Array<{
|
|
14287
|
+
__typename?: 'AgentLease';
|
|
14288
|
+
leaseId: string;
|
|
14289
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
14290
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
14291
|
+
clientEpoch: string;
|
|
14292
|
+
scopes: Array<string>;
|
|
14293
|
+
holder: string;
|
|
14294
|
+
contextVersion: string;
|
|
14295
|
+
controlledEntityId: string | null;
|
|
14296
|
+
hostCapabilityRevision: string | null;
|
|
14297
|
+
expectedProjectRevision: string | null;
|
|
14298
|
+
grantedAt: string;
|
|
14299
|
+
expiresAt: string;
|
|
14300
|
+
revokedReason: string | null;
|
|
14301
|
+
}>;
|
|
14302
|
+
pendingApproval: {
|
|
14303
|
+
__typename?: 'AgentApproval';
|
|
14304
|
+
approvalId: string;
|
|
14305
|
+
toolCallId: string;
|
|
14306
|
+
argumentHash: string;
|
|
14307
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
14308
|
+
safeSummary: string;
|
|
14309
|
+
clientEpoch: string;
|
|
14310
|
+
expiresAt: string;
|
|
14311
|
+
approved: boolean;
|
|
14312
|
+
rejected: boolean;
|
|
14313
|
+
} | null;
|
|
14314
|
+
};
|
|
14315
|
+
};
|
|
14316
|
+
export type CrowdyStudioAgentSessionsQueryVariables = Exact<{
|
|
14317
|
+
appId: Scalars['BigInt']['input'];
|
|
14318
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
14319
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
14320
|
+
}>;
|
|
14321
|
+
export type CrowdyStudioAgentSessionsQuery = {
|
|
14322
|
+
__typename?: 'Query';
|
|
14323
|
+
crowdyStudioAgentSessions: {
|
|
14324
|
+
__typename?: 'AgentSessionConnection';
|
|
14325
|
+
endCursor: string | null;
|
|
14326
|
+
hasNextPage: boolean;
|
|
14327
|
+
edges: Array<{
|
|
14328
|
+
__typename?: 'AgentSessionEdge';
|
|
14329
|
+
cursor: string;
|
|
14330
|
+
node: {
|
|
14331
|
+
__typename?: 'AgentSession';
|
|
14332
|
+
contractVersion: string;
|
|
14333
|
+
sessionId: string;
|
|
14334
|
+
appId: string;
|
|
14335
|
+
projectId: string | null;
|
|
14336
|
+
gridId: string | null;
|
|
14337
|
+
mode: CrowdyStudioAgentMode;
|
|
14338
|
+
requestedModel: string;
|
|
14339
|
+
model: string | null;
|
|
14340
|
+
resolvedModel: string | null;
|
|
14341
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
14342
|
+
providerDataConsent: boolean;
|
|
14343
|
+
registryDigest: string;
|
|
14344
|
+
providerPolicyVersion: string;
|
|
14345
|
+
appPolicyVersion: string;
|
|
14346
|
+
contextVersion: string;
|
|
14347
|
+
currentClientEpoch: string;
|
|
14348
|
+
clientEpoch: string | null;
|
|
14349
|
+
lastEventSeq: string;
|
|
14350
|
+
createdAt: string;
|
|
14351
|
+
updatedAt: string;
|
|
14352
|
+
closedAt: string | null;
|
|
14353
|
+
currentRun: {
|
|
14354
|
+
__typename?: 'AgentRun';
|
|
14355
|
+
runId: string;
|
|
14356
|
+
status: CrowdyStudioAgentRunStatus;
|
|
14357
|
+
providerRounds: number;
|
|
14358
|
+
toolCalls: number;
|
|
14359
|
+
errorCode: string | null;
|
|
14360
|
+
terminalReason: string | null;
|
|
14361
|
+
reason: string | null;
|
|
14362
|
+
startedAt: string | null;
|
|
14363
|
+
finishedAt: string | null;
|
|
14364
|
+
createdAt: string;
|
|
14365
|
+
cancelled: boolean;
|
|
14366
|
+
} | null;
|
|
14367
|
+
activeLeases: Array<{
|
|
14368
|
+
__typename?: 'AgentLease';
|
|
14369
|
+
leaseId: string;
|
|
14370
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
14371
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
14372
|
+
clientEpoch: string;
|
|
14373
|
+
scopes: Array<string>;
|
|
14374
|
+
holder: string;
|
|
14375
|
+
contextVersion: string;
|
|
14376
|
+
controlledEntityId: string | null;
|
|
14377
|
+
hostCapabilityRevision: string | null;
|
|
14378
|
+
expectedProjectRevision: string | null;
|
|
14379
|
+
grantedAt: string;
|
|
14380
|
+
expiresAt: string;
|
|
14381
|
+
revokedReason: string | null;
|
|
14382
|
+
}>;
|
|
14383
|
+
pendingApproval: {
|
|
14384
|
+
__typename?: 'AgentApproval';
|
|
14385
|
+
approvalId: string;
|
|
14386
|
+
toolCallId: string;
|
|
14387
|
+
argumentHash: string;
|
|
14388
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
14389
|
+
safeSummary: string;
|
|
14390
|
+
clientEpoch: string;
|
|
14391
|
+
expiresAt: string;
|
|
14392
|
+
approved: boolean;
|
|
14393
|
+
rejected: boolean;
|
|
14394
|
+
} | null;
|
|
14395
|
+
};
|
|
14396
|
+
}>;
|
|
14397
|
+
pageInfo: {
|
|
14398
|
+
__typename?: 'AgentPageInfo';
|
|
14399
|
+
hasNextPage: boolean;
|
|
14400
|
+
endCursor: string | null;
|
|
14401
|
+
};
|
|
14402
|
+
nodes: Array<{
|
|
14403
|
+
__typename?: 'AgentSession';
|
|
14404
|
+
contractVersion: string;
|
|
14405
|
+
sessionId: string;
|
|
14406
|
+
appId: string;
|
|
14407
|
+
projectId: string | null;
|
|
14408
|
+
gridId: string | null;
|
|
14409
|
+
mode: CrowdyStudioAgentMode;
|
|
14410
|
+
requestedModel: string;
|
|
14411
|
+
model: string | null;
|
|
14412
|
+
resolvedModel: string | null;
|
|
14413
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
14414
|
+
providerDataConsent: boolean;
|
|
14415
|
+
registryDigest: string;
|
|
14416
|
+
providerPolicyVersion: string;
|
|
14417
|
+
appPolicyVersion: string;
|
|
14418
|
+
contextVersion: string;
|
|
14419
|
+
currentClientEpoch: string;
|
|
14420
|
+
clientEpoch: string | null;
|
|
14421
|
+
lastEventSeq: string;
|
|
14422
|
+
createdAt: string;
|
|
14423
|
+
updatedAt: string;
|
|
14424
|
+
closedAt: string | null;
|
|
14425
|
+
currentRun: {
|
|
14426
|
+
__typename?: 'AgentRun';
|
|
14427
|
+
runId: string;
|
|
14428
|
+
status: CrowdyStudioAgentRunStatus;
|
|
14429
|
+
providerRounds: number;
|
|
14430
|
+
toolCalls: number;
|
|
14431
|
+
errorCode: string | null;
|
|
14432
|
+
terminalReason: string | null;
|
|
14433
|
+
reason: string | null;
|
|
14434
|
+
startedAt: string | null;
|
|
14435
|
+
finishedAt: string | null;
|
|
14436
|
+
createdAt: string;
|
|
14437
|
+
cancelled: boolean;
|
|
14438
|
+
} | null;
|
|
14439
|
+
activeLeases: Array<{
|
|
14440
|
+
__typename?: 'AgentLease';
|
|
14441
|
+
leaseId: string;
|
|
14442
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
14443
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
14444
|
+
clientEpoch: string;
|
|
14445
|
+
scopes: Array<string>;
|
|
14446
|
+
holder: string;
|
|
14447
|
+
contextVersion: string;
|
|
14448
|
+
controlledEntityId: string | null;
|
|
14449
|
+
hostCapabilityRevision: string | null;
|
|
14450
|
+
expectedProjectRevision: string | null;
|
|
14451
|
+
grantedAt: string;
|
|
14452
|
+
expiresAt: string;
|
|
14453
|
+
revokedReason: string | null;
|
|
14454
|
+
}>;
|
|
14455
|
+
pendingApproval: {
|
|
14456
|
+
__typename?: 'AgentApproval';
|
|
14457
|
+
approvalId: string;
|
|
14458
|
+
toolCallId: string;
|
|
14459
|
+
argumentHash: string;
|
|
14460
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
14461
|
+
safeSummary: string;
|
|
14462
|
+
clientEpoch: string;
|
|
14463
|
+
expiresAt: string;
|
|
14464
|
+
approved: boolean;
|
|
14465
|
+
rejected: boolean;
|
|
14466
|
+
} | null;
|
|
14467
|
+
}>;
|
|
14468
|
+
};
|
|
14469
|
+
};
|
|
14470
|
+
export type CrowdyStudioAgentHistoryQueryVariables = Exact<{
|
|
14471
|
+
sessionId: Scalars['String']['input'];
|
|
14472
|
+
afterSeq?: InputMaybe<Scalars['BigInt']['input']>;
|
|
14473
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
14474
|
+
}>;
|
|
14475
|
+
export type CrowdyStudioAgentHistoryQuery = {
|
|
14476
|
+
__typename?: 'Query';
|
|
14477
|
+
crowdyStudioAgentHistory: {
|
|
14478
|
+
__typename?: 'AgentEventConnection';
|
|
14479
|
+
hasMore: boolean;
|
|
14480
|
+
edges: Array<{
|
|
14481
|
+
__typename?: 'AgentEventEdge';
|
|
14482
|
+
cursor: string;
|
|
14483
|
+
node: {
|
|
14484
|
+
__typename: 'AgentApprovalEvent';
|
|
14485
|
+
protocolVersion: string;
|
|
14486
|
+
eventId: string;
|
|
14487
|
+
sessionId: string;
|
|
14488
|
+
seq: string;
|
|
14489
|
+
type: CrowdyStudioAgentEventType;
|
|
14490
|
+
runId: string | null;
|
|
14491
|
+
version: string;
|
|
14492
|
+
createdAt: string;
|
|
14493
|
+
approvalEventId: string;
|
|
14494
|
+
approvalToolCallId: string;
|
|
14495
|
+
approvalArgumentHash: string;
|
|
14496
|
+
approvalStatus: CrowdyStudioAgentApprovalStatus;
|
|
14497
|
+
approvalSafeSummary: string;
|
|
14498
|
+
approvalReasons: Array<string>;
|
|
14499
|
+
approvalExpiresAt: string;
|
|
14500
|
+
} | {
|
|
14501
|
+
__typename: 'AgentBudgetEvent';
|
|
14502
|
+
protocolVersion: string;
|
|
14503
|
+
eventId: string;
|
|
14504
|
+
sessionId: string;
|
|
14505
|
+
seq: string;
|
|
14506
|
+
type: CrowdyStudioAgentEventType;
|
|
14507
|
+
runId: string | null;
|
|
14508
|
+
version: string;
|
|
14509
|
+
createdAt: string;
|
|
14510
|
+
budgetSnapshot: {
|
|
14511
|
+
__typename?: 'AgentBudget';
|
|
14512
|
+
resetAt: string | null;
|
|
14513
|
+
platformFunded: boolean;
|
|
14514
|
+
payer: string;
|
|
14515
|
+
dimensions: Array<{
|
|
14516
|
+
__typename?: 'AgentBudgetDimension';
|
|
14517
|
+
name: string;
|
|
14518
|
+
scope: string;
|
|
14519
|
+
limit: string;
|
|
14520
|
+
reserved: string;
|
|
14521
|
+
consumed: string;
|
|
14522
|
+
remaining: string;
|
|
14523
|
+
unit: string;
|
|
14524
|
+
}>;
|
|
14525
|
+
};
|
|
14526
|
+
} | {
|
|
14527
|
+
__typename: 'AgentCheckpointEvent';
|
|
14528
|
+
protocolVersion: string;
|
|
14529
|
+
eventId: string;
|
|
14530
|
+
sessionId: string;
|
|
14531
|
+
seq: string;
|
|
14532
|
+
type: CrowdyStudioAgentEventType;
|
|
14533
|
+
runId: string | null;
|
|
14534
|
+
version: string;
|
|
14535
|
+
createdAt: string;
|
|
14536
|
+
checkpointEventId: string;
|
|
14537
|
+
checkpointProjectRevision: string;
|
|
14538
|
+
checkpointContentHash: string;
|
|
14539
|
+
checkpointReason: string;
|
|
14540
|
+
checkpointRestoredAt: string | null;
|
|
14541
|
+
checkpointFiles: Array<{
|
|
14542
|
+
__typename?: 'AgentCheckpointFile';
|
|
14543
|
+
target: string;
|
|
14544
|
+
path: string;
|
|
14545
|
+
contentHash: string;
|
|
14546
|
+
byteLength: number;
|
|
14547
|
+
}>;
|
|
14548
|
+
} | {
|
|
14549
|
+
__typename: 'AgentLeaseEvent';
|
|
14550
|
+
protocolVersion: string;
|
|
14551
|
+
eventId: string;
|
|
14552
|
+
sessionId: string;
|
|
14553
|
+
seq: string;
|
|
14554
|
+
type: CrowdyStudioAgentEventType;
|
|
14555
|
+
runId: string | null;
|
|
14556
|
+
version: string;
|
|
14557
|
+
createdAt: string;
|
|
14558
|
+
leaseEventId: string;
|
|
14559
|
+
leaseKind: CrowdyStudioAgentLeaseType;
|
|
14560
|
+
leaseStatus: CrowdyStudioAgentLeaseStatus;
|
|
14561
|
+
leaseClientEpoch: string;
|
|
14562
|
+
leaseScopes: Array<string>;
|
|
14563
|
+
leaseHolder: string;
|
|
14564
|
+
leaseContextVersion: string;
|
|
14565
|
+
leaseControlledEntityId: string | null;
|
|
14566
|
+
leaseHostCapabilityRevision: string | null;
|
|
14567
|
+
leaseExpectedProjectRevision: string | null;
|
|
14568
|
+
leaseGrantedAt: string;
|
|
14569
|
+
leaseExpiresAt: string;
|
|
14570
|
+
leaseReason: string | null;
|
|
14571
|
+
} | {
|
|
14572
|
+
__typename: 'AgentLifecycleEvent';
|
|
14573
|
+
protocolVersion: string;
|
|
14574
|
+
eventId: string;
|
|
14575
|
+
sessionId: string;
|
|
14576
|
+
seq: string;
|
|
14577
|
+
type: CrowdyStudioAgentEventType;
|
|
14578
|
+
runId: string | null;
|
|
14579
|
+
version: string;
|
|
14580
|
+
createdAt: string;
|
|
14581
|
+
lifecycleMode: CrowdyStudioAgentMode | null;
|
|
14582
|
+
lifecycleClientEpoch: string | null;
|
|
14583
|
+
lifecycleReplayAfterSeq: string | null;
|
|
14584
|
+
lifecycleReason: string | null;
|
|
14585
|
+
lifecycleContextVersion: string | null;
|
|
14586
|
+
} | {
|
|
14587
|
+
__typename: 'AgentMessageEvent';
|
|
14588
|
+
protocolVersion: string;
|
|
14589
|
+
eventId: string;
|
|
14590
|
+
sessionId: string;
|
|
14591
|
+
seq: string;
|
|
14592
|
+
type: CrowdyStudioAgentEventType;
|
|
14593
|
+
runId: string | null;
|
|
14594
|
+
version: string;
|
|
14595
|
+
createdAt: string;
|
|
14596
|
+
messageEventId: string;
|
|
14597
|
+
messageRole: string;
|
|
14598
|
+
messageContent: string;
|
|
14599
|
+
} | {
|
|
14600
|
+
__typename: 'AgentRunEvent';
|
|
14601
|
+
protocolVersion: string;
|
|
14602
|
+
eventId: string;
|
|
14603
|
+
sessionId: string;
|
|
14604
|
+
seq: string;
|
|
14605
|
+
type: CrowdyStudioAgentEventType;
|
|
14606
|
+
runId: string | null;
|
|
14607
|
+
version: string;
|
|
14608
|
+
createdAt: string;
|
|
14609
|
+
runStatus: CrowdyStudioAgentRunStatus;
|
|
14610
|
+
runCode: string | null;
|
|
14611
|
+
runReason: string | null;
|
|
14612
|
+
runError: {
|
|
14613
|
+
__typename?: 'AgentError';
|
|
14614
|
+
code: string;
|
|
14615
|
+
message: string;
|
|
14616
|
+
retryable: boolean;
|
|
14617
|
+
remediation: string | null;
|
|
14618
|
+
field: string | null;
|
|
14619
|
+
requiredScope: string | null;
|
|
14620
|
+
} | null;
|
|
14621
|
+
} | {
|
|
14622
|
+
__typename: 'AgentToolEvent';
|
|
14623
|
+
protocolVersion: string;
|
|
14624
|
+
eventId: string;
|
|
14625
|
+
sessionId: string;
|
|
14626
|
+
seq: string;
|
|
14627
|
+
type: CrowdyStudioAgentEventType;
|
|
14628
|
+
runId: string | null;
|
|
14629
|
+
version: string;
|
|
14630
|
+
createdAt: string;
|
|
14631
|
+
toolEventCallId: string;
|
|
14632
|
+
toolEventName: string;
|
|
14633
|
+
toolEventVersion: string;
|
|
14634
|
+
toolStatus: CrowdyStudioAgentToolCallStatus;
|
|
14635
|
+
toolSafeSummary: string | null;
|
|
14636
|
+
toolDescriptorDigest: string | null;
|
|
14637
|
+
toolArgumentHash: string | null;
|
|
14638
|
+
toolExecutor: CrowdyStudioAgentToolExecutor | null;
|
|
14639
|
+
toolContextVersion: string | null;
|
|
14640
|
+
toolClientEpoch: string | null;
|
|
14641
|
+
toolArgumentsJson: string | null;
|
|
14642
|
+
toolLeaseId: string | null;
|
|
14643
|
+
toolApprovalGrant: string | null;
|
|
14644
|
+
toolIdempotencyKey: string | null;
|
|
14645
|
+
toolResultJson: string | null;
|
|
14646
|
+
toolDeadline: string | null;
|
|
14647
|
+
toolInvocation: {
|
|
14648
|
+
__typename?: 'AgentToolInvocation';
|
|
14649
|
+
protocolVersion: string;
|
|
14650
|
+
sessionId: string;
|
|
14651
|
+
runId: string;
|
|
14652
|
+
toolCallId: string;
|
|
14653
|
+
name: string;
|
|
14654
|
+
version: string;
|
|
14655
|
+
descriptorDigest: string;
|
|
14656
|
+
argumentsJson: string;
|
|
14657
|
+
argumentHash: string;
|
|
14658
|
+
contextVersion: string;
|
|
14659
|
+
clientEpoch: string | null;
|
|
14660
|
+
leaseId: string | null;
|
|
14661
|
+
approvalGrant: string | null;
|
|
14662
|
+
idempotencyKey: string | null;
|
|
14663
|
+
deadline: string;
|
|
14664
|
+
} | null;
|
|
14665
|
+
toolResult: {
|
|
14666
|
+
__typename?: 'AgentToolResultEnvelope';
|
|
14667
|
+
protocolVersion: string;
|
|
14668
|
+
toolCallId: string;
|
|
14669
|
+
status: CrowdyStudioAgentToolResultStatus;
|
|
14670
|
+
outputJson: string | null;
|
|
14671
|
+
observedContextVersion: string;
|
|
14672
|
+
startedAt: string;
|
|
14673
|
+
finishedAt: string;
|
|
14674
|
+
error: {
|
|
14675
|
+
__typename?: 'AgentError';
|
|
14676
|
+
code: string;
|
|
14677
|
+
message: string;
|
|
14678
|
+
retryable: boolean;
|
|
14679
|
+
remediation: string | null;
|
|
14680
|
+
field: string | null;
|
|
14681
|
+
requiredScope: string | null;
|
|
14682
|
+
} | null;
|
|
14683
|
+
} | null;
|
|
14684
|
+
toolError: {
|
|
14685
|
+
__typename?: 'AgentError';
|
|
14686
|
+
code: string;
|
|
14687
|
+
message: string;
|
|
14688
|
+
retryable: boolean;
|
|
14689
|
+
remediation: string | null;
|
|
14690
|
+
field: string | null;
|
|
14691
|
+
requiredScope: string | null;
|
|
14692
|
+
} | null;
|
|
14693
|
+
};
|
|
14694
|
+
}>;
|
|
14695
|
+
pageInfo: {
|
|
14696
|
+
__typename?: 'AgentPageInfo';
|
|
14697
|
+
hasNextPage: boolean;
|
|
14698
|
+
endCursor: string | null;
|
|
14699
|
+
};
|
|
14700
|
+
events: Array<{
|
|
14701
|
+
__typename: 'AgentApprovalEvent';
|
|
14702
|
+
protocolVersion: string;
|
|
14703
|
+
eventId: string;
|
|
14704
|
+
sessionId: string;
|
|
14705
|
+
seq: string;
|
|
14706
|
+
type: CrowdyStudioAgentEventType;
|
|
14707
|
+
runId: string | null;
|
|
14708
|
+
version: string;
|
|
14709
|
+
createdAt: string;
|
|
14710
|
+
approvalEventId: string;
|
|
14711
|
+
approvalToolCallId: string;
|
|
14712
|
+
approvalArgumentHash: string;
|
|
14713
|
+
approvalStatus: CrowdyStudioAgentApprovalStatus;
|
|
14714
|
+
approvalSafeSummary: string;
|
|
14715
|
+
approvalReasons: Array<string>;
|
|
14716
|
+
approvalExpiresAt: string;
|
|
14717
|
+
} | {
|
|
14718
|
+
__typename: 'AgentBudgetEvent';
|
|
14719
|
+
protocolVersion: string;
|
|
14720
|
+
eventId: string;
|
|
14721
|
+
sessionId: string;
|
|
14722
|
+
seq: string;
|
|
14723
|
+
type: CrowdyStudioAgentEventType;
|
|
14724
|
+
runId: string | null;
|
|
14725
|
+
version: string;
|
|
14726
|
+
createdAt: string;
|
|
14727
|
+
budgetSnapshot: {
|
|
14728
|
+
__typename?: 'AgentBudget';
|
|
14729
|
+
resetAt: string | null;
|
|
14730
|
+
platformFunded: boolean;
|
|
14731
|
+
payer: string;
|
|
14732
|
+
dimensions: Array<{
|
|
14733
|
+
__typename?: 'AgentBudgetDimension';
|
|
14734
|
+
name: string;
|
|
14735
|
+
scope: string;
|
|
14736
|
+
limit: string;
|
|
14737
|
+
reserved: string;
|
|
14738
|
+
consumed: string;
|
|
14739
|
+
remaining: string;
|
|
14740
|
+
unit: string;
|
|
14741
|
+
}>;
|
|
14742
|
+
};
|
|
14743
|
+
} | {
|
|
14744
|
+
__typename: 'AgentCheckpointEvent';
|
|
14745
|
+
protocolVersion: string;
|
|
14746
|
+
eventId: string;
|
|
14747
|
+
sessionId: string;
|
|
14748
|
+
seq: string;
|
|
14749
|
+
type: CrowdyStudioAgentEventType;
|
|
14750
|
+
runId: string | null;
|
|
14751
|
+
version: string;
|
|
14752
|
+
createdAt: string;
|
|
14753
|
+
checkpointEventId: string;
|
|
14754
|
+
checkpointProjectRevision: string;
|
|
14755
|
+
checkpointContentHash: string;
|
|
14756
|
+
checkpointReason: string;
|
|
14757
|
+
checkpointRestoredAt: string | null;
|
|
14758
|
+
checkpointFiles: Array<{
|
|
14759
|
+
__typename?: 'AgentCheckpointFile';
|
|
14760
|
+
target: string;
|
|
14761
|
+
path: string;
|
|
14762
|
+
contentHash: string;
|
|
14763
|
+
byteLength: number;
|
|
14764
|
+
}>;
|
|
14765
|
+
} | {
|
|
14766
|
+
__typename: 'AgentLeaseEvent';
|
|
14767
|
+
protocolVersion: string;
|
|
14768
|
+
eventId: string;
|
|
14769
|
+
sessionId: string;
|
|
14770
|
+
seq: string;
|
|
14771
|
+
type: CrowdyStudioAgentEventType;
|
|
14772
|
+
runId: string | null;
|
|
14773
|
+
version: string;
|
|
14774
|
+
createdAt: string;
|
|
14775
|
+
leaseEventId: string;
|
|
14776
|
+
leaseKind: CrowdyStudioAgentLeaseType;
|
|
14777
|
+
leaseStatus: CrowdyStudioAgentLeaseStatus;
|
|
14778
|
+
leaseClientEpoch: string;
|
|
14779
|
+
leaseScopes: Array<string>;
|
|
14780
|
+
leaseHolder: string;
|
|
14781
|
+
leaseContextVersion: string;
|
|
14782
|
+
leaseControlledEntityId: string | null;
|
|
14783
|
+
leaseHostCapabilityRevision: string | null;
|
|
14784
|
+
leaseExpectedProjectRevision: string | null;
|
|
14785
|
+
leaseGrantedAt: string;
|
|
14786
|
+
leaseExpiresAt: string;
|
|
14787
|
+
leaseReason: string | null;
|
|
14788
|
+
} | {
|
|
14789
|
+
__typename: 'AgentLifecycleEvent';
|
|
14790
|
+
protocolVersion: string;
|
|
14791
|
+
eventId: string;
|
|
14792
|
+
sessionId: string;
|
|
14793
|
+
seq: string;
|
|
14794
|
+
type: CrowdyStudioAgentEventType;
|
|
14795
|
+
runId: string | null;
|
|
14796
|
+
version: string;
|
|
14797
|
+
createdAt: string;
|
|
14798
|
+
lifecycleMode: CrowdyStudioAgentMode | null;
|
|
14799
|
+
lifecycleClientEpoch: string | null;
|
|
14800
|
+
lifecycleReplayAfterSeq: string | null;
|
|
14801
|
+
lifecycleReason: string | null;
|
|
14802
|
+
lifecycleContextVersion: string | null;
|
|
14803
|
+
} | {
|
|
14804
|
+
__typename: 'AgentMessageEvent';
|
|
14805
|
+
protocolVersion: string;
|
|
14806
|
+
eventId: string;
|
|
14807
|
+
sessionId: string;
|
|
14808
|
+
seq: string;
|
|
14809
|
+
type: CrowdyStudioAgentEventType;
|
|
14810
|
+
runId: string | null;
|
|
14811
|
+
version: string;
|
|
14812
|
+
createdAt: string;
|
|
14813
|
+
messageEventId: string;
|
|
14814
|
+
messageRole: string;
|
|
14815
|
+
messageContent: string;
|
|
14816
|
+
} | {
|
|
14817
|
+
__typename: 'AgentRunEvent';
|
|
14818
|
+
protocolVersion: string;
|
|
14819
|
+
eventId: string;
|
|
14820
|
+
sessionId: string;
|
|
14821
|
+
seq: string;
|
|
14822
|
+
type: CrowdyStudioAgentEventType;
|
|
14823
|
+
runId: string | null;
|
|
14824
|
+
version: string;
|
|
14825
|
+
createdAt: string;
|
|
14826
|
+
runStatus: CrowdyStudioAgentRunStatus;
|
|
14827
|
+
runCode: string | null;
|
|
14828
|
+
runReason: string | null;
|
|
14829
|
+
runError: {
|
|
14830
|
+
__typename?: 'AgentError';
|
|
14831
|
+
code: string;
|
|
14832
|
+
message: string;
|
|
14833
|
+
retryable: boolean;
|
|
14834
|
+
remediation: string | null;
|
|
14835
|
+
field: string | null;
|
|
14836
|
+
requiredScope: string | null;
|
|
14837
|
+
} | null;
|
|
14838
|
+
} | {
|
|
14839
|
+
__typename: 'AgentToolEvent';
|
|
14840
|
+
protocolVersion: string;
|
|
14841
|
+
eventId: string;
|
|
14842
|
+
sessionId: string;
|
|
14843
|
+
seq: string;
|
|
14844
|
+
type: CrowdyStudioAgentEventType;
|
|
14845
|
+
runId: string | null;
|
|
14846
|
+
version: string;
|
|
14847
|
+
createdAt: string;
|
|
14848
|
+
toolEventCallId: string;
|
|
14849
|
+
toolEventName: string;
|
|
14850
|
+
toolEventVersion: string;
|
|
14851
|
+
toolStatus: CrowdyStudioAgentToolCallStatus;
|
|
14852
|
+
toolSafeSummary: string | null;
|
|
14853
|
+
toolDescriptorDigest: string | null;
|
|
14854
|
+
toolArgumentHash: string | null;
|
|
14855
|
+
toolExecutor: CrowdyStudioAgentToolExecutor | null;
|
|
14856
|
+
toolContextVersion: string | null;
|
|
14857
|
+
toolClientEpoch: string | null;
|
|
14858
|
+
toolArgumentsJson: string | null;
|
|
14859
|
+
toolLeaseId: string | null;
|
|
14860
|
+
toolApprovalGrant: string | null;
|
|
14861
|
+
toolIdempotencyKey: string | null;
|
|
14862
|
+
toolResultJson: string | null;
|
|
14863
|
+
toolDeadline: string | null;
|
|
14864
|
+
toolInvocation: {
|
|
14865
|
+
__typename?: 'AgentToolInvocation';
|
|
14866
|
+
protocolVersion: string;
|
|
14867
|
+
sessionId: string;
|
|
14868
|
+
runId: string;
|
|
14869
|
+
toolCallId: string;
|
|
14870
|
+
name: string;
|
|
14871
|
+
version: string;
|
|
14872
|
+
descriptorDigest: string;
|
|
14873
|
+
argumentsJson: string;
|
|
14874
|
+
argumentHash: string;
|
|
14875
|
+
contextVersion: string;
|
|
14876
|
+
clientEpoch: string | null;
|
|
14877
|
+
leaseId: string | null;
|
|
14878
|
+
approvalGrant: string | null;
|
|
14879
|
+
idempotencyKey: string | null;
|
|
14880
|
+
deadline: string;
|
|
14881
|
+
} | null;
|
|
14882
|
+
toolResult: {
|
|
14883
|
+
__typename?: 'AgentToolResultEnvelope';
|
|
14884
|
+
protocolVersion: string;
|
|
14885
|
+
toolCallId: string;
|
|
14886
|
+
status: CrowdyStudioAgentToolResultStatus;
|
|
14887
|
+
outputJson: string | null;
|
|
14888
|
+
observedContextVersion: string;
|
|
14889
|
+
startedAt: string;
|
|
14890
|
+
finishedAt: string;
|
|
14891
|
+
error: {
|
|
14892
|
+
__typename?: 'AgentError';
|
|
14893
|
+
code: string;
|
|
14894
|
+
message: string;
|
|
14895
|
+
retryable: boolean;
|
|
14896
|
+
remediation: string | null;
|
|
14897
|
+
field: string | null;
|
|
14898
|
+
requiredScope: string | null;
|
|
14899
|
+
} | null;
|
|
14900
|
+
} | null;
|
|
14901
|
+
toolError: {
|
|
14902
|
+
__typename?: 'AgentError';
|
|
14903
|
+
code: string;
|
|
14904
|
+
message: string;
|
|
14905
|
+
retryable: boolean;
|
|
14906
|
+
remediation: string | null;
|
|
14907
|
+
field: string | null;
|
|
14908
|
+
requiredScope: string | null;
|
|
14909
|
+
} | null;
|
|
14910
|
+
}>;
|
|
14911
|
+
};
|
|
14912
|
+
};
|
|
14913
|
+
export type CrowdyStudioAgentToolDescriptorsQueryVariables = Exact<{
|
|
14914
|
+
sessionId: Scalars['String']['input'];
|
|
14915
|
+
}>;
|
|
14916
|
+
export type CrowdyStudioAgentToolDescriptorsQuery = {
|
|
14917
|
+
__typename?: 'Query';
|
|
14918
|
+
crowdyStudioAgentToolDescriptors: {
|
|
14919
|
+
__typename?: 'AgentToolDescriptorSet';
|
|
14920
|
+
registryDigest: string;
|
|
14921
|
+
tools: Array<{
|
|
14922
|
+
__typename?: 'AgentToolDescriptor';
|
|
14923
|
+
schemaVersion: string;
|
|
14924
|
+
name: string;
|
|
14925
|
+
wireName: string;
|
|
14926
|
+
version: string;
|
|
14927
|
+
summary: string;
|
|
14928
|
+
executor: CrowdyStudioAgentToolExecutor;
|
|
14929
|
+
modes: Array<CrowdyStudioAgentMode>;
|
|
14930
|
+
risk: CrowdyStudioAgentToolRisk;
|
|
14931
|
+
riskEffects: Array<string>;
|
|
14932
|
+
riskReversible: boolean;
|
|
14933
|
+
scopes: Array<string>;
|
|
14934
|
+
scopeRequirementsJson: string;
|
|
14935
|
+
approvalRequired: boolean;
|
|
14936
|
+
approvalPolicy: string;
|
|
14937
|
+
approvalReasons: Array<string>;
|
|
14938
|
+
approvalMaxTtlSeconds: number;
|
|
14939
|
+
idempotencyClass: string;
|
|
14940
|
+
idempotencyKeyScope: string;
|
|
14941
|
+
timeoutMs: number;
|
|
14942
|
+
inputSchemaJson: string;
|
|
14943
|
+
outputSchemaJson: string;
|
|
14944
|
+
inputRedactionJson: string;
|
|
14945
|
+
outputRedactionJson: string;
|
|
14946
|
+
maxPersistedBytes: number;
|
|
14947
|
+
descriptorJson: string;
|
|
14948
|
+
descriptorDigest: string;
|
|
14949
|
+
}>;
|
|
14950
|
+
};
|
|
14951
|
+
};
|
|
14952
|
+
export type CrowdyStudioAgentBudgetQueryVariables = Exact<{
|
|
14953
|
+
sessionId: Scalars['String']['input'];
|
|
14954
|
+
}>;
|
|
14955
|
+
export type CrowdyStudioAgentBudgetQuery = {
|
|
14956
|
+
__typename?: 'Query';
|
|
14957
|
+
crowdyStudioAgentBudget: {
|
|
14958
|
+
__typename?: 'AgentBudget';
|
|
14959
|
+
resetAt: string | null;
|
|
14960
|
+
platformFunded: boolean;
|
|
14961
|
+
payer: string;
|
|
14962
|
+
dimensions: Array<{
|
|
14963
|
+
__typename?: 'AgentBudgetDimension';
|
|
14964
|
+
name: string;
|
|
14965
|
+
scope: string;
|
|
14966
|
+
limit: string;
|
|
14967
|
+
reserved: string;
|
|
14968
|
+
consumed: string;
|
|
14969
|
+
remaining: string;
|
|
14970
|
+
unit: string;
|
|
14971
|
+
}>;
|
|
14972
|
+
};
|
|
14973
|
+
};
|
|
14974
|
+
export type CrowdyStudioAgentCreateSessionMutationVariables = Exact<{
|
|
14975
|
+
input: CreateAgentSessionInput;
|
|
14976
|
+
}>;
|
|
14977
|
+
export type CrowdyStudioAgentCreateSessionMutation = {
|
|
14978
|
+
__typename?: 'Mutation';
|
|
14979
|
+
crowdyStudioAgentCreateSession: {
|
|
14980
|
+
__typename?: 'AgentSession';
|
|
14981
|
+
contractVersion: string;
|
|
14982
|
+
sessionId: string;
|
|
14983
|
+
appId: string;
|
|
14984
|
+
projectId: string | null;
|
|
14985
|
+
gridId: string | null;
|
|
14986
|
+
mode: CrowdyStudioAgentMode;
|
|
14987
|
+
requestedModel: string;
|
|
14988
|
+
model: string | null;
|
|
14989
|
+
resolvedModel: string | null;
|
|
14990
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
14991
|
+
providerDataConsent: boolean;
|
|
14992
|
+
registryDigest: string;
|
|
14993
|
+
providerPolicyVersion: string;
|
|
14994
|
+
appPolicyVersion: string;
|
|
14995
|
+
contextVersion: string;
|
|
14996
|
+
currentClientEpoch: string;
|
|
14997
|
+
clientEpoch: string | null;
|
|
14998
|
+
lastEventSeq: string;
|
|
14999
|
+
createdAt: string;
|
|
15000
|
+
updatedAt: string;
|
|
15001
|
+
closedAt: string | null;
|
|
15002
|
+
currentRun: {
|
|
15003
|
+
__typename?: 'AgentRun';
|
|
15004
|
+
runId: string;
|
|
15005
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15006
|
+
providerRounds: number;
|
|
15007
|
+
toolCalls: number;
|
|
15008
|
+
errorCode: string | null;
|
|
15009
|
+
terminalReason: string | null;
|
|
15010
|
+
reason: string | null;
|
|
15011
|
+
startedAt: string | null;
|
|
15012
|
+
finishedAt: string | null;
|
|
15013
|
+
createdAt: string;
|
|
15014
|
+
cancelled: boolean;
|
|
15015
|
+
} | null;
|
|
15016
|
+
activeLeases: Array<{
|
|
15017
|
+
__typename?: 'AgentLease';
|
|
15018
|
+
leaseId: string;
|
|
15019
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15020
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15021
|
+
clientEpoch: string;
|
|
15022
|
+
scopes: Array<string>;
|
|
15023
|
+
holder: string;
|
|
15024
|
+
contextVersion: string;
|
|
15025
|
+
controlledEntityId: string | null;
|
|
15026
|
+
hostCapabilityRevision: string | null;
|
|
15027
|
+
expectedProjectRevision: string | null;
|
|
15028
|
+
grantedAt: string;
|
|
15029
|
+
expiresAt: string;
|
|
15030
|
+
revokedReason: string | null;
|
|
15031
|
+
}>;
|
|
15032
|
+
pendingApproval: {
|
|
15033
|
+
__typename?: 'AgentApproval';
|
|
15034
|
+
approvalId: string;
|
|
15035
|
+
toolCallId: string;
|
|
15036
|
+
argumentHash: string;
|
|
15037
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15038
|
+
safeSummary: string;
|
|
15039
|
+
clientEpoch: string;
|
|
15040
|
+
expiresAt: string;
|
|
15041
|
+
approved: boolean;
|
|
15042
|
+
rejected: boolean;
|
|
15043
|
+
} | null;
|
|
15044
|
+
};
|
|
15045
|
+
};
|
|
15046
|
+
export type CrowdyStudioAgentAttachClientMutationVariables = Exact<{
|
|
15047
|
+
input: AttachAgentClientInput;
|
|
15048
|
+
}>;
|
|
15049
|
+
export type CrowdyStudioAgentAttachClientMutation = {
|
|
15050
|
+
__typename?: 'Mutation';
|
|
15051
|
+
crowdyStudioAgentAttachClient: {
|
|
15052
|
+
__typename?: 'AgentClientAttachment';
|
|
15053
|
+
clientEpoch: string;
|
|
15054
|
+
replayAfterSeq: string;
|
|
15055
|
+
session: {
|
|
15056
|
+
__typename?: 'AgentSession';
|
|
15057
|
+
contractVersion: string;
|
|
15058
|
+
sessionId: string;
|
|
15059
|
+
appId: string;
|
|
15060
|
+
projectId: string | null;
|
|
15061
|
+
gridId: string | null;
|
|
15062
|
+
mode: CrowdyStudioAgentMode;
|
|
15063
|
+
requestedModel: string;
|
|
15064
|
+
model: string | null;
|
|
15065
|
+
resolvedModel: string | null;
|
|
15066
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
15067
|
+
providerDataConsent: boolean;
|
|
15068
|
+
registryDigest: string;
|
|
15069
|
+
providerPolicyVersion: string;
|
|
15070
|
+
appPolicyVersion: string;
|
|
15071
|
+
contextVersion: string;
|
|
15072
|
+
currentClientEpoch: string;
|
|
15073
|
+
clientEpoch: string | null;
|
|
15074
|
+
lastEventSeq: string;
|
|
15075
|
+
createdAt: string;
|
|
15076
|
+
updatedAt: string;
|
|
15077
|
+
closedAt: string | null;
|
|
15078
|
+
currentRun: {
|
|
15079
|
+
__typename?: 'AgentRun';
|
|
15080
|
+
runId: string;
|
|
15081
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15082
|
+
providerRounds: number;
|
|
15083
|
+
toolCalls: number;
|
|
15084
|
+
errorCode: string | null;
|
|
15085
|
+
terminalReason: string | null;
|
|
15086
|
+
reason: string | null;
|
|
15087
|
+
startedAt: string | null;
|
|
15088
|
+
finishedAt: string | null;
|
|
15089
|
+
createdAt: string;
|
|
15090
|
+
cancelled: boolean;
|
|
15091
|
+
} | null;
|
|
15092
|
+
activeLeases: Array<{
|
|
15093
|
+
__typename?: 'AgentLease';
|
|
15094
|
+
leaseId: string;
|
|
15095
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15096
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15097
|
+
clientEpoch: string;
|
|
15098
|
+
scopes: Array<string>;
|
|
15099
|
+
holder: string;
|
|
15100
|
+
contextVersion: string;
|
|
15101
|
+
controlledEntityId: string | null;
|
|
15102
|
+
hostCapabilityRevision: string | null;
|
|
15103
|
+
expectedProjectRevision: string | null;
|
|
15104
|
+
grantedAt: string;
|
|
15105
|
+
expiresAt: string;
|
|
15106
|
+
revokedReason: string | null;
|
|
15107
|
+
}>;
|
|
15108
|
+
pendingApproval: {
|
|
15109
|
+
__typename?: 'AgentApproval';
|
|
15110
|
+
approvalId: string;
|
|
15111
|
+
toolCallId: string;
|
|
15112
|
+
argumentHash: string;
|
|
15113
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15114
|
+
safeSummary: string;
|
|
15115
|
+
clientEpoch: string;
|
|
15116
|
+
expiresAt: string;
|
|
15117
|
+
approved: boolean;
|
|
15118
|
+
rejected: boolean;
|
|
15119
|
+
} | null;
|
|
15120
|
+
};
|
|
15121
|
+
};
|
|
15122
|
+
};
|
|
15123
|
+
export type CrowdyStudioAgentSetModeMutationVariables = Exact<{
|
|
15124
|
+
input: SetAgentModeInput;
|
|
15125
|
+
}>;
|
|
15126
|
+
export type CrowdyStudioAgentSetModeMutation = {
|
|
15127
|
+
__typename?: 'Mutation';
|
|
15128
|
+
crowdyStudioAgentSetMode: {
|
|
15129
|
+
__typename?: 'AgentSession';
|
|
15130
|
+
contractVersion: string;
|
|
15131
|
+
sessionId: string;
|
|
15132
|
+
appId: string;
|
|
15133
|
+
projectId: string | null;
|
|
15134
|
+
gridId: string | null;
|
|
15135
|
+
mode: CrowdyStudioAgentMode;
|
|
15136
|
+
requestedModel: string;
|
|
15137
|
+
model: string | null;
|
|
15138
|
+
resolvedModel: string | null;
|
|
15139
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
15140
|
+
providerDataConsent: boolean;
|
|
15141
|
+
registryDigest: string;
|
|
15142
|
+
providerPolicyVersion: string;
|
|
15143
|
+
appPolicyVersion: string;
|
|
15144
|
+
contextVersion: string;
|
|
15145
|
+
currentClientEpoch: string;
|
|
15146
|
+
clientEpoch: string | null;
|
|
15147
|
+
lastEventSeq: string;
|
|
15148
|
+
createdAt: string;
|
|
15149
|
+
updatedAt: string;
|
|
15150
|
+
closedAt: string | null;
|
|
15151
|
+
currentRun: {
|
|
15152
|
+
__typename?: 'AgentRun';
|
|
15153
|
+
runId: string;
|
|
15154
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15155
|
+
providerRounds: number;
|
|
15156
|
+
toolCalls: number;
|
|
15157
|
+
errorCode: string | null;
|
|
15158
|
+
terminalReason: string | null;
|
|
15159
|
+
reason: string | null;
|
|
15160
|
+
startedAt: string | null;
|
|
15161
|
+
finishedAt: string | null;
|
|
15162
|
+
createdAt: string;
|
|
15163
|
+
cancelled: boolean;
|
|
15164
|
+
} | null;
|
|
15165
|
+
activeLeases: Array<{
|
|
15166
|
+
__typename?: 'AgentLease';
|
|
15167
|
+
leaseId: string;
|
|
15168
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15169
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15170
|
+
clientEpoch: string;
|
|
15171
|
+
scopes: Array<string>;
|
|
15172
|
+
holder: string;
|
|
15173
|
+
contextVersion: string;
|
|
15174
|
+
controlledEntityId: string | null;
|
|
15175
|
+
hostCapabilityRevision: string | null;
|
|
15176
|
+
expectedProjectRevision: string | null;
|
|
15177
|
+
grantedAt: string;
|
|
15178
|
+
expiresAt: string;
|
|
15179
|
+
revokedReason: string | null;
|
|
15180
|
+
}>;
|
|
15181
|
+
pendingApproval: {
|
|
15182
|
+
__typename?: 'AgentApproval';
|
|
15183
|
+
approvalId: string;
|
|
15184
|
+
toolCallId: string;
|
|
15185
|
+
argumentHash: string;
|
|
15186
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15187
|
+
safeSummary: string;
|
|
15188
|
+
clientEpoch: string;
|
|
15189
|
+
expiresAt: string;
|
|
15190
|
+
approved: boolean;
|
|
15191
|
+
rejected: boolean;
|
|
15192
|
+
} | null;
|
|
15193
|
+
};
|
|
15194
|
+
};
|
|
15195
|
+
export type CrowdyStudioAgentAcknowledgeEventsMutationVariables = Exact<{
|
|
15196
|
+
input: AcknowledgeAgentEventsInput;
|
|
15197
|
+
}>;
|
|
15198
|
+
export type CrowdyStudioAgentAcknowledgeEventsMutation = {
|
|
15199
|
+
__typename?: 'Mutation';
|
|
15200
|
+
crowdyStudioAgentAcknowledgeEvents: {
|
|
15201
|
+
__typename?: 'AgentEventAcknowledgement';
|
|
15202
|
+
throughSeq: string;
|
|
15203
|
+
};
|
|
15204
|
+
};
|
|
15205
|
+
export type CrowdyStudioAgentHeartbeatMutationVariables = Exact<{
|
|
15206
|
+
input: AgentHeartbeatInput;
|
|
15207
|
+
}>;
|
|
15208
|
+
export type CrowdyStudioAgentHeartbeatMutation = {
|
|
15209
|
+
__typename?: 'Mutation';
|
|
15210
|
+
crowdyStudioAgentHeartbeat: {
|
|
15211
|
+
__typename?: 'AgentHeartbeat';
|
|
15212
|
+
serverTime: string;
|
|
15213
|
+
playLeaseFreshUntil: string | null;
|
|
15214
|
+
workspaceLeaseExpiresAt: string | null;
|
|
15215
|
+
};
|
|
15216
|
+
};
|
|
15217
|
+
export type CrowdyStudioAgentSendMessageMutationVariables = Exact<{
|
|
15218
|
+
input: SendAgentMessageInput;
|
|
15219
|
+
}>;
|
|
15220
|
+
export type CrowdyStudioAgentSendMessageMutation = {
|
|
15221
|
+
__typename?: 'Mutation';
|
|
15222
|
+
crowdyStudioAgentSendMessage: {
|
|
15223
|
+
__typename?: 'AgentRun';
|
|
15224
|
+
runId: string;
|
|
15225
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15226
|
+
providerRounds: number;
|
|
15227
|
+
toolCalls: number;
|
|
15228
|
+
errorCode: string | null;
|
|
15229
|
+
terminalReason: string | null;
|
|
15230
|
+
reason: string | null;
|
|
15231
|
+
startedAt: string | null;
|
|
15232
|
+
finishedAt: string | null;
|
|
15233
|
+
createdAt: string;
|
|
15234
|
+
cancelled: boolean;
|
|
15235
|
+
};
|
|
15236
|
+
};
|
|
15237
|
+
export type CrowdyStudioAgentApproveToolMutationVariables = Exact<{
|
|
15238
|
+
input: DecideAgentToolInput;
|
|
15239
|
+
}>;
|
|
15240
|
+
export type CrowdyStudioAgentApproveToolMutation = {
|
|
15241
|
+
__typename?: 'Mutation';
|
|
15242
|
+
crowdyStudioAgentApproveTool: {
|
|
15243
|
+
__typename?: 'AgentApproval';
|
|
15244
|
+
approvalId: string;
|
|
15245
|
+
toolCallId: string;
|
|
15246
|
+
argumentHash: string;
|
|
15247
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15248
|
+
safeSummary: string;
|
|
15249
|
+
clientEpoch: string;
|
|
15250
|
+
expiresAt: string;
|
|
15251
|
+
approved: boolean;
|
|
15252
|
+
rejected: boolean;
|
|
15253
|
+
};
|
|
15254
|
+
};
|
|
15255
|
+
export type CrowdyStudioAgentRejectToolMutationVariables = Exact<{
|
|
15256
|
+
input: DecideAgentToolInput;
|
|
15257
|
+
}>;
|
|
15258
|
+
export type CrowdyStudioAgentRejectToolMutation = {
|
|
15259
|
+
__typename?: 'Mutation';
|
|
15260
|
+
crowdyStudioAgentRejectTool: {
|
|
15261
|
+
__typename?: 'AgentApproval';
|
|
15262
|
+
approvalId: string;
|
|
15263
|
+
toolCallId: string;
|
|
15264
|
+
argumentHash: string;
|
|
15265
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15266
|
+
safeSummary: string;
|
|
15267
|
+
clientEpoch: string;
|
|
15268
|
+
expiresAt: string;
|
|
15269
|
+
approved: boolean;
|
|
15270
|
+
rejected: boolean;
|
|
15271
|
+
};
|
|
15272
|
+
};
|
|
15273
|
+
export type CrowdyStudioAgentToolResultMutationVariables = Exact<{
|
|
15274
|
+
input: AgentToolResultInput;
|
|
15275
|
+
}>;
|
|
15276
|
+
export type CrowdyStudioAgentToolResultMutation = {
|
|
15277
|
+
__typename?: 'Mutation';
|
|
15278
|
+
crowdyStudioAgentToolResult: {
|
|
15279
|
+
__typename?: 'AgentToolCall';
|
|
15280
|
+
toolCallId: string;
|
|
15281
|
+
toolName: string;
|
|
15282
|
+
status: CrowdyStudioAgentToolCallStatus;
|
|
15283
|
+
argumentHash: string;
|
|
15284
|
+
accepted: boolean;
|
|
15285
|
+
error: {
|
|
15286
|
+
__typename?: 'AgentError';
|
|
15287
|
+
code: string;
|
|
15288
|
+
message: string;
|
|
15289
|
+
retryable: boolean;
|
|
15290
|
+
remediation: string | null;
|
|
15291
|
+
field: string | null;
|
|
15292
|
+
requiredScope: string | null;
|
|
15293
|
+
} | null;
|
|
15294
|
+
};
|
|
15295
|
+
};
|
|
15296
|
+
export type CrowdyStudioAgentGrantLeaseMutationVariables = Exact<{
|
|
15297
|
+
input: GrantAgentLeaseInput;
|
|
15298
|
+
}>;
|
|
15299
|
+
export type CrowdyStudioAgentGrantLeaseMutation = {
|
|
15300
|
+
__typename?: 'Mutation';
|
|
15301
|
+
crowdyStudioAgentGrantLease: {
|
|
15302
|
+
__typename?: 'AgentLease';
|
|
15303
|
+
leaseId: string;
|
|
15304
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15305
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15306
|
+
clientEpoch: string;
|
|
15307
|
+
scopes: Array<string>;
|
|
15308
|
+
holder: string;
|
|
15309
|
+
contextVersion: string;
|
|
15310
|
+
controlledEntityId: string | null;
|
|
15311
|
+
hostCapabilityRevision: string | null;
|
|
15312
|
+
expectedProjectRevision: string | null;
|
|
15313
|
+
grantedAt: string;
|
|
15314
|
+
expiresAt: string;
|
|
15315
|
+
revokedReason: string | null;
|
|
15316
|
+
};
|
|
15317
|
+
};
|
|
15318
|
+
export type CrowdyStudioAgentRevokeLeaseMutationVariables = Exact<{
|
|
15319
|
+
input: RevokeAgentLeaseInput;
|
|
15320
|
+
}>;
|
|
15321
|
+
export type CrowdyStudioAgentRevokeLeaseMutation = {
|
|
15322
|
+
__typename?: 'Mutation';
|
|
15323
|
+
crowdyStudioAgentRevokeLease: {
|
|
15324
|
+
__typename?: 'AgentLease';
|
|
15325
|
+
leaseId: string;
|
|
15326
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15327
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15328
|
+
clientEpoch: string;
|
|
15329
|
+
scopes: Array<string>;
|
|
15330
|
+
holder: string;
|
|
15331
|
+
contextVersion: string;
|
|
15332
|
+
controlledEntityId: string | null;
|
|
15333
|
+
hostCapabilityRevision: string | null;
|
|
15334
|
+
expectedProjectRevision: string | null;
|
|
15335
|
+
grantedAt: string;
|
|
15336
|
+
expiresAt: string;
|
|
15337
|
+
revokedReason: string | null;
|
|
15338
|
+
};
|
|
15339
|
+
};
|
|
15340
|
+
export type CrowdyStudioAgentPauseMutationVariables = Exact<{
|
|
15341
|
+
input: AgentSessionControlInput;
|
|
15342
|
+
}>;
|
|
15343
|
+
export type CrowdyStudioAgentPauseMutation = {
|
|
15344
|
+
__typename?: 'Mutation';
|
|
15345
|
+
crowdyStudioAgentPause: {
|
|
15346
|
+
__typename?: 'AgentSession';
|
|
15347
|
+
contractVersion: string;
|
|
15348
|
+
sessionId: string;
|
|
15349
|
+
appId: string;
|
|
15350
|
+
projectId: string | null;
|
|
15351
|
+
gridId: string | null;
|
|
15352
|
+
mode: CrowdyStudioAgentMode;
|
|
15353
|
+
requestedModel: string;
|
|
15354
|
+
model: string | null;
|
|
15355
|
+
resolvedModel: string | null;
|
|
15356
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
15357
|
+
providerDataConsent: boolean;
|
|
15358
|
+
registryDigest: string;
|
|
15359
|
+
providerPolicyVersion: string;
|
|
15360
|
+
appPolicyVersion: string;
|
|
15361
|
+
contextVersion: string;
|
|
15362
|
+
currentClientEpoch: string;
|
|
15363
|
+
clientEpoch: string | null;
|
|
15364
|
+
lastEventSeq: string;
|
|
15365
|
+
createdAt: string;
|
|
15366
|
+
updatedAt: string;
|
|
15367
|
+
closedAt: string | null;
|
|
15368
|
+
currentRun: {
|
|
15369
|
+
__typename?: 'AgentRun';
|
|
15370
|
+
runId: string;
|
|
15371
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15372
|
+
providerRounds: number;
|
|
15373
|
+
toolCalls: number;
|
|
15374
|
+
errorCode: string | null;
|
|
15375
|
+
terminalReason: string | null;
|
|
15376
|
+
reason: string | null;
|
|
15377
|
+
startedAt: string | null;
|
|
15378
|
+
finishedAt: string | null;
|
|
15379
|
+
createdAt: string;
|
|
15380
|
+
cancelled: boolean;
|
|
15381
|
+
} | null;
|
|
15382
|
+
activeLeases: Array<{
|
|
15383
|
+
__typename?: 'AgentLease';
|
|
15384
|
+
leaseId: string;
|
|
15385
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15386
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15387
|
+
clientEpoch: string;
|
|
15388
|
+
scopes: Array<string>;
|
|
15389
|
+
holder: string;
|
|
15390
|
+
contextVersion: string;
|
|
15391
|
+
controlledEntityId: string | null;
|
|
15392
|
+
hostCapabilityRevision: string | null;
|
|
15393
|
+
expectedProjectRevision: string | null;
|
|
15394
|
+
grantedAt: string;
|
|
15395
|
+
expiresAt: string;
|
|
15396
|
+
revokedReason: string | null;
|
|
15397
|
+
}>;
|
|
15398
|
+
pendingApproval: {
|
|
15399
|
+
__typename?: 'AgentApproval';
|
|
15400
|
+
approvalId: string;
|
|
15401
|
+
toolCallId: string;
|
|
15402
|
+
argumentHash: string;
|
|
15403
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15404
|
+
safeSummary: string;
|
|
15405
|
+
clientEpoch: string;
|
|
15406
|
+
expiresAt: string;
|
|
15407
|
+
approved: boolean;
|
|
15408
|
+
rejected: boolean;
|
|
15409
|
+
} | null;
|
|
15410
|
+
};
|
|
15411
|
+
};
|
|
15412
|
+
export type CrowdyStudioAgentResumeMutationVariables = Exact<{
|
|
15413
|
+
input: AgentSessionControlInput;
|
|
15414
|
+
}>;
|
|
15415
|
+
export type CrowdyStudioAgentResumeMutation = {
|
|
15416
|
+
__typename?: 'Mutation';
|
|
15417
|
+
crowdyStudioAgentResume: {
|
|
15418
|
+
__typename?: 'AgentSession';
|
|
15419
|
+
contractVersion: string;
|
|
15420
|
+
sessionId: string;
|
|
15421
|
+
appId: string;
|
|
15422
|
+
projectId: string | null;
|
|
15423
|
+
gridId: string | null;
|
|
15424
|
+
mode: CrowdyStudioAgentMode;
|
|
15425
|
+
requestedModel: string;
|
|
15426
|
+
model: string | null;
|
|
15427
|
+
resolvedModel: string | null;
|
|
15428
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
15429
|
+
providerDataConsent: boolean;
|
|
15430
|
+
registryDigest: string;
|
|
15431
|
+
providerPolicyVersion: string;
|
|
15432
|
+
appPolicyVersion: string;
|
|
15433
|
+
contextVersion: string;
|
|
15434
|
+
currentClientEpoch: string;
|
|
15435
|
+
clientEpoch: string | null;
|
|
15436
|
+
lastEventSeq: string;
|
|
15437
|
+
createdAt: string;
|
|
15438
|
+
updatedAt: string;
|
|
15439
|
+
closedAt: string | null;
|
|
15440
|
+
currentRun: {
|
|
15441
|
+
__typename?: 'AgentRun';
|
|
15442
|
+
runId: string;
|
|
15443
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15444
|
+
providerRounds: number;
|
|
15445
|
+
toolCalls: number;
|
|
15446
|
+
errorCode: string | null;
|
|
15447
|
+
terminalReason: string | null;
|
|
15448
|
+
reason: string | null;
|
|
15449
|
+
startedAt: string | null;
|
|
15450
|
+
finishedAt: string | null;
|
|
15451
|
+
createdAt: string;
|
|
15452
|
+
cancelled: boolean;
|
|
15453
|
+
} | null;
|
|
15454
|
+
activeLeases: Array<{
|
|
15455
|
+
__typename?: 'AgentLease';
|
|
15456
|
+
leaseId: string;
|
|
15457
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15458
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15459
|
+
clientEpoch: string;
|
|
15460
|
+
scopes: Array<string>;
|
|
15461
|
+
holder: string;
|
|
15462
|
+
contextVersion: string;
|
|
15463
|
+
controlledEntityId: string | null;
|
|
15464
|
+
hostCapabilityRevision: string | null;
|
|
15465
|
+
expectedProjectRevision: string | null;
|
|
15466
|
+
grantedAt: string;
|
|
15467
|
+
expiresAt: string;
|
|
15468
|
+
revokedReason: string | null;
|
|
15469
|
+
}>;
|
|
15470
|
+
pendingApproval: {
|
|
15471
|
+
__typename?: 'AgentApproval';
|
|
15472
|
+
approvalId: string;
|
|
15473
|
+
toolCallId: string;
|
|
15474
|
+
argumentHash: string;
|
|
15475
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15476
|
+
safeSummary: string;
|
|
15477
|
+
clientEpoch: string;
|
|
15478
|
+
expiresAt: string;
|
|
15479
|
+
approved: boolean;
|
|
15480
|
+
rejected: boolean;
|
|
15481
|
+
} | null;
|
|
15482
|
+
};
|
|
15483
|
+
};
|
|
15484
|
+
export type CrowdyStudioAgentCancelRunMutationVariables = Exact<{
|
|
15485
|
+
input: CancelAgentRunInput;
|
|
15486
|
+
}>;
|
|
15487
|
+
export type CrowdyStudioAgentCancelRunMutation = {
|
|
15488
|
+
__typename?: 'Mutation';
|
|
15489
|
+
crowdyStudioAgentCancelRun: {
|
|
15490
|
+
__typename?: 'AgentRun';
|
|
15491
|
+
runId: string;
|
|
15492
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15493
|
+
providerRounds: number;
|
|
15494
|
+
toolCalls: number;
|
|
15495
|
+
errorCode: string | null;
|
|
15496
|
+
terminalReason: string | null;
|
|
15497
|
+
reason: string | null;
|
|
15498
|
+
startedAt: string | null;
|
|
15499
|
+
finishedAt: string | null;
|
|
15500
|
+
createdAt: string;
|
|
15501
|
+
cancelled: boolean;
|
|
15502
|
+
};
|
|
15503
|
+
};
|
|
15504
|
+
export type CrowdyStudioAgentCloseSessionMutationVariables = Exact<{
|
|
15505
|
+
input: AgentSessionControlInput;
|
|
15506
|
+
}>;
|
|
15507
|
+
export type CrowdyStudioAgentCloseSessionMutation = {
|
|
15508
|
+
__typename?: 'Mutation';
|
|
15509
|
+
crowdyStudioAgentCloseSession: {
|
|
15510
|
+
__typename?: 'AgentSession';
|
|
15511
|
+
contractVersion: string;
|
|
15512
|
+
sessionId: string;
|
|
15513
|
+
appId: string;
|
|
15514
|
+
projectId: string | null;
|
|
15515
|
+
gridId: string | null;
|
|
15516
|
+
mode: CrowdyStudioAgentMode;
|
|
15517
|
+
requestedModel: string;
|
|
15518
|
+
model: string | null;
|
|
15519
|
+
resolvedModel: string | null;
|
|
15520
|
+
status: CrowdyStudioAgentSessionStatus;
|
|
15521
|
+
providerDataConsent: boolean;
|
|
15522
|
+
registryDigest: string;
|
|
15523
|
+
providerPolicyVersion: string;
|
|
15524
|
+
appPolicyVersion: string;
|
|
15525
|
+
contextVersion: string;
|
|
15526
|
+
currentClientEpoch: string;
|
|
15527
|
+
clientEpoch: string | null;
|
|
15528
|
+
lastEventSeq: string;
|
|
15529
|
+
createdAt: string;
|
|
15530
|
+
updatedAt: string;
|
|
15531
|
+
closedAt: string | null;
|
|
15532
|
+
currentRun: {
|
|
15533
|
+
__typename?: 'AgentRun';
|
|
15534
|
+
runId: string;
|
|
15535
|
+
status: CrowdyStudioAgentRunStatus;
|
|
15536
|
+
providerRounds: number;
|
|
15537
|
+
toolCalls: number;
|
|
15538
|
+
errorCode: string | null;
|
|
15539
|
+
terminalReason: string | null;
|
|
15540
|
+
reason: string | null;
|
|
15541
|
+
startedAt: string | null;
|
|
15542
|
+
finishedAt: string | null;
|
|
15543
|
+
createdAt: string;
|
|
15544
|
+
cancelled: boolean;
|
|
15545
|
+
} | null;
|
|
15546
|
+
activeLeases: Array<{
|
|
15547
|
+
__typename?: 'AgentLease';
|
|
15548
|
+
leaseId: string;
|
|
15549
|
+
kind: CrowdyStudioAgentLeaseType;
|
|
15550
|
+
status: CrowdyStudioAgentLeaseStatus;
|
|
15551
|
+
clientEpoch: string;
|
|
15552
|
+
scopes: Array<string>;
|
|
15553
|
+
holder: string;
|
|
15554
|
+
contextVersion: string;
|
|
15555
|
+
controlledEntityId: string | null;
|
|
15556
|
+
hostCapabilityRevision: string | null;
|
|
15557
|
+
expectedProjectRevision: string | null;
|
|
15558
|
+
grantedAt: string;
|
|
15559
|
+
expiresAt: string;
|
|
15560
|
+
revokedReason: string | null;
|
|
15561
|
+
}>;
|
|
15562
|
+
pendingApproval: {
|
|
15563
|
+
__typename?: 'AgentApproval';
|
|
15564
|
+
approvalId: string;
|
|
15565
|
+
toolCallId: string;
|
|
15566
|
+
argumentHash: string;
|
|
15567
|
+
status: CrowdyStudioAgentApprovalStatus;
|
|
15568
|
+
safeSummary: string;
|
|
15569
|
+
clientEpoch: string;
|
|
15570
|
+
expiresAt: string;
|
|
15571
|
+
approved: boolean;
|
|
15572
|
+
rejected: boolean;
|
|
15573
|
+
} | null;
|
|
15574
|
+
};
|
|
15575
|
+
};
|
|
15576
|
+
export type CrowdyStudioAgentEventsSubscriptionVariables = Exact<{
|
|
15577
|
+
sessionId: Scalars['String']['input'];
|
|
15578
|
+
afterSeq: Scalars['BigInt']['input'];
|
|
15579
|
+
clientEpoch: Scalars['BigInt']['input'];
|
|
15580
|
+
}>;
|
|
15581
|
+
export type CrowdyStudioAgentEventsSubscription = {
|
|
15582
|
+
__typename?: 'Subscription';
|
|
15583
|
+
crowdyStudioAgentEvents: {
|
|
15584
|
+
__typename: 'AgentApprovalEvent';
|
|
15585
|
+
protocolVersion: string;
|
|
15586
|
+
eventId: string;
|
|
15587
|
+
sessionId: string;
|
|
15588
|
+
seq: string;
|
|
15589
|
+
type: CrowdyStudioAgentEventType;
|
|
15590
|
+
runId: string | null;
|
|
15591
|
+
version: string;
|
|
15592
|
+
createdAt: string;
|
|
15593
|
+
approvalEventId: string;
|
|
15594
|
+
approvalToolCallId: string;
|
|
15595
|
+
approvalArgumentHash: string;
|
|
15596
|
+
approvalStatus: CrowdyStudioAgentApprovalStatus;
|
|
15597
|
+
approvalSafeSummary: string;
|
|
15598
|
+
approvalReasons: Array<string>;
|
|
15599
|
+
approvalExpiresAt: string;
|
|
15600
|
+
} | {
|
|
15601
|
+
__typename: 'AgentBudgetEvent';
|
|
15602
|
+
protocolVersion: string;
|
|
15603
|
+
eventId: string;
|
|
15604
|
+
sessionId: string;
|
|
15605
|
+
seq: string;
|
|
15606
|
+
type: CrowdyStudioAgentEventType;
|
|
15607
|
+
runId: string | null;
|
|
15608
|
+
version: string;
|
|
15609
|
+
createdAt: string;
|
|
15610
|
+
budgetSnapshot: {
|
|
15611
|
+
__typename?: 'AgentBudget';
|
|
15612
|
+
resetAt: string | null;
|
|
15613
|
+
platformFunded: boolean;
|
|
15614
|
+
payer: string;
|
|
15615
|
+
dimensions: Array<{
|
|
15616
|
+
__typename?: 'AgentBudgetDimension';
|
|
15617
|
+
name: string;
|
|
15618
|
+
scope: string;
|
|
15619
|
+
limit: string;
|
|
15620
|
+
reserved: string;
|
|
15621
|
+
consumed: string;
|
|
15622
|
+
remaining: string;
|
|
15623
|
+
unit: string;
|
|
15624
|
+
}>;
|
|
15625
|
+
};
|
|
15626
|
+
} | {
|
|
15627
|
+
__typename: 'AgentCheckpointEvent';
|
|
15628
|
+
protocolVersion: string;
|
|
15629
|
+
eventId: string;
|
|
15630
|
+
sessionId: string;
|
|
15631
|
+
seq: string;
|
|
15632
|
+
type: CrowdyStudioAgentEventType;
|
|
15633
|
+
runId: string | null;
|
|
15634
|
+
version: string;
|
|
15635
|
+
createdAt: string;
|
|
15636
|
+
checkpointEventId: string;
|
|
15637
|
+
checkpointProjectRevision: string;
|
|
15638
|
+
checkpointContentHash: string;
|
|
15639
|
+
checkpointReason: string;
|
|
15640
|
+
checkpointRestoredAt: string | null;
|
|
15641
|
+
checkpointFiles: Array<{
|
|
15642
|
+
__typename?: 'AgentCheckpointFile';
|
|
15643
|
+
target: string;
|
|
15644
|
+
path: string;
|
|
15645
|
+
contentHash: string;
|
|
15646
|
+
byteLength: number;
|
|
15647
|
+
}>;
|
|
15648
|
+
} | {
|
|
15649
|
+
__typename: 'AgentLeaseEvent';
|
|
15650
|
+
protocolVersion: string;
|
|
15651
|
+
eventId: string;
|
|
15652
|
+
sessionId: string;
|
|
15653
|
+
seq: string;
|
|
15654
|
+
type: CrowdyStudioAgentEventType;
|
|
15655
|
+
runId: string | null;
|
|
15656
|
+
version: string;
|
|
15657
|
+
createdAt: string;
|
|
15658
|
+
leaseEventId: string;
|
|
15659
|
+
leaseKind: CrowdyStudioAgentLeaseType;
|
|
15660
|
+
leaseStatus: CrowdyStudioAgentLeaseStatus;
|
|
15661
|
+
leaseClientEpoch: string;
|
|
15662
|
+
leaseScopes: Array<string>;
|
|
15663
|
+
leaseHolder: string;
|
|
15664
|
+
leaseContextVersion: string;
|
|
15665
|
+
leaseControlledEntityId: string | null;
|
|
15666
|
+
leaseHostCapabilityRevision: string | null;
|
|
15667
|
+
leaseExpectedProjectRevision: string | null;
|
|
15668
|
+
leaseGrantedAt: string;
|
|
15669
|
+
leaseExpiresAt: string;
|
|
15670
|
+
leaseReason: string | null;
|
|
15671
|
+
} | {
|
|
15672
|
+
__typename: 'AgentLifecycleEvent';
|
|
15673
|
+
protocolVersion: string;
|
|
15674
|
+
eventId: string;
|
|
15675
|
+
sessionId: string;
|
|
15676
|
+
seq: string;
|
|
15677
|
+
type: CrowdyStudioAgentEventType;
|
|
15678
|
+
runId: string | null;
|
|
15679
|
+
version: string;
|
|
15680
|
+
createdAt: string;
|
|
15681
|
+
lifecycleMode: CrowdyStudioAgentMode | null;
|
|
15682
|
+
lifecycleClientEpoch: string | null;
|
|
15683
|
+
lifecycleReplayAfterSeq: string | null;
|
|
15684
|
+
lifecycleReason: string | null;
|
|
15685
|
+
lifecycleContextVersion: string | null;
|
|
15686
|
+
} | {
|
|
15687
|
+
__typename: 'AgentMessageEvent';
|
|
15688
|
+
protocolVersion: string;
|
|
15689
|
+
eventId: string;
|
|
15690
|
+
sessionId: string;
|
|
15691
|
+
seq: string;
|
|
15692
|
+
type: CrowdyStudioAgentEventType;
|
|
15693
|
+
runId: string | null;
|
|
15694
|
+
version: string;
|
|
15695
|
+
createdAt: string;
|
|
15696
|
+
messageEventId: string;
|
|
15697
|
+
messageRole: string;
|
|
15698
|
+
messageContent: string;
|
|
15699
|
+
} | {
|
|
15700
|
+
__typename: 'AgentRunEvent';
|
|
15701
|
+
protocolVersion: string;
|
|
15702
|
+
eventId: string;
|
|
15703
|
+
sessionId: string;
|
|
15704
|
+
seq: string;
|
|
15705
|
+
type: CrowdyStudioAgentEventType;
|
|
15706
|
+
runId: string | null;
|
|
15707
|
+
version: string;
|
|
15708
|
+
createdAt: string;
|
|
15709
|
+
runStatus: CrowdyStudioAgentRunStatus;
|
|
15710
|
+
runCode: string | null;
|
|
15711
|
+
runReason: string | null;
|
|
15712
|
+
runError: {
|
|
15713
|
+
__typename?: 'AgentError';
|
|
15714
|
+
code: string;
|
|
15715
|
+
message: string;
|
|
15716
|
+
retryable: boolean;
|
|
15717
|
+
remediation: string | null;
|
|
15718
|
+
field: string | null;
|
|
15719
|
+
requiredScope: string | null;
|
|
15720
|
+
} | null;
|
|
15721
|
+
} | {
|
|
15722
|
+
__typename: 'AgentToolEvent';
|
|
15723
|
+
protocolVersion: string;
|
|
15724
|
+
eventId: string;
|
|
15725
|
+
sessionId: string;
|
|
15726
|
+
seq: string;
|
|
15727
|
+
type: CrowdyStudioAgentEventType;
|
|
15728
|
+
runId: string | null;
|
|
15729
|
+
version: string;
|
|
15730
|
+
createdAt: string;
|
|
15731
|
+
toolEventCallId: string;
|
|
15732
|
+
toolEventName: string;
|
|
15733
|
+
toolEventVersion: string;
|
|
15734
|
+
toolStatus: CrowdyStudioAgentToolCallStatus;
|
|
15735
|
+
toolSafeSummary: string | null;
|
|
15736
|
+
toolDescriptorDigest: string | null;
|
|
15737
|
+
toolArgumentHash: string | null;
|
|
15738
|
+
toolExecutor: CrowdyStudioAgentToolExecutor | null;
|
|
15739
|
+
toolContextVersion: string | null;
|
|
15740
|
+
toolClientEpoch: string | null;
|
|
15741
|
+
toolArgumentsJson: string | null;
|
|
15742
|
+
toolLeaseId: string | null;
|
|
15743
|
+
toolApprovalGrant: string | null;
|
|
15744
|
+
toolIdempotencyKey: string | null;
|
|
15745
|
+
toolResultJson: string | null;
|
|
15746
|
+
toolDeadline: string | null;
|
|
15747
|
+
toolInvocation: {
|
|
15748
|
+
__typename?: 'AgentToolInvocation';
|
|
15749
|
+
protocolVersion: string;
|
|
15750
|
+
sessionId: string;
|
|
15751
|
+
runId: string;
|
|
15752
|
+
toolCallId: string;
|
|
15753
|
+
name: string;
|
|
15754
|
+
version: string;
|
|
15755
|
+
descriptorDigest: string;
|
|
15756
|
+
argumentsJson: string;
|
|
15757
|
+
argumentHash: string;
|
|
15758
|
+
contextVersion: string;
|
|
15759
|
+
clientEpoch: string | null;
|
|
15760
|
+
leaseId: string | null;
|
|
15761
|
+
approvalGrant: string | null;
|
|
15762
|
+
idempotencyKey: string | null;
|
|
15763
|
+
deadline: string;
|
|
15764
|
+
} | null;
|
|
15765
|
+
toolResult: {
|
|
15766
|
+
__typename?: 'AgentToolResultEnvelope';
|
|
15767
|
+
protocolVersion: string;
|
|
15768
|
+
toolCallId: string;
|
|
15769
|
+
status: CrowdyStudioAgentToolResultStatus;
|
|
15770
|
+
outputJson: string | null;
|
|
15771
|
+
observedContextVersion: string;
|
|
15772
|
+
startedAt: string;
|
|
15773
|
+
finishedAt: string;
|
|
15774
|
+
error: {
|
|
15775
|
+
__typename?: 'AgentError';
|
|
15776
|
+
code: string;
|
|
15777
|
+
message: string;
|
|
15778
|
+
retryable: boolean;
|
|
15779
|
+
remediation: string | null;
|
|
15780
|
+
field: string | null;
|
|
15781
|
+
requiredScope: string | null;
|
|
15782
|
+
} | null;
|
|
15783
|
+
} | null;
|
|
15784
|
+
toolError: {
|
|
15785
|
+
__typename?: 'AgentError';
|
|
15786
|
+
code: string;
|
|
15787
|
+
message: string;
|
|
15788
|
+
retryable: boolean;
|
|
15789
|
+
remediation: string | null;
|
|
15790
|
+
field: string | null;
|
|
15791
|
+
requiredScope: string | null;
|
|
15792
|
+
} | null;
|
|
15793
|
+
};
|
|
15794
|
+
};
|
|
12074
15795
|
export type CreateEnvironmentMutationVariables = Exact<{
|
|
12075
15796
|
input: CreateEnvironmentInput;
|
|
12076
15797
|
}>;
|
|
@@ -17852,6 +21573,15 @@ export declare const ComputeTriggerFieldsFragmentDoc: DocumentNode<ComputeTrigge
|
|
|
17852
21573
|
export declare const ComputePolicyFieldsFragmentDoc: DocumentNode<ComputePolicyFieldsFragment, unknown>;
|
|
17853
21574
|
export declare const ComputeRunFieldsFragmentDoc: DocumentNode<ComputeRunFieldsFragment, unknown>;
|
|
17854
21575
|
export declare const CrowdyStudioProjectFieldsFragmentDoc: DocumentNode<CrowdyStudioProjectFieldsFragment, unknown>;
|
|
21576
|
+
export declare const CrowdyAgentRunFieldsFragmentDoc: DocumentNode<CrowdyAgentRunFieldsFragment, unknown>;
|
|
21577
|
+
export declare const CrowdyAgentLeaseFieldsFragmentDoc: DocumentNode<CrowdyAgentLeaseFieldsFragment, unknown>;
|
|
21578
|
+
export declare const CrowdyAgentApprovalFieldsFragmentDoc: DocumentNode<CrowdyAgentApprovalFieldsFragment, unknown>;
|
|
21579
|
+
export declare const CrowdyAgentSessionFieldsFragmentDoc: DocumentNode<CrowdyAgentSessionFieldsFragment, unknown>;
|
|
21580
|
+
export declare const CrowdyAgentToolDescriptorFieldsFragmentDoc: DocumentNode<CrowdyAgentToolDescriptorFieldsFragment, unknown>;
|
|
21581
|
+
export declare const CrowdyAgentEventBaseFieldsFragmentDoc: DocumentNode<CrowdyAgentEventBaseFieldsFragment, unknown>;
|
|
21582
|
+
export declare const CrowdyAgentErrorFieldsFragmentDoc: DocumentNode<CrowdyAgentErrorFieldsFragment, unknown>;
|
|
21583
|
+
export declare const CrowdyAgentBudgetFieldsFragmentDoc: DocumentNode<CrowdyAgentBudgetFieldsFragment, unknown>;
|
|
21584
|
+
export declare const CrowdyAgentEventFieldsFragmentDoc: DocumentNode<CrowdyAgentEventFieldsFragment, unknown>;
|
|
17855
21585
|
export declare const GridOwnershipFieldsFragmentDoc: DocumentNode<GridOwnershipFieldsFragment, unknown>;
|
|
17856
21586
|
export declare const GmAutomationFieldsFragmentDoc: DocumentNode<GmAutomationFieldsFragment, unknown>;
|
|
17857
21587
|
export declare const GmAutomationTriggerFieldsFragmentDoc: DocumentNode<GmAutomationTriggerFieldsFragment, unknown>;
|
|
@@ -18007,6 +21737,27 @@ export declare const CrowdyStudioLibraryFilesDocument: DocumentNode<CrowdyStudio
|
|
|
18007
21737
|
export declare const CrowdyStudioLibrarySaveDocument: DocumentNode<CrowdyStudioLibrarySaveMutation, CrowdyStudioLibrarySaveMutationVariables>;
|
|
18008
21738
|
export declare const CrowdyStudioCommonFilesDocument: DocumentNode<CrowdyStudioCommonFilesQuery, CrowdyStudioCommonFilesQueryVariables>;
|
|
18009
21739
|
export declare const CrowdyStudioProjectImportFileDocument: DocumentNode<CrowdyStudioProjectImportFileMutation, CrowdyStudioProjectImportFileMutationVariables>;
|
|
21740
|
+
export declare const CrowdyStudioAgentSessionDocument: DocumentNode<CrowdyStudioAgentSessionQuery, CrowdyStudioAgentSessionQueryVariables>;
|
|
21741
|
+
export declare const CrowdyStudioAgentSessionsDocument: DocumentNode<CrowdyStudioAgentSessionsQuery, CrowdyStudioAgentSessionsQueryVariables>;
|
|
21742
|
+
export declare const CrowdyStudioAgentHistoryDocument: DocumentNode<CrowdyStudioAgentHistoryQuery, CrowdyStudioAgentHistoryQueryVariables>;
|
|
21743
|
+
export declare const CrowdyStudioAgentToolDescriptorsDocument: DocumentNode<CrowdyStudioAgentToolDescriptorsQuery, CrowdyStudioAgentToolDescriptorsQueryVariables>;
|
|
21744
|
+
export declare const CrowdyStudioAgentBudgetDocument: DocumentNode<CrowdyStudioAgentBudgetQuery, CrowdyStudioAgentBudgetQueryVariables>;
|
|
21745
|
+
export declare const CrowdyStudioAgentCreateSessionDocument: DocumentNode<CrowdyStudioAgentCreateSessionMutation, CrowdyStudioAgentCreateSessionMutationVariables>;
|
|
21746
|
+
export declare const CrowdyStudioAgentAttachClientDocument: DocumentNode<CrowdyStudioAgentAttachClientMutation, CrowdyStudioAgentAttachClientMutationVariables>;
|
|
21747
|
+
export declare const CrowdyStudioAgentSetModeDocument: DocumentNode<CrowdyStudioAgentSetModeMutation, CrowdyStudioAgentSetModeMutationVariables>;
|
|
21748
|
+
export declare const CrowdyStudioAgentAcknowledgeEventsDocument: DocumentNode<CrowdyStudioAgentAcknowledgeEventsMutation, CrowdyStudioAgentAcknowledgeEventsMutationVariables>;
|
|
21749
|
+
export declare const CrowdyStudioAgentHeartbeatDocument: DocumentNode<CrowdyStudioAgentHeartbeatMutation, CrowdyStudioAgentHeartbeatMutationVariables>;
|
|
21750
|
+
export declare const CrowdyStudioAgentSendMessageDocument: DocumentNode<CrowdyStudioAgentSendMessageMutation, CrowdyStudioAgentSendMessageMutationVariables>;
|
|
21751
|
+
export declare const CrowdyStudioAgentApproveToolDocument: DocumentNode<CrowdyStudioAgentApproveToolMutation, CrowdyStudioAgentApproveToolMutationVariables>;
|
|
21752
|
+
export declare const CrowdyStudioAgentRejectToolDocument: DocumentNode<CrowdyStudioAgentRejectToolMutation, CrowdyStudioAgentRejectToolMutationVariables>;
|
|
21753
|
+
export declare const CrowdyStudioAgentToolResultDocument: DocumentNode<CrowdyStudioAgentToolResultMutation, CrowdyStudioAgentToolResultMutationVariables>;
|
|
21754
|
+
export declare const CrowdyStudioAgentGrantLeaseDocument: DocumentNode<CrowdyStudioAgentGrantLeaseMutation, CrowdyStudioAgentGrantLeaseMutationVariables>;
|
|
21755
|
+
export declare const CrowdyStudioAgentRevokeLeaseDocument: DocumentNode<CrowdyStudioAgentRevokeLeaseMutation, CrowdyStudioAgentRevokeLeaseMutationVariables>;
|
|
21756
|
+
export declare const CrowdyStudioAgentPauseDocument: DocumentNode<CrowdyStudioAgentPauseMutation, CrowdyStudioAgentPauseMutationVariables>;
|
|
21757
|
+
export declare const CrowdyStudioAgentResumeDocument: DocumentNode<CrowdyStudioAgentResumeMutation, CrowdyStudioAgentResumeMutationVariables>;
|
|
21758
|
+
export declare const CrowdyStudioAgentCancelRunDocument: DocumentNode<CrowdyStudioAgentCancelRunMutation, CrowdyStudioAgentCancelRunMutationVariables>;
|
|
21759
|
+
export declare const CrowdyStudioAgentCloseSessionDocument: DocumentNode<CrowdyStudioAgentCloseSessionMutation, CrowdyStudioAgentCloseSessionMutationVariables>;
|
|
21760
|
+
export declare const CrowdyStudioAgentEventsDocument: DocumentNode<CrowdyStudioAgentEventsSubscription, CrowdyStudioAgentEventsSubscriptionVariables>;
|
|
18010
21761
|
export declare const CreateEnvironmentDocument: DocumentNode<CreateEnvironmentMutation, CreateEnvironmentMutationVariables>;
|
|
18011
21762
|
export declare const DestroyEnvironmentDocument: DocumentNode<DestroyEnvironmentMutation, DestroyEnvironmentMutationVariables>;
|
|
18012
21763
|
export declare const EnvironmentDatacentersDocument: DocumentNode<EnvironmentDatacentersQuery, EnvironmentDatacentersQueryVariables>;
|
|
@@ -18284,4 +22035,5 @@ export declare const RollbackVoxelUpdatesDocument: DocumentNode<RollbackVoxelUpd
|
|
|
18284
22035
|
export declare const UpdateVoxelDocument: DocumentNode<UpdateVoxelMutation, UpdateVoxelMutationVariables>;
|
|
18285
22036
|
export declare const VoxelUpdateHistoryDocument: DocumentNode<VoxelUpdateHistoryQuery, VoxelUpdateHistoryQueryVariables>;
|
|
18286
22037
|
export declare const VoxelUpdateHistoryConnectionDocument: DocumentNode<VoxelUpdateHistoryConnectionQuery, VoxelUpdateHistoryConnectionQueryVariables>;
|
|
22038
|
+
export {};
|
|
18287
22039
|
//# sourceMappingURL=graphql.d.ts.map
|