@axiom-lattice/protocols 7.2.0 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1856,7 +1856,7 @@ interface SkillLatticeProtocol extends BaseLatticeProtocol<SkillConfig, SkillCli
1856
1856
  /**
1857
1857
  * MCP transport type
1858
1858
  */
1859
- type McpTransportType = "stdio" | "streamable_http" | "sse";
1859
+ type McpTransportType = "stdio" | "streamable_http";
1860
1860
  /**
1861
1861
  * MCP protocol era selection for client connections.
1862
1862
  *
@@ -1884,7 +1884,7 @@ interface McpServerConfig {
1884
1884
  /** Environment variables (stdio transport; credentials passed to the server process) */
1885
1885
  env?: Record<string, string>;
1886
1886
  /**
1887
- * Custom HTTP headers sent with every request (streamable_http / sse only).
1887
+ * Custom HTTP headers sent with every request (streamable_http only).
1888
1888
  * Commonly used for authentication, e.g. `{ Authorization: "Bearer <token>" }`.
1889
1889
  * Ignored for stdio transport. Values are encrypted at rest by config stores.
1890
1890
  */
@@ -3033,6 +3033,11 @@ interface McpServerConfigEntry {
3033
3033
  * Tenant identifier for multi-tenant isolation
3034
3034
  */
3035
3035
  tenantId: string;
3036
+ /**
3037
+ * Personal assistant that owns this configuration, when it belongs to the
3038
+ * personal data domain. Tenant-scoped entries leave this undefined.
3039
+ */
3040
+ ownerAssistantId?: string;
3036
3041
  /**
3037
3042
  * Business key for the configuration (unique within tenant)
3038
3043
  */
@@ -3208,6 +3213,58 @@ interface McpServerConfigStore {
3208
3213
  */
3209
3214
  hasConfig(tenantId: string, id: string): Promise<boolean>;
3210
3215
  }
3216
+ /**
3217
+ * MCP server configuration owned by one personal assistant.
3218
+ *
3219
+ * Personal configs live in a separate store surface so tenant-only code paths
3220
+ * can never read them by accident; the owning assistant id is part of every
3221
+ * lookup key.
3222
+ */
3223
+ interface PersonalMcpServerConfigEntry extends McpServerConfigEntry {
3224
+ /** Personal assistant that owns this configuration. */
3225
+ ownerAssistantId: string;
3226
+ }
3227
+ /**
3228
+ * Store operations for the personal MCP data domain.
3229
+ *
3230
+ * Every method scopes by `(tenantId, ownerAssistantId)`. Implementations must
3231
+ * never merge personal rows into the tenant-only methods of
3232
+ * {@link McpServerConfigStore}.
3233
+ */
3234
+ interface PersonalMcpServerConfigStore {
3235
+ /** List all personal MCP configs belonging to one assistant. */
3236
+ getAllConfigsForAssistant(tenantId: string, ownerAssistantId: string): Promise<PersonalMcpServerConfigEntry[]>;
3237
+ /**
3238
+ * List every personal MCP config across tenants.
3239
+ *
3240
+ * Intended for operations and tests only; startup restoration must not call
3241
+ * it (personal connections are established lazily).
3242
+ */
3243
+ getAllPersonalConfigsWithoutTenant(): Promise<PersonalMcpServerConfigEntry[]>;
3244
+ /** Get one personal config by id, scoped to its assistant. */
3245
+ getConfigByIdForAssistant(tenantId: string, ownerAssistantId: string, id: string): Promise<PersonalMcpServerConfigEntry | null>;
3246
+ /** Get one personal config by business key, scoped to its assistant. */
3247
+ getConfigByKeyForAssistant(tenantId: string, ownerAssistantId: string, key: string): Promise<PersonalMcpServerConfigEntry | null>;
3248
+ /** Create a personal config for one assistant. */
3249
+ createConfigForAssistant(tenantId: string, ownerAssistantId: string, id: string, data: CreateMcpServerConfigRequest): Promise<PersonalMcpServerConfigEntry>;
3250
+ /** Update a personal config by id, scoped to its assistant. */
3251
+ updateConfigForAssistant(tenantId: string, ownerAssistantId: string, id: string, updates: Partial<UpdateMcpServerConfigRequest>): Promise<PersonalMcpServerConfigEntry | null>;
3252
+ /** Delete one personal config by id; returns whether a row was removed. */
3253
+ deleteConfigForAssistant(tenantId: string, ownerAssistantId: string, id: string): Promise<boolean>;
3254
+ /** Delete every personal config owned by one assistant; returns the count. */
3255
+ deleteConfigsForAssistant(tenantId: string, ownerAssistantId: string): Promise<number>;
3256
+ /** Check whether a personal config id exists for one assistant. */
3257
+ hasConfigForAssistant(tenantId: string, ownerAssistantId: string, id: string): Promise<boolean>;
3258
+ }
3259
+ /** A store that serves both the tenant and personal MCP data domains. */
3260
+ type McpConfigStoreWithPersonal = McpServerConfigStore & PersonalMcpServerConfigStore;
3261
+ /**
3262
+ * Narrow a store to the personal MCP surface at runtime.
3263
+ *
3264
+ * Custom hosts may register a tenant-only MCP store; callers use this guard to
3265
+ * degrade gracefully instead of assuming the personal methods exist.
3266
+ */
3267
+ declare function isPersonalMcpServerConfigStore(store: McpServerConfigStore): store is McpConfigStoreWithPersonal;
3211
3268
 
3212
3269
  /**
3213
3270
  * ModelProviderProtocol
@@ -3269,6 +3326,19 @@ type ModelKind = "chat" | "embedding" | "asr";
3269
3326
  declare const DEFAULT_MODEL_KEY = "default";
3270
3327
  declare const EMBEDDING_DEFAULT_KEY = "default:embedding";
3271
3328
  declare const ASR_DEFAULT_KEY = "default:asr";
3329
+ /**
3330
+ * Reserved tenant id for the platform-owned model provider catalog.
3331
+ *
3332
+ * The platform catalog lives in the same encrypted `modelProvider` store as a
3333
+ * tenant's own providers, under this reserved id. It is deliberately distinct
3334
+ * from the deployment `"default"` namespace, which holds the models registered
3335
+ * from environment configuration at boot.
3336
+ *
3337
+ * Resolution uses it as the second step: a tenant with providers of its own
3338
+ * never reaches it, a tenant with none falls back to it while it has providers,
3339
+ * and only an empty platform catalog falls through to the deployment namespace.
3340
+ */
3341
+ declare const PLATFORM_MODEL_TENANT_ID = "__platform__";
3272
3342
  /**
3273
3343
  * Build the tenant-scoped model key.
3274
3344
  *
@@ -3571,11 +3641,12 @@ interface ModelSelection {
3571
3641
  */
3572
3642
  kind?: ModelKind;
3573
3643
  /**
3574
- * Whether this is the tenant's default model.
3644
+ * Whether this is the tenant's default model of its kind.
3575
3645
  *
3576
- * At most one model per tenant may carry it. Omitted means "leave the stored
3577
- * flag alone"; a default can only be replaced, never dropped by omission —
3578
- * see `ModelProviderStore.getDefaultModel`.
3646
+ * The flag is scoped per *(tenant, kind)*: at most one chat model, one
3647
+ * embedding model, and one ASR model may carry it. Omitted means "leave the
3648
+ * stored flag alone"; a default can only be replaced, never dropped by
3649
+ * omission — see `ModelProviderStore.getDefaultModel`.
3579
3650
  */
3580
3651
  isDefault?: boolean;
3581
3652
  }
