memeloop 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.cts +14 -14
- package/dist/browser.d.ts +14 -14
- package/dist/{chunk-5JEV7632.js → chunk-5VYZV33O.js} +2 -1
- package/dist/{chunk-5JEV7632.js.map → chunk-5VYZV33O.js.map} +1 -1
- package/dist/chunk-ECNKBH5A.js +1235 -0
- package/dist/chunk-ECNKBH5A.js.map +1 -0
- package/dist/{chunk-MRKY4HGF.js → chunk-EPHRIRAL.js} +20 -11
- package/dist/chunk-EPHRIRAL.js.map +1 -0
- package/dist/{chunk-P6L3444O.js → chunk-KV6TC5UJ.js} +2 -2
- package/dist/chunk-MXRXYGWW.js +1 -0
- package/dist/conversation.d.cts +3 -3
- package/dist/conversation.d.ts +3 -3
- package/dist/device-network-portable.cjs +757 -144
- package/dist/device-network-portable.cjs.map +1 -1
- package/dist/device-network-portable.d.cts +24 -14
- package/dist/device-network-portable.d.ts +24 -14
- package/dist/device-network-portable.js +18 -2
- package/dist/device-network.cjs +776 -154
- package/dist/device-network.cjs.map +1 -1
- package/dist/device-network.d.cts +5 -5
- package/dist/device-network.d.ts +5 -5
- package/dist/device-network.js +19 -3
- package/dist/{fetchProvider-WWnWnQFP.d.ts → fetchProvider-BhqRqi5-.d.ts} +1 -1
- package/dist/{fetchProvider-toTHy5Nu.d.cts → fetchProvider-HJ_FkORN.d.cts} +1 -1
- package/dist/index.cjs +782 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +24 -6
- package/dist/index.js.map +1 -1
- package/dist/{interface-IrKBFtL1.d.ts → interface-3C3eG8Hn.d.cts} +13 -1
- package/dist/{interface-IrKBFtL1.d.cts → interface-3C3eG8Hn.d.ts} +13 -1
- package/dist/llm-providers.d.cts +2 -2
- package/dist/llm-providers.d.ts +2 -2
- package/dist/loop-api.cjs +1 -0
- package/dist/loop-api.cjs.map +1 -1
- package/dist/loop-api.d.cts +7 -7
- package/dist/loop-api.d.ts +7 -7
- package/dist/loop-api.js +2 -2
- package/dist/mobile.d.cts +5 -5
- package/dist/mobile.d.ts +5 -5
- package/dist/{orchestration-portable-BHB_YrNN.d.ts → orchestration-portable-BbkwLbC9.d.ts} +4 -4
- package/dist/{orchestration-portable-mvYBvGBb.d.cts → orchestration-portable-DNKzAtNq.d.cts} +4 -4
- package/dist/orchestration-portable.d.cts +5 -5
- package/dist/orchestration-portable.d.ts +5 -5
- package/dist/pairingInvite-DDx_-IAp.d.cts +271 -0
- package/dist/pairingInvite-Dkz8CLsb.d.ts +271 -0
- package/dist/{promptConcat-0WNFTg4l.d.ts → promptConcat-CUEIA_3T.d.ts} +3 -3
- package/dist/{promptConcat-D6wr5V-V.d.cts → promptConcat-VLe5SEN4.d.cts} +3 -3
- package/dist/{providerRegistry-CPsktuiX.d.cts → providerRegistry-BDGGs5gz.d.cts} +2 -2
- package/dist/{providerRegistry-Bi6pAvSj.d.ts → providerRegistry-CaFK_aUd.d.ts} +2 -2
- package/dist/{registry-D0kbxksn.d.cts → registry-DNSEVYug.d.cts} +3 -3
- package/dist/{registry-DDbvhlhs.d.ts → registry-yGnYHWhq.d.ts} +3 -3
- package/dist/{remoteClient-CBggnRy3.d.cts → remoteClient-BKmQEQY9.d.cts} +1 -1
- package/dist/{remoteClient-B_spK019.d.ts → remoteClient-D5hco6cS.d.ts} +1 -1
- package/dist/{runtime-UONPTAYK.js → runtime-6EELHWVB.js} +2 -2
- package/dist/{scriptDeploymentPipeline-CXJcC82H.d.ts → scriptDeploymentPipeline-B1q-UhrO.d.ts} +1 -1
- package/dist/{scriptDeploymentPipeline-yG1ZhVVI.d.cts → scriptDeploymentPipeline-XJzQyYys.d.cts} +1 -1
- package/dist/{syncCloudDevices-Ds_Kcgrv.d.cts → syncCloudDevices-BFw_c1g5.d.cts} +6 -5
- package/dist/{syncCloudDevices-BEqwgrhD.d.ts → syncCloudDevices-C8fCUhnX.d.ts} +6 -5
- package/dist/{types-CdFVSntj.d.ts → types-C8gnhG9M.d.cts} +6 -4
- package/dist/{types-7pYti-k9.d.cts → types-CcFFIk8W.d.ts} +6 -4
- package/package.json +1 -1
- package/dist/chunk-426CJUZP.js +0 -630
- package/dist/chunk-426CJUZP.js.map +0 -1
- package/dist/chunk-MRKY4HGF.js.map +0 -1
- package/dist/chunk-VZKQX5PP.js +0 -1
- package/dist/pairingInvite-BXPWY3aM.d.cts +0 -149
- package/dist/pairingInvite-Cuz0wuq9.d.ts +0 -149
- /package/dist/{chunk-P6L3444O.js.map → chunk-KV6TC5UJ.js.map} +0 -0
- /package/dist/{chunk-VZKQX5PP.js.map → chunk-MXRXYGWW.js.map} +0 -0
- /package/dist/{runtime-UONPTAYK.js.map → runtime-6EELHWVB.js.map} +0 -0
package/dist/loop-api.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
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, a2 as findPromptById, 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-
|
|
2
|
-
export { F as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, e as registerBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
3
|
-
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, M as MemeLoopRuntime, 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-
|
|
4
|
-
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, T as TOOL_PARAMETER_PARSE_ERROR_KEY, w as ToolCallingMatch, x as matchAllToolCallings, y as matchToolCalling } from './scriptDeploymentPipeline-
|
|
5
|
-
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-
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
1
|
+
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, a2 as findPromptById, 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-VLe5SEN4.cjs';
|
|
2
|
+
export { F as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, e as registerBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-HJ_FkORN.cjs';
|
|
3
|
+
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, M as MemeLoopRuntime, 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-DNSEVYug.cjs';
|
|
4
|
+
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, T as TOOL_PARAMETER_PARSE_ERROR_KEY, w as ToolCallingMatch, x as matchAllToolCallings, y as matchToolCalling } from './scriptDeploymentPipeline-XJzQyYys.cjs';
|
|
5
|
+
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-BDGGs5gz.cjs';
|
|
6
|
+
import { o as ConversationEventStore } from './interface-3C3eG8Hn.cjs';
|
|
7
|
+
export { p as AgentDefinition, q as AgentDefinitionModelConfig, r as AgentDefinitionToolConfig, s as AgentHeartbeatConfig, t as AgentInstanceMeta, u as AiAPIConfig, A as AttachmentReference, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, D as DetailRefType, n as DetailReference, G as GetMessagesOptions, H as HostAgentToolConfig, I as IAgentStorage, L as ListConversationsOptions, M as ModelParameters, v as ModelSelection, T as ToolCall } from './interface-3C3eG8Hn.cjs';
|
|
8
8
|
export { ChatMessageProjection, buildLegacyChatMessageParts, buildToolResultSummary, createAgentInstanceFromDefinition, createChatMessage, getChatMessageParts, isToolResultPart, parseLegacyToolResultContent, projectChatMessageParts } from './conversation.cjs';
|
|
9
9
|
import 'ai';
|
|
10
10
|
|
package/dist/loop-api.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
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, a2 as findPromptById, 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-
|
|
2
|
-
export { F as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, e as registerBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
3
|
-
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, M as MemeLoopRuntime, 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-
|
|
4
|
-
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, T as TOOL_PARAMETER_PARSE_ERROR_KEY, w as ToolCallingMatch, x as matchAllToolCallings, y as matchToolCalling } from './scriptDeploymentPipeline-
|
|
5
|
-
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-
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
1
|
+
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, a2 as findPromptById, 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-CUEIA_3T.js';
|
|
2
|
+
export { F as FetchLLMProviderConfig, R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, e as registerBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-BhqRqi5-.js';
|
|
3
|
+
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, M as MemeLoopRuntime, 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-yGnYHWhq.js';
|
|
4
|
+
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, T as TOOL_PARAMETER_PARSE_ERROR_KEY, w as ToolCallingMatch, x as matchAllToolCallings, y as matchToolCalling } from './scriptDeploymentPipeline-B1q-UhrO.js';
|
|
5
|
+
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-CaFK_aUd.js';
|
|
6
|
+
import { o as ConversationEventStore } from './interface-3C3eG8Hn.js';
|
|
7
|
+
export { p as AgentDefinition, q as AgentDefinitionModelConfig, r as AgentDefinitionToolConfig, s as AgentHeartbeatConfig, t as AgentInstanceMeta, u as AiAPIConfig, A as AttachmentReference, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, D as DetailRefType, n as DetailReference, G as GetMessagesOptions, H as HostAgentToolConfig, I as IAgentStorage, L as ListConversationsOptions, M as ModelParameters, v as ModelSelection, T as ToolCall } from './interface-3C3eG8Hn.js';
|
|
8
8
|
export { ChatMessageProjection, buildLegacyChatMessageParts, buildToolResultSummary, createAgentInstanceFromDefinition, createChatMessage, getChatMessageParts, isToolResultPart, parseLegacyToolResultContent, projectChatMessageParts } from './conversation.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
|
package/dist/loop-api.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
unloadAllPlugins,
|
|
18
18
|
unloadPlugin,
|
|
19
19
|
validatePluginManifest
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KV6TC5UJ.js";
|
|
21
21
|
import {
|
|
22
22
|
AGENT_AGENT_LOOP_ID,
|
|
23
23
|
AGENT_TOOL_LOOP_ID,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
registerBuiltinPromptPlugins,
|
|
62
62
|
registerBuiltinToolPlugins,
|
|
63
63
|
resetAgentProfileRegistry
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5VYZV33O.js";
|
|
65
65
|
import {
|
|
66
66
|
ALL_CATEGORIES,
|
|
67
67
|
getCategoryConfig,
|
package/dist/mobile.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
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-
|
|
2
|
-
export { A as AttachmentReference,
|
|
3
|
-
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-
|
|
4
|
-
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
5
|
-
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, u as createInstanceDeltaFromDefinition, v as isUserInitiatedConversation } from './scriptDeploymentPipeline-
|
|
1
|
+
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-BDGGs5gz.cjs';
|
|
2
|
+
export { A as AttachmentReference, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, m as ConversationQueryMode, D as DetailRefType, n as DetailReference, G as GetMessagesOptions, I as IAgentStorage, L as ListConversationsOptions, T as ToolCall } from './interface-3C3eG8Hn.cjs';
|
|
3
|
+
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-C8gnhG9M.cjs';
|
|
4
|
+
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-HJ_FkORN.cjs';
|
|
5
|
+
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, u as createInstanceDeltaFromDefinition, v as isUserInitiatedConversation } from './scriptDeploymentPipeline-XJzQyYys.cjs';
|
|
6
6
|
import 'ai';
|
package/dist/mobile.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
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-
|
|
2
|
-
export { A as AttachmentReference,
|
|
3
|
-
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-
|
|
4
|
-
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
5
|
-
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, u as createInstanceDeltaFromDefinition, v as isUserInitiatedConversation } from './scriptDeploymentPipeline-
|
|
1
|
+
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-CaFK_aUd.js';
|
|
2
|
+
export { A as AttachmentReference, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, m as ConversationQueryMode, D as DetailRefType, n as DetailReference, G as GetMessagesOptions, I as IAgentStorage, L as ListConversationsOptions, T as ToolCall } from './interface-3C3eG8Hn.js';
|
|
3
|
+
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-CcFFIk8W.js';
|
|
4
|
+
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-BhqRqi5-.js';
|
|
5
|
+
export { 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, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, u as createInstanceDeltaFromDefinition, v as isUserInitiatedConversation } from './scriptDeploymentPipeline-B1q-UhrO.js';
|
|
6
6
|
import 'ai';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './interface-
|
|
2
|
-
import { aE as ArtifactTrust, aD as ArtifactReviewKind, ax as ArtifactDestination, aC as ArtifactReviewEvidence, az as ArtifactRecordResource, b9 as DataClassification, bv as ModelClassSpec, k as ILLMProvider, bH as NetworkAttachmentResource, bL as NetworkClassResource, bJ as NetworkAttachmentStatus, A as AgentFrameworkContext, f as AgentLoopInput, e as AgentLoopGenerator, cB as ToolAdmissionPolicy, cS as ToolOperationResource, cP as ToolOperationApprovalEvidence, cT as ToolOperationResult, aT as ControlStoreActor, m as IToolRegistry, bh as InfrastructureDriverType, aq as AgentWorkloadResource, aS as ControlStore, bP as NodeTrustClass, z as ToolOperationEffect, by as ModelEndpointResource, a1 as AgentRunResource, b$ as RuntimeClassSpec, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, d2 as VolumeAccessMode, cY as ToolRiskLevel } from './scriptDeploymentPipeline-
|
|
3
|
-
import { D as Device } from './types-
|
|
4
|
-
import './remoteClient-
|
|
1
|
+
import './interface-3C3eG8Hn.js';
|
|
2
|
+
import { aE as ArtifactTrust, aD as ArtifactReviewKind, ax as ArtifactDestination, aC as ArtifactReviewEvidence, az as ArtifactRecordResource, b9 as DataClassification, bv as ModelClassSpec, k as ILLMProvider, bH as NetworkAttachmentResource, bL as NetworkClassResource, bJ as NetworkAttachmentStatus, A as AgentFrameworkContext, f as AgentLoopInput, e as AgentLoopGenerator, cB as ToolAdmissionPolicy, cS as ToolOperationResource, cP as ToolOperationApprovalEvidence, cT as ToolOperationResult, aT as ControlStoreActor, m as IToolRegistry, bh as InfrastructureDriverType, aq as AgentWorkloadResource, aS as ControlStore, bP as NodeTrustClass, z as ToolOperationEffect, by as ModelEndpointResource, a1 as AgentRunResource, b$ as RuntimeClassSpec, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, d2 as VolumeAccessMode, cY as ToolRiskLevel } from './scriptDeploymentPipeline-B1q-UhrO.js';
|
|
3
|
+
import { D as Device } from './types-CcFFIk8W.js';
|
|
4
|
+
import './remoteClient-D5hco6cS.js';
|
|
5
5
|
|
|
6
6
|
declare function artifactTrustRank(trust: ArtifactTrust): number;
|
|
7
7
|
/** The trust of a derived artifact: the lowest of its parents and producer. */
|
package/dist/{orchestration-portable-mvYBvGBb.d.cts → orchestration-portable-DNKzAtNq.d.cts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './interface-
|
|
2
|
-
import { aE as ArtifactTrust, aD as ArtifactReviewKind, ax as ArtifactDestination, aC as ArtifactReviewEvidence, az as ArtifactRecordResource, b9 as DataClassification, bv as ModelClassSpec, k as ILLMProvider, bH as NetworkAttachmentResource, bL as NetworkClassResource, bJ as NetworkAttachmentStatus, A as AgentFrameworkContext, f as AgentLoopInput, e as AgentLoopGenerator, cB as ToolAdmissionPolicy, cS as ToolOperationResource, cP as ToolOperationApprovalEvidence, cT as ToolOperationResult, aT as ControlStoreActor, m as IToolRegistry, bh as InfrastructureDriverType, aq as AgentWorkloadResource, aS as ControlStore, bP as NodeTrustClass, z as ToolOperationEffect, by as ModelEndpointResource, a1 as AgentRunResource, b$ as RuntimeClassSpec, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, d2 as VolumeAccessMode, cY as ToolRiskLevel } from './scriptDeploymentPipeline-
|
|
3
|
-
import { D as Device } from './types-
|
|
4
|
-
import './remoteClient-
|
|
1
|
+
import './interface-3C3eG8Hn.cjs';
|
|
2
|
+
import { aE as ArtifactTrust, aD as ArtifactReviewKind, ax as ArtifactDestination, aC as ArtifactReviewEvidence, az as ArtifactRecordResource, b9 as DataClassification, bv as ModelClassSpec, k as ILLMProvider, bH as NetworkAttachmentResource, bL as NetworkClassResource, bJ as NetworkAttachmentStatus, A as AgentFrameworkContext, f as AgentLoopInput, e as AgentLoopGenerator, cB as ToolAdmissionPolicy, cS as ToolOperationResource, cP as ToolOperationApprovalEvidence, cT as ToolOperationResult, aT as ControlStoreActor, m as IToolRegistry, bh as InfrastructureDriverType, aq as AgentWorkloadResource, aS as ControlStore, bP as NodeTrustClass, z as ToolOperationEffect, by as ModelEndpointResource, a1 as AgentRunResource, b$ as RuntimeClassSpec, bq as ModelCallRecordSpec, br as ModelCallRecordStatus, d2 as VolumeAccessMode, cY as ToolRiskLevel } from './scriptDeploymentPipeline-XJzQyYys.cjs';
|
|
3
|
+
import { D as Device } from './types-C8gnhG9M.cjs';
|
|
4
|
+
import './remoteClient-BKmQEQY9.cjs';
|
|
5
5
|
|
|
6
6
|
declare function artifactTrustRank(trust: ArtifactTrust): number;
|
|
7
7
|
/** The trust of a derived artifact: the lowest of its parents and producer. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { e as ArtifactInspectionInput, h as ArtifactInspector, i as ArtifactManagementCapabilities, j as ArtifactManagementDriver, k as ArtifactManagementStateSnapshot, l as ArtifactPutPayload, 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, G as CredentialIssuePayload, H as CredentialManagementCapabilities, I as CredentialManagementDriver, L as DRIVER_REQUEST_API_VERSION, P as DriverRequestEnvelope, Q as FakeArtifactManagementState, R as FakeAuditTelemetryState, S as FakeCredentialManagementState, U as FakeIdentityAttestationState, V as FakeLoopRuntimeState, W as FakeModelManagementState, X as FakeNetworkManagementState, Y as FakePolicyApprovalState, Z as FakeStorageManagementState, _ as FakeToolManagementState, a0 as IdentityAttestationCapabilities, a1 as IdentityAttestationManagementDriver, a2 as IdentityChallenge, a3 as IdentityDomain, a4 as IdentityEnrollment, a5 as IdentityInspection, a6 as IdentitySession, ah as LoopRuntimeCapabilities, ai as LoopRuntimeCheckpoint, 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, b6 as ModelManagementCapabilities, b7 as ModelManagementDriver, 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, bv as StorageManagementCapabilities, bw as StorageManagementDriver, bx as StorageProvisionPayload, by as ToolCatalogSnapshot, bA as ToolManagementCapabilities, bB as ToolManagementDriver, bJ as assertDriverRequestEnvelope, bK as assertManagedNetworkPolicy, bL as assertNetworkPreparePayload, bM as assertNetworkUpdatePayload, bR as canonicalDriverValue, bT as countManagedNetworkPolicyRules, bU as createArtifactManagementConformanceSuite, bV as createAuditTelemetryConformanceSuite, bW as createControlStoreConformanceSuite, bX as createCredentialManagementConformanceSuite, 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, cb as createFakeNetworkManagementDriver, cc as createFakeNetworkManagementState, cd as createFakePolicyApprovalManagementDriver, ce as createFakePolicyApprovalState, cf as createFakeStorageManagementDriver, cg as createFakeStorageManagementState, ci as createFakeToolManagementDriver, cj as createFakeToolManagementState, cl as createIdentityAttestationConformanceSuite, cq as createLoopRuntimeManagementConformanceSuite, cr as createManagedCredentialBrokerAdapter, cs as createManagedLoopRuntimeAdapter, ct as createManagedLoopRuntimeExecutionRoute, cu as createManagedModelGatewayAdapter, cv as createManagedNetworkAdapter, cx as createModelManagementConformanceSuite, cB as createNetworkManagementConformanceSuite, cC as createPolicyApprovalConformanceSuite, cE as createStorageManagementConformanceSuite, cF as createToolCatalogConformanceSuite, cH as createToolManagementConformanceSuite, cL as restoreArtifactManagementState, cN as snapshotArtifactManagementState } from './orchestration-portable-
|
|
3
|
-
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-
|
|
4
|
-
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, $ 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, 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, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, 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, bh as InfrastructureDriverType, 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, 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, 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, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, 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, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, 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, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d6 as agentRunReference, d7 as agentWorkloadReference, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, 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, dV as isVolume, dW as isVolumeClaim } from './scriptDeploymentPipeline-
|
|
5
|
-
import './types-
|
|
1
|
+
export { a0 as AgentInfrastructureInterface, a2 as AgentOrchestrationCapabilities, w as AgentOrchestrationClient, a3 as AgentOrchestrationOperation, ac as ORCHESTRATION_ERROR_CODES, ad as OrchestrationApplyOptions, ae as OrchestrationBookmarkWatchEvent, af as OrchestrationCondition, ag as OrchestrationConditionStatus, U as OrchestrationDeleteOptions, W as OrchestrationDeleteResult, ah as OrchestrationError, ai as OrchestrationErrorCode, O as OrchestrationErrorData, aj as OrchestrationErrorWatchEvent, ak as OrchestrationEvent, al as OrchestrationEventSeverity, J as OrchestrationGetOptions, P as OrchestrationListOptions, am as OrchestrationManifestMetadata, B as OrchestrationObjectMetadata, y as OrchestrationOwnerReference, an as OrchestrationPreconditions, K as OrchestrationResource, Q as OrchestrationResourceList, x as OrchestrationResourceManifest, N as OrchestrationResourceQuery, F as OrchestrationResourceReference, E as OrchestrationResourceStatus, ao as OrchestrationResourceWatchEvent, ap as OrchestrationResourceWatchEventType, z as OrchestrationTypeMeta, S as OrchestrationWatchEvent, R as OrchestrationWatchOptions, ar as isOrchestrationError, as as toOrchestrationErrorData } from './interface-3C3eG8Hn.cjs';
|
|
2
|
+
export { e as ArtifactInspectionInput, h as ArtifactInspector, i as ArtifactManagementCapabilities, j as ArtifactManagementDriver, k as ArtifactManagementStateSnapshot, l as ArtifactPutPayload, 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, G as CredentialIssuePayload, H as CredentialManagementCapabilities, I as CredentialManagementDriver, L as DRIVER_REQUEST_API_VERSION, P as DriverRequestEnvelope, Q as FakeArtifactManagementState, R as FakeAuditTelemetryState, S as FakeCredentialManagementState, U as FakeIdentityAttestationState, V as FakeLoopRuntimeState, W as FakeModelManagementState, X as FakeNetworkManagementState, Y as FakePolicyApprovalState, Z as FakeStorageManagementState, _ as FakeToolManagementState, a0 as IdentityAttestationCapabilities, a1 as IdentityAttestationManagementDriver, a2 as IdentityChallenge, a3 as IdentityDomain, a4 as IdentityEnrollment, a5 as IdentityInspection, a6 as IdentitySession, ah as LoopRuntimeCapabilities, ai as LoopRuntimeCheckpoint, 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, b6 as ModelManagementCapabilities, b7 as ModelManagementDriver, 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, bv as StorageManagementCapabilities, bw as StorageManagementDriver, bx as StorageProvisionPayload, by as ToolCatalogSnapshot, bA as ToolManagementCapabilities, bB as ToolManagementDriver, bJ as assertDriverRequestEnvelope, bK as assertManagedNetworkPolicy, bL as assertNetworkPreparePayload, bM as assertNetworkUpdatePayload, bR as canonicalDriverValue, bT as countManagedNetworkPolicyRules, bU as createArtifactManagementConformanceSuite, bV as createAuditTelemetryConformanceSuite, bW as createControlStoreConformanceSuite, bX as createCredentialManagementConformanceSuite, 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, cb as createFakeNetworkManagementDriver, cc as createFakeNetworkManagementState, cd as createFakePolicyApprovalManagementDriver, ce as createFakePolicyApprovalState, cf as createFakeStorageManagementDriver, cg as createFakeStorageManagementState, ci as createFakeToolManagementDriver, cj as createFakeToolManagementState, cl as createIdentityAttestationConformanceSuite, cq as createLoopRuntimeManagementConformanceSuite, cr as createManagedCredentialBrokerAdapter, cs as createManagedLoopRuntimeAdapter, ct as createManagedLoopRuntimeExecutionRoute, cu as createManagedModelGatewayAdapter, cv as createManagedNetworkAdapter, cx as createModelManagementConformanceSuite, cB as createNetworkManagementConformanceSuite, cC as createPolicyApprovalConformanceSuite, cE as createStorageManagementConformanceSuite, cF as createToolCatalogConformanceSuite, cH as createToolManagementConformanceSuite, cL as restoreArtifactManagementState, cN as snapshotArtifactManagementState } from './orchestration-portable-DNKzAtNq.cjs';
|
|
3
|
+
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-BKmQEQY9.cjs';
|
|
4
|
+
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, $ 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, 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, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, 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, bh as InfrastructureDriverType, 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, 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, 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, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, 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, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, 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, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d6 as agentRunReference, d7 as agentWorkloadReference, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, 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, dV as isVolume, dW as isVolumeClaim } from './scriptDeploymentPipeline-XJzQyYys.cjs';
|
|
5
|
+
import './types-C8gnhG9M.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { e as ArtifactInspectionInput, h as ArtifactInspector, i as ArtifactManagementCapabilities, j as ArtifactManagementDriver, k as ArtifactManagementStateSnapshot, l as ArtifactPutPayload, 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, G as CredentialIssuePayload, H as CredentialManagementCapabilities, I as CredentialManagementDriver, L as DRIVER_REQUEST_API_VERSION, P as DriverRequestEnvelope, Q as FakeArtifactManagementState, R as FakeAuditTelemetryState, S as FakeCredentialManagementState, U as FakeIdentityAttestationState, V as FakeLoopRuntimeState, W as FakeModelManagementState, X as FakeNetworkManagementState, Y as FakePolicyApprovalState, Z as FakeStorageManagementState, _ as FakeToolManagementState, a0 as IdentityAttestationCapabilities, a1 as IdentityAttestationManagementDriver, a2 as IdentityChallenge, a3 as IdentityDomain, a4 as IdentityEnrollment, a5 as IdentityInspection, a6 as IdentitySession, ah as LoopRuntimeCapabilities, ai as LoopRuntimeCheckpoint, 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, b6 as ModelManagementCapabilities, b7 as ModelManagementDriver, 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, bv as StorageManagementCapabilities, bw as StorageManagementDriver, bx as StorageProvisionPayload, by as ToolCatalogSnapshot, bA as ToolManagementCapabilities, bB as ToolManagementDriver, bJ as assertDriverRequestEnvelope, bK as assertManagedNetworkPolicy, bL as assertNetworkPreparePayload, bM as assertNetworkUpdatePayload, bR as canonicalDriverValue, bT as countManagedNetworkPolicyRules, bU as createArtifactManagementConformanceSuite, bV as createAuditTelemetryConformanceSuite, bW as createControlStoreConformanceSuite, bX as createCredentialManagementConformanceSuite, 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, cb as createFakeNetworkManagementDriver, cc as createFakeNetworkManagementState, cd as createFakePolicyApprovalManagementDriver, ce as createFakePolicyApprovalState, cf as createFakeStorageManagementDriver, cg as createFakeStorageManagementState, ci as createFakeToolManagementDriver, cj as createFakeToolManagementState, cl as createIdentityAttestationConformanceSuite, cq as createLoopRuntimeManagementConformanceSuite, cr as createManagedCredentialBrokerAdapter, cs as createManagedLoopRuntimeAdapter, ct as createManagedLoopRuntimeExecutionRoute, cu as createManagedModelGatewayAdapter, cv as createManagedNetworkAdapter, cx as createModelManagementConformanceSuite, cB as createNetworkManagementConformanceSuite, cC as createPolicyApprovalConformanceSuite, cE as createStorageManagementConformanceSuite, cF as createToolCatalogConformanceSuite, cH as createToolManagementConformanceSuite, cL as restoreArtifactManagementState, cN as snapshotArtifactManagementState } from './orchestration-portable-
|
|
3
|
-
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-
|
|
4
|
-
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, $ 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, 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, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, 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, bh as InfrastructureDriverType, 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, 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, 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, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, 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, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, 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, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d6 as agentRunReference, d7 as agentWorkloadReference, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, 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, dV as isVolume, dW as isVolumeClaim } from './scriptDeploymentPipeline-
|
|
5
|
-
import './types-
|
|
1
|
+
export { a0 as AgentInfrastructureInterface, a2 as AgentOrchestrationCapabilities, w as AgentOrchestrationClient, a3 as AgentOrchestrationOperation, ac as ORCHESTRATION_ERROR_CODES, ad as OrchestrationApplyOptions, ae as OrchestrationBookmarkWatchEvent, af as OrchestrationCondition, ag as OrchestrationConditionStatus, U as OrchestrationDeleteOptions, W as OrchestrationDeleteResult, ah as OrchestrationError, ai as OrchestrationErrorCode, O as OrchestrationErrorData, aj as OrchestrationErrorWatchEvent, ak as OrchestrationEvent, al as OrchestrationEventSeverity, J as OrchestrationGetOptions, P as OrchestrationListOptions, am as OrchestrationManifestMetadata, B as OrchestrationObjectMetadata, y as OrchestrationOwnerReference, an as OrchestrationPreconditions, K as OrchestrationResource, Q as OrchestrationResourceList, x as OrchestrationResourceManifest, N as OrchestrationResourceQuery, F as OrchestrationResourceReference, E as OrchestrationResourceStatus, ao as OrchestrationResourceWatchEvent, ap as OrchestrationResourceWatchEventType, z as OrchestrationTypeMeta, S as OrchestrationWatchEvent, R as OrchestrationWatchOptions, ar as isOrchestrationError, as as toOrchestrationErrorData } from './interface-3C3eG8Hn.js';
|
|
2
|
+
export { e as ArtifactInspectionInput, h as ArtifactInspector, i as ArtifactManagementCapabilities, j as ArtifactManagementDriver, k as ArtifactManagementStateSnapshot, l as ArtifactPutPayload, 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, G as CredentialIssuePayload, H as CredentialManagementCapabilities, I as CredentialManagementDriver, L as DRIVER_REQUEST_API_VERSION, P as DriverRequestEnvelope, Q as FakeArtifactManagementState, R as FakeAuditTelemetryState, S as FakeCredentialManagementState, U as FakeIdentityAttestationState, V as FakeLoopRuntimeState, W as FakeModelManagementState, X as FakeNetworkManagementState, Y as FakePolicyApprovalState, Z as FakeStorageManagementState, _ as FakeToolManagementState, a0 as IdentityAttestationCapabilities, a1 as IdentityAttestationManagementDriver, a2 as IdentityChallenge, a3 as IdentityDomain, a4 as IdentityEnrollment, a5 as IdentityInspection, a6 as IdentitySession, ah as LoopRuntimeCapabilities, ai as LoopRuntimeCheckpoint, 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, b6 as ModelManagementCapabilities, b7 as ModelManagementDriver, 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, bv as StorageManagementCapabilities, bw as StorageManagementDriver, bx as StorageProvisionPayload, by as ToolCatalogSnapshot, bA as ToolManagementCapabilities, bB as ToolManagementDriver, bJ as assertDriverRequestEnvelope, bK as assertManagedNetworkPolicy, bL as assertNetworkPreparePayload, bM as assertNetworkUpdatePayload, bR as canonicalDriverValue, bT as countManagedNetworkPolicyRules, bU as createArtifactManagementConformanceSuite, bV as createAuditTelemetryConformanceSuite, bW as createControlStoreConformanceSuite, bX as createCredentialManagementConformanceSuite, 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, cb as createFakeNetworkManagementDriver, cc as createFakeNetworkManagementState, cd as createFakePolicyApprovalManagementDriver, ce as createFakePolicyApprovalState, cf as createFakeStorageManagementDriver, cg as createFakeStorageManagementState, ci as createFakeToolManagementDriver, cj as createFakeToolManagementState, cl as createIdentityAttestationConformanceSuite, cq as createLoopRuntimeManagementConformanceSuite, cr as createManagedCredentialBrokerAdapter, cs as createManagedLoopRuntimeAdapter, ct as createManagedLoopRuntimeExecutionRoute, cu as createManagedModelGatewayAdapter, cv as createManagedNetworkAdapter, cx as createModelManagementConformanceSuite, cB as createNetworkManagementConformanceSuite, cC as createPolicyApprovalConformanceSuite, cE as createStorageManagementConformanceSuite, cF as createToolCatalogConformanceSuite, cH as createToolManagementConformanceSuite, cL as restoreArtifactManagementState, cN as snapshotArtifactManagementState } from './orchestration-portable-BbkwLbC9.js';
|
|
3
|
+
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-D5hco6cS.js';
|
|
4
|
+
export { O as AGENT_RUN_API_VERSION, Q as AGENT_RUN_KIND, R as AGENT_WORKLOAD_API_VERSION, U as AGENT_WORKLOAD_KIND, W as ARTIFACT_RECORD_API_VERSION, X as ARTIFACT_RECORD_KIND, Y as AUDIT_RECORD_API_VERSION, Z as AUDIT_RECORD_KIND, $ 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, 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, aK as CREDENTIAL_GRANT_API_VERSION, aL as CREDENTIAL_GRANT_KIND, 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, bh as InfrastructureDriverType, 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, 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, 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, cj as SecurityProfileManifest, ck as SecurityProfileResource, cl as SecurityProfileSpec, cm as SecurityProfileStatus, 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, cA as ToolAdmissionAction, cB as ToolAdmissionPolicy, cC as ToolAdmissionRule, cE as ToolClassManifest, cF as ToolClassResource, cG as ToolClassSchema, cH as ToolClassSpec, cI as ToolClassStatus, 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, c_ as VOLUME_API_VERSION, c$ as VOLUME_CLAIM_API_VERSION, d0 as VOLUME_CLAIM_KIND, d1 as VOLUME_KIND, d2 as VolumeAccessMode, d6 as agentRunReference, d7 as agentWorkloadReference, db as createAgentRunManifest, dc as createAgentWorkloadManifest, dd as createArtifactRecordManifest, de as createAuditRecordManifest, dg as createCredentialGrantManifest, dh as createDriverManifestManifest, di as createModelCallRecordManifest, dj as createModelClassManifest, dk as createModelEndpointManifest, dl as createNetworkAttachmentManifest, dm as createNetworkClassManifest, dn as createPolicyDecisionManifest, dr as createSecurityProfileManifest, ds as createSnapshotManifest, dt as createStorageClassManifest, du as createToolClassManifest, dv as createToolExecutorManifest, dw as createToolOperationManifest, dx as createVolumeClaimManifest, dy as createVolumeManifest, 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, dV as isVolume, dW as isVolumeClaim } from './scriptDeploymentPipeline-B1q-UhrO.js';
|
|
5
|
+
import './types-CcFFIk8W.js';
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { b as VersionVector, a as ConversationMetadataPage, e as ChatMessage } from './interface-3C3eG8Hn.cjs';
|
|
2
|
+
import { R as RemoteOrchestrationRequest, a as RemoteOrchestrationResponse, b as RemoteOrchestrationTransportOptions, c as RemoteOrchestrationTransport } from './remoteClient-BKmQEQY9.cjs';
|
|
3
|
+
import { M as MemeLoopDuplexStream, h as DeviceConnectionGrant, l as DeviceNetworkService, u as DeviceSyncTransport, D as Device, E as ExchangeVersionVectorResult, b as AttachmentBlob, f as DeviceAuthorizer, T as TrustedDeviceRecord, y as MemeLoopProtocol } from './types-C8gnhG9M.cjs';
|
|
4
|
+
|
|
5
|
+
interface DeviceSyncStateStore {
|
|
6
|
+
loadVersionVector(): Promise<VersionVector>;
|
|
7
|
+
saveVersionVector(versionVector: VersionVector): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
declare class MemoryDeviceSyncStateStore implements DeviceSyncStateStore {
|
|
10
|
+
private versionVector;
|
|
11
|
+
constructor(initial?: VersionVector);
|
|
12
|
+
loadVersionVector(): Promise<VersionVector>;
|
|
13
|
+
saveVersionVector(versionVector: VersionVector): Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type DeviceCloudConnectionStatus = 'not-configured' | 'connecting' | 'online' | 'degraded' | 'offline' | 'error';
|
|
17
|
+
type DeviceCloudConnectionComponent = 'authorizer' | 'registration' | 'relay' | 'heartbeat' | 'directory';
|
|
18
|
+
type DeviceCloudComponentStatus = 'pending' | 'ready' | 'failed' | 'not-run';
|
|
19
|
+
interface DeviceCloudConnectionSnapshot {
|
|
20
|
+
status: DeviceCloudConnectionStatus;
|
|
21
|
+
generation: number;
|
|
22
|
+
components: Record<DeviceCloudConnectionComponent, DeviceCloudComponentStatus>;
|
|
23
|
+
lastError?: unknown;
|
|
24
|
+
nextRetryAt?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A step performs remote or otherwise reversible work first. Durable host
|
|
28
|
+
* state must only be changed by commit(), which the coordinator invokes after
|
|
29
|
+
* confirming that the configuration generation is still current.
|
|
30
|
+
*/
|
|
31
|
+
interface DeviceCloudStepResult {
|
|
32
|
+
commit?: () => Promise<unknown>;
|
|
33
|
+
}
|
|
34
|
+
interface DeviceCloudConnectionAdapter<Configuration> {
|
|
35
|
+
isConfigured(configuration: Configuration | undefined): configuration is Configuration;
|
|
36
|
+
relayRequiredForOnline(configuration: Configuration): boolean;
|
|
37
|
+
ensureAuthorizer(configuration: Configuration, signal: AbortSignal): Promise<DeviceCloudStepResult | undefined>;
|
|
38
|
+
registerDevice(configuration: Configuration, signal: AbortSignal): Promise<DeviceCloudStepResult | undefined>;
|
|
39
|
+
ensureRelay(configuration: Configuration, signal: AbortSignal): Promise<DeviceCloudStepResult | undefined>;
|
|
40
|
+
heartbeat(configuration: Configuration, signal: AbortSignal): Promise<DeviceCloudStepResult | undefined>;
|
|
41
|
+
syncDirectory(configuration: Configuration, signal: AbortSignal): Promise<DeviceCloudStepResult | undefined>;
|
|
42
|
+
classifyError?(error: unknown): 'offline' | 'error';
|
|
43
|
+
}
|
|
44
|
+
interface DeviceCloudConnectionCoordinatorOptions<Configuration> {
|
|
45
|
+
adapter: DeviceCloudConnectionAdapter<Configuration>;
|
|
46
|
+
configuration?: Configuration;
|
|
47
|
+
heartbeatIntervalMs?: number;
|
|
48
|
+
initialBackoffMs?: number;
|
|
49
|
+
maxBackoffMs?: number;
|
|
50
|
+
jitterRatio?: number;
|
|
51
|
+
now?: () => number;
|
|
52
|
+
random?: () => number;
|
|
53
|
+
onStatus?: (snapshot: DeviceCloudConnectionSnapshot) => void | Promise<void>;
|
|
54
|
+
logWarning?: (message: string, error: unknown) => void;
|
|
55
|
+
}
|
|
56
|
+
/** Portable, generation-safe Cloud lifecycle shared by every MemeLoop host. */
|
|
57
|
+
declare class DeviceCloudConnectionCoordinator<Configuration> {
|
|
58
|
+
private readonly options;
|
|
59
|
+
private configuration;
|
|
60
|
+
private generation;
|
|
61
|
+
private controller;
|
|
62
|
+
private timer?;
|
|
63
|
+
private inFlight?;
|
|
64
|
+
private started;
|
|
65
|
+
private consecutiveFailures;
|
|
66
|
+
private snapshotValue;
|
|
67
|
+
private readonly heartbeatIntervalMs;
|
|
68
|
+
private readonly initialBackoffMs;
|
|
69
|
+
private readonly maxBackoffMs;
|
|
70
|
+
private readonly jitterRatio;
|
|
71
|
+
private readonly now;
|
|
72
|
+
private readonly random;
|
|
73
|
+
constructor(options: DeviceCloudConnectionCoordinatorOptions<Configuration>);
|
|
74
|
+
get snapshot(): DeviceCloudConnectionSnapshot;
|
|
75
|
+
start(): Promise<void>;
|
|
76
|
+
stop(): Promise<void>;
|
|
77
|
+
setConfiguration(configuration: Configuration | undefined): Promise<void>;
|
|
78
|
+
runNow(): Promise<void>;
|
|
79
|
+
private maintain;
|
|
80
|
+
private runStep;
|
|
81
|
+
private backoffDelay;
|
|
82
|
+
private schedule;
|
|
83
|
+
private clearTimer;
|
|
84
|
+
private isCurrent;
|
|
85
|
+
private setComponent;
|
|
86
|
+
private updateSnapshot;
|
|
87
|
+
private resetSnapshot;
|
|
88
|
+
private emit;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare const DEVICE_ORCHESTRATION_PROTOCOL: "/memeloop/orchestration/2.0.0";
|
|
92
|
+
interface DeviceOrchestrationTransportOptions {
|
|
93
|
+
deviceNetwork: Pick<DeviceNetworkService, 'openStream'>;
|
|
94
|
+
peerId: string;
|
|
95
|
+
grantProvider?: (peerId: string) => DeviceConnectionGrant | undefined | Promise<DeviceConnectionGrant | undefined>;
|
|
96
|
+
maxFrameBytes?: number;
|
|
97
|
+
}
|
|
98
|
+
interface DeviceOrchestrationStreamHandlerInput {
|
|
99
|
+
remotePeerId: string;
|
|
100
|
+
stream: MemeLoopDuplexStream;
|
|
101
|
+
authorize?: (presentedGrant: DeviceConnectionGrant | undefined) => boolean | Promise<boolean>;
|
|
102
|
+
}
|
|
103
|
+
type RemoteOrchestrationHandler = {
|
|
104
|
+
request(request: RemoteOrchestrationRequest): Promise<RemoteOrchestrationResponse>;
|
|
105
|
+
watch(request: RemoteOrchestrationRequest, options?: RemoteOrchestrationTransportOptions): AsyncIterable<RemoteOrchestrationResponse>;
|
|
106
|
+
};
|
|
107
|
+
interface DeviceOrchestrationStreamHandlerOptions {
|
|
108
|
+
resolveHandler: (remotePeerId: string) => RemoteOrchestrationHandler | Promise<RemoteOrchestrationHandler>;
|
|
109
|
+
maxFrameBytes?: number;
|
|
110
|
+
}
|
|
111
|
+
type DeviceOrchestrationStreamHandler = (input: DeviceOrchestrationStreamHandlerInput) => Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Carry the portable resource protocol over an already authenticated and
|
|
114
|
+
* encrypted device-network stream. No bearer credential crosses the link:
|
|
115
|
+
* authorization is bound to the paired peer identity opening the protocol.
|
|
116
|
+
*/
|
|
117
|
+
declare function createDeviceOrchestrationTransport(options: DeviceOrchestrationTransportOptions): RemoteOrchestrationTransport;
|
|
118
|
+
/** Bind a trusted peer identity to a policy-scoped orchestration handler. */
|
|
119
|
+
declare function createDeviceOrchestrationStreamHandler(options: DeviceOrchestrationStreamHandlerOptions): DeviceOrchestrationStreamHandler;
|
|
120
|
+
|
|
121
|
+
type JsonFrameErrorCode = 'FRAME_TOO_LARGE' | 'TRUNCATED_FRAME' | 'INVALID_UTF8' | 'INVALID_JSON' | 'IDLE_TIMEOUT' | 'TOTAL_TIMEOUT' | 'ABORTED';
|
|
122
|
+
declare class JsonFrameError extends Error {
|
|
123
|
+
readonly code: JsonFrameErrorCode;
|
|
124
|
+
constructor(code: JsonFrameErrorCode, message: string, options?: ErrorOptions);
|
|
125
|
+
}
|
|
126
|
+
interface JsonFrameReaderOptions {
|
|
127
|
+
maxPayloadBytes: number;
|
|
128
|
+
idleTimeoutMs: number;
|
|
129
|
+
totalTimeoutMs: number;
|
|
130
|
+
signal?: AbortSignal;
|
|
131
|
+
abort?: (error: JsonFrameError) => void | Promise<void>;
|
|
132
|
+
}
|
|
133
|
+
declare function encodeJsonFrame(value: unknown, maxPayloadBytes?: number): Uint8Array;
|
|
134
|
+
declare function encodeJsonFrames(values: AsyncIterable<unknown> | Iterable<unknown>, maxPayloadBytes?: number): AsyncIterable<Uint8Array>;
|
|
135
|
+
/**
|
|
136
|
+
* Decode uint32be-length-prefixed, strict UTF-8 JSON frames from an arbitrary
|
|
137
|
+
* chunked byte stream. Buffered remainder is retained so one chunk may contain
|
|
138
|
+
* any number of complete or partial frames.
|
|
139
|
+
*/
|
|
140
|
+
declare function createJsonFrameReader(source: AsyncIterable<Uint8Array>, options: JsonFrameReaderOptions): AsyncIterable<unknown>;
|
|
141
|
+
|
|
142
|
+
interface Libp2pDeviceSyncTransportOptions {
|
|
143
|
+
nodeId: string;
|
|
144
|
+
deviceNetwork: Pick<DeviceNetworkService, 'listDevices' | 'openStream'>;
|
|
145
|
+
grantProvider?: (peerId: string) => Promise<DeviceConnectionGrant | undefined>;
|
|
146
|
+
}
|
|
147
|
+
declare class Libp2pDeviceSyncTransport implements DeviceSyncTransport {
|
|
148
|
+
readonly nodeId: string;
|
|
149
|
+
private readonly deviceNetwork;
|
|
150
|
+
private readonly grantProvider?;
|
|
151
|
+
constructor(options: Libp2pDeviceSyncTransportOptions);
|
|
152
|
+
listPeers(): Promise<Device[]>;
|
|
153
|
+
exchangeVersionVector(peerId: string, localVersion: VersionVector): Promise<ExchangeVersionVectorResult>;
|
|
154
|
+
pullMissingMetadata(peerId: string, sinceVersion: VersionVector, cursor?: string): Promise<ConversationMetadataPage>;
|
|
155
|
+
pullMissingMessages(peerId: string, conversationId: string, knownMessageIds: string[]): Promise<ChatMessage[]>;
|
|
156
|
+
pullAttachmentBlob(peerId: string, contentHash: string): Promise<AttachmentBlob | null>;
|
|
157
|
+
private request;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare const LIBP2P_RPC_REQUEST_TYPE = "memeloop-rpc-request-v2";
|
|
161
|
+
declare const LIBP2P_RPC_RESPONSE_TYPE = "memeloop-rpc-response-v2";
|
|
162
|
+
interface Libp2pRpcRequest {
|
|
163
|
+
type: typeof LIBP2P_RPC_REQUEST_TYPE;
|
|
164
|
+
id: string;
|
|
165
|
+
method: string;
|
|
166
|
+
params: unknown;
|
|
167
|
+
grant?: DeviceConnectionGrant;
|
|
168
|
+
}
|
|
169
|
+
type Libp2pRpcResponse = {
|
|
170
|
+
type: typeof LIBP2P_RPC_RESPONSE_TYPE;
|
|
171
|
+
id: string;
|
|
172
|
+
ok: true;
|
|
173
|
+
result: unknown;
|
|
174
|
+
} | {
|
|
175
|
+
type: typeof LIBP2P_RPC_RESPONSE_TYPE;
|
|
176
|
+
id: string;
|
|
177
|
+
ok: false;
|
|
178
|
+
error: string;
|
|
179
|
+
};
|
|
180
|
+
declare function isLibp2pRpcRequest(value: unknown): value is Libp2pRpcRequest;
|
|
181
|
+
declare function isLibp2pRpcResponse(value: unknown): value is Libp2pRpcResponse;
|
|
182
|
+
|
|
183
|
+
declare const LIBP2P_SYNC_REQUEST_TYPE = "memeloop-sync-request-v2";
|
|
184
|
+
declare const LIBP2P_SYNC_RESPONSE_TYPE = "memeloop-sync-response-v2";
|
|
185
|
+
type Libp2pSyncMethod = 'exchangeVersionVector' | 'pullMissingMetadata' | 'pullMissingMessages' | 'pullAttachmentBlob';
|
|
186
|
+
interface Libp2pSyncRequest {
|
|
187
|
+
type: typeof LIBP2P_SYNC_REQUEST_TYPE;
|
|
188
|
+
id: string;
|
|
189
|
+
method: Libp2pSyncMethod;
|
|
190
|
+
params: unknown;
|
|
191
|
+
grant?: DeviceConnectionGrant;
|
|
192
|
+
}
|
|
193
|
+
type Libp2pSyncResponse = {
|
|
194
|
+
type: typeof LIBP2P_SYNC_RESPONSE_TYPE;
|
|
195
|
+
id: string;
|
|
196
|
+
ok: true;
|
|
197
|
+
result: unknown;
|
|
198
|
+
} | {
|
|
199
|
+
type: typeof LIBP2P_SYNC_RESPONSE_TYPE;
|
|
200
|
+
id: string;
|
|
201
|
+
ok: false;
|
|
202
|
+
error: string;
|
|
203
|
+
};
|
|
204
|
+
interface AttachmentBlobWire {
|
|
205
|
+
dataBase64Url: string;
|
|
206
|
+
filename: string;
|
|
207
|
+
mimeType: string;
|
|
208
|
+
size: number;
|
|
209
|
+
}
|
|
210
|
+
declare function isLibp2pSyncRequest(value: unknown): value is Libp2pSyncRequest;
|
|
211
|
+
declare function isLibp2pSyncResponse(value: unknown): value is Libp2pSyncResponse;
|
|
212
|
+
declare function attachmentBlobFromWire(value: unknown): Promise<{
|
|
213
|
+
data: Uint8Array;
|
|
214
|
+
filename: string;
|
|
215
|
+
mimeType: string;
|
|
216
|
+
size: number;
|
|
217
|
+
} | null>;
|
|
218
|
+
|
|
219
|
+
interface LocalTrustDeviceAuthorizerOptions {
|
|
220
|
+
trustedDevices?: Iterable<TrustedDeviceRecord>;
|
|
221
|
+
getTrustedDevice?: (peerId: string) => TrustedDeviceRecord | undefined;
|
|
222
|
+
allowPairingProtocol?: boolean;
|
|
223
|
+
}
|
|
224
|
+
declare class LocalTrustDeviceAuthorizer implements DeviceAuthorizer {
|
|
225
|
+
private readonly options;
|
|
226
|
+
private readonly trustedDevices;
|
|
227
|
+
private readonly allowPairingProtocol;
|
|
228
|
+
constructor(options?: LocalTrustDeviceAuthorizerOptions);
|
|
229
|
+
setTrustedDevice(record: TrustedDeviceRecord): void;
|
|
230
|
+
removeTrustedDevice(peerId: string): void;
|
|
231
|
+
canOpenProtocol(input: {
|
|
232
|
+
remotePeerId: string;
|
|
233
|
+
protocol: MemeLoopProtocol;
|
|
234
|
+
}): Promise<boolean>;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare const DEVICE_PAIRING_INVITE_PROTOCOL = "memeloop-device-pairing-v2";
|
|
238
|
+
declare const DEVICE_PAIRING_INVITE_TTL_MS: number;
|
|
239
|
+
interface DevicePairingInvite {
|
|
240
|
+
protocol: typeof DEVICE_PAIRING_INVITE_PROTOCOL;
|
|
241
|
+
peerId: string;
|
|
242
|
+
publicKeyMultibase: string;
|
|
243
|
+
deviceName: string;
|
|
244
|
+
multiaddrs: string[];
|
|
245
|
+
createdAt: number;
|
|
246
|
+
expiresAt: number;
|
|
247
|
+
signature: string;
|
|
248
|
+
}
|
|
249
|
+
type DevicePairingInviteUnsignedPayload = Omit<DevicePairingInvite, 'signature'>;
|
|
250
|
+
interface DevicePairingInviteIdentityVerifierInput {
|
|
251
|
+
invite: DevicePairingInvite;
|
|
252
|
+
payload: Uint8Array;
|
|
253
|
+
}
|
|
254
|
+
type DevicePairingInviteIdentityVerifier = (input: DevicePairingInviteIdentityVerifierInput) => boolean | Promise<boolean>;
|
|
255
|
+
interface CreateDevicePairingInviteOptions {
|
|
256
|
+
now?: number;
|
|
257
|
+
ttlMs?: number;
|
|
258
|
+
sign(payload: Uint8Array): Promise<string>;
|
|
259
|
+
}
|
|
260
|
+
interface ParseDevicePairingInviteOptions {
|
|
261
|
+
now?: number;
|
|
262
|
+
verifyIdentity: DevicePairingInviteIdentityVerifier;
|
|
263
|
+
}
|
|
264
|
+
declare function canonicalDevicePairingInviteBytes(invite: DevicePairingInviteUnsignedPayload): Uint8Array;
|
|
265
|
+
declare function createDevicePairingInvite(device: Pick<Device, 'peerId' | 'displayName' | 'multiaddrs'> & {
|
|
266
|
+
publicKeyMultibase: string;
|
|
267
|
+
}, options: CreateDevicePairingInviteOptions): Promise<DevicePairingInvite>;
|
|
268
|
+
declare function encodeDevicePairingInvite(invite: DevicePairingInvite): string;
|
|
269
|
+
declare function parseDevicePairingInvite(serialized: string, options: ParseDevicePairingInviteOptions): Promise<DevicePairingInvite>;
|
|
270
|
+
|
|
271
|
+
export { isLibp2pSyncResponse as $, type AttachmentBlobWire as A, type Libp2pRpcRequest as B, type CreateDevicePairingInviteOptions as C, DEVICE_ORCHESTRATION_PROTOCOL as D, type Libp2pRpcResponse as E, type Libp2pSyncMethod as F, type Libp2pSyncRequest as G, type Libp2pSyncResponse as H, LocalTrustDeviceAuthorizer as I, JsonFrameError as J, type LocalTrustDeviceAuthorizerOptions as K, LIBP2P_RPC_REQUEST_TYPE as L, MemoryDeviceSyncStateStore as M, attachmentBlobFromWire as N, canonicalDevicePairingInviteBytes as O, type ParseDevicePairingInviteOptions as P, createDeviceOrchestrationStreamHandler as Q, type RemoteOrchestrationHandler as R, createDeviceOrchestrationTransport as S, createDevicePairingInvite as T, createJsonFrameReader as U, encodeDevicePairingInvite as V, encodeJsonFrame as W, encodeJsonFrames as X, isLibp2pRpcRequest as Y, isLibp2pRpcResponse as Z, isLibp2pSyncRequest as _, DEVICE_PAIRING_INVITE_PROTOCOL as a, parseDevicePairingInvite as a0, DEVICE_PAIRING_INVITE_TTL_MS as b, type DeviceCloudComponentStatus as c, type DeviceCloudConnectionAdapter as d, type DeviceCloudConnectionComponent as e, DeviceCloudConnectionCoordinator as f, type DeviceCloudConnectionCoordinatorOptions as g, type DeviceCloudConnectionSnapshot as h, type DeviceCloudConnectionStatus as i, type DeviceCloudStepResult as j, type DeviceOrchestrationStreamHandler as k, type DeviceOrchestrationStreamHandlerInput as l, type DeviceOrchestrationStreamHandlerOptions as m, type DeviceOrchestrationTransportOptions as n, type DevicePairingInvite as o, type DevicePairingInviteIdentityVerifier as p, type DevicePairingInviteIdentityVerifierInput as q, type DevicePairingInviteUnsignedPayload as r, type DeviceSyncStateStore as s, type JsonFrameErrorCode as t, type JsonFrameReaderOptions as u, LIBP2P_RPC_RESPONSE_TYPE as v, LIBP2P_SYNC_REQUEST_TYPE as w, LIBP2P_SYNC_RESPONSE_TYPE as x, Libp2pDeviceSyncTransport as y, type Libp2pDeviceSyncTransportOptions as z };
|