@axiom-lattice/core 12.1.0 → 12.2.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
@@ -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, 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, VectorStoreProvider, Thread, 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, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationInput, UpdateChannelInstallationRequest, Binding, CreateBindingInput, BindingMutablePatch, BindingListParams, A2AApiKeyRecord, CreateA2AApiKeyInput, UpdateA2AApiKeyInput, A2AApiKeyEntry, OpenAuditAppendInput, OpenAuditQuery, OpenAuditRecord, TaskMutationSnapshot, CreateTaskRequest, TaskItem, TaskListFilter, TaskDependentListQuery, UpdateTaskRequest, CreateWorkItemRequest, TaskWorkItem, CreateWorkItemIfAbsentRequest, TaskWorkItemListFilter, ProjectLifecycleEventQuery, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, ProjectRoom, ProjectMembership, ProjectBotMembership, ProjectRoomMessage, ProjectHumanRole, ProjectMembershipMutationResult, ProjectRoomReadState, UserPushSubscription, LeaseRecord, OutboxEvent, CreateChannelReplyJobInput, ChannelReplyJob, ShareRecord, CreateShareRecord, ShareRecordPatch, STTModelLatticeProtocol, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient, PluginSkillDefinition, McpTool, McpUiResourcePayload, McpServerConfig, McpUiRef, ResourceResolver, ResourceAddress, ShareVisibility, OpenGrant, CreateFileShareRequest, McpAppShareApp, McpAppShareRecord, ObservabilityDashboardInput, ObservabilityDashboardResult, ChannelAdapter, InterruptPolicy, AgentInterrupt, ProjectTaskLifecycleAction, TaskBeliefState, PluginMeta, Plugin, PluginMetaOutput, SandboxPluginManifest, SandboxPluginToolDef, SandboxPluginDiagnostic, CapabilityPreview, CreateCapabilityBundleInput, UpdateCapabilityBundleInput, InternalStateField, InternalInput, InternalNode, InternalAgentNode, InternalMapNode, 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, VectorStoreProvider, Thread, 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, 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, OpenAuditQuery, OpenAuditRecord, TaskMutationSnapshot, CreateTaskRequest, TaskItem, TaskListFilter, TaskDependentListQuery, UpdateTaskRequest, CreateWorkItemRequest, TaskWorkItem, CreateWorkItemIfAbsentRequest, TaskWorkItemListFilter, ProjectLifecycleEventQuery, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, ProjectRoom, ProjectMembership, ProjectBotMembership, ProjectRoomMessage, ProjectHumanRole, ProjectMembershipMutationResult, ProjectRoomReadState, UserPushSubscription, LeaseRecord, OutboxEvent, CreateChannelReplyJobInput, ChannelReplyJob, PlatformSettingsRecord, PlatformSettingsDocument, ShareRecord, CreateShareRecord, ShareRecordPatch, AuthProvider, LoginSurface, Principal, STTModelLatticeProtocol, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient, PluginSkillDefinition, McpTool, McpUiResourcePayload, McpServerConfig, McpUiRef, ResourceResolver, ResourceAddress, ShareVisibility, OpenGrant, CreateFileShareRequest, McpAppShareApp, McpAppShareRecord, ObservabilityDashboardInput, ObservabilityDashboardResult, ChannelAdapter, InterruptPolicy, AgentInterrupt, ProjectTaskLifecycleAction, TaskBeliefState, PluginMeta, Plugin, PluginMetaOutput, SandboxPluginManifest, SandboxPluginToolDef, SandboxPluginDiagnostic, CapabilityPreview, CreateCapabilityBundleInput, UpdateCapabilityBundleInput, InternalStateField, InternalInput, InternalNode, InternalAgentNode, InternalMapNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
12
12
  export { _axiom_lattice_protocols as Protocols };
13
13
  export { AgentConfig, AgentType, GraphBuildOptions, MemoryType, ProjectRoomTrustedRunContext, QueuedExecutionMode, TrustedRunContext, parseQueuedExecutionMode, parseTrustedRunContext } from '@axiom-lattice/protocols';
14
14
  import * as langchain from 'langchain';
@@ -2233,6 +2233,22 @@ interface SandboxManagerProtocol {
2233
2233
  getVolumeBackendForPath(config: RunSandboxConfig, filePath: string): Promise<BackendProtocol | null>;
2234
2234
  }
2235
2235
 
