memeloop 0.2.4 → 0.2.5
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/browser.d.cts +26 -21
- package/dist/browser.d.ts +26 -21
- package/dist/chunk-4OITUYFC.js +37 -0
- package/dist/chunk-4OITUYFC.js.map +1 -0
- package/dist/{chunk-HY3U3GLE.js → chunk-5EUJNLVW.js} +1 -1
- package/dist/chunk-5EUJNLVW.js.map +1 -0
- package/dist/{chunk-KXVZQLJL.js → chunk-645GZGNM.js} +3 -2
- package/dist/chunk-645GZGNM.js.map +1 -0
- package/dist/{chunk-EPHRIRAL.js → chunk-6OLAL5CW.js} +16 -1
- package/dist/chunk-6OLAL5CW.js.map +1 -0
- package/dist/{chunk-LGUGYRR4.js → chunk-HVLCOJWI.js} +11 -6
- package/dist/{chunk-LGUGYRR4.js.map → chunk-HVLCOJWI.js.map} +1 -1
- package/dist/{chunk-5VYZV33O.js → chunk-KTZDDC7M.js} +64 -79
- package/dist/chunk-KTZDDC7M.js.map +1 -0
- package/dist/{chunk-K5KZJNDP.js → chunk-ROPAEJIM.js} +2 -2
- package/dist/{chunk-XNSJRDCW.js → chunk-UB77WKAU.js} +202 -344
- package/dist/chunk-UB77WKAU.js.map +1 -0
- package/dist/{chunk-KV6TC5UJ.js → chunk-XIEXGFPY.js} +3 -3
- package/dist/conversation.d.cts +4 -3
- package/dist/conversation.d.ts +4 -3
- package/dist/device-network-portable.cjs +2 -1
- package/dist/device-network-portable.cjs.map +1 -1
- package/dist/device-network-portable.d.cts +9 -7
- package/dist/device-network-portable.d.ts +9 -7
- package/dist/device-network-portable.js +1 -1
- package/dist/device-network.cjs +17 -1
- package/dist/device-network.cjs.map +1 -1
- package/dist/device-network.d.cts +6 -5
- package/dist/device-network.d.ts +6 -5
- package/dist/device-network.js +2 -2
- package/dist/{fetchProvider-B_vva3b3.d.ts → fetchProvider-Do8Hf1BN.d.ts} +1 -1
- package/dist/{fetchProvider-Bz4CE3_R.d.cts → fetchProvider-tMo6gc6N.d.cts} +1 -1
- package/dist/index.cjs +336 -438
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -26
- package/dist/index.d.ts +20 -26
- package/dist/index.js +29 -46
- package/dist/index.js.map +1 -1
- package/dist/{interface-3C3eG8Hn.d.cts → interface-C54gkLA3.d.ts} +3 -110
- package/dist/{interface-3C3eG8Hn.d.ts → interface-CECFnbzR.d.cts} +3 -110
- package/dist/llm-providers.cjs.map +1 -1
- package/dist/llm-providers.d.cts +3 -2
- package/dist/llm-providers.d.ts +3 -2
- package/dist/llm-providers.js +1 -1
- package/dist/llm-providers.js.map +1 -1
- package/dist/loop-api.cjs +81 -82
- package/dist/loop-api.cjs.map +1 -1
- package/dist/loop-api.d.cts +8 -7
- package/dist/loop-api.d.ts +8 -7
- package/dist/loop-api.js +5 -5
- package/dist/mobile.cjs +10 -5
- package/dist/mobile.cjs.map +1 -1
- package/dist/mobile.d.cts +6 -5
- package/dist/mobile.d.ts +6 -5
- package/dist/mobile.js +3 -3
- package/dist/{orchestration-portable-DUoAjtD1.d.ts → orchestration-portable-CQRrnoEw.d.ts} +5 -4
- package/dist/{orchestration-portable-xJ7z-ctw.d.cts → orchestration-portable-D4KBEYQb.d.cts} +5 -4
- package/dist/orchestration-portable.cjs +201 -343
- package/dist/orchestration-portable.cjs.map +1 -1
- package/dist/orchestration-portable.d.cts +6 -5
- package/dist/orchestration-portable.d.ts +6 -5
- package/dist/orchestration-portable.js +1 -1
- package/dist/{pairingInvite-C12n-7Ak.d.cts → pairingInvite-BmCQ-bHt.d.cts} +3 -3
- package/dist/{pairingInvite-CPQkuhLQ.d.ts → pairingInvite-CsfsexXC.d.ts} +3 -3
- package/dist/{promptConcat-VLe5SEN4.d.cts → promptConcat-BqImJtVh.d.cts} +7 -4
- package/dist/{promptConcat-CUEIA_3T.d.ts → promptConcat-C5SEgESi.d.ts} +7 -4
- package/dist/{providerRegistry-CaFK_aUd.d.ts → providerRegistry-BGrwd7Zl.d.cts} +2 -2
- package/dist/{providerRegistry-BDGGs5gz.d.cts → providerRegistry-Bs2lJpj9.d.ts} +2 -2
- package/dist/{registry-DNSEVYug.d.cts → registry-CelnriUR.d.cts} +3 -3
- package/dist/{registry-yGnYHWhq.d.ts → registry-DVv_RVPZ.d.ts} +3 -3
- package/dist/{remoteClient-DwBCoHpc.d.ts → remoteClient-D1gPizds.d.ts} +1 -1
- package/dist/{remoteClient-DFIyCZEv.d.cts → remoteClient-DxCHC4_Z.d.cts} +1 -1
- package/dist/{runtime-6EELHWVB.js → runtime-SASMRN4I.js} +3 -3
- package/dist/{scriptDeploymentPipeline-B1q-UhrO.d.ts → scriptDeploymentPipeline-CdDLEDMS.d.cts} +10 -1
- package/dist/{scriptDeploymentPipeline-XJzQyYys.d.cts → scriptDeploymentPipeline-DU6sor6Y.d.ts} +10 -1
- package/dist/{syncCloudDevices-C8fCUhnX.d.ts → syncCloudDevices-3RmB41sA.d.cts} +6 -2
- package/dist/{syncCloudDevices-BFw_c1g5.d.cts → syncCloudDevices-CSLbMESm.d.ts} +6 -2
- package/dist/tools.cjs +63 -0
- package/dist/tools.cjs.map +1 -0
- package/dist/tools.d.cts +12 -0
- package/dist/tools.d.ts +12 -0
- package/dist/tools.js +7 -0
- package/dist/tools.js.map +1 -0
- package/dist/{types-CcFFIk8W.d.ts → types-C29NBZ2w.d.ts} +1 -1
- package/dist/types-CcoJ_fdH.d.cts +110 -0
- package/dist/types-CcoJ_fdH.d.ts +110 -0
- package/dist/{types-C8gnhG9M.d.cts → types-D1rAJy9l.d.cts} +1 -1
- package/package.json +6 -1
- package/dist/chunk-5VYZV33O.js.map +0 -1
- package/dist/chunk-EPHRIRAL.js.map +0 -1
- package/dist/chunk-HY3U3GLE.js.map +0 -1
- package/dist/chunk-KXVZQLJL.js.map +0 -1
- package/dist/chunk-XNSJRDCW.js.map +0 -1
- /package/dist/{chunk-K5KZJNDP.js.map → chunk-ROPAEJIM.js.map} +0 -0
- /package/dist/{chunk-KV6TC5UJ.js.map → chunk-XIEXGFPY.js.map} +0 -0
- /package/dist/{runtime-6EELHWVB.js.map → runtime-SASMRN4I.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { a2 as findPromptById } from './promptConcat-
|
|
2
|
-
export { A as AGENT_AGENT_LOOP_ID, a as AGENT_TOOL_LOOP_ID, b as AgentAgentBatchRunInput, c as AgentAgentBatchRunResult, d as AgentAgentConfigEntry, e as AgentAgentContext, f as AgentAgentDescriptor, g as AgentAgentFormatResultsOptions, h as AgentAgentLoopContext, i as AgentAgentLoopScript, j as AgentAgentLoopScriptArguments, k as AgentAgentLoopScriptReference, l as AgentAgentRunAgentFailure, m as AgentAgentRunAgentInput, n as AgentAgentRunAgentResult, o as AgentAgentScriptContext, p as AgentToolLoopContext, q as AgentToolLoopIterationGenerator, r as AgentToolLoopIterationResult, s as AgentToolLoopScript, t as AgentToolLoopScriptContext, u as AgentToolLoopScriptReference, v as AgentToolLoopState, w as AgentToolLoopTurnStartResult, B as BUILTIN_AGENT_AGENT_LOOP_ARTIFACT_RESOURCE_LIFECYCLE_SCRIPT_ID, x as BUILTIN_AGENT_AGENT_LOOP_DECLARATIVE_AGENT_RUN_SCRIPT_ID, y as BUILTIN_AGENT_AGENT_LOOP_QUALITY_GATE_SCRIPT_ID, z as BUILTIN_AGENT_TOOL_LOOP_DEFAULT_SCRIPT_ID, C as BUILTIN_TOOL_PLUGIN_IDS, D as CompactionOptions, E as CompactionResult, H as HookRegistry, L as LoadAgentAgentLoopScriptOptions, F as LoadAgentToolLoopScriptOptions, G as LoopRegistryImpl, P as PLUGIN_ASK_QUESTION, I as PLUGIN_ASK_USER_QUESTION, J as PLUGIN_MCP_CLIENT, K as PLUGIN_MCP_FORWARD, M as PLUGIN_ORCHESTRATION, N as PLUGIN_REMOTE_AGENT, O as PLUGIN_SPAWN_AGENT, Q as PLUGIN_TASK, R as PLUGIN_TODO_WRITE, S as PromptConcatPluginPreview, T as PromptConcatStreamState, U as TokenTracker, V as autoCompact, W as builtinAgentAgentLoopSources, X as builtinAgentToolLoopSources, Y as clearHooks, Z as compactMessages, _ as createAgentAgentLoopDefinition, $ as createAgentToolLoopDefinition, a0 as createAgentToolLoopRunner, a1 as executeHooks, a3 as flattenPrompts, a4 as getAgentAgentLoopId, a5 as getBuiltinAgentAgentLoopSource, a6 as getBuiltinAgentToolLoopSource, a7 as getBuiltinToolPlugins, a8 as getDefaultHookRegistry, a9 as getHookCount, aa as getLoopRegistry, ab as hasHooks, ac as listRegisteredHookTypes, ad as loadAgentAgentLoopScript, ae as loadAgentToolLoopScript, af as promptConcatStream, ag as registerBuiltinLoops, ah as registerBuiltinPromptPlugins, ai as registerBuiltinToolPlugins, aj as registerHook, ak as resetLoopRegistry, al as shouldCompact, am as unregisterHook } from './promptConcat-
|
|
3
|
-
export { F as FetchLLMChatRequest, e as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, h as resolveFetchLLMCallSettings, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
1
|
+
import { a2 as findPromptById } from './promptConcat-BqImJtVh.cjs';
|
|
2
|
+
export { A as AGENT_AGENT_LOOP_ID, a as AGENT_TOOL_LOOP_ID, b as AgentAgentBatchRunInput, c as AgentAgentBatchRunResult, d as AgentAgentConfigEntry, e as AgentAgentContext, f as AgentAgentDescriptor, g as AgentAgentFormatResultsOptions, h as AgentAgentLoopContext, i as AgentAgentLoopScript, j as AgentAgentLoopScriptArguments, k as AgentAgentLoopScriptReference, l as AgentAgentRunAgentFailure, m as AgentAgentRunAgentInput, n as AgentAgentRunAgentResult, o as AgentAgentScriptContext, p as AgentToolLoopContext, q as AgentToolLoopIterationGenerator, r as AgentToolLoopIterationResult, s as AgentToolLoopScript, t as AgentToolLoopScriptContext, u as AgentToolLoopScriptReference, v as AgentToolLoopState, w as AgentToolLoopTurnStartResult, B as BUILTIN_AGENT_AGENT_LOOP_ARTIFACT_RESOURCE_LIFECYCLE_SCRIPT_ID, x as BUILTIN_AGENT_AGENT_LOOP_DECLARATIVE_AGENT_RUN_SCRIPT_ID, y as BUILTIN_AGENT_AGENT_LOOP_QUALITY_GATE_SCRIPT_ID, z as BUILTIN_AGENT_TOOL_LOOP_DEFAULT_SCRIPT_ID, C as BUILTIN_TOOL_PLUGIN_IDS, D as CompactionOptions, E as CompactionResult, H as HookRegistry, L as LoadAgentAgentLoopScriptOptions, F as LoadAgentToolLoopScriptOptions, G as LoopRegistryImpl, P as PLUGIN_ASK_QUESTION, I as PLUGIN_ASK_USER_QUESTION, J as PLUGIN_MCP_CLIENT, K as PLUGIN_MCP_FORWARD, M as PLUGIN_ORCHESTRATION, N as PLUGIN_REMOTE_AGENT, O as PLUGIN_SPAWN_AGENT, Q as PLUGIN_TASK, R as PLUGIN_TODO_WRITE, S as PromptConcatPluginPreview, T as PromptConcatStreamState, U as TokenTracker, V as autoCompact, W as builtinAgentAgentLoopSources, X as builtinAgentToolLoopSources, Y as clearHooks, Z as compactMessages, _ as createAgentAgentLoopDefinition, $ as createAgentToolLoopDefinition, a0 as createAgentToolLoopRunner, a1 as executeHooks, a3 as flattenPrompts, a4 as getAgentAgentLoopId, a5 as getBuiltinAgentAgentLoopSource, a6 as getBuiltinAgentToolLoopSource, a7 as getBuiltinToolPlugins, a8 as getDefaultHookRegistry, a9 as getHookCount, aa as getLoopRegistry, ab as hasHooks, ac as listRegisteredHookTypes, ad as loadAgentAgentLoopScript, ae as loadAgentToolLoopScript, af as promptConcatStream, ag as registerBuiltinLoops, ah as registerBuiltinPromptPlugins, ai as registerBuiltinToolPlugins, aj as registerHook, ak as resetLoopRegistry, al as shouldCompact, am as unregisterHook } from './promptConcat-BqImJtVh.cjs';
|
|
3
|
+
export { F as FetchLLMChatRequest, e as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, h as resolveFetchLLMCallSettings, d as runAgentToolLoopTurn } from './fetchProvider-tMo6gc6N.cjs';
|
|
4
4
|
import { IMChannelManager } from './browser.cjs';
|
|
5
5
|
export { AgentConversationClient, AgentCreationController, AgentCreationControllerOptions, AgentCreationState, AgentDefinitionEditorController, AgentDefinitionEditorControllerOptions, AgentDefinitionEditorState, AgentDefinitionRepository, AgentInstanceClient, AgentRuntimeDeviceRpcHandlerOptions, AgentRuntimeView, AgentSessionController, AgentSessionControllerOptions, AgentSessionListener, AgentSessionSnapshot, AgentUpdateListener, ArchiveEntry, ArchiveLimits, BindWorkerSessionRequest, BindingControllerOptions, BoundedCollector, ControlStoreAuditTelemetryAdapterOptions, ControlStoreOrchestrationClientOptions, ControlStorePolicyApprovalAdapterOptions, Controller, ControllerReconcileRequest, ControllerReconcileResult, ControllerRunnerHandle, ControllerRunnerOptions, CreateScheduledTaskInput, CreationStateListener, CredentialBrokerEndpoint, CredentialGrantBindingControllerOptions, CredentialGrantExecutionControllerOptions, CredentialGrantLifecycleControllerOptions, CredentialGrantPlacementRequirements, CredentialHandleVault, DriverFixture, EditorStateChange, EditorStateListener, ExternalDriverCapabilities, ExternalOrchestrationControllerHandle, ExternalOrchestrationControllerOptions, ExternalOrchestrationDriver, ExternalPlacementResult, ExternalRuntimeResult, ExternalStatusResult, ExternalToolContract, ExternalWorkerBootstrapSecret, ExternalWorkloadPlacementContext, ExternalWorkloadRuntimeContract, FLEET_ROLLOUT_API_VERSION, FLEET_ROLLOUT_KIND, FleetRolloutControllerOptions, FleetRolloutResource, FleetRolloutSpec, FleetRolloutStatus, GatewayHttpRequest, GatewayRateLimiter, GatewayValidationContext, GatewayValidationResult, IIMAdapter, IIMMessageRenderer, IdentityPromotionRequest, IdentityRevocationReason, IdentityRevocationRecord, ImAgentDriver, ImInboundMessage, ImSlashCommandContext, ImStreamFlush, ImToolsRuntime, ImWebhookContext, IssueWorkloadCapabilityGrantRequest, LOOP_CHECKPOINT_API_VERSION, LOOP_CHECKPOINT_KIND, LocalModelAdvertisement, LocalModelAdvertisementOptions, LoopCheckpointResource, LoopCheckpointSpec, ManagedArtifactDriverAdapterOptions, ManagedStorageAdapterStateStore, ManagedStorageDriverAdapterOptions, ManagedToolExecutionRoute, ManagedToolExecutionRouteOptions, ManagedToolPolicyDecision, ManagedWorkerIdentityAdapterOptions, ManagedWorkerIdentityRequestFactoryInput, ManagedWorkerIdentityRoute, ModelEndpointBindingControllerOptions, ModelEndpointRegistrarHandle, ModelEndpointRegistrarOptions, ModelEndpointTrust, ModelSelectionRequirements, NODE_API_VERSION, NODE_KIND, NetworkAttachmentBindingControllerOptions, NetworkAttachmentExecutionControllerOptions, NetworkAttachmentNode, NodeSpec, NodeStatus, PEER_DRIVER_PROTOCOL_VERSION, PeerDriverAssignment, PeerDriverRequestContext, PeerDriverScope, PeerDriverStatus, PeerDriverTransportOptions, PolicyEvaluation, PreviewDialogListener, PromptPreviewClient, PromptPreviewController, PromptPreviewControllerOptions, PromptPreviewDialogState, PromptPreviewProgress, PromptPreviewResult, QuarantineGatewayPolicy, QuorumControlStore, QuorumControlStoreOptions, QuorumControlStoreSnapshot, QuorumMember, QuorumTopology, RecordedInteraction, RegisteredExternalOrchestrationDriver, ReplicationAction, ReplicationContext, ReplicationControllerDeps, ReplicationNode, ReplicationResult, ReplicationSnapshot, ReplicationTransport, RolloutEvidenceEntry, RolloutStrategy, RolloutTarget, RunVolumeControllerOptions, SanitizedText, SanitizerFinding, ScheduleEditorState, ScheduledTask, ScheduledTaskClient, Scheduler, SchedulerNode, SchedulingDecision, SecretRedactionOptions, SelectableModelEndpoint, SignedWorkerBootstrapSessionDescriptor, StorageDriver, StorageDriverCapabilities, StorageDriverEndpoint, StorageProvisionRequest, StorageProvisionResult, StoragePublishRequest, StoragePublishResult, TOOL_OPERATION_CONDITION_EFFECT_UNKNOWN, TargetUpdateResult, TargetUsage, TextMessageRenderer, TiddlyWikiHttpStorage, TiddlyWikiHttpStorageOptions, ToolAdmissionDecision, ToolExecutorSelection, ToolOperationBindingControllerOptions, ToolOperationExecutionController, ToolOperationExecutionControllerOptions, UnknownEffectAction, UnknownEffectDecision, UnknownEffectEvidence, VerifierOnlyTransitionOptions, VolumeClaimBindingControllerOptions, VolumeClaimExecutionControllerOptions, WORKER_ENROLLMENT_API_VERSION, WORKER_ENROLLMENT_KIND, WORKER_PROTOCOL_METHODS, WORKER_PROTOCOL_VERSION, WORKER_SESSION_API_VERSION, WORKER_SESSION_KIND, WORKLOAD_CAPABILITY_GRANT_API_VERSION, WORKLOAD_CAPABILITY_GRANT_KIND, WikiTiddlerAttachment, WikiTiddlerClickData, WorkerBootstrapSessionDescriptor, WorkerEnrollmentResource, WorkerEnrollmentSpec, WorkerEnrollmentStatus, WorkerGatewaySession, WorkerProtocolAuditEvent, WorkerProtocolGatewayOptions, WorkerProtocolMethod, WorkerProtocolReplayProtector, WorkerProtocolRequest, WorkerProtocolResponse, WorkerRunBinding, WorkerSessionResource, WorkerSessionSpec, WorkerSessionStatus, WorkloadCapabilityBudget, WorkloadCapabilityGrantRequirements, WorkloadCapabilityGrantResource, WorkloadCapabilityGrantSpec, WorkloadCapabilityGrantStatus, WorkloadExecutionControllerHandle, WorkloadExecutionControllerOptions, applyUnknownEffectDecision, assertExternalToolContracts, assertExternalToolOperationContract, assertExternalToolOperationResult, assertExternalWorkloadRuntimeContracts, assertSafeArchivePath, bindWorkerSession, canonicalWorkerBootstrapDescriptorBytes, canonicalWorkerProtocolRequestBytes, canonicalWorkloadCapabilityGrantBytes, consumeWorkloadCapabilityGrant, containsSecrets, createAdoptionTests, createAgentRuntimeDeviceRpcHandler, createAuditRecordAuthorizer, createBackpressureTests, createBindingController, createBoundedCollector, createCancellationTests, createCapabilityNegotiationTests, createCapacityScheduler, createControlStoreArtifactReviewWriter, createControlStoreAuditTelemetryAdapter, createControlStoreLoopCheckpointStore, createControlStoreOrchestrationClient, createControlStorePolicyApprovalAdapter, createControllerRunner, createCredentialGrantBindingController, createCredentialGrantExecutionController, createCredentialGrantLifecycleController, createDowngradeTests, createExternalOrchestrationController, createFencingTests, createFleetRolloutController, createGatewayRateLimiter, createIdempotencyTests, createInMemoryWorkerReplayProtector, createManagedArtifactDriverAdapter, createManagedStorageDriverAdapter, createManagedToolDescriptors, createManagedToolExecutionRoute, createManagedWorkerIdentityAdapter, createMinimalExternalRuntimeToolContracts, createModelEndpointBindingController, createModelEndpointRegistrar, createNetworkAttachmentBindingController, createNetworkAttachmentExecutionController, createNodeTrustAuthorizer, createPeerDriverRpcHandler, createPeerDriverTransport, createPolicyDecisionAuthorizer, createRecordingDriver, createReplayingDriver, createReplicationController, createRunVolumeController, createSecurityTests, createToolOperationBindingController, createToolOperationExecutionController, createVerifierOnlyAuthorizer, createVolumeClaimBindingController, createVolumeClaimExecutionController, createWorkerEnrollmentManifest, createWorkerProtocolGateway, createWorkerRevocationList, createWorkerSessionManifest, createWorkloadCapabilityGrantManifest, createWorkloadExecutionController, defaultAdmissionPolicyForTrustClass, defaultPermissionActionForTrustClass, describeLocalModelEndpoints, detectMimeConfusion, enrollWorker, evaluateToolAdmission, imPlatformMaxMessageChars, imSwitchConversation, imToolDefinitions, isIdentityRevoked, isNodeAllowedForRole, isPrivateIp, isVerifierActor, isWorkerEnrollment, isWorkerSession, isWorkerSessionValid, isWorkloadCapabilityGrant, issueWorkloadCapabilityGrant, negotiateCapabilities, parseExternalRuntimeResult, pickAdapter, planReplicaPlacement, promoteIdentity, reconcileUnknownEffect, reconcileVolumeReplication, redactSecrets, resolveAdmissionPolicy, resolveExternalWorkloadResources, resolveExternalWorkloadRuntime, revokeCredentialGrant, revokeQuarantineIdentity, revokeWorkerSession, sanitizeMarkup, sanitizeTerminalText, scanForPromptInjection, selectModelEndpoint, selectToolExecutor, storageDriverSatisfiesClass, streamRuntimeAgentReplyToIm, sumEvidenceUsage, tryHandleImSlashCommand, validateArchiveManifest, validateGatewayRequest, validateNodeSpec, validateRedirectTarget, verifyWorkloadCapabilityGrant } from './browser.cjs';
|
|
6
|
-
import { D as ToolApprovalConfig, E as ApprovalDecision, F as ToolApprovalRequest, m as IToolRegistry, P as PromptConcatTool, G as PromptConcatHookContext, H as DefineToolAgentFrameworkContext, J as PostProcessContext, K as AIResponseContext, w as ToolCallingMatch, N as PromptConcatHooks } from './scriptDeploymentPipeline-
|
|
7
|
-
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, V as AIStreamResponseSubset, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, B as AgentClient, A as AgentFrameworkContext, a as AgentInstance, b as AgentInstanceLatestStatus, a as AgentInstanceModel, c as AgentInstanceState, d as AgentLoopDefinition, e as AgentLoopGenerator, f as AgentLoopInput, g as AgentLoopRuntime, h as AgentLoopScriptPolicy, i as AgentLoopStep, _ as AgentResponse, $ as AgentRunCondition, a0 as AgentRunManifest, a1 as AgentRunResource, a2 as AgentRunSpec, a3 as AgentRunStatus, a4 as AgentSnapshotManifest, a5 as AgentSnapshotResource, a6 as AgentSnapshotSpec, a7 as AgentSnapshotStatus, a8 as AgentStatusContext, j as AgentToolLoopOptions, a9 as AgentTrustLevel, aa as AgentVolumeClaimManifest, ab as AgentVolumeClaimResource, ac as AgentVolumeClaimSpec, ad as AgentVolumeClaimStatus, ae as AgentVolumeManifest, af as AgentVolumeReplicaStatus, ag as AgentVolumeResource, ah as AgentVolumeSpec, ai as AgentVolumeStatus, aj as AgentWorkloadCompletionPolicy, ak as AgentWorkloadCondition, al as AgentWorkloadCredentialPolicy, am as AgentWorkloadManifest, an as AgentWorkloadModelPolicy, ao as AgentWorkloadNetworkPolicy, ap as AgentWorkloadPlacement, aq as AgentWorkloadResource, ar as AgentWorkloadResourceRequirements, as as AgentWorkloadSpec, at as AgentWorkloadStatus, au as AgentWorkloadStoragePolicy, av as AgentWorkloadToolPolicy, aw as AgentWorkloadVolumeClaim, ax as ArtifactDestination, ay as ArtifactRecordManifest, az as ArtifactRecordResource, aA as ArtifactRecordSpec, aB as ArtifactRecordStatus, aC as ArtifactReviewEvidence, aD as ArtifactReviewKind, aE as ArtifactTrust, aF as AuditRecordManifest, aG as AuditRecordResource, aH as AuditRecordSpec, aI as BUILTIN_RUNTIME_CLASSES, aJ as BaseToolContext, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, aM as CheckpointRecord, aN as CheckpointStore, aO as CheckpointSummary, aP as ControlLeaseGrant, aQ as ControlLeaseIdentity, aR as ControlLeaseRequest, aS as ControlStore, aT as ControlStoreActor, aU as ControlStoreApplyOptions, aV as ControlStoreAuthorizationRequest, aW as ControlStoreAuthorizer, aX as ControlStoreCompactionResult, aY as ControlStoreCreateOptions, aZ as ControlStoreHealth, a_ as ControlStoreSnapshotResult, a$ as ControlStoreStatusUpdateOptions, b0 as ControlStoreVerb, b1 as CreateAgentRunOptions, b2 as CreateAgentWorkloadOptions, b3 as CredentialGrantManifest, b4 as CredentialGrantResource, b5 as CredentialGrantSpec, b6 as CredentialGrantStatus, b7 as DRIVER_MANIFEST_API_VERSION, b8 as DRIVER_MANIFEST_KIND, b9 as DataClassification, ba as DriverManifestConformance, bb as DriverManifestManifest, bc as DriverManifestResource, bd as DriverManifestSpec, be as DriverManifestStatus, bf as FrameworkPluginToolConfig, bg as HookSlot, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, bh as InfrastructureDriverType, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, bi as MODEL_CALL_RECORD_API_VERSION, bj as MODEL_CALL_RECORD_KIND, bk as MODEL_CLASS_API_VERSION, bl as MODEL_CLASS_KIND, bm as MODEL_ENDPOINT_API_VERSION, bn as MODEL_ENDPOINT_KIND, M as MemeLoopLogger, bo as ModelCallRecordManifest, bp as ModelCallRecordResource, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, bs as ModelClassCapabilities, bt as ModelClassManifest, bu as ModelClassResource, bv as ModelClassSpec, bw as ModelClassStatus, bx as ModelEndpointManifest, by as ModelEndpointResource, bz as ModelEndpointSpec, bA as ModelEndpointStatus, bB as ModelModality, bC as NETWORK_ATTACHMENT_API_VERSION, bD as NETWORK_ATTACHMENT_KIND, bE as NETWORK_CLASS_API_VERSION, bF as NETWORK_CLASS_KIND, bG as NetworkAttachmentManifest, bH as NetworkAttachmentResource, bI as NetworkAttachmentSpec, bJ as NetworkAttachmentStatus, bK as NetworkClassManifest, bL as NetworkClassResource, bM as NetworkClassSpec, bN as NetworkClassStatus, bO as NetworkEgressRule, bP as NodeTrustClass, bQ as POLICY_DECISION_API_VERSION, bR as POLICY_DECISION_KIND, bS as PersistedPolicyDecisionKind, bT as PolicyDecisionManifest, bU as PolicyDecisionResource, bV as PolicyDecisionSpec, bW as PolicyDecisionStatus, bX as RemoteDeploymentRequest, bY as RemoteDeploymentResult, bZ as RemoteDeploymentWorkloadOptions, b_ as RuntimeClassResource, b$ as RuntimeClassSpec, c0 as SECURITY_PROFILE_API_VERSION, c1 as SECURITY_PROFILE_KIND, c2 as SNAPSHOT_API_VERSION, c3 as SNAPSHOT_KIND, c4 as STORAGE_CLASS_API_VERSION, c5 as STORAGE_CLASS_KIND, c6 as SandboxSelectionResult, c7 as ScriptAdmissionDecision, c8 as ScriptAdmissionRequest, c9 as ScriptArtifactReference, ca as ScriptArtifactStore, C as ScriptDeploymentClient, cb as ScriptDeploymentClientConfig, cc as ScriptDeploymentClientRequest, cd as ScriptDeploymentPipelineOptions, ce as ScriptDeploymentRequest, cf as ScriptDeploymentResult, S as ScriptLoadGate, cg as ScriptLoadGateConfig, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, ch as ScriptTrustClass, ci as ScriptValidationResult, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, cn as SessionStorage, co as StorageClassManifest, cp as StorageClassResource, cq as StorageClassSpec, cr as StorageClassStatus, cs as TOOL_CLASS_API_VERSION, ct as TOOL_CLASS_KIND, cu as TOOL_EXECUTOR_API_VERSION, cv as TOOL_EXECUTOR_KIND, cw as TOOL_OPERATION_API_VERSION, cx as TOOL_OPERATION_KIND, T as TOOL_PARAMETER_PARSE_ERROR_KEY, cy as TapAsyncHandler, cz as ToolActions, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cD as ToolApprovalMode, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, cJ as ToolExecutionContext, cK as ToolExecutorCapability, cL as ToolExecutorManifest, cM as ToolExecutorResource, cN as ToolExecutorSpec, cO as ToolExecutorStatus, cP as ToolOperationApprovalEvidence, z as ToolOperationEffect, cQ as ToolOperationManifest, cR as ToolOperationPolicy, cS as ToolOperationResource, cT as ToolOperationResult, cU as ToolOperationRetryPolicy, cV as ToolOperationSpec, cW as ToolOperationStatus, cX as ToolOperationToolReference, cY as ToolRiskLevel, cZ as UserMessageContext, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d3 as WaitForConditionOptions, d4 as YieldNextRoundTarget, d5 as admitScript, d6 as agentRunReference, d7 as agentWorkloadReference, d8 as canonicalControlStoreValue, d9 as controlStoreApplyMatches, da as createAgentClient, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, df as createCheckpointRecord, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, u as createInstanceDeltaFromDefinition, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dp as createScriptDeploymentClient, dq as createScriptLoadGate, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, dz as defaultRequestedInterfacesForTrustClass, dA as deployGeneratedScript, dB as digestNormalizedScript, dC as isAgentRun, dD as isAgentWorkload, dE as isArtifactRecord, dF as isAuditRecord, dG as isCredentialGrant, dH as isDriverManifest, dI as isDriverManifestAdmitted, dJ as isModelCallRecord, dK as isModelClass, dL as isModelEndpoint, dM as isNetworkAttachment, dN as isNetworkClass, dO as isPolicyDecision, dP as isSecurityProfile, dQ as isSnapshot, dR as isStorageClass, dS as isToolClass, dT as isToolExecutor, dU as isToolOperation, v as isUserInitiatedConversation, dV as isVolume, dW as isVolumeClaim, x as matchAllToolCallings, y as matchToolCalling, dX as maxScriptBytesForTrustClass, dY as normalizeScript, dZ as parseCheckpointRecord, d_ as remoteDeploymentToWorkloadManifest, d$ as selectRuntimeClass, e0 as serializeCheckpointRecord, e1 as validateScript, e2 as waitForCondition } from './scriptDeploymentPipeline-
|
|
8
|
-
import { M as MemeLoopRuntime } from './registry-
|
|
9
|
-
export { A as ALL_CATEGORIES, a as AgentProfileRegistry, b as AgentStartData, c as AgentStopData, C as CategoryConfig, d as ContextCompactionData, e as CreateAgentLoopRunnerOptions, f as CreateAgentOptions, H as HookContext, g as HookHandler, h as HookResult, i as HookType, L as LoadPluginModuleOptions, j as LoadedPlugin, k as MergedPermissions, P as PERMISSIONS_TABLE_DDL, l as PermissionAction, m as PermissionRule, n as PermissionSet, o as PermissionSqlDatabase, p as PermissionSqlStatement, q as PluginAPI, r as PluginAPIOptions, s as PluginExports, t as PluginManifest, u as PluginModule, v as PostToolUseData, w as PreToolUseData, S as SendMessageOptions, T as TaskCategory, U as UserPromptSubmitData, x as checkPermission, y as clearPluginRegistrations, z as createAgentLoopRunner, B as createAgentLoopScriptRunner, D as createAgentProfileRunner, E as createMemeLoopRuntime, F as createPluginAPI, G as getAgentProfileRegistry, I as getCategoryConfig, J as getLoadedPlugin, K as getPluginRegistrations, N as isPluginLoaded, O as isTaskCategory, Q as listPlugins, R as loadPluginModule, V as loadPluginModules, W as loadUserPermissions, X as matchPattern, Y as mergePermissionSets, Z as registerPluginHooks, _ as registerPluginTools, $ as resetAgentProfileRegistry, a0 as resolveCategory, a1 as saveUserPermissions, a2 as unloadAllPlugins, a3 as unloadPlugin, a4 as validatePluginManifest } from './registry-
|
|
6
|
+
import { D as ToolApprovalConfig, E as ApprovalDecision, F as ToolApprovalRequest, m as IToolRegistry, P as PromptConcatTool, G as PromptConcatHookContext, H as DefineToolAgentFrameworkContext, J as PostProcessContext, K as AIResponseContext, w as ToolCallingMatch, N as PromptConcatHooks } from './scriptDeploymentPipeline-CdDLEDMS.cjs';
|
|
7
|
+
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, V as AIStreamResponseSubset, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, B as AgentClient, A as AgentFrameworkContext, a as AgentInstance, b as AgentInstanceLatestStatus, a as AgentInstanceModel, c as AgentInstanceState, d as AgentLoopDefinition, e as AgentLoopGenerator, f as AgentLoopInput, g as AgentLoopRuntime, h as AgentLoopScriptPolicy, i as AgentLoopStep, _ as AgentResponse, $ as AgentRunCondition, a0 as AgentRunManifest, a1 as AgentRunResource, a2 as AgentRunSpec, a3 as AgentRunStatus, a4 as AgentSnapshotManifest, a5 as AgentSnapshotResource, a6 as AgentSnapshotSpec, a7 as AgentSnapshotStatus, a8 as AgentStatusContext, j as AgentToolLoopOptions, a9 as AgentTrustLevel, aa as AgentVolumeClaimManifest, ab as AgentVolumeClaimResource, ac as AgentVolumeClaimSpec, ad as AgentVolumeClaimStatus, ae as AgentVolumeManifest, af as AgentVolumeReplicaStatus, ag as AgentVolumeResource, ah as AgentVolumeSpec, ai as AgentVolumeStatus, aj as AgentWorkloadCompletionPolicy, ak as AgentWorkloadCondition, al as AgentWorkloadCredentialPolicy, am as AgentWorkloadManifest, an as AgentWorkloadModelPolicy, ao as AgentWorkloadNetworkPolicy, ap as AgentWorkloadPlacement, aq as AgentWorkloadResource, ar as AgentWorkloadResourceRequirements, as as AgentWorkloadSpec, at as AgentWorkloadStatus, au as AgentWorkloadStoragePolicy, av as AgentWorkloadToolPolicy, aw as AgentWorkloadVolumeClaim, ax as ArtifactDestination, ay as ArtifactRecordManifest, az as ArtifactRecordResource, aA as ArtifactRecordSpec, aB as ArtifactRecordStatus, aC as ArtifactReviewEvidence, aD as ArtifactReviewKind, aE as ArtifactTrust, aF as AuditRecordManifest, aG as AuditRecordResource, aH as AuditRecordSpec, aI as BUILTIN_RUNTIME_CLASSES, aJ as BaseToolContext, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, aM as CheckpointRecord, aN as CheckpointStore, aO as CheckpointSummary, aP as ControlLeaseGrant, aQ as ControlLeaseIdentity, aR as ControlLeaseRequest, aS as ControlStore, aT as ControlStoreActor, aU as ControlStoreApplyOptions, aV as ControlStoreAuthorizationRequest, aW as ControlStoreAuthorizer, aX as ControlStoreCompactionResult, aY as ControlStoreCreateOptions, aZ as ControlStoreHealth, a_ as ControlStoreSnapshotResult, a$ as ControlStoreStatusUpdateOptions, b0 as ControlStoreVerb, b1 as CreateAgentRunOptions, b2 as CreateAgentWorkloadOptions, b3 as CredentialGrantManifest, b4 as CredentialGrantResource, b5 as CredentialGrantSpec, b6 as CredentialGrantStatus, b7 as DRIVER_MANIFEST_API_VERSION, b8 as DRIVER_MANIFEST_KIND, b9 as DataClassification, ba as DriverManifestConformance, bb as DriverManifestManifest, bc as DriverManifestResource, bd as DriverManifestSpec, be as DriverManifestStatus, bf as FrameworkPluginToolConfig, bg as HookSlot, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, bh as InfrastructureDriverType, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, bi as MODEL_CALL_RECORD_API_VERSION, bj as MODEL_CALL_RECORD_KIND, bk as MODEL_CLASS_API_VERSION, bl as MODEL_CLASS_KIND, bm as MODEL_ENDPOINT_API_VERSION, bn as MODEL_ENDPOINT_KIND, M as MemeLoopLogger, bo as ModelCallRecordManifest, bp as ModelCallRecordResource, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, bs as ModelClassCapabilities, bt as ModelClassManifest, bu as ModelClassResource, bv as ModelClassSpec, bw as ModelClassStatus, bx as ModelEndpointManifest, by as ModelEndpointResource, bz as ModelEndpointSpec, bA as ModelEndpointStatus, bB as ModelModality, bC as NETWORK_ATTACHMENT_API_VERSION, bD as NETWORK_ATTACHMENT_KIND, bE as NETWORK_CLASS_API_VERSION, bF as NETWORK_CLASS_KIND, bG as NetworkAttachmentManifest, bH as NetworkAttachmentResource, bI as NetworkAttachmentSpec, bJ as NetworkAttachmentStatus, bK as NetworkClassManifest, bL as NetworkClassResource, bM as NetworkClassSpec, bN as NetworkClassStatus, bO as NetworkEgressRule, bP as NodeTrustClass, bQ as POLICY_DECISION_API_VERSION, bR as POLICY_DECISION_KIND, bS as PersistedPolicyDecisionKind, bT as PolicyDecisionManifest, bU as PolicyDecisionResource, bV as PolicyDecisionSpec, bW as PolicyDecisionStatus, bX as RemoteDeploymentRequest, bY as RemoteDeploymentResult, bZ as RemoteDeploymentWorkloadOptions, b_ as RuntimeClassResource, b$ as RuntimeClassSpec, c0 as SECURITY_PROFILE_API_VERSION, c1 as SECURITY_PROFILE_KIND, c2 as SNAPSHOT_API_VERSION, c3 as SNAPSHOT_KIND, c4 as STORAGE_CLASS_API_VERSION, c5 as STORAGE_CLASS_KIND, c6 as SandboxSelectionResult, c7 as ScriptAdmissionDecision, c8 as ScriptAdmissionRequest, c9 as ScriptArtifactReference, ca as ScriptArtifactStore, C as ScriptDeploymentClient, cb as ScriptDeploymentClientConfig, cc as ScriptDeploymentClientRequest, cd as ScriptDeploymentPipelineOptions, ce as ScriptDeploymentRequest, cf as ScriptDeploymentResult, S as ScriptLoadGate, cg as ScriptLoadGateConfig, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, ch as ScriptTrustClass, ci as ScriptValidationResult, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, cn as SessionStorage, co as StorageClassManifest, cp as StorageClassResource, cq as StorageClassSpec, cr as StorageClassStatus, cs as TOOL_CLASS_API_VERSION, ct as TOOL_CLASS_KIND, cu as TOOL_EXECUTOR_API_VERSION, cv as TOOL_EXECUTOR_KIND, cw as TOOL_OPERATION_API_VERSION, cx as TOOL_OPERATION_KIND, T as TOOL_PARAMETER_PARSE_ERROR_KEY, cy as TapAsyncHandler, cz as ToolActions, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cD as ToolApprovalMode, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, cJ as ToolExecutionContext, cK as ToolExecutorCapability, cL as ToolExecutorManifest, cM as ToolExecutorResource, cN as ToolExecutorSpec, cO as ToolExecutorStatus, cP as ToolOperationApprovalEvidence, z as ToolOperationEffect, cQ as ToolOperationManifest, cR as ToolOperationPolicy, cS as ToolOperationResource, cT as ToolOperationResult, cU as ToolOperationRetryPolicy, cV as ToolOperationSpec, cW as ToolOperationStatus, cX as ToolOperationToolReference, cY as ToolRiskLevel, cZ as UserMessageContext, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d3 as WaitForConditionOptions, d4 as YieldNextRoundTarget, d5 as admitScript, d6 as agentRunReference, d7 as agentWorkloadReference, d8 as canonicalControlStoreValue, d9 as controlStoreApplyMatches, da as createAgentClient, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, df as createCheckpointRecord, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, u as createInstanceDeltaFromDefinition, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dp as createScriptDeploymentClient, dq as createScriptLoadGate, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, dz as defaultRequestedInterfacesForTrustClass, dA as deployGeneratedScript, dB as digestNormalizedScript, dC as isAgentRun, dD as isAgentWorkload, dE as isArtifactRecord, dF as isAuditRecord, dG as isCredentialGrant, dH as isDriverManifest, dI as isDriverManifestAdmitted, dJ as isModelCallRecord, dK as isModelClass, dL as isModelEndpoint, dM as isNetworkAttachment, dN as isNetworkClass, dO as isPolicyDecision, dP as isSecurityProfile, dQ as isSnapshot, dR as isStorageClass, dS as isToolClass, dT as isToolExecutor, dU as isToolOperation, v as isUserInitiatedConversation, dV as isVolume, dW as isVolumeClaim, x as matchAllToolCallings, y as matchToolCalling, dX as maxScriptBytesForTrustClass, dY as normalizeScript, dZ as parseCheckpointRecord, d_ as remoteDeploymentToWorkloadManifest, d$ as selectRuntimeClass, e0 as serializeCheckpointRecord, e1 as validateScript, e2 as waitForCondition } from './scriptDeploymentPipeline-CdDLEDMS.cjs';
|
|
8
|
+
import { M as MemeLoopRuntime } from './registry-CelnriUR.cjs';
|
|
9
|
+
export { A as ALL_CATEGORIES, a as AgentProfileRegistry, b as AgentStartData, c as AgentStopData, C as CategoryConfig, d as ContextCompactionData, e as CreateAgentLoopRunnerOptions, f as CreateAgentOptions, H as HookContext, g as HookHandler, h as HookResult, i as HookType, L as LoadPluginModuleOptions, j as LoadedPlugin, k as MergedPermissions, P as PERMISSIONS_TABLE_DDL, l as PermissionAction, m as PermissionRule, n as PermissionSet, o as PermissionSqlDatabase, p as PermissionSqlStatement, q as PluginAPI, r as PluginAPIOptions, s as PluginExports, t as PluginManifest, u as PluginModule, v as PostToolUseData, w as PreToolUseData, S as SendMessageOptions, T as TaskCategory, U as UserPromptSubmitData, x as checkPermission, y as clearPluginRegistrations, z as createAgentLoopRunner, B as createAgentLoopScriptRunner, D as createAgentProfileRunner, E as createMemeLoopRuntime, F as createPluginAPI, G as getAgentProfileRegistry, I as getCategoryConfig, J as getLoadedPlugin, K as getPluginRegistrations, N as isPluginLoaded, O as isTaskCategory, Q as listPlugins, R as loadPluginModule, V as loadPluginModules, W as loadUserPermissions, X as matchPattern, Y as mergePermissionSets, Z as registerPluginHooks, _ as registerPluginTools, $ as resetAgentProfileRegistry, a0 as resolveCategory, a1 as saveUserPermissions, a2 as unloadAllPlugins, a3 as unloadPlugin, a4 as validatePluginManifest } from './registry-CelnriUR.cjs';
|
|
10
10
|
export { ChatSyncEngine, ChatSyncEngineOptions, ChatSyncPeer, PeerNodeSyncAdapter, PeerNodeTransport, decodeAttachmentBlobRpc } from './device-network-portable.cjs';
|
|
11
|
-
import {
|
|
12
|
-
export {
|
|
13
|
-
export { A as AgentProfile, a as AgentProfileType, B as BUILTIN_AGENT_PROFILES, P as ProviderConfig, b as ProviderRegistry, R as RegisteredProvider, T as ToolPermissionRules, c as buildAgent, e as exploreAgent, l as librarianAgent, o as oracleAgent, p as planAgent } from './providerRegistry-
|
|
14
|
-
import {
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
export { A as
|
|
18
|
-
export {
|
|
19
|
-
export { A as
|
|
11
|
+
import { K as FullAgentStorage, n as DetailReference } from './interface-CECFnbzR.cjs';
|
|
12
|
+
export { M as AgentInfrastructureInterface, N as AgentInstanceStore, P as AgentOrchestrationCapabilities, p as AgentOrchestrationClient, Q as AgentOrchestrationOperation, A as AttachmentReference, R as BlobStore, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, S as ConversationDirectoryStore, o as ConversationEventStore, C as ConversationMeta, a as ConversationMetadataPage, m as ConversationQueryMode, U as DefinitionStore, D as DetailRefType, G as GetMessagesOptions, I as IAgentStorage, W as IMChannel, X as IMChannelBinding, Y as IMPlatformType, Z as ImBindingStore, _ as ImChannelBindingRecord, L as ListConversationsOptions, $ as ORCHESTRATION_ERROR_CODES, a0 as OrchestrationApplyOptions, a1 as OrchestrationBookmarkWatchEvent, a2 as OrchestrationCondition, a3 as OrchestrationConditionStatus, H as OrchestrationDeleteOptions, J as OrchestrationDeleteResult, a4 as OrchestrationError, a5 as OrchestrationErrorCode, O as OrchestrationErrorData, a6 as OrchestrationErrorWatchEvent, a7 as OrchestrationEvent, a8 as OrchestrationEventSeverity, w as OrchestrationGetOptions, z as OrchestrationListOptions, a9 as OrchestrationManifestMetadata, t as OrchestrationObjectMetadata, r as OrchestrationOwnerReference, aa as OrchestrationPreconditions, x as OrchestrationResource, B as OrchestrationResourceList, q as OrchestrationResourceManifest, y as OrchestrationResourceQuery, v as OrchestrationResourceReference, u as OrchestrationResourceStatus, ab as OrchestrationResourceWatchEvent, ac as OrchestrationResourceWatchEventType, s as OrchestrationTypeMeta, F as OrchestrationWatchEvent, E as OrchestrationWatchOptions, T as ToolCall, V as VersionRange, b as VersionVector, c as computeMissingVersionRanges, i as isConversationMeta, ad as isOrchestrationError, ae as toOrchestrationErrorData } from './interface-CECFnbzR.cjs';
|
|
13
|
+
export { A as AgentProfile, a as AgentProfileType, B as BUILTIN_AGENT_PROFILES, P as ProviderConfig, b as ProviderRegistry, R as RegisteredProvider, T as ToolPermissionRules, c as buildAgent, e as exploreAgent, l as librarianAgent, o as oracleAgent, p as planAgent } from './providerRegistry-BGrwd7Zl.cjs';
|
|
14
|
+
import { A as AgentDefinition, I as IPrompt } from './types-CcoJ_fdH.cjs';
|
|
15
|
+
export { a as AgentDefinitionModelConfig, b as AgentDefinitionToolConfig, g as AgentFrameworkConfig, c as AgentHeartbeatConfig, d as AgentInstanceMeta, h as AgentPromptDescription, e as AiAPIConfig, H as HostAgentToolConfig, M as ModelParameters, f as ModelSelection, P as PromptNode, i as PromptPluginConfig } from './types-CcoJ_fdH.cjs';
|
|
16
|
+
import { B as BuiltinToolContext, a as BuiltinToolImpl } from './orchestration-portable-D4KBEYQb.cjs';
|
|
17
|
+
export { A as ArtifactAdmissionDecision, b as ArtifactContentStore, c as ArtifactDestinationPolicy, d as ArtifactInspectionExecutor, e as ArtifactInspectionInput, f as ArtifactInspectionRequest, g as ArtifactInspectionResult, h as ArtifactInspector, i as ArtifactManagementCapabilities, j as ArtifactManagementDriver, k as ArtifactManagementStateSnapshot, l as ArtifactPutPayload, m as ArtifactReviewWriter, n as ArtifactSanitizationResult, o as AttestedIdentity, p as AuditEffect, q as AuditProvenance, r as AuditTelemetryCapabilities, s as AuditTelemetryManagementDriver, t as AuditTelemetryRecord, u as AuditTelemetryRecordKind, v as AuthorizedToolExecution, C as ControlStoreConformanceFactory, w as CredentialBrokerDriver, x as CredentialGrantClaims, y as CredentialGrantHandle, z as CredentialGrantInspection, D as CredentialGrantProof, E as CredentialGrantScope, F as CredentialGrantVerification, G as CredentialIssuePayload, H as CredentialManagementCapabilities, I as CredentialManagementDriver, J as CredentialProofVerifier, K as DEFAULT_DESTINATION_POLICIES, L as DRIVER_REQUEST_API_VERSION, M as DriverConformanceSuite, N as DriverConformanceTest, O as DriverManifest, P as DriverRequestEnvelope, Q as FakeArtifactManagementState, R as FakeAuditTelemetryState, S as FakeCredentialManagementState, T as FakeDriverOptions, U as FakeIdentityAttestationState, V as FakeLoopRuntimeState, W as FakeModelManagementState, X as FakeNetworkManagementState, Y as FakePolicyApprovalState, Z as FakeStorageManagementState, _ as FakeToolManagementState, $ as GatewayMediatedLLMProviderOptions, a0 as IdentityAttestationCapabilities, a1 as IdentityAttestationManagementDriver, a2 as IdentityChallenge, a3 as IdentityDomain, a4 as IdentityEnrollment, a5 as IdentityInspection, a6 as IdentitySession, a7 as InMemoryCredentialBrokerOptions, a8 as InMemoryModelAccessHandleBrokerOptions, a9 as InProcessLoopRuntimeDriverOptions, aa as InProcessToolExecutionDriverOptions, ab as IssueCredentialGrantRequest, ac as IssueModelAccessHandleRequest, ad as LegacyLLMProviderDriverOptions, ae as LoopRunHandle, af as LoopRunOutcome, ag as LoopRunStartRequest, ah as LoopRuntimeCapabilities, ai as LoopRuntimeCheckpoint, aj as LoopRuntimeDriver, ak as LoopRuntimeManagementDriver, al as LoopRuntimePreparePayload, am as LoopRuntimePrepared, an as LoopRuntimeStartPayload, ao as ManagedArtifact, ap as ManagedArtifactMount, aq as ManagedCredentialAdapterStateStore, ar as ManagedCredentialBrokerAdapterOptions, as as ManagedCredentialGrant, at as ManagedCredentialMaterialization, au as ManagedLoopRunStatus, av as ManagedLoopRuntimeAdapterOptions, aw as ManagedLoopRuntimeExecutionRoute, ax as ManagedLoopRuntimeExecutionRouteOptions, ay as ManagedModelChunk, az as ManagedModelDescriptor, aA as ManagedModelEstimate, aB as ManagedModelGatewayAccess, aC as ManagedModelGatewayAdapterOptions, aD as ManagedModelRequest, aE as ManagedModelUsage, aF as ManagedNetworkAdapterOptions, aG as ManagedNetworkPolicy, aH as ManagedNetworkStatus, aI as ManagedReplicaHealth, aJ as ManagedServiceResolution, aK as ManagedToolDescriptor, aL as ManagedToolEvidence, aM as ManagedToolExecution, aN as ManagedToolExecutionPhase, aO as ManagedToolOutputChunk, aP as ManagedVolume, aQ as ManagedVolumeBackup, aR as ManagedVolumePublication, aS as ManagedVolumeSnapshot, aT as ManagedVolumeStage, aU as ManagedVolumeStats, aV as ModelAccessHandle, aW as ModelAccessHandleBroker, aX as ModelAccessHandleBudget, aY as ModelAccessHandleClaims, aZ as ModelGateway, a_ as ModelGatewayCallRecord, a$ as ModelGatewayExecutor, b0 as ModelGatewayGenerateRequest, b1 as ModelGatewayOptions, b2 as ModelGatewayRecorder, b3 as ModelGenerateMessage, b4 as ModelGenerateRequest, b5 as ModelHandleSigner, b6 as ModelManagementCapabilities, b7 as ModelManagementDriver, b8 as ModelProviderDataPolicy, b9 as ModelProviderDriver, ba as ModelProviderHealth, bb as ModelStreamChunk, bc as NetworkAttachRequest, bd as NetworkClassSatisfaction, be as NetworkDriver, bf as NetworkDriverCapabilities, bg as NetworkDriverHealth, bh as NetworkEnforceableFeature, bi as NetworkEnforcementLevel, bj as NetworkManagementCapabilities, bk as NetworkManagementDriver, bl as NetworkPreparePayload, bm as PolicyApprovalCapabilities, bn as PolicyApprovalManagementDriver, bo as PolicyDecision, bp as PolicyDecisionKind, bq as PolicyDecisionOutcome, br as PolicyExplanation, bs as PreparedToolExecution, bt as ResolvedManagedNetworkRequest, bu as RuntimeClassRoutingDriverOptions, bv as StorageManagementCapabilities, bw as StorageManagementDriver, bx as StorageProvisionPayload, by as ToolCatalogSnapshot, bz as ToolExecutionDriver, bA as ToolManagementCapabilities, bB as ToolManagementDriver, bC as ToolOperationApprovalBroker, bD as ToolOperationApprovalDecision, bE as ToolOperationApprovalRequest, bF as VerifyModelAccessHandleOptions, bG as artifactTrustRank, bH as assertArtifactAdmission, bI as assertClassificationAllowed, bJ as assertDriverRequestEnvelope, bK as assertManagedNetworkPolicy, bL as assertNetworkPreparePayload, bM as assertNetworkUpdatePayload, bN as base64UrlDecode, bO as base64UrlEncode, bP as canArtifactEnter, bQ as canDriverSatisfyClass, bR as canonicalDriverValue, bS as classificationRank, bT as countManagedNetworkPolicyRules, bU as createArtifactManagementConformanceSuite, bV as createAuditTelemetryConformanceSuite, bW as createControlStoreConformanceSuite, bX as createCredentialManagementConformanceSuite, bY as createExternalOrchestrationDriverConformanceSuite, bZ as createFakeArtifactManagementDriver, b_ as createFakeArtifactManagementState, b$ as createFakeAuditTelemetryManagementDriver, c0 as createFakeAuditTelemetryState, c1 as createFakeCredentialManagementDriver, c2 as createFakeCredentialManagementState, c3 as createFakeIdentityAttestationManagementDriver, c4 as createFakeIdentityAttestationState, c5 as createFakeLoopRuntimeManagementDriver, c6 as createFakeLoopRuntimeState, c7 as createFakeModelManagementDriver, c8 as createFakeModelManagementState, c9 as createFakeModelProviderDriver, ca as createFakeNetworkDriver, cb as createFakeNetworkManagementDriver, cc as createFakeNetworkManagementState, cd as createFakePolicyApprovalManagementDriver, ce as createFakePolicyApprovalState, cf as createFakeStorageManagementDriver, cg as createFakeStorageManagementState, ch as createFakeToolExecutionDriver, ci as createFakeToolManagementDriver, cj as createFakeToolManagementState, ck as createGatewayMediatedLLMProvider, cl as createIdentityAttestationConformanceSuite, cm as createInMemoryCredentialBroker, cn as createInMemoryModelAccessHandleBroker, co as createInProcessLoopRuntimeDriver, cp as createInProcessToolExecutionDriver, cq as createLoopRuntimeManagementConformanceSuite, cr as createManagedCredentialBrokerAdapter, cs as createManagedLoopRuntimeAdapter, ct as createManagedLoopRuntimeExecutionRoute, cu as createManagedModelGatewayAdapter, cv as createManagedNetworkAdapter, cw as createModelGateway, cx as createModelManagementConformanceSuite, cy as createModelProviderDriverConformanceSuite, cz as createModelProviderDriverFromLLMProvider, cA as createNetworkDriverConformanceSuite, cB as createNetworkManagementConformanceSuite, cC as createPolicyApprovalConformanceSuite, cD as createRuntimeClassRoutingDriver, cE as createStorageManagementConformanceSuite, cF as createToolCatalogConformanceSuite, cG as createToolExecutionDriverConformanceSuite, cH as createToolManagementConformanceSuite, cI as deriveArtifactTrust, cJ as featuresRequiredByClass, cK as inspectAndRecordArtifact, cL as modelClassNameForSpec, cM as restoreArtifactManagementState, cN as runConformanceSuite, cO as snapshotArtifactManagementState } from './orchestration-portable-D4KBEYQb.cjs';
|
|
18
|
+
export { F as FetchOrchestrationTransportOptions, N as NamespacedOrchestrationClientOptions, d as REMOTE_ORCHESTRATION_PROTOCOL, e as ReadOnlyOrchestrationClientOptions, f as RemoteOrchestrationClientOptions, g as RemoteOrchestrationOperation, R as RemoteOrchestrationRequest, a as RemoteOrchestrationResponse, c as RemoteOrchestrationTransport, b as RemoteOrchestrationTransportOptions, h as createFetchOrchestrationTransport, i as createNamespacedOrchestrationClient, j as createReadOnlyOrchestrationClient, k as createRemoteOrchestrationClient, l as createRemoteOrchestrationHandler } from './remoteClient-DxCHC4_Z.cjs';
|
|
19
|
+
export { A as AttachmentBlobWire, C as CreateDevicePairingInviteOptions, D as DEVICE_BINDING_SIGNATURE_DOMAIN, a as DEVICE_CONNECTION_GRANT_SIGNATURE_DOMAIN, b as DEVICE_ORCHESTRATION_PROTOCOL, c as DEVICE_PAIRING_INVITE_PROTOCOL, d as DEVICE_PAIRING_INVITE_TTL_MS, e as DEVICE_RELAY_ADMISSION_SIGNATURE_DOMAIN, f as DeviceCloudComponentStatus, g as DeviceCloudConnectionAdapter, h as DeviceCloudConnectionComponent, i as DeviceCloudConnectionCoordinator, j as DeviceCloudConnectionCoordinatorOptions, k as DeviceCloudConnectionSnapshot, l as DeviceCloudConnectionStatus, m as DeviceCloudStepResult, n as DeviceOrchestrationStreamHandler, o as DeviceOrchestrationStreamHandlerInput, p as DeviceOrchestrationStreamHandlerOptions, q as DeviceOrchestrationTransportOptions, r as DevicePairingInvite, s as DevicePairingInviteIdentityVerifier, t as DevicePairingInviteIdentityVerifierInput, u as DevicePairingInviteUnsignedPayload, v as DeviceSyncStateStore, J as JsonFrameError, w as JsonFrameErrorCode, x as JsonFrameReaderOptions, L as LIBP2P_RPC_REQUEST_TYPE, y as LIBP2P_RPC_RESPONSE_TYPE, z as LIBP2P_SYNC_REQUEST_TYPE, B as LIBP2P_SYNC_RESPONSE_TYPE, E as Libp2pDeviceSyncTransport, F as Libp2pDeviceSyncTransportOptions, G as Libp2pRpcRequest, H as Libp2pRpcResponse, I as Libp2pSyncMethod, K as Libp2pSyncRequest, M as Libp2pSyncResponse, N as LocalTrustDeviceAuthorizer, O as LocalTrustDeviceAuthorizerOptions, P as MemoryDeviceSyncStateStore, Q as ParseDevicePairingInviteOptions, R as RemoteOrchestrationHandler, S as attachmentBlobFromWire, T as buildDeviceBindingMessage, U as buildDeviceConnectionGrantMessage, V as buildDeviceRelayReservationTokenMessage, W as canonicalDevicePairingInviteBytes, X as createDeviceOrchestrationStreamHandler, Y as createDeviceOrchestrationTransport, Z as createDevicePairingInvite, _ as createJsonFrameReader, $ as encodeDevicePairingInvite, a0 as encodeJsonFrame, a1 as encodeJsonFrames, a2 as isLibp2pRpcRequest, a3 as isLibp2pRpcResponse, a4 as isLibp2pSyncRequest, a5 as isLibp2pSyncResponse, a6 as parseDevicePairingInvite } from './pairingInvite-BmCQ-bHt.cjs';
|
|
20
|
+
export { C as CloudDeviceSyncLogger, M as MemoryDeviceNetworkService, a as MemoryDeviceNetworkServiceOptions, s as syncCloudDevices } from './syncCloudDevices-3RmB41sA.cjs';
|
|
21
|
+
export { A as AgentExecutionLocation, a as AgentExecutionState, b as AttachmentBlob, C as CloudDeviceClient, c as CloudDeviceRecord, d as ConversationExecutionPlacement, D as Device, e as DeviceAccountBindingRequest, f as DeviceAuthorizer, g as DeviceCapabilities, h as DeviceConnectionGrant, i as DeviceConnectionGrantVerificationInput, j as DeviceNetworkListenOptions, k as DeviceNetworkPath, l as DeviceNetworkService, m as DevicePlatform, n as DeviceProtocolDirection, o as DeviceReachability, p as DeviceReachabilityState, q as DeviceRelayReservationToken, r as DeviceRelayReservationTokenVerificationInput, s as DeviceRpcHandler, t as DeviceRpcHandlerInput, u as DeviceSyncTransport, v as DeviceTrustMode, w as DeviceTrustStore, E as ExchangeVersionVectorResult, L as LocalDeviceIdentity, x as LocalPairingRequestOptions, M as MemeLoopDuplexStream, y as MemeLoopProtocol, P as PairingSession, z as PairingSessionDirection, B as PairingSessionStatus, S as SyncResult, T as TrustedDeviceRecord } from './types-D1rAJy9l.cjs';
|
|
20
22
|
export { ChatMessageProjection, buildLegacyChatMessageParts, buildToolResultSummary, createAgentInstanceFromDefinition, createChatMessage, getChatMessageParts, isToolResultPart, parseLegacyToolResultContent, projectChatMessageParts } from './conversation.cjs';
|
|
21
23
|
import { z } from 'zod';
|
|
24
|
+
export { mergeAgentToolsIntoFrameworkConfig } from './tools.cjs';
|
|
22
25
|
import 'ai';
|
|
23
26
|
|
|
24
27
|
/**
|
|
@@ -459,15 +462,6 @@ declare function defineTool<TConfigSchema extends z.ZodType, TLLMToolSchemas ext
|
|
|
459
462
|
description: string;
|
|
460
463
|
};
|
|
461
464
|
|
|
462
|
-
/**
|
|
463
|
-
* Host agent tool configuration → prompt plugin mapping.
|
|
464
|
-
* Every host (Desktop, CLI, Cloud) that defines agent tools needs this merge logic.
|
|
465
|
-
* Defined once in memeloop so each host doesn't reimplement it.
|
|
466
|
-
*/
|
|
467
|
-
|
|
468
|
-
type HostAgentToolConfig = AgentDefinitionToolConfig;
|
|
469
|
-
declare function mergeAgentToolsIntoFrameworkConfig(frameworkConfig: AgentFrameworkConfig | undefined, agentTools: HostAgentToolConfig[] | undefined): AgentFrameworkConfig;
|
|
470
|
-
|
|
471
465
|
/**
|
|
472
466
|
* TidGi `parallelExecution.ts` 迁移。
|
|
473
467
|
*/
|
|
@@ -587,4 +581,4 @@ declare function registerToolDefinition<TConfigSchema extends z.ZodType, TLLMToo
|
|
|
587
581
|
declare function getAllToolDefinitions(): Map<string, DefinedTool>;
|
|
588
582
|
declare function getToolDefinition(toolId: string): DefinedTool | undefined;
|
|
589
583
|
|
|
590
|
-
export { AIResponseContext, ASK_QUESTION_TOOL_ID, ASK_USER_QUESTION_TOOL_ID, type AddToolResultOptions, AgentDefinition,
|
|
584
|
+
export { AIResponseContext, ASK_QUESTION_TOOL_ID, ASK_USER_QUESTION_TOOL_ID, type AddToolResultOptions, AgentDefinition, ApprovalDecision, BuiltinToolContext, BuiltinToolImpl, DefineToolAgentFrameworkContext, type DefinedTool, DetailReference, FullAgentStorage, IMChannelManager, IM_SESSION_TOOL_IDS, IPrompt, IToolRegistry, type ImSessionBuiltinRegistration, type InjectContentOptions, type InjectToolListOptions, MEMELOOP_STRUCTURED_TOOL_KEY, MEMELOOP_TERMINAL_OUTPUT_NOTIFICATION, MemeLoopRuntime, type MemeloopStructuredToolPayload, type MemeloopTerminalOutputNotificationMethod, ORCHESTRATION_TOOL_ID, PostProcessContext, type PostProcessHandlerContext, PromptConcatHookContext, PromptConcatHooks, PromptConcatTool, type ResponseHandlerContext, STORAGE_CONFORMANCE_CHECKS, type StorageConformanceCheck, type StorageConformanceReport, TODO_WRITE_TOOL_ID, type TiddlerFieldsForAgent, ToolApprovalConfig, ToolApprovalRequest, type ToolCallEntry, type ToolCallResult, ToolCallingMatch, type ToolDefinition, ToolDefinitionRegistry, type ToolExecutionResult, type ToolHandlerContext, __clearTodoStore, askQuestionConfigSchema, askQuestionImpl, askUserQuestionConfigSchema, askUserQuestionImpl, assertStorageConformance, buildMemeloopFileUri, buildMemeloopUri, cancelPendingApprovals, createAgentFrameworkHooks, createHooksWithPlugins, defineTool, evaluateApproval, executeToolCallsParallel, executeToolCallsSequential, extractMemeloopStructuredToolPayload, findPromptById, getActivePluginRegistry, getAllToolDefinitions, getDefaultToolDefinitionRegistry, getMcpClientToolId, getMcpForwardToolId, getPendingApprovals, getRemoteAgentToolId, getSpawnAgentToolId, getTaskToolId, getToolDefinition, getToolMetadata, getToolParameterSchema, gitProxyTargetBlockReason, mcpClientConfigSchema, mcpClientImpl, mcpForwardConfigSchema, mcpForwardImpl, onApprovalRequest, orchestrationConfigSchema, orchestrationImpl, parseMemeloopUri, pluginRegistry, registerBuiltinTools, registerImSessionBuiltinTools, registerToolDefinition, registerToolParameterSchema, remoteAgentConfigSchema, remoteAgentImpl, remoteAgentListImpl, requestApproval, resolveApproval, resolvePromptPluginMap, resolveQuestionAnswer, runPostProcessHooks, runProcessPromptsHooks, runResponseCompleteHooks, runStorageConformance, runToolExecutedHooks, runWithPluginRegistry, schemaToToolContent, spawnAgentConfigSchema, spawnAgentImpl, taskToolConfigSchema, taskToolImpl, tiddlerToAgentDefinition, todoWriteConfigSchema, todoWriteImpl, toolSchemaToJsonSchema, truncateToolSummary };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { a2 as findPromptById } from './promptConcat-
|
|
2
|
-
export { A as AGENT_AGENT_LOOP_ID, a as AGENT_TOOL_LOOP_ID, b as AgentAgentBatchRunInput, c as AgentAgentBatchRunResult, d as AgentAgentConfigEntry, e as AgentAgentContext, f as AgentAgentDescriptor, g as AgentAgentFormatResultsOptions, h as AgentAgentLoopContext, i as AgentAgentLoopScript, j as AgentAgentLoopScriptArguments, k as AgentAgentLoopScriptReference, l as AgentAgentRunAgentFailure, m as AgentAgentRunAgentInput, n as AgentAgentRunAgentResult, o as AgentAgentScriptContext, p as AgentToolLoopContext, q as AgentToolLoopIterationGenerator, r as AgentToolLoopIterationResult, s as AgentToolLoopScript, t as AgentToolLoopScriptContext, u as AgentToolLoopScriptReference, v as AgentToolLoopState, w as AgentToolLoopTurnStartResult, B as BUILTIN_AGENT_AGENT_LOOP_ARTIFACT_RESOURCE_LIFECYCLE_SCRIPT_ID, x as BUILTIN_AGENT_AGENT_LOOP_DECLARATIVE_AGENT_RUN_SCRIPT_ID, y as BUILTIN_AGENT_AGENT_LOOP_QUALITY_GATE_SCRIPT_ID, z as BUILTIN_AGENT_TOOL_LOOP_DEFAULT_SCRIPT_ID, C as BUILTIN_TOOL_PLUGIN_IDS, D as CompactionOptions, E as CompactionResult, H as HookRegistry, L as LoadAgentAgentLoopScriptOptions, F as LoadAgentToolLoopScriptOptions, G as LoopRegistryImpl, P as PLUGIN_ASK_QUESTION, I as PLUGIN_ASK_USER_QUESTION, J as PLUGIN_MCP_CLIENT, K as PLUGIN_MCP_FORWARD, M as PLUGIN_ORCHESTRATION, N as PLUGIN_REMOTE_AGENT, O as PLUGIN_SPAWN_AGENT, Q as PLUGIN_TASK, R as PLUGIN_TODO_WRITE, S as PromptConcatPluginPreview, T as PromptConcatStreamState, U as TokenTracker, V as autoCompact, W as builtinAgentAgentLoopSources, X as builtinAgentToolLoopSources, Y as clearHooks, Z as compactMessages, _ as createAgentAgentLoopDefinition, $ as createAgentToolLoopDefinition, a0 as createAgentToolLoopRunner, a1 as executeHooks, a3 as flattenPrompts, a4 as getAgentAgentLoopId, a5 as getBuiltinAgentAgentLoopSource, a6 as getBuiltinAgentToolLoopSource, a7 as getBuiltinToolPlugins, a8 as getDefaultHookRegistry, a9 as getHookCount, aa as getLoopRegistry, ab as hasHooks, ac as listRegisteredHookTypes, ad as loadAgentAgentLoopScript, ae as loadAgentToolLoopScript, af as promptConcatStream, ag as registerBuiltinLoops, ah as registerBuiltinPromptPlugins, ai as registerBuiltinToolPlugins, aj as registerHook, ak as resetLoopRegistry, al as shouldCompact, am as unregisterHook } from './promptConcat-
|
|
3
|
-
export { F as FetchLLMChatRequest, e as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, h as resolveFetchLLMCallSettings, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
1
|
+
import { a2 as findPromptById } from './promptConcat-C5SEgESi.js';
|
|
2
|
+
export { A as AGENT_AGENT_LOOP_ID, a as AGENT_TOOL_LOOP_ID, b as AgentAgentBatchRunInput, c as AgentAgentBatchRunResult, d as AgentAgentConfigEntry, e as AgentAgentContext, f as AgentAgentDescriptor, g as AgentAgentFormatResultsOptions, h as AgentAgentLoopContext, i as AgentAgentLoopScript, j as AgentAgentLoopScriptArguments, k as AgentAgentLoopScriptReference, l as AgentAgentRunAgentFailure, m as AgentAgentRunAgentInput, n as AgentAgentRunAgentResult, o as AgentAgentScriptContext, p as AgentToolLoopContext, q as AgentToolLoopIterationGenerator, r as AgentToolLoopIterationResult, s as AgentToolLoopScript, t as AgentToolLoopScriptContext, u as AgentToolLoopScriptReference, v as AgentToolLoopState, w as AgentToolLoopTurnStartResult, B as BUILTIN_AGENT_AGENT_LOOP_ARTIFACT_RESOURCE_LIFECYCLE_SCRIPT_ID, x as BUILTIN_AGENT_AGENT_LOOP_DECLARATIVE_AGENT_RUN_SCRIPT_ID, y as BUILTIN_AGENT_AGENT_LOOP_QUALITY_GATE_SCRIPT_ID, z as BUILTIN_AGENT_TOOL_LOOP_DEFAULT_SCRIPT_ID, C as BUILTIN_TOOL_PLUGIN_IDS, D as CompactionOptions, E as CompactionResult, H as HookRegistry, L as LoadAgentAgentLoopScriptOptions, F as LoadAgentToolLoopScriptOptions, G as LoopRegistryImpl, P as PLUGIN_ASK_QUESTION, I as PLUGIN_ASK_USER_QUESTION, J as PLUGIN_MCP_CLIENT, K as PLUGIN_MCP_FORWARD, M as PLUGIN_ORCHESTRATION, N as PLUGIN_REMOTE_AGENT, O as PLUGIN_SPAWN_AGENT, Q as PLUGIN_TASK, R as PLUGIN_TODO_WRITE, S as PromptConcatPluginPreview, T as PromptConcatStreamState, U as TokenTracker, V as autoCompact, W as builtinAgentAgentLoopSources, X as builtinAgentToolLoopSources, Y as clearHooks, Z as compactMessages, _ as createAgentAgentLoopDefinition, $ as createAgentToolLoopDefinition, a0 as createAgentToolLoopRunner, a1 as executeHooks, a3 as flattenPrompts, a4 as getAgentAgentLoopId, a5 as getBuiltinAgentAgentLoopSource, a6 as getBuiltinAgentToolLoopSource, a7 as getBuiltinToolPlugins, a8 as getDefaultHookRegistry, a9 as getHookCount, aa as getLoopRegistry, ab as hasHooks, ac as listRegisteredHookTypes, ad as loadAgentAgentLoopScript, ae as loadAgentToolLoopScript, af as promptConcatStream, ag as registerBuiltinLoops, ah as registerBuiltinPromptPlugins, ai as registerBuiltinToolPlugins, aj as registerHook, ak as resetLoopRegistry, al as shouldCompact, am as unregisterHook } from './promptConcat-C5SEgESi.js';
|
|
3
|
+
export { F as FetchLLMChatRequest, e as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, h as resolveFetchLLMCallSettings, d as runAgentToolLoopTurn } from './fetchProvider-Do8Hf1BN.js';
|
|
4
4
|
import { IMChannelManager } from './browser.js';
|
|
5
5
|
export { AgentConversationClient, AgentCreationController, AgentCreationControllerOptions, AgentCreationState, AgentDefinitionEditorController, AgentDefinitionEditorControllerOptions, AgentDefinitionEditorState, AgentDefinitionRepository, AgentInstanceClient, AgentRuntimeDeviceRpcHandlerOptions, AgentRuntimeView, AgentSessionController, AgentSessionControllerOptions, AgentSessionListener, AgentSessionSnapshot, AgentUpdateListener, ArchiveEntry, ArchiveLimits, BindWorkerSessionRequest, BindingControllerOptions, BoundedCollector, ControlStoreAuditTelemetryAdapterOptions, ControlStoreOrchestrationClientOptions, ControlStorePolicyApprovalAdapterOptions, Controller, ControllerReconcileRequest, ControllerReconcileResult, ControllerRunnerHandle, ControllerRunnerOptions, CreateScheduledTaskInput, CreationStateListener, CredentialBrokerEndpoint, CredentialGrantBindingControllerOptions, CredentialGrantExecutionControllerOptions, CredentialGrantLifecycleControllerOptions, CredentialGrantPlacementRequirements, CredentialHandleVault, DriverFixture, EditorStateChange, EditorStateListener, ExternalDriverCapabilities, ExternalOrchestrationControllerHandle, ExternalOrchestrationControllerOptions, ExternalOrchestrationDriver, ExternalPlacementResult, ExternalRuntimeResult, ExternalStatusResult, ExternalToolContract, ExternalWorkerBootstrapSecret, ExternalWorkloadPlacementContext, ExternalWorkloadRuntimeContract, FLEET_ROLLOUT_API_VERSION, FLEET_ROLLOUT_KIND, FleetRolloutControllerOptions, FleetRolloutResource, FleetRolloutSpec, FleetRolloutStatus, GatewayHttpRequest, GatewayRateLimiter, GatewayValidationContext, GatewayValidationResult, IIMAdapter, IIMMessageRenderer, IdentityPromotionRequest, IdentityRevocationReason, IdentityRevocationRecord, ImAgentDriver, ImInboundMessage, ImSlashCommandContext, ImStreamFlush, ImToolsRuntime, ImWebhookContext, IssueWorkloadCapabilityGrantRequest, LOOP_CHECKPOINT_API_VERSION, LOOP_CHECKPOINT_KIND, LocalModelAdvertisement, LocalModelAdvertisementOptions, LoopCheckpointResource, LoopCheckpointSpec, ManagedArtifactDriverAdapterOptions, ManagedStorageAdapterStateStore, ManagedStorageDriverAdapterOptions, ManagedToolExecutionRoute, ManagedToolExecutionRouteOptions, ManagedToolPolicyDecision, ManagedWorkerIdentityAdapterOptions, ManagedWorkerIdentityRequestFactoryInput, ManagedWorkerIdentityRoute, ModelEndpointBindingControllerOptions, ModelEndpointRegistrarHandle, ModelEndpointRegistrarOptions, ModelEndpointTrust, ModelSelectionRequirements, NODE_API_VERSION, NODE_KIND, NetworkAttachmentBindingControllerOptions, NetworkAttachmentExecutionControllerOptions, NetworkAttachmentNode, NodeSpec, NodeStatus, PEER_DRIVER_PROTOCOL_VERSION, PeerDriverAssignment, PeerDriverRequestContext, PeerDriverScope, PeerDriverStatus, PeerDriverTransportOptions, PolicyEvaluation, PreviewDialogListener, PromptPreviewClient, PromptPreviewController, PromptPreviewControllerOptions, PromptPreviewDialogState, PromptPreviewProgress, PromptPreviewResult, QuarantineGatewayPolicy, QuorumControlStore, QuorumControlStoreOptions, QuorumControlStoreSnapshot, QuorumMember, QuorumTopology, RecordedInteraction, RegisteredExternalOrchestrationDriver, ReplicationAction, ReplicationContext, ReplicationControllerDeps, ReplicationNode, ReplicationResult, ReplicationSnapshot, ReplicationTransport, RolloutEvidenceEntry, RolloutStrategy, RolloutTarget, RunVolumeControllerOptions, SanitizedText, SanitizerFinding, ScheduleEditorState, ScheduledTask, ScheduledTaskClient, Scheduler, SchedulerNode, SchedulingDecision, SecretRedactionOptions, SelectableModelEndpoint, SignedWorkerBootstrapSessionDescriptor, StorageDriver, StorageDriverCapabilities, StorageDriverEndpoint, StorageProvisionRequest, StorageProvisionResult, StoragePublishRequest, StoragePublishResult, TOOL_OPERATION_CONDITION_EFFECT_UNKNOWN, TargetUpdateResult, TargetUsage, TextMessageRenderer, TiddlyWikiHttpStorage, TiddlyWikiHttpStorageOptions, ToolAdmissionDecision, ToolExecutorSelection, ToolOperationBindingControllerOptions, ToolOperationExecutionController, ToolOperationExecutionControllerOptions, UnknownEffectAction, UnknownEffectDecision, UnknownEffectEvidence, VerifierOnlyTransitionOptions, VolumeClaimBindingControllerOptions, VolumeClaimExecutionControllerOptions, WORKER_ENROLLMENT_API_VERSION, WORKER_ENROLLMENT_KIND, WORKER_PROTOCOL_METHODS, WORKER_PROTOCOL_VERSION, WORKER_SESSION_API_VERSION, WORKER_SESSION_KIND, WORKLOAD_CAPABILITY_GRANT_API_VERSION, WORKLOAD_CAPABILITY_GRANT_KIND, WikiTiddlerAttachment, WikiTiddlerClickData, WorkerBootstrapSessionDescriptor, WorkerEnrollmentResource, WorkerEnrollmentSpec, WorkerEnrollmentStatus, WorkerGatewaySession, WorkerProtocolAuditEvent, WorkerProtocolGatewayOptions, WorkerProtocolMethod, WorkerProtocolReplayProtector, WorkerProtocolRequest, WorkerProtocolResponse, WorkerRunBinding, WorkerSessionResource, WorkerSessionSpec, WorkerSessionStatus, WorkloadCapabilityBudget, WorkloadCapabilityGrantRequirements, WorkloadCapabilityGrantResource, WorkloadCapabilityGrantSpec, WorkloadCapabilityGrantStatus, WorkloadExecutionControllerHandle, WorkloadExecutionControllerOptions, applyUnknownEffectDecision, assertExternalToolContracts, assertExternalToolOperationContract, assertExternalToolOperationResult, assertExternalWorkloadRuntimeContracts, assertSafeArchivePath, bindWorkerSession, canonicalWorkerBootstrapDescriptorBytes, canonicalWorkerProtocolRequestBytes, canonicalWorkloadCapabilityGrantBytes, consumeWorkloadCapabilityGrant, containsSecrets, createAdoptionTests, createAgentRuntimeDeviceRpcHandler, createAuditRecordAuthorizer, createBackpressureTests, createBindingController, createBoundedCollector, createCancellationTests, createCapabilityNegotiationTests, createCapacityScheduler, createControlStoreArtifactReviewWriter, createControlStoreAuditTelemetryAdapter, createControlStoreLoopCheckpointStore, createControlStoreOrchestrationClient, createControlStorePolicyApprovalAdapter, createControllerRunner, createCredentialGrantBindingController, createCredentialGrantExecutionController, createCredentialGrantLifecycleController, createDowngradeTests, createExternalOrchestrationController, createFencingTests, createFleetRolloutController, createGatewayRateLimiter, createIdempotencyTests, createInMemoryWorkerReplayProtector, createManagedArtifactDriverAdapter, createManagedStorageDriverAdapter, createManagedToolDescriptors, createManagedToolExecutionRoute, createManagedWorkerIdentityAdapter, createMinimalExternalRuntimeToolContracts, createModelEndpointBindingController, createModelEndpointRegistrar, createNetworkAttachmentBindingController, createNetworkAttachmentExecutionController, createNodeTrustAuthorizer, createPeerDriverRpcHandler, createPeerDriverTransport, createPolicyDecisionAuthorizer, createRecordingDriver, createReplayingDriver, createReplicationController, createRunVolumeController, createSecurityTests, createToolOperationBindingController, createToolOperationExecutionController, createVerifierOnlyAuthorizer, createVolumeClaimBindingController, createVolumeClaimExecutionController, createWorkerEnrollmentManifest, createWorkerProtocolGateway, createWorkerRevocationList, createWorkerSessionManifest, createWorkloadCapabilityGrantManifest, createWorkloadExecutionController, defaultAdmissionPolicyForTrustClass, defaultPermissionActionForTrustClass, describeLocalModelEndpoints, detectMimeConfusion, enrollWorker, evaluateToolAdmission, imPlatformMaxMessageChars, imSwitchConversation, imToolDefinitions, isIdentityRevoked, isNodeAllowedForRole, isPrivateIp, isVerifierActor, isWorkerEnrollment, isWorkerSession, isWorkerSessionValid, isWorkloadCapabilityGrant, issueWorkloadCapabilityGrant, negotiateCapabilities, parseExternalRuntimeResult, pickAdapter, planReplicaPlacement, promoteIdentity, reconcileUnknownEffect, reconcileVolumeReplication, redactSecrets, resolveAdmissionPolicy, resolveExternalWorkloadResources, resolveExternalWorkloadRuntime, revokeCredentialGrant, revokeQuarantineIdentity, revokeWorkerSession, sanitizeMarkup, sanitizeTerminalText, scanForPromptInjection, selectModelEndpoint, selectToolExecutor, storageDriverSatisfiesClass, streamRuntimeAgentReplyToIm, sumEvidenceUsage, tryHandleImSlashCommand, validateArchiveManifest, validateGatewayRequest, validateNodeSpec, validateRedirectTarget, verifyWorkloadCapabilityGrant } from './browser.js';
|
|
6
|
-
import { D as ToolApprovalConfig, E as ApprovalDecision, F as ToolApprovalRequest, m as IToolRegistry, P as PromptConcatTool, G as PromptConcatHookContext, H as DefineToolAgentFrameworkContext, J as PostProcessContext, K as AIResponseContext, w as ToolCallingMatch, N as PromptConcatHooks } from './scriptDeploymentPipeline-
|
|
7
|
-
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, V as AIStreamResponseSubset, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, B as AgentClient, A as AgentFrameworkContext, a as AgentInstance, b as AgentInstanceLatestStatus, a as AgentInstanceModel, c as AgentInstanceState, d as AgentLoopDefinition, e as AgentLoopGenerator, f as AgentLoopInput, g as AgentLoopRuntime, h as AgentLoopScriptPolicy, i as AgentLoopStep, _ as AgentResponse, $ as AgentRunCondition, a0 as AgentRunManifest, a1 as AgentRunResource, a2 as AgentRunSpec, a3 as AgentRunStatus, a4 as AgentSnapshotManifest, a5 as AgentSnapshotResource, a6 as AgentSnapshotSpec, a7 as AgentSnapshotStatus, a8 as AgentStatusContext, j as AgentToolLoopOptions, a9 as AgentTrustLevel, aa as AgentVolumeClaimManifest, ab as AgentVolumeClaimResource, ac as AgentVolumeClaimSpec, ad as AgentVolumeClaimStatus, ae as AgentVolumeManifest, af as AgentVolumeReplicaStatus, ag as AgentVolumeResource, ah as AgentVolumeSpec, ai as AgentVolumeStatus, aj as AgentWorkloadCompletionPolicy, ak as AgentWorkloadCondition, al as AgentWorkloadCredentialPolicy, am as AgentWorkloadManifest, an as AgentWorkloadModelPolicy, ao as AgentWorkloadNetworkPolicy, ap as AgentWorkloadPlacement, aq as AgentWorkloadResource, ar as AgentWorkloadResourceRequirements, as as AgentWorkloadSpec, at as AgentWorkloadStatus, au as AgentWorkloadStoragePolicy, av as AgentWorkloadToolPolicy, aw as AgentWorkloadVolumeClaim, ax as ArtifactDestination, ay as ArtifactRecordManifest, az as ArtifactRecordResource, aA as ArtifactRecordSpec, aB as ArtifactRecordStatus, aC as ArtifactReviewEvidence, aD as ArtifactReviewKind, aE as ArtifactTrust, aF as AuditRecordManifest, aG as AuditRecordResource, aH as AuditRecordSpec, aI as BUILTIN_RUNTIME_CLASSES, aJ as BaseToolContext, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, aM as CheckpointRecord, aN as CheckpointStore, aO as CheckpointSummary, aP as ControlLeaseGrant, aQ as ControlLeaseIdentity, aR as ControlLeaseRequest, aS as ControlStore, aT as ControlStoreActor, aU as ControlStoreApplyOptions, aV as ControlStoreAuthorizationRequest, aW as ControlStoreAuthorizer, aX as ControlStoreCompactionResult, aY as ControlStoreCreateOptions, aZ as ControlStoreHealth, a_ as ControlStoreSnapshotResult, a$ as ControlStoreStatusUpdateOptions, b0 as ControlStoreVerb, b1 as CreateAgentRunOptions, b2 as CreateAgentWorkloadOptions, b3 as CredentialGrantManifest, b4 as CredentialGrantResource, b5 as CredentialGrantSpec, b6 as CredentialGrantStatus, b7 as DRIVER_MANIFEST_API_VERSION, b8 as DRIVER_MANIFEST_KIND, b9 as DataClassification, ba as DriverManifestConformance, bb as DriverManifestManifest, bc as DriverManifestResource, bd as DriverManifestSpec, be as DriverManifestStatus, bf as FrameworkPluginToolConfig, bg as HookSlot, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, bh as InfrastructureDriverType, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, bi as MODEL_CALL_RECORD_API_VERSION, bj as MODEL_CALL_RECORD_KIND, bk as MODEL_CLASS_API_VERSION, bl as MODEL_CLASS_KIND, bm as MODEL_ENDPOINT_API_VERSION, bn as MODEL_ENDPOINT_KIND, M as MemeLoopLogger, bo as ModelCallRecordManifest, bp as ModelCallRecordResource, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, bs as ModelClassCapabilities, bt as ModelClassManifest, bu as ModelClassResource, bv as ModelClassSpec, bw as ModelClassStatus, bx as ModelEndpointManifest, by as ModelEndpointResource, bz as ModelEndpointSpec, bA as ModelEndpointStatus, bB as ModelModality, bC as NETWORK_ATTACHMENT_API_VERSION, bD as NETWORK_ATTACHMENT_KIND, bE as NETWORK_CLASS_API_VERSION, bF as NETWORK_CLASS_KIND, bG as NetworkAttachmentManifest, bH as NetworkAttachmentResource, bI as NetworkAttachmentSpec, bJ as NetworkAttachmentStatus, bK as NetworkClassManifest, bL as NetworkClassResource, bM as NetworkClassSpec, bN as NetworkClassStatus, bO as NetworkEgressRule, bP as NodeTrustClass, bQ as POLICY_DECISION_API_VERSION, bR as POLICY_DECISION_KIND, bS as PersistedPolicyDecisionKind, bT as PolicyDecisionManifest, bU as PolicyDecisionResource, bV as PolicyDecisionSpec, bW as PolicyDecisionStatus, bX as RemoteDeploymentRequest, bY as RemoteDeploymentResult, bZ as RemoteDeploymentWorkloadOptions, b_ as RuntimeClassResource, b$ as RuntimeClassSpec, c0 as SECURITY_PROFILE_API_VERSION, c1 as SECURITY_PROFILE_KIND, c2 as SNAPSHOT_API_VERSION, c3 as SNAPSHOT_KIND, c4 as STORAGE_CLASS_API_VERSION, c5 as STORAGE_CLASS_KIND, c6 as SandboxSelectionResult, c7 as ScriptAdmissionDecision, c8 as ScriptAdmissionRequest, c9 as ScriptArtifactReference, ca as ScriptArtifactStore, C as ScriptDeploymentClient, cb as ScriptDeploymentClientConfig, cc as ScriptDeploymentClientRequest, cd as ScriptDeploymentPipelineOptions, ce as ScriptDeploymentRequest, cf as ScriptDeploymentResult, S as ScriptLoadGate, cg as ScriptLoadGateConfig, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, ch as ScriptTrustClass, ci as ScriptValidationResult, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, cn as SessionStorage, co as StorageClassManifest, cp as StorageClassResource, cq as StorageClassSpec, cr as StorageClassStatus, cs as TOOL_CLASS_API_VERSION, ct as TOOL_CLASS_KIND, cu as TOOL_EXECUTOR_API_VERSION, cv as TOOL_EXECUTOR_KIND, cw as TOOL_OPERATION_API_VERSION, cx as TOOL_OPERATION_KIND, T as TOOL_PARAMETER_PARSE_ERROR_KEY, cy as TapAsyncHandler, cz as ToolActions, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cD as ToolApprovalMode, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, cJ as ToolExecutionContext, cK as ToolExecutorCapability, cL as ToolExecutorManifest, cM as ToolExecutorResource, cN as ToolExecutorSpec, cO as ToolExecutorStatus, cP as ToolOperationApprovalEvidence, z as ToolOperationEffect, cQ as ToolOperationManifest, cR as ToolOperationPolicy, cS as ToolOperationResource, cT as ToolOperationResult, cU as ToolOperationRetryPolicy, cV as ToolOperationSpec, cW as ToolOperationStatus, cX as ToolOperationToolReference, cY as ToolRiskLevel, cZ as UserMessageContext, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d3 as WaitForConditionOptions, d4 as YieldNextRoundTarget, d5 as admitScript, d6 as agentRunReference, d7 as agentWorkloadReference, d8 as canonicalControlStoreValue, d9 as controlStoreApplyMatches, da as createAgentClient, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, df as createCheckpointRecord, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, u as createInstanceDeltaFromDefinition, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dp as createScriptDeploymentClient, dq as createScriptLoadGate, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, dz as defaultRequestedInterfacesForTrustClass, dA as deployGeneratedScript, dB as digestNormalizedScript, dC as isAgentRun, dD as isAgentWorkload, dE as isArtifactRecord, dF as isAuditRecord, dG as isCredentialGrant, dH as isDriverManifest, dI as isDriverManifestAdmitted, dJ as isModelCallRecord, dK as isModelClass, dL as isModelEndpoint, dM as isNetworkAttachment, dN as isNetworkClass, dO as isPolicyDecision, dP as isSecurityProfile, dQ as isSnapshot, dR as isStorageClass, dS as isToolClass, dT as isToolExecutor, dU as isToolOperation, v as isUserInitiatedConversation, dV as isVolume, dW as isVolumeClaim, x as matchAllToolCallings, y as matchToolCalling, dX as maxScriptBytesForTrustClass, dY as normalizeScript, dZ as parseCheckpointRecord, d_ as remoteDeploymentToWorkloadManifest, d$ as selectRuntimeClass, e0 as serializeCheckpointRecord, e1 as validateScript, e2 as waitForCondition } from './scriptDeploymentPipeline-
|
|
8
|
-
import { M as MemeLoopRuntime } from './registry-
|
|
9
|
-
export { A as ALL_CATEGORIES, a as AgentProfileRegistry, b as AgentStartData, c as AgentStopData, C as CategoryConfig, d as ContextCompactionData, e as CreateAgentLoopRunnerOptions, f as CreateAgentOptions, H as HookContext, g as HookHandler, h as HookResult, i as HookType, L as LoadPluginModuleOptions, j as LoadedPlugin, k as MergedPermissions, P as PERMISSIONS_TABLE_DDL, l as PermissionAction, m as PermissionRule, n as PermissionSet, o as PermissionSqlDatabase, p as PermissionSqlStatement, q as PluginAPI, r as PluginAPIOptions, s as PluginExports, t as PluginManifest, u as PluginModule, v as PostToolUseData, w as PreToolUseData, S as SendMessageOptions, T as TaskCategory, U as UserPromptSubmitData, x as checkPermission, y as clearPluginRegistrations, z as createAgentLoopRunner, B as createAgentLoopScriptRunner, D as createAgentProfileRunner, E as createMemeLoopRuntime, F as createPluginAPI, G as getAgentProfileRegistry, I as getCategoryConfig, J as getLoadedPlugin, K as getPluginRegistrations, N as isPluginLoaded, O as isTaskCategory, Q as listPlugins, R as loadPluginModule, V as loadPluginModules, W as loadUserPermissions, X as matchPattern, Y as mergePermissionSets, Z as registerPluginHooks, _ as registerPluginTools, $ as resetAgentProfileRegistry, a0 as resolveCategory, a1 as saveUserPermissions, a2 as unloadAllPlugins, a3 as unloadPlugin, a4 as validatePluginManifest } from './registry-
|
|
6
|
+
import { D as ToolApprovalConfig, E as ApprovalDecision, F as ToolApprovalRequest, m as IToolRegistry, P as PromptConcatTool, G as PromptConcatHookContext, H as DefineToolAgentFrameworkContext, J as PostProcessContext, K as AIResponseContext, w as ToolCallingMatch, N as PromptConcatHooks } from './scriptDeploymentPipeline-DU6sor6Y.js';
|
|
7
|
+
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, V as AIStreamResponseSubset, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, B as AgentClient, A as AgentFrameworkContext, a as AgentInstance, b as AgentInstanceLatestStatus, a as AgentInstanceModel, c as AgentInstanceState, d as AgentLoopDefinition, e as AgentLoopGenerator, f as AgentLoopInput, g as AgentLoopRuntime, h as AgentLoopScriptPolicy, i as AgentLoopStep, _ as AgentResponse, $ as AgentRunCondition, a0 as AgentRunManifest, a1 as AgentRunResource, a2 as AgentRunSpec, a3 as AgentRunStatus, a4 as AgentSnapshotManifest, a5 as AgentSnapshotResource, a6 as AgentSnapshotSpec, a7 as AgentSnapshotStatus, a8 as AgentStatusContext, j as AgentToolLoopOptions, a9 as AgentTrustLevel, aa as AgentVolumeClaimManifest, ab as AgentVolumeClaimResource, ac as AgentVolumeClaimSpec, ad as AgentVolumeClaimStatus, ae as AgentVolumeManifest, af as AgentVolumeReplicaStatus, ag as AgentVolumeResource, ah as AgentVolumeSpec, ai as AgentVolumeStatus, aj as AgentWorkloadCompletionPolicy, ak as AgentWorkloadCondition, al as AgentWorkloadCredentialPolicy, am as AgentWorkloadManifest, an as AgentWorkloadModelPolicy, ao as AgentWorkloadNetworkPolicy, ap as AgentWorkloadPlacement, aq as AgentWorkloadResource, ar as AgentWorkloadResourceRequirements, as as AgentWorkloadSpec, at as AgentWorkloadStatus, au as AgentWorkloadStoragePolicy, av as AgentWorkloadToolPolicy, aw as AgentWorkloadVolumeClaim, ax as ArtifactDestination, ay as ArtifactRecordManifest, az as ArtifactRecordResource, aA as ArtifactRecordSpec, aB as ArtifactRecordStatus, aC as ArtifactReviewEvidence, aD as ArtifactReviewKind, aE as ArtifactTrust, aF as AuditRecordManifest, aG as AuditRecordResource, aH as AuditRecordSpec, aI as BUILTIN_RUNTIME_CLASSES, aJ as BaseToolContext, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, aM as CheckpointRecord, aN as CheckpointStore, aO as CheckpointSummary, aP as ControlLeaseGrant, aQ as ControlLeaseIdentity, aR as ControlLeaseRequest, aS as ControlStore, aT as ControlStoreActor, aU as ControlStoreApplyOptions, aV as ControlStoreAuthorizationRequest, aW as ControlStoreAuthorizer, aX as ControlStoreCompactionResult, aY as ControlStoreCreateOptions, aZ as ControlStoreHealth, a_ as ControlStoreSnapshotResult, a$ as ControlStoreStatusUpdateOptions, b0 as ControlStoreVerb, b1 as CreateAgentRunOptions, b2 as CreateAgentWorkloadOptions, b3 as CredentialGrantManifest, b4 as CredentialGrantResource, b5 as CredentialGrantSpec, b6 as CredentialGrantStatus, b7 as DRIVER_MANIFEST_API_VERSION, b8 as DRIVER_MANIFEST_KIND, b9 as DataClassification, ba as DriverManifestConformance, bb as DriverManifestManifest, bc as DriverManifestResource, bd as DriverManifestSpec, be as DriverManifestStatus, bf as FrameworkPluginToolConfig, bg as HookSlot, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, bh as InfrastructureDriverType, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, bi as MODEL_CALL_RECORD_API_VERSION, bj as MODEL_CALL_RECORD_KIND, bk as MODEL_CLASS_API_VERSION, bl as MODEL_CLASS_KIND, bm as MODEL_ENDPOINT_API_VERSION, bn as MODEL_ENDPOINT_KIND, M as MemeLoopLogger, bo as ModelCallRecordManifest, bp as ModelCallRecordResource, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, bs as ModelClassCapabilities, bt as ModelClassManifest, bu as ModelClassResource, bv as ModelClassSpec, bw as ModelClassStatus, bx as ModelEndpointManifest, by as ModelEndpointResource, bz as ModelEndpointSpec, bA as ModelEndpointStatus, bB as ModelModality, bC as NETWORK_ATTACHMENT_API_VERSION, bD as NETWORK_ATTACHMENT_KIND, bE as NETWORK_CLASS_API_VERSION, bF as NETWORK_CLASS_KIND, bG as NetworkAttachmentManifest, bH as NetworkAttachmentResource, bI as NetworkAttachmentSpec, bJ as NetworkAttachmentStatus, bK as NetworkClassManifest, bL as NetworkClassResource, bM as NetworkClassSpec, bN as NetworkClassStatus, bO as NetworkEgressRule, bP as NodeTrustClass, bQ as POLICY_DECISION_API_VERSION, bR as POLICY_DECISION_KIND, bS as PersistedPolicyDecisionKind, bT as PolicyDecisionManifest, bU as PolicyDecisionResource, bV as PolicyDecisionSpec, bW as PolicyDecisionStatus, bX as RemoteDeploymentRequest, bY as RemoteDeploymentResult, bZ as RemoteDeploymentWorkloadOptions, b_ as RuntimeClassResource, b$ as RuntimeClassSpec, c0 as SECURITY_PROFILE_API_VERSION, c1 as SECURITY_PROFILE_KIND, c2 as SNAPSHOT_API_VERSION, c3 as SNAPSHOT_KIND, c4 as STORAGE_CLASS_API_VERSION, c5 as STORAGE_CLASS_KIND, c6 as SandboxSelectionResult, c7 as ScriptAdmissionDecision, c8 as ScriptAdmissionRequest, c9 as ScriptArtifactReference, ca as ScriptArtifactStore, C as ScriptDeploymentClient, cb as ScriptDeploymentClientConfig, cc as ScriptDeploymentClientRequest, cd as ScriptDeploymentPipelineOptions, ce as ScriptDeploymentRequest, cf as ScriptDeploymentResult, S as ScriptLoadGate, cg as ScriptLoadGateConfig, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, ch as ScriptTrustClass, ci as ScriptValidationResult, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, cn as SessionStorage, co as StorageClassManifest, cp as StorageClassResource, cq as StorageClassSpec, cr as StorageClassStatus, cs as TOOL_CLASS_API_VERSION, ct as TOOL_CLASS_KIND, cu as TOOL_EXECUTOR_API_VERSION, cv as TOOL_EXECUTOR_KIND, cw as TOOL_OPERATION_API_VERSION, cx as TOOL_OPERATION_KIND, T as TOOL_PARAMETER_PARSE_ERROR_KEY, cy as TapAsyncHandler, cz as ToolActions, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cD as ToolApprovalMode, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, cJ as ToolExecutionContext, cK as ToolExecutorCapability, cL as ToolExecutorManifest, cM as ToolExecutorResource, cN as ToolExecutorSpec, cO as ToolExecutorStatus, cP as ToolOperationApprovalEvidence, z as ToolOperationEffect, cQ as ToolOperationManifest, cR as ToolOperationPolicy, cS as ToolOperationResource, cT as ToolOperationResult, cU as ToolOperationRetryPolicy, cV as ToolOperationSpec, cW as ToolOperationStatus, cX as ToolOperationToolReference, cY as ToolRiskLevel, cZ as UserMessageContext, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d3 as WaitForConditionOptions, d4 as YieldNextRoundTarget, d5 as admitScript, d6 as agentRunReference, d7 as agentWorkloadReference, d8 as canonicalControlStoreValue, d9 as controlStoreApplyMatches, da as createAgentClient, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, df as createCheckpointRecord, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, u as createInstanceDeltaFromDefinition, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dp as createScriptDeploymentClient, dq as createScriptLoadGate, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, dz as defaultRequestedInterfacesForTrustClass, dA as deployGeneratedScript, dB as digestNormalizedScript, dC as isAgentRun, dD as isAgentWorkload, dE as isArtifactRecord, dF as isAuditRecord, dG as isCredentialGrant, dH as isDriverManifest, dI as isDriverManifestAdmitted, dJ as isModelCallRecord, dK as isModelClass, dL as isModelEndpoint, dM as isNetworkAttachment, dN as isNetworkClass, dO as isPolicyDecision, dP as isSecurityProfile, dQ as isSnapshot, dR as isStorageClass, dS as isToolClass, dT as isToolExecutor, dU as isToolOperation, v as isUserInitiatedConversation, dV as isVolume, dW as isVolumeClaim, x as matchAllToolCallings, y as matchToolCalling, dX as maxScriptBytesForTrustClass, dY as normalizeScript, dZ as parseCheckpointRecord, d_ as remoteDeploymentToWorkloadManifest, d$ as selectRuntimeClass, e0 as serializeCheckpointRecord, e1 as validateScript, e2 as waitForCondition } from './scriptDeploymentPipeline-DU6sor6Y.js';
|
|
8
|
+
import { M as MemeLoopRuntime } from './registry-DVv_RVPZ.js';
|
|
9
|
+
export { A as ALL_CATEGORIES, a as AgentProfileRegistry, b as AgentStartData, c as AgentStopData, C as CategoryConfig, d as ContextCompactionData, e as CreateAgentLoopRunnerOptions, f as CreateAgentOptions, H as HookContext, g as HookHandler, h as HookResult, i as HookType, L as LoadPluginModuleOptions, j as LoadedPlugin, k as MergedPermissions, P as PERMISSIONS_TABLE_DDL, l as PermissionAction, m as PermissionRule, n as PermissionSet, o as PermissionSqlDatabase, p as PermissionSqlStatement, q as PluginAPI, r as PluginAPIOptions, s as PluginExports, t as PluginManifest, u as PluginModule, v as PostToolUseData, w as PreToolUseData, S as SendMessageOptions, T as TaskCategory, U as UserPromptSubmitData, x as checkPermission, y as clearPluginRegistrations, z as createAgentLoopRunner, B as createAgentLoopScriptRunner, D as createAgentProfileRunner, E as createMemeLoopRuntime, F as createPluginAPI, G as getAgentProfileRegistry, I as getCategoryConfig, J as getLoadedPlugin, K as getPluginRegistrations, N as isPluginLoaded, O as isTaskCategory, Q as listPlugins, R as loadPluginModule, V as loadPluginModules, W as loadUserPermissions, X as matchPattern, Y as mergePermissionSets, Z as registerPluginHooks, _ as registerPluginTools, $ as resetAgentProfileRegistry, a0 as resolveCategory, a1 as saveUserPermissions, a2 as unloadAllPlugins, a3 as unloadPlugin, a4 as validatePluginManifest } from './registry-DVv_RVPZ.js';
|
|
10
10
|
export { ChatSyncEngine, ChatSyncEngineOptions, ChatSyncPeer, PeerNodeSyncAdapter, PeerNodeTransport, decodeAttachmentBlobRpc } from './device-network-portable.js';
|
|
11
|
-
import {
|
|
12
|
-
export {
|
|
13
|
-
export { A as AgentProfile, a as AgentProfileType, B as BUILTIN_AGENT_PROFILES, P as ProviderConfig, b as ProviderRegistry, R as RegisteredProvider, T as ToolPermissionRules, c as buildAgent, e as exploreAgent, l as librarianAgent, o as oracleAgent, p as planAgent } from './providerRegistry-
|
|
14
|
-
import {
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
export { A as
|
|
18
|
-
export {
|
|
19
|
-
export { A as
|
|
11
|
+
import { K as FullAgentStorage, n as DetailReference } from './interface-C54gkLA3.js';
|
|
12
|
+
export { M as AgentInfrastructureInterface, N as AgentInstanceStore, P as AgentOrchestrationCapabilities, p as AgentOrchestrationClient, Q as AgentOrchestrationOperation, A as AttachmentReference, R as BlobStore, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, S as ConversationDirectoryStore, o as ConversationEventStore, C as ConversationMeta, a as ConversationMetadataPage, m as ConversationQueryMode, U as DefinitionStore, D as DetailRefType, G as GetMessagesOptions, I as IAgentStorage, W as IMChannel, X as IMChannelBinding, Y as IMPlatformType, Z as ImBindingStore, _ as ImChannelBindingRecord, L as ListConversationsOptions, $ as ORCHESTRATION_ERROR_CODES, a0 as OrchestrationApplyOptions, a1 as OrchestrationBookmarkWatchEvent, a2 as OrchestrationCondition, a3 as OrchestrationConditionStatus, H as OrchestrationDeleteOptions, J as OrchestrationDeleteResult, a4 as OrchestrationError, a5 as OrchestrationErrorCode, O as OrchestrationErrorData, a6 as OrchestrationErrorWatchEvent, a7 as OrchestrationEvent, a8 as OrchestrationEventSeverity, w as OrchestrationGetOptions, z as OrchestrationListOptions, a9 as OrchestrationManifestMetadata, t as OrchestrationObjectMetadata, r as OrchestrationOwnerReference, aa as OrchestrationPreconditions, x as OrchestrationResource, B as OrchestrationResourceList, q as OrchestrationResourceManifest, y as OrchestrationResourceQuery, v as OrchestrationResourceReference, u as OrchestrationResourceStatus, ab as OrchestrationResourceWatchEvent, ac as OrchestrationResourceWatchEventType, s as OrchestrationTypeMeta, F as OrchestrationWatchEvent, E as OrchestrationWatchOptions, T as ToolCall, V as VersionRange, b as VersionVector, c as computeMissingVersionRanges, i as isConversationMeta, ad as isOrchestrationError, ae as toOrchestrationErrorData } from './interface-C54gkLA3.js';
|
|
13
|
+
export { A as AgentProfile, a as AgentProfileType, B as BUILTIN_AGENT_PROFILES, P as ProviderConfig, b as ProviderRegistry, R as RegisteredProvider, T as ToolPermissionRules, c as buildAgent, e as exploreAgent, l as librarianAgent, o as oracleAgent, p as planAgent } from './providerRegistry-Bs2lJpj9.js';
|
|
14
|
+
import { A as AgentDefinition, I as IPrompt } from './types-CcoJ_fdH.js';
|
|
15
|
+
export { a as AgentDefinitionModelConfig, b as AgentDefinitionToolConfig, g as AgentFrameworkConfig, c as AgentHeartbeatConfig, d as AgentInstanceMeta, h as AgentPromptDescription, e as AiAPIConfig, H as HostAgentToolConfig, M as ModelParameters, f as ModelSelection, P as PromptNode, i as PromptPluginConfig } from './types-CcoJ_fdH.js';
|
|
16
|
+
import { B as BuiltinToolContext, a as BuiltinToolImpl } from './orchestration-portable-CQRrnoEw.js';
|
|
17
|
+
export { A as ArtifactAdmissionDecision, b as ArtifactContentStore, c as ArtifactDestinationPolicy, d as ArtifactInspectionExecutor, e as ArtifactInspectionInput, f as ArtifactInspectionRequest, g as ArtifactInspectionResult, h as ArtifactInspector, i as ArtifactManagementCapabilities, j as ArtifactManagementDriver, k as ArtifactManagementStateSnapshot, l as ArtifactPutPayload, m as ArtifactReviewWriter, n as ArtifactSanitizationResult, o as AttestedIdentity, p as AuditEffect, q as AuditProvenance, r as AuditTelemetryCapabilities, s as AuditTelemetryManagementDriver, t as AuditTelemetryRecord, u as AuditTelemetryRecordKind, v as AuthorizedToolExecution, C as ControlStoreConformanceFactory, w as CredentialBrokerDriver, x as CredentialGrantClaims, y as CredentialGrantHandle, z as CredentialGrantInspection, D as CredentialGrantProof, E as CredentialGrantScope, F as CredentialGrantVerification, G as CredentialIssuePayload, H as CredentialManagementCapabilities, I as CredentialManagementDriver, J as CredentialProofVerifier, K as DEFAULT_DESTINATION_POLICIES, L as DRIVER_REQUEST_API_VERSION, M as DriverConformanceSuite, N as DriverConformanceTest, O as DriverManifest, P as DriverRequestEnvelope, Q as FakeArtifactManagementState, R as FakeAuditTelemetryState, S as FakeCredentialManagementState, T as FakeDriverOptions, U as FakeIdentityAttestationState, V as FakeLoopRuntimeState, W as FakeModelManagementState, X as FakeNetworkManagementState, Y as FakePolicyApprovalState, Z as FakeStorageManagementState, _ as FakeToolManagementState, $ as GatewayMediatedLLMProviderOptions, a0 as IdentityAttestationCapabilities, a1 as IdentityAttestationManagementDriver, a2 as IdentityChallenge, a3 as IdentityDomain, a4 as IdentityEnrollment, a5 as IdentityInspection, a6 as IdentitySession, a7 as InMemoryCredentialBrokerOptions, a8 as InMemoryModelAccessHandleBrokerOptions, a9 as InProcessLoopRuntimeDriverOptions, aa as InProcessToolExecutionDriverOptions, ab as IssueCredentialGrantRequest, ac as IssueModelAccessHandleRequest, ad as LegacyLLMProviderDriverOptions, ae as LoopRunHandle, af as LoopRunOutcome, ag as LoopRunStartRequest, ah as LoopRuntimeCapabilities, ai as LoopRuntimeCheckpoint, aj as LoopRuntimeDriver, ak as LoopRuntimeManagementDriver, al as LoopRuntimePreparePayload, am as LoopRuntimePrepared, an as LoopRuntimeStartPayload, ao as ManagedArtifact, ap as ManagedArtifactMount, aq as ManagedCredentialAdapterStateStore, ar as ManagedCredentialBrokerAdapterOptions, as as ManagedCredentialGrant, at as ManagedCredentialMaterialization, au as ManagedLoopRunStatus, av as ManagedLoopRuntimeAdapterOptions, aw as ManagedLoopRuntimeExecutionRoute, ax as ManagedLoopRuntimeExecutionRouteOptions, ay as ManagedModelChunk, az as ManagedModelDescriptor, aA as ManagedModelEstimate, aB as ManagedModelGatewayAccess, aC as ManagedModelGatewayAdapterOptions, aD as ManagedModelRequest, aE as ManagedModelUsage, aF as ManagedNetworkAdapterOptions, aG as ManagedNetworkPolicy, aH as ManagedNetworkStatus, aI as ManagedReplicaHealth, aJ as ManagedServiceResolution, aK as ManagedToolDescriptor, aL as ManagedToolEvidence, aM as ManagedToolExecution, aN as ManagedToolExecutionPhase, aO as ManagedToolOutputChunk, aP as ManagedVolume, aQ as ManagedVolumeBackup, aR as ManagedVolumePublication, aS as ManagedVolumeSnapshot, aT as ManagedVolumeStage, aU as ManagedVolumeStats, aV as ModelAccessHandle, aW as ModelAccessHandleBroker, aX as ModelAccessHandleBudget, aY as ModelAccessHandleClaims, aZ as ModelGateway, a_ as ModelGatewayCallRecord, a$ as ModelGatewayExecutor, b0 as ModelGatewayGenerateRequest, b1 as ModelGatewayOptions, b2 as ModelGatewayRecorder, b3 as ModelGenerateMessage, b4 as ModelGenerateRequest, b5 as ModelHandleSigner, b6 as ModelManagementCapabilities, b7 as ModelManagementDriver, b8 as ModelProviderDataPolicy, b9 as ModelProviderDriver, ba as ModelProviderHealth, bb as ModelStreamChunk, bc as NetworkAttachRequest, bd as NetworkClassSatisfaction, be as NetworkDriver, bf as NetworkDriverCapabilities, bg as NetworkDriverHealth, bh as NetworkEnforceableFeature, bi as NetworkEnforcementLevel, bj as NetworkManagementCapabilities, bk as NetworkManagementDriver, bl as NetworkPreparePayload, bm as PolicyApprovalCapabilities, bn as PolicyApprovalManagementDriver, bo as PolicyDecision, bp as PolicyDecisionKind, bq as PolicyDecisionOutcome, br as PolicyExplanation, bs as PreparedToolExecution, bt as ResolvedManagedNetworkRequest, bu as RuntimeClassRoutingDriverOptions, bv as StorageManagementCapabilities, bw as StorageManagementDriver, bx as StorageProvisionPayload, by as ToolCatalogSnapshot, bz as ToolExecutionDriver, bA as ToolManagementCapabilities, bB as ToolManagementDriver, bC as ToolOperationApprovalBroker, bD as ToolOperationApprovalDecision, bE as ToolOperationApprovalRequest, bF as VerifyModelAccessHandleOptions, bG as artifactTrustRank, bH as assertArtifactAdmission, bI as assertClassificationAllowed, bJ as assertDriverRequestEnvelope, bK as assertManagedNetworkPolicy, bL as assertNetworkPreparePayload, bM as assertNetworkUpdatePayload, bN as base64UrlDecode, bO as base64UrlEncode, bP as canArtifactEnter, bQ as canDriverSatisfyClass, bR as canonicalDriverValue, bS as classificationRank, bT as countManagedNetworkPolicyRules, bU as createArtifactManagementConformanceSuite, bV as createAuditTelemetryConformanceSuite, bW as createControlStoreConformanceSuite, bX as createCredentialManagementConformanceSuite, bY as createExternalOrchestrationDriverConformanceSuite, bZ as createFakeArtifactManagementDriver, b_ as createFakeArtifactManagementState, b$ as createFakeAuditTelemetryManagementDriver, c0 as createFakeAuditTelemetryState, c1 as createFakeCredentialManagementDriver, c2 as createFakeCredentialManagementState, c3 as createFakeIdentityAttestationManagementDriver, c4 as createFakeIdentityAttestationState, c5 as createFakeLoopRuntimeManagementDriver, c6 as createFakeLoopRuntimeState, c7 as createFakeModelManagementDriver, c8 as createFakeModelManagementState, c9 as createFakeModelProviderDriver, ca as createFakeNetworkDriver, cb as createFakeNetworkManagementDriver, cc as createFakeNetworkManagementState, cd as createFakePolicyApprovalManagementDriver, ce as createFakePolicyApprovalState, cf as createFakeStorageManagementDriver, cg as createFakeStorageManagementState, ch as createFakeToolExecutionDriver, ci as createFakeToolManagementDriver, cj as createFakeToolManagementState, ck as createGatewayMediatedLLMProvider, cl as createIdentityAttestationConformanceSuite, cm as createInMemoryCredentialBroker, cn as createInMemoryModelAccessHandleBroker, co as createInProcessLoopRuntimeDriver, cp as createInProcessToolExecutionDriver, cq as createLoopRuntimeManagementConformanceSuite, cr as createManagedCredentialBrokerAdapter, cs as createManagedLoopRuntimeAdapter, ct as createManagedLoopRuntimeExecutionRoute, cu as createManagedModelGatewayAdapter, cv as createManagedNetworkAdapter, cw as createModelGateway, cx as createModelManagementConformanceSuite, cy as createModelProviderDriverConformanceSuite, cz as createModelProviderDriverFromLLMProvider, cA as createNetworkDriverConformanceSuite, cB as createNetworkManagementConformanceSuite, cC as createPolicyApprovalConformanceSuite, cD as createRuntimeClassRoutingDriver, cE as createStorageManagementConformanceSuite, cF as createToolCatalogConformanceSuite, cG as createToolExecutionDriverConformanceSuite, cH as createToolManagementConformanceSuite, cI as deriveArtifactTrust, cJ as featuresRequiredByClass, cK as inspectAndRecordArtifact, cL as modelClassNameForSpec, cM as restoreArtifactManagementState, cN as runConformanceSuite, cO as snapshotArtifactManagementState } from './orchestration-portable-CQRrnoEw.js';
|
|
18
|
+
export { F as FetchOrchestrationTransportOptions, N as NamespacedOrchestrationClientOptions, d as REMOTE_ORCHESTRATION_PROTOCOL, e as ReadOnlyOrchestrationClientOptions, f as RemoteOrchestrationClientOptions, g as RemoteOrchestrationOperation, R as RemoteOrchestrationRequest, a as RemoteOrchestrationResponse, c as RemoteOrchestrationTransport, b as RemoteOrchestrationTransportOptions, h as createFetchOrchestrationTransport, i as createNamespacedOrchestrationClient, j as createReadOnlyOrchestrationClient, k as createRemoteOrchestrationClient, l as createRemoteOrchestrationHandler } from './remoteClient-D1gPizds.js';
|
|
19
|
+
export { A as AttachmentBlobWire, C as CreateDevicePairingInviteOptions, D as DEVICE_BINDING_SIGNATURE_DOMAIN, a as DEVICE_CONNECTION_GRANT_SIGNATURE_DOMAIN, b as DEVICE_ORCHESTRATION_PROTOCOL, c as DEVICE_PAIRING_INVITE_PROTOCOL, d as DEVICE_PAIRING_INVITE_TTL_MS, e as DEVICE_RELAY_ADMISSION_SIGNATURE_DOMAIN, f as DeviceCloudComponentStatus, g as DeviceCloudConnectionAdapter, h as DeviceCloudConnectionComponent, i as DeviceCloudConnectionCoordinator, j as DeviceCloudConnectionCoordinatorOptions, k as DeviceCloudConnectionSnapshot, l as DeviceCloudConnectionStatus, m as DeviceCloudStepResult, n as DeviceOrchestrationStreamHandler, o as DeviceOrchestrationStreamHandlerInput, p as DeviceOrchestrationStreamHandlerOptions, q as DeviceOrchestrationTransportOptions, r as DevicePairingInvite, s as DevicePairingInviteIdentityVerifier, t as DevicePairingInviteIdentityVerifierInput, u as DevicePairingInviteUnsignedPayload, v as DeviceSyncStateStore, J as JsonFrameError, w as JsonFrameErrorCode, x as JsonFrameReaderOptions, L as LIBP2P_RPC_REQUEST_TYPE, y as LIBP2P_RPC_RESPONSE_TYPE, z as LIBP2P_SYNC_REQUEST_TYPE, B as LIBP2P_SYNC_RESPONSE_TYPE, E as Libp2pDeviceSyncTransport, F as Libp2pDeviceSyncTransportOptions, G as Libp2pRpcRequest, H as Libp2pRpcResponse, I as Libp2pSyncMethod, K as Libp2pSyncRequest, M as Libp2pSyncResponse, N as LocalTrustDeviceAuthorizer, O as LocalTrustDeviceAuthorizerOptions, P as MemoryDeviceSyncStateStore, Q as ParseDevicePairingInviteOptions, R as RemoteOrchestrationHandler, S as attachmentBlobFromWire, T as buildDeviceBindingMessage, U as buildDeviceConnectionGrantMessage, V as buildDeviceRelayReservationTokenMessage, W as canonicalDevicePairingInviteBytes, X as createDeviceOrchestrationStreamHandler, Y as createDeviceOrchestrationTransport, Z as createDevicePairingInvite, _ as createJsonFrameReader, $ as encodeDevicePairingInvite, a0 as encodeJsonFrame, a1 as encodeJsonFrames, a2 as isLibp2pRpcRequest, a3 as isLibp2pRpcResponse, a4 as isLibp2pSyncRequest, a5 as isLibp2pSyncResponse, a6 as parseDevicePairingInvite } from './pairingInvite-CsfsexXC.js';
|
|
20
|
+
export { C as CloudDeviceSyncLogger, M as MemoryDeviceNetworkService, a as MemoryDeviceNetworkServiceOptions, s as syncCloudDevices } from './syncCloudDevices-CSLbMESm.js';
|
|
21
|
+
export { A as AgentExecutionLocation, a as AgentExecutionState, b as AttachmentBlob, C as CloudDeviceClient, c as CloudDeviceRecord, d as ConversationExecutionPlacement, D as Device, e as DeviceAccountBindingRequest, f as DeviceAuthorizer, g as DeviceCapabilities, h as DeviceConnectionGrant, i as DeviceConnectionGrantVerificationInput, j as DeviceNetworkListenOptions, k as DeviceNetworkPath, l as DeviceNetworkService, m as DevicePlatform, n as DeviceProtocolDirection, o as DeviceReachability, p as DeviceReachabilityState, q as DeviceRelayReservationToken, r as DeviceRelayReservationTokenVerificationInput, s as DeviceRpcHandler, t as DeviceRpcHandlerInput, u as DeviceSyncTransport, v as DeviceTrustMode, w as DeviceTrustStore, E as ExchangeVersionVectorResult, L as LocalDeviceIdentity, x as LocalPairingRequestOptions, M as MemeLoopDuplexStream, y as MemeLoopProtocol, P as PairingSession, z as PairingSessionDirection, B as PairingSessionStatus, S as SyncResult, T as TrustedDeviceRecord } from './types-C29NBZ2w.js';
|
|
20
22
|
export { ChatMessageProjection, buildLegacyChatMessageParts, buildToolResultSummary, createAgentInstanceFromDefinition, createChatMessage, getChatMessageParts, isToolResultPart, parseLegacyToolResultContent, projectChatMessageParts } from './conversation.js';
|
|
21
23
|
import { z } from 'zod';
|
|
24
|
+
export { mergeAgentToolsIntoFrameworkConfig } from './tools.js';
|
|
22
25
|
import 'ai';
|
|
23
26
|
|
|
24
27
|
/**
|
|
@@ -459,15 +462,6 @@ declare function defineTool<TConfigSchema extends z.ZodType, TLLMToolSchemas ext
|
|
|
459
462
|
description: string;
|
|
460
463
|
};
|
|
461
464
|
|
|
462
|
-
/**
|
|
463
|
-
* Host agent tool configuration → prompt plugin mapping.
|
|
464
|
-
* Every host (Desktop, CLI, Cloud) that defines agent tools needs this merge logic.
|
|
465
|
-
* Defined once in memeloop so each host doesn't reimplement it.
|
|
466
|
-
*/
|
|
467
|
-
|
|
468
|
-
type HostAgentToolConfig = AgentDefinitionToolConfig;
|
|
469
|
-
declare function mergeAgentToolsIntoFrameworkConfig(frameworkConfig: AgentFrameworkConfig | undefined, agentTools: HostAgentToolConfig[] | undefined): AgentFrameworkConfig;
|
|
470
|
-
|
|
471
465
|
/**
|
|
472
466
|
* TidGi `parallelExecution.ts` 迁移。
|
|
473
467
|
*/
|
|
@@ -587,4 +581,4 @@ declare function registerToolDefinition<TConfigSchema extends z.ZodType, TLLMToo
|
|
|
587
581
|
declare function getAllToolDefinitions(): Map<string, DefinedTool>;
|
|
588
582
|
declare function getToolDefinition(toolId: string): DefinedTool | undefined;
|
|
589
583
|
|
|
590
|
-
export { AIResponseContext, ASK_QUESTION_TOOL_ID, ASK_USER_QUESTION_TOOL_ID, type AddToolResultOptions, AgentDefinition,
|
|
584
|
+
export { AIResponseContext, ASK_QUESTION_TOOL_ID, ASK_USER_QUESTION_TOOL_ID, type AddToolResultOptions, AgentDefinition, ApprovalDecision, BuiltinToolContext, BuiltinToolImpl, DefineToolAgentFrameworkContext, type DefinedTool, DetailReference, FullAgentStorage, IMChannelManager, IM_SESSION_TOOL_IDS, IPrompt, IToolRegistry, type ImSessionBuiltinRegistration, type InjectContentOptions, type InjectToolListOptions, MEMELOOP_STRUCTURED_TOOL_KEY, MEMELOOP_TERMINAL_OUTPUT_NOTIFICATION, MemeLoopRuntime, type MemeloopStructuredToolPayload, type MemeloopTerminalOutputNotificationMethod, ORCHESTRATION_TOOL_ID, PostProcessContext, type PostProcessHandlerContext, PromptConcatHookContext, PromptConcatHooks, PromptConcatTool, type ResponseHandlerContext, STORAGE_CONFORMANCE_CHECKS, type StorageConformanceCheck, type StorageConformanceReport, TODO_WRITE_TOOL_ID, type TiddlerFieldsForAgent, ToolApprovalConfig, ToolApprovalRequest, type ToolCallEntry, type ToolCallResult, ToolCallingMatch, type ToolDefinition, ToolDefinitionRegistry, type ToolExecutionResult, type ToolHandlerContext, __clearTodoStore, askQuestionConfigSchema, askQuestionImpl, askUserQuestionConfigSchema, askUserQuestionImpl, assertStorageConformance, buildMemeloopFileUri, buildMemeloopUri, cancelPendingApprovals, createAgentFrameworkHooks, createHooksWithPlugins, defineTool, evaluateApproval, executeToolCallsParallel, executeToolCallsSequential, extractMemeloopStructuredToolPayload, findPromptById, getActivePluginRegistry, getAllToolDefinitions, getDefaultToolDefinitionRegistry, getMcpClientToolId, getMcpForwardToolId, getPendingApprovals, getRemoteAgentToolId, getSpawnAgentToolId, getTaskToolId, getToolDefinition, getToolMetadata, getToolParameterSchema, gitProxyTargetBlockReason, mcpClientConfigSchema, mcpClientImpl, mcpForwardConfigSchema, mcpForwardImpl, onApprovalRequest, orchestrationConfigSchema, orchestrationImpl, parseMemeloopUri, pluginRegistry, registerBuiltinTools, registerImSessionBuiltinTools, registerToolDefinition, registerToolParameterSchema, remoteAgentConfigSchema, remoteAgentImpl, remoteAgentListImpl, requestApproval, resolveApproval, resolvePromptPluginMap, resolveQuestionAnswer, runPostProcessHooks, runProcessPromptsHooks, runResponseCompleteHooks, runStorageConformance, runToolExecutedHooks, runWithPluginRegistry, schemaToToolContent, spawnAgentConfigSchema, spawnAgentImpl, taskToolConfigSchema, taskToolImpl, tiddlerToAgentDefinition, todoWriteConfigSchema, todoWriteImpl, toolSchemaToJsonSchema, truncateToolSummary };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
mergeAgentToolsIntoFrameworkConfig
|
|
3
|
+
} from "./chunk-4OITUYFC.js";
|
|
1
4
|
import {
|
|
2
5
|
AgentCreationController,
|
|
3
6
|
AgentDefinitionEditorController,
|
|
@@ -24,7 +27,7 @@ import {
|
|
|
24
27
|
unloadAllPlugins,
|
|
25
28
|
unloadPlugin,
|
|
26
29
|
validatePluginManifest
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XIEXGFPY.js";
|
|
28
31
|
import {
|
|
29
32
|
AGENT_AGENT_LOOP_ID,
|
|
30
33
|
AGENT_TOOL_LOOP_ID,
|
|
@@ -116,7 +119,7 @@ import {
|
|
|
116
119
|
toolSchemaToJsonSchema,
|
|
117
120
|
validateScript,
|
|
118
121
|
waitForCondition
|
|
119
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-KTZDDC7M.js";
|
|
120
123
|
import {
|
|
121
124
|
ALL_CATEGORIES,
|
|
122
125
|
getCategoryConfig,
|
|
@@ -126,7 +129,7 @@ import {
|
|
|
126
129
|
import {
|
|
127
130
|
MemoryDeviceNetworkService,
|
|
128
131
|
syncCloudDevices
|
|
129
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-6OLAL5CW.js";
|
|
130
133
|
import {
|
|
131
134
|
ChatSyncEngine,
|
|
132
135
|
DEVICE_BINDING_SIGNATURE_DOMAIN,
|
|
@@ -165,7 +168,7 @@ import {
|
|
|
165
168
|
isLibp2pSyncRequest,
|
|
166
169
|
isLibp2pSyncResponse,
|
|
167
170
|
parseDevicePairingInvite
|
|
168
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-645GZGNM.js";
|
|
169
172
|
import {
|
|
170
173
|
DEFAULT_DESTINATION_POLICIES,
|
|
171
174
|
DRIVER_REQUEST_API_VERSION,
|
|
@@ -235,7 +238,7 @@ import {
|
|
|
235
238
|
scanForPromptInjection,
|
|
236
239
|
snapshotArtifactManagementState,
|
|
237
240
|
validateArchiveManifest
|
|
238
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-UB77WKAU.js";
|
|
239
242
|
import {
|
|
240
243
|
REMOTE_ORCHESTRATION_PROTOCOL,
|
|
241
244
|
createFetchOrchestrationTransport,
|
|
@@ -251,11 +254,11 @@ import {
|
|
|
251
254
|
import {
|
|
252
255
|
resolveAgentToolLoopTerminalState,
|
|
253
256
|
runAgentToolLoopTurn
|
|
254
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-ROPAEJIM.js";
|
|
255
258
|
import {
|
|
256
259
|
createFetchLLMProvider,
|
|
257
260
|
resolveFetchLLMCallSettings
|
|
258
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-5EUJNLVW.js";
|
|
259
262
|
import {
|
|
260
263
|
HookRegistry,
|
|
261
264
|
MEMELOOP_STRUCTURED_TOOL_KEY,
|
|
@@ -309,7 +312,7 @@ import {
|
|
|
309
312
|
shouldCompact,
|
|
310
313
|
truncateToolSummary,
|
|
311
314
|
unregisterHook
|
|
312
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-HVLCOJWI.js";
|
|
313
316
|
import {
|
|
314
317
|
buildLegacyChatMessageParts,
|
|
315
318
|
buildToolResultSummary,
|
|
@@ -780,12 +783,13 @@ function createFleetRolloutController(_store, options) {
|
|
|
780
783
|
const now = options.now ?? (() => /* @__PURE__ */ new Date());
|
|
781
784
|
async function reconcileRollout(request) {
|
|
782
785
|
const rollout = request.resource;
|
|
783
|
-
const
|
|
786
|
+
const previousStatus = rollout.status;
|
|
787
|
+
const status = previousStatus?.observedGeneration !== void 0 && previousStatus.observedGeneration !== rollout.metadata.generation ? void 0 : previousStatus;
|
|
784
788
|
const spec = rollout.spec;
|
|
785
|
-
if (status
|
|
786
|
-
return { ready: true };
|
|
789
|
+
if (status?.phase === "Completed" || status?.phase === "Failed" || status?.phase === "RolledBack") {
|
|
790
|
+
return status.observedGeneration === rollout.metadata.generation ? { ready: true } : { status, ready: true };
|
|
787
791
|
}
|
|
788
|
-
if (!status.phase) {
|
|
792
|
+
if (!status || status.phase === "Pending") {
|
|
789
793
|
return {
|
|
790
794
|
status: {
|
|
791
795
|
...status,
|
|
@@ -1120,6 +1124,7 @@ function createFleetRolloutController(_store, options) {
|
|
|
1120
1124
|
if (result.status) {
|
|
1121
1125
|
result.status = {
|
|
1122
1126
|
...result.status,
|
|
1127
|
+
observedGeneration: request.resource.metadata.generation,
|
|
1123
1128
|
consumedBudget: sumEvidenceUsage(result.status.evidence)
|
|
1124
1129
|
};
|
|
1125
1130
|
}
|
|
@@ -6030,7 +6035,7 @@ function createInProcessLoopRuntimeDriver(context, options = {}) {
|
|
|
6030
6035
|
});
|
|
6031
6036
|
}
|
|
6032
6037
|
}
|
|
6033
|
-
const { createAgentLoopRunner: createAgentLoopRunner2, createAgentLoopScriptRunner: createAgentLoopScriptRunner2 } = await import("./runtime-
|
|
6038
|
+
const { createAgentLoopRunner: createAgentLoopRunner2, createAgentLoopScriptRunner: createAgentLoopScriptRunner2 } = await import("./runtime-SASMRN4I.js");
|
|
6034
6039
|
let runner = null;
|
|
6035
6040
|
if (workload.spec.scriptReference) {
|
|
6036
6041
|
if (!request.scriptSource) {
|
|
@@ -7779,6 +7784,16 @@ function createWorkerProtocolGateway(options) {
|
|
|
7779
7784
|
const rateLimit = options.maxRequestsPerMinute ?? DEFAULT_RATE_PER_MINUTE2;
|
|
7780
7785
|
const maxResponseBytes = options.maxResponseBytes ?? DEFAULT_MAX_RESPONSE_BYTES;
|
|
7781
7786
|
const requestLog = /* @__PURE__ */ new Map();
|
|
7787
|
+
let nextRequestLogSweepAt = 0;
|
|
7788
|
+
function pruneInactiveRequestLogs(windowStart, receivedAtMs) {
|
|
7789
|
+
if (receivedAtMs < nextRequestLogSweepAt) return;
|
|
7790
|
+
for (const [sessionName, timestamps] of requestLog) {
|
|
7791
|
+
if (timestamps.length === 0 || timestamps[timestamps.length - 1] < windowStart) {
|
|
7792
|
+
requestLog.delete(sessionName);
|
|
7793
|
+
}
|
|
7794
|
+
}
|
|
7795
|
+
nextRequestLogSweepAt = receivedAtMs + 6e4;
|
|
7796
|
+
}
|
|
7782
7797
|
async function audit(request, accepted, receivedAt, code) {
|
|
7783
7798
|
try {
|
|
7784
7799
|
await options.onAudit?.({
|
|
@@ -7837,6 +7852,7 @@ function createWorkerProtocolGateway(options) {
|
|
|
7837
7852
|
throw protocolError("CONFLICT", "worker request sequence or nonce was already consumed");
|
|
7838
7853
|
}
|
|
7839
7854
|
const windowStart = received.getTime() - 6e4;
|
|
7855
|
+
pruneInactiveRequestLogs(windowStart, received.getTime());
|
|
7840
7856
|
const log = (requestLog.get(session.name) ?? []).filter((time) => time >= windowStart);
|
|
7841
7857
|
if (log.length >= rateLimit) {
|
|
7842
7858
|
throw new OrchestrationError({
|
|
@@ -11667,39 +11683,6 @@ function defineTool(definition) {
|
|
|
11667
11683
|
};
|
|
11668
11684
|
}
|
|
11669
11685
|
|
|
11670
|
-
// src/tools/hostAgentTools.ts
|
|
11671
|
-
function isPluginConfig(value) {
|
|
11672
|
-
return typeof value === "object" && value !== null;
|
|
11673
|
-
}
|
|
11674
|
-
function mergeAgentToolsIntoFrameworkConfig(frameworkConfig, agentTools) {
|
|
11675
|
-
const baseConfig = { ...frameworkConfig ?? {} };
|
|
11676
|
-
const rawPlugins = Array.isArray(baseConfig.plugins) ? baseConfig.plugins : [];
|
|
11677
|
-
const pluginByToolId = /* @__PURE__ */ new Map();
|
|
11678
|
-
const pluginWithoutToolId = [];
|
|
11679
|
-
for (const plugin of rawPlugins) {
|
|
11680
|
-
if (isPluginConfig(plugin) && typeof plugin.toolId === "string" && plugin.toolId.length > 0) {
|
|
11681
|
-
pluginByToolId.set(plugin.toolId, plugin);
|
|
11682
|
-
} else {
|
|
11683
|
-
pluginWithoutToolId.push(plugin);
|
|
11684
|
-
}
|
|
11685
|
-
}
|
|
11686
|
-
for (const tool of agentTools ?? []) {
|
|
11687
|
-
if (!tool.toolId) continue;
|
|
11688
|
-
pluginByToolId.set(tool.toolId, {
|
|
11689
|
-
id: `${tool.toolId}-agent-tool`,
|
|
11690
|
-
toolId: tool.toolId,
|
|
11691
|
-
enabled: tool.enabled ?? true,
|
|
11692
|
-
...tool.parameters ?? {}
|
|
11693
|
-
});
|
|
11694
|
-
}
|
|
11695
|
-
return {
|
|
11696
|
-
...baseConfig,
|
|
11697
|
-
prompts: Array.isArray(baseConfig.prompts) ? baseConfig.prompts : [],
|
|
11698
|
-
response: Array.isArray(baseConfig.response) ? baseConfig.response : void 0,
|
|
11699
|
-
plugins: [...pluginWithoutToolId, ...pluginByToolId.values()]
|
|
11700
|
-
};
|
|
11701
|
-
}
|
|
11702
|
-
|
|
11703
11686
|
// src/tools/toolRegistry.ts
|
|
11704
11687
|
var ToolDefinitionRegistry = class {
|
|
11705
11688
|
registry = /* @__PURE__ */ new Map();
|