@axiom-lattice/core 4.3.0 → 5.0.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 CHANGED
@@ -2113,39 +2113,6 @@ declare function ensureBuiltinAgentsForTenant(tenantId: string): void;
2113
2113
  declare const ROOM_COORDINATOR_KEY = "room-coordinator";
2114
2114
  declare const roomCoordinatorConfig: DeepAgentConfig;
2115
2115
 
2116
- /**
2117
- * Detects whether an agent exposes task management through its middleware
2118
- * configuration.
2119
- *
2120
- * An agent has managed task capability when it has an enabled `task` middleware
2121
- * whose `allowedTools` list either is unset, is empty, or explicitly includes
2122
- * `manage_task` — i.e. the `manage_task` tool is reachable. A non-empty
2123
- * `allowedTools` that excludes `manage_task` removes the capability.
2124
- *
2125
- * This mirrors the host-side `assistantHasGovernedTask` rule and is used by the
2126
- * `task` dispatch capability gate to refuse a target agent that cannot manage
2127
- * tasks.
2128
- *
2129
- * @param config - Agent configuration to inspect. `middleware` may be omitted;
2130
- * every entry's `type`, `enabled`, and `allowedTools` are optional and treated
2131
- * conservatively (an entry missing `enabled: true` does not grant capability).
2132
- * @returns `true` when an enabled `task` middleware makes `manage_task`
2133
- * reachable, otherwise `false` (including when `config` is undefined).
2134
- *
2135
- * @example
2136
- * ```ts
2137
- * agentHasManagedTaskCapability({ middleware: [{ type: "task", enabled: true }] }); // true
2138
- * agentHasManagedTaskCapability({ middleware: [{ type: "task", enabled: false }] }); // false
2139
- * ```
2140
- */
2141
- declare function agentHasManagedTaskCapability(config: {
2142
- middleware?: Array<{
2143
- type?: string;
2144
- enabled?: boolean;
2145
- allowedTools?: string[];
2146
- }>;
2147
- } | undefined): boolean;
2148
-
2149
2116
  /**
2150
2117
  * MemoryLatticeManager
2151
2118
  *
@@ -9786,13 +9753,11 @@ interface TaskExecutionServiceDeps {
9786
9753
  invokeAgent: (input: TaskAgentInvocation) => Promise<unknown>;
9787
9754
  resolveAgent: (tenantId: string, agentId: string) => Promise<boolean>;
9788
9755
  /**
9789
- * Optional capability probe for the dispatch target.
9756
+ * Optional thread-id generator; defaults to `randomUUID`.
9790
9757
  *
9791
- * @remarks When provided, `start` refuses a target that cannot manage tasks
9792
- * before routing to any authority. Omitted by callers that do not know how to
9793
- * inspect Agent configuration.
9758
+ * @remarks The generated id is the isolated run thread and is persisted as the
9759
+ * task's `context.thread_id`.
9794
9760
  */
9795
- resolveTaskCapability?: (tenantId: string, agentId: string) => Promise<boolean>;
9796
9761
  createThreadId?: () => string;
9797
9762
  }
9798
9763
  /** Identifies a persistent task, target Agent, caller, and runtime scope. */
