@axiom-lattice/core 13.4.0 → 13.5.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.mts +41 -2
- package/dist/index.d.ts +41 -2
- package/dist/index.js +58 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { BaseLanguageModelInput } from '@langchain/core/language_models/base';
|
|
|
8
8
|
import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager';
|
|
9
9
|
import { ChatResult, ChatGenerationChunk } from '@langchain/core/outputs';
|
|
10
10
|
import * as _axiom_lattice_protocols from '@axiom-lattice/protocols';
|
|
11
|
-
import { LLMConfig, ModelProviderEntry, ModelProviderModelEntry, STTConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, GraphBuildOptions, DeepAgentConfig, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TrustedRunContext, QueuedExecutionMode, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, ModelProviderStore, UserStore, TenantStore, UserTenantLinkStore, UserExternalIdentityStore, OidcProviderConfigStore, PlatformMemberStore, PlatformInvitationStore, OidcIdentityClaimStore, InviteLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, OpenAuditStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, AgentWebAppStore, CapabilityBundleStore, ProjectRoomStore, ProjectMembershipStore, ProjectBotMembershipStore, ProjectRoomMessageStore, ProjectRoomReadStateStore, UserPushSubscriptionStore, LeaseStore, OutboxStore, PluginDeploymentStore, ChannelReplyJobStore, CheckpointStorage, StoreProtocol, PlatformSettingsStore, PlatformAuditStore, SessionStore, VectorStoreProvider, Thread, ThreadMonitorQuery, ThreadMonitorRecord, ChannelSenderSummary, CreateThreadRequest, StorePutInput, StoreItem, StoreSearchInput, Assistant, CreateAssistantRequest, AgentWebApp, CreateAgentWebAppInput, AgentWebAppStorePatch, AgentWebAppUpdateOptions, Project, CreateProjectRequest, UpdateProjectRequest, UpdateProjectCapabilityBundlesResult, CapabilityBundle, InternalCreateCapabilityBundleInput, InternalUpdateCapabilityBundleInput, CapabilityBundleDeleteResult, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, CreateModelProviderRequest, UpdateModelProviderRequest, ModelProviderStatus, ProviderModelInput, User, CreateUserRequest, UpdateUserRequest, SessionRecord, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, UserExternalIdentity, OidcProviderConfig, CreateOidcProviderConfigInput, UpdateOidcProviderConfigInput, PlatformMember, PlatformInvitation, OidcIdentityClaimStatus, OidcIdentityClaim, CreateOidcIdentityClaimInput, UpdateOidcIdentityClaimInput, OidcIdentityClaimApproval, InviteLink, CreateInviteLinkInput, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationInput, UpdateChannelInstallationRequest, Binding, CreateBindingInput, BindingMutablePatch, BindingListParams, A2AApiKeyRecord, CreateA2AApiKeyInput, UpdateA2AApiKeyInput, A2AApiKeyEntry, OpenAuditAppendInput, OpenAuditRecord, OpenAuditQuery, PlatformAuditAppendInput, PlatformAuditRecord, PlatformAuditQuery, TaskMutationSnapshot, CreateTaskRequest, TaskItem, TaskListFilter, TaskDependentListQuery, UpdateTaskRequest, CreateWorkItemRequest, TaskWorkItem, CreateWorkItemIfAbsentRequest, TaskWorkItemListFilter, ProjectLifecycleEventQuery, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, ProjectRoom, ProjectMembership, ProjectBotMembership, ProjectRoomMessage, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectHumanRole, ProjectMembershipMutationResult, ProjectRoomReadState, UserPushSubscription, LeaseRecord, OutboxEvent, CreateChannelReplyJobInput, ChannelReplyJob, PlatformSettingsRecord, PlatformSettingsDocument, ShareRecord, CreateShareRecord, ShareRecordPatch, AuthProvider, LoginSurface, Principal, STTModelLatticeProtocol, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, PinoFileOptions, SkillConfig, SkillClient, PluginSkillDefinition, McpTool, McpUiResourcePayload, McpServerConfig, PersonalMcpServerConfigStore, McpUiRef, ResourceResolver, ResourceAddress, ShareVisibility, OpenGrant, McpAppShareApp, McpAppShareRecord, CreateFileShareRequest, ObservabilityDashboardInput, ObservabilityDashboardResult, ChannelAdapter, InterruptPolicy, AgentInterrupt, ProjectTaskLifecycleAction, TaskBeliefState, PluginMeta, Plugin, PluginMetaOutput, SandboxPluginManifest, SandboxPluginToolDef, SandboxPluginDiagnostic, CapabilityPreview, CreateCapabilityBundleInput, UpdateCapabilityBundleInput, InternalInput, InternalStateField, InternalAgentNode, InternalMapNode, InternalNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
11
|
+
import { LLMConfig, ModelProviderEntry, ModelProviderModelEntry, STTConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, GraphBuildOptions, DeepAgentConfig, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TrustedRunContext, QueuedExecutionMode, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, ModelProviderStore, UserStore, TenantStore, UserTenantLinkStore, UserExternalIdentityStore, OidcProviderConfigStore, PlatformMemberStore, PlatformInvitationStore, OidcIdentityClaimStore, InviteLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, OpenAuditStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, AgentWebAppStore, CapabilityBundleStore, ProjectRoomStore, ProjectMembershipStore, ProjectBotMembershipStore, ProjectRoomMessageStore, ProjectRoomReadStateStore, UserPushSubscriptionStore, LeaseStore, OutboxStore, PluginDeploymentStore, ChannelReplyJobStore, CheckpointStorage, StoreProtocol, PlatformSettingsStore, PlatformAuditStore, SessionStore, VectorStoreProvider, Thread, ThreadMonitorQuery, ThreadMonitorRecord, ChannelSenderSummary, CreateThreadRequest, StorePutInput, StoreItem, StoreSearchInput, Assistant, CreateAssistantRequest, AgentWebApp, CreateAgentWebAppInput, AgentWebAppStorePatch, AgentWebAppUpdateOptions, Project, CreateProjectRequest, UpdateProjectRequest, UpdateProjectCapabilityBundlesResult, CapabilityBundle, InternalCreateCapabilityBundleInput, InternalUpdateCapabilityBundleInput, CapabilityBundleDeleteResult, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, CreateModelProviderRequest, UpdateModelProviderRequest, ModelProviderStatus, ProviderModelInput, User, CreateUserRequest, UpdateUserRequest, SessionRecord, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, UserExternalIdentity, OidcProviderConfig, CreateOidcProviderConfigInput, UpdateOidcProviderConfigInput, PlatformMember, PlatformInvitation, OidcIdentityClaimStatus, OidcIdentityClaim, CreateOidcIdentityClaimInput, UpdateOidcIdentityClaimInput, OidcIdentityClaimApproval, InviteLink, CreateInviteLinkInput, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationInput, UpdateChannelInstallationRequest, Binding, CreateBindingInput, BindingMutablePatch, BindingListParams, A2AApiKeyRecord, CreateA2AApiKeyInput, UpdateA2AApiKeyInput, A2AApiKeyEntry, OpenAuditAppendInput, OpenAuditRecord, OpenAuditQuery, PlatformAuditAppendInput, PlatformAuditRecord, PlatformAuditQuery, TaskMutationSnapshot, CreateTaskRequest, TaskItem, TaskListFilter, TaskDependentListQuery, UpdateTaskRequest, CreateWorkItemRequest, TaskWorkItem, CreateWorkItemIfAbsentRequest, TaskWorkItemListFilter, ProjectLifecycleEventQuery, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, ProjectRoom, ProjectMembership, ProjectBotMembership, ProjectRoomMessage, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectHumanRole, ProjectMembershipMutationResult, ProjectRoomReadState, UserPushSubscription, LeaseRecord, OutboxEvent, CreateChannelReplyJobInput, ChannelReplyJob, PlatformSettingsRecord, PlatformSettingsDocument, ShareRecord, CreateShareRecord, ShareRecordPatch, AuthProvider, LoginSurface, Principal, STTModelLatticeProtocol, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, PinoFileOptions, SkillConfig, SkillClient, PluginSkillDefinition, McpTool, McpUiResourcePayload, McpServerConfig, PersonalMcpServerConfigStore, McpUiRef, ResourceResolver, ResourceAddress, ShareVisibility, OpenGrant, McpAppShareApp, McpAppShareRecord, CreateFileShareRequest, ObservabilityDashboardInput, ObservabilityDashboardResult, ChannelAdapter, InterruptPolicy, AgentInterrupt, ProjectTaskLifecycleAction, StorageType, TaskBeliefState, PluginMeta, Plugin, PluginMetaOutput, SandboxPluginManifest, SandboxPluginToolDef, SandboxPluginDiagnostic, CapabilityPreview, CreateCapabilityBundleInput, UpdateCapabilityBundleInput, InternalInput, InternalStateField, InternalAgentNode, InternalMapNode, InternalNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
12
12
|
export { _axiom_lattice_protocols as Protocols };
|
|
13
13
|
export { AgentConfig, AgentType, GraphBuildOptions, McpServerConfigEntry, MemoryType, PersonalMcpServerConfigEntry, ProjectRoomTrustedRunContext, QueuedExecutionMode, TrustedRunContext, parseQueuedExecutionMode, parseTrustedRunContext } from '@axiom-lattice/protocols';
|
|
14
14
|
import * as langchain from 'langchain';
|
|
@@ -13234,6 +13234,45 @@ declare class ProjectMutationMutex {
|
|
|
13234
13234
|
/** Process-global Project mutation mutex shared by Core tools and Gateway services. */
|
|
13235
13235
|
declare const projectMutationMutex: ProjectMutationMutex;
|
|
13236
13236
|
|
|
13237
|
+
/**
|
|
13238
|
+
* TenantProvisioningService
|
|
13239
|
+
*
|
|
13240
|
+
* A tenant is only usable once it owns at least one workspace, and both the
|
|
13241
|
+
* Admin Center `POST /api/tenants` route and the Platform Ops
|
|
13242
|
+
* `ops_create_tenant` tool must produce that workspace in the same operation.
|
|
13243
|
+
* The tenant and workspace stores are separate aggregates, so this service owns
|
|
13244
|
+
* the small amount of cross-store orchestration and rolls the tenant back when
|
|
13245
|
+
* the workspace cannot be written.
|
|
13246
|
+
*
|
|
13247
|
+
* The factory takes its stores as injected dependencies (no store-lattice
|
|
13248
|
+
* lookup here) so hosts and tests supply their own implementations.
|
|
13249
|
+
*/
|
|
13250
|
+
|
|
13251
|
+
declare const DEFAULT_TENANT_WORKSPACE_NAME = "Default Workspace";
|
|
13252
|
+
declare const DEFAULT_TENANT_WORKSPACE_DESCRIPTION = "Default workspace created automatically for this tenant";
|
|
13253
|
+
interface TenantWorkspaceDefaults {
|
|
13254
|
+
name?: string;
|
|
13255
|
+
description?: string;
|
|
13256
|
+
storageType?: StorageType;
|
|
13257
|
+
}
|
|
13258
|
+
interface TenantProvisioningLogger {
|
|
13259
|
+
warn?: (message: string, context?: Record<string, unknown>) => void;
|
|
13260
|
+
}
|
|
13261
|
+
interface TenantProvisioningServiceDeps {
|
|
13262
|
+
tenantStore: Pick<TenantStore, "createTenant" | "deleteTenant">;
|
|
13263
|
+
workspaceStore: Pick<WorkspaceStore, "createWorkspace">;
|
|
13264
|
+
/** Workspace id generator; defaults to `randomUUID`. */
|
|
13265
|
+
idFactory?: () => string;
|
|
13266
|
+
/** Host-level overrides for the default workspace projection. */
|
|
13267
|
+
workspaceDefaults?: TenantWorkspaceDefaults;
|
|
13268
|
+
logger?: TenantProvisioningLogger;
|
|
13269
|
+
}
|
|
13270
|
+
interface TenantProvisioningService {
|
|
13271
|
+
/** Creates the tenant and the default workspace it depends on. */
|
|
13272
|
+
create(id: string, data: CreateTenantRequest): Promise<Tenant>;
|
|
13273
|
+
}
|
|
13274
|
+
declare function createTenantProvisioningService(deps: TenantProvisioningServiceDeps): TenantProvisioningService;
|
|
13275
|
+
|
|
13237
13276
|
/**
|
|
13238
13277
|
* Privileged in-process boundary for dispatching messages with host-authenticated metadata.
|
|
13239
13278
|
*
|
|
@@ -18442,4 +18481,4 @@ declare function isDirectRoom(projectId: string): boolean;
|
|
|
18442
18481
|
|
|
18443
18482
|
declare const genUIMarkdown: (type: string, data: any) => string;
|
|
18444
18483
|
|
|
18445
|
-
export { type AddMessageParams, type AddMessageResult, Agent, type AgentCheckpointTip, type AgentClient, type AgentExecutor, type AgentGraphTree, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, type AgentLifecycleTapEvent, AgentRunAlreadyActiveError, type AgentRunCounts, AgentRunDuplicateMessageIdError, type AgentRunExpiredOutcome, AgentRunInputCommandConflictError, AgentRunInvalidTaskIdError, type AgentRunJsonObject, type AgentRunMonitorQuery, type AgentRunMonitorSummary, type AgentRunPendingCursor, type AgentRunRecord, type AgentRunRollbackResult, type AgentRunSource, type AgentRunStatus, AgentRunTenantQuotaExceededError, type AgentStreamExecutor, type AgentTaskCompletionInput, type AgentThreadInterface, type AppendLog, type AppendLogReader, type AppendLogRecord, type ApproveInterruptedTaskInput, type AssignTaskOwnerInput, AuthProviderAlreadyRegisteredError, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, BaseCheckpointMismatchError, type BeginAgentRunInput, type BeginRunFailure, type BeginRunInput, type BeginRunResult, type BeginRunSuccess, type BufferStats, CAPABILITY_TOOL_NAME_CONFLICT, COLLECTION_CHANGED_TOPIC, type CacheEntry, type CalibrationProbe, CapabilityBundleMergeError, type CapabilityBundleMergeErrorCode, CapabilityBundleMerger, CapabilityBundleValidationError, type CapabilityBundleValidationErrorCode, type CapabilityGuardDenialCode, type CapabilityResourceSelector, type CapabilityToolMetadata, CapabilityToolNameConflictError, CapabilityToolRegistry, type CaseRunResult, ChannelConnectionLeader, type ChannelConnectionLeaderDeps, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, ChunkCursorExpiredError, type ClaimAgentRunInput, type ClaimMessagesOptions, CollectionLatticeManager, type ColumnInfo, type CompileSandboxPluginArgs, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, type ConnectionPayloadInput, ConnectionRegistry, ConsoleLoggerClient, type CreatePendingAgentRunInput, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, DEFAULT_CALIBRATION_PROBES, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_CONTENTS_EMBEDDING_PATH, DEFAULT_DELAY_MS, DEFAULT_HANDLER_TIMEOUT_MS, DEFAULT_MAX_ATTEMPTS, DEFAULT_MODEL_EXTRA, DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS, DEFAULT_SUMMARIZATION_TRIGGER_TOKENS, DEFAULT_TEXTS_EMBEDDING_PATH, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, type DefaultScheduleClientOptions, DelegatedScopeNotQueueableError, type DelegationRequest, DelegationService, type DeleteAgentRunExpected, type DeleteResult, DependencyResolver, type DispatchPreparation, DuplicateProjectRoomMessageIdempotencyKeyError, DuplicateShareTokenError, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingShape, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EmbeddingsRuntimeConfig, type EnsureMicrosandboxInput, type EvalRunService, type ExecuteRunInput, type ExecuteRunOutcome, type ExecuteRunResult, type ExecutionAuthority, ExecutionAuthorityRegistry, type ExportBundle, type ExportContext, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableFile, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GetThreadRunOwnerInput, type GrepMatch, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_MAX_TIMEOUT_MS, HEALTH_CHECK_TIMEOUT_MS, type HandlerEnvelope, type HostArgs, type IAgentRunLedger, type IMessageQueueStore, type IMetricsServerClient, INLINE_INPUT_LIMIT_BYTES, type ISqlDatabase, IdRemapper, IdentityMappingConfigError, type IdentityMappingDependencies, type IdentityMappingOptions, type IdentityMappingResult, IdentityMappingService, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentRunStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChannelReplyJobStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryInviteLinkStore, InMemoryLeaseStore, InMemoryMenuStore, InMemoryModelProviderStore, InMemoryOidcIdentityClaimStore, InMemoryOidcProviderConfigStore, InMemoryOpenAuditStore, InMemoryOutboxStore, InMemoryPlatformAuditStore, InMemoryPlatformInvitationStore, InMemoryPlatformMemberStore, InMemoryPlatformSettingsStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryProjectStore, InMemorySessionStore, InMemorySharedResourceStore, InMemoryStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserEmailConflictError, InMemoryUserExternalIdentityStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, InMemoryWorkspaceStore, type InsertionItem, type InstallPluginHostResult, type JudgeVerdict, LEGACY_ROOT_SANDBOX_IMAGE, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LeaseAcquisitionTimeoutError, type LifecycleResult, type LifecycleWarning, type ListPendingRunsOptions, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, type LoggerLattice, LoggerLatticeManager, type LongTermStoreConfig, type LongTermStoreMode, type LongTermStoreScope, type LoopBreakerConfig, MAX_BACKOFF_MS, MAX_HANDLER_TIMEOUT_MS, MAX_LINE_LENGTH, MAX_PACK_ENTRIES, MAX_PACK_FILE_BYTES, MAX_PACK_TOTAL_BYTES, MAX_TIMER_DELAY, MIN_HANDLER_TIMEOUT_MS, ManagedTaskStartError, type ManagedTaskStartOptions, type ManifestValidationResult, type McpClientFactory, type McpClientLike, type McpClientSession, type McpConnectionOptions, McpLatticeManager, type McpRegisterOptions, type McpScopeOptions, type McpServerId, type McpServerRuntime, type McpServerState, type McpUiScopeInput, type McpUiScopePayload, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MergedPluginSkills, type MessageCompletedEvent, type MessageContent, type MessageContentPart, type MessageContentValue, type MessageFailedEvent, type MessageInterruptedEvent, type MessageLike, type MessageStartedEvent, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type ModelRuntimeConfig, MysqlDatabase, NONROOT_SANDBOX_IMAGE, ObservabilityDashboardUnavailableError, ObservabilityDashboardUnsupportedError, ObservabilityLatticeManager, type ObservabilityObservation, type ObservabilityObservationType, type ObservabilityProvider, type ObservabilityProviderCapabilities, type ObservabilityTraceContext, OutboxPoller, type OutboxPollerDeps, type OutputType, PACK_DIRECTORY_TIMEOUT_MS, PERSONAL_MCP_MAX_SERVERS, PERSONAL_MCP_SYNC_BUDGET_MS, PLATFORM_SECRET_ENV_VARS, PLUGIN_CATALOG_CHANGED_TOPIC, PLUGIN_HOST_DIR, PLUGIN_HOST_SERVER_SOURCE, PLUGIN_HOST_VERSION, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, type PersonalMcpSyncResult, PinoLoggerClient, type PluginConnectionScope, type PluginDeploymentRuntimeHealth, PluginDeploymentRuntimeRegistry, type PluginDeploymentRuntimeRegistryOptions, type PluginDeploymentServiceDeployOptions, type PluginDeploymentServiceDeployResult, type PluginDeploymentServiceLike, type PluginDeploymentServiceListEntry, type PluginDeploymentServiceMode, type PluginDeploymentServiceStatus, type PluginDeploymentServiceUndeployResult, PluginRegistry, type PluginSources, type PostProcessTaskMutationResponseInput, PostgresDatabase, type PreviewError, ProjectBotMembershipIdConflictError, ProjectMutationMutex, type ProjectMutationScope, type ProjectRoomMessageCommittedListener, ProjectRoomMessageIdConflictError, ProjectRoomMessageNotifier, type ProjectTaskAdmissionListener, type ProjectTaskAdmissionNotification, ProjectTaskAdmissionNotifier, type ProjectTaskAdmissionNotifierOptions, type ProjectTaskAssignmentScope, ProjectTaskOwnerPolicy, type ProjectTaskOwnerPolicyCode, ProjectTaskOwnerPolicyError, type ProjectTaskReassignmentAuthorization, type ProjectTaskReassignmentAuthorizationInput, type ProjectTaskReassignmentAuthorizer, type ProjectTaskReassignmentThreadValidationInput, type ProjectTaskReassignmentThreadValidator, type ProjectTaskRosterScope, PrometheusClient, type ProvisionFileSink, type QueryResult, type QueueLattice, QueueLatticeManager, type QueueMessage, QueueMode, type QueuePendingEvent, type QueueScope, ROOM_COORDINATOR_KEY, type ReapedAgentRun, type ReassignProjectTaskInput, type ReconcileAllTenantTaskRunsInput, type ReconcileStaleTaskRunsInput, type ReconcileStaleTaskRunsResult, type ReconcileTaskDescriptionInput, type ReconcileTenantTaskRunsInput, type RejectInterruptedTaskInput, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RepeatedToolCallBreakerOptions, RepeatedToolCallError, type ReplyReadyEvent, type ResidentConnectionConfig, type ResidentDeployment, type ResidentInvokeArgs, type ResidentInvokePayload, type ResidentInvokeResult, type ResidentRoutingDeps, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type ResolvedPluginConnection, type ResolvedPluginSkill, type ResolvedSandboxRuntime, type ResumeTaskResult, type RollbackFailureResult, type RoomAgentCorrelatedInterruptInput, type RoomAgentMessageCallbackFailure, type RoomAgentMessageCommitted, type RoomAgentMessageInput, RoomAgentMessageService, type RoomAgentReplyInput, type RunAsLeaderOptions, type RunAsLeaderResult, type RunCancelHeartbeatFallbackObserver, RunInterruptMismatchError, type RunSandboxConfig, type RuntimeModelConfig, type RuntimeSkillSelection, SAFE_PATH_COMPONENT, SANDBOX_AGENTS_ROOT, SANDBOX_DEFAULT_IMAGE, SANDBOX_HOME, SANDBOX_KNOWLEDGEBASE_ROOT, SANDBOX_LEGACY_ROOT, SANDBOX_OPEN_GATEWAY_URL_ENV, SANDBOX_OPEN_TOKEN_ENV, SANDBOX_PLUGINS_ROOT, SANDBOX_PLUGIN_HOST_DIR, SANDBOX_PLUGIN_HOST_SERVER_PATH, SANDBOX_PLUGIN_SKILL_MANIFEST_PATH, SANDBOX_RUNTIME_PROFILE, SANDBOX_SDK_ROOT, SANDBOX_SKILLS_ROOT, SHARE_CARD_APP_HTML, SHARE_CARD_UI_RESOURCE, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, SUMMARIZATION_TRIGGER_RATIO, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxGrepMatch, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxOpenClientBundle, type SandboxOpenCredential, type SandboxOpenCredentialContext, type SandboxOpenCredentialProvider, type SandboxOpenCredentialProviderOptions, SandboxPluginExecutor, type SandboxPluginExecutorDeps, type SandboxPluginInvokeArgs, type SandboxPluginResult, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxResolver, type SandboxRunConfig, type SandboxRuntimeProfile, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SettleExpiredRunOptions, type SettleRunInput, type SettleRunOutcome, type SharePayload, SharePayloadError, SharedChunkBuffer, type SharedChunkBufferOptions, SimpleMemoryVectorStore, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StartLifecycleResult, type StartTaskExecutionInput, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, type SubmitTaskReviewInput, TASK_RESPONSE_FINAL_WARNING_LIMIT, TASK_RESPONSE_PRIOR_WARNING_LIMIT, TASK_RESPONSE_SCALAR_MAX_BYTES, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskAgentInvocation, type TaskExecutionFailure, type TaskExecutionManaged, type TaskExecutionResult, type TaskExecutionServiceDeps, type TaskExecutionSuccess, type TaskLifecycleListener, type TaskLifecycleNotification, TaskLifecycleNotifier, TaskLifecycleService, type TaskLifecycleServiceDeps, type TaskLivenessProbe, type TaskResponseParseResult, type TaskRunBridge, type TaskRunBridgeDeps, TaskRunBridgeStoresRequiredError, type TaskRunLeaseHandle, TaskRunRegistry, TenantPluginCatalog, type TenantPluginCatalogDeps, type TenantPlugins, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadEndCode, ThreadEndError, ThreadEventsUnavailableError, ThreadExecutionSupervisor, type ThreadExecutionSupervisorAgent, type ThreadExecutionSupervisorAgentParams, type ThreadExecutionSupervisorOptions, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadRunLeaseHandle, type ThreadRunOwnerProbe, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ThreadStreamRecord, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TransferOwnerInput, type TransferOwnerResult, type TrustedAgentMessageDispatcher, type TrustedMessageOptions, type TryAcquireTaskRunInput, type TryAcquireThreadRunInput, type UnknownToolHandlerConfig, UnsafeUpstreamUrlError, type UnsafeUrlReason, UnsupportedModelProviderError, type ValidateManifestArgs, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WithLeaseOptions, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, appSharePlugin, appendReconciliationWarning, appendUiFence, assertQueueSources, assertSafeUpstreamUrl, buildBundleFromDist, buildConnectionPayload, buildGrepResultsDict, buildHandlerCommand, buildInput, buildModelConfig, buildModelEmbeddingsConfig, buildModelLlmConfig, buildModelSttConfig, buildNamedVolumeName, buildRemotePackDirectoryCommand, buildSandboxMetadataEnv, buildSandboxOpenEnv, buildSkillFile, buildStateAnnotation, buildTableName, buildTaskMutationFallback, buildTaskNormalizationFallback, canConvergeOrphan, channelShardForInstallation, checkEmptyContent, chunkBufferStreamKey, clearAuthProvidersForTests, clearEncryptionKeyCache, clearEvalRunService, clearSandboxOpenCredentialProviderForTests, collectPluginSources, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureCollectionSync, configureCoordinationLeaseStore, configurePluginCatalogSync, configureStores, connectAllChannels, connectionSecretFields, convertToConnection, countPersonalMcpServers, createAgentNode, createCapabilityGuardMiddleware, createCodeEvalTool, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createLongTermStoreMiddleware, createMapNode, createMcpAppSharePayload, createModelSelectorMiddleware, createNodeHandler, createProjectRoomMiddleware, createProjectTaskOwnerPolicy, createProjectTaskReassignmentAuthorizer, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createRepeatedToolCallBreakerMiddleware, createResourceAddress, createSandboxProvider, createSandboxResolver, createSchedulerMiddleware, createSharePayload, createShellExecTool, createTaskExecutionService, createTaskLifecycleService, createTaskMiddleware, createTaskRunBridge, createTaskRunLiveness, createTrustedAgentMessageDispatcher, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, decryptConfigFields, delegationService, deleteCollectionEntryIds, describeCronExpression, disconnectAllChannels, documentLearningPlugin, documentParserPlugin, embeddingProbeCandidates, embeddingsLatticeManager, encodeInput, encrypt, encryptConfigFields, ensureBuiltinAgentsForTenant, ensurePersonalMcpForAssistant, ensurePluginAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAgentRunInputMessageIds, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, forgetTenantModelSupply, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, genUIMarkdown, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentClientAsync, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getAuthProvider, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getCoordinationLeaseStore, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMcpUiScopeSecret, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getPersonalMcpMaxServers, getPersonalMcpStore, getPersonalMcpSyncBudgetMs, getPluginDeploymentService, getPluginSkillManifestVersion, getQueueLattice, getReplicaId, getRuntimeCapabilityConfig, getRuntimeSkillSelection, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getSandboxOpenCredential, getSandboxOpenGatewayUrl, getSandboxPluginCatalog, getScheduleLattice, getStoreLattice, getThreadRunOwner, getToolClient, getToolClientWithTenant, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, handlerResultText, hasChunkBuffer, hasDelegatedWorkerToken, hasModelLatticeForTenant, hasModelLatticeForTenantSync, hasRuntimeCapabilityPolicy, installPluginHost, invalidatePersonalMcpSync, invokeResident, invokeWithRetry, isBuiltInSkill, isDirectRoom, isEncryptedValue, isMcpConnectionError, isOfficialInterruptId, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isTaskRunLeaseHeld, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, listAuthProviders, listCollectionEntries, listMenuGroupsSchema, listModelLatticesForTenant, listSandboxProviderTypes, listTenantPlugins, loggerLatticeManager, longTermStorePlugin, mcpManager, mergeCapabilityBundles, mergePluginSkills, mergePluginSources, metricsServerManager, modelLatticeManager, nextBackoffDelay, normalizeAgentInterrupts, normalizeAgentRunMessageIds, normalizeSandboxName, observabilityLatticeManager, ownTaskResponseField, parallelLimit, parseCronExpression, parseDirectRoomType, parseHandlerEnvelope, parseHostArgs, parseJudgeVerdict, parsePackSize, parseSkillFrontmatter, parseTaskResponse, parseYaml, performStringReplacement, pluginHostContentHash, postProcessTaskMutationResponse, prepareTaskDispatch, probeThreadRunOwner, projectMutationMutex, projectRoomMessageNotifier, projectRoomPlugin, projectTaskAdmissionNotifier, provisionSandboxOpenClient, publishCollectionChanged, publishPluginCatalogChanged, publishTargetSchema, purgePersonalMcpForAssistant, queueLatticeManager, readContextWindow, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, reconcileToolSelection, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerAuthProvider, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerModelLatticeForTenant, registerObservabilityLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxOpenCredentialProvider, registerSandboxOpenGatewayUrlProvider, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, rememberTenantModelSupply, removeCollectionVectorStore, removePersonalMcpServer, renderTemplate, resetReplicaIdForTests, resolveEmbeddingEndpoint, resolveEmbeddingShape, resolveEnabledPluginSkill, resolveHandlerTimeoutMs, resolveJudgeModelKey, resolveModelLatticeForTenant, resolveObservabilityCallbacks, resolvePath, resolvePinoFileOptions, resolvePluginConnections, resolveSandboxAgentsPathAlias, resolveSandboxPluginConnections, resolveSandboxRuntime, resolveStartIndex, resolveSummarizationTriggerTokens, resolveTenantPluginSkill, roomCoordinatorConfig, runAsLeader, runRemotePackDirectory, safeDecrypt, safeTaskResponseId, sandboxLatticeManager, sanitizeCallerRunConfig, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, serializeTaskMutationSuccess, serializeTaskNormalizationFallback, serializeTaskReadResponse, setAgentLifecycleTap, setBindingRegistry, setDefaultObservabilityLattice, setEvalRunService, setMenuRegistry, setPluginDeploymentService, setRunCancelHeartbeatFallbackObserver, setSandboxPluginCatalog, signMcpUiScope, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, taskLifecycleNotifier, taskRunLeaseKey, taskRunRegistry, tenantHasOwnModelSupply, tenantHasOwnModelSupplySync, threadRunLeaseKey, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, tryAcquireTaskRun, tryAcquireThreadRun, unregisterWorkflowRun, updateFileData, validateAgentInput, validateCapabilityBundleInput, validateDSL, validateEncryptionKey, validatePackSourcePath, validatePath, validateRelativePath, validateSandboxPluginManifest, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager, verifyMcpUiScope, withLease, withTimeout, wrapMcpToolWithUi };
|
|
18484
|
+
export { type AddMessageParams, type AddMessageResult, Agent, type AgentCheckpointTip, type AgentClient, type AgentExecutor, type AgentGraphTree, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, type AgentLifecycleTapEvent, AgentRunAlreadyActiveError, type AgentRunCounts, AgentRunDuplicateMessageIdError, type AgentRunExpiredOutcome, AgentRunInputCommandConflictError, AgentRunInvalidTaskIdError, type AgentRunJsonObject, type AgentRunMonitorQuery, type AgentRunMonitorSummary, type AgentRunPendingCursor, type AgentRunRecord, type AgentRunRollbackResult, type AgentRunSource, type AgentRunStatus, AgentRunTenantQuotaExceededError, type AgentStreamExecutor, type AgentTaskCompletionInput, type AgentThreadInterface, type AppendLog, type AppendLogReader, type AppendLogRecord, type ApproveInterruptedTaskInput, type AssignTaskOwnerInput, AuthProviderAlreadyRegisteredError, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, BaseCheckpointMismatchError, type BeginAgentRunInput, type BeginRunFailure, type BeginRunInput, type BeginRunResult, type BeginRunSuccess, type BufferStats, CAPABILITY_TOOL_NAME_CONFLICT, COLLECTION_CHANGED_TOPIC, type CacheEntry, type CalibrationProbe, CapabilityBundleMergeError, type CapabilityBundleMergeErrorCode, CapabilityBundleMerger, CapabilityBundleValidationError, type CapabilityBundleValidationErrorCode, type CapabilityGuardDenialCode, type CapabilityResourceSelector, type CapabilityToolMetadata, CapabilityToolNameConflictError, CapabilityToolRegistry, type CaseRunResult, ChannelConnectionLeader, type ChannelConnectionLeaderDeps, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, ChunkCursorExpiredError, type ClaimAgentRunInput, type ClaimMessagesOptions, CollectionLatticeManager, type ColumnInfo, type CompileSandboxPluginArgs, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, type ConnectionPayloadInput, ConnectionRegistry, ConsoleLoggerClient, type CreatePendingAgentRunInput, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, DEFAULT_CALIBRATION_PROBES, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_CONTENTS_EMBEDDING_PATH, DEFAULT_DELAY_MS, DEFAULT_HANDLER_TIMEOUT_MS, DEFAULT_MAX_ATTEMPTS, DEFAULT_MODEL_EXTRA, DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS, DEFAULT_SUMMARIZATION_TRIGGER_TOKENS, DEFAULT_TENANT_WORKSPACE_DESCRIPTION, DEFAULT_TENANT_WORKSPACE_NAME, DEFAULT_TEXTS_EMBEDDING_PATH, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, type DefaultScheduleClientOptions, DelegatedScopeNotQueueableError, type DelegationRequest, DelegationService, type DeleteAgentRunExpected, type DeleteResult, DependencyResolver, type DispatchPreparation, DuplicateProjectRoomMessageIdempotencyKeyError, DuplicateShareTokenError, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingShape, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EmbeddingsRuntimeConfig, type EnsureMicrosandboxInput, type EvalRunService, type ExecuteRunInput, type ExecuteRunOutcome, type ExecuteRunResult, type ExecutionAuthority, ExecutionAuthorityRegistry, type ExportBundle, type ExportContext, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableFile, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GetThreadRunOwnerInput, type GrepMatch, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_MAX_TIMEOUT_MS, HEALTH_CHECK_TIMEOUT_MS, type HandlerEnvelope, type HostArgs, type IAgentRunLedger, type IMessageQueueStore, type IMetricsServerClient, INLINE_INPUT_LIMIT_BYTES, type ISqlDatabase, IdRemapper, IdentityMappingConfigError, type IdentityMappingDependencies, type IdentityMappingOptions, type IdentityMappingResult, IdentityMappingService, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentRunStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChannelReplyJobStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryInviteLinkStore, InMemoryLeaseStore, InMemoryMenuStore, InMemoryModelProviderStore, InMemoryOidcIdentityClaimStore, InMemoryOidcProviderConfigStore, InMemoryOpenAuditStore, InMemoryOutboxStore, InMemoryPlatformAuditStore, InMemoryPlatformInvitationStore, InMemoryPlatformMemberStore, InMemoryPlatformSettingsStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryProjectStore, InMemorySessionStore, InMemorySharedResourceStore, InMemoryStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserEmailConflictError, InMemoryUserExternalIdentityStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, InMemoryWorkspaceStore, type InsertionItem, type InstallPluginHostResult, type JudgeVerdict, LEGACY_ROOT_SANDBOX_IMAGE, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LeaseAcquisitionTimeoutError, type LifecycleResult, type LifecycleWarning, type ListPendingRunsOptions, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, type LoggerLattice, LoggerLatticeManager, type LongTermStoreConfig, type LongTermStoreMode, type LongTermStoreScope, type LoopBreakerConfig, MAX_BACKOFF_MS, MAX_HANDLER_TIMEOUT_MS, MAX_LINE_LENGTH, MAX_PACK_ENTRIES, MAX_PACK_FILE_BYTES, MAX_PACK_TOTAL_BYTES, MAX_TIMER_DELAY, MIN_HANDLER_TIMEOUT_MS, ManagedTaskStartError, type ManagedTaskStartOptions, type ManifestValidationResult, type McpClientFactory, type McpClientLike, type McpClientSession, type McpConnectionOptions, McpLatticeManager, type McpRegisterOptions, type McpScopeOptions, type McpServerId, type McpServerRuntime, type McpServerState, type McpUiScopeInput, type McpUiScopePayload, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MergedPluginSkills, type MessageCompletedEvent, type MessageContent, type MessageContentPart, type MessageContentValue, type MessageFailedEvent, type MessageInterruptedEvent, type MessageLike, type MessageStartedEvent, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type ModelRuntimeConfig, MysqlDatabase, NONROOT_SANDBOX_IMAGE, ObservabilityDashboardUnavailableError, ObservabilityDashboardUnsupportedError, ObservabilityLatticeManager, type ObservabilityObservation, type ObservabilityObservationType, type ObservabilityProvider, type ObservabilityProviderCapabilities, type ObservabilityTraceContext, OutboxPoller, type OutboxPollerDeps, type OutputType, PACK_DIRECTORY_TIMEOUT_MS, PERSONAL_MCP_MAX_SERVERS, PERSONAL_MCP_SYNC_BUDGET_MS, PLATFORM_SECRET_ENV_VARS, PLUGIN_CATALOG_CHANGED_TOPIC, PLUGIN_HOST_DIR, PLUGIN_HOST_SERVER_SOURCE, PLUGIN_HOST_VERSION, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, type PersonalMcpSyncResult, PinoLoggerClient, type PluginConnectionScope, type PluginDeploymentRuntimeHealth, PluginDeploymentRuntimeRegistry, type PluginDeploymentRuntimeRegistryOptions, type PluginDeploymentServiceDeployOptions, type PluginDeploymentServiceDeployResult, type PluginDeploymentServiceLike, type PluginDeploymentServiceListEntry, type PluginDeploymentServiceMode, type PluginDeploymentServiceStatus, type PluginDeploymentServiceUndeployResult, PluginRegistry, type PluginSources, type PostProcessTaskMutationResponseInput, PostgresDatabase, type PreviewError, ProjectBotMembershipIdConflictError, ProjectMutationMutex, type ProjectMutationScope, type ProjectRoomMessageCommittedListener, ProjectRoomMessageIdConflictError, ProjectRoomMessageNotifier, type ProjectTaskAdmissionListener, type ProjectTaskAdmissionNotification, ProjectTaskAdmissionNotifier, type ProjectTaskAdmissionNotifierOptions, type ProjectTaskAssignmentScope, ProjectTaskOwnerPolicy, type ProjectTaskOwnerPolicyCode, ProjectTaskOwnerPolicyError, type ProjectTaskReassignmentAuthorization, type ProjectTaskReassignmentAuthorizationInput, type ProjectTaskReassignmentAuthorizer, type ProjectTaskReassignmentThreadValidationInput, type ProjectTaskReassignmentThreadValidator, type ProjectTaskRosterScope, PrometheusClient, type ProvisionFileSink, type QueryResult, type QueueLattice, QueueLatticeManager, type QueueMessage, QueueMode, type QueuePendingEvent, type QueueScope, ROOM_COORDINATOR_KEY, type ReapedAgentRun, type ReassignProjectTaskInput, type ReconcileAllTenantTaskRunsInput, type ReconcileStaleTaskRunsInput, type ReconcileStaleTaskRunsResult, type ReconcileTaskDescriptionInput, type ReconcileTenantTaskRunsInput, type RejectInterruptedTaskInput, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RepeatedToolCallBreakerOptions, RepeatedToolCallError, type ReplyReadyEvent, type ResidentConnectionConfig, type ResidentDeployment, type ResidentInvokeArgs, type ResidentInvokePayload, type ResidentInvokeResult, type ResidentRoutingDeps, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type ResolvedPluginConnection, type ResolvedPluginSkill, type ResolvedSandboxRuntime, type ResumeTaskResult, type RollbackFailureResult, type RoomAgentCorrelatedInterruptInput, type RoomAgentMessageCallbackFailure, type RoomAgentMessageCommitted, type RoomAgentMessageInput, RoomAgentMessageService, type RoomAgentReplyInput, type RunAsLeaderOptions, type RunAsLeaderResult, type RunCancelHeartbeatFallbackObserver, RunInterruptMismatchError, type RunSandboxConfig, type RuntimeModelConfig, type RuntimeSkillSelection, SAFE_PATH_COMPONENT, SANDBOX_AGENTS_ROOT, SANDBOX_DEFAULT_IMAGE, SANDBOX_HOME, SANDBOX_KNOWLEDGEBASE_ROOT, SANDBOX_LEGACY_ROOT, SANDBOX_OPEN_GATEWAY_URL_ENV, SANDBOX_OPEN_TOKEN_ENV, SANDBOX_PLUGINS_ROOT, SANDBOX_PLUGIN_HOST_DIR, SANDBOX_PLUGIN_HOST_SERVER_PATH, SANDBOX_PLUGIN_SKILL_MANIFEST_PATH, SANDBOX_RUNTIME_PROFILE, SANDBOX_SDK_ROOT, SANDBOX_SKILLS_ROOT, SHARE_CARD_APP_HTML, SHARE_CARD_UI_RESOURCE, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, SUMMARIZATION_TRIGGER_RATIO, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxGrepMatch, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxOpenClientBundle, type SandboxOpenCredential, type SandboxOpenCredentialContext, type SandboxOpenCredentialProvider, type SandboxOpenCredentialProviderOptions, SandboxPluginExecutor, type SandboxPluginExecutorDeps, type SandboxPluginInvokeArgs, type SandboxPluginResult, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxResolver, type SandboxRunConfig, type SandboxRuntimeProfile, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SettleExpiredRunOptions, type SettleRunInput, type SettleRunOutcome, type SharePayload, SharePayloadError, SharedChunkBuffer, type SharedChunkBufferOptions, SimpleMemoryVectorStore, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StartLifecycleResult, type StartTaskExecutionInput, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, type SubmitTaskReviewInput, TASK_RESPONSE_FINAL_WARNING_LIMIT, TASK_RESPONSE_PRIOR_WARNING_LIMIT, TASK_RESPONSE_SCALAR_MAX_BYTES, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskAgentInvocation, type TaskExecutionFailure, type TaskExecutionManaged, type TaskExecutionResult, type TaskExecutionServiceDeps, type TaskExecutionSuccess, type TaskLifecycleListener, type TaskLifecycleNotification, TaskLifecycleNotifier, TaskLifecycleService, type TaskLifecycleServiceDeps, type TaskLivenessProbe, type TaskResponseParseResult, type TaskRunBridge, type TaskRunBridgeDeps, TaskRunBridgeStoresRequiredError, type TaskRunLeaseHandle, TaskRunRegistry, TenantPluginCatalog, type TenantPluginCatalogDeps, type TenantPlugins, type TenantProvisioningLogger, type TenantProvisioningService, type TenantProvisioningServiceDeps, type TenantWorkspaceDefaults, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadEndCode, ThreadEndError, ThreadEventsUnavailableError, ThreadExecutionSupervisor, type ThreadExecutionSupervisorAgent, type ThreadExecutionSupervisorAgentParams, type ThreadExecutionSupervisorOptions, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadRunLeaseHandle, type ThreadRunOwnerProbe, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ThreadStreamRecord, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TransferOwnerInput, type TransferOwnerResult, type TrustedAgentMessageDispatcher, type TrustedMessageOptions, type TryAcquireTaskRunInput, type TryAcquireThreadRunInput, type UnknownToolHandlerConfig, UnsafeUpstreamUrlError, type UnsafeUrlReason, UnsupportedModelProviderError, type ValidateManifestArgs, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WithLeaseOptions, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, appSharePlugin, appendReconciliationWarning, appendUiFence, assertQueueSources, assertSafeUpstreamUrl, buildBundleFromDist, buildConnectionPayload, buildGrepResultsDict, buildHandlerCommand, buildInput, buildModelConfig, buildModelEmbeddingsConfig, buildModelLlmConfig, buildModelSttConfig, buildNamedVolumeName, buildRemotePackDirectoryCommand, buildSandboxMetadataEnv, buildSandboxOpenEnv, buildSkillFile, buildStateAnnotation, buildTableName, buildTaskMutationFallback, buildTaskNormalizationFallback, canConvergeOrphan, channelShardForInstallation, checkEmptyContent, chunkBufferStreamKey, clearAuthProvidersForTests, clearEncryptionKeyCache, clearEvalRunService, clearSandboxOpenCredentialProviderForTests, collectPluginSources, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureCollectionSync, configureCoordinationLeaseStore, configurePluginCatalogSync, configureStores, connectAllChannels, connectionSecretFields, convertToConnection, countPersonalMcpServers, createAgentNode, createCapabilityGuardMiddleware, createCodeEvalTool, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createLongTermStoreMiddleware, createMapNode, createMcpAppSharePayload, createModelSelectorMiddleware, createNodeHandler, createProjectRoomMiddleware, createProjectTaskOwnerPolicy, createProjectTaskReassignmentAuthorizer, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createRepeatedToolCallBreakerMiddleware, createResourceAddress, createSandboxProvider, createSandboxResolver, createSchedulerMiddleware, createSharePayload, createShellExecTool, createTaskExecutionService, createTaskLifecycleService, createTaskMiddleware, createTaskRunBridge, createTaskRunLiveness, createTenantProvisioningService, createTrustedAgentMessageDispatcher, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, decryptConfigFields, delegationService, deleteCollectionEntryIds, describeCronExpression, disconnectAllChannels, documentLearningPlugin, documentParserPlugin, embeddingProbeCandidates, embeddingsLatticeManager, encodeInput, encrypt, encryptConfigFields, ensureBuiltinAgentsForTenant, ensurePersonalMcpForAssistant, ensurePluginAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAgentRunInputMessageIds, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, forgetTenantModelSupply, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, genUIMarkdown, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentClientAsync, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getAuthProvider, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getCoordinationLeaseStore, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMcpUiScopeSecret, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getPersonalMcpMaxServers, getPersonalMcpStore, getPersonalMcpSyncBudgetMs, getPluginDeploymentService, getPluginSkillManifestVersion, getQueueLattice, getReplicaId, getRuntimeCapabilityConfig, getRuntimeSkillSelection, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getSandboxOpenCredential, getSandboxOpenGatewayUrl, getSandboxPluginCatalog, getScheduleLattice, getStoreLattice, getThreadRunOwner, getToolClient, getToolClientWithTenant, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, handlerResultText, hasChunkBuffer, hasDelegatedWorkerToken, hasModelLatticeForTenant, hasModelLatticeForTenantSync, hasRuntimeCapabilityPolicy, installPluginHost, invalidatePersonalMcpSync, invokeResident, invokeWithRetry, isBuiltInSkill, isDirectRoom, isEncryptedValue, isMcpConnectionError, isOfficialInterruptId, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isTaskRunLeaseHeld, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, listAuthProviders, listCollectionEntries, listMenuGroupsSchema, listModelLatticesForTenant, listSandboxProviderTypes, listTenantPlugins, loggerLatticeManager, longTermStorePlugin, mcpManager, mergeCapabilityBundles, mergePluginSkills, mergePluginSources, metricsServerManager, modelLatticeManager, nextBackoffDelay, normalizeAgentInterrupts, normalizeAgentRunMessageIds, normalizeSandboxName, observabilityLatticeManager, ownTaskResponseField, parallelLimit, parseCronExpression, parseDirectRoomType, parseHandlerEnvelope, parseHostArgs, parseJudgeVerdict, parsePackSize, parseSkillFrontmatter, parseTaskResponse, parseYaml, performStringReplacement, pluginHostContentHash, postProcessTaskMutationResponse, prepareTaskDispatch, probeThreadRunOwner, projectMutationMutex, projectRoomMessageNotifier, projectRoomPlugin, projectTaskAdmissionNotifier, provisionSandboxOpenClient, publishCollectionChanged, publishPluginCatalogChanged, publishTargetSchema, purgePersonalMcpForAssistant, queueLatticeManager, readContextWindow, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, reconcileToolSelection, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerAuthProvider, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerModelLatticeForTenant, registerObservabilityLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxOpenCredentialProvider, registerSandboxOpenGatewayUrlProvider, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, rememberTenantModelSupply, removeCollectionVectorStore, removePersonalMcpServer, renderTemplate, resetReplicaIdForTests, resolveEmbeddingEndpoint, resolveEmbeddingShape, resolveEnabledPluginSkill, resolveHandlerTimeoutMs, resolveJudgeModelKey, resolveModelLatticeForTenant, resolveObservabilityCallbacks, resolvePath, resolvePinoFileOptions, resolvePluginConnections, resolveSandboxAgentsPathAlias, resolveSandboxPluginConnections, resolveSandboxRuntime, resolveStartIndex, resolveSummarizationTriggerTokens, resolveTenantPluginSkill, roomCoordinatorConfig, runAsLeader, runRemotePackDirectory, safeDecrypt, safeTaskResponseId, sandboxLatticeManager, sanitizeCallerRunConfig, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, serializeTaskMutationSuccess, serializeTaskNormalizationFallback, serializeTaskReadResponse, setAgentLifecycleTap, setBindingRegistry, setDefaultObservabilityLattice, setEvalRunService, setMenuRegistry, setPluginDeploymentService, setRunCancelHeartbeatFallbackObserver, setSandboxPluginCatalog, signMcpUiScope, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, taskLifecycleNotifier, taskRunLeaseKey, taskRunRegistry, tenantHasOwnModelSupply, tenantHasOwnModelSupplySync, threadRunLeaseKey, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, tryAcquireTaskRun, tryAcquireThreadRun, unregisterWorkflowRun, updateFileData, validateAgentInput, validateCapabilityBundleInput, validateDSL, validateEncryptionKey, validatePackSourcePath, validatePath, validateRelativePath, validateSandboxPluginManifest, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager, verifyMcpUiScope, withLease, withTimeout, wrapMcpToolWithUi };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { BaseLanguageModelInput } from '@langchain/core/language_models/base';
|
|
|
8
8
|
import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager';
|
|
9
9
|
import { ChatResult, ChatGenerationChunk } from '@langchain/core/outputs';
|
|
10
10
|
import * as _axiom_lattice_protocols from '@axiom-lattice/protocols';
|
|
11
|
-
import { LLMConfig, ModelProviderEntry, ModelProviderModelEntry, STTConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, GraphBuildOptions, DeepAgentConfig, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TrustedRunContext, QueuedExecutionMode, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, ModelProviderStore, UserStore, TenantStore, UserTenantLinkStore, UserExternalIdentityStore, OidcProviderConfigStore, PlatformMemberStore, PlatformInvitationStore, OidcIdentityClaimStore, InviteLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, OpenAuditStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, AgentWebAppStore, CapabilityBundleStore, ProjectRoomStore, ProjectMembershipStore, ProjectBotMembershipStore, ProjectRoomMessageStore, ProjectRoomReadStateStore, UserPushSubscriptionStore, LeaseStore, OutboxStore, PluginDeploymentStore, ChannelReplyJobStore, CheckpointStorage, StoreProtocol, PlatformSettingsStore, PlatformAuditStore, SessionStore, VectorStoreProvider, Thread, ThreadMonitorQuery, ThreadMonitorRecord, ChannelSenderSummary, CreateThreadRequest, StorePutInput, StoreItem, StoreSearchInput, Assistant, CreateAssistantRequest, AgentWebApp, CreateAgentWebAppInput, AgentWebAppStorePatch, AgentWebAppUpdateOptions, Project, CreateProjectRequest, UpdateProjectRequest, UpdateProjectCapabilityBundlesResult, CapabilityBundle, InternalCreateCapabilityBundleInput, InternalUpdateCapabilityBundleInput, CapabilityBundleDeleteResult, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, CreateModelProviderRequest, UpdateModelProviderRequest, ModelProviderStatus, ProviderModelInput, User, CreateUserRequest, UpdateUserRequest, SessionRecord, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, UserExternalIdentity, OidcProviderConfig, CreateOidcProviderConfigInput, UpdateOidcProviderConfigInput, PlatformMember, PlatformInvitation, OidcIdentityClaimStatus, OidcIdentityClaim, CreateOidcIdentityClaimInput, UpdateOidcIdentityClaimInput, OidcIdentityClaimApproval, InviteLink, CreateInviteLinkInput, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationInput, UpdateChannelInstallationRequest, Binding, CreateBindingInput, BindingMutablePatch, BindingListParams, A2AApiKeyRecord, CreateA2AApiKeyInput, UpdateA2AApiKeyInput, A2AApiKeyEntry, OpenAuditAppendInput, OpenAuditRecord, OpenAuditQuery, PlatformAuditAppendInput, PlatformAuditRecord, PlatformAuditQuery, TaskMutationSnapshot, CreateTaskRequest, TaskItem, TaskListFilter, TaskDependentListQuery, UpdateTaskRequest, CreateWorkItemRequest, TaskWorkItem, CreateWorkItemIfAbsentRequest, TaskWorkItemListFilter, ProjectLifecycleEventQuery, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, ProjectRoom, ProjectMembership, ProjectBotMembership, ProjectRoomMessage, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectHumanRole, ProjectMembershipMutationResult, ProjectRoomReadState, UserPushSubscription, LeaseRecord, OutboxEvent, CreateChannelReplyJobInput, ChannelReplyJob, PlatformSettingsRecord, PlatformSettingsDocument, ShareRecord, CreateShareRecord, ShareRecordPatch, AuthProvider, LoginSurface, Principal, STTModelLatticeProtocol, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, PinoFileOptions, SkillConfig, SkillClient, PluginSkillDefinition, McpTool, McpUiResourcePayload, McpServerConfig, PersonalMcpServerConfigStore, McpUiRef, ResourceResolver, ResourceAddress, ShareVisibility, OpenGrant, McpAppShareApp, McpAppShareRecord, CreateFileShareRequest, ObservabilityDashboardInput, ObservabilityDashboardResult, ChannelAdapter, InterruptPolicy, AgentInterrupt, ProjectTaskLifecycleAction, TaskBeliefState, PluginMeta, Plugin, PluginMetaOutput, SandboxPluginManifest, SandboxPluginToolDef, SandboxPluginDiagnostic, CapabilityPreview, CreateCapabilityBundleInput, UpdateCapabilityBundleInput, InternalInput, InternalStateField, InternalAgentNode, InternalMapNode, InternalNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
11
|
+
import { LLMConfig, ModelProviderEntry, ModelProviderModelEntry, STTConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, GraphBuildOptions, DeepAgentConfig, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TrustedRunContext, QueuedExecutionMode, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, ModelProviderStore, UserStore, TenantStore, UserTenantLinkStore, UserExternalIdentityStore, OidcProviderConfigStore, PlatformMemberStore, PlatformInvitationStore, OidcIdentityClaimStore, InviteLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, OpenAuditStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, AgentWebAppStore, CapabilityBundleStore, ProjectRoomStore, ProjectMembershipStore, ProjectBotMembershipStore, ProjectRoomMessageStore, ProjectRoomReadStateStore, UserPushSubscriptionStore, LeaseStore, OutboxStore, PluginDeploymentStore, ChannelReplyJobStore, CheckpointStorage, StoreProtocol, PlatformSettingsStore, PlatformAuditStore, SessionStore, VectorStoreProvider, Thread, ThreadMonitorQuery, ThreadMonitorRecord, ChannelSenderSummary, CreateThreadRequest, StorePutInput, StoreItem, StoreSearchInput, Assistant, CreateAssistantRequest, AgentWebApp, CreateAgentWebAppInput, AgentWebAppStorePatch, AgentWebAppUpdateOptions, Project, CreateProjectRequest, UpdateProjectRequest, UpdateProjectCapabilityBundlesResult, CapabilityBundle, InternalCreateCapabilityBundleInput, InternalUpdateCapabilityBundleInput, CapabilityBundleDeleteResult, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, CreateModelProviderRequest, UpdateModelProviderRequest, ModelProviderStatus, ProviderModelInput, User, CreateUserRequest, UpdateUserRequest, SessionRecord, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, UserExternalIdentity, OidcProviderConfig, CreateOidcProviderConfigInput, UpdateOidcProviderConfigInput, PlatformMember, PlatformInvitation, OidcIdentityClaimStatus, OidcIdentityClaim, CreateOidcIdentityClaimInput, UpdateOidcIdentityClaimInput, OidcIdentityClaimApproval, InviteLink, CreateInviteLinkInput, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationInput, UpdateChannelInstallationRequest, Binding, CreateBindingInput, BindingMutablePatch, BindingListParams, A2AApiKeyRecord, CreateA2AApiKeyInput, UpdateA2AApiKeyInput, A2AApiKeyEntry, OpenAuditAppendInput, OpenAuditRecord, OpenAuditQuery, PlatformAuditAppendInput, PlatformAuditRecord, PlatformAuditQuery, TaskMutationSnapshot, CreateTaskRequest, TaskItem, TaskListFilter, TaskDependentListQuery, UpdateTaskRequest, CreateWorkItemRequest, TaskWorkItem, CreateWorkItemIfAbsentRequest, TaskWorkItemListFilter, ProjectLifecycleEventQuery, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, ProjectRoom, ProjectMembership, ProjectBotMembership, ProjectRoomMessage, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectHumanRole, ProjectMembershipMutationResult, ProjectRoomReadState, UserPushSubscription, LeaseRecord, OutboxEvent, CreateChannelReplyJobInput, ChannelReplyJob, PlatformSettingsRecord, PlatformSettingsDocument, ShareRecord, CreateShareRecord, ShareRecordPatch, AuthProvider, LoginSurface, Principal, STTModelLatticeProtocol, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, PinoFileOptions, SkillConfig, SkillClient, PluginSkillDefinition, McpTool, McpUiResourcePayload, McpServerConfig, PersonalMcpServerConfigStore, McpUiRef, ResourceResolver, ResourceAddress, ShareVisibility, OpenGrant, McpAppShareApp, McpAppShareRecord, CreateFileShareRequest, ObservabilityDashboardInput, ObservabilityDashboardResult, ChannelAdapter, InterruptPolicy, AgentInterrupt, ProjectTaskLifecycleAction, StorageType, TaskBeliefState, PluginMeta, Plugin, PluginMetaOutput, SandboxPluginManifest, SandboxPluginToolDef, SandboxPluginDiagnostic, CapabilityPreview, CreateCapabilityBundleInput, UpdateCapabilityBundleInput, InternalInput, InternalStateField, InternalAgentNode, InternalMapNode, InternalNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
12
12
|
export { _axiom_lattice_protocols as Protocols };
|
|
13
13
|
export { AgentConfig, AgentType, GraphBuildOptions, McpServerConfigEntry, MemoryType, PersonalMcpServerConfigEntry, ProjectRoomTrustedRunContext, QueuedExecutionMode, TrustedRunContext, parseQueuedExecutionMode, parseTrustedRunContext } from '@axiom-lattice/protocols';
|
|
14
14
|
import * as langchain from 'langchain';
|
|
@@ -13234,6 +13234,45 @@ declare class ProjectMutationMutex {
|
|
|
13234
13234
|
/** Process-global Project mutation mutex shared by Core tools and Gateway services. */
|
|
13235
13235
|
declare const projectMutationMutex: ProjectMutationMutex;
|
|
13236
13236
|
|
|
13237
|
+
/**
|
|
13238
|
+
* TenantProvisioningService
|
|
13239
|
+
*
|
|
13240
|
+
* A tenant is only usable once it owns at least one workspace, and both the
|
|
13241
|
+
* Admin Center `POST /api/tenants` route and the Platform Ops
|
|
13242
|
+
* `ops_create_tenant` tool must produce that workspace in the same operation.
|
|
13243
|
+
* The tenant and workspace stores are separate aggregates, so this service owns
|
|
13244
|
+
* the small amount of cross-store orchestration and rolls the tenant back when
|
|
13245
|
+
* the workspace cannot be written.
|
|
13246
|
+
*
|
|
13247
|
+
* The factory takes its stores as injected dependencies (no store-lattice
|
|
13248
|
+
* lookup here) so hosts and tests supply their own implementations.
|
|
13249
|
+
*/
|
|
13250
|
+
|
|
13251
|
+
declare const DEFAULT_TENANT_WORKSPACE_NAME = "Default Workspace";
|
|
13252
|
+
declare const DEFAULT_TENANT_WORKSPACE_DESCRIPTION = "Default workspace created automatically for this tenant";
|
|
13253
|
+
interface TenantWorkspaceDefaults {
|
|
13254
|
+
name?: string;
|
|
13255
|
+
description?: string;
|
|
13256
|
+
storageType?: StorageType;
|
|
13257
|
+
}
|
|
13258
|
+
interface TenantProvisioningLogger {
|
|
13259
|
+
warn?: (message: string, context?: Record<string, unknown>) => void;
|
|
13260
|
+
}
|
|
13261
|
+
interface TenantProvisioningServiceDeps {
|
|
13262
|
+
tenantStore: Pick<TenantStore, "createTenant" | "deleteTenant">;
|
|
13263
|
+
workspaceStore: Pick<WorkspaceStore, "createWorkspace">;
|
|
13264
|
+
/** Workspace id generator; defaults to `randomUUID`. */
|
|
13265
|
+
idFactory?: () => string;
|
|
13266
|
+
/** Host-level overrides for the default workspace projection. */
|
|
13267
|
+
workspaceDefaults?: TenantWorkspaceDefaults;
|
|
13268
|
+
logger?: TenantProvisioningLogger;
|
|
13269
|
+
}
|
|
13270
|
+
interface TenantProvisioningService {
|
|
13271
|
+
/** Creates the tenant and the default workspace it depends on. */
|
|
13272
|
+
create(id: string, data: CreateTenantRequest): Promise<Tenant>;
|
|
13273
|
+
}
|
|
13274
|
+
declare function createTenantProvisioningService(deps: TenantProvisioningServiceDeps): TenantProvisioningService;
|
|
13275
|
+
|
|
13237
13276
|
/**
|
|
13238
13277
|
* Privileged in-process boundary for dispatching messages with host-authenticated metadata.
|
|
13239
13278
|
*
|
|
@@ -18442,4 +18481,4 @@ declare function isDirectRoom(projectId: string): boolean;
|
|
|
18442
18481
|
|
|
18443
18482
|
declare const genUIMarkdown: (type: string, data: any) => string;
|
|
18444
18483
|
|
|
18445
|
-
export { type AddMessageParams, type AddMessageResult, Agent, type AgentCheckpointTip, type AgentClient, type AgentExecutor, type AgentGraphTree, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, type AgentLifecycleTapEvent, AgentRunAlreadyActiveError, type AgentRunCounts, AgentRunDuplicateMessageIdError, type AgentRunExpiredOutcome, AgentRunInputCommandConflictError, AgentRunInvalidTaskIdError, type AgentRunJsonObject, type AgentRunMonitorQuery, type AgentRunMonitorSummary, type AgentRunPendingCursor, type AgentRunRecord, type AgentRunRollbackResult, type AgentRunSource, type AgentRunStatus, AgentRunTenantQuotaExceededError, type AgentStreamExecutor, type AgentTaskCompletionInput, type AgentThreadInterface, type AppendLog, type AppendLogReader, type AppendLogRecord, type ApproveInterruptedTaskInput, type AssignTaskOwnerInput, AuthProviderAlreadyRegisteredError, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, BaseCheckpointMismatchError, type BeginAgentRunInput, type BeginRunFailure, type BeginRunInput, type BeginRunResult, type BeginRunSuccess, type BufferStats, CAPABILITY_TOOL_NAME_CONFLICT, COLLECTION_CHANGED_TOPIC, type CacheEntry, type CalibrationProbe, CapabilityBundleMergeError, type CapabilityBundleMergeErrorCode, CapabilityBundleMerger, CapabilityBundleValidationError, type CapabilityBundleValidationErrorCode, type CapabilityGuardDenialCode, type CapabilityResourceSelector, type CapabilityToolMetadata, CapabilityToolNameConflictError, CapabilityToolRegistry, type CaseRunResult, ChannelConnectionLeader, type ChannelConnectionLeaderDeps, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, ChunkCursorExpiredError, type ClaimAgentRunInput, type ClaimMessagesOptions, CollectionLatticeManager, type ColumnInfo, type CompileSandboxPluginArgs, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, type ConnectionPayloadInput, ConnectionRegistry, ConsoleLoggerClient, type CreatePendingAgentRunInput, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, DEFAULT_CALIBRATION_PROBES, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_CONTENTS_EMBEDDING_PATH, DEFAULT_DELAY_MS, DEFAULT_HANDLER_TIMEOUT_MS, DEFAULT_MAX_ATTEMPTS, DEFAULT_MODEL_EXTRA, DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS, DEFAULT_SUMMARIZATION_TRIGGER_TOKENS, DEFAULT_TEXTS_EMBEDDING_PATH, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, type DefaultScheduleClientOptions, DelegatedScopeNotQueueableError, type DelegationRequest, DelegationService, type DeleteAgentRunExpected, type DeleteResult, DependencyResolver, type DispatchPreparation, DuplicateProjectRoomMessageIdempotencyKeyError, DuplicateShareTokenError, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingShape, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EmbeddingsRuntimeConfig, type EnsureMicrosandboxInput, type EvalRunService, type ExecuteRunInput, type ExecuteRunOutcome, type ExecuteRunResult, type ExecutionAuthority, ExecutionAuthorityRegistry, type ExportBundle, type ExportContext, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableFile, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GetThreadRunOwnerInput, type GrepMatch, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_MAX_TIMEOUT_MS, HEALTH_CHECK_TIMEOUT_MS, type HandlerEnvelope, type HostArgs, type IAgentRunLedger, type IMessageQueueStore, type IMetricsServerClient, INLINE_INPUT_LIMIT_BYTES, type ISqlDatabase, IdRemapper, IdentityMappingConfigError, type IdentityMappingDependencies, type IdentityMappingOptions, type IdentityMappingResult, IdentityMappingService, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentRunStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChannelReplyJobStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryInviteLinkStore, InMemoryLeaseStore, InMemoryMenuStore, InMemoryModelProviderStore, InMemoryOidcIdentityClaimStore, InMemoryOidcProviderConfigStore, InMemoryOpenAuditStore, InMemoryOutboxStore, InMemoryPlatformAuditStore, InMemoryPlatformInvitationStore, InMemoryPlatformMemberStore, InMemoryPlatformSettingsStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryProjectStore, InMemorySessionStore, InMemorySharedResourceStore, InMemoryStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserEmailConflictError, InMemoryUserExternalIdentityStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, InMemoryWorkspaceStore, type InsertionItem, type InstallPluginHostResult, type JudgeVerdict, LEGACY_ROOT_SANDBOX_IMAGE, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LeaseAcquisitionTimeoutError, type LifecycleResult, type LifecycleWarning, type ListPendingRunsOptions, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, type LoggerLattice, LoggerLatticeManager, type LongTermStoreConfig, type LongTermStoreMode, type LongTermStoreScope, type LoopBreakerConfig, MAX_BACKOFF_MS, MAX_HANDLER_TIMEOUT_MS, MAX_LINE_LENGTH, MAX_PACK_ENTRIES, MAX_PACK_FILE_BYTES, MAX_PACK_TOTAL_BYTES, MAX_TIMER_DELAY, MIN_HANDLER_TIMEOUT_MS, ManagedTaskStartError, type ManagedTaskStartOptions, type ManifestValidationResult, type McpClientFactory, type McpClientLike, type McpClientSession, type McpConnectionOptions, McpLatticeManager, type McpRegisterOptions, type McpScopeOptions, type McpServerId, type McpServerRuntime, type McpServerState, type McpUiScopeInput, type McpUiScopePayload, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MergedPluginSkills, type MessageCompletedEvent, type MessageContent, type MessageContentPart, type MessageContentValue, type MessageFailedEvent, type MessageInterruptedEvent, type MessageLike, type MessageStartedEvent, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type ModelRuntimeConfig, MysqlDatabase, NONROOT_SANDBOX_IMAGE, ObservabilityDashboardUnavailableError, ObservabilityDashboardUnsupportedError, ObservabilityLatticeManager, type ObservabilityObservation, type ObservabilityObservationType, type ObservabilityProvider, type ObservabilityProviderCapabilities, type ObservabilityTraceContext, OutboxPoller, type OutboxPollerDeps, type OutputType, PACK_DIRECTORY_TIMEOUT_MS, PERSONAL_MCP_MAX_SERVERS, PERSONAL_MCP_SYNC_BUDGET_MS, PLATFORM_SECRET_ENV_VARS, PLUGIN_CATALOG_CHANGED_TOPIC, PLUGIN_HOST_DIR, PLUGIN_HOST_SERVER_SOURCE, PLUGIN_HOST_VERSION, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, type PersonalMcpSyncResult, PinoLoggerClient, type PluginConnectionScope, type PluginDeploymentRuntimeHealth, PluginDeploymentRuntimeRegistry, type PluginDeploymentRuntimeRegistryOptions, type PluginDeploymentServiceDeployOptions, type PluginDeploymentServiceDeployResult, type PluginDeploymentServiceLike, type PluginDeploymentServiceListEntry, type PluginDeploymentServiceMode, type PluginDeploymentServiceStatus, type PluginDeploymentServiceUndeployResult, PluginRegistry, type PluginSources, type PostProcessTaskMutationResponseInput, PostgresDatabase, type PreviewError, ProjectBotMembershipIdConflictError, ProjectMutationMutex, type ProjectMutationScope, type ProjectRoomMessageCommittedListener, ProjectRoomMessageIdConflictError, ProjectRoomMessageNotifier, type ProjectTaskAdmissionListener, type ProjectTaskAdmissionNotification, ProjectTaskAdmissionNotifier, type ProjectTaskAdmissionNotifierOptions, type ProjectTaskAssignmentScope, ProjectTaskOwnerPolicy, type ProjectTaskOwnerPolicyCode, ProjectTaskOwnerPolicyError, type ProjectTaskReassignmentAuthorization, type ProjectTaskReassignmentAuthorizationInput, type ProjectTaskReassignmentAuthorizer, type ProjectTaskReassignmentThreadValidationInput, type ProjectTaskReassignmentThreadValidator, type ProjectTaskRosterScope, PrometheusClient, type ProvisionFileSink, type QueryResult, type QueueLattice, QueueLatticeManager, type QueueMessage, QueueMode, type QueuePendingEvent, type QueueScope, ROOM_COORDINATOR_KEY, type ReapedAgentRun, type ReassignProjectTaskInput, type ReconcileAllTenantTaskRunsInput, type ReconcileStaleTaskRunsInput, type ReconcileStaleTaskRunsResult, type ReconcileTaskDescriptionInput, type ReconcileTenantTaskRunsInput, type RejectInterruptedTaskInput, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RepeatedToolCallBreakerOptions, RepeatedToolCallError, type ReplyReadyEvent, type ResidentConnectionConfig, type ResidentDeployment, type ResidentInvokeArgs, type ResidentInvokePayload, type ResidentInvokeResult, type ResidentRoutingDeps, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type ResolvedPluginConnection, type ResolvedPluginSkill, type ResolvedSandboxRuntime, type ResumeTaskResult, type RollbackFailureResult, type RoomAgentCorrelatedInterruptInput, type RoomAgentMessageCallbackFailure, type RoomAgentMessageCommitted, type RoomAgentMessageInput, RoomAgentMessageService, type RoomAgentReplyInput, type RunAsLeaderOptions, type RunAsLeaderResult, type RunCancelHeartbeatFallbackObserver, RunInterruptMismatchError, type RunSandboxConfig, type RuntimeModelConfig, type RuntimeSkillSelection, SAFE_PATH_COMPONENT, SANDBOX_AGENTS_ROOT, SANDBOX_DEFAULT_IMAGE, SANDBOX_HOME, SANDBOX_KNOWLEDGEBASE_ROOT, SANDBOX_LEGACY_ROOT, SANDBOX_OPEN_GATEWAY_URL_ENV, SANDBOX_OPEN_TOKEN_ENV, SANDBOX_PLUGINS_ROOT, SANDBOX_PLUGIN_HOST_DIR, SANDBOX_PLUGIN_HOST_SERVER_PATH, SANDBOX_PLUGIN_SKILL_MANIFEST_PATH, SANDBOX_RUNTIME_PROFILE, SANDBOX_SDK_ROOT, SANDBOX_SKILLS_ROOT, SHARE_CARD_APP_HTML, SHARE_CARD_UI_RESOURCE, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, SUMMARIZATION_TRIGGER_RATIO, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxGrepMatch, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxOpenClientBundle, type SandboxOpenCredential, type SandboxOpenCredentialContext, type SandboxOpenCredentialProvider, type SandboxOpenCredentialProviderOptions, SandboxPluginExecutor, type SandboxPluginExecutorDeps, type SandboxPluginInvokeArgs, type SandboxPluginResult, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxResolver, type SandboxRunConfig, type SandboxRuntimeProfile, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SettleExpiredRunOptions, type SettleRunInput, type SettleRunOutcome, type SharePayload, SharePayloadError, SharedChunkBuffer, type SharedChunkBufferOptions, SimpleMemoryVectorStore, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StartLifecycleResult, type StartTaskExecutionInput, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, type SubmitTaskReviewInput, TASK_RESPONSE_FINAL_WARNING_LIMIT, TASK_RESPONSE_PRIOR_WARNING_LIMIT, TASK_RESPONSE_SCALAR_MAX_BYTES, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskAgentInvocation, type TaskExecutionFailure, type TaskExecutionManaged, type TaskExecutionResult, type TaskExecutionServiceDeps, type TaskExecutionSuccess, type TaskLifecycleListener, type TaskLifecycleNotification, TaskLifecycleNotifier, TaskLifecycleService, type TaskLifecycleServiceDeps, type TaskLivenessProbe, type TaskResponseParseResult, type TaskRunBridge, type TaskRunBridgeDeps, TaskRunBridgeStoresRequiredError, type TaskRunLeaseHandle, TaskRunRegistry, TenantPluginCatalog, type TenantPluginCatalogDeps, type TenantPlugins, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadEndCode, ThreadEndError, ThreadEventsUnavailableError, ThreadExecutionSupervisor, type ThreadExecutionSupervisorAgent, type ThreadExecutionSupervisorAgentParams, type ThreadExecutionSupervisorOptions, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadRunLeaseHandle, type ThreadRunOwnerProbe, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ThreadStreamRecord, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TransferOwnerInput, type TransferOwnerResult, type TrustedAgentMessageDispatcher, type TrustedMessageOptions, type TryAcquireTaskRunInput, type TryAcquireThreadRunInput, type UnknownToolHandlerConfig, UnsafeUpstreamUrlError, type UnsafeUrlReason, UnsupportedModelProviderError, type ValidateManifestArgs, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WithLeaseOptions, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, appSharePlugin, appendReconciliationWarning, appendUiFence, assertQueueSources, assertSafeUpstreamUrl, buildBundleFromDist, buildConnectionPayload, buildGrepResultsDict, buildHandlerCommand, buildInput, buildModelConfig, buildModelEmbeddingsConfig, buildModelLlmConfig, buildModelSttConfig, buildNamedVolumeName, buildRemotePackDirectoryCommand, buildSandboxMetadataEnv, buildSandboxOpenEnv, buildSkillFile, buildStateAnnotation, buildTableName, buildTaskMutationFallback, buildTaskNormalizationFallback, canConvergeOrphan, channelShardForInstallation, checkEmptyContent, chunkBufferStreamKey, clearAuthProvidersForTests, clearEncryptionKeyCache, clearEvalRunService, clearSandboxOpenCredentialProviderForTests, collectPluginSources, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureCollectionSync, configureCoordinationLeaseStore, configurePluginCatalogSync, configureStores, connectAllChannels, connectionSecretFields, convertToConnection, countPersonalMcpServers, createAgentNode, createCapabilityGuardMiddleware, createCodeEvalTool, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createLongTermStoreMiddleware, createMapNode, createMcpAppSharePayload, createModelSelectorMiddleware, createNodeHandler, createProjectRoomMiddleware, createProjectTaskOwnerPolicy, createProjectTaskReassignmentAuthorizer, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createRepeatedToolCallBreakerMiddleware, createResourceAddress, createSandboxProvider, createSandboxResolver, createSchedulerMiddleware, createSharePayload, createShellExecTool, createTaskExecutionService, createTaskLifecycleService, createTaskMiddleware, createTaskRunBridge, createTaskRunLiveness, createTrustedAgentMessageDispatcher, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, decryptConfigFields, delegationService, deleteCollectionEntryIds, describeCronExpression, disconnectAllChannels, documentLearningPlugin, documentParserPlugin, embeddingProbeCandidates, embeddingsLatticeManager, encodeInput, encrypt, encryptConfigFields, ensureBuiltinAgentsForTenant, ensurePersonalMcpForAssistant, ensurePluginAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAgentRunInputMessageIds, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, forgetTenantModelSupply, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, genUIMarkdown, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentClientAsync, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getAuthProvider, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getCoordinationLeaseStore, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMcpUiScopeSecret, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getPersonalMcpMaxServers, getPersonalMcpStore, getPersonalMcpSyncBudgetMs, getPluginDeploymentService, getPluginSkillManifestVersion, getQueueLattice, getReplicaId, getRuntimeCapabilityConfig, getRuntimeSkillSelection, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getSandboxOpenCredential, getSandboxOpenGatewayUrl, getSandboxPluginCatalog, getScheduleLattice, getStoreLattice, getThreadRunOwner, getToolClient, getToolClientWithTenant, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, handlerResultText, hasChunkBuffer, hasDelegatedWorkerToken, hasModelLatticeForTenant, hasModelLatticeForTenantSync, hasRuntimeCapabilityPolicy, installPluginHost, invalidatePersonalMcpSync, invokeResident, invokeWithRetry, isBuiltInSkill, isDirectRoom, isEncryptedValue, isMcpConnectionError, isOfficialInterruptId, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isTaskRunLeaseHeld, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, listAuthProviders, listCollectionEntries, listMenuGroupsSchema, listModelLatticesForTenant, listSandboxProviderTypes, listTenantPlugins, loggerLatticeManager, longTermStorePlugin, mcpManager, mergeCapabilityBundles, mergePluginSkills, mergePluginSources, metricsServerManager, modelLatticeManager, nextBackoffDelay, normalizeAgentInterrupts, normalizeAgentRunMessageIds, normalizeSandboxName, observabilityLatticeManager, ownTaskResponseField, parallelLimit, parseCronExpression, parseDirectRoomType, parseHandlerEnvelope, parseHostArgs, parseJudgeVerdict, parsePackSize, parseSkillFrontmatter, parseTaskResponse, parseYaml, performStringReplacement, pluginHostContentHash, postProcessTaskMutationResponse, prepareTaskDispatch, probeThreadRunOwner, projectMutationMutex, projectRoomMessageNotifier, projectRoomPlugin, projectTaskAdmissionNotifier, provisionSandboxOpenClient, publishCollectionChanged, publishPluginCatalogChanged, publishTargetSchema, purgePersonalMcpForAssistant, queueLatticeManager, readContextWindow, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, reconcileToolSelection, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerAuthProvider, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerModelLatticeForTenant, registerObservabilityLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxOpenCredentialProvider, registerSandboxOpenGatewayUrlProvider, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, rememberTenantModelSupply, removeCollectionVectorStore, removePersonalMcpServer, renderTemplate, resetReplicaIdForTests, resolveEmbeddingEndpoint, resolveEmbeddingShape, resolveEnabledPluginSkill, resolveHandlerTimeoutMs, resolveJudgeModelKey, resolveModelLatticeForTenant, resolveObservabilityCallbacks, resolvePath, resolvePinoFileOptions, resolvePluginConnections, resolveSandboxAgentsPathAlias, resolveSandboxPluginConnections, resolveSandboxRuntime, resolveStartIndex, resolveSummarizationTriggerTokens, resolveTenantPluginSkill, roomCoordinatorConfig, runAsLeader, runRemotePackDirectory, safeDecrypt, safeTaskResponseId, sandboxLatticeManager, sanitizeCallerRunConfig, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, serializeTaskMutationSuccess, serializeTaskNormalizationFallback, serializeTaskReadResponse, setAgentLifecycleTap, setBindingRegistry, setDefaultObservabilityLattice, setEvalRunService, setMenuRegistry, setPluginDeploymentService, setRunCancelHeartbeatFallbackObserver, setSandboxPluginCatalog, signMcpUiScope, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, taskLifecycleNotifier, taskRunLeaseKey, taskRunRegistry, tenantHasOwnModelSupply, tenantHasOwnModelSupplySync, threadRunLeaseKey, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, tryAcquireTaskRun, tryAcquireThreadRun, unregisterWorkflowRun, updateFileData, validateAgentInput, validateCapabilityBundleInput, validateDSL, validateEncryptionKey, validatePackSourcePath, validatePath, validateRelativePath, validateSandboxPluginManifest, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager, verifyMcpUiScope, withLease, withTimeout, wrapMcpToolWithUi };
|
|
18484
|
+
export { type AddMessageParams, type AddMessageResult, Agent, type AgentCheckpointTip, type AgentClient, type AgentExecutor, type AgentGraphTree, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, type AgentLifecycleTapEvent, AgentRunAlreadyActiveError, type AgentRunCounts, AgentRunDuplicateMessageIdError, type AgentRunExpiredOutcome, AgentRunInputCommandConflictError, AgentRunInvalidTaskIdError, type AgentRunJsonObject, type AgentRunMonitorQuery, type AgentRunMonitorSummary, type AgentRunPendingCursor, type AgentRunRecord, type AgentRunRollbackResult, type AgentRunSource, type AgentRunStatus, AgentRunTenantQuotaExceededError, type AgentStreamExecutor, type AgentTaskCompletionInput, type AgentThreadInterface, type AppendLog, type AppendLogReader, type AppendLogRecord, type ApproveInterruptedTaskInput, type AssignTaskOwnerInput, AuthProviderAlreadyRegisteredError, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, BaseCheckpointMismatchError, type BeginAgentRunInput, type BeginRunFailure, type BeginRunInput, type BeginRunResult, type BeginRunSuccess, type BufferStats, CAPABILITY_TOOL_NAME_CONFLICT, COLLECTION_CHANGED_TOPIC, type CacheEntry, type CalibrationProbe, CapabilityBundleMergeError, type CapabilityBundleMergeErrorCode, CapabilityBundleMerger, CapabilityBundleValidationError, type CapabilityBundleValidationErrorCode, type CapabilityGuardDenialCode, type CapabilityResourceSelector, type CapabilityToolMetadata, CapabilityToolNameConflictError, CapabilityToolRegistry, type CaseRunResult, ChannelConnectionLeader, type ChannelConnectionLeaderDeps, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, ChunkCursorExpiredError, type ClaimAgentRunInput, type ClaimMessagesOptions, CollectionLatticeManager, type ColumnInfo, type CompileSandboxPluginArgs, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, type ConnectionPayloadInput, ConnectionRegistry, ConsoleLoggerClient, type CreatePendingAgentRunInput, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, DEFAULT_CALIBRATION_PROBES, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_CONTENTS_EMBEDDING_PATH, DEFAULT_DELAY_MS, DEFAULT_HANDLER_TIMEOUT_MS, DEFAULT_MAX_ATTEMPTS, DEFAULT_MODEL_EXTRA, DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS, DEFAULT_SUMMARIZATION_TRIGGER_TOKENS, DEFAULT_TENANT_WORKSPACE_DESCRIPTION, DEFAULT_TENANT_WORKSPACE_NAME, DEFAULT_TEXTS_EMBEDDING_PATH, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, type DefaultScheduleClientOptions, DelegatedScopeNotQueueableError, type DelegationRequest, DelegationService, type DeleteAgentRunExpected, type DeleteResult, DependencyResolver, type DispatchPreparation, DuplicateProjectRoomMessageIdempotencyKeyError, DuplicateShareTokenError, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingShape, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EmbeddingsRuntimeConfig, type EnsureMicrosandboxInput, type EvalRunService, type ExecuteRunInput, type ExecuteRunOutcome, type ExecuteRunResult, type ExecutionAuthority, ExecutionAuthorityRegistry, type ExportBundle, type ExportContext, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableFile, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GetThreadRunOwnerInput, type GrepMatch, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_MAX_TIMEOUT_MS, HEALTH_CHECK_TIMEOUT_MS, type HandlerEnvelope, type HostArgs, type IAgentRunLedger, type IMessageQueueStore, type IMetricsServerClient, INLINE_INPUT_LIMIT_BYTES, type ISqlDatabase, IdRemapper, IdentityMappingConfigError, type IdentityMappingDependencies, type IdentityMappingOptions, type IdentityMappingResult, IdentityMappingService, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentRunStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChannelReplyJobStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryInviteLinkStore, InMemoryLeaseStore, InMemoryMenuStore, InMemoryModelProviderStore, InMemoryOidcIdentityClaimStore, InMemoryOidcProviderConfigStore, InMemoryOpenAuditStore, InMemoryOutboxStore, InMemoryPlatformAuditStore, InMemoryPlatformInvitationStore, InMemoryPlatformMemberStore, InMemoryPlatformSettingsStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryProjectStore, InMemorySessionStore, InMemorySharedResourceStore, InMemoryStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserEmailConflictError, InMemoryUserExternalIdentityStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, InMemoryWorkspaceStore, type InsertionItem, type InstallPluginHostResult, type JudgeVerdict, LEGACY_ROOT_SANDBOX_IMAGE, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LeaseAcquisitionTimeoutError, type LifecycleResult, type LifecycleWarning, type ListPendingRunsOptions, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, type LoggerLattice, LoggerLatticeManager, type LongTermStoreConfig, type LongTermStoreMode, type LongTermStoreScope, type LoopBreakerConfig, MAX_BACKOFF_MS, MAX_HANDLER_TIMEOUT_MS, MAX_LINE_LENGTH, MAX_PACK_ENTRIES, MAX_PACK_FILE_BYTES, MAX_PACK_TOTAL_BYTES, MAX_TIMER_DELAY, MIN_HANDLER_TIMEOUT_MS, ManagedTaskStartError, type ManagedTaskStartOptions, type ManifestValidationResult, type McpClientFactory, type McpClientLike, type McpClientSession, type McpConnectionOptions, McpLatticeManager, type McpRegisterOptions, type McpScopeOptions, type McpServerId, type McpServerRuntime, type McpServerState, type McpUiScopeInput, type McpUiScopePayload, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MergedPluginSkills, type MessageCompletedEvent, type MessageContent, type MessageContentPart, type MessageContentValue, type MessageFailedEvent, type MessageInterruptedEvent, type MessageLike, type MessageStartedEvent, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type ModelRuntimeConfig, MysqlDatabase, NONROOT_SANDBOX_IMAGE, ObservabilityDashboardUnavailableError, ObservabilityDashboardUnsupportedError, ObservabilityLatticeManager, type ObservabilityObservation, type ObservabilityObservationType, type ObservabilityProvider, type ObservabilityProviderCapabilities, type ObservabilityTraceContext, OutboxPoller, type OutboxPollerDeps, type OutputType, PACK_DIRECTORY_TIMEOUT_MS, PERSONAL_MCP_MAX_SERVERS, PERSONAL_MCP_SYNC_BUDGET_MS, PLATFORM_SECRET_ENV_VARS, PLUGIN_CATALOG_CHANGED_TOPIC, PLUGIN_HOST_DIR, PLUGIN_HOST_SERVER_SOURCE, PLUGIN_HOST_VERSION, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, type PersonalMcpSyncResult, PinoLoggerClient, type PluginConnectionScope, type PluginDeploymentRuntimeHealth, PluginDeploymentRuntimeRegistry, type PluginDeploymentRuntimeRegistryOptions, type PluginDeploymentServiceDeployOptions, type PluginDeploymentServiceDeployResult, type PluginDeploymentServiceLike, type PluginDeploymentServiceListEntry, type PluginDeploymentServiceMode, type PluginDeploymentServiceStatus, type PluginDeploymentServiceUndeployResult, PluginRegistry, type PluginSources, type PostProcessTaskMutationResponseInput, PostgresDatabase, type PreviewError, ProjectBotMembershipIdConflictError, ProjectMutationMutex, type ProjectMutationScope, type ProjectRoomMessageCommittedListener, ProjectRoomMessageIdConflictError, ProjectRoomMessageNotifier, type ProjectTaskAdmissionListener, type ProjectTaskAdmissionNotification, ProjectTaskAdmissionNotifier, type ProjectTaskAdmissionNotifierOptions, type ProjectTaskAssignmentScope, ProjectTaskOwnerPolicy, type ProjectTaskOwnerPolicyCode, ProjectTaskOwnerPolicyError, type ProjectTaskReassignmentAuthorization, type ProjectTaskReassignmentAuthorizationInput, type ProjectTaskReassignmentAuthorizer, type ProjectTaskReassignmentThreadValidationInput, type ProjectTaskReassignmentThreadValidator, type ProjectTaskRosterScope, PrometheusClient, type ProvisionFileSink, type QueryResult, type QueueLattice, QueueLatticeManager, type QueueMessage, QueueMode, type QueuePendingEvent, type QueueScope, ROOM_COORDINATOR_KEY, type ReapedAgentRun, type ReassignProjectTaskInput, type ReconcileAllTenantTaskRunsInput, type ReconcileStaleTaskRunsInput, type ReconcileStaleTaskRunsResult, type ReconcileTaskDescriptionInput, type ReconcileTenantTaskRunsInput, type RejectInterruptedTaskInput, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RepeatedToolCallBreakerOptions, RepeatedToolCallError, type ReplyReadyEvent, type ResidentConnectionConfig, type ResidentDeployment, type ResidentInvokeArgs, type ResidentInvokePayload, type ResidentInvokeResult, type ResidentRoutingDeps, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type ResolvedPluginConnection, type ResolvedPluginSkill, type ResolvedSandboxRuntime, type ResumeTaskResult, type RollbackFailureResult, type RoomAgentCorrelatedInterruptInput, type RoomAgentMessageCallbackFailure, type RoomAgentMessageCommitted, type RoomAgentMessageInput, RoomAgentMessageService, type RoomAgentReplyInput, type RunAsLeaderOptions, type RunAsLeaderResult, type RunCancelHeartbeatFallbackObserver, RunInterruptMismatchError, type RunSandboxConfig, type RuntimeModelConfig, type RuntimeSkillSelection, SAFE_PATH_COMPONENT, SANDBOX_AGENTS_ROOT, SANDBOX_DEFAULT_IMAGE, SANDBOX_HOME, SANDBOX_KNOWLEDGEBASE_ROOT, SANDBOX_LEGACY_ROOT, SANDBOX_OPEN_GATEWAY_URL_ENV, SANDBOX_OPEN_TOKEN_ENV, SANDBOX_PLUGINS_ROOT, SANDBOX_PLUGIN_HOST_DIR, SANDBOX_PLUGIN_HOST_SERVER_PATH, SANDBOX_PLUGIN_SKILL_MANIFEST_PATH, SANDBOX_RUNTIME_PROFILE, SANDBOX_SDK_ROOT, SANDBOX_SKILLS_ROOT, SHARE_CARD_APP_HTML, SHARE_CARD_UI_RESOURCE, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, SUMMARIZATION_TRIGGER_RATIO, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxGrepMatch, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxOpenClientBundle, type SandboxOpenCredential, type SandboxOpenCredentialContext, type SandboxOpenCredentialProvider, type SandboxOpenCredentialProviderOptions, SandboxPluginExecutor, type SandboxPluginExecutorDeps, type SandboxPluginInvokeArgs, type SandboxPluginResult, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxResolver, type SandboxRunConfig, type SandboxRuntimeProfile, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SettleExpiredRunOptions, type SettleRunInput, type SettleRunOutcome, type SharePayload, SharePayloadError, SharedChunkBuffer, type SharedChunkBufferOptions, SimpleMemoryVectorStore, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StartLifecycleResult, type StartTaskExecutionInput, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, type SubmitTaskReviewInput, TASK_RESPONSE_FINAL_WARNING_LIMIT, TASK_RESPONSE_PRIOR_WARNING_LIMIT, TASK_RESPONSE_SCALAR_MAX_BYTES, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskAgentInvocation, type TaskExecutionFailure, type TaskExecutionManaged, type TaskExecutionResult, type TaskExecutionServiceDeps, type TaskExecutionSuccess, type TaskLifecycleListener, type TaskLifecycleNotification, TaskLifecycleNotifier, TaskLifecycleService, type TaskLifecycleServiceDeps, type TaskLivenessProbe, type TaskResponseParseResult, type TaskRunBridge, type TaskRunBridgeDeps, TaskRunBridgeStoresRequiredError, type TaskRunLeaseHandle, TaskRunRegistry, TenantPluginCatalog, type TenantPluginCatalogDeps, type TenantPlugins, type TenantProvisioningLogger, type TenantProvisioningService, type TenantProvisioningServiceDeps, type TenantWorkspaceDefaults, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadEndCode, ThreadEndError, ThreadEventsUnavailableError, ThreadExecutionSupervisor, type ThreadExecutionSupervisorAgent, type ThreadExecutionSupervisorAgentParams, type ThreadExecutionSupervisorOptions, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadRunLeaseHandle, type ThreadRunOwnerProbe, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ThreadStreamRecord, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TransferOwnerInput, type TransferOwnerResult, type TrustedAgentMessageDispatcher, type TrustedMessageOptions, type TryAcquireTaskRunInput, type TryAcquireThreadRunInput, type UnknownToolHandlerConfig, UnsafeUpstreamUrlError, type UnsafeUrlReason, UnsupportedModelProviderError, type ValidateManifestArgs, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WithLeaseOptions, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, appSharePlugin, appendReconciliationWarning, appendUiFence, assertQueueSources, assertSafeUpstreamUrl, buildBundleFromDist, buildConnectionPayload, buildGrepResultsDict, buildHandlerCommand, buildInput, buildModelConfig, buildModelEmbeddingsConfig, buildModelLlmConfig, buildModelSttConfig, buildNamedVolumeName, buildRemotePackDirectoryCommand, buildSandboxMetadataEnv, buildSandboxOpenEnv, buildSkillFile, buildStateAnnotation, buildTableName, buildTaskMutationFallback, buildTaskNormalizationFallback, canConvergeOrphan, channelShardForInstallation, checkEmptyContent, chunkBufferStreamKey, clearAuthProvidersForTests, clearEncryptionKeyCache, clearEvalRunService, clearSandboxOpenCredentialProviderForTests, collectPluginSources, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureCollectionSync, configureCoordinationLeaseStore, configurePluginCatalogSync, configureStores, connectAllChannels, connectionSecretFields, convertToConnection, countPersonalMcpServers, createAgentNode, createCapabilityGuardMiddleware, createCodeEvalTool, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createLongTermStoreMiddleware, createMapNode, createMcpAppSharePayload, createModelSelectorMiddleware, createNodeHandler, createProjectRoomMiddleware, createProjectTaskOwnerPolicy, createProjectTaskReassignmentAuthorizer, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createRepeatedToolCallBreakerMiddleware, createResourceAddress, createSandboxProvider, createSandboxResolver, createSchedulerMiddleware, createSharePayload, createShellExecTool, createTaskExecutionService, createTaskLifecycleService, createTaskMiddleware, createTaskRunBridge, createTaskRunLiveness, createTenantProvisioningService, createTrustedAgentMessageDispatcher, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, decryptConfigFields, delegationService, deleteCollectionEntryIds, describeCronExpression, disconnectAllChannels, documentLearningPlugin, documentParserPlugin, embeddingProbeCandidates, embeddingsLatticeManager, encodeInput, encrypt, encryptConfigFields, ensureBuiltinAgentsForTenant, ensurePersonalMcpForAssistant, ensurePluginAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAgentRunInputMessageIds, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, forgetTenantModelSupply, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, genUIMarkdown, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentClientAsync, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getAuthProvider, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getCoordinationLeaseStore, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMcpUiScopeSecret, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getPersonalMcpMaxServers, getPersonalMcpStore, getPersonalMcpSyncBudgetMs, getPluginDeploymentService, getPluginSkillManifestVersion, getQueueLattice, getReplicaId, getRuntimeCapabilityConfig, getRuntimeSkillSelection, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getSandboxOpenCredential, getSandboxOpenGatewayUrl, getSandboxPluginCatalog, getScheduleLattice, getStoreLattice, getThreadRunOwner, getToolClient, getToolClientWithTenant, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, handlerResultText, hasChunkBuffer, hasDelegatedWorkerToken, hasModelLatticeForTenant, hasModelLatticeForTenantSync, hasRuntimeCapabilityPolicy, installPluginHost, invalidatePersonalMcpSync, invokeResident, invokeWithRetry, isBuiltInSkill, isDirectRoom, isEncryptedValue, isMcpConnectionError, isOfficialInterruptId, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isTaskRunLeaseHeld, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, listAuthProviders, listCollectionEntries, listMenuGroupsSchema, listModelLatticesForTenant, listSandboxProviderTypes, listTenantPlugins, loggerLatticeManager, longTermStorePlugin, mcpManager, mergeCapabilityBundles, mergePluginSkills, mergePluginSources, metricsServerManager, modelLatticeManager, nextBackoffDelay, normalizeAgentInterrupts, normalizeAgentRunMessageIds, normalizeSandboxName, observabilityLatticeManager, ownTaskResponseField, parallelLimit, parseCronExpression, parseDirectRoomType, parseHandlerEnvelope, parseHostArgs, parseJudgeVerdict, parsePackSize, parseSkillFrontmatter, parseTaskResponse, parseYaml, performStringReplacement, pluginHostContentHash, postProcessTaskMutationResponse, prepareTaskDispatch, probeThreadRunOwner, projectMutationMutex, projectRoomMessageNotifier, projectRoomPlugin, projectTaskAdmissionNotifier, provisionSandboxOpenClient, publishCollectionChanged, publishPluginCatalogChanged, publishTargetSchema, purgePersonalMcpForAssistant, queueLatticeManager, readContextWindow, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, reconcileToolSelection, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerAuthProvider, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerModelLatticeForTenant, registerObservabilityLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxOpenCredentialProvider, registerSandboxOpenGatewayUrlProvider, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, rememberTenantModelSupply, removeCollectionVectorStore, removePersonalMcpServer, renderTemplate, resetReplicaIdForTests, resolveEmbeddingEndpoint, resolveEmbeddingShape, resolveEnabledPluginSkill, resolveHandlerTimeoutMs, resolveJudgeModelKey, resolveModelLatticeForTenant, resolveObservabilityCallbacks, resolvePath, resolvePinoFileOptions, resolvePluginConnections, resolveSandboxAgentsPathAlias, resolveSandboxPluginConnections, resolveSandboxRuntime, resolveStartIndex, resolveSummarizationTriggerTokens, resolveTenantPluginSkill, roomCoordinatorConfig, runAsLeader, runRemotePackDirectory, safeDecrypt, safeTaskResponseId, sandboxLatticeManager, sanitizeCallerRunConfig, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, serializeTaskMutationSuccess, serializeTaskNormalizationFallback, serializeTaskReadResponse, setAgentLifecycleTap, setBindingRegistry, setDefaultObservabilityLattice, setEvalRunService, setMenuRegistry, setPluginDeploymentService, setRunCancelHeartbeatFallbackObserver, setSandboxPluginCatalog, signMcpUiScope, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, taskLifecycleNotifier, taskRunLeaseKey, taskRunRegistry, tenantHasOwnModelSupply, tenantHasOwnModelSupplySync, threadRunLeaseKey, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, tryAcquireTaskRun, tryAcquireThreadRun, unregisterWorkflowRun, updateFileData, validateAgentInput, validateCapabilityBundleInput, validateDSL, validateEncryptionKey, validatePackSourcePath, validatePath, validateRelativePath, validateSandboxPluginManifest, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager, verifyMcpUiScope, withLease, withTimeout, wrapMcpToolWithUi };
|
package/dist/index.js
CHANGED
|
@@ -1652,6 +1652,8 @@ __export(index_exports, {
|
|
|
1652
1652
|
DEFAULT_MODEL_EXTRA: () => DEFAULT_MODEL_EXTRA,
|
|
1653
1653
|
DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS: () => DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS,
|
|
1654
1654
|
DEFAULT_SUMMARIZATION_TRIGGER_TOKENS: () => DEFAULT_SUMMARIZATION_TRIGGER_TOKENS,
|
|
1655
|
+
DEFAULT_TENANT_WORKSPACE_DESCRIPTION: () => DEFAULT_TENANT_WORKSPACE_DESCRIPTION,
|
|
1656
|
+
DEFAULT_TENANT_WORKSPACE_NAME: () => DEFAULT_TENANT_WORKSPACE_NAME,
|
|
1655
1657
|
DEFAULT_TEXTS_EMBEDDING_PATH: () => DEFAULT_TEXTS_EMBEDDING_PATH,
|
|
1656
1658
|
DaytonaInstance: () => DaytonaInstance,
|
|
1657
1659
|
DaytonaProvider: () => DaytonaProvider,
|
|
@@ -1925,6 +1927,7 @@ __export(index_exports, {
|
|
|
1925
1927
|
createTaskMiddleware: () => createTaskMiddleware,
|
|
1926
1928
|
createTaskRunBridge: () => createTaskRunBridge,
|
|
1927
1929
|
createTaskRunLiveness: () => createTaskRunLiveness,
|
|
1930
|
+
createTenantProvisioningService: () => createTenantProvisioningService,
|
|
1928
1931
|
createTrustedAgentMessageDispatcher: () => createTrustedAgentMessageDispatcher,
|
|
1929
1932
|
createUnknownToolHandlerMiddleware: () => createUnknownToolHandlerMiddleware,
|
|
1930
1933
|
createWidgetMiddleware: () => createWidgetMiddleware,
|
|
@@ -46441,6 +46444,42 @@ var ProjectMutationMutex = class {
|
|
|
46441
46444
|
};
|
|
46442
46445
|
var projectMutationMutex = new ProjectMutationMutex();
|
|
46443
46446
|
|
|
46447
|
+
// src/services/TenantProvisioningService.ts
|
|
46448
|
+
var import_node_crypto16 = require("crypto");
|
|
46449
|
+
var DEFAULT_TENANT_WORKSPACE_NAME = "Default Workspace";
|
|
46450
|
+
var DEFAULT_TENANT_WORKSPACE_DESCRIPTION = "Default workspace created automatically for this tenant";
|
|
46451
|
+
function createTenantProvisioningService(deps) {
|
|
46452
|
+
const newId = deps.idFactory ?? import_node_crypto16.randomUUID;
|
|
46453
|
+
const defaults = deps.workspaceDefaults ?? {};
|
|
46454
|
+
return {
|
|
46455
|
+
async create(id, data) {
|
|
46456
|
+
const tenant = await deps.tenantStore.createTenant(id, data);
|
|
46457
|
+
try {
|
|
46458
|
+
await deps.workspaceStore.createWorkspace(tenant.id, newId(), {
|
|
46459
|
+
name: defaults.name ?? DEFAULT_TENANT_WORKSPACE_NAME,
|
|
46460
|
+
description: defaults.description ?? DEFAULT_TENANT_WORKSPACE_DESCRIPTION,
|
|
46461
|
+
storageType: defaults.storageType ?? "sandbox"
|
|
46462
|
+
});
|
|
46463
|
+
} catch (error) {
|
|
46464
|
+
try {
|
|
46465
|
+
await deps.tenantStore.deleteTenant(tenant.id);
|
|
46466
|
+
} catch (rollbackError) {
|
|
46467
|
+
deps.logger?.warn?.(
|
|
46468
|
+
"Tenant rollback after workspace failure failed",
|
|
46469
|
+
{
|
|
46470
|
+
tenantId: tenant.id,
|
|
46471
|
+
error: error instanceof Error ? error.message : String(error),
|
|
46472
|
+
rollbackError: rollbackError instanceof Error ? rollbackError.message : String(rollbackError)
|
|
46473
|
+
}
|
|
46474
|
+
);
|
|
46475
|
+
}
|
|
46476
|
+
throw error;
|
|
46477
|
+
}
|
|
46478
|
+
return tenant;
|
|
46479
|
+
}
|
|
46480
|
+
};
|
|
46481
|
+
}
|
|
46482
|
+
|
|
46444
46483
|
// src/services/TrustedAgentDispatcher.ts
|
|
46445
46484
|
function createTrustedAgentMessageDispatcher(resolve4) {
|
|
46446
46485
|
return {
|
|
@@ -47210,11 +47249,11 @@ function describe(error) {
|
|
|
47210
47249
|
}
|
|
47211
47250
|
|
|
47212
47251
|
// src/services/TaskLifecycleService.ts
|
|
47213
|
-
var
|
|
47252
|
+
var import_node_crypto18 = require("crypto");
|
|
47214
47253
|
var import_protocols52 = require("@axiom-lattice/protocols");
|
|
47215
47254
|
|
|
47216
47255
|
// src/middlewares/taskBelief.ts
|
|
47217
|
-
var
|
|
47256
|
+
var import_node_crypto17 = require("crypto");
|
|
47218
47257
|
function buildBeliefCompletionEventKey(taskId, result, impacts) {
|
|
47219
47258
|
const canonical = JSON.stringify({
|
|
47220
47259
|
beliefImpact: impacts.map((impact) => ({
|
|
@@ -47225,7 +47264,7 @@ function buildBeliefCompletionEventKey(taskId, result, impacts) {
|
|
|
47225
47264
|
})),
|
|
47226
47265
|
result: result.trim()
|
|
47227
47266
|
});
|
|
47228
|
-
return (0,
|
|
47267
|
+
return (0, import_node_crypto17.createHash)("sha256").update(canonical).digest("hex");
|
|
47229
47268
|
}
|
|
47230
47269
|
function buildCompletionEvidenceDetail(result, impacts, eventKey) {
|
|
47231
47270
|
return { result, beliefImpact: impacts, eventKey };
|
|
@@ -47428,7 +47467,7 @@ function canonicalJson(value) {
|
|
|
47428
47467
|
return JSON.stringify(value);
|
|
47429
47468
|
}
|
|
47430
47469
|
function sha256(value) {
|
|
47431
|
-
return (0,
|
|
47470
|
+
return (0, import_node_crypto18.createHash)("sha256").update(canonicalJson(value)).digest("hex");
|
|
47432
47471
|
}
|
|
47433
47472
|
function sameEvidenceDetail(detail, taskId, result, impacts, eventKey, beliefOwner) {
|
|
47434
47473
|
const storedOwner = detail.beliefOwner;
|
|
@@ -49510,7 +49549,7 @@ function createTaskLifecycleService(deps) {
|
|
|
49510
49549
|
}
|
|
49511
49550
|
|
|
49512
49551
|
// src/services/TaskExecutionService.ts
|
|
49513
|
-
var
|
|
49552
|
+
var import_node_crypto20 = require("crypto");
|
|
49514
49553
|
var import_node_util3 = require("util");
|
|
49515
49554
|
var import_protocols53 = require("@axiom-lattice/protocols");
|
|
49516
49555
|
|
|
@@ -49866,13 +49905,13 @@ async function reconcileAllTenantTaskRuns(input) {
|
|
|
49866
49905
|
}
|
|
49867
49906
|
|
|
49868
49907
|
// src/services/taskRunLease.ts
|
|
49869
|
-
var
|
|
49908
|
+
var import_node_crypto19 = require("crypto");
|
|
49870
49909
|
function taskRunLeaseKey(taskId) {
|
|
49871
49910
|
return `task-run:${taskId}`;
|
|
49872
49911
|
}
|
|
49873
49912
|
async function tryAcquireTaskRun(input) {
|
|
49874
49913
|
const key6 = taskRunLeaseKey(input.taskId);
|
|
49875
|
-
const holder = `${input.owner}#${(0,
|
|
49914
|
+
const holder = `${input.owner}#${(0, import_node_crypto19.randomUUID)()}`;
|
|
49876
49915
|
if (!await input.store.tryAcquire(key6, holder, input.ttlMs)) return null;
|
|
49877
49916
|
const heartbeatMs = input.heartbeatMs ?? Math.max(1e3, Math.floor(input.ttlMs / 3));
|
|
49878
49917
|
let released = false;
|
|
@@ -50292,11 +50331,11 @@ function createTaskExecutionService(deps) {
|
|
|
50292
50331
|
let threadId;
|
|
50293
50332
|
let runId;
|
|
50294
50333
|
try {
|
|
50295
|
-
threadId = storedThreadId ?? (deps.createThreadId ??
|
|
50334
|
+
threadId = storedThreadId ?? (deps.createThreadId ?? import_node_crypto20.randomUUID)();
|
|
50296
50335
|
if (task.status === "interrupted" && reuseCurrentRun) {
|
|
50297
50336
|
runId = storedRunId;
|
|
50298
50337
|
} else if (task.status === "interrupted" || task.status === "failed") {
|
|
50299
|
-
runId = (deps.createRunId ??
|
|
50338
|
+
runId = (deps.createRunId ?? import_node_crypto20.randomUUID)();
|
|
50300
50339
|
}
|
|
50301
50340
|
} catch (error) {
|
|
50302
50341
|
return {
|
|
@@ -50576,11 +50615,11 @@ function createTaskExecutionService(deps) {
|
|
|
50576
50615
|
}
|
|
50577
50616
|
|
|
50578
50617
|
// src/services/leadership.ts
|
|
50579
|
-
var
|
|
50618
|
+
var import_node_crypto21 = require("crypto");
|
|
50580
50619
|
async function runAsLeader(store2, name, fn, options = {}) {
|
|
50581
50620
|
const key6 = `leader:${name}`;
|
|
50582
50621
|
const owner3 = options.owner ?? getReplicaId();
|
|
50583
|
-
const holder = `${owner3}#${(0,
|
|
50622
|
+
const holder = `${owner3}#${(0, import_node_crypto21.randomUUID)()}`;
|
|
50584
50623
|
const ttlMs = options.ttlMs ?? 6e4;
|
|
50585
50624
|
if (!await store2.tryAcquire(key6, holder, ttlMs)) return { ran: false };
|
|
50586
50625
|
const heartbeat = setInterval(() => {
|
|
@@ -60756,7 +60795,7 @@ function normalizeEnvelope(parsed) {
|
|
|
60756
60795
|
}
|
|
60757
60796
|
|
|
60758
60797
|
// src/sandbox_plugin/host/pluginHostSource.ts
|
|
60759
|
-
var
|
|
60798
|
+
var import_node_crypto22 = require("crypto");
|
|
60760
60799
|
var PLUGIN_HOST_VERSION = "1.1.0";
|
|
60761
60800
|
var PLUGIN_HOST_SERVER_SOURCE = String.raw`#!/usr/bin/env node
|
|
60762
60801
|
"use strict";
|
|
@@ -61057,7 +61096,7 @@ server.listen(config.port, "0.0.0.0", function () {
|
|
|
61057
61096
|
});
|
|
61058
61097
|
`;
|
|
61059
61098
|
function pluginHostContentHash() {
|
|
61060
|
-
return (0,
|
|
61099
|
+
return (0, import_node_crypto22.createHash)("sha256").update(`${PLUGIN_HOST_VERSION}:${PLUGIN_HOST_SERVER_SOURCE}`).digest("hex").slice(0, 16);
|
|
61061
61100
|
}
|
|
61062
61101
|
|
|
61063
61102
|
// src/sandbox_plugin/host/pluginHostInstaller.ts
|
|
@@ -61469,16 +61508,16 @@ var IdRemapper = class {
|
|
|
61469
61508
|
};
|
|
61470
61509
|
|
|
61471
61510
|
// src/util/directRoomId.ts
|
|
61472
|
-
var
|
|
61511
|
+
var import_node_crypto23 = require("crypto");
|
|
61473
61512
|
function generateDirectHumanProjectId(tenantId2, workspaceId, userId1, userId2) {
|
|
61474
61513
|
const sortedUserIds = [userId1, userId2].sort();
|
|
61475
61514
|
const parts = [tenantId2, workspaceId, ...sortedUserIds];
|
|
61476
|
-
const hash = (0,
|
|
61515
|
+
const hash = (0, import_node_crypto23.createHash)("sha256").update(parts.join(":")).digest("hex");
|
|
61477
61516
|
return `direct_human_${hash}`;
|
|
61478
61517
|
}
|
|
61479
61518
|
function generateDirectBotProjectId(tenantId2, workspaceId, userId, assistantId) {
|
|
61480
61519
|
const parts = [tenantId2, workspaceId, userId, assistantId];
|
|
61481
|
-
const hash = (0,
|
|
61520
|
+
const hash = (0, import_node_crypto23.createHash)("sha256").update(parts.join(":")).digest("hex");
|
|
61482
61521
|
return `direct_bot_${hash}`;
|
|
61483
61522
|
}
|
|
61484
61523
|
function parseDirectRoomType(projectId) {
|
|
@@ -61533,6 +61572,8 @@ registerBuiltinPlugins();
|
|
|
61533
61572
|
DEFAULT_MODEL_EXTRA,
|
|
61534
61573
|
DEFAULT_RESIDENT_INVOKE_TIMEOUT_MS,
|
|
61535
61574
|
DEFAULT_SUMMARIZATION_TRIGGER_TOKENS,
|
|
61575
|
+
DEFAULT_TENANT_WORKSPACE_DESCRIPTION,
|
|
61576
|
+
DEFAULT_TENANT_WORKSPACE_NAME,
|
|
61536
61577
|
DEFAULT_TEXTS_EMBEDDING_PATH,
|
|
61537
61578
|
DaytonaInstance,
|
|
61538
61579
|
DaytonaProvider,
|
|
@@ -61806,6 +61847,7 @@ registerBuiltinPlugins();
|
|
|
61806
61847
|
createTaskMiddleware,
|
|
61807
61848
|
createTaskRunBridge,
|
|
61808
61849
|
createTaskRunLiveness,
|
|
61850
|
+
createTenantProvisioningService,
|
|
61809
61851
|
createTrustedAgentMessageDispatcher,
|
|
61810
61852
|
createUnknownToolHandlerMiddleware,
|
|
61811
61853
|
createWidgetMiddleware,
|