2236
+ declare const createCodeEvalTool: ({ vmIsolation, }: {
2237
+ vmIsolation: SandboxIsolationLevel;
2238
+ }) => langchain.DynamicStructuredTool<z.ZodObject<{
2239
+ language: z.ZodEnum<{
2240
+ python: "python";
2241
+ javascript: "javascript";
2242
+ }>;
2243
+ code: z.ZodString;
2244
+ }, z.core.$strip>, {
2245
+ language: "python" | "javascript";
2246
+ code: string;
2247
+ }, {
2248
+ language: "python" | "javascript";
2249
+ code: string;
2250
+ }, string, unknown, "execute_code">;
2251
+
2236
2252
  /**
2237
2253
  * Shell Execution Tool (shell_exec)
2238
2254
  *
@@ -4765,6 +4781,12 @@ type StoreTypeMap = {
4765
4781
  user: UserStore;
4766
4782
  tenant: TenantStore;
4767
4783
  userTenantLink: UserTenantLinkStore;
4784
+ userExternalIdentity: UserExternalIdentityStore;
4785
+ oidcProviderConfig: OidcProviderConfigStore;
4786
+ platformMember: PlatformMemberStore;
4787
+ platformInvitation: PlatformInvitationStore;
4788
+ oidcIdentityClaim: OidcIdentityClaimStore;
4789
+ inviteLink: InviteLinkStore;
4768
4790
  threadMessageQueue: IMessageQueueStore;
4769
4791
  workflowTracking: WorkflowTrackingStore;
4770
4792
  eval: EvalStore;
@@ -4792,6 +4814,7 @@ type StoreTypeMap = {
4792
4814
  channelReplyJob: ChannelReplyJobStore;
4793
4815
  checkpointStorage: CheckpointStorage;
4794
4816
  store: StoreProtocol;
4817
+ platformSettings: PlatformSettingsStore;
4795
4818
  };
4796
4819
  /**
4797
4820
  * Store type keys
@@ -5284,8 +5307,8 @@ declare class FileSystemSkillStore implements SkillStore {
5284
5307
  * SandboxSkillStore
5285
5308
  *
5286
5309
  * Sandbox-based implementation of SkillStore
5287
- * Stores skills in the shared project sandbox under /root/.agents/skills/
5288
- * Path format: /root/.agents/skills/{skillName}/SKILL.md
5310
+ * Stores skills in the shared project sandbox under the configured agents root
5311
+ * (`SANDBOX_AGENTS_ROOT/skills/{skillName}/SKILL.md`).
5289
5312
  */
5290
5313
 
