@stndrds/schema 1.0.0-alpha.285 → 1.0.0-alpha.287

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 (33) hide show
  1. package/dist/{all-bG_ha0VV.d.mts → all-DaucFjyz.d.mts} +1 -1
  2. package/dist/{all-DanoPxKr.d.ts → all-FGIrc6mI.d.ts} +1 -1
  3. package/dist/{chunk-V26R64A4.js → chunk-3YCZ5H3H.js} +1 -1
  4. package/dist/{chunk-BOICAZHR.js → chunk-5JMQNH2A.js} +4 -4
  5. package/dist/{chunk-RUO25ERR.mjs → chunk-7WEOBXXA.mjs} +1 -1
  6. package/dist/{chunk-R57T4UDX.mjs → chunk-JSQCTLV5.mjs} +1 -1
  7. package/dist/{chunk-YZ5RCMIQ.js → chunk-K7XGY34S.js} +36 -36
  8. package/dist/{chunk-PNOWKRH2.mjs → chunk-KLDZHAGX.mjs} +1 -1
  9. package/dist/{chunk-I3EYILYO.js → chunk-RDYTVHNN.js} +4 -4
  10. package/dist/{chunk-AGRAFDGU.mjs → chunk-RMJ75YLQ.mjs} +2 -2
  11. package/dist/{chunk-5OBQRDRM.mjs → chunk-UW3BOSB6.mjs} +1 -1
  12. package/dist/{chunk-K6ET4CXP.js → chunk-ZHB4VBCX.js} +3 -3
  13. package/dist/exceptions.js +39 -39
  14. package/dist/exceptions.mjs +1 -1
  15. package/dist/{index-Ns6KGfrZ.d.ts → index-0VG9u1XW.d.ts} +12 -0
  16. package/dist/{index-Ca-MzQuU.d.mts → index-Eh1tYq3i.d.mts} +12 -0
  17. package/dist/index.d.mts +68 -63
  18. package/dist/index.d.ts +68 -63
  19. package/dist/index.js +316 -346
  20. package/dist/index.mjs +47 -73
  21. package/dist/utils.js +8 -8
  22. package/dist/utils.mjs +2 -2
  23. package/dist/validation/all.d.mts +2 -2
  24. package/dist/validation/all.d.ts +2 -2
  25. package/dist/validation/all.js +29 -29
  26. package/dist/validation/all.mjs +4 -4
  27. package/dist/validation/config/index.d.mts +1 -1
  28. package/dist/validation/config/index.d.ts +1 -1
  29. package/dist/validation/config/index.js +12 -12
  30. package/dist/validation/config/index.mjs +2 -2
  31. package/dist/validation/object/index.js +14 -14
  32. package/dist/validation/object/index.mjs +2 -2
  33. package/package.json +2 -2
@@ -557,6 +557,12 @@ interface BaseViewDefinition {
557
557
  default?: boolean;
558
558
  /** Extensible metadata */
559
559
  metadata?: Record<string, unknown>;
560
+ /**
561
+ * Framework-native view: locked at runtime, force-seeded on every boot,
562
+ * never composed with overlays. Set only by the native registry — there is
563
+ * deliberately no public builder API for it.
564
+ */
565
+ system?: boolean;
560
566
  }
561
567
  /**
562
568
  * Detail view definition
@@ -585,6 +591,12 @@ interface ConfigOverrides {
585
591
  hiddenTabIds?: string[];
586
592
  detailTabs?: Tab[];
587
593
  hiddenDetailTabIds?: string[];
594
+ /** Workspace-scope scalar overrides on the view row's cosmetic fields. */
595
+ label?: string;
596
+ icon?: string;
597
+ description?: string;
598
+ /** Overrides for top-level config keys other than tabs (e.g. groupBy). */
599
+ topLevel?: Record<string, unknown>;
588
600
  }
589
601
  /**
590
602
  * User customization overlay for a view
@@ -557,6 +557,12 @@ interface BaseViewDefinition {
557
557
  default?: boolean;
558
558
  /** Extensible metadata */
559
559
  metadata?: Record<string, unknown>;
560
+ /**
561
+ * Framework-native view: locked at runtime, force-seeded on every boot,
562
+ * never composed with overlays. Set only by the native registry — there is
563
+ * deliberately no public builder API for it.
564
+ */
565
+ system?: boolean;
560
566
  }
