@axiom-lattice/protocols 7.6.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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +20 -0
- package/dist/index.d.mts +51 -3
- package/dist/index.d.ts +51 -3
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/OpenProtocol.ts +6 -2
- package/src/ThreadStoreProtocol.ts +99 -0
- package/src/__tests__/ThreadMonitorProtocol.test.ts +60 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@7.
|
|
2
|
+
> @axiom-lattice/protocols@7.7.0 build /home/runner/work/agentic/agentic/packages/protocols
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2020
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
|
12
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs [22m[
|
|
15
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m115.48 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m360.89 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 844ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m105.61 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m355.62 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 865ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 21035ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m389.09 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m389.09 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @axiom-lattice/protocols
|
|
2
2
|
|
|
3
|
+
## 7.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a27596a: ## Audit surfaces: sandbox query API and Open Audit parity
|
|
8
|
+
|
|
9
|
+
### Sandbox Gateway
|
|
10
|
+
|
|
11
|
+
- Add a queryable sandbox audit API: exec/file operations append to a process-local ring buffer (`SANDBOX_AUDIT_BUFFER_SIZE`, default 1000) while still emitting the existing `sandbox.audit` JSON stdout line. `GET /api/audit` supports `sandboxName`/`operation`/`outcome`/`from`/`to`/`limit`/`offset`; `GET /api/audit/:id` returns one event. Nothing is persisted and nothing is written into the Agent Gateway Open Audit store; stdout log shipping remains the durable audit record.
|
|
12
|
+
- Default the sandbox data plane to direct/ingress (`OPEN_SANDBOX_USE_SERVER_PROXY=false`) and keep the server proxy as an explicit fallback.
|
|
13
|
+
- Add lease-based admission, per-tenant/global sandbox limits, queueing metrics, and hard idle handling (`kill` by default; `pause` only when the controller advertises snapshot support).
|
|
14
|
+
- Split the runtime service into config/lease/file/exec/lifecycle modules without changing the public HTTP contract.
|
|
15
|
+
|
|
16
|
+
### Open Audit parity
|
|
17
|
+
|
|
18
|
+
- Align Open Audit record semantics with Platform Audit: shared deep redaction and 16 KiB request/response capture, initiator/executor attribution, project/action filters, and a `cancelled` outcome.
|
|
19
|
+
- Restrict Open Audit reads to tenant owner/admin.
|
|
20
|
+
- Add single-record reads (`GET /api/open/audit/:auditId`), SDK `open.auditLog(id)`, and filter support in the Console audit list with a redacted detail drawer.
|
|
21
|
+
- Core/local/PG stores implement the matching `get(id)` read path.
|
|
22
|
+
|
|
3
23
|
## 7.6.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/dist/index.d.mts
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
|
+
}>;
|
|
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;
|
|
1410
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
|
-
|
|
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
|
}
|
|
@@ -10472,4 +10520,4 @@ declare const PLATFORM_OPS_PROJECT_ID = "platform-ops";
|
|
|
10472
10520
|
/** High-risk Ops playbook discriminator executed by the playbook executor. */
|
|
10473
10521
|
type PlatformOpsPlaybookKind = "transfer_owner" | "offboard_member" | "delete_tenant" | "delete_oidc_provider" | "rotate_oidc_provider" | "reset_settings";
|
|
10474
10522
|
|
|
10475
|
-
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 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, 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.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
|
+
}>;
|
|
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;
|
|
1410
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
|
-
|
|
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
|
}
|
|
@@ -10472,4 +10520,4 @@ declare const PLATFORM_OPS_PROJECT_ID = "platform-ops";
|
|
|
10472
10520
|
/** High-risk Ops playbook discriminator executed by the playbook executor. */
|
|
10473
10521
|
type PlatformOpsPlaybookKind = "transfer_owner" | "offboard_member" | "delete_tenant" | "delete_oidc_provider" | "rotate_oidc_provider" | "reset_settings";
|
|
10474
10522
|
|
|
10475
|
-
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 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, 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
|
@@ -113,6 +113,7 @@ __export(index_exports, {
|
|
|
113
113
|
assertValidCreateChannelReplyJobInput: () => assertValidCreateChannelReplyJobInput,
|
|
114
114
|
authBrandingAsset: () => authBrandingAsset,
|
|
115
115
|
buildAffinityMissChunk: () => buildAffinityMissChunk,
|
|
116
|
+
classifyThreadMetadata: () => classifyThreadMetadata,
|
|
116
117
|
createAgentWebAppStreamProjectionContext: () => createAgentWebAppStreamProjectionContext,
|
|
117
118
|
descriptorDataValue: () => descriptorDataValue,
|
|
118
119
|
effectiveGrants: () => effectiveGrants,
|
|
@@ -171,6 +172,7 @@ __export(index_exports, {
|
|
|
171
172
|
toProjectRoomPublicBotMembership: () => toProjectRoomPublicBotMembership,
|
|
172
173
|
toProjectRoomPublicMembership: () => toProjectRoomPublicMembership,
|
|
173
174
|
toProjectRoomPublicMessage: () => toProjectRoomPublicMessage,
|
|
175
|
+
toThreadMonitorRecord: () => toThreadMonitorRecord,
|
|
174
176
|
validateCustomCss: () => validateCustomCss
|
|
175
177
|
});
|
|
176
178
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -282,6 +284,50 @@ var MessageChunkTypes = {
|
|
|
282
284
|
THREAD_IDLE: "thread_idle"
|
|
283
285
|
};
|
|
284
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
|
+
|
|
285
331
|
// src/McpLatticeProtocol.ts
|
|
286
332
|
var McpMessageType = /* @__PURE__ */ ((McpMessageType2) => {
|
|
287
333
|
McpMessageType2["CONNECT"] = "mcp:connect";
|
|
@@ -3207,6 +3253,7 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
|
|
|
3207
3253
|
assertValidCreateChannelReplyJobInput,
|
|
3208
3254
|
authBrandingAsset,
|
|
3209
3255
|
buildAffinityMissChunk,
|
|
3256
|
+
classifyThreadMetadata,
|
|
3210
3257
|
createAgentWebAppStreamProjectionContext,
|
|
3211
3258
|
descriptorDataValue,
|
|
3212
3259
|
effectiveGrants,
|
|
@@ -3265,6 +3312,7 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
|
|
|
3265
3312
|
toProjectRoomPublicBotMembership,
|
|
3266
3313
|
toProjectRoomPublicMembership,
|
|
3267
3314
|
toProjectRoomPublicMessage,
|
|
3315
|
+
toThreadMonitorRecord,
|
|
3268
3316
|
validateCustomCss
|
|
3269
3317
|
});
|
|
3270
3318
|
//# sourceMappingURL=index.js.map
|