5291
5314
  interface SandboxSkillStoreOptions {
@@ -5600,6 +5623,149 @@ declare class InMemoryUserTenantLinkStore implements UserTenantLinkStore {
5600
5623
  clear(): void;
5601
5624
  }
5602
5625
 
5626
+ /**
5627
+ * In-memory implementation of {@link UserExternalIdentityStore}.
5628
+ *
5629
+ * Stores external identity links keyed by `(providerId, issuer, subject)` so the
5630
+ * same subject under different OIDC issuers never collides. Intended for tests and
5631
+ * single-process deployments; state is not shared across instances.
5632
+ *
5633
+ * @example
5634
+ * ```ts
5635
+ * const store = new InMemoryUserExternalIdentityStore();
5636
+ * await store.link({ userId, providerId, issuer, subject, linkedAt: new Date() });
5637
+ * const identity = await store.getByProviderSubject(providerId, issuer, subject);
5638
+ * ```
5639
+ *
5640
+ * @remarks
5641
+ * - `link` is idempotent for the same user: `linkedAt` is preserved and `email`
5642
+ * is only overwritten when the incoming identity provides one.
5643
+ * - Re-linking the same key to a different user throws
5644
+ * {@link ExternalIdentityConflictError}.
5645
+ * - Returned identities are defensive copies.
5646
+ */
5647
+ declare class InMemoryUserExternalIdentityStore implements UserExternalIdentityStore {
5648
+ private readonly entries;
5649
+ getByProviderSubject(providerId: string, issuer: string, subject: string): Promise<UserExternalIdentity | null>;
5650
+ listByUser(userId: string): Promise<UserExternalIdentity[]>;
5651
+ link(identity: UserExternalIdentity): Promise<void>;
5652
+ unlink(providerId: string, issuer: string, subject: string): Promise<void>;
5653
+ }
5654
+
5655
+ /**
5656
+ * In-memory implementation of {@link OidcProviderConfigStore}.
5657
+ *
5658
+ * Stores OIDC provider configurations in a process-local map, encrypting the
5659
+ * client secret at rest. Intended for tests and single-process deployments;
5660
+ * state is not shared across instances.
5661
+ */
5662
+ declare class InMemoryOidcProviderConfigStore implements OidcProviderConfigStore {
5663
+ private readonly entries;
5664
+ list(): Promise<OidcProviderConfig[]>;
5665
+ get(id: string): Promise<OidcProviderConfig | null>;
5666
+ create(id: string, input: CreateOidcProviderConfigInput): Promise<OidcProviderConfig>;
5667
+ update(id: string, updates: UpdateOidcProviderConfigInput): Promise<OidcProviderConfig | null>;
5668
+ delete(id: string): Promise<boolean>;
5669
+ private mapOut;
5670
+ }
5671
+
5672
+ /**
5673
+ * In-memory implementation of {@link PlatformMemberStore}.
5674
+ *
5675
+ * Stores platform grants in a process-local map keyed by user id. Intended for
5676
+ * tests and single-process deployments; state is not shared across instances.
5677
+ *
5678
+ * @example
5679
+ * ```ts
5680
+ * const store = new InMemoryPlatformMemberStore();
5681
+ * await store.upsert({ userId: "u1", role: "owner", grantedAt: new Date(), updatedAt: new Date() });
5682
+ * ```
5683
+ */
5684
+ declare class InMemoryPlatformMemberStore implements PlatformMemberStore {
5685
+ private readonly entries;
5686
+ /** Lists every platform member ordered by user id. */
5687
+ list(): Promise<PlatformMember[]>;
5688
+ /** Returns the platform member for a user, or null. */
5689
+ get(userId: string): Promise<PlatformMember | null>;
5690
+ /**
5691
+ * Inserts or replaces a member keyed by user id.
5692
+ *
5693
+ * The supplied grant replaces any existing row in full (last write wins),
5694
+ * including `grantedAt` and `updatedAt`.
5695
+ */
5696
+ upsert(member: PlatformMember): Promise<PlatformMember>;
5697
+ /** Deletes a member. Returns whether a row was removed. */
5698
+ delete(userId: string): Promise<boolean>;
5699
+ }
5700
+
5701
+ /**
5702
+ * In-memory implementation of {@link PlatformInvitationStore}.
5703
+ *
5704
+ * Stores invitations in a process-local map keyed by normalized email.
5705
+ * Intended for tests and single-process deployments; state is not shared
5706
+ * across instances.
5707
+ *
5708
+ * @example
5709
+ * ```ts
5710
+ * const store = new InMemoryPlatformInvitationStore();
5711
+ * await store.upsert({ email: "alice@example.com", role: "admin", createdAt: new Date() });
5712
+ * const consumed = await store.consume("alice@example.com", new Date());
5713
+ * ```
5714
+ */
5715
+ declare class InMemoryPlatformInvitationStore implements PlatformInvitationStore {
5716
+ private readonly entries;
5717
+ /** Lists every invitation ordered by normalized email. */
5718
+ list(): Promise<PlatformInvitation[]>;
5719
+ /** Returns the invitation for an email, or null. */
5720
+ get(email: string): Promise<PlatformInvitation | null>;
5721
+ /**
5722
+ * Inserts or replaces an invitation keyed by normalized email.
5723
+ *
5724
+ * The supplied invitation replaces any existing row in full (last write wins),
5725
+ * including `expiresAt` and `consumedAt`.
5726
+ */
5727
+ upsert(invitation: PlatformInvitation): Promise<PlatformInvitation>;
5728
+ /** Deletes an invitation. Returns whether a row was removed. */
5729
+ delete(email: string): Promise<boolean>;
5730
+ /**
5731
+ * Atomically consumes a pending, unexpired invitation.
5732
+ *
5733
+ * Returns the consumed invitation, or null when the row is missing, already
5734
+ * consumed, or expired.
5735
+ */
5736
+ consume(email: string, at: Date): Promise<PlatformInvitation | null>;
5737
+ }
5738
+
5739
+ /**
5740
+ * In-memory implementation of {@link OidcIdentityClaimStore}.
5741
+ *
5742
+ * Intended for tests and single-process deployments without a database. The
5743
+ * store enforces one live pending claim per `(providerId, issuer, subject)`;
5744
+ * expired pending claims are marked `expired` when a retry arrives.
5745
+ */
5746
+ declare class InMemoryOidcIdentityClaimStore implements OidcIdentityClaimStore {
5747
+ private readonly claims;
5748
+ list(status?: OidcIdentityClaimStatus): Promise<OidcIdentityClaim[]>;
5749
+ get(id: string): Promise<OidcIdentityClaim | null>;
5750
+ getPendingBySubject(providerId: string, issuer: string, subject: string, now: Date): Promise<OidcIdentityClaim | null>;
5751
+ create(input: CreateOidcIdentityClaimInput): Promise<OidcIdentityClaim>;
5752
+ updatePending(id: string, updates: UpdateOidcIdentityClaimInput, now: Date): Promise<OidcIdentityClaim | null>;
5753
+ approve(id: string, approval: OidcIdentityClaimApproval, now: Date): Promise<OidcIdentityClaim | null>;
5754
+ reject(id: string, reviewedBy: string, now: Date): Promise<OidcIdentityClaim | null>;
5755
+ delete(id: string): Promise<boolean>;
5756
+ }
5757
+
5758
+ /** In-memory {@link InviteLinkStore} for tests and single-process deployments. */
5759
+ declare class InMemoryInviteLinkStore implements InviteLinkStore {
5760
+ private readonly links;
5761
+ list(): Promise<InviteLink[]>;
5762
+ get(id: string): Promise<InviteLink | null>;
5763
+ getByTokenHash(tokenHash: string): Promise<InviteLink | null>;
5764
+ create(input: CreateInviteLinkInput): Promise<InviteLink>;
5765
+ consume(tokenHash: string, now: Date): Promise<InviteLink | null>;
5766
+ revoke(id: string, now: Date): Promise<InviteLink | null>;
5767
+ }
5768
+
5603
5769
  /**
5604
5770
  * In-memory implementation of {@link ChannelInstallationStore}.
5605
5771
  *
@@ -6643,6 +6809,36 @@ declare class InMemoryChannelReplyJobStore implements ChannelReplyJobStore {
6643
6809
  private copy;
6644
6810
  }
6645
6811
 
6812
+ /**
6813
+ * In-memory implementation of {@link PlatformSettingsStore}.
6814
+ *
6815
+ * Holds a single versioned platform settings record and enforces optimistic
6816
+ * concurrency (compare-and-swap on `version`). Intended for tests and
6817
+ * single-process deployments; state is not shared across instances.
6818
+ *
6819
+ * @example
6820
+ * ```ts
6821
+ * const store = new InMemoryPlatformSettingsStore();
6822
+ * const created = await store.save({ auth: { emailCompletionEnabled: true } }, 0, "admin-1");
6823
+ * const updated = await store.save({ auth: { emailCompletionEnabled: false } }, created.version);
6824
+ * ```
6825
+ */
6826
+ declare class InMemoryPlatformSettingsStore implements PlatformSettingsStore {
6827
+ private record;
6828
+ /** Returns the current settings record, or null when nothing was saved yet. */
6829
+ get(): Promise<PlatformSettingsRecord | null>;
6830
+ /**
6831
+ * Saves a settings document using version compare-and-swap.
6832
+ *
6833
+ * @param document - Partial settings to persist (replaces the full document).
6834
+ * @param expectedVersion - Version the caller last observed; `0` means "create".
6835
+ * @param updatedBy - Optional identifier of the admin performing the write.
6836
+ * @returns The newly persisted record with an incremented `version`.
6837
+ * @throws {PlatformSettingsVersionConflictError} When `expectedVersion` is stale.
6838
+ */
6839
+ save(document: PlatformSettingsDocument, expectedVersion: number, updatedBy?: string): Promise<PlatformSettingsRecord>;
6840
+ }
6841
+
6646
6842
  /**
6647
6843
  * Raised when {@link InMemorySharedResourceStore.create} receives a token that
6648
6844
  * is already stored.
@@ -6762,6 +6958,152 @@ declare class InMemorySharedResourceStore implements SharedResourceStore {
6762
6958
  atomicIncrementAccess(token: string): Promise<boolean>;
6763
6959
  }
6764
6960
 
6961
+ /** Raised when an auth provider descriptor id is registered twice. */
6962
+ declare class AuthProviderAlreadyRegisteredError extends Error {
6963
+ readonly providerId: string;
6964
+ readonly code = "AUTH_PROVIDER_ALREADY_REGISTERED";
6965
+ /**
6966
+ * @param providerId - Descriptor id that collided.
6967
+ */
6968
+ constructor(providerId: string);
6969
+ }
6970
+ /**
6971
+ * Registers an interactive auth provider under its descriptor id.
6972
+ *
6973
+ * @param provider - Provider to register.
6974
+ * @throws {AuthProviderAlreadyRegisteredError} when a provider with the same descriptor id is already registered.
6975
+ * @remarks
6976
+ * - Registration is process-global and intended to happen once at composition time.
6977
+ * - Machine credentials are not registered here; only UI-selectable surfaces.
6978
+ */
6979
+ declare function registerAuthProvider(provider: AuthProvider): void;
6980
+ /**
6981
+ * Returns the provider registered under `id`, or `undefined` when absent.
6982
+ *
6983
+ * @param id - Provider descriptor id.
6984
+ * @returns The registered provider, if any.
6985
+ */
6986
+ declare function getAuthProvider(id: string): AuthProvider | undefined;
6987
+ /**
6988
+ * Lists registered providers, optionally filtered to those supporting a surface.
6989
+ *
6990
+ * @param surface - Optional login surface filter (for example `"console"`).
6991
+ * @returns Providers in registration order.
6992
+ */
6993
+ declare function listAuthProviders(surface?: LoginSurface): AuthProvider[];
6994
+ /**
6995
+ * Clears all registered providers.
6996
+ *
6997
+ * @remarks Test-only reset; not part of the public runtime contract.
6998
+ */
6999
+ declare function clearAuthProvidersForTests(): void;
7000
+
7001
+ /** Outcome of mapping an external principal to a local user. */
7002
+ type IdentityMappingResult = {
7003
+ kind: "authenticated";
7004
+ user: User;
7005
+ externalIdentity: UserExternalIdentity;
7006
+ } | {
7007
+ kind: "pending";
7008
+ user: User;
7009
+ created: boolean;
7010
+ } | {
7011
+ kind: "suspended";
7012
+ user: User;
7013
+ } | {
7014
+ kind: "not_provisioned";
7015
+ reason: "NO_MATCH" | "EMAIL_IN_USE";
7016
+ };
7017
+ /** Configuration for {@link IdentityMappingService}. */
7018
+ interface IdentityMappingOptions {
7019
+ providerId: string;
7020
+ /** OIDC issuer; part of the identity key, never trusted from the request. */
7021
+ issuer: string;
7022
+ jitProvisioning: boolean;
7023
+ autoLinkEmail: boolean;
7024
+ defaultTenantId?: string;
7025
+ }
7026
+ /** Stores required by {@link IdentityMappingService}. */
7027
+ interface IdentityMappingDependencies {
7028
+ userStore: UserStore;
7029
+ userTenantLinkStore: UserTenantLinkStore;
7030
+ externalIdentityStore: UserExternalIdentityStore;
7031
+ options: IdentityMappingOptions;
7032
+ }
7033
+ /** Raised when {@link IdentityMappingService} is constructed with invalid options. */
7034
+ declare class IdentityMappingConfigError extends Error {
7035
+ readonly code = "IDENTITY_MAPPING_CONFIG_INVALID";
7036
+ /**
7037
+ * @param message - Human-readable configuration problem.
7038
+ */
7039
+ constructor(message: string);
7040
+ }
7041
+ /**
7042
+ * Maps an authenticated external {@link Principal} to a local user, linking or
7043
+ * JIT-provisioning a pending user when configured.
7044
+ *
7045
+ * @example
7046
+ * ```ts
7047
+ * const mapping = new IdentityMappingService({
7048
+ * userStore,
7049
+ * userTenantLinkStore,
7050
+ * externalIdentityStore,
7051
+ * options: {
7052
+ * providerId: "oidc",
7053
+ * issuer: "https://login.microsoftonline.com/<tenant>/v2.0",
7054
+ * jitProvisioning: true,
7055
+ * autoLinkEmail: false,
7056
+ * defaultTenantId: "tenant-1",
7057
+ * },
7058
+ * });
7059
+ * const result = await mapping.resolve(principal);
7060
+ * ```
7061
+ *
7062
+ * @remarks
7063
+ * - Identity keys are scoped by `(providerId, issuer, subject)`.
7064
+ * - Email is normalized with `trim().toLowerCase()` before lookup/link/create.
7065
+ * - Auto-linking an existing email requires both `autoLinkEmail` and
7066
+ * `principal.emailVerified === true`.
7067
+ * - JIT creates a `pending` user and links the external identity. When a
7068
+ * default tenant is configured it also links that tenant with role `member`;
7069
+ * otherwise the user is tenantless until an administrator assigns one.
7070
+ * - A dangling identity link fails closed with `not_provisioned(NO_MATCH)`.
7071
+ */
7072
+ declare class IdentityMappingService {
7073
+ private readonly deps;
7074
+ /**
7075
+ * @param deps - Stores and options used to resolve principals.
7076
+ * @throws {IdentityMappingConfigError} when `options.issuer` is empty.
7077
+ */
7078
+ constructor(deps: IdentityMappingDependencies);
7079
+ /**
7080
+ * Resolves a principal to a local user or a not-provisioned result.
7081
+ *
7082
+ * @param principal - Authenticated external identity.
7083
+ * @returns The mapping result.
7084
+ * @throws {AuthError} when JIT is required but the email is missing.
7085
+ */
7086
+ resolve(principal: Principal): Promise<IdentityMappingResult>;
7087
+ /**
7088
+ * Syncs the OIDC picture into user metadata without clobbering local avatars.
7089
+ *
7090
+ * An externally supplied avatar may update a missing avatar or another OIDC
7091
+ * avatar, but never a user-managed (`avatarSource: "local"`) avatar. When the
7092
+ * URL is already current no write is issued.
7093
+ */
7094
+ private syncOidcAvatar;
7095
+ /**
7096
+ * Recovers a JIT provisioning race where `createUser` lost the lower(email)
7097
+ * unique constraint. Prefers the winning external identity, then falls back
7098
+ * to a verified auto-link against the existing email.
7099
+ */
7100
+ private recoverJitRace;
7101
+ /** Best-effort cleanup; a failed rollback must not mask the winning login. */
7102
+ private deleteUserQuietly;
7103
+ /** Best-effort cleanup of a just-created identity link. */
7104
+ private unlinkQuietly;
7105
+ }
7106
+
6765
7107
  /**
6766
7108
  * Embeddings Lattice Interface
6767
7109
  * Defines the structure of an embeddings lattice entry
@@ -8528,7 +8870,7 @@ declare class DaytonaProvider implements SandboxProvider {
8528
8870
  /**
8529
8871
  * Build volume mounts for a sandbox based on RunSandboxConfig.
8530
8872
  * Mounts:
8531
- * /root/.agents → tenants/{tenantId}/skills
8873
+ * <agents root> → tenants/{tenantId}/skills
8532
8874
  * /agent → tenants/{tenantId}/agents/{assistantId}
8533
8875
  * /project → tenants/{tenantId}/projects/{projectId}
8534
8876
  */
@@ -8917,7 +9259,7 @@ declare const PLATFORM_SECRET_ENV_VARS: readonly string[];
8917
9259
  /**
8918
9260
  * Sandbox instance backed by the host filesystem.
8919
9261
  *
8920
- * Maps sandbox-internal paths (e.g. `/root/.agents/skills/...`) to a
9262
+ * Maps sandbox-internal paths (e.g. the configured agents root) to a
8921
9263
  * directory on the host filesystem. Shell commands are executed
8922
9264
  * directly on the host via `/bin/sh` (Unix) or `cmd.exe` (Windows).
8923
9265
  *
@@ -8991,6 +9333,76 @@ declare class SandboxLatticeManager extends BaseLatticeManager<SandboxProvider>
8991
9333
  declare const sandboxLatticeManager: SandboxLatticeManager;
8992
9334
  declare const getSandBoxManager: (key?: string) => SandboxManagerProtocol;
8993
9335
 
9336
+ /**
9337
+ * Canonical sandbox filesystem paths.
9338
+ *
9339
+ * Every consumer that reads or writes tenant-level sandbox data (skills,
9340
+ * plugins, knowledge, SDK bundles, the plugin host) derives its path from
9341
+ * these values instead of hardcoding `/root/.agents`. New deployments default
9342
+ * to the non-root runtime (`/home/appuser`, image `0.2.0`). Old root deployments
9343
+ * opt out with `SANDBOX_RUNTIME_PROFILE=legacy-root` (or a legacy
9344
+ * `SANDBOX_HOME=/root` / `0.1.0` image for backward compatibility).
9345
+ *
9346
+ * @remarks
9347
+ * - The values are read once at module load, so runtime env must be set at
9348
+ * process startup rather than mutated later.
9349
+ * - Do not derive these paths from `os.homedir()`: that returns the host
9350
+ * process user's home, not the sandbox user's home.
9351
+ */
9352
+ /** Non-root default sandbox image. */
9353
+ declare const NONROOT_SANDBOX_IMAGE = "kioko12520/sandbox:0.2.0";
9354
+ /** Legacy root sandbox image. */
9355
+ declare const LEGACY_ROOT_SANDBOX_IMAGE = "kioko12520/sandbox:0.1.0";
9356
+ /** Supported sandbox runtime profiles. */
9357
+ type SandboxRuntimeProfile = "nonroot" | "legacy-root";
9358
+ /** Resolved sandbox runtime defaults. */
9359
+ interface ResolvedSandboxRuntime {
9360
+ /** Active runtime profile. */
9361
+ profile: SandboxRuntimeProfile;
9362
+ /** True when the sandbox keeps the historical root layout. */
9363
+ legacyRoot: boolean;
9364
+ home: string;
9365
+ image: string;
9366
+ }
9367
+ /**
9368
+ * Resolve the sandbox runtime profile, home, and default image.
9369
+ *
9370
+ * `SANDBOX_RUNTIME_PROFILE` is the single recommended switch:
9371
+ *
9372
+ * - omitted or `nonroot`: `/home/appuser`, image `0.2.0`
9373
+ * - `legacy-root`: `/root`, image `0.1.0`
9374
+ *
9375
+ * For backward compatibility, an explicit `SANDBOX_HOME=/root` or pinning the
9376
+ * legacy image also selects the legacy root layout when the profile is omitted.
9377
+ * `SANDBOX_HOME` and `MICROSANDBOX_IMAGE` remain optional advanced overrides;
9378
+ * a profile that contradicts an explicit home fails fast.
9379
+ */
9380
+ declare function resolveSandboxRuntime(env?: NodeJS.ProcessEnv): ResolvedSandboxRuntime;
9381
+ /** Active sandbox runtime profile. @default "nonroot" */
9382
+ declare const SANDBOX_RUNTIME_PROFILE: SandboxRuntimeProfile;
9383
+ /** True when the active runtime is the legacy root layout. */
9384
+ declare const SANDBOX_LEGACY_ROOT: boolean;
9385
+ /** Default image for the active runtime profile. */
9386
+ declare const SANDBOX_DEFAULT_IMAGE: string;
9387
+ /** Sandbox user's home directory. @default "/home/appuser" */
9388
+ declare const SANDBOX_HOME: string;
9389
+ /** Tenant-level shared data root inside the sandbox. @default "/home/appuser/.agents" */
9390
+ declare const SANDBOX_AGENTS_ROOT: string;
9391
+ /** Tenant skill directory. @default "/home/appuser/.agents/skills" */
9392
+ declare const SANDBOX_SKILLS_ROOT: string;
9393
+ /** Tenant plugin directory. @default "/home/appuser/.agents/plugins" */
9394
+ declare const SANDBOX_PLUGINS_ROOT: string;
9395
+ /** Tenant knowledge base directory. @default "/home/appuser/.agents/knowledgebase" */
9396
+ declare const SANDBOX_KNOWLEDGEBASE_ROOT: string;
9397
+ /** Provisioned Open MCP client bundle directory. @default "/home/appuser/.agents/sdk" */
9398
+ declare const SANDBOX_SDK_ROOT: string;
9399
+ /** Resident plugin host directory. @default "/home/appuser/.agents/.plugin-host" */
9400
+ declare const SANDBOX_PLUGIN_HOST_DIR: string;
9401
+ /** Resident plugin host entrypoint. @default "/home/appuser/.agents/.plugin-host/server.js" */
9402
+ declare const SANDBOX_PLUGIN_HOST_SERVER_PATH: string;
9403
+ /** Plugin skill sync manifest. @default "/home/appuser/.agents/.plugin-skill-manifest.json" */
9404
+ declare const SANDBOX_PLUGIN_SKILL_MANIFEST_PATH: string;
9405
+
8994
9406
  /**
8995
9407
  * Generate a sandbox name from meaningful identifiers.
8996
9408
  *
@@ -15781,10 +16193,10 @@ declare function resolveEnabledPluginSkill(owner: string | undefined, skillName:
15781
16193
  * Versioned provisioning of the Open MCP client bundle into a sandbox volume.
15782
16194
  *
15783
16195
  * Writes the built zero-dependency client + CLI as **raw bundle files** under
15784
- * `/root/.agents/sdk/open-mcp-client` (plus a version manifest at
15785
- * `/root/.agents/sdk/.open-client-manifest.json`). Sandbox code can load the
15786
- * entry point by absolute path, e.g.
15787
- * `require("/root/.agents/sdk/open-mcp-client/index.js")`.
16196
+ * the configured SDK root (`SANDBOX_SDK_ROOT/open-mcp-client`, plus a version
16197
+ * manifest at `SANDBOX_SDK_ROOT/.open-client-manifest.json`). Sandbox code can
16198
+ * load the entry point by absolute path, e.g.
16199
+ * `require("<SANDBOX_SDK_ROOT>/open-mcp-client/index.js")`.
15788
16200
  *
15789
16201
  * @remarks
15790
16202
  * This helper only writes files. `NODE_PATH`/`PATH` resolution is **not**
@@ -15794,7 +16206,7 @@ declare function resolveEnabledPluginSkill(owner: string | undefined, skillName:
15794
16206
  * `#!/usr/bin/env node` shebang). The bundle is not laid out as a scoped
15795
16207
  * `node_modules/@axiom-lattice/...` tree, so do NOT advertise
15796
16208
  * `require("@axiom-lattice/open-mcp-client")` or a bare `NODE_PATH` pointing at
15797
- * `/root/.agents/sdk/node_modules` unless that layout is created too.
16209
+ * `<SANDBOX_SDK_ROOT>/node_modules` unless that layout is created too.
15798
16210
  */
15799
16211
  /** Minimal sandbox file surface required for provisioning. */
15800
16212
  interface ProvisionFileSink {
@@ -15824,7 +16236,7 @@ interface SandboxOpenClientBundle {
15824
16236
  version: string;
15825
16237
  }
15826
16238
  /**
15827
- * Write the Open MCP client bundle into the sandbox at `/root/.agents/sdk`.
16239
+ * Write the Open MCP client bundle into the sandbox at the configured SDK root.
15828
16240
  *
15829
16241
  * Idempotent: rewrites the same paths.
15830
16242
  *
@@ -15840,7 +16252,7 @@ interface SandboxOpenClientBundle {
15840
16252
  * version: "0.1.0",
15841
16253
  * });
15842
16254
  * // sandbox code loads it by absolute path:
15843
- * // const client = require("/root/.agents/sdk/open-mcp-client/index.js");
16255
+ * // const client = require("<SANDBOX_SDK_ROOT>/open-mcp-client/index.js");
15844
16256
  * ```
15845
16257
  *
15846
16258
  * @remarks
@@ -16168,7 +16580,8 @@ declare function buildConnectionPayload(args: ConnectionPayloadInput): Record<st
16168
16580
  /** Content version of the in-sandbox host server. Bump on any behavior change. */
16169
16581
  declare const PLUGIN_HOST_VERSION = "1.1.0";
16170
16582
  /**
16171
- * Self-contained Node HTTP server installed at `/root/.agents/.plugin-host/server.js`.
16583
+ * Self-contained Node HTTP server installed under the configured agents root
16584
+ * at `.plugin-host/server.js`.
16172
16585
  *
16173
16586
  * Serves `GET /health`, `GET /meta`, and `POST /invoke` (no in-host auth; the
16174
16587
  * service-key-authenticated proxy + loopback binding are the boundary). On
@@ -16191,7 +16604,7 @@ declare const PLUGIN_HOST_SERVER_SOURCE: string;
16191
16604
  declare function pluginHostContentHash(): string;
16192
16605
 
16193
16606
  /** Reserved directory for the tenant plugin host runtime. */
16194
- declare const PLUGIN_HOST_DIR = "/root/.agents/.plugin-host";
16607
+ declare const PLUGIN_HOST_DIR: string;
16195
16608
  /** Result of installing the in-sandbox plugin host server. */
16196
16609
  interface InstallPluginHostResult {
16197
16610
  /** Sandbox-visible path of the installed host server script. */
@@ -17478,4 +17891,4 @@ declare function parseDirectRoomType(projectId: string): "human" | "bot" | null;
17478
17891
  */
17479
17892
  declare function isDirectRoom(projectId: string): boolean;
17480
17893
 
17481
- 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 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, 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_TIMEOUT_MS, type HandlerEnvelope, type HostArgs, type IAgentRunLedger, type IMessageQueueStore, type IMetricsServerClient, INLINE_INPUT_LIMIT_BYTES, type ISqlDatabase, IdRemapper, type ImmediateDispatchPlan, type ImportApplyResolution, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAgentRunStore, InMemoryAgentWebAppStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryCapabilityBundleStore, InMemoryChannelInstallationStore, InMemoryChannelReplyJobStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryLeaseStore, InMemoryMenuStore, InMemoryModelProviderStore, InMemoryOpenAuditStore, InMemoryOutboxStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryProjectStore, InMemorySharedResourceStore, InMemoryStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type InstallPluginHostResult, 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, 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 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, ObservabilityDashboardUnavailableError, ObservabilityDashboardUnsupportedError, ObservabilityLatticeManager, type ObservabilityObservation, type ObservabilityObservationType, type ObservabilityProvider, type ObservabilityProviderCapabilities, type ObservabilityTraceContext, OutboxPoller, type OutboxPollerDeps, type OutputType, PACK_DIRECTORY_TIMEOUT_MS, PLATFORM_SECRET_ENV_VARS, PLUGIN_CATALOG_CHANGED_TOPIC, PLUGIN_HOST_DIR, PLUGIN_HOST_SERVER_SOURCE, PLUGIN_HOST_VERSION, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, 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 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_OPEN_GATEWAY_URL_ENV, SANDBOX_OPEN_TOKEN_ENV, 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 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, clearEncryptionKeyCache, clearEvalRunService, clearSandboxOpenCredentialProviderForTests, collectPluginSources, collectionLatticeManager, compileInternal, compileSandboxPlugin, compileWorkflow, computeSandboxName, configureCollectionSync, configureCoordinationLeaseStore, configurePluginCatalogSync, configureStores, connectAllChannels, connectionSecretFields, convertToConnection, createAgentNode, createCapabilityGuardMiddleware, 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, describeCronExpression, disconnectAllChannels, documentLearningPlugin, documentParserPlugin, embeddingProbeCandidates, embeddingsLatticeManager, encodeInput, encrypt, encryptConfigFields, ensureBuiltinAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAgentRunInputMessageIds, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, forgetTenantModelSupply, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateDirectBotProjectId, generateDirectHumanProjectId, generateToken, getAgentClient, getAgentClientAsync, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getCoordinationLeaseStore, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMcpUiScopeSecret, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, 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, invokeResident, invokeWithRetry, isBuiltInSkill, isDirectRoom, isEncryptedValue, isMcpConnectionError, isOfficialInterruptId, isPluginSkillAuthorizedInSandbox, isPluginSkillManagedInSandbox, isTaskRunLeaseHeld, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, jsonSchemaToZod, 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, queueLatticeManager, readContextWindow, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerExistingToolWithTenant, registerLoggerLattice, registerModelLattice, registerModelLatticeForTenant, registerObservabilityLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxOpenCredentialProvider, registerSandboxOpenGatewayUrlProvider, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, rememberTenantModelSupply, removeCollectionVectorStore, renderTemplate, resetReplicaIdForTests, resolveEmbeddingEndpoint, resolveEmbeddingShape, resolveEnabledPluginSkill, resolveHandlerTimeoutMs, resolveJudgeModelKey, resolveModelLatticeForTenant, resolveObservabilityCallbacks, resolvePath, resolvePluginConnections, resolveSandboxPluginConnections, 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 };
17894
+ 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 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_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, InMemoryPlatformInvitationStore, InMemoryPlatformMemberStore, InMemoryPlatformSettingsStore, InMemoryProjectBotMembershipStore, InMemoryProjectMembershipStore, InMemoryProjectRoomCoordinator, InMemoryProjectRoomMessageStore, InMemoryProjectRoomReadStateStore, InMemoryProjectRoomStore, InMemoryProjectStore, InMemorySharedResourceStore, InMemoryStore, InMemoryTaskStore, InMemoryTaskWorkItemStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserExternalIdentityStore, InMemoryUserPushSubscriptionStore, InMemoryUserStore, InMemoryUserTenantLinkStore, 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 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, PLATFORM_SECRET_ENV_VARS, PLUGIN_CATALOG_CHANGED_TOPIC, PLUGIN_HOST_DIR, PLUGIN_HOST_SERVER_SOURCE, PLUGIN_HOST_VERSION, type PackSourceInfo, type PendingMessage, PersonalAssistantConfig, 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, 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, describeCronExpression, disconnectAllChannels, documentLearningPlugin, documentParserPlugin, embeddingProbeCandidates, embeddingsLatticeManager, encodeInput, encrypt, encryptConfigFields, ensureBuiltinAgentsForTenant, ensurePluginSkillInSandbox, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, executionAuthorityRegistry, extractAgentRunInputMessageIds, extractAppsRef, extractFetcherError, extractLegacyRefs, extractOutput, fileDataToString, forgetTenantModelSupply, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, 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, 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, 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, queueLatticeManager, readContextWindow, readLoopBreakerConfig, reconcileAllTenantTaskRuns, reconcileStaleTaskRuns, reconcileTenantTaskRuns, 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, renderTemplate, resetReplicaIdForTests, resolveEmbeddingEndpoint, resolveEmbeddingShape, resolveEnabledPluginSkill, resolveHandlerTimeoutMs, resolveJudgeModelKey, resolveModelLatticeForTenant, resolveObservabilityCallbacks, resolvePath, resolvePluginConnections, 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 };