@@ -9803,6 +9768,12 @@ interface StartTaskExecutionInput {
9803
9768
  taskId: string;
9804
9769
  agentId: string;
9805
9770
  actor: string;
9771
+ /**
9772
+ * Thread the dispatch was requested from (caller provenance).
9773
+ *
9774
+ * @remarks Not the run link: the immediate executor generates its own
9775
+ * isolated run thread and persists that as the task's `context.thread_id`.
9776
+ */
9806
9777
  callerThreadId?: string;
9807
9778
  /** Trusted Project caller membership forwarded to a managed authority, when known. */
9808
9779
  callerMembershipId?: string;
@@ -9893,7 +9864,7 @@ interface ImmediateDispatchPlan {
9893
9864
  agentId: string;
9894
9865
  /** Actor recorded on lifecycle and work-item writes. */
9895
9866
  actor: string;
9896
- /** Owning thread identifier forwarded to the run's dispatch, when known. */
9867
+ /** Caller thread provenance; not the run link (the executor links its own run thread). */
9897
9868
  callerThreadId?: string;
9898
9869
  /** In-scope parent task, when the task has one; otherwise `null`. */
9899
9870
  parent: TaskItem | null;
@@ -9920,16 +9891,16 @@ type DispatchPreparation = {
9920
9891
  /**
9921
9892
  * Plans a persistent task dispatch without mutating state or invoking an Agent.
9922
9893
  *
9923
- * @param deps Task store, target existence probe, and optional capability probe.
9894
+ * @param deps Task store and target existence probe.
9924
9895
  * @param input Tenant, target Agent, actor, caller, and runtime scope.
9925
9896
  * @returns A managed route, a typed failure, or a ready immediate dispatch plan.
9926
9897
  *
9927
9898
  * @remarks Steps run in a fixed order so the first applicable outcome wins:
9928
- * read/scope → status preconditions → capability → authority routing →
9929
- * target existence → dependency validation → parent load. Only the immediate
9930
- * path reaches the target-existence and dependency/parent steps; a managed
9931
- * authority returns before them. This function performs no direct task-store
9932
- * write (a managed authority's managed-start side effect may still run).
9899
+ * read/scope → status preconditions → authority routing → target existence →
9900
+ * dependency validation → parent load. Only the immediate path reaches the
9901
+ * target-existence and dependency/parent steps; a managed authority returns
9902
+ * before them. This function performs no direct task-store write (a managed
9903
+ * authority's managed-start side effect may still run).
9933
9904
  *
9934
9905
  * @example
9935
9906
  * ```ts
@@ -9937,7 +9908,7 @@ type DispatchPreparation = {
9937
9908
  * if (prepared.kind === "ready") await run(prepared.plan);
9938
9909
  * ```
9939
9910
  */
9940
- declare function prepareTaskDispatch(deps: Pick<TaskExecutionServiceDeps, "taskStore" | "resolveAgent" | "resolveTaskCapability">, input: StartTaskExecutionInput): Promise<DispatchPreparation>;
9911
+ declare function prepareTaskDispatch(deps: Pick<TaskExecutionServiceDeps, "taskStore" | "resolveAgent">, input: StartTaskExecutionInput): Promise<DispatchPreparation>;
9941
9912
 
9942
9913
  /**
9943
9914
  * TaskRunBridge — the single owner of "execution writes to the task record".
@@ -9974,7 +9945,13 @@ interface BeginRunInput {
9974
9945
  task: TaskItem;
9975
9946
  /** Actor recorded on the lifecycle transition and status work item. */
9976
9947
  actor: string;
9977
- /** Optional owning thread identifier recorded on the run. */
9948
+ /**
9949
+ * Isolated run thread recorded on the dispatch and linked into the task.
9950
+ *
9951
+ * @remarks For agent tasks `lifecycle.startTask` persists it as
9952
+ * `context.thread_id`, so the TaskItem points at the clean run thread.
9953
+ * Optional so callers that dispatch before a thread exists can omit it.
9954
+ */
9978
9955
  threadId?: string;
9979
9956
  }
9980
9957
  /**
@@ -10096,7 +10073,7 @@ interface SettleRunInput {
10096
10073
  /** Persistence and lifecycle dependencies used by {@link createTaskRunBridge}. */
10097
10074
  interface TaskRunBridgeDeps {
10098
10075
  /** Task lifecycle operations the bridge is allowed to invoke. */
10099
- lifecycle: Pick<TaskLifecycleService, "startTask" | "failTask" | "cancelTask" | "interruptTask">;
10076
+ lifecycle: Pick<TaskLifecycleService, "startTask" | "resumeInterruption" | "retryTask" | "failTask" | "cancelTask" | "interruptTask">;
10100
10077
  /**
10101
10078
  * Optional task store used by ownership transfer (any owner type) and the
10102
10079
  * non-agent (user-owned) dispatch branch. Callers that never transfer or
@@ -10197,6 +10174,152 @@ interface TaskRunBridge {
10197
10174
  */
10198
10175
  declare function createTaskRunBridge(deps: TaskRunBridgeDeps): TaskRunBridge;
10199
10176
 
10177
+ /**
10178
+ * Process-local record of tasks currently held by a live run.
10179
+ *
10180
+ * @remarks
10181
+ * A task is registered when a run starts holding it (dispatch claim or the run
10182
+ * entry `beforeAgent`) and unregistered when that run ends (`afterAgent`). The
10183
+ * registry answers "is this `in_progress` task actually being executed right
10184
+ * now?" for the reconcile fallback. It is intentionally in-process: a restart
10185
+ * empties it, which is exactly what makes every orphaned `in_progress` task
10186
+ * recoverable after a crash.
10187
+ *
10188
+ * @example
10189
+ * ```ts
10190
+ * import { taskRunRegistry } from "./TaskRunRegistry";
10191
+ * taskRunRegistry.register(taskId);
10192
+ * taskRunRegistry.isLive(taskId); // true
10193
+ * taskRunRegistry.unregister(taskId);
10194
+ * ```
10195
+ */
10196
+ declare class TaskRunRegistry {
10197
+ private readonly live;
10198
+ /** Marks a task as currently held by a live run. */
10199
+ register(taskId: string): void;
10200
+ /** Removes a task once its run has ended. */
10201
+ unregister(taskId: string): void;
10202
+ /** Reports whether a task is currently held by a live run. */
10203
+ isLive(taskId: string): boolean;
10204
+ /** Returns a snapshot of the live task ids (diagnostics/tests). */
10205
+ snapshot(): string[];
10206
+ /** Clears all live entries (tests / process teardown). */
10207
+ clear(): void;
10208
+ }
10209
+ /** Shared process-local registry used by the task engine and the reconcile fallback. */
10210
+ declare const taskRunRegistry: TaskRunRegistry;
10211
+ /** Input for {@link reconcileStaleTaskRuns}. */
10212
+ interface ReconcileStaleTaskRunsInput {
10213
+ /** Candidate tasks within the caller's scope (the host owns enumeration). */
10214
+ tasks: TaskItem[];
10215
+ /** Actor recorded on the convergence transition. */
10216
+ actor: string;
10217
+ /** Lifecycle used to converge an orphaned task. */
10218
+ lifecycle: Pick<TaskLifecycleService, "interruptTask">;
10219
+ /** Registry override (tests); defaults to {@link taskRunRegistry}. */
10220
+ registry?: TaskRunRegistry;
10221
+ }
10222
+ /** Result of {@link reconcileStaleTaskRuns}. */
10223
+ interface ReconcileStaleTaskRunsResult {
10224
+ /** Task ids that were converged to `interrupted`. */
10225
+ converged: string[];
10226
+ }
10227
+ /**
10228
+ * Converges `in_progress` tasks that no live run holds to `interrupted`.
10229
+ *
10230
+ * @param input Candidate tasks, actor, lifecycle, and optional registry.
10231
+ * @returns The ids that were converged.
10232
+ * @remarks
10233
+ * The caller owns scope enumeration (a store cannot list across tenants). A task
10234
+ * is converged only when it is `in_progress` and absent from the registry, so a
10235
+ * task a live run genuinely holds is never touched.
10236
+ *
10237
+ * @example
10238
+ * ```ts
10239
+ * const { converged } = await reconcileStaleTaskRuns({
10240
+ * tasks: scopeTasks, actor: "system:reconcile", lifecycle,
10241
+ * });
10242
+ * ```
10243
+ */
10244
+ declare function reconcileStaleTaskRuns(input: ReconcileStaleTaskRunsInput): Promise<ReconcileStaleTaskRunsResult>;
10245
+ /** Input for {@link reconcileTenantTaskRuns}. */
10246
+ interface ReconcileTenantTaskRunsInput {
10247
+ /** Tenant whose `in_progress` tasks are enumerated. */
10248
+ tenantId: string;
10249
+ /** Actor recorded on the convergence transition. */
10250
+ actor: string;
10251
+ /** Store used to enumerate the tenant's `in_progress` tasks. */
10252
+ taskStore: Pick<TaskStore, "list">;
10253
+ /** Lifecycle used to converge an orphaned task. */
10254
+ lifecycle: Pick<TaskLifecycleService, "interruptTask">;
10255
+ /** Registry override (tests); defaults to {@link taskRunRegistry}. */
10256
+ registry?: TaskRunRegistry;
10257
+ /**
10258
+ * Optional host predicate selecting which candidates this reconciler owns.
10259
+ *
10260
+ * @remarks Host-owned task families (for example governed Project tasks, which
10261
+ * have their own observer) pass a predicate that excludes them, so this
10262
+ * generic reconciler never competes with a domain reconciler.
10263
+ */
10264
+ include?: (task: TaskItem) => boolean;
10265
+ }
10266
+ /**
10267
+ * Reconciles a tenant's orphaned `in_progress` tasks.
10268
+ *
10269
+ * @param input Tenant, actor, store, lifecycle, optional registry and predicate.
10270
+ * @returns The ids that were converged.
10271
+ * @remarks
10272
+ * Enumerates `{ tenantId, status: "in_progress" }` and delegates to
10273
+ * {@link reconcileStaleTaskRuns}. The caller owns the `include` predicate; a
10274
+ * host must exclude task families that have their own reconciliation.
10275
+ *
10276
+ * @example
10277
+ * ```ts
10278
+ * await reconcileTenantTaskRuns({
10279
+ * tenantId, actor: "system:reconcile", taskStore, lifecycle,
10280
+ * include: (task) => !isProjectLifecycleTask(task),
10281
+ * });
10282
+ * ```
10283
+ */
10284
+ declare function reconcileTenantTaskRuns(input: ReconcileTenantTaskRunsInput): Promise<ReconcileStaleTaskRunsResult>;
10285
+ /** Input for {@link reconcileAllTenantTaskRuns}. */
10286
+ interface ReconcileAllTenantTaskRunsInput {
10287
+ /** Actor recorded on the convergence transition. */
10288
+ actor: string;
10289
+ /** Store used to enumerate tenants. */
10290
+ tenantStore: {
10291
+ listTenants(): Promise<Array<{
10292
+ id: string;
10293
+ }>>;
10294
+ };
10295
+ /** Store used to enumerate each tenant's `in_progress` tasks. */
10296
+ taskStore: Pick<TaskStore, "list">;
10297
+ /** Lifecycle used to converge an orphaned task. */
10298
+ lifecycle: Pick<TaskLifecycleService, "interruptTask">;
10299
+ /** Registry override (tests); defaults to {@link taskRunRegistry}. */
10300
+ registry?: TaskRunRegistry;
10301
+ /** Host predicate selecting which candidates this reconciler owns. */
10302
+ include?: (task: TaskItem) => boolean;
10303
+ }
10304
+ /**
10305
+ * Reconciles orphaned `in_progress` tasks across all tenants.
10306
+ *
10307
+ * @param input Actor, tenant store, task store, lifecycle, optional registry and predicate.
10308
+ * @returns The ids that were converged across every tenant.
10309
+ * @remarks Enumerates tenants via `listTenants()` and delegates per tenant to
10310
+ * {@link reconcileTenantTaskRuns}. Intended for a host startup/interval job;
10311
+ * callers own when it runs.
10312
+ *
10313
+ * @example
10314
+ * ```ts
10315
+ * await reconcileAllTenantTaskRuns({
10316
+ * actor: "system:reconcile", tenantStore, taskStore, lifecycle,
10317
+ * include: (task) => !isProjectLifecycleTask(task),
10318
+ * });
10319
+ * ```
10320
+ */
10321
+ declare function reconcileAllTenantTaskRuns(input: ReconcileAllTenantTaskRunsInput): Promise<ReconcileStaleTaskRunsResult>;
10322
+
10200
10323
  /** Internal authority for immediate delegated worker execution. */
10201
10324
  declare const DELEGATED_WORKER_SCOPE_TOKEN: unique symbol;
10202
10325
  /** Reports whether a run configuration contains the private delegated token key. */
@@ -11159,26 +11282,6 @@ declare const documentLearningPlugin: Plugin;
11159
11282
  /** Built-in Document Parser plugin definition. */
11160
11283
  declare const documentParserPlugin: Plugin;
11161
11284
 
11162
- /**
11163
- * Semantic Metrics Middleware & Plugin (connection-backed, /api/v1).
11164
- *
11165
- * Exposes datasource exploration, meta publishing, and runtime query tools.
11166
- * Credentials are resolved by the plugin's own tools at invocation time from
11167
- * the tenant-scoped Connection Store (see `resolveMetricsClientFromSelector`).
11168
- */
11169
-
11170
- /**
11171
- * Create the Semantic Metrics middleware exposing three action-dispatch tools.
11172
- *
11173
- * @param config - Plugin config; reads `connections`/`connectAll` (resolved per
11174
- * invocation from the tenant-scoped Connection Store). Resource scope is owned
11175
- * by the connection's own `selectedEntities`.
11176
- * @returns Middleware with the datasource/meta/runtime tool set.
11177
- */
11178
- declare function createSemanticMetricsMiddleware(config: Record<string, unknown>): AgentMiddleware;
11179
- /** Built-in Semantic Metrics plugin definition. */
11180
- declare const semanticMetricsPlugin: Plugin;
11181
-
11182
11285
  /**
11183
11286
  * Creates the always-available, fail-closed Project Room tool middleware.
11184
11287
  *
@@ -12235,4 +12338,4 @@ declare function parseDirectRoomType(projectId: string): "human" | "bot" | null;
12235
12338
  */
12236
12339
  declare function isDirectRoom(projectId: string): boolean;
12237
12340
 
12238
- export { AGENT_TASK_EVENT, type AddMessageParams, type AddMessageResult, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentTaskCompletionInput, type AgentThreadInterface, type ApproveInterruptedTaskInput, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BeginRunFailure, type BeginRunInput, type BeginRunResult, type BeginRunSuccess, type BufferStats, CAPABILITY_TOOL_NAME_CONFLICT, type CacheEntry, type CalibrationProbe, CapabilityBundleMergeError, type CapabilityBundleMergeErrorCode, CapabilityBundleMerger, CapabilityBundleValidationError, type CapabilityBundleValidationErrorCode, type CapabilityGuardDenialCode, type CapabilityResourceSelector, type CapabilityToolMetadata, CapabilityToolNameConflictError, CapabilityToolRegistry, type CaseRunResult, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, CollectionLatticeManager, type ColumnInfo, type CompileSandboxPluginArgs, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, ConnectionRegistry, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, DEFAULT_CALIBRATION_PROBES, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_DELAY_MS, DEFAULT_MAX_ATTEMPTS, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, DelegatedScopeNotQueueableError, type DeleteResult, DependencyResolver, type DispatchPreparation, DuplicateProjectRoomMessageIdempotencyKeyError, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type EvalRunService, type ExecutionAuthority, ExecutionAuthorityRegistry, type ExportBundle, type ExportContext, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableFile, type ExportableTypeInfo, type ExternalDependencyInterruption, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_TIMEOUT_MS, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, IdRemapper, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryMenuStore, InMemoryOpenAuditStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryTaskListStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type JudgeVerdict, 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, type LifecycleResult, type LifecycleWarning, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, type LoggerLattice, LoggerLatticeManager, type LoopBreakerConfig, MAX_BACKOFF_MS, MAX_LINE_LENGTH, MAX_PACK_ENTRIES, MAX_PACK_FILE_BYTES, MAX_PACK_TOTAL_BYTES, type MailboxMessage, type MailboxStore, ManagedTaskStartError, type ManagedTaskStartOptions, type ManifestValidationResult, type McpClientFactory, type McpClientLike, type McpClientSession, type McpConnectionOptions, McpLatticeManager, type McpRegisterOptions, type McpServerId, type McpServerRuntime, type McpServerState, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MergedPluginSkills, type MessageCompletedEvent, type MessageContent, type MessageContentPart, type MessageContentValue, type MessageFailedEvent, type MessageInterruptedEvent, type MessageLike, type MessageStartedEvent, MessageType, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, MysqlDatabase, type OutputType, PACK_DIRECTORY_TIMEOUT_SECONDS, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, PinoLoggerClient, type PluginConnectionScope, PluginRegistry, type PostProcessTaskMutationResponseInput, PostgresDatabase, type PreviewError, ProjectBotMembershipIdConflictError, ProjectMutationMutex, type ProjectMutationScope, ProjectRoomMessageIdConflictError, 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 QueryResult, type QueueLattice, QueueLatticeManager, type QueueMessage, QueueMode, type QueuePendingEvent, type QueueScope, ROOM_COORDINATOR_KEY, type ReassignProjectTaskInput, type ReconcileTaskDescriptionInput, type RejectInterruptedTaskInput, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RepeatedToolCallBreakerOptions, RepeatedToolCallError, type ReplyReadyEvent, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type ResolvedPluginConnection, type ResolvedPluginSkill, type ResumeTaskResult, type RoomAgentMessageCallbackFailure, type RoomAgentMessageCommitted, type RoomAgentMessageInput, RoomAgentMessageService, type RoomAgentReplyInput, type RunSandboxConfig, type RuntimeModelConfig, type RuntimeSkillSelection, SAFE_PATH_COMPONENT, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxGrepMatch, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, SandboxPluginExecutor, type SandboxPluginExecutorDeps, type SandboxPluginInvokeArgs, type SandboxPluginResult, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxResolver, type SandboxRunConfig, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SettleRunInput, type SettleRunOutcome, type SharePayload, 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 TaskEvent, type TaskExecutionFailure, type TaskExecutionManaged, type TaskExecutionResult, type TaskExecutionServiceDeps, type TaskExecutionSuccess, type TaskLifecycleListener, type TaskLifecycleNotification, TaskLifecycleNotifier, TaskLifecycleService, type TaskLifecycleServiceDeps, type TaskListStore, type TaskResponseParseResult, type TaskRunBridge, type TaskRunBridgeDeps, TaskRunBridgeStoresRequiredError, type TaskSpec, TaskStatus, type TaskUpdatable, TeamAgentGraphBuilder, type TeamConfig, type TeamMiddlewareOptions, type TeamTask, type TeammateSpec, type TeammateToolsOptions, TenantPluginCatalog, type TenantPluginCatalogDeps, type TenantPlugins, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadEndCode, ThreadEndError, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TransferOwnerInput, type TransferOwnerResult, type TrustedAgentMessageDispatcher, type TrustedMessageOptions, type UnknownToolHandlerConfig, type ValidateManifestArgs, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentHasManagedTaskCapability, agentInstanceManager, agentLatticeManager, appendReconciliationWarning, appendUiFence, buildGrepResultsDict, buildInput, buildNamedVolumeName, buildRemotePackDirectoryCommand, buildSandboxMetadataEnv, buildSkillFile, buildStateAnnotation, buildTableName, buildTaskMutationFallback, buildTaskNormalizationFallback, checkEmptyContent, clearEncryptionKeyCache, clearEvalRunService, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureStores, connectAllChannels, convertToConnection, createAgentNode, createAgentTeam, createCapabilityGuardMiddleware, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createMapNode, createModelSelectorMiddleware, createNodeHandler, createProjectRoomMiddleware, createProjectTaskOwnerPolicy, createProjectTaskReassignmentAuthorizer, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createRepeatedToolCallBreakerMiddleware, createResourceAddress, createSandboxProvider, createSandboxResolver, createSchedulerMiddleware, createSemanticMetricsMiddleware, createSharePayload, createTaskExecutionService, createTaskLifecycleService, createTaskMiddleware, createTaskRunBridge, createTeamMiddleware, createTeammateTools, createTrustedAgentMessageDispatcher, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, documentLearningPlugin, documentParserPlugin, embeddingsLatticeManager, encrypt, ensureBuiltinAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getPluginSkillManifestVersion, getQueueLattice, getRuntimeCapabilityConfig, getRuntimeSkillSelection, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getSandboxPluginCatalog, getScheduleLattice, getStoreLattice, getToolClient, getToolClientWithTenant, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, hasDelegatedWorkerToken, hasRuntimeCapabilityPolicy, invokeWithRetry, isBuiltInSkill, isDirectRoom, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, listCollectionEntries, listSandboxProviderTypes, loggerLatticeManager, mcpManager, mergeCapabilityBundles, mergePluginSkills, mergePluginSources, metricsServerManager, modelLatticeManager, nextBackoffDelay, normalizeSandboxName, ownTaskResponseField, parallelLimit, parseCronExpression, parseDirectRoomType, parseExternalDependency, parseJudgeVerdict, parsePackSize, parseSkillFrontmatter, parseTaskResponse, parseYaml, performStringReplacement, postProcessTaskMutationResponse, prepareTaskDispatch, projectMutationMutex, projectRoomPlugin, projectTaskAdmissionNotifier, queueLatticeManager, readLoopBreakerConfig, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolveEnabledPluginSkill, resolveJudgeModelKey, resolvePath, resolvePluginConnections, resolveSandboxPluginConnections, resolveTenantPluginSkill, roomCoordinatorConfig, runRemotePackDirectory, safeTaskResponseId, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, semanticMetricsPlugin, serializePluginMeta, serializeTaskMutationSuccess, serializeTaskNormalizationFallback, serializeTaskReadResponse, setBindingRegistry, setEvalRunService, setMenuRegistry, setSandboxPluginCatalog, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, taskLifecycleNotifier, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateCapabilityBundleInput, validateDSL, validateEncryptionKey, validatePackSourcePath, validatePath, validateRelativePath, validateSandboxPluginManifest, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager, withTimeout, wrapMcpToolWithUi };
12341
+ export { AGENT_TASK_EVENT, type AddMessageParams, type AddMessageResult, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentTaskCompletionInput, type AgentThreadInterface, type ApproveInterruptedTaskInput, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BeginRunFailure, type BeginRunInput, type BeginRunResult, type BeginRunSuccess, type BufferStats, CAPABILITY_TOOL_NAME_CONFLICT, type CacheEntry, type CalibrationProbe, CapabilityBundleMergeError, type CapabilityBundleMergeErrorCode, CapabilityBundleMerger, CapabilityBundleValidationError, type CapabilityBundleValidationErrorCode, type CapabilityGuardDenialCode, type CapabilityResourceSelector, type CapabilityToolMetadata, CapabilityToolNameConflictError, CapabilityToolRegistry, type CaseRunResult, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, CollectionLatticeManager, type ColumnInfo, type CompileSandboxPluginArgs, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, ConnectionRegistry, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, DEFAULT_CALIBRATION_PROBES, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_DELAY_MS, DEFAULT_MAX_ATTEMPTS, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, DelegatedScopeNotQueueableError, type DeleteResult, DependencyResolver, type DispatchPreparation, DuplicateProjectRoomMessageIdempotencyKeyError, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type EvalRunService, type ExecutionAuthority, ExecutionAuthorityRegistry, type ExportBundle, type ExportContext, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableFile, type ExportableTypeInfo, type ExternalDependencyInterruption, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_TIMEOUT_MS, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, IdRemapper, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryMenuStore, InMemoryOpenAuditStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryTaskListStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type JudgeVerdict, 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, type LifecycleResult, type LifecycleWarning, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, type LoggerLattice, LoggerLatticeManager, type LoopBreakerConfig, MAX_BACKOFF_MS, MAX_LINE_LENGTH, MAX_PACK_ENTRIES, MAX_PACK_FILE_BYTES, MAX_PACK_TOTAL_BYTES, type MailboxMessage, type MailboxStore, ManagedTaskStartError, type ManagedTaskStartOptions, type ManifestValidationResult, type McpClientFactory, type McpClientLike, type McpClientSession, type McpConnectionOptions, McpLatticeManager, type McpRegisterOptions, type McpServerId, type McpServerRuntime, type McpServerState, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MergedPluginSkills, type MessageCompletedEvent, type MessageContent, type MessageContentPart, type MessageContentValue, type MessageFailedEvent, type MessageInterruptedEvent, type MessageLike, type MessageStartedEvent, MessageType, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, MysqlDatabase, type OutputType, PACK_DIRECTORY_TIMEOUT_SECONDS, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, PinoLoggerClient, type PluginConnectionScope, PluginRegistry, type PostProcessTaskMutationResponseInput, PostgresDatabase, type PreviewError, ProjectBotMembershipIdConflictError, ProjectMutationMutex, type ProjectMutationScope, ProjectRoomMessageIdConflictError, 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 QueryResult, type QueueLattice, QueueLatticeManager, type QueueMessage, QueueMode, type QueuePendingEvent, type QueueScope, ROOM_COORDINATOR_KEY, type ReassignProjectTaskInput, type ReconcileAllTenantTaskRunsInput, type ReconcileStaleTaskRunsInput, type ReconcileStaleTaskRunsResult, type ReconcileTaskDescriptionInput, type ReconcileTenantTaskRunsInput, type RejectInterruptedTaskInput, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RepeatedToolCallBreakerOptions, RepeatedToolCallError, type ReplyReadyEvent, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type ResolvedPluginConnection, type ResolvedPluginSkill, type ResumeTaskResult, type RoomAgentMessageCallbackFailure, type RoomAgentMessageCommitted, type RoomAgentMessageInput, RoomAgentMessageService, type RoomAgentReplyInput, type RunSandboxConfig, type RuntimeModelConfig, type RuntimeSkillSelection, SAFE_PATH_COMPONENT, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxGrepMatch, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, SandboxPluginExecutor, type SandboxPluginExecutorDeps, type SandboxPluginInvokeArgs, type SandboxPluginResult, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxResolver, type SandboxRunConfig, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SettleRunInput, type SettleRunOutcome, type SharePayload, 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 TaskEvent, type TaskExecutionFailure, type TaskExecutionManaged, type TaskExecutionResult, type TaskExecutionServiceDeps, type TaskExecutionSuccess, type TaskLifecycleListener, type TaskLifecycleNotification, TaskLifecycleNotifier, TaskLifecycleService, type TaskLifecycleServiceDeps, type TaskListStore, type TaskResponseParseResult, type TaskRunBridge, type TaskRunBridgeDeps, TaskRunBridgeStoresRequiredError, TaskRunRegistry, type TaskSpec, TaskStatus, type TaskUpdatable, TeamAgentGraphBuilder, type TeamConfig, type TeamMiddlewareOptions, type TeamTask, type TeammateSpec, type TeammateToolsOptions, TenantPluginCatalog, type TenantPluginCatalogDeps, type TenantPlugins, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadEndCode, ThreadEndError, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TransferOwnerInput, type TransferOwnerResult, type TrustedAgentMessageDispatcher, type TrustedMessageOptions, type UnknownToolHandlerConfig, type ValidateManifestArgs, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, appendReconciliationWarning, appendUiFence, buildGrepResultsDict, buildInput, buildNamedVolumeName, buildRemotePackDirectoryCommand, buildSandboxMetadataEnv, buildSkillFile, buildStateAnnotation, buildTableName, buildTaskMutationFallback, buildTaskNormalizationFallback, checkEmptyContent, clearEncryptionKeyCache, clearEvalRunService, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureStores, connectAllChannels, convertToConnection, createAgentNode, createAgentTeam, createCapabilityGuardMiddleware, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createMapNode, createModelSelectorMiddleware, createNodeHandler, createProjectRoomMiddleware, createProjectTaskOwnerPolicy, createProjectTaskReassignmentAuthorizer, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createRepeatedToolCallBreakerMiddleware, createResourceAddress, createSandboxProvider, createSandboxResolver, createSchedulerMiddleware, createSharePayload, createTaskExecutionService, createTaskLifecycleService, createTaskMiddleware, createTaskRunBridge, createTeamMiddleware, createTeammateTools, createTrustedAgentMessageDispatcher, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, documentLearningPlugin, documentParserPlugin, embeddingsLatticeManager, encrypt, ensureBuiltinAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getPluginSkillManifestVersion, getQueueLattice, getRuntimeCapabilityConfig, getRuntimeSkillSelection, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getSandboxPluginCatalog, getScheduleLattice, getStoreLattice, getToolClient, getToolClientWithTenant, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, hasDelegatedWorkerToken, hasRuntimeCapabilityPolicy, invokeWithRetry, isBuiltInSkill, isDirectRoom, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, listCollectionEntries, listSandboxProviderTypes, loggerLatticeManager, mcpManager, mergeCapabilityBundles, mergePluginSkills, mergePluginSources, metricsServerManager, modelLatticeManager, nextBackoffDelay, normalizeSandboxName, ownTaskResponseField, parallelLimit, parseCronExpression, parseDirectRoomType, parseExternalDependency, parseJudgeVerdict, parsePackSize, parseSkillFrontmatter, parseTaskResponse, parseYaml, performStringReplacement, postProcessTaskMutationResponse, prepareTaskDispatch, projectMutationMutex, projectRoomPlugin, projectTaskAdmissionNotifier, queueLatticeManager, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolveEnabledPluginSkill, resolveJudgeModelKey, resolvePath, resolvePluginConnections, resolveSandboxPluginConnections, resolveTenantPluginSkill, roomCoordinatorConfig, runRemotePackDirectory, safeTaskResponseId, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, serializeTaskMutationSuccess, serializeTaskNormalizationFallback, serializeTaskReadResponse, setBindingRegistry, setEvalRunService, setMenuRegistry, setSandboxPluginCatalog, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, taskLifecycleNotifier, taskRunRegistry, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateCapabilityBundleInput, validateDSL, validateEncryptionKey, validatePackSourcePath, validatePath, validateRelativePath, validateSandboxPluginManifest, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager, withTimeout, wrapMcpToolWithUi };