@axiom-lattice/protocols 7.5.0 → 7.7.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
@@ -1407,7 +1407,51 @@ interface ThreadStore {
1407
1407
  * @returns Expired threads ordered by `expiresAt` ascending.
1408
1408
  */
1409
1409
  listExpiredThreads(now: Date, limit: number): Promise<Thread[]>;
1410
+ /**
1411
+ * List persisted threads for one tenant, newest first.
1412
+ *
1413
+ * @param tenantId Tenant scope.
1414
+ * @param query Optional kind/assistant/time filters and pagination.
1415
+ * @returns Matching safe records and the unpaginated total.
1416
+ */
1417
+ listThreadsByTenant(tenantId: string, query?: ThreadMonitorQuery): Promise<{
1418
+ records: ThreadMonitorRecord[];
1419
+ total: number;
1420
+ }>;
1410
1421
  }
1422
+ /** Derived monitor kind for a persisted thread. */
1423
+ type ThreadMonitorKind = "conversation" | "room_presence" | "task_execution" | "open_api" | "web_app" | "cron" | "channel";
1424
+ /** Filters accepted by a tenant-wide thread list. */
1425
+ interface ThreadMonitorQuery {
1426
+ limit?: number;
1427
+ offset?: number;
1428
+ kind?: ThreadMonitorKind;
1429
+ assistantId?: string;
1430
+ createdAfter?: string;
1431
+ }
1432
+ /** Safe thread projection returned by the tenant monitor. */
1433
+ interface ThreadMonitorRecord {
1434
+ id: string;
1435
+ tenantId: string;
1436
+ assistantId: string;
1437
+ kind: ThreadMonitorKind;
1438
+ workspaceId?: string;
1439
+ projectId?: string;
1440
+ roomId?: string;
1441
+ taskId?: string;
1442
+ createdAt: Date;
1443
+ updatedAt: Date;
1444
+ expiresAt?: Date;
1445
+ }
1446
+ /**
1447
+ * Derive the monitor kind from metadata already written by the owning flows.
1448
+ *
1449
+ * No stored `kind` column exists; unknown or missing metadata is
1450
+ * `conversation`.
1451
+ */
1452
+ declare function classifyThreadMetadata(metadata: Record<string, unknown> | undefined): ThreadMonitorKind;
1453
+ /** Project a stored thread into the safe monitor shape. */
1454
+ declare function toThreadMonitorRecord(thread: Thread): ThreadMonitorRecord;
1411
1455
 
1412
1456
  /**
1413
1457
  * AssistantStoreProtocol
@@ -6080,7 +6124,7 @@ interface OpenAuditAppendInput {
6080
6124
  domain: string;
6081
6125
  action: string;
6082
6126
  args: unknown;
6083
- status: "ok" | "error";
6127
+ status: "ok" | "error" | "cancelled";
6084
6128
  errorCode?: string;
6085
6129
  durationMs: number;
6086
6130
  }
@@ -6091,8 +6135,10 @@ interface OpenAuditRecord extends OpenAuditAppendInput {
6091
6135
  interface OpenAuditQuery {
6092
6136
  tenantId: string;
6093
6137
  credentialId?: string;
6138
+ projectId?: string;
6094
6139
  domain?: string;
6095
- status?: "ok" | "error";
6140
+ action?: string;
6141
+ status?: "ok" | "error" | "cancelled";
6096
6142
  /** ISO timestamps; inclusive from / exclusive to. */
6097
6143
  from?: string;
6098
6144
  to?: string;
@@ -6101,6 +6147,8 @@ interface OpenAuditQuery {
6101
6147
  }
6102
6148
  interface OpenAuditStore {
6103
6149
  append(record: OpenAuditAppendInput): Promise<void>;
6150
+ /** Tenant-scoped detail lookup. */
6151
+ get(tenantId: string, id: string): Promise<OpenAuditRecord | null>;
6104
6152
  /** Tenant-scoped, newest-first. */
6105
6153
  query(params: OpenAuditQuery): Promise<OpenAuditRecord[]>;
6106
6154
  }