561
567
  /**
562
568
  * Detail view definition
@@ -585,6 +591,12 @@ interface ConfigOverrides {
585
591
  hiddenTabIds?: string[];
586
592
  detailTabs?: Tab[];
587
593
  hiddenDetailTabIds?: string[];
594
+ /** Workspace-scope scalar overrides on the view row's cosmetic fields. */
595
+ label?: string;
596
+ icon?: string;
597
+ description?: string;
598
+ /** Overrides for top-level config keys other than tabs (e.g. groupBy). */
599
+ topLevel?: Record<string, unknown>;
588
600
  }
589
601
  /**
590
602
  * User customization overlay for a view
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SortRule, F as FilterState, V as ViewType, a as ViewConfig, C as ConfigOverrides, b as FilterOperator, D as DetailViewConfig, c as DetailViewDefinition, d as SidePanelConfig, e as Field, A as AttributeGroupField, f as FieldGroup, G as Group, T as TableTab, g as CreateMode, E as EmailsTab, M as MeetingsTab, h as Tab, L as ListViewConfig, i as ListViewDefinition, j as ViewDefinition, k as ListViewTab, l as FilterValue, m as FilterRule, n as DynamicValue, R as RelativeDateValue } from './index-Ca-MzQuU.mjs';
2
- export { o as ActivityTab, p as AddAttributeInput, q as AdvancedFilterState, r as CreateCustomObjectInput, s as CreateViewInput, t as CurrencyFilterValue, u as CustomTab, v as DayMonthValue, w as DocumentsTab, x as EdgeQuantifier, y as ExtendedFilterRule, z as FilterCombinator, B as FilterGroup, H as FormDensity, I as FormTab, J as FormsTab, K as InverseSource, N as ListViewLayout, O as NO_VALUE_OPERATORS, P as NoValueOperator, Q as OPERATORS_BY_TYPE, U as PhoneFilterValue, W as QueryState, X as RelationOption, Y as RelationOptionsResponse, Z as RelationSource, _ as RichtextTab, $ as SidePanelPane, a0 as SortDirection, a1 as TabType, a2 as TableSource, a3 as UpdateObjectInput, a4 as UpdateViewInput, a5 as ViewOverlay, a6 as getRollupFilterOperators, a7 as isDetailView, a8 as isFieldGroup, a9 as isListView, aa as isNoValueOperator, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from './index-Ca-MzQuU.mjs';
1
+ import { S as SortRule, F as FilterState, V as ViewType, a as ViewConfig, C as ConfigOverrides, b as FilterOperator, D as DetailViewConfig, c as DetailViewDefinition, d as SidePanelConfig, e as Field, A as AttributeGroupField, f as FieldGroup, G as Group, T as TableTab, g as CreateMode, E as EmailsTab, M as MeetingsTab, h as Tab, L as ListViewConfig, i as ListViewDefinition, j as ViewDefinition, k as ListViewTab, l as FilterValue, m as FilterRule, n as DynamicValue, R as RelativeDateValue } from './index-Eh1tYq3i.mjs';
2
+ export { o as ActivityTab, p as AddAttributeInput, q as AdvancedFilterState, r as CreateCustomObjectInput, s as CreateViewInput, t as CurrencyFilterValue, u as CustomTab, v as DayMonthValue, w as DocumentsTab, x as EdgeQuantifier, y as ExtendedFilterRule, z as FilterCombinator, B as FilterGroup, H as FormDensity, I as FormTab, J as FormsTab, K as InverseSource, N as ListViewLayout, O as NO_VALUE_OPERATORS, P as NoValueOperator, Q as OPERATORS_BY_TYPE, U as PhoneFilterValue, W as QueryState, X as RelationOption, Y as RelationOptionsResponse, Z as RelationSource, _ as RichtextTab, $ as SidePanelPane, a0 as SortDirection, a1 as TabType, a2 as TableSource, a3 as UpdateObjectInput, a4 as UpdateViewInput, a5 as ViewOverlay, a6 as getRollupFilterOperators, a7 as isDetailView, a8 as isFieldGroup, a9 as isListView, aa as isNoValueOperator, ab as multiselectOptionWriteSchema, ac as parseAttributeConfig, ad as parseAttributeConfigForCreate, ae as parseAttributeConfigForUpdate, af as selectOptionWriteSchema, ag as statusGroupSchema, ah as statusOptionWriteSchema } from './index-Eh1tYq3i.mjs';
3
3
  import { h as ComputedValueType, i as ComputedReturnType, f as AttributeType, j as ComputedOptionsSource, k as ComputedDependency, l as ComputedPlan, e as RollupAttribute, m as ComputedFormulaAstNode, A as Attribute, n as LocationGranularity, o as Location, F as FormulaAttribute, D as DateAttribute, p as DateRangeValue, q as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, r as Phone, s as Currency, U as UserAttribute, T as TextAttribute, t as PropertySchema, g as CheckboxAttribute, C as CurrencyAttribute, u as TimeFormat, v as PropertyAttribute, w as FormulaReturnType, L as LocationAttribute, O as Option, N as NumberAttribute, P as PhoneAttribute, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, x as RelationTarget, a as RichtextAttribute, y as RollupFunction, z as UserReferenceType } from './attributes-CWPLbp7c.mjs';
4
4
  export { E as ATTRIBUTE_TYPES, G as AttributeGroup, H as BaseAttribute, I as ComputedFieldKind, J as ComputedFormulaBinaryNode, K as ComputedFormulaBinaryOperator, Q as ComputedFormulaCallNode, V as ComputedFormulaLiteralNode, W as ComputedFormulaParseError, X as ComputedFormulaPathNode, Y as DateFormat, Z as DateValue, _ as NumberUnit, $ as OptionPropertyAttribute, a0 as PropertyType, a1 as RELATION_TARGET_ANY, a2 as RichTextAttribute, a3 as StatusGroup, a4 as hasOptions, a5 as inferInverseCardinality, a6 as isAttributeSortable, a7 as isBilateralRelation, a8 as isUniversalRelation, a9 as parseComputedFormula, aa as resolvePropertyDefinitions } from './attributes-CWPLbp7c.mjs';
5
5
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
@@ -16,7 +16,7 @@ export { StandardSchemaV1 } from '@standard-schema/spec';
16
16
  import z, { z as z$1 } from 'zod';
17
17
  export { V as ValidationMessages } from './types-CVYiFc69.mjs';
18
18
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.mjs';
19
- export { L as LIST_TAB_KANBAN_KEYS, a as LIST_TAB_TABLE_KEYS, S as SCHEMA_LIMITS, c as colorIdSchema, b as columnsSchema, d as detailTabDraftSchema, e as detailTabSchema, f as detailViewConfigSchema, g as fieldSchema, h as fieldShape, i as fieldSlotSchema, j as filterGroupSchema, k as filterStateSchema, l as groupWriteSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, s as sortsSchema, t as tableSourceSchema, v as viewConfigByTypeSchema, u as viewTypeSchema } from './all-bG_ha0VV.mjs';
19
+ export { L as LIST_TAB_KANBAN_KEYS, a as LIST_TAB_TABLE_KEYS, S as SCHEMA_LIMITS, c as colorIdSchema, b as columnsSchema, d as detailTabDraftSchema, e as detailTabSchema, f as detailViewConfigSchema, g as fieldSchema, h as fieldShape, i as fieldSlotSchema, j as filterGroupSchema, k as filterStateSchema, l as groupWriteSchema, m as iconNameSchema, n as inverseSourceSchema, o as listViewConfigSchema, p as listViewTabSchema, q as parseViewConfig, r as relationSourceSchema, s as sortsSchema, t as tableSourceSchema, v as viewConfigByTypeSchema, u as viewTypeSchema } from './all-DaucFjyz.mjs';
20
20
  export { a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, b as validateDraft, d as validateDraftOrThrow, e as validateObject, f as validateObjectOrThrow } from './helpers-Dul_r9rJ.mjs';
21
21
  export { createCheckboxValidator } from './validation/primitives/checkbox.mjs';
22
22
  export { createDateValidator } from './validation/primitives/date.mjs';
@@ -331,10 +331,11 @@ interface CreateObjectRecord {
331
331
  */