@@ -4463,6 +4534,13 @@ interface BindingRegistry {
4463
4534
  * Collection store protocol definitions for the Axiom Lattice framework.
4464
4535
  * Provides standardized interfaces for collection management across all implementations.
4465
4536
  */
4537
+ /**
4538
+ * Maximum number of entries accepted by one collection batch write.
4539
+ *
4540
+ * Shared by the agent tool, gateway validation, and SDK-facing contract so the
4541
+ * limit cannot drift between surfaces.
4542
+ */
4543
+ declare const COLLECTION_ENTRY_BATCH_MAX = 50;
4466
4544
  /**
4467
4545
  * Collection field type definition
4468
4546
  */
@@ -4684,6 +4762,8 @@ interface McpUiResourcePayload {
4684
4762
  csp?: McpUiCsp;
4685
4763
  permissions?: McpUiPermissions;
4686
4764
  prefersBorder?: boolean;
4765
+ /** Built-in, trusted UI may run in the host origin (see PluginToolUi). */
4766
+ trustedSameOrigin?: boolean;
4687
4767
  stale?: boolean;
4688
4768
  }
4689
4769
  /** Type guard for a parsed `McpUiRef`. */
@@ -5910,7 +5990,7 @@ interface OpenGrantSelector {
5910
5990
  interface OpenGrant {
5911
5991
  domain: string;
5912
5992
  /**
5913
- * Action names (kb: ["search"]) or instance ids (agent: [assistantId]).
5993
+ * Action names (collection: ["search_collection"]) or instance ids (agent: [assistantId]).
5914
5994
  * Absent/empty = every action in the domain.
5915
5995
  */
5916
5996
  items?: string[];
@@ -5953,7 +6033,7 @@ declare function effectiveGrants(record: {
5953
6033
  type OpenCapabilitySource = "builtin" | "plugin" | "agent";
5954
6034
  /** A selectable grant item: an action name or an instance id. */
5955
6035
  interface OpenCatalogItem {
5956
- /** Grant item value: action name (kb → "search") or instance id (agent → assistantId). */
6036
+ /** Grant item value: action name (collection → "search_collection") or instance id (agent → assistantId). */
5957
6037
  id: string;
5958
6038
  /** Full MCP tool name when this item is exclusively exposed (informational). */
5959
6039
  toolName: string;
@@ -8075,7 +8155,7 @@ interface ShareRecordBase {
8075
8155
  passwordHash: string | null;
8076
8156
  expiresAt: Date | null;
8077
8157
  maxAccess: number | null;
8078
- /** Extra Open-door grants appended to sandbox tokens (V1: kb read-only). */
8158
+ /** Extra Open-door grants appended to sandbox tokens (V1: collection search read-only). */
8079
8159
  openGrants?: OpenGrant[];
8080
8160
  accessCount: number;
8081
8161
  revoked: boolean;
@@ -8265,6 +8345,15 @@ interface PluginToolUi {
8265
8345
  csp?: McpUiCsp;
8266
8346
  permissions?: McpUiPermissions;
8267
8347
  prefersBorder?: boolean;
8348
+ /**
8349
+ * Allow this UI to run in the same origin as the host.
8350
+ *
8351
+ * Only honored for built-in plugins (`meta.source` starts with `builtin:`);
8352
+ * tenant sandbox plugins and external MCP servers never receive it. This
8353
+ * lets a trusted first-party UI embed a same-origin console page without the
8354
+ * opaque-origin sandbox blocking it.
8355
+ */
8356
+ trustedSameOrigin?: boolean;
8268
8357
  }
8269
8358
  /**
8270
8359
  * Inline UI resource served by a GLOBAL (non-sandbox) plugin.
@@ -8956,6 +9045,7 @@ interface PlatformBranding {
8956
9045
  backgroundColor?: string;
8957
9046
  loginTitle?: string;
8958
9047
  loginSubtitle?: string;
9048
+ customCss?: string;
8959
9049
  }
8960
9050
  /** Host-scoped branding and public endpoint overrides. */
8961
9051
  interface BrandingDomain {
@@ -8978,6 +9068,13 @@ interface ResolvedPlatformBranding {
8978
9068
  publicGatewayUrl?: string;
8979
9069
  publicConsoleUrl?: string;
8980
9070
  }
9071
+ /** Platform override for one gateway rate-limit policy. */
9072
+ interface PlatformRateLimitPolicyOverride {
9073
+ /** New fixed-window request limit. Omitted keeps the deployment limit. */
9074
+ limit?: number;
9075
+ /** Set false to disable this policy. Omitted keeps the deployment state. */
9076
+ enabled?: boolean;
9077
+ }
8981
9078
  /** Persisted, partial platform settings document managed by platform admins. */
8982
9079
  interface PlatformSettingsDocument {
8983
9080
  auth?: {
@@ -8988,10 +9085,10 @@ interface PlatformSettingsDocument {
8988
9085
  defaultMaxUses?: number;
8989
9086
  };
8990
9087
  rateLimits?: {
8991
- openApiPerMinute?: number;
8992
- openAgentPerMinute?: number;
8993
- a2aJsonRpcPerMinute?: number;
8994
- a2aJsonRpcIpPerMinute?: number;
9088
+ /** Per-policy platform overrides keyed by policy name. */
9089
+ policies?: Record<string, PlatformRateLimitPolicyOverride>;
9090
+ /** PATCH-only command: remove platform overrides for these policies. */
9091
+ resetPolicies?: string[];
8995
9092
  maxActiveRunTasksPerTenant?: number | null;
8996
9093
  };
8997
9094
  branding?: PlatformBrandingSettings;
@@ -9036,6 +9133,8 @@ interface PlatformSettingsProvider {
9036
9133
  getEffective(): EffectivePlatformSettings;
9037
9134
  getInviteDefaults(): EffectivePlatformSettings["invite"];
9038
9135
  getRateLimits(): EffectivePlatformSettings["rateLimits"];
9136
+ /** Platform-only policy overrides; absent for consumers that do not need them. */
9137
+ getRateLimitPolicyOverrides?(): Record<string, PlatformRateLimitPolicyOverride>;
9039
9138
  }
9040
9139
  /** Persistence operations for platform settings with version CAS. */
9041
9140
  interface PlatformSettingsStore {
@@ -9076,4 +9175,153 @@ declare const DEFAULT_PLATFORM_BRANDING: PlatformBranding;
9076
9175
  */
9077
9176
  declare function normalizeBrandingHost(raw: string): string;
9078
9177
 
9079
- export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AAuthContext, type A2AEventCursor, type A2ARemoteAgentConfig, AFFINITY_ECHO_HEADER, AFFINITY_MISS_CODE, AGENT_AFFINITY_HEADER, ASR_DEFAULT_KEY, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentInterrupt, type AgentLatticeProtocol, type AgentMenuConfig, type AgentMiddlewareConfig, type AgentRunConfig, AgentType, type AgentWebApp, type AgentWebAppAppearance, type AgentWebAppBootstrap, type AgentWebAppCalloutWidget, type AgentWebAppError, type AgentWebAppErrorCode, type AgentWebAppFeatures, type AgentWebAppGenUIBlock, type AgentWebAppIdentityAssurance, type AgentWebAppIdentityConfig, type AgentWebAppIdentityPolicy, type AgentWebAppInterrupt, type AgentWebAppIssuerConfig, type AgentWebAppQuickPrompt, type AgentWebAppRuntimeMessage, type AgentWebAppRuntimeThread, type AgentWebAppScope, type AgentWebAppStatus, type AgentWebAppStore, type AgentWebAppStorePatch, type AgentWebAppStreamEvent, type AgentWebAppStreamProjectionContext, type AgentWebAppTableWidget, type AgentWebAppThreadMetadata, type AgentWebAppUpdateOptions, type Assistant, type AssistantMessage, type AssistantStore, type Attachment, type AuthChallenge, type AuthCookie, AuthError, type AuthErrorCode, type AuthProvider, type AuthProviderDescriptor, type AuthRequestContext, type AvailableModule, type BaseLatticeProtocol, type BaseMessage, type Binding, type BindingListParams, type BindingMutablePatch, type BindingRegistry, type BootstrapFilesConfig, type BrandingDomain, type BrowserMiddlewareConfig, CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT, CHANNEL_REPLY_JOB_LIST_LIMIT_MAX, CHANNEL_REPLY_JOB_LIST_LIMIT_MIN, type Callback, type CapabilityBundle, type CapabilityBundleDeleteResult, type CapabilityBundleStore, type CapabilityBundleUpdateConflict, type CapabilityFieldSource, type CapabilityOverride, type CapabilityPreview, type CapabilityPreviewIssue, type CapabilityRuntime, type ChannelAdapter, type ChannelBindingMigrationConflict, ChannelBindingMigrationConflictError, type ChannelInstallation, type ChannelInstallationStore, type ChannelInstallationType, type ChannelReplyJob, type ChannelReplyJobStatus, type ChannelReplyJobStore, type CheckpointMaintenance, type CheckpointStorage, type ClawMiddlewareConfig, type CodeEvalMiddlewareConfig, type Collection, type CollectionField, type CollectionFieldType, type CollectionMiddlewareConfig, type CollectionSchema, type CollectionStore, type ConnectionEntry, type ConnectionStore, type ConversationRecord, type CreateA2AApiKeyInput, type CreateAgentWebAppInput, type CreateAssistantRequest, type CreateBindingInput, type CreateCapabilityBundleInput, type CreateChannelInstallationInput, type CreateChannelInstallationRequest, type CreateChannelReplyJobInput, type CreateCollectionRequest, type CreateConversationInput, type CreateDatabaseConfigRequest, type CreateEvalCaseRequest, type CreateEvalProjectRequest, type CreateEvalRunRequest, type CreateEvalSuiteRequest, type CreateFileShareRequest, type CreateInviteLinkInput, type CreateMcpAppShareRequest, type CreateMcpServerConfigRequest, type CreateMenuItemInput, type CreateMetricsServerConfigRequest, type CreateModelProviderRequest, type CreateOidcIdentityClaimInput, type CreateOidcProviderConfigInput, type CreateProjectRequest, type CreateRunStepRequest, type CreateShareRecord, type CreateShareRequest, type CreateSkillRequest, type CreateTaskRequest, type CreateTenantRequest, type CreateThreadRequest, type CreateUserRequest, type CreateUserTenantLinkRequest, type CreateWorkItemIfAbsentRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, DEFAULT_MODEL_KEY, DEFAULT_PLATFORM_BRANDING, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DescriptorDataValue, type DeveloperMessage, type DiscoveredModel, type DispatchResult, DuplicateChannelBindingSubjectError, EMBEDDING_DEFAULT_KEY, EXECUTION_RESULT_EVENT_KEY_PATTERN, EXECUTION_RESULT_EVENT_KEY_PATTERN_SOURCE, EXECUTION_RESULT_EVENT_KEY_PREFIX, type EffectivePlatformSettings, type EmbeddingsConfig, type EmbeddingsLatticeProtocol, type EvalCase, type EvalProject, type EvalProjectReport, type EvalRun, type EvalRunResult, type EvalStore, type EvalSuite, type ExecuteSqlQueryRequest, type ExecuteSqlQueryResponse, type ExpectedCapabilityBundleRevisions, ExternalIdentityConflictError, ExternalIdentityPersistError, type FileMenuConfig, type FileShareRecord, type FilterCondition, type GraphBuildOptions, type HtmlMenuConfig, type IConversationStore, type ID, type InboundMessage, type InternalAgentNode, type InternalBaseNode, type InternalCreateCapabilityBundleInput, type InternalDSL, type InternalEdge, type InternalInput, type InternalInputNode, type InternalMapNode, type InternalNode, type InternalNodeConfig, type InternalOutput, type InternalState, type InternalStateField, type InternalTerminalNode, type InternalUpdateCapabilityBundleInput, type InterruptAnswerKey, type InterruptMessage, type InterruptPolicy, InvalidProjectCapabilityBundleConfigError, type InviteLink, type InviteLinkScope, type InviteLinkStore, LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION, type LLMConfig, type LangfuseAgentBreakdownRow, type LangfuseModelBreakdownRow, type LangfuseModelCostSeries, type LangfuseObservabilityDashboardPayload, type LangfuseObservabilitySeriesPoint, type LangfuseToolBreakdownRow, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LeaseRecord, type LeaseStore, type LocalA2AProviderId, type LocalA2AProviderState, type LocalA2AProviderStatus, type LocalA2ATemplateDefinition, type LocalRuntimeConfig, type LoggerClient, type LoggerConfig, type LoggerContext, type LoggerLatticeProtocol, LoggerType, type LoginSurface, MAX_PENDING_EXECUTION_RESULTS_LIMIT, type McpAppMenuConfig, type McpAppShareApp, type McpAppShareBootstrap, type McpAppShareRecord, type McpAppShareTarget, type McpClient, type McpClientOptions, type McpConnectionStatus, type McpLatticeMessage, type McpLatticeProtocol, McpMessageType, type McpProtocolMode, type McpServerConfig, type McpServerConfigEntry, type McpServerConfigStore, type McpStats, type McpTool, type McpToolResult, type McpTransportType, type McpUiCsp, type McpUiDisplayMode, type McpUiPermissions, type McpUiRef, type McpUiResourcePayload, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type MenuContentConfig, type MenuContentType, type MenuItem, type MenuRegistry, type MenuTarget, type Message, type MessageChunk, type MessageChunkType, MessageChunkTypes, type MessageContext, type MessageMiddleware, type MetricColumn, type MetricDataPoint, type MetricMeta, type MetricQueryResult, type MetricsMiddlewareConfig, type MetricsServerConfig, type MetricsServerConfigEntry, type MetricsServerConfigStore, type MetricsServerType, type MiddlewareType, type ModelDiscoveryResult, type ModelKind, type ModelLatticeProtocol, type ModelProviderApiStyle, type ModelProviderEntry, type ModelProviderErrorCode, type ModelProviderLlmProvider, type ModelProviderModelEntry, type ModelProviderProbeRequest, type ModelProviderProbeResult, type ModelProviderPublicEntry, type ModelProviderStatus, type ModelProviderStore, type ModelProviderUpstreamErrorCode, type ModelProviderWireProtocol, type ModelSelection, OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX, type ObservabilityDashboardEnvelope, type ObservabilityDashboardInput, type ObservabilityDashboardRange, type ObservabilityDashboardResult, type OidcIdentityClaim, type OidcIdentityClaimApproval, OidcIdentityClaimConflictError, type OidcIdentityClaimStatus, type OidcIdentityClaimStore, type OidcProviderConfig, OidcProviderConfigConflictError, type OidcProviderConfigStore, type OpenAuditAppendInput, type OpenAuditQuery, type OpenAuditRecord, type OpenAuditStore, type OpenCapabilitySource, type OpenCatalog, type OpenCatalogConnection, type OpenCatalogDomain, type OpenCatalogItem, type OpenCredentialKind, type OpenExecutionContext, type OpenExecutionResult, type OpenGrant, type OpenGrantSelector, type OutboundMessage, type OutboundStreamChunk, type OutboxEvent, type OutboxStore, PLATFORM_SETTINGS_DEFAULTS, PROJECT_ROOM_TASK_DELEGATED_LABEL, PROJECT_ROOM_TASK_DELEGATED_SEPARATOR, PROJECT_ROOM_USER_CHANNEL_PROJECT, PROJECT_TASK_LIFECYCLE_ACTIONS, type PaginatedResult, type PaginationParams, type PinoFileOptions, type PlatformBranding, type PlatformBrandingSettings, type PlatformInvitation, type PlatformInvitationStore, type PlatformMember, type PlatformMemberStore, type PlatformRole, type PlatformSettingSource, type PlatformSettingsDocument, type PlatformSettingsProvider, type PlatformSettingsRecord, type PlatformSettingsSnapshot, type PlatformSettingsStore, PlatformSettingsVersionConflictError, type Plugin, type PluginConnection, type PluginConnectionFieldSchema, type PluginConnectionTestResult, type PluginContext, type PluginDeployment, type PluginDeploymentMode, type PluginDeploymentStatus, type PluginDeploymentStore, type PluginDiscoveredResource, type PluginMeta, type PluginMetaOutput, type PluginMiddlewareFactory, type PluginSkillDefinition, type PluginSkillResource, type PluginStandardConnectionConfig, type PluginToolMeta, type PluginToolUi, type PluginUiResource, type Principal, type Project, type ProjectBotMembership, type ProjectBotMembershipStatus, type ProjectBotMembershipStore, type ProjectBotRole, type ProjectCapabilityConfig, type ProjectFilter, type ProjectHumanRole, type ProjectKind, type ProjectLifecycleEventCursor, type ProjectLifecycleEventQuery, type ProjectMembership, type ProjectMembershipMutationResult, type ProjectMembershipStatus, type ProjectMembershipStore, type ProjectRoom, ProjectRoomBrokerCapacityError, type ProjectRoomBusinessEvent, type ProjectRoomBusinessEventDraft, type ProjectRoomControlEvent, ProjectRoomCursorError, type ProjectRoomEventBrokerProtocol, type ProjectRoomEventId, type ProjectRoomEventOf, type ProjectRoomEventScope, type ProjectRoomEventSubscription, type ProjectRoomMembershipAffectedEvent, type ProjectRoomMembershipChangedEvent, type ProjectRoomMention, type ProjectRoomMessage, type ProjectRoomMessageAuthor, type ProjectRoomMessageCreatedEvent, type ProjectRoomMessageCursor, type ProjectRoomMessageSource, type ProjectRoomMessageStore, type ProjectRoomPublicBotMembership, type ProjectRoomPublicMembership, type ProjectRoomPublicMessage, type ProjectRoomReadChangedEvent, type ProjectRoomReadState, type ProjectRoomReadStateStore, type ProjectRoomRealtimeActor, type ProjectRoomRosterChangedEvent, type ProjectRoomScopedBusinessEvent, type ProjectRoomSseWritable, type ProjectRoomStore, type ProjectRoomTaskChangedEvent, type ProjectRoomThreadMetadata, type ProjectRoomTrustedRunContext, type ProjectStore, type ProjectTaskLifecycleAction, ProjectTaskStoreUnsupportedError, type ProjectTaskThreadMetadata, type ProjectTaskTrustedRunContext, type ProjectTaskWorkItemStore, type ProviderModelInput, type PublicChannelInstallationType, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type QueuedExecutionMode, REPLICA_HEADER, type ReactAgentConfig, type ReplyTarget, type ResolvedPlatformBranding, type ResourceAddress, type ResourceResolver, type Result, type RunCancelSignal, type RunScope, type RunStep, STORE_IDENTITY_SEPARATOR, type STTClient, type STTConfig, type STTModelLatticeProtocol, type SandboxMiddlewareConfig, type SandboxPluginConnectionDef, type SandboxPluginDiagnostic, type SandboxPluginManifest, type SandboxPluginToolDef, type ScheduleClient, type ScheduleConfig, type ScheduleCronOptions, ScheduleExecutionType, type ScheduleLatticeProtocol, type ScheduleOnceOptions, type ScheduleStorage, ScheduleType, type ScheduledTaskDefinition, ScheduledTaskStatus, type SchedulerMiddlewareConfig, type SemanticMetricsFilter, type SemanticMetricsQueryRequest, type SemanticMetricsQueryResponse, type SemanticMetricsServerConfig, type ShareCardData, type ShareKind, type ShareRecord, type ShareRecordPatch, type ShareResult, type ShareTarget, type ShareVisibility, type SharedResourceStore, type Skill, type SkillClient, type SkillClientType, type SkillConfig, type SkillLatticeProtocol, type SkillStore, type SkillStoreContext, type SqlMiddlewareConfig, type StepStatus, type StepType, type StorageType, type StoreItem, type StoreProtocol, type StorePutInput, type StoreSearchInput, StoreValidationError, type SystemMessage, type TableQueryRequest, type TableQueryResponse, type TaskBeliefDiagnosticCode, type TaskBeliefEntry, type TaskBeliefParseFailure, type TaskBeliefParseResult, type TaskBeliefParseSuccess, type TaskBeliefState, type TaskDependentListQuery, type TaskFileRef, type TaskHandler, type TaskItem, type TaskListFilter, type TaskMutationSnapshot, type TaskStore, type TaskWorkItem, type TaskWorkItemListFilter, type TaskWorkItemStore, type Tenant, type TenantModelCatalog, type TenantModelPublicEntry, type TenantStatus, type TenantStore, type TestMcpServerToolsResponse, type Thread, type ThreadCheckpointStorage, type ThreadStore, type Timestamp, type ToolCall, type ToolCallUi, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type TopologyEdge, type TranscriptionResult, type TrustedRunContext, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UpdateA2AApiKeyInput, type UpdateAgentWebAppInput, type UpdateCapabilityBundleInput, type UpdateChannelInstallationRequest, type UpdateCollectionRequest, type UpdateDatabaseConfigRequest, type UpdateMcpServerConfigRequest, type UpdateMenuItemInput, type UpdateMetricsServerConfigRequest, type UpdateModelProviderRequest, type UpdateOidcIdentityClaimInput, type UpdateOidcProviderConfigInput, type UpdateProjectCapabilityBundlesResult, type UpdateProjectRequest, type UpdateRunStepRequest, type UpdateTaskRequest, type UpdateTenantRequest, type UpdateUserRequest, type UpdateUserTenantLinkRequest, type UpdateWorkflowRunRequest, type UpdateWorkspaceRequest, type User, type UserExternalIdentity, type UserExternalIdentityStore, type UserMessage, type UserPushSubscription, type UserPushSubscriptionStore, type UserStatus, type UserStore, type UserTenantLink, type UserTenantLinkStore, type UserTenantRole, type VectorStoreConfig, type VectorStoreCreateParams, type VectorStoreLatticeProtocol, type VectorStoreProvider, WORKSPACE_PUBLIC_ROOM_PROJECT_PREFIX, type WechatChannelInstallationConfig, type WecomChannelInstallationConfig, type WorkflowAgentConfig, type WorkflowRun, type WorkflowRunStatus, type WorkflowTrackingStore, type Workspace, type WorkspaceStore, type YamlAgentStep, type YamlMapStep, type YamlParallelBlock, type YamlTopLevelStep, type YamlWorkflow, a2aEventCursorSchema, affinityEchoHeaders, assertGenericProjectConfig, assertStoreIdentity, assertStoreNamespacePrefix, assertValidCreateChannelReplyJobInput, buildAffinityMissChunk, createAgentWebAppStreamProjectionContext, descriptorDataValue, effectiveGrants, firstNonEmptyString, getSubAgentsFromConfig, getToolsFromConfig, hasTools, interruptAnswerKeySchema, isA2ARemoteAgentConfig, isDeepAgentConfig, isExecutionResultEventKey, isMcpUiRef, isProjectRoomEventId, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, normalizeAllowedPrivateHosts, normalizeBrandingHost, normalizeChannelReplyJobListLimit, normalizeInviteLinkEmail, normalizeOidcIdentityEmail, normalizePlatformInvitationEmail, normalizeTaskMetadataScalar, observabilityDashboardElementKey, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseModelKey, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, resolveRunScope, runCancelSignalSchema, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, storeExpiresAt, storePaginationValue, taskBeliefStatesEqual, threadAffinityHeaders, toModelKey, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
9178
+ /** Maximum stored size of one branding customCss field (64 KiB). */
9179
+ declare const MAX_CUSTOM_CSS_LENGTH = 65536;
9180
+ /** True when the CSS contains an `@import` outside comments/strings/urls. */
9181
+ declare function hasCssImport(css: string): boolean;
9182
+ /** True when the CSS can terminate the injected `<style>` element. */
9183
+ declare function hasStyleBreakout(css: string): boolean;
9184
+ /** Result of validating a customCss value. */
9185
+ type CustomCssValidation = {
9186
+ ok: true;
9187
+ } | {
9188
+ ok: false;
9189
+ reason: "length" | "import" | "breakout";
9190
+ };
9191
+ /** Validates a customCss value against the v1 rules. */
9192
+ declare function validateCustomCss(value: unknown): CustomCssValidation;
9193
+
9194
+ /** Stable `data-axiom-part` attribute values for the auth CSS contract. */
9195
+ declare const AUTH_CSS_CONTRACT_PARTS: readonly ["page", "card", "header", "logo", "logo-image", "title", "subtitle", "form", "field", "input", "submit", "sso", "sso-button", "alert", "footer", "link", "cancel", "tenant-list", "tenant-card", "tenant-search", "tenant-footer", "invite-notice"];
9196
+ /** Stable CSS custom properties exposed by the auth CSS contract. */
9197
+ declare const AUTH_CSS_CONTRACT_VARIABLES: readonly ["--axiom-auth-primary", "--axiom-auth-primary-hover", "--axiom-auth-primary-active", "--axiom-auth-bg", "--axiom-auth-surface", "--axiom-auth-text", "--axiom-auth-text-secondary", "--axiom-auth-border", "--axiom-auth-radius", "--axiom-auth-page-padding", "--axiom-auth-card-width", "--axiom-auth-card-padding", "--axiom-auth-card-shadow", "--axiom-auth-card-shadow-hover", "--axiom-auth-logo-size", "--axiom-auth-input-height"];
9198
+
9199
+ /** Actor on whose behalf a platform-level audit record was produced. */
9200
+ type PlatformAuditInitiator = {
9201
+ type: "human";
9202
+ userId: string;
9203
+ role: "owner" | "admin" | "auditor";
9204
+ } | {
9205
+ type: "bootstrap";
9206
+ } | {
9207
+ type: "system";
9208
+ component: string;
9209
+ };
9210
+ /** Execution surface that performed the audited platform operation. */
9211
+ type PlatformAuditExecutor = {
9212
+ type: "admin_center";
9213
+ route: string;
9214
+ } | {
9215
+ type: "ops_agent";
9216
+ agentId: "platform-ops";
9217
+ threadId: string;
9218
+ runId: string;
9219
+ toolName: string;
9220
+ } | {
9221
+ type: "bootstrap";
9222
+ } | {
9223
+ type: "system";
9224
+ component: string;
9225
+ };
9226
+ /** Entry point that originated a platform-level audit record. */
9227
+ type PlatformAuditSource = "admin_center" | "ops_agent" | "bootstrap" | "system";
9228
+ /** Kind of platform operation captured by an audit record. */
9229
+ type PlatformAuditAction = "write" | "playbook";
9230
+ /** Terminal outcome of the audited operation. */
9231
+ type PlatformAuditStatus = "ok" | "error" | "cancelled";
9232
+ /** Input accepted when appending a platform audit record. */
9233
+ interface PlatformAuditAppendInput {
9234
+ initiator: PlatformAuditInitiator;
9235
+ source: PlatformAuditSource;
9236
+ executor: PlatformAuditExecutor;
9237
+ tenantId?: string;
9238
+ action: PlatformAuditAction;
9239
+ status: PlatformAuditStatus;
9240
+ summary: Record<string, unknown>;
9241
+ before?: Record<string, unknown>;
9242
+ after?: Record<string, unknown>;
9243
+ errorCode?: string;
9244
+ durationMs: number;
9245
+ }
9246
+ /** Persisted platform audit record. */
9247
+ interface PlatformAuditRecord extends PlatformAuditAppendInput {
9248
+ id: string;
9249
+ createdAt: Date;
9250
+ }
9251
+ /**
9252
+ * Filter and pagination options for querying platform audit records.
9253
+ *
9254
+ * Results are ordered newest-first by `createdAt` descending, then by `id`
9255
+ * descending as a total-order tie-break. `from` is inclusive and `to` is
9256
+ * exclusive on `createdAt`. `limit` defaults to 100; negative `offset` and
9257
+ * `limit` values are clamped to 0. `initiatorUserId` matches human initiators
9258
+ * only.
9259
+ */
9260
+ interface PlatformAuditQuery {
9261
+ initiatorUserId?: string;
9262
+ source?: PlatformAuditSource;
9263
+ tenantId?: string;
9264
+ action?: PlatformAuditAction;
9265
+ status?: PlatformAuditStatus;
9266
+ from?: string;
9267
+ to?: string;
9268
+ limit?: number;
9269
+ offset?: number;
9270
+ }
9271
+ /** Persistence operations for platform audit records. */
9272
+ interface PlatformAuditStore {
9273
+ append(record: PlatformAuditAppendInput): Promise<PlatformAuditRecord>;
9274
+ get(id: string): Promise<PlatformAuditRecord | null>;
9275
+ query(params: PlatformAuditQuery): Promise<PlatformAuditRecord[]>;
9276
+ }
9277
+
9278
+ /**
9279
+ * PlatformOpsProtocol
9280
+ *
9281
+ * Shared identity constants for the platform-scoped operations surface.
9282
+ *
9283
+ * The Ops Agent runs on a hidden system tenant so it can reuse the normal
9284
+ * agent runtime (threads, runs, SSE, leases) without appearing in any tenant
9285
+ * or agent list. These identifiers are deliberately reserved and must not be
9286
+ * user-selectable.
9287
+ */
9288
+ /**
9289
+ * Reserved tenant id that owns platform-scoped configuration and agent
9290
+ * execution (platform model catalog, Ops Agent threads, …).
9291
+ */
9292
+ declare const PLATFORM_TENANT_ID = "__platform__";
9293
+ /**
9294
+ * Fixed key of the platform operations agent. It is registered explicitly at
9295
+ * startup rather than created through assistant management routes.
9296
+ */
9297
+ declare const PLATFORM_OPS_AGENT_ID = "platform-ops";
9298
+ /**
9299
+ * Stable error code returned when a normal tenant route tries to mutate the
9300
+ * hidden platform tenant.
9301
+ */
9302
+ declare const PLATFORM_TENANT_PROTECTED_ERROR = "PLATFORM_TENANT_PROTECTED";
9303
+ /**
9304
+ * Whether a tenant id belongs to the hidden platform tenant.
9305
+ */
9306
+ declare function isPlatformTenantId(tenantId: string): boolean;
9307
+ /**
9308
+ * Stable error raised when a tenant-plane operation tries to address the
9309
+ * hidden platform tenant.
9310
+ */
9311
+ declare class PlatformTenantProtectedError extends Error {
9312
+ readonly code = "PLATFORM_TENANT_PROTECTED";
9313
+ constructor(message?: string);
9314
+ }
9315
+ /**
9316
+ * Rejects any attempt to create or mutate a link into the hidden platform
9317
+ * tenant.
9318
+ */
9319
+ declare function assertNotPlatformTenant(tenantId: string): void;
9320
+ /** Fixed workspace used by Platform Ops threads inside the hidden tenant. */
9321
+ declare const PLATFORM_OPS_WORKSPACE_ID = "platform-ops";
9322
+ /** Fixed project used by Platform Ops threads inside the hidden tenant. */
9323
+ declare const PLATFORM_OPS_PROJECT_ID = "platform-ops";
9324
+ /** High-risk Ops playbook discriminator executed by the playbook executor. */
9325
+ type PlatformOpsPlaybookKind = "transfer_owner" | "offboard_member" | "delete_tenant" | "delete_oidc_provider" | "rotate_oidc_provider" | "reset_settings";
9326
+
9327
+ export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AAuthContext, type A2AEventCursor, type A2ARemoteAgentConfig, AFFINITY_ECHO_HEADER, AFFINITY_MISS_CODE, AGENT_AFFINITY_HEADER, ASR_DEFAULT_KEY, AUTH_CSS_CONTRACT_PARTS, AUTH_CSS_CONTRACT_VARIABLES, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentInterrupt, type AgentLatticeProtocol, type AgentMenuConfig, type AgentMiddlewareConfig, type AgentRunConfig, AgentType, type AgentWebApp, type AgentWebAppAppearance, type AgentWebAppBootstrap, type AgentWebAppCalloutWidget, type AgentWebAppError, type AgentWebAppErrorCode, type AgentWebAppFeatures, type AgentWebAppGenUIBlock, type AgentWebAppIdentityAssurance, type AgentWebAppIdentityConfig, type AgentWebAppIdentityPolicy, type AgentWebAppInterrupt, type AgentWebAppIssuerConfig, type AgentWebAppQuickPrompt, type AgentWebAppRuntimeMessage, type AgentWebAppRuntimeThread, type AgentWebAppScope, type AgentWebAppStatus, type AgentWebAppStore, type AgentWebAppStorePatch, type AgentWebAppStreamEvent, type AgentWebAppStreamProjectionContext, type AgentWebAppTableWidget, type AgentWebAppThreadMetadata, type AgentWebAppUpdateOptions, type Assistant, type AssistantMessage, type AssistantStore, type Attachment, type AuthChallenge, type AuthCookie, AuthError, type AuthErrorCode, type AuthProvider, type AuthProviderDescriptor, type AuthRequestContext, type AvailableModule, type BaseLatticeProtocol, type BaseMessage, type Binding, type BindingListParams, type BindingMutablePatch, type BindingRegistry, type BootstrapFilesConfig, type BrandingDomain, type BrowserMiddlewareConfig, CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT, CHANNEL_REPLY_JOB_LIST_LIMIT_MAX, CHANNEL_REPLY_JOB_LIST_LIMIT_MIN, COLLECTION_ENTRY_BATCH_MAX, type Callback, type CapabilityBundle, type CapabilityBundleDeleteResult, type CapabilityBundleStore, type CapabilityBundleUpdateConflict, type CapabilityFieldSource, type CapabilityOverride, type CapabilityPreview, type CapabilityPreviewIssue, type CapabilityRuntime, type ChannelAdapter, type ChannelBindingMigrationConflict, ChannelBindingMigrationConflictError, type ChannelInstallation, type ChannelInstallationStore, type ChannelInstallationType, type ChannelReplyJob, type ChannelReplyJobStatus, type ChannelReplyJobStore, type CheckpointMaintenance, type CheckpointStorage, type ClawMiddlewareConfig, type CodeEvalMiddlewareConfig, type Collection, type CollectionField, type CollectionFieldType, type CollectionMiddlewareConfig, type CollectionSchema, type CollectionStore, type ConnectionEntry, type ConnectionStore, type ConversationRecord, type CreateA2AApiKeyInput, type CreateAgentWebAppInput, type CreateAssistantRequest, type CreateBindingInput, type CreateCapabilityBundleInput, type CreateChannelInstallationInput, type CreateChannelInstallationRequest, type CreateChannelReplyJobInput, type CreateCollectionRequest, type CreateConversationInput, type CreateDatabaseConfigRequest, type CreateEvalCaseRequest, type CreateEvalProjectRequest, type CreateEvalRunRequest, type CreateEvalSuiteRequest, type CreateFileShareRequest, type CreateInviteLinkInput, type CreateMcpAppShareRequest, type CreateMcpServerConfigRequest, type CreateMenuItemInput, type CreateMetricsServerConfigRequest, type CreateModelProviderRequest, type CreateOidcIdentityClaimInput, type CreateOidcProviderConfigInput, type CreateProjectRequest, type CreateRunStepRequest, type CreateShareRecord, type CreateShareRequest, type CreateSkillRequest, type CreateTaskRequest, type CreateTenantRequest, type CreateThreadRequest, type CreateUserRequest, type CreateUserTenantLinkRequest, type CreateWorkItemIfAbsentRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomCssValidation, type CustomMenuConfig, DEFAULT_MODEL_KEY, DEFAULT_PLATFORM_BRANDING, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DescriptorDataValue, type DeveloperMessage, type DiscoveredModel, type DispatchResult, DuplicateChannelBindingSubjectError, EMBEDDING_DEFAULT_KEY, EXECUTION_RESULT_EVENT_KEY_PATTERN, EXECUTION_RESULT_EVENT_KEY_PATTERN_SOURCE, EXECUTION_RESULT_EVENT_KEY_PREFIX, type EffectivePlatformSettings, type EmbeddingsConfig, type EmbeddingsLatticeProtocol, type EvalCase, type EvalProject, type EvalProjectReport, type EvalRun, type EvalRunResult, type EvalStore, type EvalSuite, type ExecuteSqlQueryRequest, type ExecuteSqlQueryResponse, type ExpectedCapabilityBundleRevisions, ExternalIdentityConflictError, ExternalIdentityPersistError, type FileMenuConfig, type FileShareRecord, type FilterCondition, type GraphBuildOptions, type HtmlMenuConfig, type IConversationStore, type ID, type InboundMessage, type InternalAgentNode, type InternalBaseNode, type InternalCreateCapabilityBundleInput, type InternalDSL, type InternalEdge, type InternalInput, type InternalInputNode, type InternalMapNode, type InternalNode, type InternalNodeConfig, type InternalOutput, type InternalState, type InternalStateField, type InternalTerminalNode, type InternalUpdateCapabilityBundleInput, type InterruptAnswerKey, type InterruptMessage, type InterruptPolicy, InvalidProjectCapabilityBundleConfigError, type InviteLink, type InviteLinkScope, type InviteLinkStore, LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION, type LLMConfig, type LangfuseAgentBreakdownRow, type LangfuseModelBreakdownRow, type LangfuseModelCostSeries, type LangfuseObservabilityDashboardPayload, type LangfuseObservabilitySeriesPoint, type LangfuseToolBreakdownRow, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LeaseRecord, type LeaseStore, type LocalA2AProviderId, type LocalA2AProviderState, type LocalA2AProviderStatus, type LocalA2ATemplateDefinition, type LocalRuntimeConfig, type LoggerClient, type LoggerConfig, type LoggerContext, type LoggerLatticeProtocol, LoggerType, type LoginSurface, MAX_CUSTOM_CSS_LENGTH, MAX_PENDING_EXECUTION_RESULTS_LIMIT, type McpAppMenuConfig, type McpAppShareApp, type McpAppShareBootstrap, type McpAppShareRecord, type McpAppShareTarget, type McpClient, type McpClientOptions, type McpConfigStoreWithPersonal, type McpConnectionStatus, type McpLatticeMessage, type McpLatticeProtocol, McpMessageType, type McpProtocolMode, type McpServerConfig, type McpServerConfigEntry, type McpServerConfigStore, type McpStats, type McpTool, type McpToolResult, type McpTransportType, type McpUiCsp, type McpUiDisplayMode, type McpUiPermissions, type McpUiRef, type McpUiResourcePayload, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type MenuContentConfig, type MenuContentType, type MenuItem, type MenuRegistry, type MenuTarget, type Message, type MessageChunk, type MessageChunkType, MessageChunkTypes, type MessageContext, type MessageMiddleware, type MetricColumn, type MetricDataPoint, type MetricMeta, type MetricQueryResult, type MetricsMiddlewareConfig, type MetricsServerConfig, type MetricsServerConfigEntry, type MetricsServerConfigStore, type MetricsServerType, type MiddlewareType, type ModelDiscoveryResult, type ModelKind, type ModelLatticeProtocol, type ModelProviderApiStyle, type ModelProviderEntry, type ModelProviderErrorCode, type ModelProviderLlmProvider, type ModelProviderModelEntry, type ModelProviderProbeRequest, type ModelProviderProbeResult, type ModelProviderPublicEntry, type ModelProviderStatus, type ModelProviderStore, type ModelProviderUpstreamErrorCode, type ModelProviderWireProtocol, type ModelSelection, OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX, type ObservabilityDashboardEnvelope, type ObservabilityDashboardInput, type ObservabilityDashboardRange, type ObservabilityDashboardResult, type OidcIdentityClaim, type OidcIdentityClaimApproval, OidcIdentityClaimConflictError, type OidcIdentityClaimStatus, type OidcIdentityClaimStore, type OidcProviderConfig, OidcProviderConfigConflictError, type OidcProviderConfigStore, type OpenAuditAppendInput, type OpenAuditQuery, type OpenAuditRecord, type OpenAuditStore, type OpenCapabilitySource, type OpenCatalog, type OpenCatalogConnection, type OpenCatalogDomain, type OpenCatalogItem, type OpenCredentialKind, type OpenExecutionContext, type OpenExecutionResult, type OpenGrant, type OpenGrantSelector, type OutboundMessage, type OutboundStreamChunk, type OutboxEvent, type OutboxStore, PLATFORM_MODEL_TENANT_ID, PLATFORM_OPS_AGENT_ID, PLATFORM_OPS_PROJECT_ID, PLATFORM_OPS_WORKSPACE_ID, PLATFORM_SETTINGS_DEFAULTS, PLATFORM_TENANT_ID, PLATFORM_TENANT_PROTECTED_ERROR, PROJECT_ROOM_TASK_DELEGATED_LABEL, PROJECT_ROOM_TASK_DELEGATED_SEPARATOR, PROJECT_ROOM_USER_CHANNEL_PROJECT, PROJECT_TASK_LIFECYCLE_ACTIONS, type PaginatedResult, type PaginationParams, type PersonalMcpServerConfigEntry, type PersonalMcpServerConfigStore, type PinoFileOptions, type PlatformAuditAction, type PlatformAuditAppendInput, type PlatformAuditExecutor, type PlatformAuditInitiator, type PlatformAuditQuery, type PlatformAuditRecord, type PlatformAuditSource, type PlatformAuditStatus, type PlatformAuditStore, type PlatformBranding, type PlatformBrandingSettings, type PlatformInvitation, type PlatformInvitationStore, type PlatformMember, type PlatformMemberStore, type PlatformOpsPlaybookKind, type PlatformRateLimitPolicyOverride, type PlatformRole, type PlatformSettingSource, type PlatformSettingsDocument, type PlatformSettingsProvider, type PlatformSettingsRecord, type PlatformSettingsSnapshot, type PlatformSettingsStore, PlatformSettingsVersionConflictError, PlatformTenantProtectedError, type Plugin, type PluginConnection, type PluginConnectionFieldSchema, type PluginConnectionTestResult, type PluginContext, type PluginDeployment, type PluginDeploymentMode, type PluginDeploymentStatus, type PluginDeploymentStore, type PluginDiscoveredResource, type PluginMeta, type PluginMetaOutput, type PluginMiddlewareFactory, type PluginSkillDefinition, type PluginSkillResource, type PluginStandardConnectionConfig, type PluginToolMeta, type PluginToolUi, type PluginUiResource, type Principal, type Project, type ProjectBotMembership, type ProjectBotMembershipStatus, type ProjectBotMembershipStore, type ProjectBotRole, type ProjectCapabilityConfig, type ProjectFilter, type ProjectHumanRole, type ProjectKind, type ProjectLifecycleEventCursor, type ProjectLifecycleEventQuery, type ProjectMembership, type ProjectMembershipMutationResult, type ProjectMembershipStatus, type ProjectMembershipStore, type ProjectRoom, ProjectRoomBrokerCapacityError, type ProjectRoomBusinessEvent, type ProjectRoomBusinessEventDraft, type ProjectRoomControlEvent, ProjectRoomCursorError, type ProjectRoomEventBrokerProtocol, type ProjectRoomEventId, type ProjectRoomEventOf, type ProjectRoomEventScope, type ProjectRoomEventSubscription, type ProjectRoomMembershipAffectedEvent, type ProjectRoomMembershipChangedEvent, type ProjectRoomMention, type ProjectRoomMessage, type ProjectRoomMessageAuthor, type ProjectRoomMessageCreatedEvent, type ProjectRoomMessageCursor, type ProjectRoomMessageSource, type ProjectRoomMessageStore, type ProjectRoomPublicBotMembership, type ProjectRoomPublicMembership, type ProjectRoomPublicMessage, type ProjectRoomReadChangedEvent, type ProjectRoomReadState, type ProjectRoomReadStateStore, type ProjectRoomRealtimeActor, type ProjectRoomRosterChangedEvent, type ProjectRoomScopedBusinessEvent, type ProjectRoomSseWritable, type ProjectRoomStore, type ProjectRoomTaskChangedEvent, type ProjectRoomThreadMetadata, type ProjectRoomTrustedRunContext, type ProjectStore, type ProjectTaskLifecycleAction, ProjectTaskStoreUnsupportedError, type ProjectTaskThreadMetadata, type ProjectTaskTrustedRunContext, type ProjectTaskWorkItemStore, type ProviderModelInput, type PublicChannelInstallationType, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type QueuedExecutionMode, REPLICA_HEADER, type ReactAgentConfig, type ReplyTarget, type ResolvedPlatformBranding, type ResourceAddress, type ResourceResolver, type Result, type RunCancelSignal, type RunScope, type RunStep, STORE_IDENTITY_SEPARATOR, type STTClient, type STTConfig, type STTModelLatticeProtocol, type SandboxMiddlewareConfig, type SandboxPluginConnectionDef, type SandboxPluginDiagnostic, type SandboxPluginManifest, type SandboxPluginToolDef, type ScheduleClient, type ScheduleConfig, type ScheduleCronOptions, ScheduleExecutionType, type ScheduleLatticeProtocol, type ScheduleOnceOptions, type ScheduleStorage, ScheduleType, type ScheduledTaskDefinition, ScheduledTaskStatus, type SchedulerMiddlewareConfig, type SemanticMetricsFilter, type SemanticMetricsQueryRequest, type SemanticMetricsQueryResponse, type SemanticMetricsServerConfig, type ShareCardData, type ShareKind, type ShareRecord, type ShareRecordPatch, type ShareResult, type ShareTarget, type ShareVisibility, type SharedResourceStore, type Skill, type SkillClient, type SkillClientType, type SkillConfig, type SkillLatticeProtocol, type SkillStore, type SkillStoreContext, type SqlMiddlewareConfig, type StepStatus, type StepType, type StorageType, type StoreItem, type StoreProtocol, type StorePutInput, type StoreSearchInput, StoreValidationError, type SystemMessage, type TableQueryRequest, type TableQueryResponse, type TaskBeliefDiagnosticCode, type TaskBeliefEntry, type TaskBeliefParseFailure, type TaskBeliefParseResult, type TaskBeliefParseSuccess, type TaskBeliefState, type TaskDependentListQuery, type TaskFileRef, type TaskHandler, type TaskItem, type TaskListFilter, type TaskMutationSnapshot, type TaskStore, type TaskWorkItem, type TaskWorkItemListFilter, type TaskWorkItemStore, type Tenant, type TenantModelCatalog, type TenantModelPublicEntry, type TenantStatus, type TenantStore, type TestMcpServerToolsResponse, type Thread, type ThreadCheckpointStorage, type ThreadStore, type Timestamp, type ToolCall, type ToolCallUi, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type TopologyEdge, type TranscriptionResult, type TrustedRunContext, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UpdateA2AApiKeyInput, type UpdateAgentWebAppInput, type UpdateCapabilityBundleInput, type UpdateChannelInstallationRequest, type UpdateCollectionRequest, type UpdateDatabaseConfigRequest, type UpdateMcpServerConfigRequest, type UpdateMenuItemInput, type UpdateMetricsServerConfigRequest, type UpdateModelProviderRequest, type UpdateOidcIdentityClaimInput, type UpdateOidcProviderConfigInput, type UpdateProjectCapabilityBundlesResult, type UpdateProjectRequest, type UpdateRunStepRequest, type UpdateTaskRequest, type UpdateTenantRequest, type UpdateUserRequest, type UpdateUserTenantLinkRequest, type UpdateWorkflowRunRequest, type UpdateWorkspaceRequest, type User, type UserExternalIdentity, type UserExternalIdentityStore, type UserMessage, type UserPushSubscription, type UserPushSubscriptionStore, type UserStatus, type UserStore, type UserTenantLink, type UserTenantLinkStore, type UserTenantRole, type VectorStoreConfig, type VectorStoreCreateParams, type VectorStoreLatticeProtocol, type VectorStoreProvider, WORKSPACE_PUBLIC_ROOM_PROJECT_PREFIX, type WechatChannelInstallationConfig, type WecomChannelInstallationConfig, type WorkflowAgentConfig, type WorkflowRun, type WorkflowRunStatus, type WorkflowTrackingStore, type Workspace, type WorkspaceStore, type YamlAgentStep, type YamlMapStep, type YamlParallelBlock, type YamlTopLevelStep, type YamlWorkflow, a2aEventCursorSchema, affinityEchoHeaders, assertGenericProjectConfig, assertNotPlatformTenant, assertStoreIdentity, assertStoreNamespacePrefix, assertValidCreateChannelReplyJobInput, buildAffinityMissChunk, createAgentWebAppStreamProjectionContext, descriptorDataValue, effectiveGrants, firstNonEmptyString, getSubAgentsFromConfig, getToolsFromConfig, hasCssImport, hasStyleBreakout, hasTools, interruptAnswerKeySchema, isA2ARemoteAgentConfig, isDeepAgentConfig, isExecutionResultEventKey, isMcpUiRef, isPersonalMcpServerConfigStore, isPlatformTenantId, isProjectRoomEventId, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, normalizeAllowedPrivateHosts, normalizeBrandingHost, normalizeChannelReplyJobListLimit, normalizeInviteLinkEmail, normalizeOidcIdentityEmail, normalizePlatformInvitationEmail, normalizeTaskMetadataScalar, observabilityDashboardElementKey, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseModelKey, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, resolveRunScope, runCancelSignalSchema, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, storeExpiresAt, storePaginationValue, taskBeliefStatesEqual, threadAffinityHeaders, toModelKey, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage, validateCustomCss };