@nuvin/agent-core 0.1.0 → 0.1.1-rc.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.
@@ -1 +1 @@
1
- function _0x115b(){var _0x5b3cb7=['mteZmZC5mgHnqLPOCG','ndC0mZGWowLkAefxtq','mJmZmdjuwhHYq1O','otC3otqZmM1QCLDOEq','nJe4uvLVD3nU','mtq5nZqZogLSDvHZDW','mJaZmdHJA1fPCeS','nJK5mZeXnfvvC0n2rG','nZLOr0zus0q'];_0x115b=function(){return _0x5b3cb7;};return _0x115b();}(function(_0x1270b4,_0x355ec2){var _0x524b29={_0x5364ae:0x1ee,_0x202300:0x1e7,_0x2cb361:0x1ec,_0x26d465:0x1ed,_0x4ff5a7:0x1ef,_0x204b8c:0x1e8,_0x28fb9f:0x1eb,_0x39d03b:0x1e9,_0x4f2e7d:0x1ea,_0x2d6a90:0x34d,_0xd8c14a:0x34d,_0x25a0d7:0x350,_0x2c8cf9:0x1f1,_0x5f1860:0x1ec},_0x3eebef={_0x5d110d:0x256},_0x52c083={_0x728fb6:0x2e7};function _0x17176f(_0x4183a3,_0x34f02e,_0x3e1533,_0xead982){return _0x3ee1(_0x4183a3-_0x52c083._0x728fb6,_0x34f02e);}function _0x524e92(_0x1b48d5,_0xa3c274,_0x1f31f5,_0x43907d){return _0x3ee1(_0xa3c274- -_0x3eebef._0x5d110d,_0x1b48d5);}var _0x587a46=_0x1270b4();while(!![]){try{var _0x560067=-parseInt(_0x524e92(-_0x524b29._0x5364ae,-0x1e9,-0x1ed,-_0x524b29._0x202300))/0x1*(-parseInt(_0x524e92(-_0x524b29._0x2cb361,-0x1ef,-_0x524b29._0x26d465,-0x1ee))/0x2)+-parseInt(_0x524e92(-_0x524b29._0x4ff5a7,-_0x524b29._0x26d465,-0x1f1,-_0x524b29._0x204b8c))/0x3*(-parseInt(_0x524e92(-0x1ec,-_0x524b29._0x28fb9f,-0x1e6,-_0x524b29._0x5364ae))/0x4)+parseInt(_0x524e92(-0x1e7,-0x1e8,-_0x524b29._0x2cb361,-_0x524b29._0x39d03b))/0x5+-parseInt(_0x524e92(-0x1e8,-_0x524b29._0x4f2e7d,-_0x524b29._0x4f2e7d,-0x1ea))/0x6+parseInt(_0x17176f(_0x524b29._0x2d6a90,_0x524b29._0xd8c14a,_0x524b29._0x25a0d7,0x350))/0x7+-parseInt(_0x524e92(-0x1eb,-_0x524b29._0x5364ae,-0x1eb,-0x1eb))/0x8+parseInt(_0x524e92(-_0x524b29._0x2c8cf9,-_0x524b29._0x5f1860,-0x1e8,-0x1ed))/0x9;if(_0x560067===_0x355ec2)break;else _0x587a46['push'](_0x587a46['shift']());}catch(_0x2181eb){_0x587a46['push'](_0x587a46['shift']());}}}(_0x115b,0x9e7d2));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{mapAutoReasoningEffortToBudgetTokens,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig}from'../chunk-NYZR4XKO.js';import{TurnFailedError}from'../chunk-FFIZ6TKW.js';function _0x3ee1(_0x186be7,_0x295985){_0x186be7=_0x186be7-0x66;var _0x115b8c=_0x115b();var _0x3ee183=_0x115b8c[_0x186be7];if(_0x3ee1['RJsdii']===undefined){var _0x75ee2=function(_0x5ab47d){var _0x4de450='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3a3226='',_0x517d48='';for(var _0x56187e=0x0,_0x380406,_0x4e31b1,_0x48933e=0x0;_0x4e31b1=_0x5ab47d['charAt'](_0x48933e++);~_0x4e31b1&&(_0x380406=_0x56187e%0x4?_0x380406*0x40+_0x4e31b1:_0x4e31b1,_0x56187e++%0x4)?_0x3a3226+=String['fromCharCode'](0xff&_0x380406>>(-0x2*_0x56187e&0x6)):0x0){_0x4e31b1=_0x4de450['indexOf'](_0x4e31b1);}for(var _0x2cc177=0x0,_0x5b173f=_0x3a3226['length'];_0x2cc177<_0x5b173f;_0x2cc177++){_0x517d48+='%'+('00'+_0x3a3226['charCodeAt'](_0x2cc177)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x517d48);};_0x3ee1['fPlGBu']=_0x75ee2,_0x3ee1['qWbPKO']={},_0x3ee1['RJsdii']=!![];}var _0x1bf831=_0x115b8c[0x0],_0x281cf1=_0x186be7+_0x1bf831,_0x2a1399=_0x3ee1['qWbPKO'][_0x281cf1];return!_0x2a1399?(_0x3ee183=_0x3ee1['fPlGBu'](_0x3ee183),_0x3ee1['qWbPKO'][_0x281cf1]=_0x3ee183):_0x3ee183=_0x2a1399,_0x3ee183;}import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';export{OperationAbortedError,TurnFailedError,addAbortListener,isAbortError,mapAutoReasoningEffortToBudgetTokens,modelIdentityFromParts,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ (function(_0x28b6cf,_0x313690){var _0x38bbe6={_0x10a28a:0x49b,_0x19a2ed:0x49f,_0x43e27e:0x2fd,_0x497508:0x2f5,_0x7d2cac:0x2ef,_0x4b4c9c:0x2f6,_0xe80ea9:0x2f2,_0x36c5dc:0x2f4,_0x18244b:0x2f8,_0x210343:0x2f2,_0x3d5d26:0x496,_0x5724a5:0x497,_0x2a0e1a:0x49e,_0x35e477:0x4a2,_0x3526f5:0x49d,_0x4a53b5:0x2ee,_0x32dec5:0x2f3,_0x9260f3:0x2fc,_0x12505d:0x2f9},_0x28bebd={_0x3f354a:0x17a},_0xc060d4={_0x3bca37:0x31c};function _0x3f19f4(_0x440d31,_0x2703a6,_0x12d843,_0x1c8ef5){return _0xe757(_0x440d31-_0xc060d4._0x3bca37,_0x2703a6);}function _0x364ee1(_0x14ff6d,_0x32366e,_0x4c4683,_0x569d52){return _0xe757(_0x4c4683-_0x28bebd._0x3f354a,_0x14ff6d);}var _0x595bd5=_0x28b6cf();while(!![]){try{var _0x4a9229=parseInt(_0x3f19f4(_0x38bbe6._0x10a28a,_0x38bbe6._0x19a2ed,_0x38bbe6._0x19a2ed,0x4a0))/0x1*(parseInt(_0x364ee1(_0x38bbe6._0x43e27e,0x2f5,0x2fb,_0x38bbe6._0x497508))/0x2)+-parseInt(_0x364ee1(_0x38bbe6._0x7d2cac,_0x38bbe6._0x4b4c9c,_0x38bbe6._0xe80ea9,0x2f0))/0x3*(parseInt(_0x364ee1(0x2f0,0x2f8,_0x38bbe6._0x36c5dc,0x2f8))/0x4)+-parseInt(_0x364ee1(0x2f7,0x2f5,0x2fa,_0x38bbe6._0x18244b))/0x5*(-parseInt(_0x364ee1(0x300,0x301,0x2fd,0x2fd))/0x6)+parseInt(_0x364ee1(0x2f6,_0x38bbe6._0x210343,0x2f8,0x2f6))/0x7+-parseInt(_0x3f19f4(0x499,_0x38bbe6._0x19a2ed,0x49c,0x498))/0x8*(-parseInt(_0x3f19f4(0x497,_0x38bbe6._0x3d5d26,0x495,_0x38bbe6._0x5724a5))/0x9)+parseInt(_0x3f19f4(_0x38bbe6._0x2a0e1a,_0x38bbe6._0x35e477,0x49c,_0x38bbe6._0x3526f5))/0xa+parseInt(_0x364ee1(_0x38bbe6._0x4a53b5,_0x38bbe6._0xe80ea9,_0x38bbe6._0x32dec5,0x2ef))/0xb*(-parseInt(_0x364ee1(_0x38bbe6._0x9260f3,_0x38bbe6._0x12505d,0x2f6,0x2f4))/0xc);if(_0x4a9229===_0x313690)break;else _0x595bd5['push'](_0x595bd5['shift']());}catch(_0x4800f7){_0x595bd5['push'](_0x595bd5['shift']());}}}(_0x2f30,0x76c45));function _0xe757(_0x55bbf4,_0x44a331){_0x55bbf4=_0x55bbf4-0x178;var _0x2f3055=_0x2f30();var _0xe757dc=_0x2f3055[_0x55bbf4];if(_0xe757['cPLpok']===undefined){var _0x2f47c5=function(_0x29e67b){var _0x321903='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x28f50b='',_0x3f0394='';for(var _0x1f89e0=0x0,_0x4582eb,_0x4ed472,_0x32c798=0x0;_0x4ed472=_0x29e67b['charAt'](_0x32c798++);~_0x4ed472&&(_0x4582eb=_0x1f89e0%0x4?_0x4582eb*0x40+_0x4ed472:_0x4ed472,_0x1f89e0++%0x4)?_0x28f50b+=String['fromCharCode'](0xff&_0x4582eb>>(-0x2*_0x1f89e0&0x6)):0x0){_0x4ed472=_0x321903['indexOf'](_0x4ed472);}for(var _0x3e670f=0x0,_0x37e678=_0x28f50b['length'];_0x3e670f<_0x37e678;_0x3e670f++){_0x3f0394+='%'+('00'+_0x28f50b['charCodeAt'](_0x3e670f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3f0394);};_0xe757['GdDsmh']=_0x2f47c5,_0xe757['XhpQrj']={},_0xe757['cPLpok']=!![];}var _0x3788ea=_0x2f3055[0x0],_0x28db43=_0x55bbf4+_0x3788ea,_0x2b2057=_0xe757['XhpQrj'][_0x28db43];return!_0x2b2057?(_0xe757dc=_0xe757['GdDsmh'](_0xe757dc),_0xe757['XhpQrj'][_0x28db43]=_0xe757dc):_0xe757dc=_0x2b2057,_0xe757dc;}function _0x2f30(){var _0x2576de=['mJy3mtKXnhzMEu9LBa','mJG1Du16sLDl','nZDcsfHTAhO','mtm4nZzhthDxs2m','nty3nZeXBfvVBxjU','mtyXmJG2mhvwzvvwCW','oenzvhr6vq','ndq0odmWnhvnCNLLBa','mZeYnZmZs1HiChn2','nuL3EvDfzW','mKHpAfrvAG','mZaWmJu2mfHWA3Hwzq'];_0x2f30=function(){return _0x2576de;};return _0x2f30();}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{mapAutoReasoningEffortToBudgetTokens,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig}from'../chunk-NYZR4XKO.js';import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';export{OperationAbortedError,TurnFailedError,addAbortListener,isAbortError,mapAutoReasoningEffortToBudgetTokens,modelIdentityFromParts,resolveAnthropicThinkingConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
@@ -5,6 +5,7 @@ export interface BashToolInput {
5
5
  cwd?: string;
6
6
  timeoutMs?: number;
7
7
  ignoreOutput?: boolean;
8
+ outputRegex?: string;
8
9
  runInBackground?: boolean;
9
10
  }
10
11
  export interface BashToolOptions {
@@ -25,6 +26,7 @@ export declare function createBashTool(options?: BashToolOptions): import("../sh
25
26
  timeoutMs?: number | undefined;
26
27
  cwd?: string | undefined;
27
28
  ignoreOutput?: boolean | undefined;
29
+ outputRegex?: string | undefined;
28
30
  runInBackground?: boolean | undefined;
29
31
  }, string, import("../shared/types.ts").ToolOutputEnvelope, {
30
32
  type: "object";
@@ -45,6 +47,10 @@ export declare function createBashTool(options?: BashToolOptions): import("../sh
45
47
  ignoreOutput: {
46
48
  type: "boolean";
47
49
  };
50
+ outputRegex: {
51
+ type: "string";
52
+ description: string;
53
+ };
48
54
  runInBackground: {
49
55
  type: "boolean";
50
56
  };
@@ -57,6 +63,7 @@ export declare function createShellExecTool(options?: BashToolOptions): import("
57
63
  timeoutMs?: number | undefined;
58
64
  cwd?: string | undefined;
59
65
  ignoreOutput?: boolean | undefined;
66
+ outputRegex?: string | undefined;
60
67
  runInBackground?: boolean | undefined;
61
68
  }, string, import("../shared/types.ts").ToolOutputEnvelope, {
62
69
  type: "object";
@@ -77,6 +84,10 @@ export declare function createShellExecTool(options?: BashToolOptions): import("
77
84
  ignoreOutput: {
78
85
  type: "boolean";
79
86
  };
87
+ outputRegex: {
88
+ type: "string";
89
+ description: string;
90
+ };
80
91
  runInBackground: {
81
92
  type: "boolean";
82
93
  };