@@ -9954,6 +10002,14 @@ interface AuthBrandingCase {
9954
10002
  * Complete first-party examples built from the platform logo and repo-hosted
9955
10003
  * SVG assets. The case stays structured; no HTML is stored or injected.
9956
10004
  */
10005
+ /**
10006
+ * Canonical host namespace for assets referenced by auth branding presets.
10007
+ * Hosts expose this directory (for example via nginx) and may override the
10008
+ * individual URLs with absolute or CDN URLs.
10009
+ */
10010
+ declare const AUTH_BRANDING_ASSET_BASE = "/public";
10011
+ /** Resolve an auth branding preset asset under the canonical public namespace. */
10012
+ declare function authBrandingAsset(path: string): string;
9957
10013
  declare const AUTH_BRANDING_CASES: {
9958
10014
  readonly "editorial-launch": {
9959
10015
  readonly id: "editorial-launch";
@@ -9962,15 +10018,15 @@ declare const AUTH_BRANDING_CASES: {
9962
10018
  readonly presetId: "editorial-centered";
9963
10019
  readonly branding: {
9964
10020
  readonly brandName: "AlphaFina";
9965
- readonly logoUrl: "/logo.png";
10021
+ readonly logoUrl: string;
9966
10022
  readonly loginTitle: "A quieter way to sign in";
9967
10023
  readonly loginSubtitle: "One account for every workspace.";
9968
10024
  readonly footerNote: "SOC 2 ready · SSO · Audit logs";
9969
10025
  readonly panelEyebrow: "Crafted for thoughtful teams";
9970
- readonly panelTrustLogo1: "/cases/trust-northstar.svg";
9971
- readonly panelTrustLogo2: "/cases/trust-acme.svg";
9972
- readonly panelTrustLogo3: "/cases/trust-vertex.svg";
9973
- readonly panelTrustLogo4: "/cases/trust-lumen.svg";
10026
+ readonly panelTrustLogo1: string;
10027
+ readonly panelTrustLogo2: string;
10028
+ readonly panelTrustLogo3: string;
10029
+ readonly panelTrustLogo4: string;
9974
10030
  };
9975
10031
  };
9976
10032
  readonly "product-showcase": {
@@ -9980,7 +10036,7 @@ declare const AUTH_BRANDING_CASES: {
9980
10036
  readonly presetId: "product";
9981
10037
  readonly branding: {
9982
10038
  readonly brandName: "AlphaFina";
9983
- readonly logoUrl: "/logo.png";
10039
+ readonly logoUrl: string;
9984
10040
  readonly loginLayout: "split-showcase";
9985
10041
  readonly panelPosition: "right";
9986
10042
  readonly panelContentAlign: "center";
@@ -9991,12 +10047,12 @@ declare const AUTH_BRANDING_CASES: {
9991
10047
  readonly panelPoint1: "Live run visibility";
9992
10048
  readonly panelPoint2: "Audit-ready activity";
9993
10049
  readonly panelPoint3: "One shared context";
9994
- readonly panelProductImageUrl: "/cases/product-dashboard.svg";
10050
+ readonly panelProductImageUrl: string;
9995
10051
  readonly panelProductImageAlt: "AlphaFina workspace dashboard";
9996
- readonly panelTrustLogo1: "/cases/trust-northstar.svg";
9997
- readonly panelTrustLogo2: "/cases/trust-acme.svg";
9998
- readonly panelTrustLogo3: "/cases/trust-vertex.svg";
9999
- readonly panelTrustLogo4: "/cases/trust-lumen.svg";
10052
+ readonly panelTrustLogo1: string;
10053
+ readonly panelTrustLogo2: string;
10054
+ readonly panelTrustLogo3: string;
10055
+ readonly panelTrustLogo4: string;
10000
10056
  readonly imageFit: "cover";
10001
10057
  readonly imagePosition: "top";
10002
10058
  readonly imageTreatment: "none";
@@ -10010,7 +10066,7 @@ declare const AUTH_BRANDING_CASES: {
10010
10066
  readonly presetId: "narrative";
10011
10067
  readonly branding: {
10012
10068
  readonly brandName: "AlphaFina";
10013
- readonly logoUrl: "/logo.png";
10069
+ readonly logoUrl: string;
10014
10070
  readonly loginLayout: "split-story";
10015
10071
  readonly panelEyebrow: "Trusted by modern teams";
10016
10072
  readonly panelTitle: "Build with confidence";
@@ -10027,10 +10083,10 @@ declare const AUTH_BRANDING_CASES: {
10027
10083
  readonly panelQuote: "The calmest, most reliable launch experience we have shipped.";
10028
10084
  readonly panelQuoteAuthor: "Maya Chen";
10029
10085
  readonly panelQuoteRole: "VP Engineering, Northstar";
10030
- readonly panelTrustLogo1: "/cases/trust-northstar.svg";
10031
- readonly panelTrustLogo2: "/cases/trust-acme.svg";
10032
- readonly panelTrustLogo3: "/cases/trust-vertex.svg";
10033
- readonly panelTrustLogo4: "/cases/trust-lumen.svg";
10086
+ readonly panelTrustLogo1: string;
10087
+ readonly panelTrustLogo2: string;
10088
+ readonly panelTrustLogo3: string;
10089
+ readonly panelTrustLogo4: string;
10034
10090
  };
10035
10091
  };
10036
10092
  readonly "aurora-launch": {
@@ -10040,9 +10096,9 @@ declare const AUTH_BRANDING_CASES: {
10040
10096
  readonly presetId: "aurora";
10041
10097
  readonly branding: {
10042
10098
  readonly brandName: "AlphaFina";
10043
- readonly logoUrl: "/logo.png";
10099
+ readonly logoUrl: string;
10044
10100
  readonly loginLayout: "full-bleed";
10045
- readonly backgroundImageUrl: "/cases/aurora-bg.svg";
10101
+ readonly backgroundImageUrl: string;
10046
10102
  readonly backgroundOverlayColor: "#000000";
10047
10103
  readonly backgroundOverlayOpacity: 35;
10048
10104
  readonly imageFit: "cover";
@@ -10062,10 +10118,10 @@ declare const AUTH_BRANDING_CASES: {
10062
10118
  readonly presetId: "cinematic";
10063
10119
  readonly branding: {
10064
10120
  readonly brandName: "AlphaFina";
10065
- readonly logoUrl: "/logo.png";
10121
+ readonly logoUrl: string;
10066
10122
  readonly loginLayout: "full-bleed";
10067
- readonly backgroundVideoUrl: "/cases/14471967_3840_2160_30fps.mp4";
10068
- readonly backgroundImageUrl: "/cases/aurora-bg.svg";
10123
+ readonly backgroundVideoUrl: string;
10124
+ readonly backgroundImageUrl: string;
10069
10125
  readonly backgroundOverlayColor: "#000000";
10070
10126
  readonly backgroundOverlayOpacity: 65;
10071
10127
  readonly imageFit: "cover";
@@ -10084,10 +10140,10 @@ declare const AUTH_BRANDING_CASES: {
10084
10140
  readonly presetId: "aurora";
10085
10141
  readonly branding: {
10086
10142
  readonly brandName: "AlphaFina";
10087
- readonly logoUrl: "/logo.png";
10143
+ readonly logoUrl: string;
10088
10144
  readonly loginLayout: "full-bleed";
10089
- readonly backgroundVideoUrl: "/cases/15404923_1920_1080_60fps.mp4";
10090
- readonly backgroundImageUrl: "/cases/aurora-bg.svg";
10145
+ readonly backgroundVideoUrl: string;
10146
+ readonly backgroundImageUrl: string;
10091
10147
  readonly backgroundOverlayColor: "#000000";
10092
10148
  readonly backgroundOverlayOpacity: 30;
10093
10149
  readonly imageFit: "cover";
@@ -10464,4 +10520,4 @@ declare const PLATFORM_OPS_PROJECT_ID = "platform-ops";
10464
10520
  /** High-risk Ops playbook discriminator executed by the playbook executor. */
10465
10521
  type PlatformOpsPlaybookKind = "transfer_owner" | "offboard_member" | "delete_tenant" | "delete_oidc_provider" | "rotate_oidc_provider" | "reset_settings";
10466
10522
 
10467
- 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_BRANDING_CASES, AUTH_BRANDING_CASE_IDS, AUTH_BRANDING_PRESETS, AUTH_BRANDING_PRESET_IDS, AUTH_BRANDING_PRESET_RESET_FIELDS, AUTH_CSS_CONTRACT_PARTS, AUTH_CSS_CONTRACT_VARIABLES, AUTH_FONT_FAMILIES, AUTH_FONT_FAMILY_IDS, AUTH_SLOT_IDS, AUTH_SLOT_REGISTRY, AUTH_SURFACE_KINDS, 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 AuthBrandingCase, type AuthBrandingPreset, type AuthChallenge, type AuthCookie, AuthError, type AuthErrorCode, type AuthFontFamilyDefinition, type AuthFontFamilyId, type AuthProvider, type AuthProviderDescriptor, type AuthRequestContext, type AuthSlotDefinition, type AuthSlotId, type AuthSurfaceKind, type AvailableModule, BRANDING_ASSET_URL_KEYS, BRANDING_COLOR_KEYS, BRANDING_CSS_KEYS, BRANDING_ENUM_KEYS, BRANDING_INTEGER_KEYS, BRANDING_PERCENT_KEYS, BRANDING_TEXT_KEYS, BRANDING_VIDEO_URL_KEYS, 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_LOGIN_LAYOUT, 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, LOGIN_LAYOUTS, LOGIN_LAYOUT_IDS, 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 LoginLayoutDefinition, type LoginLayoutId, 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_BRANDING_FIELDS, PLATFORM_BRANDING_FIELD_GROUPS, PLATFORM_BRANDING_FIELD_GROUP_ORDER, PLATFORM_BRANDING_FIELD_KEYS, 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 PlatformBrandingField, type PlatformBrandingFieldDefinition, type PlatformBrandingFieldGroup, type PlatformBrandingFieldKind, 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, isAuthFontFamilyId, isDeepAgentConfig, isExecutionResultEventKey, isLoginLayoutId, isMcpUiRef, isPersonalMcpServerConfigStore, isPlatformTenantId, isProjectRoomEventId, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, layoutSpecificFields, layoutSupportsSurface, normalizeAllowedPrivateHosts, normalizeBrandingHost, normalizeChannelReplyJobListLimit, normalizeInviteLinkEmail, normalizeOidcIdentityEmail, normalizePlatformInvitationEmail, normalizeTaskMetadataScalar, observabilityDashboardElementKey, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseModelKey, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, resolveLoginLayout, resolveRunScope, runCancelSignalSchema, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, storeExpiresAt, storePaginationValue, taskBeliefStatesEqual, threadAffinityHeaders, toModelKey, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage, validateCustomCss };
10523
+ 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_BRANDING_ASSET_BASE, AUTH_BRANDING_CASES, AUTH_BRANDING_CASE_IDS, AUTH_BRANDING_PRESETS, AUTH_BRANDING_PRESET_IDS, AUTH_BRANDING_PRESET_RESET_FIELDS, AUTH_CSS_CONTRACT_PARTS, AUTH_CSS_CONTRACT_VARIABLES, AUTH_FONT_FAMILIES, AUTH_FONT_FAMILY_IDS, AUTH_SLOT_IDS, AUTH_SLOT_REGISTRY, AUTH_SURFACE_KINDS, 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 AuthBrandingCase, type AuthBrandingPreset, type AuthChallenge, type AuthCookie, AuthError, type AuthErrorCode, type AuthFontFamilyDefinition, type AuthFontFamilyId, type AuthProvider, type AuthProviderDescriptor, type AuthRequestContext, type AuthSlotDefinition, type AuthSlotId, type AuthSurfaceKind, type AvailableModule, BRANDING_ASSET_URL_KEYS, BRANDING_COLOR_KEYS, BRANDING_CSS_KEYS, BRANDING_ENUM_KEYS, BRANDING_INTEGER_KEYS, BRANDING_PERCENT_KEYS, BRANDING_TEXT_KEYS, BRANDING_VIDEO_URL_KEYS, 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_LOGIN_LAYOUT, 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, LOGIN_LAYOUTS, LOGIN_LAYOUT_IDS, 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 LoginLayoutDefinition, type LoginLayoutId, 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_BRANDING_FIELDS, PLATFORM_BRANDING_FIELD_GROUPS, PLATFORM_BRANDING_FIELD_GROUP_ORDER, PLATFORM_BRANDING_FIELD_KEYS, 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 PlatformBrandingField, type PlatformBrandingFieldDefinition, type PlatformBrandingFieldGroup, type PlatformBrandingFieldKind, 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 ThreadMonitorKind, type ThreadMonitorQuery, type ThreadMonitorRecord, 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, authBrandingAsset, buildAffinityMissChunk, classifyThreadMetadata, createAgentWebAppStreamProjectionContext, descriptorDataValue, effectiveGrants, firstNonEmptyString, getSubAgentsFromConfig, getToolsFromConfig, hasCssImport, hasStyleBreakout, hasTools, interruptAnswerKeySchema, isA2ARemoteAgentConfig, isAuthFontFamilyId, isDeepAgentConfig, isExecutionResultEventKey, isLoginLayoutId, isMcpUiRef, isPersonalMcpServerConfigStore, isPlatformTenantId, isProjectRoomEventId, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, layoutSpecificFields, layoutSupportsSurface, normalizeAllowedPrivateHosts, normalizeBrandingHost, normalizeChannelReplyJobListLimit, normalizeInviteLinkEmail, normalizeOidcIdentityEmail, normalizePlatformInvitationEmail, normalizeTaskMetadataScalar, observabilityDashboardElementKey, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseModelKey, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, resolveLoginLayout, resolveRunScope, runCancelSignalSchema, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, storeExpiresAt, storePaginationValue, taskBeliefStatesEqual, threadAffinityHeaders, toModelKey, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage, toThreadMonitorRecord, validateCustomCss };
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ __export(index_exports, {
24
24
  AFFINITY_MISS_CODE: () => AFFINITY_MISS_CODE,
25
25
  AGENT_AFFINITY_HEADER: () => AGENT_AFFINITY_HEADER,
26
26
  ASR_DEFAULT_KEY: () => ASR_DEFAULT_KEY,
27
+ AUTH_BRANDING_ASSET_BASE: () => AUTH_BRANDING_ASSET_BASE,
27
28
  AUTH_BRANDING_CASES: () => AUTH_BRANDING_CASES,
28
29
  AUTH_BRANDING_CASE_IDS: () => AUTH_BRANDING_CASE_IDS,
29
30
  AUTH_BRANDING_PRESETS: () => AUTH_BRANDING_PRESETS,
@@ -110,7 +111,9 @@ __export(index_exports, {
110
111
  assertStoreIdentity: () => assertStoreIdentity,
111
112
  assertStoreNamespacePrefix: () => assertStoreNamespacePrefix,
112
113
  assertValidCreateChannelReplyJobInput: () => assertValidCreateChannelReplyJobInput,
114
+ authBrandingAsset: () => authBrandingAsset,
113
115
  buildAffinityMissChunk: () => buildAffinityMissChunk,
116
+ classifyThreadMetadata: () => classifyThreadMetadata,
114
117
  createAgentWebAppStreamProjectionContext: () => createAgentWebAppStreamProjectionContext,
115
118
  descriptorDataValue: () => descriptorDataValue,
116
119
  effectiveGrants: () => effectiveGrants,
@@ -169,6 +172,7 @@ __export(index_exports, {
169
172
  toProjectRoomPublicBotMembership: () => toProjectRoomPublicBotMembership,
170
173
  toProjectRoomPublicMembership: () => toProjectRoomPublicMembership,
171
174
  toProjectRoomPublicMessage: () => toProjectRoomPublicMessage,
175
+ toThreadMonitorRecord: () => toThreadMonitorRecord,
172
176
  validateCustomCss: () => validateCustomCss
173
177
  });
174
178
  module.exports = __toCommonJS(index_exports);
@@ -280,6 +284,50 @@ var MessageChunkTypes = {
280
284
  THREAD_IDLE: "thread_idle"
281
285
  };
282
286
 
287
+ // src/ThreadStoreProtocol.ts
288
+ function classifyThreadMetadata(metadata) {
289
+ if (!metadata) return "conversation";
290
+ if (metadata.source === "project_task" && metadata.kind === "task_execution") {
291
+ return "task_execution";
292
+ }
293
+ if (metadata.source === "project_room" && metadata.kind === "room_presence") {
294
+ return "room_presence";
295
+ }
296
+ if (metadata.source === "open_api") return "open_api";
297
+ if (metadata.source === "web_app") return "web_app";
298
+ if (typeof metadata.cronId === "string" && metadata.cronId.length > 0) {
299
+ return "cron";
300
+ }
301
+ if (typeof metadata.channel === "string" && metadata.channel.length > 0) {
302
+ return "channel";
303
+ }
304
+ return "conversation";
305
+ }
306
+ function toThreadMonitorRecord(thread) {
307
+ const metadata = thread.metadata ?? {};
308
+ const readString = (key) => {
309
+ const value = metadata[key];
310
+ return typeof value === "string" && value.length > 0 ? value : void 0;
311
+ };
312
+ const workspaceId = readString("workspaceId");
313
+ const projectId = readString("projectId");
314
+ const roomId = readString("roomId");
315
+ const taskId = readString("taskId");
316
+ return {
317
+ id: thread.id,
318
+ tenantId: thread.tenantId,
319
+ assistantId: thread.assistantId,
320
+ kind: classifyThreadMetadata(metadata),
321
+ ...workspaceId ? { workspaceId } : {},
322
+ ...projectId ? { projectId } : {},
323
+ ...roomId ? { roomId } : {},
324
+ ...taskId ? { taskId } : {},
325
+ createdAt: thread.createdAt,
326
+ updatedAt: thread.updatedAt,
327
+ ...thread.expiresAt ? { expiresAt: thread.expiresAt } : {}
328
+ };
329
+ }
330
+
283
331
  // src/McpLatticeProtocol.ts
284
332
  var McpMessageType = /* @__PURE__ */ ((McpMessageType2) => {
285
333
  McpMessageType2["CONNECT"] = "mcp:connect";
@@ -1443,19 +1491,19 @@ var AUTH_FONT_FAMILY_IDS = ["system", "inter", "serif", "mono"];
1443
1491
  var AUTH_FONT_FAMILIES = {
1444
1492
  system: {
1445
1493
  labelKey: "platformAdmin.settings.branding.font.system",
1446
- stack: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
1494
+ stack: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif'
1447
1495
  },
1448
1496
  inter: {
1449
1497
  labelKey: "platformAdmin.settings.branding.font.inter",
1450
- stack: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
1498
+ stack: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif'
1451
1499
  },
1452
1500
  serif: {
1453
1501
  labelKey: "platformAdmin.settings.branding.font.serif",
1454
- stack: 'Georgia, "Times New Roman", Times, serif'
1502
+ stack: 'Georgia, "Times New Roman", Times, "Songti SC", SimSun, "Noto Serif SC", "Source Han Serif SC", serif'
1455
1503
  },
1456
1504
  mono: {
1457
1505
  labelKey: "platformAdmin.settings.branding.font.mono",
1458
- stack: '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace'
1506
+ stack: '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Noto Sans Mono CJK SC", "Sarasa Mono SC", "PingFang SC", "Microsoft YaHei", monospace'
1459
1507
  }
1460
1508
  };
1461
1509
  var AUTH_SLOT_IDS = [
@@ -2623,6 +2671,10 @@ var AUTH_BRANDING_PRESETS = {
2623
2671
  var AUTH_BRANDING_PRESET_IDS = Object.keys(
2624
2672
  AUTH_BRANDING_PRESETS
2625
2673
  );
2674
+ var AUTH_BRANDING_ASSET_BASE = "/public";
2675
+ function authBrandingAsset(path) {
2676
+ return `${AUTH_BRANDING_ASSET_BASE}/${path.replace(/^\/+/, "")}`;
2677
+ }
2626
2678
  var AUTH_BRANDING_CASES = {
2627
2679
  "editorial-launch": {
2628
2680
  id: "editorial-launch",
@@ -2631,15 +2683,15 @@ var AUTH_BRANDING_CASES = {
2631
2683
  presetId: "editorial-centered",
2632
2684
  branding: {
2633
2685
  brandName: "AlphaFina",
2634
- logoUrl: "/logo.png",
2686
+ logoUrl: authBrandingAsset("logo.png"),
2635
2687
  loginTitle: "A quieter way to sign in",
2636
2688
  loginSubtitle: "One account for every workspace.",
2637
2689
  footerNote: "SOC 2 ready \xB7 SSO \xB7 Audit logs",
2638
2690
  panelEyebrow: "Crafted for thoughtful teams",
2639
- panelTrustLogo1: "/cases/trust-northstar.svg",
2640
- panelTrustLogo2: "/cases/trust-acme.svg",
2641
- panelTrustLogo3: "/cases/trust-vertex.svg",
2642
- panelTrustLogo4: "/cases/trust-lumen.svg"
2691
+ panelTrustLogo1: authBrandingAsset("presets/trust-northstar.svg"),
2692
+ panelTrustLogo2: authBrandingAsset("presets/trust-acme.svg"),
2693
+ panelTrustLogo3: authBrandingAsset("presets/trust-vertex.svg"),
2694
+ panelTrustLogo4: authBrandingAsset("presets/trust-lumen.svg")
2643
2695
  }
2644
2696
  },
2645
2697
  "product-showcase": {
@@ -2649,7 +2701,7 @@ var AUTH_BRANDING_CASES = {
2649
2701
  presetId: "product",
2650
2702
  branding: {
2651
2703
  brandName: "AlphaFina",
2652
- logoUrl: "/logo.png",
2704
+ logoUrl: authBrandingAsset("logo.png"),
2653
2705
  loginLayout: "split-showcase",
2654
2706
  panelPosition: "right",
2655
2707
  panelContentAlign: "center",
@@ -2660,12 +2712,12 @@ var AUTH_BRANDING_CASES = {
2660
2712
  panelPoint1: "Live run visibility",
2661
2713
  panelPoint2: "Audit-ready activity",
2662
2714
  panelPoint3: "One shared context",
2663
- panelProductImageUrl: "/cases/product-dashboard.svg",
2715
+ panelProductImageUrl: authBrandingAsset("presets/product-dashboard.svg"),
2664
2716
  panelProductImageAlt: "AlphaFina workspace dashboard",
2665
- panelTrustLogo1: "/cases/trust-northstar.svg",
2666
- panelTrustLogo2: "/cases/trust-acme.svg",
2667
- panelTrustLogo3: "/cases/trust-vertex.svg",
2668
- panelTrustLogo4: "/cases/trust-lumen.svg",
2717
+ panelTrustLogo1: authBrandingAsset("presets/trust-northstar.svg"),
2718
+ panelTrustLogo2: authBrandingAsset("presets/trust-acme.svg"),
2719
+ panelTrustLogo3: authBrandingAsset("presets/trust-vertex.svg"),
2720
+ panelTrustLogo4: authBrandingAsset("presets/trust-lumen.svg"),
2669
2721
  imageFit: "cover",
2670
2722
  imagePosition: "top",
2671
2723
  imageTreatment: "none"
@@ -2685,7 +2737,7 @@ var AUTH_BRANDING_CASES = {
2685
2737
  presetId: "narrative",
2686
2738
  branding: {
2687
2739
  brandName: "AlphaFina",
2688
- logoUrl: "/logo.png",
2740
+ logoUrl: authBrandingAsset("logo.png"),
2689
2741
  loginLayout: "split-story",
2690
2742
  panelEyebrow: "Trusted by modern teams",
2691
2743
  panelTitle: "Build with confidence",
@@ -2702,10 +2754,10 @@ var AUTH_BRANDING_CASES = {
2702
2754
  panelQuote: "The calmest, most reliable launch experience we have shipped.",
2703
2755
  panelQuoteAuthor: "Maya Chen",
2704
2756
  panelQuoteRole: "VP Engineering, Northstar",
2705
- panelTrustLogo1: "/cases/trust-northstar.svg",
2706
- panelTrustLogo2: "/cases/trust-acme.svg",
2707
- panelTrustLogo3: "/cases/trust-vertex.svg",
2708
- panelTrustLogo4: "/cases/trust-lumen.svg"
2757
+ panelTrustLogo1: authBrandingAsset("presets/trust-northstar.svg"),
2758
+ panelTrustLogo2: authBrandingAsset("presets/trust-acme.svg"),
2759
+ panelTrustLogo3: authBrandingAsset("presets/trust-vertex.svg"),
2760
+ panelTrustLogo4: authBrandingAsset("presets/trust-lumen.svg")
2709
2761
  }
2710
2762
  },
2711
2763
  "aurora-launch": {
@@ -2715,9 +2767,9 @@ var AUTH_BRANDING_CASES = {
2715
2767
  presetId: "aurora",
2716
2768
  branding: {
2717
2769
  brandName: "AlphaFina",
2718
- logoUrl: "/logo.png",
2770
+ logoUrl: authBrandingAsset("logo.png"),
2719
2771
  loginLayout: "full-bleed",
2720
- backgroundImageUrl: "/cases/aurora-bg.svg",
2772
+ backgroundImageUrl: authBrandingAsset("presets/aurora-bg.svg"),
2721
2773
  backgroundOverlayColor: "#000000",
2722
2774
  backgroundOverlayOpacity: 35,
2723
2775
  imageFit: "cover",
@@ -2737,10 +2789,10 @@ var AUTH_BRANDING_CASES = {
2737
2789
  presetId: "cinematic",
2738
2790
  branding: {
2739
2791
  brandName: "AlphaFina",
2740
- logoUrl: "/logo.png",
2792
+ logoUrl: authBrandingAsset("logo.png"),
2741
2793
  loginLayout: "full-bleed",
2742
- backgroundVideoUrl: "/cases/14471967_3840_2160_30fps.mp4",
2743
- backgroundImageUrl: "/cases/aurora-bg.svg",
2794
+ backgroundVideoUrl: authBrandingAsset("presets/14471967_3840_2160_30fps.mp4"),
2795
+ backgroundImageUrl: authBrandingAsset("presets/aurora-bg.svg"),
2744
2796
  backgroundOverlayColor: "#000000",
2745
2797
  backgroundOverlayOpacity: 65,
2746
2798
  imageFit: "cover",
@@ -2759,10 +2811,10 @@ var AUTH_BRANDING_CASES = {
2759
2811
  presetId: "aurora",
2760
2812
  branding: {
2761
2813
  brandName: "AlphaFina",
2762
- logoUrl: "/logo.png",
2814
+ logoUrl: authBrandingAsset("logo.png"),
2763
2815
  loginLayout: "full-bleed",
2764
- backgroundVideoUrl: "/cases/15404923_1920_1080_60fps.mp4",
2765
- backgroundImageUrl: "/cases/aurora-bg.svg",
2816
+ backgroundVideoUrl: authBrandingAsset("presets/15404923_1920_1080_60fps.mp4"),
2817
+ backgroundImageUrl: authBrandingAsset("presets/aurora-bg.svg"),
2766
2818
  backgroundOverlayColor: "#000000",
2767
2819
  backgroundOverlayOpacity: 30,
2768
2820
  imageFit: "cover",
@@ -2823,7 +2875,7 @@ var PLATFORM_SETTINGS_DEFAULTS = {
2823
2875
  };
2824
2876
  var DEFAULT_PLATFORM_BRANDING = {
2825
2877
  brandName: "AlphaFina",
2826
- logoUrl: "/logo.png",
2878
+ logoUrl: "/public/logo.png",
2827
2879
  primaryColor: "#5b50c6",
2828
2880
  backgroundColor: "#ffffff",
2829
2881
  loginLayout: DEFAULT_LOGIN_LAYOUT,
@@ -3112,6 +3164,7 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
3112
3164
  AFFINITY_MISS_CODE,
3113
3165
  AGENT_AFFINITY_HEADER,
3114
3166
  ASR_DEFAULT_KEY,
3167
+ AUTH_BRANDING_ASSET_BASE,
3115
3168
  AUTH_BRANDING_CASES,
3116
3169
  AUTH_BRANDING_CASE_IDS,
3117
3170
  AUTH_BRANDING_PRESETS,
@@ -3198,7 +3251,9 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
3198
3251
  assertStoreIdentity,
3199
3252
  assertStoreNamespacePrefix,
3200
3253
  assertValidCreateChannelReplyJobInput,
3254
+ authBrandingAsset,
3201
3255
  buildAffinityMissChunk,
3256
+ classifyThreadMetadata,
3202
3257
  createAgentWebAppStreamProjectionContext,
3203
3258
  descriptorDataValue,
3204
3259
  effectiveGrants,
@@ -3257,6 +3312,7 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
3257
3312
  toProjectRoomPublicBotMembership,
3258
3313
  toProjectRoomPublicMembership,
3259
3314
  toProjectRoomPublicMessage,
3315
+ toThreadMonitorRecord,
3260
3316
  validateCustomCss
3261
3317
  });
3262
3318
  //# sourceMappingURL=index.js.map