@stndrds/schema 1.0.0-alpha.293 → 1.0.0-alpha.295

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.
Files changed (127) hide show
  1. package/LICENSE +111 -0
  2. package/README.md +7 -0
  3. package/dist/capabilities.js +2 -77
  4. package/dist/capabilities.mjs +2 -70
  5. package/dist/chunk-23KPS33D.js +2 -0
  6. package/dist/chunk-257HAQVV.mjs +6 -0
  7. package/dist/chunk-47KVYDKG.js +2 -0
  8. package/dist/chunk-4OTKOCGB.mjs +2 -0
  9. package/dist/chunk-4VCADZK4.mjs +2 -0
  10. package/dist/chunk-7SDHYJX4.mjs +2 -0
  11. package/dist/chunk-DPD6ZWL2.js +2 -0
  12. package/dist/chunk-EREGHAGI.js +2 -0
  13. package/dist/chunk-GKXTXH4Y.mjs +2 -0
  14. package/dist/chunk-GXSNLYRR.js +2 -0
  15. package/dist/chunk-HTY3NECU.mjs +2 -0
  16. package/dist/chunk-JFSQ24XR.js +2 -0
  17. package/dist/chunk-JOJ4LF2I.js +2 -0
  18. package/dist/chunk-JOS2XMXY.js +2 -0
  19. package/dist/chunk-JVLH3DVZ.js +2 -0
  20. package/dist/chunk-KG2ADZG6.mjs +2 -0
  21. package/dist/chunk-KLR22JMC.js +2 -0
  22. package/dist/chunk-KSPJP74K.mjs +2 -0
  23. package/dist/chunk-KYPEBOPW.mjs +2 -0
  24. package/dist/chunk-LB4TNMZU.mjs +2 -0
  25. package/dist/chunk-LSCBR4VS.js +2 -0
  26. package/dist/chunk-LWSOKXPF.js +2 -0
  27. package/dist/chunk-O34B5KOW.mjs +2 -0
  28. package/dist/chunk-OCAMDRO3.mjs +4 -0
  29. package/dist/chunk-PFO7NWQW.mjs +2 -0
  30. package/dist/chunk-Q7TQCRSD.mjs +2 -0
  31. package/dist/chunk-SLYRQ72J.js +2 -0
  32. package/dist/chunk-TKABCIEO.js +12 -0
  33. package/dist/chunk-TP63U7PL.js +4 -0
  34. package/dist/chunk-UXISKZ5Y.js +2 -0
  35. package/dist/chunk-VKFLXFPP.mjs +2 -0
  36. package/dist/chunk-WMQRTFOP.mjs +2 -0
  37. package/dist/chunk-XHEBV2HE.js +2 -0
  38. package/dist/chunk-XMQV2WFY.mjs +2 -0
  39. package/dist/chunk-XPF6CGAW.js +6 -0
  40. package/dist/chunk-XRDP2Y4J.mjs +2 -0
  41. package/dist/chunk-XUAP7KWK.js +2 -0
  42. package/dist/chunk-XXTKNIBK.js +2 -0
  43. package/dist/chunk-YBDR5ZMH.mjs +12 -0
  44. package/dist/chunk-YIXNAWH6.mjs +2 -0
  45. package/dist/exceptions.d.mts +9 -0
  46. package/dist/exceptions.d.ts +9 -0
  47. package/dist/exceptions.js +1 -158
  48. package/dist/exceptions.mjs +1 -1
  49. package/dist/index.d.mts +423 -116
  50. package/dist/index.d.ts +423 -116
  51. package/dist/index.js +30 -10513
  52. package/dist/index.mjs +30 -9626
  53. package/dist/utils.js +1 -31
  54. package/dist/utils.mjs +1 -2
  55. package/dist/validation/all.js +1 -131
  56. package/dist/validation/all.mjs +1 -18
  57. package/dist/validation/complex/currency.js +1 -11
  58. package/dist/validation/complex/currency.mjs +1 -2
  59. package/dist/validation/complex/location.js +1 -11
  60. package/dist/validation/complex/location.mjs +1 -2
  61. package/dist/validation/complex/phone.js +1 -11
  62. package/dist/validation/complex/phone.mjs +1 -2
  63. package/dist/validation/complex/relation.js +1 -19
  64. package/dist/validation/complex/relation.mjs +1 -2
  65. package/dist/validation/complex/richtext.js +1 -11
  66. package/dist/validation/complex/richtext.mjs +1 -2
  67. package/dist/validation/complex/select.js +1 -19
  68. package/dist/validation/complex/select.mjs +1 -2
  69. package/dist/validation/complex/user.js +1 -11
  70. package/dist/validation/complex/user.mjs +1 -2
  71. package/dist/validation/computed/formula.js +1 -11
  72. package/dist/validation/computed/formula.mjs +1 -2
  73. package/dist/validation/computed/rollup.js +1 -11
  74. package/dist/validation/computed/rollup.mjs +1 -2
  75. package/dist/validation/config/index.js +1 -52
  76. package/dist/validation/config/index.mjs +1 -7
  77. package/dist/validation/core/index.js +1 -14
  78. package/dist/validation/core/index.mjs +1 -1
  79. package/dist/validation/object/index.js +1 -69
  80. package/dist/validation/object/index.mjs +1 -16
  81. package/dist/validation/primitives/checkbox.js +1 -11
  82. package/dist/validation/primitives/checkbox.mjs +1 -2
  83. package/dist/validation/primitives/date.js +1 -11
  84. package/dist/validation/primitives/date.mjs +1 -2
  85. package/dist/validation/primitives/number.js +1 -11
  86. package/dist/validation/primitives/number.mjs +1 -2
  87. package/dist/validation/primitives/text.js +1 -11
  88. package/dist/validation/primitives/text.mjs +1 -2
  89. package/package.json +7 -5
  90. package/dist/chunk-5N7OSHVX.js +0 -657
  91. package/dist/chunk-5WATIVCA.js +0 -10
  92. package/dist/chunk-ACKMC6FL.js +0 -17
  93. package/dist/chunk-APRL56F4.mjs +0 -226
  94. package/dist/chunk-AYVHMVKQ.mjs +0 -15
  95. package/dist/chunk-C32UUQ6D.js +0 -241
  96. package/dist/chunk-E6JUYGJX.js +0 -22
  97. package/dist/chunk-EEH4XQ7W.js +0 -61
  98. package/dist/chunk-EW5XR2X3.js +0 -12
  99. package/dist/chunk-GO6LQADH.mjs +0 -57
  100. package/dist/chunk-GRUSTQK3.mjs +0 -641
  101. package/dist/chunk-HRQEZUAA.mjs +0 -29
  102. package/dist/chunk-HTSTPTNZ.js +0 -10
  103. package/dist/chunk-KNGWHQLR.js +0 -16
  104. package/dist/chunk-LV3FEUKU.mjs +0 -14
  105. package/dist/chunk-NS63SPNN.mjs +0 -8
  106. package/dist/chunk-O73ROMWQ.mjs +0 -85
  107. package/dist/chunk-OASIPLEB.js +0 -1504
  108. package/dist/chunk-OSSGN43B.mjs +0 -8
  109. package/dist/chunk-P4VCAPJT.js +0 -81
  110. package/dist/chunk-Q44QKLN4.mjs +0 -43
  111. package/dist/chunk-Q4SZAMJT.js +0 -72
  112. package/dist/chunk-QVLQPW3O.mjs +0 -10
  113. package/dist/chunk-QWKLQRBX.js +0 -35
  114. package/dist/chunk-R5LAJCBU.mjs +0 -67
  115. package/dist/chunk-SI34M4IC.js +0 -45
  116. package/dist/chunk-UANQJ2GH.mjs +0 -25
  117. package/dist/chunk-ULM2BA5A.mjs +0 -1432
  118. package/dist/chunk-UXAHLSWC.mjs +0 -8
  119. package/dist/chunk-V2UA2D4E.js +0 -10
  120. package/dist/chunk-VGGGLTYJ.mjs +0 -74
  121. package/dist/chunk-Y3UPKP2B.js +0 -605
  122. package/dist/chunk-YIP5FJ5H.js +0 -27
  123. package/dist/chunk-YKWSHBT5.js +0 -32
  124. package/dist/chunk-YUFTHPOE.mjs +0 -20
  125. package/dist/chunk-Z5OPSBMQ.mjs +0 -566
  126. package/dist/chunk-ZDQ5AP26.mjs +0 -31
  127. package/dist/chunk-ZPFOKBIN.js +0 -89
