@opengeni/contracts 0.18.0 → 0.19.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/dist/index.d.ts +766 -58
- package/dist/index.js +1037 -14
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/codex-fleet-policy.ts +1405 -0
- package/src/index.ts +166 -6
package/dist/index.d.ts
CHANGED
|
@@ -283,6 +283,217 @@ declare function sessionEventPayloadTruncation(payload: unknown): SessionEventPa
|
|
|
283
283
|
*/
|
|
284
284
|
declare function boundSessionEventPayload<T>(payload: T, options?: BoundSessionEventPayloadOptions): T;
|
|
285
285
|
|
|
286
|
+
/**
|
|
287
|
+
* Adaptive Codex fleet policy, replay contract, and shadow evaluator.
|
|
288
|
+
*
|
|
289
|
+
* This module is deliberately pure and browser-safe. It accepts only bounded,
|
|
290
|
+
* metadata-only snapshots whose candidate keys are opaque aliases assigned by
|
|
291
|
+
* the caller. It never accepts credential ids, account emails, labels, token
|
|
292
|
+
* material, prompts, or tenant activity. The same normalized snapshot can be
|
|
293
|
+
* persisted in a session event, replayed offline, and compared byte-for-byte.
|
|
294
|
+
*
|
|
295
|
+
* V1 is shadow-only at the runtime integration boundary. The evaluator models
|
|
296
|
+
* later placement, admission, manager priority, borrowing, emergency-fuse, and
|
|
297
|
+
* named-overlay semantics so they can be proven with deterministic simulations
|
|
298
|
+
* before any independent kill switch is allowed to affect a live allocation.
|
|
299
|
+
*/
|
|
300
|
+
declare const CODEX_FLEET_POLICY_SCHEMA_VERSION: 1;
|
|
301
|
+
declare const CODEX_FLEET_POLICY_VERSION: "adaptive-shadow-v1";
|
|
302
|
+
declare const CODEX_FLEET_POLICY_MAX_CANDIDATES = 32;
|
|
303
|
+
declare const CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE = 4;
|
|
304
|
+
/**
|
|
305
|
+
* Replay-integrity ordering for bounded ASCII-safe fleet keys and aliases.
|
|
306
|
+
*
|
|
307
|
+
* Locale-aware collation is intentionally forbidden here because its result
|
|
308
|
+
* can depend on locale and ICU data. Relational string comparison uses
|
|
309
|
+
* ECMAScript UTF-16 code-unit ordering and is therefore identical in Bun,
|
|
310
|
+
* Node, and browsers.
|
|
311
|
+
*/
|
|
312
|
+
declare function compareCodexFleetCanonicalStringsV1(left: string, right: string): number;
|
|
313
|
+
type CodexFleetConfidence = "unknown" | "low" | "medium" | "high";
|
|
314
|
+
type CodexFleetCandidateStatus = "active" | "needs_relogin" | "error" | "unknown";
|
|
315
|
+
type CodexFleetCacheState = "unknown" | "healthy" | "collapsed";
|
|
316
|
+
type CodexFleetPriority = "standard" | "manager";
|
|
317
|
+
type CodexFleetPlacementKind = "new" | "fenced_in_flight";
|
|
318
|
+
type CodexFleetOverlayMode = "none" | "prefer" | "isolate";
|
|
319
|
+
type CodexFleetQuotaWindowV1 = {
|
|
320
|
+
/** Provider-reported percentage from a workspace-local cache, never inferred tenant truth. */
|
|
321
|
+
usedPercent: number | null;
|
|
322
|
+
/** Relative to input.observedAtMs. Zero means the reported window has reset. */
|
|
323
|
+
resetRemainingMs: number | null;
|
|
324
|
+
};
|
|
325
|
+
type CodexFleetCandidateV1 = {
|
|
326
|
+
/** Opaque, event-local alias such as c00. Never a credential/account id. */
|
|
327
|
+
key: string;
|
|
328
|
+
status: CodexFleetCandidateStatus;
|
|
329
|
+
allocatorEnabled: boolean;
|
|
330
|
+
/** Relative cooldown. A positive value excludes only NEW placements. */
|
|
331
|
+
cooldownRemainingMs: number | null;
|
|
332
|
+
activeLeaseCount: number;
|
|
333
|
+
quota: {
|
|
334
|
+
primary: CodexFleetQuotaWindowV1;
|
|
335
|
+
secondary: CodexFleetQuotaWindowV1;
|
|
336
|
+
checkedAgeMs: number | null;
|
|
337
|
+
confidence: CodexFleetConfidence;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Runtime-observed cache evidence. It may be absent because the production
|
|
341
|
+
* baseline currently exists as aggregate metrics/logs rather than allocator
|
|
342
|
+
* state. Absence is explicit uncertainty, not a zero cache hit.
|
|
343
|
+
*/
|
|
344
|
+
cache: {
|
|
345
|
+
hitRatio: number | null;
|
|
346
|
+
sampledTokens: number | null;
|
|
347
|
+
checkedAgeMs: number | null;
|
|
348
|
+
confidence: CodexFleetConfidence;
|
|
349
|
+
/** Previously latched state; the evaluator applies dwell and recovery thresholds. */
|
|
350
|
+
state: CodexFleetCacheState;
|
|
351
|
+
/** Duration of the current continuous below/above-threshold observation. */
|
|
352
|
+
thresholdObservedForMs: number | null;
|
|
353
|
+
};
|
|
354
|
+
/** Workspace-local observed burn, separate from unexplained/external inference. */
|
|
355
|
+
observedBurn: {
|
|
356
|
+
primaryPercentPerHour: number | null;
|
|
357
|
+
secondaryPercentPerHour: number | null;
|
|
358
|
+
confidence: CodexFleetConfidence;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Unexplained/external burn is an inference only. The name and confidence are
|
|
362
|
+
* load-bearing: consumers must never relabel it as provider or tenant truth.
|
|
363
|
+
*/
|
|
364
|
+
inferredUnexplainedBurn: {
|
|
365
|
+
primaryPercentPerHour: number | null;
|
|
366
|
+
secondaryPercentPerHour: number | null;
|
|
367
|
+
confidence: CodexFleetConfidence;
|
|
368
|
+
};
|
|
369
|
+
/** Opaque named-policy keys. Ignored unless overlaysEnabled is independently true. */
|
|
370
|
+
overlayKeys: string[];
|
|
371
|
+
};
|
|
372
|
+
type CodexFleetAdmissionSnapshotV1 = {
|
|
373
|
+
/** Dynamically observed capacity, not a static per-account slot allocation. */
|
|
374
|
+
dynamicCapacityUnits: number | null;
|
|
375
|
+
inUseUnits: number;
|
|
376
|
+
queuedManagerCount: number;
|
|
377
|
+
emergencyFuseActive: boolean;
|
|
378
|
+
};
|
|
379
|
+
type CodexFleetDecisionInputV1 = {
|
|
380
|
+
observedAtMs: number;
|
|
381
|
+
request: {
|
|
382
|
+
placement: CodexFleetPlacementKind;
|
|
383
|
+
priority: CodexFleetPriority;
|
|
384
|
+
currentCandidateKey: string | null;
|
|
385
|
+
waitAgeMs: number;
|
|
386
|
+
overlayKey: string | null;
|
|
387
|
+
overlayMode: CodexFleetOverlayMode;
|
|
388
|
+
};
|
|
389
|
+
admission: CodexFleetAdmissionSnapshotV1;
|
|
390
|
+
candidates: CodexFleetCandidateV1[];
|
|
391
|
+
};
|
|
392
|
+
type CodexFleetPolicyConfigV1 = {
|
|
393
|
+
maxCandidates: number;
|
|
394
|
+
quotaFreshForMs: number;
|
|
395
|
+
quotaStaleAfterMs: number;
|
|
396
|
+
placementUsageCeilingPercent: number;
|
|
397
|
+
cacheFreshForMs: number;
|
|
398
|
+
cacheCollapseThreshold: number;
|
|
399
|
+
cacheCollapseRecoveryThreshold: number;
|
|
400
|
+
cacheMinimumSampledTokens: number;
|
|
401
|
+
cacheCollapseDwellMs: number;
|
|
402
|
+
cacheRecoveryDwellMs: number;
|
|
403
|
+
activeLeaseScore: number;
|
|
404
|
+
unknownQuotaScore: number;
|
|
405
|
+
lowQuotaConfidenceScore: number;
|
|
406
|
+
mediumQuotaConfidenceScore: number;
|
|
407
|
+
inferredBurnScorePerPercentHour: number;
|
|
408
|
+
observedBurnScorePerPercentHour: number;
|
|
409
|
+
/** Maximum exhaustion-before-reset gap that contributes placement pressure. */
|
|
410
|
+
runwayRiskCapHours: number;
|
|
411
|
+
runwayScorePerAtRiskHour: number;
|
|
412
|
+
healthyCacheAffinityBenefit: number;
|
|
413
|
+
unknownCacheAffinityBenefit: number;
|
|
414
|
+
collapsedCacheAffinityBenefit: number;
|
|
415
|
+
switchHysteresisScore: number;
|
|
416
|
+
admissionPacingEnabled: boolean;
|
|
417
|
+
managerPriorityEnabled: boolean;
|
|
418
|
+
managerStandardStarvationMs: number;
|
|
419
|
+
emergencyFuseEnabled: boolean;
|
|
420
|
+
overlaysEnabled: boolean;
|
|
421
|
+
overlayPreferenceScore: number;
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* Experimental shadow defaults. None of the boolean control fields is enabled;
|
|
425
|
+
* production behavior therefore remains sticky-sharded until operators enable
|
|
426
|
+
* each independently after shadow acceptance.
|
|
427
|
+
*/
|
|
428
|
+
declare const DEFAULT_CODEX_FLEET_POLICY_V1: CodexFleetPolicyConfigV1;
|
|
429
|
+
type CodexFleetScoreV1 = {
|
|
430
|
+
candidateKey: string;
|
|
431
|
+
eligible: boolean;
|
|
432
|
+
rejectionReason: "allocator_disabled" | "unavailable" | "cooling" | "quota_ceiling" | "overlay_isolation" | null;
|
|
433
|
+
quotaPressure: number;
|
|
434
|
+
leasePressure: number;
|
|
435
|
+
observedBurnPressure: number;
|
|
436
|
+
inferredBurnPressure: number;
|
|
437
|
+
runwayPressure: number;
|
|
438
|
+
uncertaintyPressure: number;
|
|
439
|
+
cacheAffinityBenefit: number;
|
|
440
|
+
cacheState: CodexFleetCacheState;
|
|
441
|
+
overlayPreferenceBenefit: number;
|
|
442
|
+
total: number;
|
|
443
|
+
confidence: CodexFleetConfidence;
|
|
444
|
+
};
|
|
445
|
+
type CodexFleetAdmissionDecisionV1 = {
|
|
446
|
+
outcome: "admit" | "pace";
|
|
447
|
+
reason: "fenced_in_flight" | "pacing_disabled" | "capacity_unknown" | "capacity_available" | "work_conserving_borrow" | "manager_priority" | "standard_starvation_bound" | "capacity_saturated" | "emergency_fuse";
|
|
448
|
+
/** True only when standard work uses otherwise-idle capacity with no manager backlog. */
|
|
449
|
+
borrowedIdleCapacity: boolean;
|
|
450
|
+
};
|
|
451
|
+
type CodexFleetDecisionV1 = {
|
|
452
|
+
outcome: "selected" | "paced" | "none";
|
|
453
|
+
selectedCandidateKey: string | null;
|
|
454
|
+
reason: "fenced_in_flight" | "fenced_candidate_missing" | "admission_paced" | "no_eligible_candidate" | "overlay_isolated_empty" | "best_score" | "affinity_best" | "hysteresis_hold";
|
|
455
|
+
admission: CodexFleetAdmissionDecisionV1;
|
|
456
|
+
borrowedOverlayCapacity: boolean;
|
|
457
|
+
strandedEligibleCount: number;
|
|
458
|
+
confidence: CodexFleetConfidence;
|
|
459
|
+
scores: CodexFleetScoreV1[];
|
|
460
|
+
};
|
|
461
|
+
type CodexFleetReplayRecordV1 = {
|
|
462
|
+
schemaVersion: typeof CODEX_FLEET_POLICY_SCHEMA_VERSION;
|
|
463
|
+
policyVersion: typeof CODEX_FLEET_POLICY_VERSION;
|
|
464
|
+
mode: "shadow";
|
|
465
|
+
policy: CodexFleetPolicyConfigV1;
|
|
466
|
+
input: CodexFleetDecisionInputV1;
|
|
467
|
+
truncatedCandidateCount: number;
|
|
468
|
+
policyFingerprint: string;
|
|
469
|
+
inputFingerprint: string;
|
|
470
|
+
decision: CodexFleetDecisionV1;
|
|
471
|
+
decisionFingerprint: string;
|
|
472
|
+
};
|
|
473
|
+
type CodexFleetReplayVerdictV1 = {
|
|
474
|
+
matches: boolean;
|
|
475
|
+
policyFingerprintMatches: boolean;
|
|
476
|
+
inputFingerprintMatches: boolean;
|
|
477
|
+
decisionFingerprintMatches: boolean;
|
|
478
|
+
recordedDecisionFingerprintMatches: boolean;
|
|
479
|
+
decision: CodexFleetDecisionV1;
|
|
480
|
+
};
|
|
481
|
+
declare function createCodexFleetReplayRecordV1(input: CodexFleetDecisionInputV1, policy?: CodexFleetPolicyConfigV1): CodexFleetReplayRecordV1;
|
|
482
|
+
declare function replayCodexFleetDecisionV1(value: unknown): CodexFleetReplayVerdictV1;
|
|
483
|
+
/**
|
|
484
|
+
* Canonical replay bytes for already-bounded, identity-free fleet values.
|
|
485
|
+
* This is exported so offline tools can prove the exact bytes across runtimes;
|
|
486
|
+
* it performs no redaction and must not be used with raw account metadata.
|
|
487
|
+
*/
|
|
488
|
+
declare function canonicalCodexFleetReplayJsonV1(value: CodexFleetReplayRecordV1): string;
|
|
489
|
+
/**
|
|
490
|
+
* Strict reader for durable/offline replay. Unknown fields, lossy normalization,
|
|
491
|
+
* malformed decisions, and non-SHA-256 digests are rejected before comparison.
|
|
492
|
+
*/
|
|
493
|
+
declare function readCodexFleetReplayRecordV1(value: unknown): CodexFleetReplayRecordV1;
|
|
494
|
+
declare function evaluateCodexFleetDecisionV1(input: CodexFleetDecisionInputV1, policy?: CodexFleetPolicyConfigV1): CodexFleetDecisionV1;
|
|
495
|
+
declare function effectiveCodexFleetCacheStateV1(cache: CodexFleetCandidateV1["cache"], policy: CodexFleetPolicyConfigV1): CodexFleetCacheState;
|
|
496
|
+
|
|
286
497
|
declare const SessionStatus: z.ZodEnum<{
|
|
287
498
|
queued: "queued";
|
|
288
499
|
running: "running";
|
|
@@ -393,6 +604,8 @@ declare const ErrorCode: z.ZodEnum<{
|
|
|
393
604
|
conflict: "conflict";
|
|
394
605
|
idempotency_conflict: "idempotency_conflict";
|
|
395
606
|
limit_exceeded: "limit_exceeded";
|
|
607
|
+
nested_agent_depth_exceeded: "nested_agent_depth_exceeded";
|
|
608
|
+
nested_agent_depth_override_forbidden: "nested_agent_depth_override_forbidden";
|
|
396
609
|
provider_verification_failed: "provider_verification_failed";
|
|
397
610
|
upstream_unavailable: "upstream_unavailable";
|
|
398
611
|
internal_error: "internal_error";
|
|
@@ -408,6 +621,8 @@ declare const ErrorEnvelope: z.ZodObject<{
|
|
|
408
621
|
conflict: "conflict";
|
|
409
622
|
idempotency_conflict: "idempotency_conflict";
|
|
410
623
|
limit_exceeded: "limit_exceeded";
|
|
624
|
+
nested_agent_depth_exceeded: "nested_agent_depth_exceeded";
|
|
625
|
+
nested_agent_depth_override_forbidden: "nested_agent_depth_override_forbidden";
|
|
411
626
|
provider_verification_failed: "provider_verification_failed";
|
|
412
627
|
upstream_unavailable: "upstream_unavailable";
|
|
413
628
|
internal_error: "internal_error";
|
|
@@ -418,6 +633,46 @@ declare const ErrorEnvelope: z.ZodObject<{
|
|
|
418
633
|
}, z.core.$strip>;
|
|
419
634
|
}, z.core.$strip>;
|
|
420
635
|
type ErrorEnvelope = z.infer<typeof ErrorEnvelope>;
|
|
636
|
+
/** Physical ceiling of the PostgreSQL integer columns that persist depth policy. */
|
|
637
|
+
declare const MAX_NESTED_AGENT_DEPTH = 2147483647;
|
|
638
|
+
declare const NestedAgentDepthValue: z.ZodNumber;
|
|
639
|
+
type NestedAgentDepthValue = z.infer<typeof NestedAgentDepthValue>;
|
|
640
|
+
/** A denied child can be one greater than the persisted PostgreSQL int ceiling. */
|
|
641
|
+
declare const NestedAgentDepthAttemptValue: z.ZodNumber;
|
|
642
|
+
declare const NestedAgentDepthPolicySource: z.ZodEnum<{
|
|
643
|
+
default: "default";
|
|
644
|
+
session: "session";
|
|
645
|
+
workspace: "workspace";
|
|
646
|
+
deployment: "deployment";
|
|
647
|
+
}>;
|
|
648
|
+
type NestedAgentDepthPolicySource = z.infer<typeof NestedAgentDepthPolicySource>;
|
|
649
|
+
/** Durable evidence for a session-create denial at the database admission boundary. */
|
|
650
|
+
declare const SessionSpawnDenial: z.ZodObject<{
|
|
651
|
+
id: z.ZodString;
|
|
652
|
+
accountId: z.ZodString;
|
|
653
|
+
workspaceId: z.ZodString;
|
|
654
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
655
|
+
rootSessionId: z.ZodNullable<z.ZodString>;
|
|
656
|
+
currentDepth: z.ZodNumber;
|
|
657
|
+
attemptedDepth: z.ZodNumber;
|
|
658
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
659
|
+
requestedMaxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
660
|
+
policySource: z.ZodEnum<{
|
|
661
|
+
default: "default";
|
|
662
|
+
session: "session";
|
|
663
|
+
workspace: "workspace";
|
|
664
|
+
deployment: "deployment";
|
|
665
|
+
}>;
|
|
666
|
+
policySessionId: z.ZodNullable<z.ZodString>;
|
|
667
|
+
subjectId: z.ZodNullable<z.ZodString>;
|
|
668
|
+
code: z.ZodEnum<{
|
|
669
|
+
nested_agent_depth_exceeded: "nested_agent_depth_exceeded";
|
|
670
|
+
nested_agent_depth_override_forbidden: "nested_agent_depth_override_forbidden";
|
|
671
|
+
}>;
|
|
672
|
+
idempotencyKey: z.ZodNullable<z.ZodString>;
|
|
673
|
+
createdAt: z.ZodString;
|
|
674
|
+
}, z.core.$strip>;
|
|
675
|
+
type SessionSpawnDenial = z.infer<typeof SessionSpawnDenial>;
|
|
421
676
|
declare const Permission: z.ZodEnum<{
|
|
422
677
|
"account:read": "account:read";
|
|
423
678
|
"account:admin": "account:admin";
|
|
@@ -832,6 +1087,7 @@ declare const WorkspaceSettingsSchema: z.ZodObject<{
|
|
|
832
1087
|
maxPerMonth: z.ZodNullable<z.ZodNumber>;
|
|
833
1088
|
}, z.core.$strict>;
|
|
834
1089
|
}, z.core.$strict>>;
|
|
1090
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
835
1091
|
}, z.core.$loose>;
|
|
836
1092
|
type WorkspaceSettings = z.infer<typeof WorkspaceSettingsSchema>;
|
|
837
1093
|
declare function resolveWorkspaceMemoryEnabled(settings: unknown): boolean;
|
|
@@ -889,6 +1145,7 @@ declare const UpdateWorkspaceSettingsRequest: z.ZodObject<{
|
|
|
889
1145
|
maxPerMonth: z.ZodNullable<z.ZodNumber>;
|
|
890
1146
|
}, z.core.$strict>;
|
|
891
1147
|
}, z.core.$strict>>;
|
|
1148
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
892
1149
|
}, z.core.$loose>;
|
|
893
1150
|
type UpdateWorkspaceSettingsRequest = z.infer<typeof UpdateWorkspaceSettingsRequest>;
|
|
894
1151
|
declare const SetWorkspaceDefaultRigRequest: z.ZodObject<{
|
|
@@ -1934,8 +2191,8 @@ declare const McpServerConnectionRef: z.ZodObject<{
|
|
|
1934
2191
|
kind: z.ZodLiteral<"repository">;
|
|
1935
2192
|
}, z.core.$strict>>>;
|
|
1936
2193
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
1937
|
-
subject: "subject";
|
|
1938
2194
|
workspace: "workspace";
|
|
2195
|
+
subject: "subject";
|
|
1939
2196
|
}>>;
|
|
1940
2197
|
}, z.core.$strict>;
|
|
1941
2198
|
type McpServerConnectionRef = z.infer<typeof McpServerConnectionRef>;
|
|
@@ -2805,8 +3062,8 @@ declare const SessionMcpServerInput: z.ZodObject<{
|
|
|
2805
3062
|
kind: z.ZodLiteral<"repository">;
|
|
2806
3063
|
}, z.core.$strict>>>;
|
|
2807
3064
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
2808
|
-
subject: "subject";
|
|
2809
3065
|
workspace: "workspace";
|
|
3066
|
+
subject: "subject";
|
|
2810
3067
|
}>>;
|
|
2811
3068
|
}, z.core.$strict>>;
|
|
2812
3069
|
}, z.core.$strip>;
|
|
@@ -2840,8 +3097,8 @@ declare const SessionMcpServerMetadata: z.ZodObject<{
|
|
|
2840
3097
|
kind: z.ZodLiteral<"repository">;
|
|
2841
3098
|
}, z.core.$strict>>>;
|
|
2842
3099
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
2843
|
-
subject: "subject";
|
|
2844
3100
|
workspace: "workspace";
|
|
3101
|
+
subject: "subject";
|
|
2845
3102
|
}>>;
|
|
2846
3103
|
}, z.core.$strict>>>;
|
|
2847
3104
|
}, z.core.$strict>;
|
|
@@ -2875,8 +3132,8 @@ declare const UpdateSessionMcpApprovalPolicyResponse: z.ZodObject<{
|
|
|
2875
3132
|
kind: z.ZodLiteral<"repository">;
|
|
2876
3133
|
}, z.core.$strict>>>;
|
|
2877
3134
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
2878
|
-
subject: "subject";
|
|
2879
3135
|
workspace: "workspace";
|
|
3136
|
+
subject: "subject";
|
|
2880
3137
|
}>>;
|
|
2881
3138
|
}, z.core.$strict>>>;
|
|
2882
3139
|
}, z.core.$strict>;
|
|
@@ -2946,6 +3203,57 @@ declare const SessionGoalPausedReason: z.ZodEnum<{
|
|
|
2946
3203
|
limits: "limits";
|
|
2947
3204
|
}>;
|
|
2948
3205
|
type SessionGoalPausedReason = z.infer<typeof SessionGoalPausedReason>;
|
|
3206
|
+
declare const SessionGoalContinuationState: z.ZodEnum<{
|
|
3207
|
+
running: "running";
|
|
3208
|
+
inactive: "inactive";
|
|
3209
|
+
scheduled: "scheduled";
|
|
3210
|
+
blocked: "blocked";
|
|
3211
|
+
invariant_broken: "invariant_broken";
|
|
3212
|
+
}>;
|
|
3213
|
+
type SessionGoalContinuationState = z.infer<typeof SessionGoalContinuationState>;
|
|
3214
|
+
declare const SessionGoalContinuationReason: z.ZodEnum<{
|
|
3215
|
+
goal_inactive: "goal_inactive";
|
|
3216
|
+
wake_pending: "wake_pending";
|
|
3217
|
+
continuation_pending: "continuation_pending";
|
|
3218
|
+
human_work_pending: "human_work_pending";
|
|
3219
|
+
goal_turn_running: "goal_turn_running";
|
|
3220
|
+
human_turn_running: "human_turn_running";
|
|
3221
|
+
workstream_paused: "workstream_paused";
|
|
3222
|
+
approval_required: "approval_required";
|
|
3223
|
+
provider_backpressure: "provider_backpressure";
|
|
3224
|
+
session_cancelled: "session_cancelled";
|
|
3225
|
+
system_work_pending: "system_work_pending";
|
|
3226
|
+
missing_obligation: "missing_obligation";
|
|
3227
|
+
}>;
|
|
3228
|
+
type SessionGoalContinuationReason = z.infer<typeof SessionGoalContinuationReason>;
|
|
3229
|
+
declare const SessionGoalContinuation: z.ZodObject<{
|
|
3230
|
+
state: z.ZodEnum<{
|
|
3231
|
+
running: "running";
|
|
3232
|
+
inactive: "inactive";
|
|
3233
|
+
scheduled: "scheduled";
|
|
3234
|
+
blocked: "blocked";
|
|
3235
|
+
invariant_broken: "invariant_broken";
|
|
3236
|
+
}>;
|
|
3237
|
+
reason: z.ZodEnum<{
|
|
3238
|
+
goal_inactive: "goal_inactive";
|
|
3239
|
+
wake_pending: "wake_pending";
|
|
3240
|
+
continuation_pending: "continuation_pending";
|
|
3241
|
+
human_work_pending: "human_work_pending";
|
|
3242
|
+
goal_turn_running: "goal_turn_running";
|
|
3243
|
+
human_turn_running: "human_turn_running";
|
|
3244
|
+
workstream_paused: "workstream_paused";
|
|
3245
|
+
approval_required: "approval_required";
|
|
3246
|
+
provider_backpressure: "provider_backpressure";
|
|
3247
|
+
session_cancelled: "session_cancelled";
|
|
3248
|
+
system_work_pending: "system_work_pending";
|
|
3249
|
+
missing_obligation: "missing_obligation";
|
|
3250
|
+
}>;
|
|
3251
|
+
wakeRevision: z.ZodNumber;
|
|
3252
|
+
observedRevision: z.ZodNumber;
|
|
3253
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
3254
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
3255
|
+
}, z.core.$strip>;
|
|
3256
|
+
type SessionGoalContinuation = z.infer<typeof SessionGoalContinuation>;
|
|
2949
3257
|
declare const SessionGoal: z.ZodObject<{
|
|
2950
3258
|
id: z.ZodString;
|
|
2951
3259
|
accountId: z.ZodString;
|
|
@@ -2971,6 +3279,33 @@ declare const SessionGoal: z.ZodObject<{
|
|
|
2971
3279
|
noProgressStreak: z.ZodNumber;
|
|
2972
3280
|
maxAutoContinuations: z.ZodNullable<z.ZodNumber>;
|
|
2973
3281
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3282
|
+
continuation: z.ZodOptional<z.ZodObject<{
|
|
3283
|
+
state: z.ZodEnum<{
|
|
3284
|
+
running: "running";
|
|
3285
|
+
inactive: "inactive";
|
|
3286
|
+
scheduled: "scheduled";
|
|
3287
|
+
blocked: "blocked";
|
|
3288
|
+
invariant_broken: "invariant_broken";
|
|
3289
|
+
}>;
|
|
3290
|
+
reason: z.ZodEnum<{
|
|
3291
|
+
goal_inactive: "goal_inactive";
|
|
3292
|
+
wake_pending: "wake_pending";
|
|
3293
|
+
continuation_pending: "continuation_pending";
|
|
3294
|
+
human_work_pending: "human_work_pending";
|
|
3295
|
+
goal_turn_running: "goal_turn_running";
|
|
3296
|
+
human_turn_running: "human_turn_running";
|
|
3297
|
+
workstream_paused: "workstream_paused";
|
|
3298
|
+
approval_required: "approval_required";
|
|
3299
|
+
provider_backpressure: "provider_backpressure";
|
|
3300
|
+
session_cancelled: "session_cancelled";
|
|
3301
|
+
system_work_pending: "system_work_pending";
|
|
3302
|
+
missing_obligation: "missing_obligation";
|
|
3303
|
+
}>;
|
|
3304
|
+
wakeRevision: z.ZodNumber;
|
|
3305
|
+
observedRevision: z.ZodNumber;
|
|
3306
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
3307
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
3308
|
+
}, z.core.$strip>>;
|
|
2974
3309
|
createdAt: z.ZodString;
|
|
2975
3310
|
updatedAt: z.ZodString;
|
|
2976
3311
|
}, z.core.$strip>;
|
|
@@ -3301,8 +3636,8 @@ declare const SessionTurn: z.ZodObject<{
|
|
|
3301
3636
|
type SessionTurn = z.infer<typeof SessionTurn>;
|
|
3302
3637
|
declare const EffectiveControlBlocker: z.ZodObject<{
|
|
3303
3638
|
kind: z.ZodEnum<{
|
|
3304
|
-
workspace: "workspace";
|
|
3305
3639
|
session: "session";
|
|
3640
|
+
workspace: "workspace";
|
|
3306
3641
|
}>;
|
|
3307
3642
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3308
3643
|
displayName: z.ZodString;
|
|
@@ -3314,9 +3649,9 @@ declare const EffectiveControlBlocker: z.ZodObject<{
|
|
|
3314
3649
|
type EffectiveControlBlocker = z.infer<typeof EffectiveControlBlocker>;
|
|
3315
3650
|
declare const EffectiveControlResumeOption: z.ZodObject<{
|
|
3316
3651
|
scope: z.ZodEnum<{
|
|
3652
|
+
session: "session";
|
|
3317
3653
|
workspace: "workspace";
|
|
3318
3654
|
selected: "selected";
|
|
3319
|
-
session: "session";
|
|
3320
3655
|
}>;
|
|
3321
3656
|
targetId: z.ZodOptional<z.ZodString>;
|
|
3322
3657
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -3325,8 +3660,8 @@ declare const EffectiveControlResumeOption: z.ZodObject<{
|
|
|
3325
3660
|
}>;
|
|
3326
3661
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
3327
3662
|
kind: z.ZodEnum<{
|
|
3328
|
-
workspace: "workspace";
|
|
3329
3663
|
session: "session";
|
|
3664
|
+
workspace: "workspace";
|
|
3330
3665
|
}>;
|
|
3331
3666
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3332
3667
|
displayName: z.ZodString;
|
|
@@ -3351,8 +3686,8 @@ declare const EffectiveSessionControl: z.ZodObject<{
|
|
|
3351
3686
|
}>;
|
|
3352
3687
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
3353
3688
|
kind: z.ZodEnum<{
|
|
3354
|
-
workspace: "workspace";
|
|
3355
3689
|
session: "session";
|
|
3690
|
+
workspace: "workspace";
|
|
3356
3691
|
}>;
|
|
3357
3692
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3358
3693
|
displayName: z.ZodString;
|
|
@@ -3364,8 +3699,8 @@ declare const EffectiveSessionControl: z.ZodObject<{
|
|
|
3364
3699
|
additionalBlockerCount: z.ZodNumber;
|
|
3365
3700
|
blockers: z.ZodArray<z.ZodObject<{
|
|
3366
3701
|
kind: z.ZodEnum<{
|
|
3367
|
-
workspace: "workspace";
|
|
3368
3702
|
session: "session";
|
|
3703
|
+
workspace: "workspace";
|
|
3369
3704
|
}>;
|
|
3370
3705
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3371
3706
|
displayName: z.ZodString;
|
|
@@ -3376,9 +3711,9 @@ declare const EffectiveSessionControl: z.ZodObject<{
|
|
|
3376
3711
|
}, z.core.$strip>>;
|
|
3377
3712
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
3378
3713
|
scope: z.ZodEnum<{
|
|
3714
|
+
session: "session";
|
|
3379
3715
|
workspace: "workspace";
|
|
3380
3716
|
selected: "selected";
|
|
3381
|
-
session: "session";
|
|
3382
3717
|
}>;
|
|
3383
3718
|
targetId: z.ZodOptional<z.ZodString>;
|
|
3384
3719
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -3387,8 +3722,8 @@ declare const EffectiveSessionControl: z.ZodObject<{
|
|
|
3387
3722
|
}>;
|
|
3388
3723
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
3389
3724
|
kind: z.ZodEnum<{
|
|
3390
|
-
workspace: "workspace";
|
|
3391
3725
|
session: "session";
|
|
3726
|
+
workspace: "workspace";
|
|
3392
3727
|
}>;
|
|
3393
3728
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3394
3729
|
displayName: z.ZodString;
|
|
@@ -3490,8 +3825,8 @@ declare const SessionQueueSnapshot: z.ZodObject<{
|
|
|
3490
3825
|
}>;
|
|
3491
3826
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
3492
3827
|
kind: z.ZodEnum<{
|
|
3493
|
-
workspace: "workspace";
|
|
3494
3828
|
session: "session";
|
|
3829
|
+
workspace: "workspace";
|
|
3495
3830
|
}>;
|
|
3496
3831
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3497
3832
|
displayName: z.ZodString;
|
|
@@ -3503,8 +3838,8 @@ declare const SessionQueueSnapshot: z.ZodObject<{
|
|
|
3503
3838
|
additionalBlockerCount: z.ZodNumber;
|
|
3504
3839
|
blockers: z.ZodArray<z.ZodObject<{
|
|
3505
3840
|
kind: z.ZodEnum<{
|
|
3506
|
-
workspace: "workspace";
|
|
3507
3841
|
session: "session";
|
|
3842
|
+
workspace: "workspace";
|
|
3508
3843
|
}>;
|
|
3509
3844
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3510
3845
|
displayName: z.ZodString;
|
|
@@ -3515,9 +3850,9 @@ declare const SessionQueueSnapshot: z.ZodObject<{
|
|
|
3515
3850
|
}, z.core.$strip>>;
|
|
3516
3851
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
3517
3852
|
scope: z.ZodEnum<{
|
|
3853
|
+
session: "session";
|
|
3518
3854
|
workspace: "workspace";
|
|
3519
3855
|
selected: "selected";
|
|
3520
|
-
session: "session";
|
|
3521
3856
|
}>;
|
|
3522
3857
|
targetId: z.ZodOptional<z.ZodString>;
|
|
3523
3858
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -3526,8 +3861,8 @@ declare const SessionQueueSnapshot: z.ZodObject<{
|
|
|
3526
3861
|
}>;
|
|
3527
3862
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
3528
3863
|
kind: z.ZodEnum<{
|
|
3529
|
-
workspace: "workspace";
|
|
3530
3864
|
session: "session";
|
|
3865
|
+
workspace: "workspace";
|
|
3531
3866
|
}>;
|
|
3532
3867
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3533
3868
|
displayName: z.ZodString;
|
|
@@ -3733,6 +4068,298 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
|
|
|
3733
4068
|
expectedRevision: z.ZodNumber;
|
|
3734
4069
|
}, z.core.$strip>;
|
|
3735
4070
|
type SaveComposerDraftRequest = z.infer<typeof SaveComposerDraftRequest>;
|
|
4071
|
+
/**
|
|
4072
|
+
* Create-only options saved with an actor's private pre-session draft. This is
|
|
4073
|
+
* deliberately narrower than CreateSessionRequest: idempotency/event keys and
|
|
4074
|
+
* credential-bearing MCP server inputs are per-attempt data, never draft state.
|
|
4075
|
+
*/
|
|
4076
|
+
declare const NewSessionDraftOptions: z.ZodObject<{
|
|
4077
|
+
sandboxBackend: z.ZodOptional<z.ZodEnum<{
|
|
4078
|
+
docker: "docker";
|
|
4079
|
+
modal: "modal";
|
|
4080
|
+
local: "local";
|
|
4081
|
+
none: "none";
|
|
4082
|
+
daytona: "daytona";
|
|
4083
|
+
runloop: "runloop";
|
|
4084
|
+
e2b: "e2b";
|
|
4085
|
+
blaxel: "blaxel";
|
|
4086
|
+
cloudflare: "cloudflare";
|
|
4087
|
+
vercel: "vercel";
|
|
4088
|
+
selfhosted: "selfhosted";
|
|
4089
|
+
}>>;
|
|
4090
|
+
targetSandboxId: z.ZodOptional<z.ZodString>;
|
|
4091
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
4092
|
+
variableSetId: z.ZodOptional<z.ZodString>;
|
|
4093
|
+
rigId: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
4095
|
+
text: z.ZodString;
|
|
4096
|
+
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4097
|
+
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4098
|
+
}, z.core.$strip>>;
|
|
4099
|
+
firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4100
|
+
"account:read": "account:read";
|
|
4101
|
+
"account:admin": "account:admin";
|
|
4102
|
+
"members:manage": "members:manage";
|
|
4103
|
+
"workspace:create": "workspace:create";
|
|
4104
|
+
"billing:read": "billing:read";
|
|
4105
|
+
"billing:manage": "billing:manage";
|
|
4106
|
+
"workspace:read": "workspace:read";
|
|
4107
|
+
"workspace:admin": "workspace:admin";
|
|
4108
|
+
"sessions:create": "sessions:create";
|
|
4109
|
+
"sessions:read": "sessions:read";
|
|
4110
|
+
"sessions:control": "sessions:control";
|
|
4111
|
+
"stream:view": "stream:view";
|
|
4112
|
+
"stream:control": "stream:control";
|
|
4113
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
4114
|
+
"files:upload": "files:upload";
|
|
4115
|
+
"files:read": "files:read";
|
|
4116
|
+
"files:write": "files:write";
|
|
4117
|
+
"terminal:attach": "terminal:attach";
|
|
4118
|
+
"documents:manage": "documents:manage";
|
|
4119
|
+
"documents:search": "documents:search";
|
|
4120
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
4121
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
4122
|
+
"github:manage": "github:manage";
|
|
4123
|
+
"github:use": "github:use";
|
|
4124
|
+
"api_keys:manage": "api_keys:manage";
|
|
4125
|
+
"connections:read": "connections:read";
|
|
4126
|
+
"connections:write": "connections:write";
|
|
4127
|
+
"environments:manage": "environments:manage";
|
|
4128
|
+
"environments:use": "environments:use";
|
|
4129
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4130
|
+
"variable-sets:use": "variable-sets:use";
|
|
4131
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
4132
|
+
"toolspace:call": "toolspace:call";
|
|
4133
|
+
"goals:manage": "goals:manage";
|
|
4134
|
+
"enrollments:read": "enrollments:read";
|
|
4135
|
+
"enrollments:manage": "enrollments:manage";
|
|
4136
|
+
"rigs:use": "rigs:use";
|
|
4137
|
+
"rigs:manage": "rigs:manage";
|
|
4138
|
+
}>>>;
|
|
4139
|
+
}, z.core.$strip>;
|
|
4140
|
+
type NewSessionDraftOptions = z.infer<typeof NewSessionDraftOptions>;
|
|
4141
|
+
/** Actor-private, server-authoritative composer state before a session exists. */
|
|
4142
|
+
declare const NewSessionDraft: z.ZodObject<{
|
|
4143
|
+
revision: z.ZodNumber;
|
|
4144
|
+
text: z.ZodString;
|
|
4145
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4146
|
+
kind: z.ZodLiteral<"repository">;
|
|
4147
|
+
uri: z.ZodString;
|
|
4148
|
+
ref: z.ZodString;
|
|
4149
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4150
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
4151
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4152
|
+
github: "github";
|
|
4153
|
+
gitlab: "gitlab";
|
|
4154
|
+
azure_devops: "azure_devops";
|
|
4155
|
+
}>>;
|
|
4156
|
+
credentialBindingId: z.ZodOptional<z.ZodString>;
|
|
4157
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
4158
|
+
read: "read";
|
|
4159
|
+
write: "write";
|
|
4160
|
+
}>>;
|
|
4161
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4162
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4163
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4164
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4165
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4166
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4168
|
+
kind: z.ZodLiteral<"file">;
|
|
4169
|
+
fileId: z.ZodString;
|
|
4170
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4171
|
+
}, z.core.$strip>], "kind">>;
|
|
4172
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
4173
|
+
kind: z.ZodLiteral<"mcp">;
|
|
4174
|
+
id: z.ZodString;
|
|
4175
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4176
|
+
}, z.core.$strip>>;
|
|
4177
|
+
model: z.ZodString;
|
|
4178
|
+
reasoningEffort: z.ZodEnum<{
|
|
4179
|
+
none: "none";
|
|
4180
|
+
minimal: "minimal";
|
|
4181
|
+
low: "low";
|
|
4182
|
+
medium: "medium";
|
|
4183
|
+
high: "high";
|
|
4184
|
+
xhigh: "xhigh";
|
|
4185
|
+
}>;
|
|
4186
|
+
options: z.ZodObject<{
|
|
4187
|
+
sandboxBackend: z.ZodOptional<z.ZodEnum<{
|
|
4188
|
+
docker: "docker";
|
|
4189
|
+
modal: "modal";
|
|
4190
|
+
local: "local";
|
|
4191
|
+
none: "none";
|
|
4192
|
+
daytona: "daytona";
|
|
4193
|
+
runloop: "runloop";
|
|
4194
|
+
e2b: "e2b";
|
|
4195
|
+
blaxel: "blaxel";
|
|
4196
|
+
cloudflare: "cloudflare";
|
|
4197
|
+
vercel: "vercel";
|
|
4198
|
+
selfhosted: "selfhosted";
|
|
4199
|
+
}>>;
|
|
4200
|
+
targetSandboxId: z.ZodOptional<z.ZodString>;
|
|
4201
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
4202
|
+
variableSetId: z.ZodOptional<z.ZodString>;
|
|
4203
|
+
rigId: z.ZodOptional<z.ZodString>;
|
|
4204
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
4205
|
+
text: z.ZodString;
|
|
4206
|
+
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4207
|
+
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4208
|
+
}, z.core.$strip>>;
|
|
4209
|
+
firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4210
|
+
"account:read": "account:read";
|
|
4211
|
+
"account:admin": "account:admin";
|
|
4212
|
+
"members:manage": "members:manage";
|
|
4213
|
+
"workspace:create": "workspace:create";
|
|
4214
|
+
"billing:read": "billing:read";
|
|
4215
|
+
"billing:manage": "billing:manage";
|
|
4216
|
+
"workspace:read": "workspace:read";
|
|
4217
|
+
"workspace:admin": "workspace:admin";
|
|
4218
|
+
"sessions:create": "sessions:create";
|
|
4219
|
+
"sessions:read": "sessions:read";
|
|
4220
|
+
"sessions:control": "sessions:control";
|
|
4221
|
+
"stream:view": "stream:view";
|
|
4222
|
+
"stream:control": "stream:control";
|
|
4223
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
4224
|
+
"files:upload": "files:upload";
|
|
4225
|
+
"files:read": "files:read";
|
|
4226
|
+
"files:write": "files:write";
|
|
4227
|
+
"terminal:attach": "terminal:attach";
|
|
4228
|
+
"documents:manage": "documents:manage";
|
|
4229
|
+
"documents:search": "documents:search";
|
|
4230
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
4231
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
4232
|
+
"github:manage": "github:manage";
|
|
4233
|
+
"github:use": "github:use";
|
|
4234
|
+
"api_keys:manage": "api_keys:manage";
|
|
4235
|
+
"connections:read": "connections:read";
|
|
4236
|
+
"connections:write": "connections:write";
|
|
4237
|
+
"environments:manage": "environments:manage";
|
|
4238
|
+
"environments:use": "environments:use";
|
|
4239
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4240
|
+
"variable-sets:use": "variable-sets:use";
|
|
4241
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
4242
|
+
"toolspace:call": "toolspace:call";
|
|
4243
|
+
"goals:manage": "goals:manage";
|
|
4244
|
+
"enrollments:read": "enrollments:read";
|
|
4245
|
+
"enrollments:manage": "enrollments:manage";
|
|
4246
|
+
"rigs:use": "rigs:use";
|
|
4247
|
+
"rigs:manage": "rigs:manage";
|
|
4248
|
+
}>>>;
|
|
4249
|
+
}, z.core.$strip>;
|
|
4250
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
4251
|
+
}, z.core.$strip>;
|
|
4252
|
+
type NewSessionDraft = z.infer<typeof NewSessionDraft>;
|
|
4253
|
+
declare const SaveNewSessionDraftRequest: z.ZodObject<{
|
|
4254
|
+
model: z.ZodString;
|
|
4255
|
+
text: z.ZodString;
|
|
4256
|
+
reasoningEffort: z.ZodEnum<{
|
|
4257
|
+
none: "none";
|
|
4258
|
+
minimal: "minimal";
|
|
4259
|
+
low: "low";
|
|
4260
|
+
medium: "medium";
|
|
4261
|
+
high: "high";
|
|
4262
|
+
xhigh: "xhigh";
|
|
4263
|
+
}>;
|
|
4264
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4265
|
+
kind: z.ZodLiteral<"repository">;
|
|
4266
|
+
uri: z.ZodString;
|
|
4267
|
+
ref: z.ZodString;
|
|
4268
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4269
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
4270
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4271
|
+
github: "github";
|
|
4272
|
+
gitlab: "gitlab";
|
|
4273
|
+
azure_devops: "azure_devops";
|
|
4274
|
+
}>>;
|
|
4275
|
+
credentialBindingId: z.ZodOptional<z.ZodString>;
|
|
4276
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
4277
|
+
read: "read";
|
|
4278
|
+
write: "write";
|
|
4279
|
+
}>>;
|
|
4280
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4281
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4282
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4283
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4284
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
4285
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
4286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4287
|
+
kind: z.ZodLiteral<"file">;
|
|
4288
|
+
fileId: z.ZodString;
|
|
4289
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
4290
|
+
}, z.core.$strip>], "kind">>;
|
|
4291
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
4292
|
+
kind: z.ZodLiteral<"mcp">;
|
|
4293
|
+
id: z.ZodString;
|
|
4294
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4295
|
+
}, z.core.$strip>>;
|
|
4296
|
+
options: z.ZodObject<{
|
|
4297
|
+
sandboxBackend: z.ZodOptional<z.ZodEnum<{
|
|
4298
|
+
docker: "docker";
|
|
4299
|
+
modal: "modal";
|
|
4300
|
+
local: "local";
|
|
4301
|
+
none: "none";
|
|
4302
|
+
daytona: "daytona";
|
|
4303
|
+
runloop: "runloop";
|
|
4304
|
+
e2b: "e2b";
|
|
4305
|
+
blaxel: "blaxel";
|
|
4306
|
+
cloudflare: "cloudflare";
|
|
4307
|
+
vercel: "vercel";
|
|
4308
|
+
selfhosted: "selfhosted";
|
|
4309
|
+
}>>;
|
|
4310
|
+
targetSandboxId: z.ZodOptional<z.ZodString>;
|
|
4311
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
4312
|
+
variableSetId: z.ZodOptional<z.ZodString>;
|
|
4313
|
+
rigId: z.ZodOptional<z.ZodString>;
|
|
4314
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
4315
|
+
text: z.ZodString;
|
|
4316
|
+
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4317
|
+
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4318
|
+
}, z.core.$strip>>;
|
|
4319
|
+
firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4320
|
+
"account:read": "account:read";
|
|
4321
|
+
"account:admin": "account:admin";
|
|
4322
|
+
"members:manage": "members:manage";
|
|
4323
|
+
"workspace:create": "workspace:create";
|
|
4324
|
+
"billing:read": "billing:read";
|
|
4325
|
+
"billing:manage": "billing:manage";
|
|
4326
|
+
"workspace:read": "workspace:read";
|
|
4327
|
+
"workspace:admin": "workspace:admin";
|
|
4328
|
+
"sessions:create": "sessions:create";
|
|
4329
|
+
"sessions:read": "sessions:read";
|
|
4330
|
+
"sessions:control": "sessions:control";
|
|
4331
|
+
"stream:view": "stream:view";
|
|
4332
|
+
"stream:control": "stream:control";
|
|
4333
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
4334
|
+
"files:upload": "files:upload";
|
|
4335
|
+
"files:read": "files:read";
|
|
4336
|
+
"files:write": "files:write";
|
|
4337
|
+
"terminal:attach": "terminal:attach";
|
|
4338
|
+
"documents:manage": "documents:manage";
|
|
4339
|
+
"documents:search": "documents:search";
|
|
4340
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
4341
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
4342
|
+
"github:manage": "github:manage";
|
|
4343
|
+
"github:use": "github:use";
|
|
4344
|
+
"api_keys:manage": "api_keys:manage";
|
|
4345
|
+
"connections:read": "connections:read";
|
|
4346
|
+
"connections:write": "connections:write";
|
|
4347
|
+
"environments:manage": "environments:manage";
|
|
4348
|
+
"environments:use": "environments:use";
|
|
4349
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
4350
|
+
"variable-sets:use": "variable-sets:use";
|
|
4351
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
4352
|
+
"toolspace:call": "toolspace:call";
|
|
4353
|
+
"goals:manage": "goals:manage";
|
|
4354
|
+
"enrollments:read": "enrollments:read";
|
|
4355
|
+
"enrollments:manage": "enrollments:manage";
|
|
4356
|
+
"rigs:use": "rigs:use";
|
|
4357
|
+
"rigs:manage": "rigs:manage";
|
|
4358
|
+
}>>>;
|
|
4359
|
+
}, z.core.$strip>;
|
|
4360
|
+
expectedRevision: z.ZodNumber;
|
|
4361
|
+
}, z.core.$strip>;
|
|
4362
|
+
type SaveNewSessionDraftRequest = z.infer<typeof SaveNewSessionDraftRequest>;
|
|
3736
4363
|
declare const WORKSPACE_CONTROL_REASON_MAX_BYTES: number;
|
|
3737
4364
|
declare const WORKSPACE_CONTROL_ACTOR_MAX_BYTES = 1024;
|
|
3738
4365
|
declare const WORKSPACE_CONTROL_EVENT_MAX_BYTES: number;
|
|
@@ -3815,8 +4442,8 @@ declare const WorkspaceControlEvent: z.ZodObject<{
|
|
|
3815
4442
|
revision: z.ZodNumber;
|
|
3816
4443
|
type: z.ZodLiteral<"workspace.control.changed">;
|
|
3817
4444
|
scope: z.ZodEnum<{
|
|
3818
|
-
workspace: "workspace";
|
|
3819
4445
|
session: "session";
|
|
4446
|
+
workspace: "workspace";
|
|
3820
4447
|
}>;
|
|
3821
4448
|
rootSessionId: z.ZodNullable<z.ZodString>;
|
|
3822
4449
|
action: z.ZodEnum<{
|
|
@@ -4441,6 +5068,7 @@ declare const ScheduledTaskAgentConfig: z.ZodObject<{
|
|
|
4441
5068
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4442
5069
|
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4443
5070
|
}, z.core.$strip>>;
|
|
5071
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
4444
5072
|
}, z.core.$strip>;
|
|
4445
5073
|
type ScheduledTaskAgentConfig = z.infer<typeof ScheduledTaskAgentConfig>;
|
|
4446
5074
|
declare const ScheduledTask: z.ZodObject<{
|
|
@@ -4548,6 +5176,7 @@ declare const ScheduledTask: z.ZodObject<{
|
|
|
4548
5176
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4549
5177
|
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4550
5178
|
}, z.core.$strip>>;
|
|
5179
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
4551
5180
|
}, z.core.$strip>;
|
|
4552
5181
|
reusableSessionId: z.ZodNullable<z.ZodString>;
|
|
4553
5182
|
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -4678,6 +5307,7 @@ declare const CreateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
4678
5307
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4679
5308
|
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4680
5309
|
}, z.core.$strip>>;
|
|
5310
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
4681
5311
|
}, z.core.$strip>;
|
|
4682
5312
|
status: z.ZodDefault<z.ZodEnum<{
|
|
4683
5313
|
active: "active";
|
|
@@ -4786,6 +5416,7 @@ declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
4786
5416
|
successCriteria: z.ZodOptional<z.ZodString>;
|
|
4787
5417
|
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
4788
5418
|
}, z.core.$strip>>;
|
|
5419
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
4789
5420
|
}, z.core.$strip>>;
|
|
4790
5421
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4791
5422
|
active: "active";
|
|
@@ -5718,8 +6349,8 @@ declare const EnableCapabilityRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
5718
6349
|
kind: z.ZodLiteral<"repository">;
|
|
5719
6350
|
}, z.core.$strict>>>;
|
|
5720
6351
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
5721
|
-
subject: "subject";
|
|
5722
6352
|
workspace: "workspace";
|
|
6353
|
+
subject: "subject";
|
|
5723
6354
|
}>>;
|
|
5724
6355
|
}, z.core.$strict>>;
|
|
5725
6356
|
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -6112,12 +6743,23 @@ declare const Session: z.ZodObject<{
|
|
|
6112
6743
|
kind: z.ZodLiteral<"repository">;
|
|
6113
6744
|
}, z.core.$strict>>>;
|
|
6114
6745
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
6115
|
-
subject: "subject";
|
|
6116
6746
|
workspace: "workspace";
|
|
6747
|
+
subject: "subject";
|
|
6117
6748
|
}>>;
|
|
6118
6749
|
}, z.core.$strict>>>;
|
|
6119
6750
|
}, z.core.$strict>>>;
|
|
6120
6751
|
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
6752
|
+
rootSessionId: z.ZodString;
|
|
6753
|
+
nestedAgentDepth: z.ZodNumber;
|
|
6754
|
+
maxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
6755
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
6756
|
+
nestedAgentDepthPolicySource: z.ZodEnum<{
|
|
6757
|
+
default: "default";
|
|
6758
|
+
session: "session";
|
|
6759
|
+
workspace: "workspace";
|
|
6760
|
+
deployment: "deployment";
|
|
6761
|
+
}>;
|
|
6762
|
+
nestedAgentDepthPolicySessionId: z.ZodNullable<z.ZodString>;
|
|
6121
6763
|
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
6122
6764
|
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
6123
6765
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6138,8 +6780,8 @@ declare const Session: z.ZodObject<{
|
|
|
6138
6780
|
}>;
|
|
6139
6781
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
6140
6782
|
kind: z.ZodEnum<{
|
|
6141
|
-
workspace: "workspace";
|
|
6142
6783
|
session: "session";
|
|
6784
|
+
workspace: "workspace";
|
|
6143
6785
|
}>;
|
|
6144
6786
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6145
6787
|
displayName: z.ZodString;
|
|
@@ -6151,8 +6793,8 @@ declare const Session: z.ZodObject<{
|
|
|
6151
6793
|
additionalBlockerCount: z.ZodNumber;
|
|
6152
6794
|
blockers: z.ZodArray<z.ZodObject<{
|
|
6153
6795
|
kind: z.ZodEnum<{
|
|
6154
|
-
workspace: "workspace";
|
|
6155
6796
|
session: "session";
|
|
6797
|
+
workspace: "workspace";
|
|
6156
6798
|
}>;
|
|
6157
6799
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6158
6800
|
displayName: z.ZodString;
|
|
@@ -6163,9 +6805,9 @@ declare const Session: z.ZodObject<{
|
|
|
6163
6805
|
}, z.core.$strip>>;
|
|
6164
6806
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
6165
6807
|
scope: z.ZodEnum<{
|
|
6808
|
+
session: "session";
|
|
6166
6809
|
workspace: "workspace";
|
|
6167
6810
|
selected: "selected";
|
|
6168
|
-
session: "session";
|
|
6169
6811
|
}>;
|
|
6170
6812
|
targetId: z.ZodOptional<z.ZodString>;
|
|
6171
6813
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -6174,8 +6816,8 @@ declare const Session: z.ZodObject<{
|
|
|
6174
6816
|
}>;
|
|
6175
6817
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
6176
6818
|
kind: z.ZodEnum<{
|
|
6177
|
-
workspace: "workspace";
|
|
6178
6819
|
session: "session";
|
|
6820
|
+
workspace: "workspace";
|
|
6179
6821
|
}>;
|
|
6180
6822
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6181
6823
|
displayName: z.ZodString;
|
|
@@ -6414,12 +7056,23 @@ declare const CreateSessionResponse: z.ZodObject<{
|
|
|
6414
7056
|
kind: z.ZodLiteral<"repository">;
|
|
6415
7057
|
}, z.core.$strict>>>;
|
|
6416
7058
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
6417
|
-
subject: "subject";
|
|
6418
7059
|
workspace: "workspace";
|
|
7060
|
+
subject: "subject";
|
|
6419
7061
|
}>>;
|
|
6420
7062
|
}, z.core.$strict>>>;
|
|
6421
7063
|
}, z.core.$strict>>>;
|
|
6422
7064
|
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
7065
|
+
rootSessionId: z.ZodString;
|
|
7066
|
+
nestedAgentDepth: z.ZodNumber;
|
|
7067
|
+
maxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
7068
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
7069
|
+
nestedAgentDepthPolicySource: z.ZodEnum<{
|
|
7070
|
+
default: "default";
|
|
7071
|
+
session: "session";
|
|
7072
|
+
workspace: "workspace";
|
|
7073
|
+
deployment: "deployment";
|
|
7074
|
+
}>;
|
|
7075
|
+
nestedAgentDepthPolicySessionId: z.ZodNullable<z.ZodString>;
|
|
6423
7076
|
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
6424
7077
|
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
6425
7078
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6440,8 +7093,8 @@ declare const CreateSessionResponse: z.ZodObject<{
|
|
|
6440
7093
|
}>;
|
|
6441
7094
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
6442
7095
|
kind: z.ZodEnum<{
|
|
6443
|
-
workspace: "workspace";
|
|
6444
7096
|
session: "session";
|
|
7097
|
+
workspace: "workspace";
|
|
6445
7098
|
}>;
|
|
6446
7099
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6447
7100
|
displayName: z.ZodString;
|
|
@@ -6453,8 +7106,8 @@ declare const CreateSessionResponse: z.ZodObject<{
|
|
|
6453
7106
|
additionalBlockerCount: z.ZodNumber;
|
|
6454
7107
|
blockers: z.ZodArray<z.ZodObject<{
|
|
6455
7108
|
kind: z.ZodEnum<{
|
|
6456
|
-
workspace: "workspace";
|
|
6457
7109
|
session: "session";
|
|
7110
|
+
workspace: "workspace";
|
|
6458
7111
|
}>;
|
|
6459
7112
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6460
7113
|
displayName: z.ZodString;
|
|
@@ -6465,9 +7118,9 @@ declare const CreateSessionResponse: z.ZodObject<{
|
|
|
6465
7118
|
}, z.core.$strip>>;
|
|
6466
7119
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
6467
7120
|
scope: z.ZodEnum<{
|
|
7121
|
+
session: "session";
|
|
6468
7122
|
workspace: "workspace";
|
|
6469
7123
|
selected: "selected";
|
|
6470
|
-
session: "session";
|
|
6471
7124
|
}>;
|
|
6472
7125
|
targetId: z.ZodOptional<z.ZodString>;
|
|
6473
7126
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -6476,8 +7129,8 @@ declare const CreateSessionResponse: z.ZodObject<{
|
|
|
6476
7129
|
}>;
|
|
6477
7130
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
6478
7131
|
kind: z.ZodEnum<{
|
|
6479
|
-
workspace: "workspace";
|
|
6480
7132
|
session: "session";
|
|
7133
|
+
workspace: "workspace";
|
|
6481
7134
|
}>;
|
|
6482
7135
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6483
7136
|
displayName: z.ZodString;
|
|
@@ -6722,12 +7375,23 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
6722
7375
|
kind: z.ZodLiteral<"repository">;
|
|
6723
7376
|
}, z.core.$strict>>>;
|
|
6724
7377
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
6725
|
-
subject: "subject";
|
|
6726
7378
|
workspace: "workspace";
|
|
7379
|
+
subject: "subject";
|
|
6727
7380
|
}>>;
|
|
6728
7381
|
}, z.core.$strict>>>;
|
|
6729
7382
|
}, z.core.$strict>>>;
|
|
6730
7383
|
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
7384
|
+
rootSessionId: z.ZodString;
|
|
7385
|
+
nestedAgentDepth: z.ZodNumber;
|
|
7386
|
+
maxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
7387
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
7388
|
+
nestedAgentDepthPolicySource: z.ZodEnum<{
|
|
7389
|
+
default: "default";
|
|
7390
|
+
session: "session";
|
|
7391
|
+
workspace: "workspace";
|
|
7392
|
+
deployment: "deployment";
|
|
7393
|
+
}>;
|
|
7394
|
+
nestedAgentDepthPolicySessionId: z.ZodNullable<z.ZodString>;
|
|
6731
7395
|
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
6732
7396
|
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
6733
7397
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6748,8 +7412,8 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
6748
7412
|
}>;
|
|
6749
7413
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
6750
7414
|
kind: z.ZodEnum<{
|
|
6751
|
-
workspace: "workspace";
|
|
6752
7415
|
session: "session";
|
|
7416
|
+
workspace: "workspace";
|
|
6753
7417
|
}>;
|
|
6754
7418
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6755
7419
|
displayName: z.ZodString;
|
|
@@ -6761,8 +7425,8 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
6761
7425
|
additionalBlockerCount: z.ZodNumber;
|
|
6762
7426
|
blockers: z.ZodArray<z.ZodObject<{
|
|
6763
7427
|
kind: z.ZodEnum<{
|
|
6764
|
-
workspace: "workspace";
|
|
6765
7428
|
session: "session";
|
|
7429
|
+
workspace: "workspace";
|
|
6766
7430
|
}>;
|
|
6767
7431
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6768
7432
|
displayName: z.ZodString;
|
|
@@ -6773,9 +7437,9 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
6773
7437
|
}, z.core.$strip>>;
|
|
6774
7438
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
6775
7439
|
scope: z.ZodEnum<{
|
|
7440
|
+
session: "session";
|
|
6776
7441
|
workspace: "workspace";
|
|
6777
7442
|
selected: "selected";
|
|
6778
|
-
session: "session";
|
|
6779
7443
|
}>;
|
|
6780
7444
|
targetId: z.ZodOptional<z.ZodString>;
|
|
6781
7445
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -6784,8 +7448,8 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
6784
7448
|
}>;
|
|
6785
7449
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
6786
7450
|
kind: z.ZodEnum<{
|
|
6787
|
-
workspace: "workspace";
|
|
6788
7451
|
session: "session";
|
|
7452
|
+
workspace: "workspace";
|
|
6789
7453
|
}>;
|
|
6790
7454
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
6791
7455
|
displayName: z.ZodString;
|
|
@@ -7019,12 +7683,23 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
7019
7683
|
kind: z.ZodLiteral<"repository">;
|
|
7020
7684
|
}, z.core.$strict>>>;
|
|
7021
7685
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
7022
|
-
subject: "subject";
|
|
7023
7686
|
workspace: "workspace";
|
|
7687
|
+
subject: "subject";
|
|
7024
7688
|
}>>;
|
|
7025
7689
|
}, z.core.$strict>>>;
|
|
7026
7690
|
}, z.core.$strict>>>;
|
|
7027
7691
|
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
7692
|
+
rootSessionId: z.ZodString;
|
|
7693
|
+
nestedAgentDepth: z.ZodNumber;
|
|
7694
|
+
maxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
7695
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
7696
|
+
nestedAgentDepthPolicySource: z.ZodEnum<{
|
|
7697
|
+
default: "default";
|
|
7698
|
+
session: "session";
|
|
7699
|
+
workspace: "workspace";
|
|
7700
|
+
deployment: "deployment";
|
|
7701
|
+
}>;
|
|
7702
|
+
nestedAgentDepthPolicySessionId: z.ZodNullable<z.ZodString>;
|
|
7028
7703
|
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
7029
7704
|
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
7030
7705
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -7045,8 +7720,8 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
7045
7720
|
}>;
|
|
7046
7721
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
7047
7722
|
kind: z.ZodEnum<{
|
|
7048
|
-
workspace: "workspace";
|
|
7049
7723
|
session: "session";
|
|
7724
|
+
workspace: "workspace";
|
|
7050
7725
|
}>;
|
|
7051
7726
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7052
7727
|
displayName: z.ZodString;
|
|
@@ -7058,8 +7733,8 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
7058
7733
|
additionalBlockerCount: z.ZodNumber;
|
|
7059
7734
|
blockers: z.ZodArray<z.ZodObject<{
|
|
7060
7735
|
kind: z.ZodEnum<{
|
|
7061
|
-
workspace: "workspace";
|
|
7062
7736
|
session: "session";
|
|
7737
|
+
workspace: "workspace";
|
|
7063
7738
|
}>;
|
|
7064
7739
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7065
7740
|
displayName: z.ZodString;
|
|
@@ -7070,9 +7745,9 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
7070
7745
|
}, z.core.$strip>>;
|
|
7071
7746
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
7072
7747
|
scope: z.ZodEnum<{
|
|
7748
|
+
session: "session";
|
|
7073
7749
|
workspace: "workspace";
|
|
7074
7750
|
selected: "selected";
|
|
7075
|
-
session: "session";
|
|
7076
7751
|
}>;
|
|
7077
7752
|
targetId: z.ZodOptional<z.ZodString>;
|
|
7078
7753
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -7081,8 +7756,8 @@ declare const SessionListResponse: z.ZodObject<{
|
|
|
7081
7756
|
}>;
|
|
7082
7757
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
7083
7758
|
kind: z.ZodEnum<{
|
|
7084
|
-
workspace: "workspace";
|
|
7085
7759
|
session: "session";
|
|
7760
|
+
workspace: "workspace";
|
|
7086
7761
|
}>;
|
|
7087
7762
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7088
7763
|
displayName: z.ZodString;
|
|
@@ -7324,12 +7999,23 @@ declare const SessionLineageResponse: z.ZodObject<{
|
|
|
7324
7999
|
kind: z.ZodLiteral<"repository">;
|
|
7325
8000
|
}, z.core.$strict>>>;
|
|
7326
8001
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
7327
|
-
subject: "subject";
|
|
7328
8002
|
workspace: "workspace";
|
|
8003
|
+
subject: "subject";
|
|
7329
8004
|
}>>;
|
|
7330
8005
|
}, z.core.$strict>>>;
|
|
7331
8006
|
}, z.core.$strict>>>;
|
|
7332
8007
|
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
8008
|
+
rootSessionId: z.ZodString;
|
|
8009
|
+
nestedAgentDepth: z.ZodNumber;
|
|
8010
|
+
maxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
8011
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
8012
|
+
nestedAgentDepthPolicySource: z.ZodEnum<{
|
|
8013
|
+
default: "default";
|
|
8014
|
+
session: "session";
|
|
8015
|
+
workspace: "workspace";
|
|
8016
|
+
deployment: "deployment";
|
|
8017
|
+
}>;
|
|
8018
|
+
nestedAgentDepthPolicySessionId: z.ZodNullable<z.ZodString>;
|
|
7333
8019
|
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
7334
8020
|
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
7335
8021
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -7350,8 +8036,8 @@ declare const SessionLineageResponse: z.ZodObject<{
|
|
|
7350
8036
|
}>;
|
|
7351
8037
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
7352
8038
|
kind: z.ZodEnum<{
|
|
7353
|
-
workspace: "workspace";
|
|
7354
8039
|
session: "session";
|
|
8040
|
+
workspace: "workspace";
|
|
7355
8041
|
}>;
|
|
7356
8042
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7357
8043
|
displayName: z.ZodString;
|
|
@@ -7363,8 +8049,8 @@ declare const SessionLineageResponse: z.ZodObject<{
|
|
|
7363
8049
|
additionalBlockerCount: z.ZodNumber;
|
|
7364
8050
|
blockers: z.ZodArray<z.ZodObject<{
|
|
7365
8051
|
kind: z.ZodEnum<{
|
|
7366
|
-
workspace: "workspace";
|
|
7367
8052
|
session: "session";
|
|
8053
|
+
workspace: "workspace";
|
|
7368
8054
|
}>;
|
|
7369
8055
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7370
8056
|
displayName: z.ZodString;
|
|
@@ -7375,9 +8061,9 @@ declare const SessionLineageResponse: z.ZodObject<{
|
|
|
7375
8061
|
}, z.core.$strip>>;
|
|
7376
8062
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
7377
8063
|
scope: z.ZodEnum<{
|
|
8064
|
+
session: "session";
|
|
7378
8065
|
workspace: "workspace";
|
|
7379
8066
|
selected: "selected";
|
|
7380
|
-
session: "session";
|
|
7381
8067
|
}>;
|
|
7382
8068
|
targetId: z.ZodOptional<z.ZodString>;
|
|
7383
8069
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -7386,8 +8072,8 @@ declare const SessionLineageResponse: z.ZodObject<{
|
|
|
7386
8072
|
}>;
|
|
7387
8073
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
7388
8074
|
kind: z.ZodEnum<{
|
|
7389
|
-
workspace: "workspace";
|
|
7390
8075
|
session: "session";
|
|
8076
|
+
workspace: "workspace";
|
|
7391
8077
|
}>;
|
|
7392
8078
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
7393
8079
|
displayName: z.ZodString;
|
|
@@ -7509,6 +8195,7 @@ declare const SessionEventType: z.ZodEnum<{
|
|
|
7509
8195
|
"session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
|
|
7510
8196
|
"codex.account.switched": "codex.account.switched";
|
|
7511
8197
|
"codex.credential.selected": "codex.credential.selected";
|
|
8198
|
+
"codex.fleet.decision": "codex.fleet.decision";
|
|
7512
8199
|
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
7513
8200
|
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
7514
8201
|
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
@@ -7834,6 +8521,7 @@ declare const TerminalPtyExitedPayload: z.ZodObject<{
|
|
|
7834
8521
|
exit: "exit";
|
|
7835
8522
|
killed: "killed";
|
|
7836
8523
|
owner_gone: "owner_gone";
|
|
8524
|
+
lost: "lost";
|
|
7837
8525
|
}>;
|
|
7838
8526
|
}, z.core.$strip>;
|
|
7839
8527
|
type TerminalPtyExitedPayload = z.infer<typeof TerminalPtyExitedPayload>;
|
|
@@ -8747,8 +9435,8 @@ type TerminalExecRequest = z.infer<typeof TerminalExecRequest>;
|
|
|
8747
9435
|
declare const TerminalExecResponse: z.ZodObject<{
|
|
8748
9436
|
stdout: z.ZodString;
|
|
8749
9437
|
stderr: z.ZodString;
|
|
8750
|
-
exitCode: z.
|
|
8751
|
-
running: z.
|
|
9438
|
+
exitCode: z.ZodNumber;
|
|
9439
|
+
running: z.ZodLiteral<false>;
|
|
8752
9440
|
wallTimeSeconds: z.ZodNumber;
|
|
8753
9441
|
}, z.core.$strip>;
|
|
8754
9442
|
type TerminalExecResponse = z.infer<typeof TerminalExecResponse>;
|
|
@@ -8881,6 +9569,7 @@ declare const SessionEvent: z.ZodObject<{
|
|
|
8881
9569
|
"session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
|
|
8882
9570
|
"codex.account.switched": "codex.account.switched";
|
|
8883
9571
|
"codex.credential.selected": "codex.credential.selected";
|
|
9572
|
+
"codex.fleet.decision": "codex.fleet.decision";
|
|
8884
9573
|
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
8885
9574
|
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
8886
9575
|
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
@@ -9281,8 +9970,8 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
9281
9970
|
}>;
|
|
9282
9971
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
9283
9972
|
kind: z.ZodEnum<{
|
|
9284
|
-
workspace: "workspace";
|
|
9285
9973
|
session: "session";
|
|
9974
|
+
workspace: "workspace";
|
|
9286
9975
|
}>;
|
|
9287
9976
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9288
9977
|
displayName: z.ZodString;
|
|
@@ -9294,8 +9983,8 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
9294
9983
|
additionalBlockerCount: z.ZodNumber;
|
|
9295
9984
|
blockers: z.ZodArray<z.ZodObject<{
|
|
9296
9985
|
kind: z.ZodEnum<{
|
|
9297
|
-
workspace: "workspace";
|
|
9298
9986
|
session: "session";
|
|
9987
|
+
workspace: "workspace";
|
|
9299
9988
|
}>;
|
|
9300
9989
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9301
9990
|
displayName: z.ZodString;
|
|
@@ -9306,9 +9995,9 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
9306
9995
|
}, z.core.$strip>>;
|
|
9307
9996
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
9308
9997
|
scope: z.ZodEnum<{
|
|
9998
|
+
session: "session";
|
|
9309
9999
|
workspace: "workspace";
|
|
9310
10000
|
selected: "selected";
|
|
9311
|
-
session: "session";
|
|
9312
10001
|
}>;
|
|
9313
10002
|
targetId: z.ZodOptional<z.ZodString>;
|
|
9314
10003
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -9317,8 +10006,8 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
|
|
|
9317
10006
|
}>;
|
|
9318
10007
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
9319
10008
|
kind: z.ZodEnum<{
|
|
9320
|
-
workspace: "workspace";
|
|
9321
10009
|
session: "session";
|
|
10010
|
+
workspace: "workspace";
|
|
9322
10011
|
}>;
|
|
9323
10012
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9324
10013
|
displayName: z.ZodString;
|
|
@@ -9528,8 +10217,8 @@ declare const SessionControlResponse: z.ZodObject<{
|
|
|
9528
10217
|
}>;
|
|
9529
10218
|
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
9530
10219
|
kind: z.ZodEnum<{
|
|
9531
|
-
workspace: "workspace";
|
|
9532
10220
|
session: "session";
|
|
10221
|
+
workspace: "workspace";
|
|
9533
10222
|
}>;
|
|
9534
10223
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9535
10224
|
displayName: z.ZodString;
|
|
@@ -9541,8 +10230,8 @@ declare const SessionControlResponse: z.ZodObject<{
|
|
|
9541
10230
|
additionalBlockerCount: z.ZodNumber;
|
|
9542
10231
|
blockers: z.ZodArray<z.ZodObject<{
|
|
9543
10232
|
kind: z.ZodEnum<{
|
|
9544
|
-
workspace: "workspace";
|
|
9545
10233
|
session: "session";
|
|
10234
|
+
workspace: "workspace";
|
|
9546
10235
|
}>;
|
|
9547
10236
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9548
10237
|
displayName: z.ZodString;
|
|
@@ -9553,9 +10242,9 @@ declare const SessionControlResponse: z.ZodObject<{
|
|
|
9553
10242
|
}, z.core.$strip>>;
|
|
9554
10243
|
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
9555
10244
|
scope: z.ZodEnum<{
|
|
10245
|
+
session: "session";
|
|
9556
10246
|
workspace: "workspace";
|
|
9557
10247
|
selected: "selected";
|
|
9558
|
-
session: "session";
|
|
9559
10248
|
}>;
|
|
9560
10249
|
targetId: z.ZodOptional<z.ZodString>;
|
|
9561
10250
|
selectedStateAfter: z.ZodEnum<{
|
|
@@ -9564,8 +10253,8 @@ declare const SessionControlResponse: z.ZodObject<{
|
|
|
9564
10253
|
}>;
|
|
9565
10254
|
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
9566
10255
|
kind: z.ZodEnum<{
|
|
9567
|
-
workspace: "workspace";
|
|
9568
10256
|
session: "session";
|
|
10257
|
+
workspace: "workspace";
|
|
9569
10258
|
}>;
|
|
9570
10259
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
9571
10260
|
displayName: z.ZodString;
|
|
@@ -9663,6 +10352,8 @@ declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
9663
10352
|
}, z.core.$strip>>;
|
|
9664
10353
|
clientEventId: z.ZodOptional<z.ZodString>;
|
|
9665
10354
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
10355
|
+
expectedNewSessionDraftRevision: z.ZodOptional<z.ZodNumber>;
|
|
10356
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
9666
10357
|
firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9667
10358
|
"account:read": "account:read";
|
|
9668
10359
|
"account:admin": "account:admin";
|
|
@@ -9729,8 +10420,8 @@ declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
|
|
|
9729
10420
|
kind: z.ZodLiteral<"repository">;
|
|
9730
10421
|
}, z.core.$strict>>>;
|
|
9731
10422
|
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
9732
|
-
subject: "subject";
|
|
9733
10423
|
workspace: "workspace";
|
|
10424
|
+
subject: "subject";
|
|
9734
10425
|
}>>;
|
|
9735
10426
|
}, z.core.$strict>>;
|
|
9736
10427
|
}, z.core.$strip>>>;
|
|
@@ -10131,6 +10822,7 @@ declare const SteerSessionMessageResponse: z.ZodObject<{
|
|
|
10131
10822
|
"session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
|
|
10132
10823
|
"codex.account.switched": "codex.account.switched";
|
|
10133
10824
|
"codex.credential.selected": "codex.credential.selected";
|
|
10825
|
+
"codex.fleet.decision": "codex.fleet.decision";
|
|
10134
10826
|
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
10135
10827
|
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
10136
10828
|
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
@@ -10358,6 +11050,7 @@ declare const SessionBusMessage: z.ZodObject<{
|
|
|
10358
11050
|
"session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
|
|
10359
11051
|
"codex.account.switched": "codex.account.switched";
|
|
10360
11052
|
"codex.credential.selected": "codex.credential.selected";
|
|
11053
|
+
"codex.fleet.decision": "codex.fleet.decision";
|
|
10361
11054
|
"codex.capacity.waiting": "codex.capacity.waiting";
|
|
10362
11055
|
"codex.capacity.resumed": "codex.capacity.resumed";
|
|
10363
11056
|
"codex.capacity.superseded": "codex.capacity.superseded";
|
|
@@ -10520,6 +11213,9 @@ declare const SessionCapabilities: z.ZodObject<{
|
|
|
10520
11213
|
draining: "draining";
|
|
10521
11214
|
}>;
|
|
10522
11215
|
leaseEpoch: z.ZodNumber;
|
|
11216
|
+
workspaceGeneration: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
11217
|
+
archiveGeneration: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
11218
|
+
archiveComplete: z.ZodDefault<z.ZodBoolean>;
|
|
10523
11219
|
viewerHeartbeatIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
10524
11220
|
FileSystem: z.ZodObject<{
|
|
10525
11221
|
available: z.ZodBoolean;
|
|
@@ -10681,6 +11377,9 @@ declare const ViewerHolder: z.ZodObject<{
|
|
|
10681
11377
|
draining: "draining";
|
|
10682
11378
|
}>;
|
|
10683
11379
|
leaseEpoch: z.ZodNumber;
|
|
11380
|
+
workspaceGeneration: z.ZodNullable<z.ZodNumber>;
|
|
11381
|
+
archiveGeneration: z.ZodNullable<z.ZodNumber>;
|
|
11382
|
+
archiveComplete: z.ZodBoolean;
|
|
10684
11383
|
viewerHeartbeatIntervalMs: z.ZodNumber;
|
|
10685
11384
|
dataPlaneUrl: z.ZodNullable<z.ZodString>;
|
|
10686
11385
|
}, z.core.$strip>;
|
|
@@ -11003,6 +11702,9 @@ declare const MachineView: z.ZodObject<{
|
|
|
11003
11702
|
}>;
|
|
11004
11703
|
active: z.ZodBoolean;
|
|
11005
11704
|
isSessionGroup: z.ZodBoolean;
|
|
11705
|
+
workspaceGeneration: z.ZodNullable<z.ZodNumber>;
|
|
11706
|
+
archiveGeneration: z.ZodNullable<z.ZodNumber>;
|
|
11707
|
+
archiveComplete: z.ZodBoolean;
|
|
11006
11708
|
os: z.ZodString;
|
|
11007
11709
|
arch: z.ZodString;
|
|
11008
11710
|
hasDisplay: z.ZodBoolean;
|
|
@@ -11052,6 +11754,9 @@ declare const MachinesResponse: z.ZodObject<{
|
|
|
11052
11754
|
}>;
|
|
11053
11755
|
active: z.ZodBoolean;
|
|
11054
11756
|
isSessionGroup: z.ZodBoolean;
|
|
11757
|
+
workspaceGeneration: z.ZodNullable<z.ZodNumber>;
|
|
11758
|
+
archiveGeneration: z.ZodNullable<z.ZodNumber>;
|
|
11759
|
+
archiveComplete: z.ZodBoolean;
|
|
11055
11760
|
os: z.ZodString;
|
|
11056
11761
|
arch: z.ZodString;
|
|
11057
11762
|
hasDisplay: z.ZodBoolean;
|
|
@@ -11103,6 +11808,9 @@ declare const SwapActiveSandboxResponse: z.ZodObject<{
|
|
|
11103
11808
|
unsupported_backend_context: "unsupported_backend_context";
|
|
11104
11809
|
transient_establishment: "transient_establishment";
|
|
11105
11810
|
concurrent_swap: "concurrent_swap";
|
|
11811
|
+
recovery_in_progress: "recovery_in_progress";
|
|
11812
|
+
recovery_degraded: "recovery_degraded";
|
|
11813
|
+
recovery_unrecoverable: "recovery_unrecoverable";
|
|
11106
11814
|
}>>;
|
|
11107
11815
|
}, z.core.$strip>;
|
|
11108
11816
|
type SwapActiveSandboxResponse = z.infer<typeof SwapActiveSandboxResponse>;
|
|
@@ -11290,16 +11998,16 @@ declare const ModelBillingAttributionV1: z.ZodObject<{
|
|
|
11290
11998
|
type ModelBillingAttributionV1 = z.infer<typeof ModelBillingAttributionV1>;
|
|
11291
11999
|
declare const TURN_EXECUTION_POLICY_METADATA_KEY: "turnExecutionPolicyV1";
|
|
11292
12000
|
declare const TurnExecutionModelSourceV1: z.ZodEnum<{
|
|
11293
|
-
explicit: "explicit";
|
|
11294
12001
|
session: "session";
|
|
11295
12002
|
deployment: "deployment";
|
|
12003
|
+
explicit: "explicit";
|
|
11296
12004
|
continuation: "continuation";
|
|
11297
12005
|
}>;
|
|
11298
12006
|
type TurnExecutionModelSourceV1 = z.infer<typeof TurnExecutionModelSourceV1>;
|
|
11299
12007
|
declare const TurnExecutionReasoningSourceV1: z.ZodEnum<{
|
|
11300
|
-
explicit: "explicit";
|
|
11301
12008
|
session: "session";
|
|
11302
12009
|
deployment: "deployment";
|
|
12010
|
+
explicit: "explicit";
|
|
11303
12011
|
continuation: "continuation";
|
|
11304
12012
|
}>;
|
|
11305
12013
|
type TurnExecutionReasoningSourceV1 = z.infer<typeof TurnExecutionReasoningSourceV1>;
|
|
@@ -11316,9 +12024,9 @@ declare const TurnExecutionPolicyV1: z.ZodObject<{
|
|
|
11316
12024
|
productModelId: z.ZodString;
|
|
11317
12025
|
requestedModelId: z.ZodNullable<z.ZodString>;
|
|
11318
12026
|
modelSource: z.ZodEnum<{
|
|
11319
|
-
explicit: "explicit";
|
|
11320
12027
|
session: "session";
|
|
11321
12028
|
deployment: "deployment";
|
|
12029
|
+
explicit: "explicit";
|
|
11322
12030
|
continuation: "continuation";
|
|
11323
12031
|
}>;
|
|
11324
12032
|
reasoningEffort: z.ZodEnum<{
|
|
@@ -11330,9 +12038,9 @@ declare const TurnExecutionPolicyV1: z.ZodObject<{
|
|
|
11330
12038
|
xhigh: "xhigh";
|
|
11331
12039
|
}>;
|
|
11332
12040
|
reasoningSource: z.ZodEnum<{
|
|
11333
|
-
explicit: "explicit";
|
|
11334
12041
|
session: "session";
|
|
11335
12042
|
deployment: "deployment";
|
|
12043
|
+
explicit: "explicit";
|
|
11336
12044
|
continuation: "continuation";
|
|
11337
12045
|
}>;
|
|
11338
12046
|
providerId: z.ZodString;
|
|
@@ -12389,4 +13097,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
|
|
|
12389
13097
|
modelId: string;
|
|
12390
13098
|
}): WorkspaceModelPolicyVerdict;
|
|
12391
13099
|
|
|
12392
|
-
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubInstallationBinding, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveSessionQueueItemRequest, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, defaultRepositoryMountPath, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, isClearedRunStateBlob, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, prefixedMcpToolName, readTurnExecutionPolicyV1, reasoningEffortForMetadata, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };
|
|
13100
|
+
export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubInstallationBinding, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, isClearedRunStateBlob, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };
|