332
332
  metadata?: Record<string, unknown>;
333
333
  /**
334
- * Actor ID who created this record.
335
- * Automatically set from context if available.
334
+ * Actor ID who created this record. Required: a durable record is never
335
+ * created without provenance (#2398) callers with no acting actor fail
336
+ * closed or stamp the explicit system actor before reaching the repository.
336
337
  */
337
- createdBy?: string;
338
+ createdBy: string;
338
339
  }
339
340
  /**
340
341
  * Controls which records are returned based on their soft-delete state.
@@ -444,6 +445,14 @@ interface FileListOptions extends ListOptions {
444
445
  mimeType?: string;
445
446
  uploadedBy?: Uuid;
446
447
  }
448
+ /**
449
+ * Who owns a views row.
450
+ * - "code": the code registry is the source of truth — force-upserted at
451
+ * every seed; workspace edits live in a workspace overlay, never the row.
452
+ * - "runtime": the row itself is the source of truth (runtime-created object
453
+ * default views, user-created views) — sync never touches it.
454
+ */
455
+ type ViewOrigin = "code" | "runtime";
447
456
  /**
448
457
  * Unified view as stored in database
449
458
  * Supports all view types (detail, list, calendar, etc.) via polymorphic config
@@ -463,6 +472,9 @@ interface DBView extends Timestamps {
463
472
  config: ViewConfig;
464
473
  /** Default view for this object+type combination */