package/dist/index.d.mts CHANGED
@@ -1239,12 +1239,12 @@ declare const PRESENTATION_PROPERTIES: readonly ["label", "description", "placeh
1239
1239
  /**
1240
1240
  * Type of resource that can be audited
1241
1241
  */
1242
- declare const AUDIT_RESOURCE_TYPES: readonly ["record", "object", "attribute", "view", "user", "role", "settings", "file", "agent"];
1242
+ declare const AUDIT_RESOURCE_TYPES: readonly ["record", "object", "attribute", "view", "user", "role", "settings", "file", "agent", "schema_source"];
1243
1243
  type AuditResourceType = (typeof AUDIT_RESOURCE_TYPES)[number];
1244
1244
  /**
1245
1245
  * Actions that can be audited
1246
1246
  */
1247
- declare const AUDIT_ACTIONS: readonly ["record.created", "record.updated", "record.deleted", "record.restored", "record.purged", "object.created", "object.updated", "object.deleted", "attribute.created", "attribute.updated", "attribute.deleted", "view.created", "view.updated", "view.deleted", "user.created", "user.invited", "user.updated", "user.deleted", "user.login", "user.logout", "role.created", "role.updated", "role.deleted", "role.assigned", "role.revoked", "settings.updated", "file.uploaded", "file.updated", "file.deleted"];
1247
+ declare const AUDIT_ACTIONS: readonly ["record.created", "record.updated", "record.deleted", "record.restored", "record.purged", "object.created", "object.updated", "object.deleted", "attribute.created", "attribute.updated", "attribute.deleted", "view.created", "view.updated", "view.deleted", "schema_source.applied", "schema_source.removed", "user.created", "user.invited", "user.updated", "user.deleted", "user.login", "user.logout", "role.created", "role.updated", "role.deleted", "role.assigned", "role.revoked", "settings.updated", "file.uploaded", "file.updated", "file.deleted"];
1248
1248
  type AuditAction = (typeof AUDIT_ACTIONS)[number];
1249
1249
  /**
1250
1250
  * Actor type - who performed the action
@@ -1383,6 +1383,90 @@ interface FieldHistoryEntry {
1383
1383
  createdAt: Date;
1384
1384
  }
1385
1385
 
1386
+ /**
1387
+ * The synthetic stream lane carrying `data-session-state` chunks. Server and
1388
+ * client must share the literal: the publisher enqueues state batches on it,
1389
+ * and the client routes it straight to the versioned session writer.
1390
+ */
1391
+ declare const SESSION_STATE_STREAM_ID = "session-state";
1392
+ /**
1393
+ * Payload of the transient `data-session-state` chunk: the complete structured
1394
+ * session state plus the SAME version envelope the Supabase patch publishes,
1395
+ * so the two channels carry identical numbers for one write.
1396
+ */
1397
+ interface SessionStateChunkData {
1398
+ state: SessionState;
1399
+ version: number;
1400
+ updatedAt: string;
1401
+ }
1402
+ declare const NATIVE_AGENT_UI_PART_IDS_METADATA_KEY = "__stndrdsNativeUiPartIds";
1403
+ declare const NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION: 1;
1404
+ type NativeAgentUIPartIds = Readonly<Record<string, string>>;
1405
+ interface NativeAgentUIPartIdsMetadata {
1406
+ readonly schemaVersion: typeof NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION;
1407
+ readonly partIds: NativeAgentUIPartIds;
1408
+ }
1409
+ /** Stable metadata key for a native AI SDK part in the durable message-wide part order. */
1410
+ declare function nativeAgentUIPartIdMetadataKey(part: AgentMessagePart, partIndex: number): string | undefined;
1411
+ /**
1412
+ * Validates the versioned client-visible native ID map against the durable
1413
+ * message shape. Legacy row-ID maps deliberately fail closed.
1414
+ */
1415
+ declare function parseNativeAgentUIPartIdsMetadata(message: Pick<AgentSessionMessage, "parts" | "metadata">): NativeAgentUIPartIds;
1416
+ /** Usage information rendered alongside an agent response. */
1417
+ interface AgentUsageView {
1418
+ /** The assistant message this completion billed; never infer it from arrival order. */
1419
+ messageId?: string;
1420
+ inputTokens: number;
1421
+ outputTokens: number;
1422
+ totalTokens: number;
1423
+ cacheReadTokens?: number;
1424
+ cacheCreationTokens?: number;
1425
+ contextWindow: number;
1426
+ residentTokens: number;
1427
+ utilization: number;
1428
+ costUsd?: number;
1429
+ }
1430
+ /** Data payloads carried by the AI SDK UI message stream for agent sessions. */
1431
+ interface AgentUIDataTypes {
1432
+ "session-named": {
1433
+ name: string;
1434
+ };
1435
+ "compaction-start": {
1436
+ reason: "preflight_threshold" | "overflow_recovery";
1437
+ estimatedTokens?: number;
1438
+ reportedTokens?: number;
1439
+ };
1440
+ "compaction-end": {
1441
+ tokensBefore: number;
1442
+ tokensAfter: number;
1443
+ tokensSaved: number;
1444
+ strategy: CompactionStrategy;
1445
+ durationMs: number;
1446
+ summary?: string;
1447
+ };
1448
+ "compaction-failed": {
1449
+ reason: string;
1450
+ };
1451
+ usage: AgentUsageView;
1452
+ "message-persisted": {
1453
+ message: AgentSessionMessage;
1454
+ };
1455
+ "message-updated": {
1456
+ message: AgentSessionMessage;
1457
+ };
1458
+ "todo-plan-update": {
1459
+ plan: AgentTodoPlanView;
1460
+ };
1461
+ "approval-context": {
1462
+ approvalId: string;
1463
+ toolCallId: string;
1464
+ impact?: ToolImpact;
1465
+ relaxableByAuto?: boolean;
1466
+ };
1467
+ "session-state": SessionStateChunkData;
1468
+ }
1469
+
1386
1470
  /**
1387
1471
  * Outcome of a compaction pass: a no-op (context already small enough), an LLM
1388
1472
  * `summary`, or a degraded `truncation` (the summarizer failed/timed out/returned
@@ -1506,12 +1590,15 @@ interface AgentInferencePreferences {
1506
1590
  /** Durable per-conversation dimensions layered over an agent's inference defaults. */
1507
1591
  interface AgentSessionInferenceOverrides extends AgentInferencePreferences {
1508
1592
  model?: ModelReference;
1593
+ /** Dedicated Gateway image ID; absence inherits the server's image default. */
1594
+ imageModel?: string;
1509
1595
  }
1510
1596
  /** Strict session patch: omitted inherits, explicit null clears that dimension. */
1511
1597
  type SessionInferencePatch = {
1512
1598
  model?: ModelReference | null;
1513
1599
  speed?: InferenceSpeed | null;
1514
1600
  reasoning?: InferenceReasoning | null;
1601
+ imageModel?: string | null;
1515
1602
  };
1516
1603
  interface ModelDefinition extends ModelReference {
1517
1604
  maxTokens?: number;
@@ -1898,6 +1985,10 @@ interface ToolImpact {
1898
1985
  counts?: Record<string, number>;
1899
1986
  warnings?: string[];
1900
1987
  }
1988
+ /** Why the server ended a turn with a line of its own in the transcript. */
1989
+ type SystemPartCode = "CREDITS_EXHAUSTED";
1990
+ declare const SYSTEM_PART_CODES: readonly ["CREDITS_EXHAUSTED"];
1991
+ declare function isSystemPartCode(value: unknown): value is SystemPartCode;
1901
1992
  type AgentMessagePart = {
1902
1993
  type: "text";
1903
1994
  text: string;
@@ -1908,6 +1999,11 @@ type AgentMessagePart = {
1908
1999
  type: "error";
1909
2000
  error: string;
1910
2001
  errorClass?: string;
2002
+ }
2003
+ /** A server-authored line in the transcript: the turn ended for a reason the user must see. */
2004
+ | {
2005
+ type: "system";
2006
+ code: SystemPartCode;
1911
2007
  } | {
1912
2008
  type: "tool";
1913
2009
  toolCallId: string;
@@ -2301,11 +2397,10 @@ type CompactionPartData = {
2301
2397
  reason: string;
2302
2398
  durationMs?: number;
2303
2399
  };
2304
- /**
2305
- * Data for an interruption marker. Carries nothing: the part's presence IS the
2306
- * fact, and the mapper emits `{}` for it.
2307
- */
2308
- type InterruptionPartData = Record<string, never>;
2400
+ /** `reason` names why the turn stopped; absent for a plain network/abort interruption. */
2401
+ type InterruptionPartData = {
2402
+ reason?: "credits";
2403
+ };
2309
2404
  /**
2310
2405
  * One rendered part of a chat message, discriminated on `type`.
2311
2406
  *
@@ -2379,6 +2474,8 @@ interface AIChatNotification {
2379
2474
  * - Stream processing
2380
2475
  */
2381
2476
  interface AIChatMessage {
2477
+ /** Validated, durable completion usage from this message's metadata. */
2478
+ usage?: AgentUsageView;
2382
2479
  /** Unique message ID */
2383
2480
  id: string;
2384
2481
  /** Message role */
@@ -2562,27 +2659,6 @@ interface AITodoList {
2562
2659
  progress: number;
2563
2660
  isComplete: boolean;
2564
2661
  }
2565
- /**
2566
- * AI Usage Metrics record
2567
- */
2568
- interface AIUsageMetrics {
2569
- id: string;
2570
- tenantId: string;
2571
- date: Date;
2572
- requestCount: number;
2573
- totalTokens: number;
2574
- totalCost: number;
2575
- providerBreakdown: Record<string, AIProviderMetrics>;
2576
- toolUsage: Record<string, number>;
2577
- }
2578
- /**
2579
- * Provider-specific metrics
2580
- */
2581
- interface AIProviderMetrics {
2582
- requests: number;
2583
- tokens: number;
2584
- cost: number;
2585
- }
2586
2662
  /**
2587
2663
  * Memory type for categorization
2588
2664
  *
@@ -2624,88 +2700,6 @@ interface AICompactionSummary {
2624
2700
  compactedAt: Date;
2625
2701
  }
2626
2702
 
2627
- /**
2628
- * The synthetic stream lane carrying `data-session-state` chunks. Server and
2629
- * client must share the literal: the publisher enqueues state batches on it,
2630
- * and the client routes it straight to the versioned session writer.
2631
- */
2632
- declare const SESSION_STATE_STREAM_ID = "session-state";
2633
- /**
2634
- * Payload of the transient `data-session-state` chunk: the complete structured
2635
- * session state plus the SAME version envelope the Supabase patch publishes,
2636
- * so the two channels carry identical numbers for one write.
2637
- */
2638
- interface SessionStateChunkData {
2639
- state: SessionState;
2640
- version: number;
2641
- updatedAt: string;
2642
- }
2643
- declare const NATIVE_AGENT_UI_PART_IDS_METADATA_KEY = "__stndrdsNativeUiPartIds";
2644
- declare const NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION: 1;
2645
- type NativeAgentUIPartIds = Readonly<Record<string, string>>;
2646
- interface NativeAgentUIPartIdsMetadata {
2647
- readonly schemaVersion: typeof NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION;
2648
- readonly partIds: NativeAgentUIPartIds;
2649
- }
2650
- /** Stable metadata key for a native AI SDK part in the durable message-wide part order. */
2651
- declare function nativeAgentUIPartIdMetadataKey(part: AgentMessagePart, partIndex: number): string | undefined;
2652
- /**
2653
- * Validates the versioned client-visible native ID map against the durable
2654
- * message shape. Legacy row-ID maps deliberately fail closed.
2655
- */
2656
- declare function parseNativeAgentUIPartIdsMetadata(message: Pick<AgentSessionMessage, "parts" | "metadata">): NativeAgentUIPartIds;
2657
- /** Usage information rendered alongside an agent response. */
2658
- interface AgentUsageView {
2659
- inputTokens: number;
2660
- outputTokens: number;
2661
- totalTokens: number;
2662
- cacheReadTokens?: number;
2663
- cacheCreationTokens?: number;
2664
- contextWindow: number;
2665
- residentTokens: number;
2666
- utilization: number;
2667
- costUsd?: number;
2668
- }
2669
- /** Data payloads carried by the AI SDK UI message stream for agent sessions. */
2670
- interface AgentUIDataTypes {
2671
- "session-named": {
2672
- name: string;
2673
- };
2674
- "compaction-start": {
2675
- reason: "preflight_threshold" | "overflow_recovery";
2676
- estimatedTokens?: number;
2677
- reportedTokens?: number;
2678
- };
2679
- "compaction-end": {
2680
- tokensBefore: number;
2681
- tokensAfter: number;
2682
- tokensSaved: number;
2683
- strategy: CompactionStrategy;
2684
- durationMs: number;
2685
- summary?: string;
2686
- };
2687
- "compaction-failed": {
2688
- reason: string;
2689
- };
2690
- usage: AgentUsageView;
2691
- "message-persisted": {
2692
- message: AgentSessionMessage;
2693
- };
2694
- "message-updated": {
2695
- message: AgentSessionMessage;
2696
- };
2697
- "todo-plan-update": {
2698
- plan: AgentTodoPlanView;
2699
- };
2700
- "approval-context": {
2701
- approvalId: string;
2702
- toolCallId: string;
2703
- impact?: ToolImpact;
2704
- relaxableByAuto?: boolean;
2705
- };
2706
- "session-state": SessionStateChunkData;
2707
- }
2708
-
2709
2703
  /** The browser and relay use mono signed 16-bit little-endian PCM. */
2710
2704
  declare const DICTATION_SAMPLE_RATE: 16000;
2711
2705
  declare const DICTATION_FRAME_BYTES = 3200;
@@ -4764,6 +4758,8 @@ interface SystemObjectDriftInfo {
4764
4758
  objectName: string;
4765
4759
  objectLabel: string;
4766
4760
  sealed: boolean;
4761
+ /** Remote schema source that declares this object, when it was pushed through `/schema/sources`. */
4762
+ source?: string;
4767
4763
  customAttributes: DriftAttributeInfo[];
4768
4764
  }
4769
4765
  interface SchemaDriftResult {
@@ -4843,6 +4839,136 @@ interface AIGenerationResult {
4843
4839
  usage: AIGenerationUsage;
4844
4840
  }
4845
4841
 
4842
+ /** Client-safe AI usage and wallet vocabulary, shared by the journal, the API and the composer. */
4843
+ type UsageModality = "text" | "image" | "audio" | "video" | "embedding";
4844
+ /** Whose usage a report covers: the caller's own (agents folded into their principal) or the whole workspace. */
4845
+ type UsageScope = "me" | "workspace";
4846
+ /** One aggregate of journal rows; money as decimal strings, counts as integers. */
4847
+ interface UsageBucket {
4848
+ /** Money the Gateway reported or looked up (`cost_source` gateway-response / gateway-lookup). */
4849
+ confirmedCostUsd: string;
4850
+ /**
4851
+ * Cost of successful rows the Gateway never priced: catalogue estimates, else
4852
+ * the admission estimate of a row whose cost stayed pending or unknown. Open
4853
+ * holds, failed and expired rows count nothing here.
4854
+ */
4855
+ estimatedCostUsd: string;
4856
+ /** Successful rows whose cost is still pending plus rows still open (reserved, in flight, indeterminate). */
4857
+ pendingCount: number;
4858
+ calls: number;
4859
+ inputTokens: number;
4860
+ outputTokens: number;
4861
+ audioInputMs: number;
4862
+ outputCount: number;
4863
+ }
4864
+ /** `GET /ai/usage`: totals and breakdowns over an inclusive UTC day window. */
4865
+ interface UsageReport {
4866
+ from: string;
4867
+ to: string;
4868
+ scope: UsageScope;
4869
+ totals: UsageBucket;
4870
+ /** Every day of the window, zeros included. */
4871
+ byDay: Array<{
4872
+ day: string;
4873
+ } & UsageBucket>;
4874
+ byModality: Array<{
4875
+ modality: UsageModality;
4876
+ } & UsageBucket>;
4877
+ /** `model` is the executed model when known, else the requested one. */
4878
+ byModel: Array<{
4879
+ model: string;
4880
+ provider: string | null;
4881
+ } & UsageBucket>;
4882
+ /** Workspace scope only. */
4883
+ byMember?: Array<{
4884
+ actorId: string;
4885
+ displayName: string;
4886
+ } & UsageBucket>;
4887
+ /** Absent under metering-only. */
4888
+ wallet?: WalletState;
4889
+ }
4890
+ type UsageCostSource = "gateway-response" | "gateway-lookup" | "catalog-estimate";
4891
+ /**
4892
+ * Unknown billing evidence is never represented by a zero-dollar charge.
4893
+ * `usd` is a decimal string, never a float.
4894
+ */
4895
+ type UsageCost = {
4896
+ status: "confirmed";
4897
+ usd: string;
4898
+ source: UsageCostSource;
4899
+ } | {
4900
+ status: "pending" | "unknown";
4901
+ usd: null;
4902
+ source: null;
4903
+ };
4904
+ type WalletStatus = "ok" | "low" | "exhausted" | "paused";
4905
+ type BillingMode = "metering-only" | "contract" | "wallet";
4906
+ interface WalletState {
4907
+ mode: BillingMode;
4908
+ status: WalletStatus;
4909
+ /** Decimal strings; absent under metering-only. */
4910
+ availableUsd?: string;
4911
+ reservedUsd?: string;
4912
+ /** `YYYY-MM` of the current grant/cap period; absent under metering-only. */
4913
+ period?: string;
4914
+ /** Present when a rate card is configured. */
4915
+ credits?: {
4916
+ available: number;
4917
+ version: string;
4918
+ };
4919
+ }
4920
+
4921
+ declare const IMAGE_FORMATS: readonly ["square", "landscape", "portrait"];
4922
+ type ImageFormat = (typeof IMAGE_FORMATS)[number];
4923
+ interface ImageModelOption {
4924
+ id: string;
4925
+ name: string;
4926
+ provider: string;
4927
+ formats: readonly ImageFormat[];
4928
+ }
4929
+ interface ImageModelCatalog {
4930
+ defaultModelId: string | null;
4931
+ models: readonly ImageModelOption[];
4932
+ }
4933
+ /** Image attempts carry the shared usage cost; kept as a name for existing callers. */
4934
+ type ImageCost = UsageCost;
4935
+ interface GenerateImageInput {
4936
+ prompt: string;
4937
+ name: string;
4938
+ format: ImageFormat;
4939
+ }
4940
+ /** Keep the strict publication receipt intact, nested inside the tool result. */
4941
+ interface GenerateImageResult {
4942
+ kind: "generated-image";
4943
+ artifact: PublishArtifactResult;
4944
+ generation: {
4945
+ attemptId: string;
4946
+ requestedModelId: string;
4947
+ executedModelId: string | null;
4948
+ format: ImageFormat;
4949
+ mimeType: "image/png" | "image/jpeg" | "image/webp";
4950
+ };
4951
+ }
4952
+ interface ImageUsageSummary {
4953
+ requestCount: number;
4954
+ generatedImageCount: number;
4955
+ confirmedCostUsd: string;
4956
+ pendingCostCount: number;
4957
+ }
4958
+ interface SessionImageUsage {
4959
+ session: ImageUsageSummary;
4960
+ tree: ImageUsageSummary;
4961
+ byMessage: Record<string, ImageUsageSummary>;
4962
+ attempts: readonly {
4963
+ attemptId: string;
4964
+ messageId: string;
4965
+ requestedModelId: string;
4966
+ executedModelId: string | null;
4967
+ provider: string | null;
4968
+ cost: ImageCost;
4969
+ }[];
4970
+ }
4971
+
4846
4972
  /**
4847
4973
  * Utility functions for working with objects.
4848
4974
  * Provides type-safe helpers to avoid common anti-patterns like Object.keys().length checks.
@@ -8398,6 +8524,14 @@ declare class NativeObjectRegistryClass {
8398
8524
  */
8399
8525
  declare const registry: NativeObjectRegistryClass;
8400
8526
 
8527
+ /**
8528
+ * Default content seeded into every newly created skill. Follows Anthropic's
8529
+ * skill-authoring guidance: state what the skill does, when it triggers,
8530
+ * imperative step-by-step instructions, at least one concrete example, and
8531
+ * explicit boundaries. The agent reads this page verbatim via `get_skill`, so
8532
+ * the scaffold is written as instructions to the author about what to replace.
8533
+ */
8534
+ declare const SKILL_CONTENT_TEMPLATE = "## Overview\n\nDescribe in one or two sentences what this skill does and the outcome it produces. The agent reads this page when it uses the skill \u2014 write instructions for the agent, not documentation for people.\n\n## When to use\n\nList the situations or requests that should trigger this skill. Concrete phrases beat vague categories.\n\n- When asked to \u2026\n- When a record of \u2026 needs \u2026\n\n## Instructions\n\nWrite imperative, step-by-step directions. Name the exact objects, documents, or tools involved \u2014 the agent follows these literally.\n\n1. First, \u2026\n2. Then, \u2026\n3. Finally, \u2026\n\n## Examples\n\nShow at least one concrete example of the skill applied well.\n\n**Request:** \"\u2026\"\n\n**Expected result:** \u2026\n\n## What to avoid\n\n- Never \u2026\n- Do not \u2026\n";
8401
8535
  declare const SKILL_OBJECT: ObjectDefinition;
8402
8536
  declare const SKILL_VIEW: DetailViewDefinition;
8403
8537
  declare const SKILL_LIST_VIEW: ListViewDefinition;
@@ -8434,6 +8568,59 @@ declare const ARTIFACT_OBJECT: ObjectDefinition;
8434
8568
  /** Generic presentation for hosts that explicitly surface their artifacts. */
8435
8569
  declare const ARTIFACT_LIST_VIEW: ListViewDefinition;
8436
8570
 
8571
+ /** The native object name. Imported instead of retyped at every call site. */
8572
+ declare const MEETING_OBJECT_NAME = "meeting";
8573
+ /**
8574
+ * Attribute names, in one place, so the writer, the reader and the UI never
8575
+ * disagree on a spelling.
8576
+ */
8577
+ declare const MEETING_ATTRIBUTES: {
8578
+ readonly title: "title";
8579
+ readonly description: "description";
8580
+ readonly location: "location";
8581
+ readonly startsAt: "startsAt";
8582
+ readonly endsAt: "endsAt";
8583
+ readonly isAllDay: "isAllDay";
8584
+ readonly status: "status";
8585
+ readonly organizerAddress: "organizerAddress";
8586
+ readonly organizerName: "organizerName";
8587
+ readonly conferenceProvider: "conferenceProvider";
8588
+ readonly conferenceJoinUrl: "conferenceJoinUrl";
8589
+ readonly htmlLink: "htmlLink";
8590
+ readonly participants: "participants";
8591
+ readonly providerEventId: "providerEventId";
8592
+ readonly icalUid: "icalUid";
8593
+ readonly recurringEventId: "recurringEventId";
8594
+ readonly connectionId: "connectionId";
8595
+ readonly recordingOverride: "recordingOverride";
8596
+ readonly endedAnnouncedAt: "endedAnnouncedAt";
8597
+ readonly linkedRecords: "linkedRecords";
8598
+ };
8599
+ declare const MEETING_LIST_VIEW_ID = "meeting-list";
8600
+ /** The `hookMetadata.source` the calendar sync stamps on its own writes; the
8601
+ * records engine lets only that source write the provider's attributes. */
8602
+ declare const MEETING_WRITE_SOURCE = "calendar-sync";
8603
+ declare const MEETING_DETAIL_VIEW_ID = "meeting-detail";
8604
+ /**
8605
+ * A meeting is a calendar event that happens to be a record.
8606
+ *
8607
+ * Every value but `linkedRecords` is the provider's: Google or Microsoft is the
8608
+ * truth, and the sync rewrites them. `linkedRecords` is the one intent a person
8609
+ * expresses here — which deal, contact or company this call was about — and
8610
+ * the sync only ever touches the links it resolved itself (see
8611
+ * MeetingRecordWriter).
8612
+ *
8613
+ * Sealed and hidden for the same reasons as `drives`: an attribute added at
8614
+ * runtime would render nowhere, and the Meetings page is the surface.
8615
+ *
8616
+ * `recordingOverride` and `endedAnnouncedAt` are platform bookkeeping stored on
8617
+ * the record because they belong to exactly one meeting; both are written
8618
+ * through the platform, never by a user directly.
8619
+ */
8620
+ declare const MEETING_OBJECT: ObjectDefinition;
8621
+ declare const MEETING_VIEW: DetailViewDefinition;
8622
+ declare const MEETING_LIST_VIEW: ListViewDefinition;
8623
+
8437
8624
  /**
8438
8625
  * Registry for developer-defined view definitions
8439
8626
  *
@@ -9245,7 +9432,14 @@ type ChannelRevokedLiveEvent = {
9245
9432
  channel: string;
9246
9433
  reason: "permission-revoked" | "workspace-left" | "object-deleted";
9247
9434
  };
9248
- type LiveEventPayload = RecordPatchLiveEvent | RecordDeletedLiveEvent | RecordRemovedLiveEvent | RecordCreatedLiveEvent | ViewProjectionStaleLiveEvent | AgentSessionPatchLiveEvent | NotificationCreatedLiveEvent | NotificationRecipientPatchLiveEvent | NotificationCountPatchLiveEvent | NotificationInboxArchivedLiveEvent | ReflexStateChangedLiveEvent | ReflexRunCompletedLiveEvent | ReflexAuthoringProgressLiveEvent | ArchitectDraftUpdatedLiveEvent | MeetingRecordingPatchLiveEvent | ChannelRevokedLiveEvent;
9435
+ /** The tenant wallet crossed a status boundary; clients refetch `GET /ai/wallet`. */
9436
+ type WalletStateLiveEvent = {
9437
+ type: "wallet.state";
9438
+ status: WalletStatus;
9439
+ mode: BillingMode;
9440
+ updatedAt: string;
9441
+ };
9442
+ type LiveEventPayload = RecordPatchLiveEvent | RecordDeletedLiveEvent | RecordRemovedLiveEvent | RecordCreatedLiveEvent | ViewProjectionStaleLiveEvent | AgentSessionPatchLiveEvent | NotificationCreatedLiveEvent | NotificationRecipientPatchLiveEvent | NotificationCountPatchLiveEvent | NotificationInboxArchivedLiveEvent | ReflexStateChangedLiveEvent | ReflexRunCompletedLiveEvent | ReflexAuthoringProgressLiveEvent | ArchitectDraftUpdatedLiveEvent | MeetingRecordingPatchLiveEvent | WalletStateLiveEvent | ChannelRevokedLiveEvent;
9249
9443
  type LiveEventType = LiveEventPayload["type"];
9250
9444
  declare const LIVE_EVENT_TYPES: readonly LiveEventType[];
9251
9445
  declare function isLiveEventType(value: unknown): value is LiveEventType;
@@ -9872,6 +10066,25 @@ interface ConnectMcpServerInput {
9872
10066
  catalogEntryId: string | null;
9873
10067
  auth: McpServerAuthInput;
9874
10068
  }
10069
+ /** Starts consent without exposing provider credentials to the browser. */
10070
+ type StartMcpOAuthAttemptInput = Omit<ConnectMcpServerInput, "auth">;
10071
+ interface ReconnectMcpOAuthAttemptInput {
10072
+ scope?: string;
10073
+ }
10074
+ type McpOAuthAttemptStatus = "preparing" | "pending" | "exchanging" | "completed" | "failed" | "expired";
10075
+ interface McpOAuthAttemptStarted {
10076
+ attemptId: string;
10077
+ authorizeUrl: string;
10078
+ expiresAt: string;
10079
+ }
10080
+ /** Authenticated projection; errorCode is a stable reason, never provider text. */
10081
+ interface McpOAuthAttemptView {
10082
+ attemptId: string;
10083
+ status: McpOAuthAttemptStatus;
10084
+ serverId?: string;
10085
+ errorCode?: string;
10086
+ expiresAt: string;
10087
+ }
9875
10088
 
9876
10089
  type EmailProvider = "gmail" | "outlook";
9877
10090
  /**
@@ -10035,6 +10248,14 @@ interface ConversationDisplayTitleInput {
10035
10248
  */
10036
10249
  declare function conversationDisplayTitle(input: ConversationDisplayTitleInput): string;
10037
10250
 
10251
+ /**
10252
+ * A schema source id is a lowercase slug: it becomes part of an ownership token
10253
+ * (`source:<id>`), so the server and `@stndrds/client` must agree on the shape
10254
+ * character for character. One pattern, one message, defined here.
10255
+ */
10256
+ declare const SCHEMA_SOURCE_ID_PATTERN: RegExp;
10257
+ declare function assertSchemaSourceId(sourceId: string): void;
10258
+
10038
10259
  /**
10039
10260
  * The subset of a view definition that participates in sync hashing.
10040
10261
  *
@@ -10961,6 +11182,39 @@ declare const agentInferencePreferencesSchema: z$1.ZodObject<{
10961
11182
  xhigh: "xhigh";
10962
11183
  }>>;
10963
11184
  }, z$1.core.$strict>;
11185
+ /** Syntax only; availability is checked by the dedicated server catalogue. */
11186
+ declare const imageModelIdSchema: z$1.ZodString;
11187
+ declare const agentSessionInferenceOverridesInputSchema: z$1.ZodObject<{
11188
+ model: z$1.ZodOptional<z$1.ZodObject<{
11189
+ provider: z$1.ZodEnum<{
11190
+ openai: "openai";
11191
+ anthropic: "anthropic";
11192
+ google: "google";
11193
+ spacexai: "spacexai";
11194
+ deepseek: "deepseek";
11195
+ moonshotai: "moonshotai";
11196
+ alibaba: "alibaba";
11197
+ mistral: "mistral";
11198
+ minimax: "minimax";
11199
+ meta: "meta";
11200
+ zai: "zai";
11201
+ }>;
11202
+ model: z$1.ZodString;
11203
+ }, z$1.core.$strict>>;
11204
+ speed: z$1.ZodOptional<z$1.ZodEnum<{
11205
+ standard: "standard";
11206
+ fast: "fast";
11207
+ }>>;
11208
+ reasoning: z$1.ZodOptional<z$1.ZodEnum<{
11209
+ none: "none";
11210
+ low: "low";
11211
+ high: "high";
11212
+ minimal: "minimal";
11213
+ medium: "medium";
11214
+ xhigh: "xhigh";
11215
+ }>>;
11216
+ imageModel: z$1.ZodOptional<z$1.ZodString>;
11217
+ }, z$1.core.$strict>;
10964
11218
  declare const agentSessionInferenceOverridesSchema: z$1.ZodObject<{
10965
11219
  model: z$1.ZodOptional<z$1.ZodObject<{
10966
11220
  provider: z$1.ZodEnum<{
@@ -10990,6 +11244,38 @@ declare const agentSessionInferenceOverridesSchema: z$1.ZodObject<{
10990
11244
  medium: "medium";
10991
11245
  xhigh: "xhigh";
10992
11246
  }>>;
11247
+ imageModel: z$1.ZodOptional<z$1.ZodString>;
11248
+ }, z$1.core.$strict>;
11249
+ declare const sessionInferencePatchSchema: z$1.ZodObject<{
11250
+ model: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
11251
+ provider: z$1.ZodEnum<{
11252
+ openai: "openai";
11253
+ anthropic: "anthropic";
11254
+ google: "google";
11255
+ spacexai: "spacexai";
11256
+ deepseek: "deepseek";
11257
+ moonshotai: "moonshotai";
11258
+ alibaba: "alibaba";
11259
+ mistral: "mistral";
11260
+ minimax: "minimax";
11261
+ meta: "meta";
11262
+ zai: "zai";
11263
+ }>;
11264
+ model: z$1.ZodString;
11265
+ }, z$1.core.$strict>>>;
11266
+ speed: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
11267
+ standard: "standard";
11268
+ fast: "fast";
11269
+ }>>>;
11270
+ reasoning: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
11271
+ none: "none";
11272
+ low: "low";
11273
+ high: "high";
11274
+ minimal: "minimal";
11275
+ medium: "medium";
11276
+ xhigh: "xhigh";
11277
+ }>>>;
11278
+ imageModel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10993
11279
  }, z$1.core.$strict>;
10994
11280
  declare const toolImpactSchema: z$1.ZodObject<{
10995
11281
  label: z$1.ZodString;
@@ -11008,6 +11294,11 @@ declare const agentMessagePartSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
11008
11294
  }, z$1.core.$strict>, z$1.ZodObject<{
11009
11295
  type: z$1.ZodLiteral<"reasoning">;
11010
11296
  text: z$1.ZodString;
11297
+ }, z$1.core.$strict>, z$1.ZodObject<{
11298
+ type: z$1.ZodLiteral<"system">;
11299
+ code: z$1.ZodEnum<{
11300
+ CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
11301
+ }>;
11011
11302
  }, z$1.core.$strict>, z$1.ZodObject<{
11012
11303
  type: z$1.ZodLiteral<"error">;
11013
11304
  error: z$1.ZodString;
@@ -11025,9 +11316,9 @@ declare const agentMessagePartSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
11025
11316
  }>>;
11026
11317
  state: z$1.ZodEnum<{
11027
11318
  completed: "completed";
11319
+ error: "error";
11028
11320
  running: "running";
11029
11321
  streaming: "streaming";
11030
- error: "error";
11031
11322
  "approval-requested": "approval-requested";
11032
11323
  "approval-responded": "approval-responded";
11033
11324
  "approval-dispatched": "approval-dispatched";
@@ -11132,6 +11423,11 @@ declare const agentSessionMessageSchema: z$1.ZodObject<{
11132
11423
  }, z$1.core.$strict>, z$1.ZodObject<{
11133
11424
  type: z$1.ZodLiteral<"reasoning">;
11134
11425
  text: z$1.ZodString;
11426
+ }, z$1.core.$strict>, z$1.ZodObject<{
11427
+ type: z$1.ZodLiteral<"system">;
11428
+ code: z$1.ZodEnum<{
11429
+ CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
11430
+ }>;
11135
11431
  }, z$1.core.$strict>, z$1.ZodObject<{
11136
11432
  type: z$1.ZodLiteral<"error">;
11137
11433
  error: z$1.ZodString;
@@ -11149,9 +11445,9 @@ declare const agentSessionMessageSchema: z$1.ZodObject<{
11149
11445
  }>>;
11150
11446
  state: z$1.ZodEnum<{
11151
11447
  completed: "completed";
11448
+ error: "error";
11152
11449
  running: "running";
11153
11450
  streaming: "streaming";
11154
- error: "error";
11155
11451
  "approval-requested": "approval-requested";
11156
11452
  "approval-responded": "approval-responded";
11157
11453
  "approval-dispatched": "approval-dispatched";
@@ -11310,6 +11606,7 @@ declare const customDataChunkSchemas: {
11310
11606
  reason: z$1.ZodString;
11311
11607
  }, z$1.core.$strict>;
11312
11608
  readonly usage: z$1.ZodObject<{
11609
+ messageId: z$1.ZodOptional<z$1.ZodString>;
11313
11610
  inputTokens: z$1.ZodNumber;
11314
11611
  outputTokens: z$1.ZodNumber;
11315
11612
  totalTokens: z$1.ZodNumber;
@@ -11338,6 +11635,11 @@ declare const customDataChunkSchemas: {
11338
11635
  }, z$1.core.$strict>, z$1.ZodObject<{
11339
11636
  type: z$1.ZodLiteral<"reasoning">;
11340
11637
  text: z$1.ZodString;
11638
+ }, z$1.core.$strict>, z$1.ZodObject<{
11639
+ type: z$1.ZodLiteral<"system">;
11640
+ code: z$1.ZodEnum<{
11641
+ CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
11642
+ }>;
11341
11643
  }, z$1.core.$strict>, z$1.ZodObject<{
11342
11644
  type: z$1.ZodLiteral<"error">;
11343
11645
  error: z$1.ZodString;
@@ -11355,9 +11657,9 @@ declare const customDataChunkSchemas: {
11355
11657
  }>>;
11356
11658
  state: z$1.ZodEnum<{
11357
11659
  completed: "completed";
11660
+ error: "error";
11358
11661
  running: "running";
11359
11662
  streaming: "streaming";
11360
- error: "error";
11361
11663
  "approval-requested": "approval-requested";
11362
11664
  "approval-responded": "approval-responded";
11363
11665
  "approval-dispatched": "approval-dispatched";
@@ -11470,6 +11772,11 @@ declare const customDataChunkSchemas: {
11470
11772
  }, z$1.core.$strict>, z$1.ZodObject<{
11471
11773
  type: z$1.ZodLiteral<"reasoning">;
11472
11774
  text: z$1.ZodString;
11775
+ }, z$1.core.$strict>, z$1.ZodObject<{
11776
+ type: z$1.ZodLiteral<"system">;
11777
+ code: z$1.ZodEnum<{
11778
+ CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
11779
+ }>;
11473
11780
  }, z$1.core.$strict>, z$1.ZodObject<{
11474
11781
  type: z$1.ZodLiteral<"error">;
11475
11782
  error: z$1.ZodString;
@@ -11487,9 +11794,9 @@ declare const customDataChunkSchemas: {
11487
11794
  }>>;
11488
11795
  state: z$1.ZodEnum<{
11489
11796
  completed: "completed";
11797
+ error: "error";
11490
11798
  running: "running";
11491
11799
  streaming: "streaming";
11492
- error: "error";
11493
11800
  "approval-requested": "approval-requested";
11494
11801
  "approval-responded": "approval-responded";
11495
11802
  "approval-dispatched": "approval-dispatched";
@@ -11674,4 +11981,4 @@ type AgentUIDataChunk = {
11674
11981
  declare function assertCustomAgentUIMessageChunk(value: unknown): AgentUIDataChunk;
11675
11982
  declare function agentDataChunk<K extends keyof AgentUIDataTypes & string>(name: K, data: AgentUIDataTypes[K], options?: AgentDataChunkOptions): AgentUIDataChunk;
11676
11983
 
11677
- export { AGENT_UI_BATCH_MAX_BYTES, AGENT_UI_BATCH_MAX_ITEMS, type AIAvailableModel, type AIBatchAnswerValue, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIBatchQuestionType, type AIChatMessage, type AIChatMessagePart, type AIChatNotification, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIModelInputModality, type AIModelPriceDimension, type AIModelPriceTier, type AIModelPricing, type AIModelProfile, type AIModelProfileLabel, type AIModelReasoningMode, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMeasurementsV1, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_OPERATION_TYPES, ALL_SYSTEM_RESOURCES, ARTIFACT_FILE_ROLES, ARTIFACT_KINDS, ARTIFACT_LIST_VIEW, ARTIFACT_OBJECT, ARTIFACT_OBJECT_NAME, ARTIFACT_RETENTIONS, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, type AcceptsCandidate, type AccessLevel, type Action, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddSharedMailboxInput, type AgentApprovalPolicy, type AgentBlueprint, AgentBuilder, type AgentBuilderConfig, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentInferencePreferences, type AgentMessageAttachment, type AgentMessagePart, type AgentRequiredPermission, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionInferenceOverrides, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentTodoPlan, type AgentTodoPlanStatus, type AgentTodoPlanView, type AgentToolCall, type AgentTriggerBlueprint, type AgentTriggerDefinition, type AgentTriggerType, type AgentUIDataChunk, type AgentUIDataName, type AgentUIDataTypes, type AgentUIMessageBatch, type AgentUIMessageBatchItem, type AgentUsageView, type AgentWorkMode, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type ApprovalMode, type ArchitectChange, type ArchitectDraftSnapshot, type ArchitectDraftUpdatedLiveEvent, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArtifactDisplayRequest, type ArtifactFileRole, type ArtifactKind, type ArtifactRetention, type ArtifactRevisionView, type AssignActorRoleInput, type AssignRoleInput, type AttachmentPartData, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, AttributeGroupField, type AttributeLifecycleCapabilities, type AttributeLike, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, type AuthorizedGlobalSearchResult, type AuthorizedRecordSearchResult, type AuthorizedSearchPage, BEHAVIOR_PROPERTIES, BYTE_UNIT_LABELS, type BaseOperation, BilateralConfig, type BoundingBox, type BuilderConfig, type ByteMagnitude, CLAIMABLE_SESSION_STATUSES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, COUNT_MODES, type CalendarConnectorProviderId, type CalendarMeetingEndedData, type CalendarMeetingTranscriptCreatedData, type ChannelRevokedLiveEvent, CheckboxAttribute, type ClaimableSessionStatus, type CollectionPage, type CollectionRequest, type CollectionResponse, type CompactionPartData, type CompactionStrategy, type CompileComputedFormulaInput, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConfigOverrides, type ConnectMcpServerInput, type ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorProvidersResult, type ConnectorScope, type ContinuationPage, type ConversationDisplayTitleInput, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDefaultsContext, type CreateDocument, type CreateDocumentLink, type CreateFile, CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateReflexInput, type CreateReflexVersionInput, type CreateRoleInput, type CreateUserProfile, type CriticConfig, Currency, CurrencyAttribute, type CustomAttributeValue, type CustomObjectInfo, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, type DBViewSyncResolution, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_APPROVAL_POLICY, DEFAULT_DICTATION_LIMITS, DEFAULT_LABEL_FALLBACK, DEFAULT_MEETING_BOT_DISPLAY_NAME, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DEFAULT_TENANT_SETTINGS, DICTATION_FINALIZATION_TIMEOUT_MS, DICTATION_FRAME_BYTES, DICTATION_MAX_BUFFER_BYTES, DICTATION_MAX_FRAME_BYTES, DICTATION_MAX_TRANSCRIPT_BYTES, DICTATION_MODEL_ID, DICTATION_PREPARATION_TIMEOUT_MS, DICTATION_SAMPLE_RATE, DICTATION_TICKET_TTL_MS, DOCUMENT_SYSTEM_ATTRIBUTES, DRAFTABLE_ATTRIBUTE_TYPES, DRIVE_LIST_VIEW, DRIVE_OBJECT, DRIVE_OBJECT_NAME, DRIVE_VIEW, DateAttribute, DateRangeValue, type DefaultResolutionContext, type DefaultRoleName, type DeletedMode, DetailViewBuilder, DetailViewConfig, DetailViewDefinition, type DictationAdmission, type DictationCapabilities, type DictationControl, type DictationErrorReason, type DictationIdentity, type DictationLimits, type DictationServerEvent, type DictationUsageSummary, type Document, DocumentAttribute, type DocumentFile, type DocumentKind, DocumentLayout, type DocumentListOptions, type DocumentRecordOwner, type DocumentRecordOwnerPage, type DocumentWithFiles, type DocumentWithSubCount, DocumentsTabConfig, type DomainEvent, type DraftFocus, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, type DriftAttributeInfo, DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, ESTIMATED_COUNT_CAP, type Eager, type EffectivePermissions, type EmailAttachmentMeta, type EmailConnectorProviderId, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, EmailsTab, EmailsTabConfig, type EnvVarEntry, type EnvVarScope, type ErrorPartData, type EventDataMap, type EventType, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FAKE_MEETING_BOT_SIGNATURE_HEADER, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, Field, FieldGroup, type FieldHistoryEntry, type File, type FileListOptions, type FileOcrStatus, FilterOperator, FilterRule, FilterState, FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, type FlagResolutionContext, FlagService, type FlagValueType, FormBuilder, type FormDefinition, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTextRow, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, Group, GroupBuilder, IDENTITY_PROPERTIES, INFERENCE_REASONING_OPTIONS, INFERENCE_SPEEDS, type InferAttributeValue, type InferQualifiedProps, type InferenceReasoning, type InferenceSpeed, type InterruptionPartData, type InviteUserInput, type IsWithinBounds, LIVE_EVENT_TYPES, LOCATION_FILTER_PROPERTIES, type LabelContext, type ListOptions, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewLayout, ListViewTab, ListViewTabConfigBuilder, ListViewTabVisibility, type LiveChannel, type LiveChannelKind, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, Location, LocationAttribute, type LocationFilterProperty, LocationGranularity, MAX_TODOS, MAX_TODO_DESCRIPTION_CHARS, MAX_TODO_ID_CHARS, MAX_TODO_RESULT_CHARS, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxAccountVisibility, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, type McpCatalogEntry, type McpServerAuthInput, type McpServerAuthType, type McpServerStatus, type McpServerView, type Meeting, type MeetingLinkedRecord, type MeetingParticipantRef, type MeetingParticipantRole, type MeetingRecording, type MeetingRecordingPatchLiveEvent, type MeetingRecordingStatus, type MeetingResponseStatus, type MeetingStatus, type MeetingTranscriptResponse, type MeetingTranscriptSegment, type MeetingsListResponse, type MeetingsQuery, MeetingsTab, MeetingsTabConfig, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, type ModelDefinition, type ModelReference, type ModuleRunMode, MultiRelationAttribute, MultiselectAttribute, NATIVE_AGENT_UI_PART_IDS_METADATA_KEY, NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_RECORDING, type NativeAgentUIPartIds, type NativeAgentUIPartIdsMetadata, NoopGeocodingAdapter, type Notification, type NotificationArchiveAllResult, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxArchivedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OBJECT_NAME_SCHEMA, OPEN_TOOL_PART_STATES, OPERATION_REGISTRY, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, type ObjectPermissions, ObjectRecord, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperationDef, type OperatorSpec, Option, PRESENTATION_PROPERTIES, PROVIDER_NAMES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type ParsedPersistedSchemaPlan, type ParsedSchemaPlanProposal, type Permission, type PermissionScope, type PersistedDefaultViewTarget, type PersistedSchemaPlan, type PersistedSchemaPlanAdditive, Phone, PhoneAttribute, type PlannedAttribute, type PlannedAttributeRemoval, type PlannedObject, type PlannedObjectRemoval, type PlannedRename, PropertyAttribute, PropertySchema, type ProposedDefaultViewTarget, type ProviderName, type PublishArtifactInput, type PublishArtifactResult, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, RECORDING_OVERRIDES, RECORDING_POLICIES, RECORD_CREATOR_ROOT_ACTOR_METADATA_KEY, REMOVED_OPERATOR_REPLACEMENTS, type ReasoningPartData, type RecordAgentEvent, type RecordCreatedLiveEvent, type RecordDeletedLiveEvent, type RecordDocuments, type RecordFieldPatch, type RecordLiveSnapshot, type RecordMetadata, type RecordPatchLiveEvent, type RecordRemovedLiveEvent, type RecordingOverride, type RecordingPolicy, type Reflex, type ReflexAuthoringProgressLiveEvent, type ReflexAuthoringStatus, type ReflexCorpusEntrySummary, type ReflexCorpusPage, type ReflexDetail, type ReflexEngineState, type ReflexGateVerdict, type ReflexListItem, type ReflexListRow, type ReflexRun, type ReflexRunClassification, type ReflexRunCompletedLiveEvent, type ReflexRunOutcome, type ReflexRunResultWire, type ReflexRunSummary, type ReflexRunToolCall, type ReflexSeedExample, type ReflexState, type ReflexStateChangedLiveEvent, type ReflexStats, type ReflexVersion, type ReflexVersionStages, type ReflexVersionStatus, type ReflexVersionSummary, type ReflexWire, type RegexGenerationInput, RelationAttribute, RelationTarget, RelativeDateValue, type ResolutionContext, type ResolvedArtifactDisplay, type ResolvedFlag, ResourceVisibility, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, RichtextTabConfig, type Role, RollupAttribute, RollupFunction, type RunEffect, type RunMode, SCHEMA_PLAN_LIMITS, SESSION_STATE_STREAM_ID, SESSION_TERMINAL_STATUSES, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FILTER_ATTRIBUTE_TYPES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, type SchemaDriftResult, type SchemaPlan, type SchemaPlanAdditive, type SchemaPlanAdditiveBase, type SchemaPlanChangeSet, type SchemaPlanDestructive, type SchemaPlanImpact, type SchemaPlanImpactEntry, type SchemaPlanOutcome, type SchemaPlanProposalInput, type SchemaPlanStatus, type SchemaPlanViewChanges, type SchemaState, type SearchOptions, SelectAttribute, type SessionApprovalMode, type SessionInferencePatch, type SessionOutcome, type SessionParkedOn, type SessionPhase, type SessionState, type SessionStateChunkData, type SetMeetingRecordingBody, SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StartConnectorAuthInput, type StartConnectorAuthResult, type StaticFlagDefault, StatusAttribute, type StorageProvider, type StoredSchemaPlan, type SystemAttribute, type SystemAttributeI18nKey, type SystemFields, type SystemObjectDriftInfo, type SystemPermissions, type SystemResource, TEXT_FORMAT_PATTERNS, TODAY_DEFAULT, TODO_PLAN_STATUSES, TODO_STATUSES, TOOL_APPROVAL_STATES, Tab, TabBuilder, TableTab, TableTabConfig, TenantId, type TenantSettings, type TenantSettingsResponse, type TerminalSessionStatus, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolImpact, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TranscriptStatus, type TriggerEventType, UPDATE_TABLE_TAB_CHANGE_KEYS, UPDATE_TAB_CHANGE_KEYS, UPDATE_TAB_CONFIG_CHANGE_KEYS, USER_STATUSES, USER_WORK_POSTURES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDocument, type UpdateFile, type UpdateRoleInput, type UpdateUserProfile, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, type UserWorkPosture, Uuid, ValidationError, type ValueRef, type ViewBaselineOrigin, type ViewChange, ViewConfig, type ViewConfigDelta, ViewDefinition, type ViewOperation, type ViewOrigin, type ViewProjectionStaleLiveEvent, type ViewStateEntry, type ViewStateResolution, type ViewSyncPayload, ViewType, type WithCustomAttributes, type WithCustomRecordAttributes, type WithoutSystemFields, accessLevelToActions, actionsToAccessLevel, agent, agentDataChunk, agentDisplayName, agentInferencePreferencesSchema, agentMessageAttachmentSchema, agentMessagePartSchema, agentSessionInferenceOverridesSchema, agentSessionMessageSchema, agentUIValidationError, applyOperations, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertCustomAgentUIMessageChunk, booleanFlag, buildAgentFallbackTitle, buildPermissionFlags, buildPropertySchema, buildQualifiedAttribute, canonicalizeFilterValue, checkbox, collectQualifiedRuleIssues, compareAgentSessionMessages, compileComputedFormula, compileRollupAttribute, computeByteMagnitude, conversationDisplayTitle, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, customDataChunkSchemas, date, dateInTimezone, dateValueStart, defineOperation, definePresentation, deriveArchitectChanges, deriveCreateDefaultsFromFilters, deriveInitials, describeAttributeConfig, describeOperationInput, describeOperations, destructiveSchema, detailView, document, durableDateSchema, ensureFieldIds, episodeImpactOf, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, evaluateRecordFilterState, extractAttributeNames, extractCurrencyFilterValue, extractFilterValue, extractValueRefs, flagRegistry, focusOf, form, formFieldFlatKey, formFieldKey, formRegistry, formatAgentStreamFrameId, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, fromDraftableView, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getEditableLabelAttribute, getErrorMessage, getListViewDisplayAttributeNames, getLiveProtocolPayloadChannel, getOperatorPolarity, getRecordCreatorPrincipalId, getSingleAttributeFromExpression, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, hasDestructiveEntries, includesAction, inferRollupReturnType, inferenceReasoningSchema, inferenceSpeedSchema, isAgentUIDataName, isAgentUIMessageBatch, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isCheckboxEquality, isClaimableSessionStatus, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDocumentAttribute, isDynamicValue, isEmptyObject, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLocationFilterProperty, isLocationPartOperator, isManagedSystemAttribute, isNotEmpty, isNullishOrEmptyString, isOpenToolPartState, isPlainRecord, isRelativeDateValue, isSetMembershipOperator, isStandardSchema, isTerminalSessionStatus, isTerminalState, isToolApprovalState, isValuePresent, jsonFlag, legacyStatusToSessionState, listDescribableNames, listView, liveChannelKey, location, makeFieldId, matchesAccepts, mentionReferenceSchema, modelDefinitionSchema, modelReferenceSchema, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, orderAgentSessionMessages, parseAgentStreamFrameId, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOperation, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, presentationOf, proposedDefaultViewTargetSchema, providerNameSchema, qualifiedPropertyDefs, readFormFieldValue, registry, relation, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveEffectiveFilterType, resolveFieldRequired, resolveIsWithinBounds, resolveTextPattern, resolveUtcDayBounds, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionStateToLegacyStatus, status, stringFlag, text, toAttribute, toDraftableAttributes, toDraftableObject, toDraftableView, toMultiValueOperator, toUndefinedIfEmpty, toUtcDayString, today, todoItemSchema, todoPlanSchema, toolImpactSchema, user, validateAttributeName, validateLabelExpression, validateObjectName, validateQualifiedRule, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };
11984
+ export { AGENT_UI_BATCH_MAX_BYTES, AGENT_UI_BATCH_MAX_ITEMS, type AIAvailableModel, type AIBatchAnswerValue, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIBatchQuestionType, type AIChatMessage, type AIChatMessagePart, type AIChatNotification, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIModelInputModality, type AIModelPriceDimension, type AIModelPriceTier, type AIModelPricing, type AIModelProfile, type AIModelProfileLabel, type AIModelReasoningMode, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMeasurementsV1, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_OPERATION_TYPES, ALL_SYSTEM_RESOURCES, ARTIFACT_FILE_ROLES, ARTIFACT_KINDS, ARTIFACT_LIST_VIEW, ARTIFACT_OBJECT, ARTIFACT_OBJECT_NAME, ARTIFACT_RETENTIONS, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, type AcceptsCandidate, type AccessLevel, type Action, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddSharedMailboxInput, type AgentApprovalPolicy, type AgentBlueprint, AgentBuilder, type AgentBuilderConfig, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentInferencePreferences, type AgentMessageAttachment, type AgentMessagePart, type AgentRequiredPermission, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionInferenceOverrides, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentTodoPlan, type AgentTodoPlanStatus, type AgentTodoPlanView, type AgentToolCall, type AgentTriggerBlueprint, type AgentTriggerDefinition, type AgentTriggerType, type AgentUIDataChunk, type AgentUIDataName, type AgentUIDataTypes, type AgentUIMessageBatch, type AgentUIMessageBatchItem, type AgentUsageView, type AgentWorkMode, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type ApprovalMode, type ArchitectChange, type ArchitectDraftSnapshot, type ArchitectDraftUpdatedLiveEvent, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArtifactDisplayRequest, type ArtifactFileRole, type ArtifactKind, type ArtifactRetention, type ArtifactRevisionView, type AssignActorRoleInput, type AssignRoleInput, type AttachmentPartData, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, AttributeGroupField, type AttributeLifecycleCapabilities, type AttributeLike, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, type AuthorizedGlobalSearchResult, type AuthorizedRecordSearchResult, type AuthorizedSearchPage, BEHAVIOR_PROPERTIES, BYTE_UNIT_LABELS, type BaseOperation, BilateralConfig, type BillingMode, type BoundingBox, type BuilderConfig, type ByteMagnitude, CLAIMABLE_SESSION_STATUSES, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, COUNT_MODES, type CalendarConnectorProviderId, type CalendarMeetingEndedData, type CalendarMeetingTranscriptCreatedData, type ChannelRevokedLiveEvent, CheckboxAttribute, type ClaimableSessionStatus, type CollectionPage, type CollectionRequest, type CollectionResponse, type CompactionPartData, type CompactionStrategy, type CompileComputedFormulaInput, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConfigOverrides, type ConnectMcpServerInput, type ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorProvidersResult, type ConnectorScope, type ContinuationPage, type ConversationDisplayTitleInput, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDefaultsContext, type CreateDocument, type CreateDocumentLink, type CreateFile, CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateReflexInput, type CreateReflexVersionInput, type CreateRoleInput, type CreateUserProfile, type CriticConfig, Currency, CurrencyAttribute, type CustomAttributeValue, type CustomObjectInfo, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, type DBViewSyncResolution, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_APPROVAL_POLICY, DEFAULT_DICTATION_LIMITS, DEFAULT_LABEL_FALLBACK, DEFAULT_MEETING_BOT_DISPLAY_NAME, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DEFAULT_TENANT_SETTINGS, DICTATION_FINALIZATION_TIMEOUT_MS, DICTATION_FRAME_BYTES, DICTATION_MAX_BUFFER_BYTES, DICTATION_MAX_FRAME_BYTES, DICTATION_MAX_TRANSCRIPT_BYTES, DICTATION_MODEL_ID, DICTATION_PREPARATION_TIMEOUT_MS, DICTATION_SAMPLE_RATE, DICTATION_TICKET_TTL_MS, DOCUMENT_SYSTEM_ATTRIBUTES, DRAFTABLE_ATTRIBUTE_TYPES, DRIVE_LIST_VIEW, DRIVE_OBJECT, DRIVE_OBJECT_NAME, DRIVE_VIEW, DateAttribute, DateRangeValue, type DefaultResolutionContext, type DefaultRoleName, type DeletedMode, DetailViewBuilder, DetailViewConfig, DetailViewDefinition, type DictationAdmission, type DictationCapabilities, type DictationControl, type DictationErrorReason, type DictationIdentity, type DictationLimits, type DictationServerEvent, type DictationUsageSummary, type Document, DocumentAttribute, type DocumentFile, type DocumentKind, DocumentLayout, type DocumentListOptions, type DocumentRecordOwner, type DocumentRecordOwnerPage, type DocumentWithFiles, type DocumentWithSubCount, DocumentsTabConfig, type DomainEvent, type DraftFocus, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, type DriftAttributeInfo, DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, ESTIMATED_COUNT_CAP, type Eager, type EffectivePermissions, type EmailAttachmentMeta, type EmailConnectorProviderId, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, EmailsTab, EmailsTabConfig, type EnvVarEntry, type EnvVarScope, type ErrorPartData, type EventDataMap, type EventType, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FAKE_MEETING_BOT_SIGNATURE_HEADER, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, Field, FieldGroup, type FieldHistoryEntry, type File, type FileListOptions, type FileOcrStatus, FilterOperator, FilterRule, FilterState, FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, type FlagResolutionContext, FlagService, type FlagValueType, FormBuilder, type FormDefinition, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTextRow, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GenerateImageInput, type GenerateImageResult, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, Group, GroupBuilder, IDENTITY_PROPERTIES, IMAGE_FORMATS, INFERENCE_REASONING_OPTIONS, INFERENCE_SPEEDS, type ImageCost, type ImageFormat, type ImageModelCatalog, type ImageModelOption, type ImageUsageSummary, type InferAttributeValue, type InferQualifiedProps, type InferenceReasoning, type InferenceSpeed, type InterruptionPartData, type InviteUserInput, type IsWithinBounds, LIVE_EVENT_TYPES, LOCATION_FILTER_PROPERTIES, type LabelContext, type ListOptions, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewLayout, ListViewTab, ListViewTabConfigBuilder, ListViewTabVisibility, type LiveChannel, type LiveChannelKind, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, Location, LocationAttribute, type LocationFilterProperty, LocationGranularity, MAX_TODOS, MAX_TODO_DESCRIPTION_CHARS, MAX_TODO_ID_CHARS, MAX_TODO_RESULT_CHARS, MEETING_ATTRIBUTES, MEETING_DETAIL_VIEW_ID, MEETING_LIST_VIEW, MEETING_LIST_VIEW_ID, MEETING_OBJECT, MEETING_OBJECT_NAME, MEETING_VIEW, MEETING_WRITE_SOURCE, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxAccountVisibility, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, type McpCatalogEntry, type McpOAuthAttemptStarted, type McpOAuthAttemptStatus, type McpOAuthAttemptView, type McpServerAuthInput, type McpServerAuthType, type McpServerStatus, type McpServerView, type Meeting, type MeetingLinkedRecord, type MeetingParticipantRef, type MeetingParticipantRole, type MeetingRecording, type MeetingRecordingPatchLiveEvent, type MeetingRecordingStatus, type MeetingResponseStatus, type MeetingStatus, type MeetingTranscriptResponse, type MeetingTranscriptSegment, type MeetingsListResponse, type MeetingsQuery, MeetingsTab, MeetingsTabConfig, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, type ModelDefinition, type ModelReference, type ModuleRunMode, MultiRelationAttribute, MultiselectAttribute, NATIVE_AGENT_UI_PART_IDS_METADATA_KEY, NATIVE_AGENT_UI_PART_IDS_METADATA_SCHEMA_VERSION, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_RECORDING, type NativeAgentUIPartIds, type NativeAgentUIPartIdsMetadata, NoopGeocodingAdapter, type Notification, type NotificationArchiveAllResult, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxArchivedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OBJECT_NAME_SCHEMA, OPEN_TOOL_PART_STATES, OPERATION_REGISTRY, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, type ObjectPermissions, ObjectRecord, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperationDef, type OperatorSpec, Option, PRESENTATION_PROPERTIES, PROVIDER_NAMES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type ParsedPersistedSchemaPlan, type ParsedSchemaPlanProposal, type Permission, type PermissionScope, type PersistedDefaultViewTarget, type PersistedSchemaPlan, type PersistedSchemaPlanAdditive, Phone, PhoneAttribute, type PlannedAttribute, type PlannedAttributeRemoval, type PlannedObject, type PlannedObjectRemoval, type PlannedRename, PropertyAttribute, PropertySchema, type ProposedDefaultViewTarget, type ProviderName, type PublishArtifactInput, type PublishArtifactResult, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, RECORDING_OVERRIDES, RECORDING_POLICIES, RECORD_CREATOR_ROOT_ACTOR_METADATA_KEY, REMOVED_OPERATOR_REPLACEMENTS, type ReasoningPartData, type ReconnectMcpOAuthAttemptInput, type RecordAgentEvent, type RecordCreatedLiveEvent, type RecordDeletedLiveEvent, type RecordDocuments, type RecordFieldPatch, type RecordLiveSnapshot, type RecordMetadata, type RecordPatchLiveEvent, type RecordRemovedLiveEvent, type RecordingOverride, type RecordingPolicy, type Reflex, type ReflexAuthoringProgressLiveEvent, type ReflexAuthoringStatus, type ReflexCorpusEntrySummary, type ReflexCorpusPage, type ReflexDetail, type ReflexEngineState, type ReflexGateVerdict, type ReflexListItem, type ReflexListRow, type ReflexRun, type ReflexRunClassification, type ReflexRunCompletedLiveEvent, type ReflexRunOutcome, type ReflexRunResultWire, type ReflexRunSummary, type ReflexRunToolCall, type ReflexSeedExample, type ReflexState, type ReflexStateChangedLiveEvent, type ReflexStats, type ReflexVersion, type ReflexVersionStages, type ReflexVersionStatus, type ReflexVersionSummary, type ReflexWire, type RegexGenerationInput, RelationAttribute, RelationTarget, RelativeDateValue, type ResolutionContext, type ResolvedArtifactDisplay, type ResolvedFlag, ResourceVisibility, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, RichtextTabConfig, type Role, RollupAttribute, RollupFunction, type RunEffect, type RunMode, SCHEMA_PLAN_LIMITS, SCHEMA_SOURCE_ID_PATTERN, SESSION_STATE_STREAM_ID, SESSION_TERMINAL_STATUSES, SKILL_CONTENT_TEMPLATE, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_FILTER_ATTRIBUTE_TYPES, SYSTEM_PART_CODES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, type SchemaDriftResult, type SchemaPlan, type SchemaPlanAdditive, type SchemaPlanAdditiveBase, type SchemaPlanChangeSet, type SchemaPlanDestructive, type SchemaPlanImpact, type SchemaPlanImpactEntry, type SchemaPlanOutcome, type SchemaPlanProposalInput, type SchemaPlanStatus, type SchemaPlanViewChanges, type SchemaState, type SearchOptions, SelectAttribute, type SessionApprovalMode, type SessionImageUsage, type SessionInferencePatch, type SessionOutcome, type SessionParkedOn, type SessionPhase, type SessionState, type SessionStateChunkData, type SetMeetingRecordingBody, SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StartConnectorAuthInput, type StartConnectorAuthResult, type StartMcpOAuthAttemptInput, type StaticFlagDefault, StatusAttribute, type StorageProvider, type StoredSchemaPlan, type SystemAttribute, type SystemAttributeI18nKey, type SystemFields, type SystemObjectDriftInfo, type SystemPartCode, type SystemPermissions, type SystemResource, TEXT_FORMAT_PATTERNS, TODAY_DEFAULT, TODO_PLAN_STATUSES, TODO_STATUSES, TOOL_APPROVAL_STATES, Tab, TabBuilder, TableTab, TableTabConfig, TenantId, type TenantSettings, type TenantSettingsResponse, type TerminalSessionStatus, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolImpact, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TranscriptStatus, type TriggerEventType, UPDATE_TABLE_TAB_CHANGE_KEYS, UPDATE_TAB_CHANGE_KEYS, UPDATE_TAB_CONFIG_CHANGE_KEYS, USER_STATUSES, USER_WORK_POSTURES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDocument, type UpdateFile, type UpdateRoleInput, type UpdateUserProfile, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, type UsageBucket, type UsageCost, type UsageCostSource, type UsageModality, type UsageReport, type UsageScope, UserAttribute, type UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, type UserWorkPosture, Uuid, ValidationError, type ValueRef, type ViewBaselineOrigin, type ViewChange, ViewConfig, type ViewConfigDelta, ViewDefinition, type ViewOperation, type ViewOrigin, type ViewProjectionStaleLiveEvent, type ViewStateEntry, type ViewStateResolution, type ViewSyncPayload, ViewType, type WalletState, type WalletStateLiveEvent, type WalletStatus, type WithCustomAttributes, type WithCustomRecordAttributes, type WithoutSystemFields, accessLevelToActions, actionsToAccessLevel, agent, agentDataChunk, agentDisplayName, agentInferencePreferencesSchema, agentMessageAttachmentSchema, agentMessagePartSchema, agentSessionInferenceOverridesInputSchema, agentSessionInferenceOverridesSchema, agentSessionMessageSchema, agentUIValidationError, applyOperations, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertCustomAgentUIMessageChunk, assertSchemaSourceId, booleanFlag, buildAgentFallbackTitle, buildPermissionFlags, buildPropertySchema, buildQualifiedAttribute, canonicalizeFilterValue, checkbox, collectQualifiedRuleIssues, compareAgentSessionMessages, compileComputedFormula, compileRollupAttribute, computeByteMagnitude, conversationDisplayTitle, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, customDataChunkSchemas, date, dateInTimezone, dateValueStart, defineOperation, definePresentation, deriveArchitectChanges, deriveCreateDefaultsFromFilters, deriveInitials, describeAttributeConfig, describeOperationInput, describeOperations, destructiveSchema, detailView, document, durableDateSchema, ensureFieldIds, episodeImpactOf, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, evaluateRecordFilterState, extractAttributeNames, extractCurrencyFilterValue, extractFilterValue, extractValueRefs, flagRegistry, focusOf, form, formFieldFlatKey, formFieldKey, formRegistry, formatAgentStreamFrameId, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, fromDraftableView, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getEditableLabelAttribute, getErrorMessage, getListViewDisplayAttributeNames, getLiveProtocolPayloadChannel, getOperatorPolarity, getRecordCreatorPrincipalId, getSingleAttributeFromExpression, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, hasDestructiveEntries, imageModelIdSchema, includesAction, inferRollupReturnType, inferenceReasoningSchema, inferenceSpeedSchema, isAgentUIDataName, isAgentUIMessageBatch, isAttributeFilterable, isAttributeGroupable, isAttributeKanbanGroupable, isAttributeSearchable, isCheckboxEquality, isClaimableSessionStatus, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDocumentAttribute, isDynamicValue, isEmptyObject, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLocationFilterProperty, isLocationPartOperator, isManagedSystemAttribute, isNotEmpty, isNullishOrEmptyString, isOpenToolPartState, isPlainRecord, isRelativeDateValue, isSetMembershipOperator, isStandardSchema, isSystemPartCode, isTerminalSessionStatus, isTerminalState, isToolApprovalState, isValuePresent, jsonFlag, legacyStatusToSessionState, listDescribableNames, listView, liveChannelKey, location, makeFieldId, matchesAccepts, mentionReferenceSchema, modelDefinitionSchema, modelReferenceSchema, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, orderAgentSessionMessages, parseAgentStreamFrameId, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOperation, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, presentationOf, proposedDefaultViewTargetSchema, providerNameSchema, qualifiedPropertyDefs, readFormFieldValue, registry, relation, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveEffectiveFilterType, resolveFieldRequired, resolveIsWithinBounds, resolveTextPattern, resolveUtcDayBounds, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionInferencePatchSchema, sessionStateToLegacyStatus, status, stringFlag, text, toAttribute, toDraftableAttributes, toDraftableObject, toDraftableView, toMultiValueOperator, toUndefinedIfEmpty, toUtcDayString, today, todoItemSchema, todoPlanSchema, toolImpactSchema, user, validateAttributeName, validateLabelExpression, validateObjectName, validateQualifiedRule, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };