@nuvin/agent-core 0.0.0-rc.11 → 0.0.0-rc.13

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.
@@ -1,4 +1,4 @@
1
- import { C as ChatRequest, O as OpenAiResponsesRequest } from './types-Df0vlfj-.js';
1
+ import { C as ChatRequest, O as OpenAiResponsesRequest } from './types-DQXrm4dp.js';
2
2
 
3
3
  declare function toOpenAiResponsesRequest(request: ChatRequest): OpenAiResponsesRequest;
4
4
 
@@ -1,5 +1,5 @@
1
- import { G as AutoReasoningEffort, v as ReasoningConfig, H as AnthropicThinkingConfig, I as OpenAiReasoningConfig, f as TurnState } from '../types-Df0vlfj-.js';
2
- export { aQ as AgentAssistantChunkEvent, aP as AgentAssistantMessageEvent, bl as AgentDefinition, bk as AgentDefinitionFactoryContext, A as AgentEvent, aB as AgentEventContext, b3 as AgentEventHandler, aY as AgentFinalMessageEvent, b as AgentInput, a$ as AgentLifecycleEvent, aN as AgentModelRequestEvent, aO as AgentModelResponseEvent, a as AgentOptions, a_ as AgentProviderRetryEvent, aU as AgentReasoningChunkEvent, aT as AgentReasoningMessageEvent, c as AgentSendOptions, aV as AgentToolCallEvent, aW as AgentToolResultEvent, aX as AgentToolResultMessageEvent, aS as AgentToolUseChunkEvent, aR as AgentToolUseMessageEvent, aZ as AgentTurnCompleteEvent, aM as AgentUserMessageEvent, ad as AnthropicAdaptiveThinkingConfig, a7 as AnthropicAssistantContentBlock, ae as AnthropicDisabledThinkingConfig, ac as AnthropicEnabledThinkingConfig, a2 as AnthropicRedactedThinkingBlock, a6 as AnthropicRedactedThinkingWireBlock, aq as AnthropicSignatureDeltaChunk, a1 as AnthropicThinkingBlock, ap as AnthropicThinkingDeltaChunk, aa as AnthropicThinkingDisplay, ab as AnthropicThinkingEffort, a5 as AnthropicThinkingWireBlock, bj as AnyExtensionRegistration, b9 as AnyToolDefinition, aE as AskUserAnswers, aC as AskUserOption, aD as AskUserQuestion, aF as AskUserQuestionRequest, ai as AssistantContentBlock, a9 as AutoReasoningConfig, B as BaseChatModelOptions, aA as ChatModel, C as ChatRequest, n as ChatResponse, w as ChatResponseChunk, k as CompileRequestInput, g as ContentBlock, an as ContentDeltaChunk, i as ContentInput, bt as CreateManagedRunInput, au as DoneChunk, E as EngineChatModel, be as ExtensionContext, d as ExtensionRegistry, ak as IdentifiedMessage, _ as ImageBlock, Z as ImageMediaType, b5 as InferJsonSchema, K as JsonObject, J as JsonPrimitive, Y as JsonSchema, W as JsonSchemaArray, V as JsonSchemaBoolean, U as JsonSchemaNumber, X as JsonSchemaObject, Q as JsonSchemaString, N as JsonSchemaType, L as JsonValue, bo as ManagedAgentRun, bp as ManagedAgentRunHandle, bn as ManagedRunError, bq as ManagedRunEvent, br as ManagedRunEventHandler, bm as ManagedRunStatus, M as Message, j as MessageInput, ah as MessageProviderState, aj as MessageRole, x as ModelExecutionOptions, y as ModelInfo, z as ModelLimits, l as ModelRequest, m as ModelResponse, bg as Observer, bi as ObserverExtensionRegistration, bb as ObserverOnlyStage, bx as OpenAiFunctionCall, by as OpenAiFunctionCallOutput, bF as OpenAiFunctionTool, bv as OpenAiInputImage, bw as OpenAiInputMessage, bu as OpenAiInputText, bB as OpenAiOutputMessage, bz as OpenAiOutputTextPart, a4 as OpenAiReasoningBlock, ar as OpenAiReasoningDeltaChunk, af as OpenAiReasoningEffort, bC as OpenAiReasoningOutputItem, ag as OpenAiReasoningSummary, as as OpenAiReasoningSummaryDeltaChunk, a3 as OpenAiReasoningSummaryText, bA as OpenAiRefusalPart, bD as OpenAiResponsesOutputItem, bE as OpenAiResponsesReasoningParam, O as OpenAiResponsesRequest, bd as PayloadByStage, az as PrepareRequestInput, t as PreparedRequest, u as ProviderCredential, D as ProviderCredentialKind, F as ProviderEndpoints, s as ProviderRequestMutator, at as ProviderRetryChunk, P as ProviderSessionResolver, a8 as ReasoningVisibility, r as ResolvedProviderSession, R as RunTurnDeps, bs as RuntimeManagerOptions, bc as Stage, S as SystemInput, h as TextBlock, b8 as ToolDefinition, aG as ToolExecutionContext, b7 as ToolGenerator, ax as ToolOutputEnvelope, b6 as ToolOutputValue, q as ToolResult, p as ToolResultBlock, aw as ToolResultChunk, a0 as ToolResultContent, $ as ToolResultContentBlock, av as ToolResultMeta, b4 as ToolRuntime, aJ as ToolRuntimeCompletedEvent, b0 as ToolRuntimeDispatchDecision, aL as ToolRuntimeEvent, b2 as ToolRuntimeEventHandler, aI as ToolRuntimeOutputChunkEvent, aK as ToolRuntimeRejectedEvent, aH as ToolRuntimeStartedEvent, b1 as ToolRuntimeToolCallHandler, al as ToolSchema, o as ToolUseBlock, ao as ToolUseDeltaChunk, ba as TransformableStage, bf as Transformer, bh as TransformerExtensionRegistration, e as TurnInput, T as TurnResult, ay as TurnResultStatus, am as Usage } from '../types-Df0vlfj-.js';
1
+ import { G as AutoReasoningEffort, v as ReasoningConfig, H as AnthropicThinkingConfig, I as OpenAiReasoningConfig, f as TurnState } from '../types-DQXrm4dp.js';
2
+ export { aQ as AgentAssistantChunkEvent, aP as AgentAssistantMessageEvent, bl as AgentDefinition, bk as AgentDefinitionFactoryContext, A as AgentEvent, aB as AgentEventContext, b3 as AgentEventHandler, aY as AgentFinalMessageEvent, b as AgentInput, a$ as AgentLifecycleEvent, aN as AgentModelRequestEvent, aO as AgentModelResponseEvent, a as AgentOptions, a_ as AgentProviderRetryEvent, aU as AgentReasoningChunkEvent, aT as AgentReasoningMessageEvent, c as AgentSendOptions, aV as AgentToolCallEvent, aW as AgentToolResultEvent, aX as AgentToolResultMessageEvent, aS as AgentToolUseChunkEvent, aR as AgentToolUseMessageEvent, aZ as AgentTurnCompleteEvent, aM as AgentUserMessageEvent, ad as AnthropicAdaptiveThinkingConfig, a7 as AnthropicAssistantContentBlock, ae as AnthropicDisabledThinkingConfig, ac as AnthropicEnabledThinkingConfig, a2 as AnthropicRedactedThinkingBlock, a6 as AnthropicRedactedThinkingWireBlock, aq as AnthropicSignatureDeltaChunk, a1 as AnthropicThinkingBlock, ap as AnthropicThinkingDeltaChunk, aa as AnthropicThinkingDisplay, ab as AnthropicThinkingEffort, a5 as AnthropicThinkingWireBlock, bj as AnyExtensionRegistration, b9 as AnyToolDefinition, aE as AskUserAnswers, aC as AskUserOption, aD as AskUserQuestion, aF as AskUserQuestionRequest, ai as AssistantContentBlock, a9 as AutoReasoningConfig, B as BaseChatModelOptions, aA as ChatModel, C as ChatRequest, n as ChatResponse, w as ChatResponseChunk, k as CompileRequestInput, g as ContentBlock, an as ContentDeltaChunk, i as ContentInput, bt as CreateManagedRunInput, au as DoneChunk, E as EngineChatModel, be as ExtensionContext, d as ExtensionRegistry, ak as IdentifiedMessage, _ as ImageBlock, Z as ImageMediaType, b5 as InferJsonSchema, K as JsonObject, J as JsonPrimitive, Y as JsonSchema, W as JsonSchemaArray, V as JsonSchemaBoolean, U as JsonSchemaNumber, X as JsonSchemaObject, Q as JsonSchemaString, N as JsonSchemaType, L as JsonValue, bo as ManagedAgentRun, bp as ManagedAgentRunHandle, bn as ManagedRunError, bq as ManagedRunEvent, br as ManagedRunEventHandler, bm as ManagedRunStatus, M as Message, j as MessageInput, ah as MessageProviderState, aj as MessageRole, x as ModelExecutionOptions, y as ModelInfo, z as ModelLimits, l as ModelRequest, m as ModelResponse, bg as Observer, bi as ObserverExtensionRegistration, bb as ObserverOnlyStage, bx as OpenAiFunctionCall, by as OpenAiFunctionCallOutput, bF as OpenAiFunctionTool, bv as OpenAiInputImage, bw as OpenAiInputMessage, bu as OpenAiInputText, bB as OpenAiOutputMessage, bz as OpenAiOutputTextPart, a4 as OpenAiReasoningBlock, ar as OpenAiReasoningDeltaChunk, af as OpenAiReasoningEffort, bC as OpenAiReasoningOutputItem, ag as OpenAiReasoningSummary, as as OpenAiReasoningSummaryDeltaChunk, a3 as OpenAiReasoningSummaryText, bA as OpenAiRefusalPart, bD as OpenAiResponsesOutputItem, bE as OpenAiResponsesReasoningParam, O as OpenAiResponsesRequest, bd as PayloadByStage, az as PrepareRequestInput, t as PreparedRequest, u as ProviderCredential, D as ProviderCredentialKind, F as ProviderEndpoints, s as ProviderRequestMutator, at as ProviderRetryChunk, P as ProviderSessionResolver, a8 as ReasoningVisibility, r as ResolvedProviderSession, R as RunTurnDeps, bs as RuntimeManagerOptions, bc as Stage, S as SystemInput, h as TextBlock, b8 as ToolDefinition, aG as ToolExecutionContext, b7 as ToolGenerator, ax as ToolOutputEnvelope, b6 as ToolOutputValue, q as ToolResult, p as ToolResultBlock, aw as ToolResultChunk, a0 as ToolResultContent, $ as ToolResultContentBlock, av as ToolResultMeta, b4 as ToolRuntime, aJ as ToolRuntimeCompletedEvent, b0 as ToolRuntimeDispatchDecision, aL as ToolRuntimeEvent, b2 as ToolRuntimeEventHandler, aI as ToolRuntimeOutputChunkEvent, aK as ToolRuntimeRejectedEvent, aH as ToolRuntimeStartedEvent, b1 as ToolRuntimeToolCallHandler, al as ToolSchema, o as ToolUseBlock, ao as ToolUseDeltaChunk, ba as TransformableStage, bf as Transformer, bh as TransformerExtensionRegistration, e as TurnInput, T as TurnResult, ay as TurnResultStatus, am as Usage } from '../types-DQXrm4dp.js';
3
3
 
4
4
  declare class OperationAbortedError extends Error {
5
5
  readonly code = "ABORT_ERR";
@@ -1 +1 @@
1
- function _0x17b5(){var _0xd5e3b2=['ntiWwe1xsu1d','mJG5ntnOsurPEfa','mJjMuLbtq2y','mJCZndmYDeH3rKnW','mteXnZK1vg5LCKDy','ntzvANfezLm','mJeWnZi2tNrUvNr3','mtCWmJG3sgTYs1P4','ndrYAM5prNq','mty4ndyWvgXPsunp','mJq4mZi4txn5CeP0'];_0x17b5=function(){return _0xd5e3b2;};return _0x17b5();}(function(_0x5e5a50,_0x281532){var _0x24740e={_0x2c4a1d:0x1f6,_0x7667a4:0x1f1,_0x1d1e25:0x1ec,_0xbdcc82:0x43f,_0x2157a4:0x441,_0x36d8c3:0x447,_0x350ba0:0x1ee,_0x2ec419:0x43d,_0x2ea8ca:0x449,_0x53bc4f:0x449,_0x1e3d25:0x1ee,_0x1bbb9f:0x1f3,_0x32ae53:0x43e,_0x4cc170:0x43e,_0x90669:0x436,_0x588f38:0x43b,_0x311f25:0x447,_0x5c568b:0x447,_0x4f36da:0x1ea,_0x2bcb13:0x1f0},_0x73bca2={_0x69a702:0x283};function _0x4db19f(_0x342e60,_0x3fb3ad,_0xeda88f,_0x25ec91){return _0xd360(_0x3fb3ad-_0x73bca2._0x69a702,_0x25ec91);}function _0x4e83c2(_0x217d68,_0x536683,_0x3b871d,_0x3c2a79){return _0xd360(_0x536683-0x32,_0x3c2a79);}var _0xd9baf4=_0x5e5a50();while(!![]){try{var _0x24a9c2=parseInt(_0x4e83c2(_0x24740e._0x2c4a1d,_0x24740e._0x7667a4,_0x24740e._0x1d1e25,0x1ee))/0x1+parseInt(_0x4db19f(_0x24740e._0xbdcc82,_0x24740e._0x2157a4,_0x24740e._0x36d8c3,0x444))/0x2+parseInt(_0x4e83c2(0x1ed,0x1e9,_0x24740e._0x350ba0,0x1ec))/0x3+parseInt(_0x4db19f(_0x24740e._0x2ec419,0x443,_0x24740e._0x2ea8ca,_0x24740e._0x53bc4f))/0x4*(-parseInt(_0x4e83c2(0x1ef,_0x24740e._0x1e3d25,_0x24740e._0x1bbb9f,0x1e9))/0x5)+-parseInt(_0x4db19f(0x43d,_0x24740e._0x32ae53,0x439,_0x24740e._0x4cc170))/0x6*(-parseInt(_0x4db19f(0x445,0x440,0x445,0x443))/0x7)+-parseInt(_0x4db19f(0x438,0x43b,0x437,_0x24740e._0x90669))/0x8*(parseInt(_0x4db19f(_0x24740e._0xbdcc82,0x43c,0x440,_0x24740e._0x588f38))/0x9)+parseInt(_0x4db19f(0x43f,0x444,_0x24740e._0x311f25,_0x24740e._0x5c568b))/0xa*(-parseInt(_0x4e83c2(_0x24740e._0x4f36da,0x1ec,_0x24740e._0x2bcb13,0x1f2))/0xb);if(_0x24a9c2===_0x281532)break;else _0xd9baf4['push'](_0xd9baf4['shift']());}catch(_0x463a6e){_0xd9baf4['push'](_0xd9baf4['shift']());}}}(_0x17b5,0x39310));import{mapAutoReasoningEffortToBudgetTokens,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig}from'../chunk-NYZR4XKO.js';function _0xd360(_0x14163b,_0x9f63c2){_0x14163b=_0x14163b-0x1b7;var _0x17b517=_0x17b5();var _0xd360bd=_0x17b517[_0x14163b];if(_0xd360['FuQCpK']===undefined){var _0x1294f5=function(_0x14dc29){var _0x14cd85='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xe3c03e='',_0x41049c='';for(var _0x3a6930=0x0,_0x381cc1,_0x16a8b7,_0x54ca4a=0x0;_0x16a8b7=_0x14dc29['charAt'](_0x54ca4a++);~_0x16a8b7&&(_0x381cc1=_0x3a6930%0x4?_0x381cc1*0x40+_0x16a8b7:_0x16a8b7,_0x3a6930++%0x4)?_0xe3c03e+=String['fromCharCode'](0xff&_0x381cc1>>(-0x2*_0x3a6930&0x6)):0x0){_0x16a8b7=_0x14cd85['indexOf'](_0x16a8b7);}for(var _0x1a689b=0x0,_0x181264=_0xe3c03e['length'];_0x1a689b<_0x181264;_0x1a689b++){_0x41049c+='%'+('00'+_0xe3c03e['charCodeAt'](_0x1a689b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41049c);};_0xd360['kmwZxY']=_0x1294f5,_0xd360['AveMvB']={},_0xd360['FuQCpK']=!![];}var _0x338bb7=_0x17b517[0x0],_0x3fcf7a=_0x14163b+_0x338bb7,_0x101ce4=_0xd360['AveMvB'][_0x3fcf7a];return!_0x101ce4?(_0xd360bd=_0xd360['kmwZxY'](_0xd360bd),_0xd360['AveMvB'][_0x3fcf7a]=_0xd360bd):_0xd360bd=_0x101ce4,_0xd360bd;}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';export{OperationAbortedError,TurnFailedError,addAbortListener,isAbortError,mapAutoReasoningEffortToBudgetTokens,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ (function(_0x3578ff,_0x5c1546){var _0x11014d={_0x14443d:0x1b,_0xe6c9f3:0x18,_0x58e86f:0x79,_0x2c6ee3:0x78,_0x12870c:0xf,_0x260fbe:0xb,_0x1c267f:0x13,_0x4d9ebe:0x10,_0x28143f:0x77,_0x49803e:0x1a,_0x5dbd9c:0x15,_0x5e6184:0x13,_0x1af53a:0x1c,_0x3a7ee5:0x17,_0x132e9e:0x71,_0x3414da:0x77},_0x9875f6={_0x291335:0x142};function _0x4defae(_0x3d0110,_0x176fdf,_0x1f873b,_0x3e2c20){return _0xf8b5(_0x1f873b- -0xde,_0x3d0110);}function _0x341df9(_0xff5291,_0x50f07f,_0x42fd75,_0xa9a751){return _0xf8b5(_0x42fd75- -_0x9875f6._0x291335,_0xa9a751);}var _0x545e3a=_0x3578ff();while(!![]){try{var _0x86b7b5=-parseInt(_0x4defae(-0x1d,-_0x11014d._0x14443d,-_0x11014d._0xe6c9f3,-0x13))/0x1*(parseInt(_0x341df9(-0x74,-_0x11014d._0x58e86f,-_0x11014d._0x2c6ee3,-0x79))/0x2)+parseInt(_0x4defae(-_0x11014d._0x12870c,-0xb,-_0x11014d._0x12870c,-_0x11014d._0x260fbe))/0x3*(-parseInt(_0x4defae(-0xd,-_0x11014d._0x1c267f,-_0x11014d._0x4d9ebe,-0x13))/0x4)+parseInt(_0x341df9(-0x74,-_0x11014d._0x28143f,-0x77,-0x73))/0x5+parseInt(_0x4defae(-0x15,-_0x11014d._0x49803e,-_0x11014d._0x5dbd9c,-_0x11014d._0x5e6184))/0x6+-parseInt(_0x4defae(-0xe,-0x16,-0x11,-0x16))/0x7*(-parseInt(_0x4defae(-_0x11014d._0x1af53a,-0x13,-_0x11014d._0x3a7ee5,-0x14))/0x8)+-parseInt(_0x4defae(-0x16,-0x15,-0x16,-0x15))/0x9+parseInt(_0x341df9(-_0x11014d._0x132e9e,-0x79,-0x76,-_0x11014d._0x3414da))/0xa;if(_0x86b7b5===_0x5c1546)break;else _0x545e3a['push'](_0x545e3a['shift']());}catch(_0x67a51e){_0x545e3a['push'](_0x545e3a['shift']());}}}(_0x3bcd,0x70814));import{mapAutoReasoningEffortToBudgetTokens,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig}from'../chunk-NYZR4XKO.js';import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function _0xf8b5(_0x418a48,_0x2bedec){_0x418a48=_0x418a48-0xc6;var _0x3bcdcd=_0x3bcd();var _0xf8b5e1=_0x3bcdcd[_0x418a48];if(_0xf8b5['MuYjZU']===undefined){var _0x4d624f=function(_0x872d15){var _0x5b14c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x263d55='',_0x1d28f3='';for(var _0x36e627=0x0,_0x56f1e0,_0x4839fd,_0x3d639e=0x0;_0x4839fd=_0x872d15['charAt'](_0x3d639e++);~_0x4839fd&&(_0x56f1e0=_0x36e627%0x4?_0x56f1e0*0x40+_0x4839fd:_0x4839fd,_0x36e627++%0x4)?_0x263d55+=String['fromCharCode'](0xff&_0x56f1e0>>(-0x2*_0x36e627&0x6)):0x0){_0x4839fd=_0x5b14c9['indexOf'](_0x4839fd);}for(var _0x7e3d74=0x0,_0x33d106=_0x263d55['length'];_0x7e3d74<_0x33d106;_0x7e3d74++){_0x1d28f3+='%'+('00'+_0x263d55['charCodeAt'](_0x7e3d74)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1d28f3);};_0xf8b5['fHOBgs']=_0x4d624f,_0xf8b5['hoeRYz']={},_0xf8b5['MuYjZU']=!![];}var _0x19ca9b=_0x3bcdcd[0x0],_0xa66b74=_0x418a48+_0x19ca9b,_0x3f3bf5=_0xf8b5['hoeRYz'][_0xa66b74];return!_0x3f3bf5?(_0xf8b5e1=_0xf8b5['fHOBgs'](_0xf8b5e1),_0xf8b5['hoeRYz'][_0xa66b74]=_0xf8b5e1):_0xf8b5e1=_0x3f3bf5,_0xf8b5e1;}export{OperationAbortedError,TurnFailedError,addAbortListener,isAbortError,mapAutoReasoningEffortToBudgetTokens,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};function _0x3bcd(){var _0x335eed=['mZu4mtu5wg91zMLe','mJeXody4mejWrxbMvG','nJKYmZC5mhLjvxP1vG','mJG0ntK0ngfbEhHgwq','mNv2EgL0sG','mZC5nde1meXlwfb6sq','otq1nZK5me1lBuzxzW','n0fSsLDmBa','mZqYmtK5nLHorMPluW','m052r21qvW'];_0x3bcd=function(){return _0x335eed;};return _0x3bcd();}
@@ -1,5 +1,5 @@
1
1
  import { Diagnostic, Location, Hover, DocumentSymbol, SymbolInformation, CallHierarchyItem, CallHierarchyIncomingCall, CallHierarchyOutgoingCall } from 'vscode-languageserver-types';
2
- import { b8 as ToolDefinition, ax as ToolOutputEnvelope, b9 as AnyToolDefinition, b2 as ToolRuntimeEventHandler, b1 as ToolRuntimeToolCallHandler, b4 as ToolRuntime, K as JsonObject, X as JsonSchemaObject, Y as JsonSchema, bk as AgentDefinitionFactoryContext, a as AgentOptions, q as ToolResult, b6 as ToolOutputValue, aw as ToolResultChunk, a0 as ToolResultContent, b5 as InferJsonSchema, aG as ToolExecutionContext, al as ToolSchema, L as JsonValue } from '../types-Df0vlfj-.js';
2
+ import { b8 as ToolDefinition, ax as ToolOutputEnvelope, b9 as AnyToolDefinition, b2 as ToolRuntimeEventHandler, b1 as ToolRuntimeToolCallHandler, b4 as ToolRuntime, K as JsonObject, X as JsonSchemaObject, Y as JsonSchema, bk as AgentDefinitionFactoryContext, a as AgentOptions, q as ToolResult, b6 as ToolOutputValue, aw as ToolResultChunk, a0 as ToolResultContent, b5 as InferJsonSchema, aG as ToolExecutionContext, al as ToolSchema, L as JsonValue } from '../types-DQXrm4dp.js';
3
3
  import { CommandDefinitionReference, SerializedCommandDefinition, MCPAuthConfig, MCPServerConfig } from '@nuvin/config';
4
4
  import { OAuthClientProvider } from '@modelcontextprotocol/sdk/client/auth.js';
5
5
  import { CallToolResult, ListToolsResult } from '@modelcontextprotocol/sdk/types.js';
@@ -715,9 +715,21 @@ declare function createWebFetchTool(options?: WebFetchToolOptions): ToolDefiniti
715
715
  required: readonly ["url"];
716
716
  }>;
717
717
 
718
- interface WebSearchToolOptions {
718
+ interface GoogleCseEngineOptions {
719
719
  googleCseKey: string;
720
720
  googleCseCx: string;
721
+ }
722
+ interface OllamaEngineOptions {
723
+ apiKey: string;
724
+ }
725
+ interface TavilyEngineOptions {
726
+ tavilyApiKey: string;
727
+ searchDepth?: "basic" | "advanced";
728
+ topic?: "general" | "news" | "finance";
729
+ }
730
+ type WebSearchEngine = GoogleCseEngineOptions | OllamaEngineOptions | TavilyEngineOptions;
731
+ interface WebSearchToolOptions {
732
+ engines: WebSearchEngine[];
721
733
  name?: string;
722
734
  }
723
735
  declare function createWebSearchTool(options: WebSearchToolOptions): ToolDefinition<{
@@ -780,4 +792,4 @@ declare function resolveAllowedPath(rootDir: string, allowedDirs: readonly strin
780
792
  declare function assertWorkspaceFile(filePath: string): Promise<void>;
781
793
  declare function isProbablyBinary(buffer: Buffer): boolean;
782
794
 
783
- export { type BashToolInput, type BashToolOptions, type CommandReference, type CommandToolOptions, type CreateDelegationToolsOptions, type DelegatedAgentDefinition, type DelegatedAgentFactoryContext, type FileEditToolOptions, type FileNewToolOptions, type FileReadToolOptions, type GlobToolOptions, type GrepToolOptions, type LoadedCommand, type LoadedSkill, type LsToolOptions, type LspService, type LspServiceConfig, type LspToolOptions, type McpConnectionOptions, type McpConnector, type McpOAuthProviderOptions, type McpServerConnectionStatus, type McpToolBundle, type McpToolClient, type McpToolDescriptor, type RipgrepMatch, type SkillReference, type SkillSource, type SkillToolOptions, ToolExecutionError, type ToolOutputOffloadOptions, ToolRegistry, type ViewFileToolOptions, type WebFetchToolOptions, type WebSearchToolOptions, assertWorkspaceFile, buildMcpHttpHeaders, connectMcpServer, createAskUserTool, createAssignTaskTool, createBashTool, createDelegateToAgentTool, createDelegationTools, createFileEditTool, createFileNewTool, createFileReadTool, createGlobTool, createGrepTool, createInternalToolRuntime, createInvokeCommandTool, createLoadSkillTool, createLsTool, createLspService, createLspTool, createMcpOAuthProvider, createMcpTool, createMcpToolName, createMcpToolsFromServers, createMockToolRuntime, createShellExecTool, createTodoWriteTool, createToolOutput, createViewFileTool, createWebFetchTool, createWebSearchTool, defineTool, deriveFinalToolOutput, filepath, files, isProbablyBinary, normalizeToolOutputValue, resolveAllowedPath, resolveWorkspacePath, search, toNuvinToolSchema, truncateToolOutput, validateToolInput };
795
+ export { type BashToolInput, type BashToolOptions, type CommandReference, type CommandToolOptions, type CreateDelegationToolsOptions, type DelegatedAgentDefinition, type DelegatedAgentFactoryContext, type FileEditToolOptions, type FileNewToolOptions, type FileReadToolOptions, type GlobToolOptions, type GoogleCseEngineOptions, type GrepToolOptions, type LoadedCommand, type LoadedSkill, type LsToolOptions, type LspService, type LspServiceConfig, type LspToolOptions, type McpConnectionOptions, type McpConnector, type McpOAuthProviderOptions, type McpServerConnectionStatus, type McpToolBundle, type McpToolClient, type McpToolDescriptor, type OllamaEngineOptions, type RipgrepMatch, type SkillReference, type SkillSource, type SkillToolOptions, type TavilyEngineOptions, ToolExecutionError, type ToolOutputOffloadOptions, ToolRegistry, type ViewFileToolOptions, type WebFetchToolOptions, type WebSearchEngine, type WebSearchToolOptions, assertWorkspaceFile, buildMcpHttpHeaders, connectMcpServer, createAskUserTool, createAssignTaskTool, createBashTool, createDelegateToAgentTool, createDelegationTools, createFileEditTool, createFileNewTool, createFileReadTool, createGlobTool, createGrepTool, createInternalToolRuntime, createInvokeCommandTool, createLoadSkillTool, createLsTool, createLspService, createLspTool, createMcpOAuthProvider, createMcpTool, createMcpToolName, createMcpToolsFromServers, createMockToolRuntime, createShellExecTool, createTodoWriteTool, createToolOutput, createViewFileTool, createWebFetchTool, createWebSearchTool, defineTool, deriveFinalToolOutput, filepath, files, isProbablyBinary, normalizeToolOutputValue, resolveAllowedPath, resolveWorkspacePath, search, toNuvinToolSchema, truncateToolOutput, validateToolInput };