465
474
  default: boolean;
475
+ origin: ViewOrigin;
476
+ /** Framework-native view — locked at runtime, force-seeded. Maps the views.system column. */
477
+ system: boolean;
466
478
  metadata?: Record<string, unknown>;
467
479
  /**
468
480
  * Content hash of the view config the DB row was last known to match
@@ -487,6 +499,9 @@ interface CreateDBView {
487
499
  icon?: IconName;
488
500
  config: ViewConfig;
489
501
  default?: boolean;
502
+ origin?: ViewOrigin;
503
+ /** Framework-native view — locked at runtime, force-seeded. Maps the views.system column. */
504
+ system?: boolean;
490
505
  metadata?: Record<string, unknown>;
491
506
  baseline_hash?: string | null;
492
507
  /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
@@ -501,6 +516,9 @@ interface UpdateDBView {
501
516
  icon?: IconName;
502
517
  config?: ViewConfig;
503
518
  default?: boolean;
519
+ origin?: ViewOrigin;
520
+ /** Framework-native view — locked at runtime, force-seeded. Maps the views.system column. */
521
+ system?: boolean;
504
522
  metadata?: Record<string, unknown>;
505
523
  baseline_hash?: string | null;
506
524
  /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
@@ -519,6 +537,9 @@ interface UpsertDBView {
519
537
  icon?: IconName;
520
538
  config: ViewConfig;
521
539
  default?: boolean;
540
+ origin?: ViewOrigin;
541
+ /** Framework-native view — locked at runtime, force-seeded. Maps the views.system column. */
542
+ system?: boolean;
522
543
  metadata?: Record<string, unknown>;
523
544
  baseline_hash?: string | null;
524
545
  /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
@@ -533,8 +554,8 @@ interface DBViewOverlay extends Timestamps {
533
554
  tenantId: TenantId;
534
555
  /** View ID this overlay applies to (UUID or virtual ID like "fallback:contacts:list") */
535
556
  viewId: string;
536
- /** User ID who owns this overlay */
537
- userId: string;
557
+ /** User ID who owns this overlay. null = workspace-scoped overlay (shared admin customization). */
558
+ userId: string | null;
538
559
  /** Configuration overrides (delta only) */
539
560
  configOverrides: ConfigOverrides;
540
561
  /** User's default view for this object */
@@ -546,7 +567,7 @@ interface DBViewOverlay extends Timestamps {
546
567
  */
547
568
  interface CreateDBViewOverlay {
548
569
  viewId: string;
549
- userId: string;
570
+ userId: string | null;
550
571
  configOverrides: ConfigOverrides;
551
572
  isUserDefault?: boolean;
552
573
  }
@@ -1096,13 +1117,10 @@ type NotificationInboxState = (typeof NOTIFICATION_INBOX_STATES)[number];
1096
1117
  declare const NOTIFICATION_WORK_STATES: readonly ["none", "pending", "processing", "completed", "dismissed", "expired", "failed"];
1097
1118
  type NotificationWorkState = (typeof NOTIFICATION_WORK_STATES)[number];
1098
1119
  type NotificationType = string;
1099
- declare const NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED = "agent.session.completed";
1100
- declare const NOTIFICATION_TYPE_AGENT_SESSION_FAILED = "agent.session.failed";
1101
1120
  declare const NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN = "agent.session.waiting_human";
1102
- declare const NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT = "agent.session.timeout";
1103
1121
  declare const NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED = "agent.task.assigned";
1104
1122
  declare const NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED = "agent.question.requested";
1105
- declare const NOTIFICATION_TYPES_V1: readonly ["agent.session.completed", "agent.session.failed", "agent.session.waiting_human", "agent.session.timeout", "agent.task.assigned", "agent.question.requested"];
1123
+ declare const NOTIFICATION_TYPES_V1: readonly ["agent.session.waiting_human", "agent.task.assigned", "agent.question.requested"];
1106
1124
  type NotificationV1Type = (typeof NOTIFICATION_TYPES_V1)[number];
1107
1125
  interface NotificationSubject {
1108
1126
  type: string;
@@ -1774,10 +1792,10 @@ interface AgentSession {
1774
1792
  completedAt?: Date;
1775
1793
  expiresAt?: Date;
1776
1794
  archivedAt?: Date;
1777
- /** Per-actor read marker. Populated by list endpoints when the caller is known. */
1795
+ /** Stamped by the DB trigger on every agent (assistant/tool) message. */
1796
+ lastAgentActivityAt?: Date;
1797
+ /** Stamped by markSessionRead. Unread = lastAgentActivityAt > lastReadAt. */
1778
1798
  lastReadAt?: Date;
1779
- /** Convenience flag: true when session has activity since `lastReadAt` (or never read). */
1780
- isUnread?: boolean;
1781
1799
  }
1782
1800
  /**
1783
1801
  * Lifecycle of a persisted tool part. The three `approval-*` values are the
@@ -4304,10 +4322,29 @@ interface ViewStateEntry {
4304
4322
  object: string;
4305
4323
  name: string;
4306
4324
  type: ViewType;
4325
+ /** Whether this row originates from the code-defined registry or was created at runtime. */
4326
+ origin: ViewOrigin;
4307
4327
  /** Content-hash of the view's CURRENT stored content. */
4308
4328
  dbHash: string;
4309
- /** Content-hash the row was last known to match; `null` if never synced. */
4329
+ /**
4330
+ * Content-hash the row was last known to match; `null` if never synced.
4331
+ * Legacy field kept populated for `origin: "runtime"` rows that still carry
4332
+ * a baseline from before the two-origin model (transition only — removal is
4333
+ * teardown scope). A `origin: "code"` row is NOT always `null` here either:
4334
+ * `seedRegistryViews` still writes `baseline_hash`/`baseline_config` on
4335
+ * every create/update as transition bookkeeping (for a rollback to the
4336
+ * previous release finding coherent baselines), so a code row carries a
4337
+ * transition baseline until that column is dropped at teardown — it is
4338
+ * simply never read as a divergence signal for that row (divergence is
4339
+ * structurally impossible for `origin: "code"`, see `diverged` below).
4340
+ */
4310
4341
  baselineHash: string | null;
4342
+ /**
4343
+ * Whether the row has diverged from its code baseline. Always `false` for
4344
+ * `origin: "code"` rows — divergence is structurally impossible for them,
4345
+ * there being no separate baseline to drift from.
4346
+ */
4347
+ diverged: boolean;
4311
4348
  config: ViewConfig;
4312
4349
  label: string;
4313
4350
  description: string | null;
@@ -4315,8 +4352,18 @@ interface ViewStateEntry {
4315
4352
  default: boolean;
4316
4353
  metadata: Record<string, unknown> | null;
4317
4354
  resolutions: ViewStateResolution[];
4318
- /** Null when the row is in sync or has no stored baseline config. */
4355
+ /**
4356
+ * Null when the row is in sync or has no stored baseline config. Legacy
4357
+ * field, same transition scope as `baselineHash`; always `null` for
4358
+ * `origin: "code"` rows (divergence is structurally impossible for them).
4359
+ */
4319
4360
  delta: ViewConfigDelta | null;
4361
+ /**
4362
+ * The workspace-scoped overlay's `configOverrides` when one exists for this
4363
+ * view, else `null`. Only ever populated for `origin: "code"` rows — a
4364
+ * `origin: "runtime"` row has no separate overlay layer to fold in.
4365
+ */
4366
+ workspaceOverlay: ConfigOverrides | null;
4320
4367
  }
4321
4368
  interface DriftAttributeInfo {
4322
4369
  name: string;
@@ -8631,15 +8678,6 @@ type AgentSessionPatchLiveEvent = {
8631
8678
  */
8632
8679
  session?: Record<string, unknown>;
8633
8680
  };
8634
- type AgentUnreadPatchLiveEvent = {
8635
- type: "agent.unread.patch";
8636
- targetActorId: string;
8637
- sessionId: string;
8638
- unreadCount: number;
8639
- version: number;
8640
- updatedAt: string;
8641
- session?: Record<string, unknown>;
8642
- };
8643
8681
  type LiveNotification = {
8644
8682
  id: string;
8645
8683
  tenantId: string;
@@ -8719,36 +8757,6 @@ type NotificationInboxArchivedLiveEvent = {
8719
8757
  version: number;
8720
8758
  updatedAt: string;
8721
8759
  };
8722
- type ConversationRenamedLiveEvent = {
8723
- type: "conversation.renamed";
8724
- sessionId: string;
8725
- title: string;
8726
- /**
8727
- * Session metadata patch riding the rename (e.g. clearing `titlePending`).
8728
- * Folded into this event rather than emitted as a paired
8729
- * `agent.session.patch`: the pair shared one version, so whichever event
8730
- * applied first made the client drop the other at its `<=` version gate —
8731
- * the metadata half never landed.
8732
- */
8733
- metadata?: Record<string, unknown> | null;
8734
- version: number;
8735
- updatedAt: string;
8736
- };
8737
- declare const BROWSER_PREVIEW_STATUSES: readonly ["live", "paused", "ended", "disconnected"];
8738
- type BrowserPreviewStatus = (typeof BROWSER_PREVIEW_STATUSES)[number];
8739
- type BrowserPreviewDescriptor = {
8740
- previewId: string;
8741
- rootSessionId: string;
8742
- agentSessionId: string;
8743
- browserSession: string;
8744
- status: BrowserPreviewStatus;
8745
- sequence: number;
8746
- updatedAt: string;
8747
- };
8748
- type BrowserPreviewUpdatedLiveEvent = {
8749
- type: "browser.preview.updated";
8750
- preview: BrowserPreviewDescriptor;
8751
- };
8752
8760
  /** A reflex moved between the two product states (armed/disarmed). */
8753
8761
  type ReflexStateChangedLiveEvent = {
8754
8762
  type: "reflex.state.changed";
@@ -8797,7 +8805,7 @@ type ChannelRevokedLiveEvent = {
8797
8805
  channel: string;
8798
8806
  reason: "permission-revoked" | "workspace-left" | "object-deleted";
8799
8807
  };
8800
- type LiveEventPayload = RecordPatchLiveEvent | RecordDeletedLiveEvent | RecordRemovedLiveEvent | RecordCreatedLiveEvent | ViewProjectionStaleLiveEvent | AgentSessionPatchLiveEvent | AgentUnreadPatchLiveEvent | NotificationCreatedLiveEvent | NotificationRecipientPatchLiveEvent | NotificationCountPatchLiveEvent | NotificationInboxArchivedLiveEvent | ConversationRenamedLiveEvent | BrowserPreviewUpdatedLiveEvent | ReflexStateChangedLiveEvent | ReflexRunCompletedLiveEvent | ReflexAuthoringProgressLiveEvent | ArchitectDraftUpdatedLiveEvent | ChannelRevokedLiveEvent;
8808
+ type LiveEventPayload = RecordPatchLiveEvent | RecordDeletedLiveEvent | RecordRemovedLiveEvent | RecordCreatedLiveEvent | ViewProjectionStaleLiveEvent | AgentSessionPatchLiveEvent | NotificationCreatedLiveEvent | NotificationRecipientPatchLiveEvent | NotificationCountPatchLiveEvent | NotificationInboxArchivedLiveEvent | ReflexStateChangedLiveEvent | ReflexRunCompletedLiveEvent | ReflexAuthoringProgressLiveEvent | ArchitectDraftUpdatedLiveEvent | ChannelRevokedLiveEvent;
8801
8809
  type LiveEventType = LiveEventPayload["type"];
8802
8810
  declare const LIVE_EVENT_TYPES: readonly LiveEventType[];
8803
8811
  declare function isLiveEventType(value: unknown): value is LiveEventType;
@@ -9040,7 +9048,7 @@ type AgentUIMessageBatch<TChunk = unknown> = {
9040
9048
  };
9041
9049
  declare function isAgentUIMessageBatch(value: unknown): value is AgentUIMessageBatch;
9042
9050
 
9043
- type LiveChannelKind = "workspace" | "object" | "record" | "view" | "agent" | "user" | "conversation" | "architect-draft";
9051
+ type LiveChannelKind = "workspace" | "object" | "record" | "view" | "user" | "conversation" | "architect-draft";
9044
9052
  type LiveChannel = {
9045
9053
  kind: "workspace";
9046
9054
  tenantId: string;
@@ -9054,9 +9062,6 @@ type LiveChannel = {
9054
9062
  } | {
9055
9063
  kind: "view";
9056
9064
  viewId: string;
9057
- } | {
9058
- kind: "agent";
9059
- tenantId: string;
9060
9065
  } | {
9061
9066
  kind: "user";
9062
9067
  actorId: string;
@@ -11124,4 +11129,4 @@ type AgentUIDataChunk = {
11124
11129
  declare function assertCustomAgentUIMessageChunk(value: unknown): AgentUIDataChunk;
11125
11130
  declare function agentDataChunk<K extends keyof AgentUIDataTypes & string>(name: K, data: AgentUIDataTypes[K], options?: AgentDataChunkOptions): AgentUIDataChunk;
11126
11131
 
11127
- 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 AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_OPERATION_TYPES, ALL_SYSTEM_RESOURCES, 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 AgentMessageAttachment, type AgentMessagePart, type AgentRequiredPermission, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, 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 AgentUnreadPatchLiveEvent, 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 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, BROWSER_PREVIEW_STATUSES, BYTE_UNIT_LABELS, type BaseOperation, BilateralConfig, type BoundingBox, type BrowserPreviewDescriptor, type BrowserPreviewStatus, type BrowserPreviewUpdatedLiveEvent, 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 ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, 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_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, 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 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, 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, type InferAttributeValue, type InferQualifiedProps, type InterruptionPartData, type InviteUserInput, type IsWithinBounds, LIVE_EVENT_TYPES, type LabelContext, type ListOptions, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, ListViewTabVisibility, type LiveChannel, type LiveChannelKind, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, Location, LocationAttribute, 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 MeetingResponseStatus, type MeetingStatus, type MeetingsListResponse, type MeetingsQuery, MeetingsTab, MeetingsTabConfig, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, type ModelDefinition, 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_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, 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, 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, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, 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 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 ResolvedFlag, ResourceVisibility, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, RichtextTabConfig, type Role, RollupAttribute, RollupFunction, type RunEffect, type RunMode, SCHEMA_PLAN_LIMITS, 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 SessionOutcome, type SessionParkedOn, type SessionPhase, type SessionState, 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 TerminalSessionStatus, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolImpact, type ToolPartData, type ToolPartErrorCode, type ToolPartState, 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 ViewProjectionStaleLiveEvent, type ViewStateEntry, type ViewStateResolution, type ViewSyncPayload, ViewType, type WithCustomAttributes, type WithCustomRecordAttributes, type WithoutSystemFields, accessLevelToActions, actionsToAccessLevel, agent, agentDataChunk, agentDisplayName, agentMessageAttachmentSchema, agentMessagePartSchema, 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, 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, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, fromDraftableView, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRecordCreatorPrincipalId, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, hasDestructiveEntries, includesAction, inferRollupReturnType, 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, isManagedSystemAttribute, isNotEmpty, isNullishOrEmptyString, isOpenToolPartState, isPlainRecord, isRelativeDateValue, isSetMembershipOperator, isStandardSchema, isTerminalSessionStatus, isTerminalState, isToolApprovalState, isValuePresent, jsonFlag, legacyStatusToSessionState, listDescribableNames, listView, liveChannelKey, location, makeFieldId, matchesAccepts, mentionReferenceSchema, modelDefinitionSchema, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, orderAgentSessionMessages, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOperation, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, presentationOf, proposedDefaultViewTargetSchema, qualifiedPropertyDefs, readFormFieldValue, registry, relation, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveEffectiveFilterType, resolveFieldRequired, resolveIsWithinBounds, resolveTextPattern, resolveUtcDayBounds, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionStateToLegacyStatus, status, stringFlag, text, toDraftableAttributes, toDraftableObject, toDraftableView, toMultiValueOperator, toUndefinedIfEmpty, toUtcDayString, today, todoItemSchema, todoPlanSchema, toolImpactSchema, user, validateAttributeName, validateLabelExpression, validateObjectName, validateQualifiedRule, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };
11132
+ 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 AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_OPERATION_TYPES, ALL_SYSTEM_RESOURCES, 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 AgentMessageAttachment, type AgentMessagePart, type AgentRequiredPermission, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, 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 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 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_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, 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 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, 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, type InferAttributeValue, type InferQualifiedProps, type InterruptionPartData, type InviteUserInput, type IsWithinBounds, LIVE_EVENT_TYPES, type LabelContext, type ListOptions, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, ListViewTabVisibility, type LiveChannel, type LiveChannelKind, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, Location, LocationAttribute, 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 MeetingResponseStatus, type MeetingStatus, type MeetingsListResponse, type MeetingsQuery, MeetingsTab, MeetingsTabConfig, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, type ModelDefinition, 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, 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, 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, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, 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 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 ResolvedFlag, ResourceVisibility, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, RichtextTabConfig, type Role, RollupAttribute, RollupFunction, type RunEffect, type RunMode, SCHEMA_PLAN_LIMITS, 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 SessionOutcome, type SessionParkedOn, type SessionPhase, type SessionState, 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 TerminalSessionStatus, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolImpact, type ToolPartData, type ToolPartErrorCode, type ToolPartState, 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, agentMessageAttachmentSchema, agentMessagePartSchema, 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, 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, formatAttributeValue, formatByteSize, formatComputedResult, formatLocationValue, formula, fromDraftableView, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRecordCreatorPrincipalId, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, hasDestructiveEntries, includesAction, inferRollupReturnType, 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, isManagedSystemAttribute, isNotEmpty, isNullishOrEmptyString, isOpenToolPartState, isPlainRecord, isRelativeDateValue, isSetMembershipOperator, isStandardSchema, isTerminalSessionStatus, isTerminalState, isToolApprovalState, isValuePresent, jsonFlag, legacyStatusToSessionState, listDescribableNames, listView, liveChannelKey, location, makeFieldId, matchesAccepts, mentionReferenceSchema, modelDefinitionSchema, multiselect, nativeAgentUIPartIdMetadataKey, normalizeDateValue, normalizeFilterRule, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, orderAgentSessionMessages, parseCountMode, parseLiveChannelKey, parseNativeAgentUIPartIdsMetadata, parseOperation, parseOptionalCountMode, parseQualifiedAttribute, persistedDefaultViewTargetSchema, persistedSchemaPlanSchema, phone, plannedAttributeSchema, plannedInlineAttributeSchema, plannedObjectSchema, presentationOf, proposedDefaultViewTargetSchema, qualifiedPropertyDefs, readFormFieldValue, registry, relation, relationPropertyDefs, renderLabelExpression, resetViewToDefault, resolveAttributeDefaultValue, resolveEffectiveFilterType, resolveFieldRequired, resolveIsWithinBounds, resolveTextPattern, resolveUtcDayBounds, richtext, rollup, rollupToFormulaExpression, schemaPlanSchema, select, sessionStateToLegacyStatus, status, stringFlag, text, toDraftableAttributes, toDraftableObject, toDraftableView, toMultiValueOperator, toUndefinedIfEmpty, toUtcDayString, today, todoItemSchema, todoPlanSchema, toolImpactSchema, user, validateAttributeName, validateLabelExpression, validateObjectName, validateQualifiedRule, validateViewName, viewRegistry, viewStateKey, viewSyncPayload };