@nuvin/agent-core 0.2.0 → 0.2.1-rc.1
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/VERSION +2 -2
- package/dist/agent/context-compactor.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/summarize-transcript.d.ts +7 -0
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-KIIEBXJF.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/tools/file-editing/file-edit-tool.d.ts +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/search/grep-tool.d.ts +1 -1
- package/dist/tools/session/lsp-tool.d.ts +1 -1
- package/dist/tools/shell/bash-tool.d.ts +2 -2
- package/package.json +1 -1
package/dist/shared/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3a7297,_0x50d781){const _0x1f1174={_0x1de72d:0x1b6,_0x5d5921:0x1bb,_0x11dcf7:0x1b7,_0x54e3ae:0x41c,_0x5b28a1:0x41b,_0x5770a9:0x411,_0x5ee620:0x416,_0x11969c:0x1bc,_0x42d04c:0x1bd,_0x518b25:0x1c0,_0x2952e9:0x1c4,_0x1b23bb:0x1c3,_0xb0a81:0x1cc,_0x502311:0x1cd,_0x4cbe82:0x40a,_0x43a890:0x1ba,_0x3ee44d:0x1b8,_0x29ee09:0x413,_0x119553:0x410,_0x15ec45:0x406,_0x1ff110:0x1d2,_0x41ba12:0x1c1,_0x4a36d1:0x1d4},_0x54166e={_0x2b285c:0x341};function _0x388482(_0x56d387,_0x2244ba,_0x2a3840,_0xcdea20){return _0x29e1(_0x2a3840-_0x54166e._0x2b285c,_0x2244ba);}function _0x9c1dcf(_0x7a599a,_0x3e40e5,_0x57c5fe,_0x51ad89){return _0x29e1(_0x3e40e5- -0x299,_0x57c5fe);}const _0x34a03b=_0x3a7297();while(!![]){try{const _0x11cefb=parseInt(_0x9c1dcf(-_0x1f1174._0x1de72d,-_0x1f1174._0x5d5921,-_0x1f1174._0x11dcf7,-0x1b8))/0x1*(-parseInt(_0x388482(_0x1f1174._0x54e3ae,_0x1f1174._0x5b28a1,0x412,0x40f))/0x2)+-parseInt(_0x388482(0x40c,_0x1f1174._0x5770a9,0x414,_0x1f1174._0x5ee620))/0x3+parseInt(_0x9c1dcf(-_0x1f1174._0x11969c,-_0x1f1174._0x42d04c,-0x1bc,-_0x1f1174._0x518b25))/0x4*(parseInt(_0x9c1dcf(-0x1c8,-_0x1f1174._0x2952e9,-_0x1f1174._0x1b23bb,-0x1cc))/0x5)+parseInt(_0x9c1dcf(-0x1c7,-_0x1f1174._0xb0a81,-0x1cd,-_0x1f1174._0x502311))/0x6*(-parseInt(_0x388482(0x407,0x41c,0x411,_0x1f1174._0x4cbe82))/0x7)+-parseInt(_0x9c1dcf(-0x1c2,-_0x1f1174._0x43a890,-0x1bb,-_0x1f1174._0x3ee44d))/0x8+parseInt(_0x388482(_0x1f1174._0x5ee620,_0x1f1174._0x29ee09,_0x1f1174._0x119553,_0x1f1174._0x15ec45))/0x9*(parseInt(_0x9c1dcf(-_0x1f1174._0x1ff110,-0x1cd,-_0x1f1174._0x41ba12,-_0x1f1174._0x4a36d1))/0xa)+parseInt(_0x9c1dcf(-0x1ca,-0x1c2,-0x1bc,-0x1c0))/0xb;if(_0x11cefb===_0x50d781)break;else _0x34a03b['push'](_0x34a03b['shift']());}catch(_0x4ccf69){_0x34a03b['push'](_0x34a03b['shift']());}}}(_0x4971,0x6df73));function _0x4971(){const _0x6a0100=['CMvHC29U','mJiWv01MA1zT','y2fUy2vSBgvK','mxvKyLLwBW','nJeXotqWmhDjzhf0wG','BgvUz3rO','CMvQzwn0','AxngAw5PDgu','mtbcv0XAALq','nJe4nKrfuMTOsa','C3bSAwnL','nZiXmda1m0nyy0LMzq','mJyXogLgseHeyW','ntG3oty2BKX4q1jN','CMvTB3zLqwjVCNrmAxn0zw5LCG','mJi1mJKYmMrRrLbqyG','CMvZB2X2zq','nJG2ndvSuKjHuem','C2HPzNq','mte5ody1mtn2zKHlvwq','AxnjBNrLz2vY','ChvZAa','Aw5KzxHpzG'];_0x4971=function(){return _0x6a0100;};return _0x4971();}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x29e1(_0x1dcc84,_0x2a09ce){_0x1dcc84=_0x1dcc84-0xcc;const _0x497151=_0x4971();let _0x29e1b7=_0x497151[_0x1dcc84];if(_0x29e1['igoaLm']===undefined){var _0x1f2ffd=function(_0x59d1f0){const _0x382187='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3633dc='',_0x21a093='';for(let _0x273af8=0x0,_0x9358e,_0x77797f,_0x44a36f=0x0;_0x77797f=_0x59d1f0['charAt'](_0x44a36f++);~_0x77797f&&(_0x9358e=_0x273af8%0x4?_0x9358e*0x40+_0x77797f:_0x77797f,_0x273af8++%0x4)?_0x3633dc+=String['fromCharCode'](0xff&_0x9358e>>(-0x2*_0x273af8&0x6)):0x0){_0x77797f=_0x382187['indexOf'](_0x77797f);}for(let _0x4c8318=0x0,_0x5cca88=_0x3633dc['length'];_0x4c8318<_0x5cca88;_0x4c8318++){_0x21a093+='%'+('00'+_0x3633dc['charCodeAt'](_0x4c8318)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x21a093);};_0x29e1['kJEtuP']=_0x1f2ffd,_0x29e1['mbibuw']={},_0x29e1['igoaLm']=!![];}const _0x23e1ed=_0x497151[0x0],_0x2d2ec9=_0x1dcc84+_0x23e1ed,_0x245f02=_0x29e1['mbibuw'][_0x2d2ec9];return!_0x245f02?(_0x29e1b7=_0x29e1['kJEtuP'](_0x29e1b7),_0x29e1['mbibuw'][_0x2d2ec9]=_0x29e1b7):_0x29e1b7=_0x245f02,_0x29e1b7;}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x3633dc){const _0x465c49={_0xc13ff5:0x249,_0x103521:0x18d,_0x1b18c7:0x184,_0x5682a2:0x187},_0x1d4f1a={_0x3097c9:0x151,_0xa95535:0x14a,_0x54b46b:0x141,_0x450165:0x13e,_0x34bfac:0x145,_0x146a18:0x69,_0x51ba60:0x5f,_0x169742:0x68},_0x540b8b={_0x4b6112:0x1c9,_0x21d96f:0x38c,_0x55e823:0x38e,_0x299a13:0x384,_0x195b52:0x382},_0x3265a8={_0x2a20eb:0x1c0,_0x46086d:0x1e8},_0x56707b={_0x37bd1a:0x1e1,_0x3a9831:0x42,_0x9280ae:0xe},_0x1d49f8={_0x557643:0x171,_0x4c9f2a:0x17a,_0x2aeb92:0x32a,_0x15150c:0x334,_0x3824f3:0x321,_0x3dc6c9:0x327},_0x18fc49={_0x19d67d:0xb0,_0x28644a:0x1a5},_0x373506={_0x6deffa:0x3b0};if(!Number[_0x346055(_0x465c49._0xc13ff5,0x242,0x248,0x241)](_0x3633dc)||!Number[_0x34f8ab(_0x465c49._0x103521,_0x465c49._0x1b18c7,_0x465c49._0x5682a2,0x179)](_0x3633dc)||_0x3633dc<=0x0)throw new Error('maxConcurrency\x20must\x20be\x20a\x20finite\x20positive\x20integer');let _0x21a093=0x0;function _0x34f8ab(_0x1e38bd,_0x160d4e,_0x23b2ff,_0x5049f0){return _0x29e1(_0x160d4e-0xac,_0x23b2ff);}const _0x273af8=[];function _0x346055(_0x598c23,_0x4996a6,_0x25d520,_0xd3e13e){return _0x29e1(_0x4996a6-0x160,_0x598c23);}const _0x9358e=()=>{let _0x44a36f=![];return()=>{if(_0x44a36f)return;_0x44a36f=!![],_0x21a093-=0x1,_0x77797f();};},_0x77797f=()=>{function _0x291d13(_0x2dbde2,_0x5864cd,_0x1a27b2,_0x449f07){return _0x346055(_0x449f07,_0x1a27b2- -_0x373506._0x6deffa,_0x1a27b2-0xe3,_0x449f07-0x65);}function _0x2a8818(_0x3e23e8,_0x42b215,_0x3baff1,_0x47ca11){return _0x34f8ab(_0x3e23e8-_0x18fc49._0x19d67d,_0x3e23e8-0x1a1,_0x47ca11,_0x47ca11-_0x18fc49._0x28644a);}while(_0x273af8[_0x291d13(-0x168,-0x170,-0x170,-0x16f)]>0x0){const _0x4c8318=_0x273af8[_0x291d13(-0x179,-_0x1d49f8._0x557643,-_0x1d49f8._0x4c9f2a,-_0x1d49f8._0x4c9f2a)]();if(!_0x4c8318||_0x4c8318[_0x2a8818(_0x1d49f8._0x2aeb92,_0x1d49f8._0x15150c,0x32c,0x331)])continue;_0x4c8318[_0x2a8818(0x32a,_0x1d49f8._0x3824f3,0x32a,_0x1d49f8._0x3dc6c9)]=!![],_0x4c8318['removeAbortListener'](),_0x21a093+=0x1,_0x4c8318['resolve'](_0x9358e());return;}};return{'acquire'(_0x5cca88){const _0x547cb3={_0x4169ec:0x19e,_0x37f101:0x1a4,_0x28659f:0x19f,_0x20ddfc:0x1ab,_0x5d8b7b:0x241,_0xa21d54:0x248,_0x39b143:0x19a,_0x439bd2:0x23a,_0xbaa083:0x240,_0x2f3800:0x24b};if(_0x5cca88?.['aborted'])return Promise[_0x5dfda6(_0x1d4f1a._0x3097c9,0x14b,_0x1d4f1a._0xa95535,_0x1d4f1a._0x54b46b)](toAbortError(_0x5cca88[_0x5dfda6(_0x1d4f1a._0x450165,_0x1d4f1a._0x34bfac,0x14e,0x14c)]));if(_0x21a093<_0x3633dc)return _0x21a093+=0x1,Promise[_0x327e55(-0x70,-_0x1d4f1a._0x146a18,-_0x1d4f1a._0x51ba60,-_0x1d4f1a._0x169742)](_0x9358e());function _0x5dfda6(_0x4caf7a,_0x37794d,_0x5b0fdd,_0x1a3477){return _0x34f8ab(_0x4caf7a-_0x56707b._0x37bd1a,_0x37794d- -_0x56707b._0x3a9831,_0x5b0fdd,_0x1a3477-_0x56707b._0x9280ae);}function _0x327e55(_0x12af94,_0x58f5e2,_0x363170,_0xe8ada3){return _0x34f8ab(_0x12af94-_0x3265a8._0x2a20eb,_0xe8ada3- -_0x3265a8._0x46086d,_0x363170,_0xe8ada3-0x1aa);}return new Promise((_0x3c4760,_0xc4c224)=>{const _0x589e3a={_0xa04e81:0x179},_0x1af10e={_0x193cee:0x7a,_0xe082a5:0x19b},_0x3751f7={_0x3010ce:0x100,_0x3cbb67:0x16b},_0x1e642f={_0x5d4c2f:0x248,_0x3b9f01:0x7d},_0x4186ae={'resolve':_0x3c4760,'reject':_0xc4c224,'cancelled':![],'removeAbortListener':()=>{}};function _0x24725f(_0x2f5708,_0x2ef459,_0x30c841,_0x192700){return _0x5dfda6(_0x2f5708-0x12d,_0x30c841-_0x1e642f._0x5d4c2f,_0x2ef459,_0x192700-_0x1e642f._0x3b9f01);}function _0x18c5ff(_0x2d92ef,_0x4204e6,_0x305f8a,_0x207e38){return _0x327e55(_0x2d92ef-_0x3751f7._0x3010ce,_0x4204e6-0x1b6,_0x305f8a,_0x2d92ef- -_0x3751f7._0x3cbb67);}_0x273af8[_0x18c5ff(-0x1ce,-0x1c2,-0x1c6,-_0x540b8b._0x4b6112)](_0x4186ae),_0x4186ae[_0x24725f(_0x540b8b._0x21d96f,_0x540b8b._0x55e823,_0x540b8b._0x299a13,_0x540b8b._0x195b52)]=addAbortListener(_0x5cca88,()=>{if(_0x4186ae[_0x34b02c(_0x547cb3._0x4169ec,_0x547cb3._0x37f101,0x1aa,0x1a8)])return;_0x4186ae[_0x34b02c(_0x547cb3._0x28659f,0x1a6,0x1aa,_0x547cb3._0x20ddfc)]=!![],_0x4186ae['removeAbortListener']();const _0x3dffeb=_0x273af8[_0x3f8667(-_0x547cb3._0x5d8b7b,-0x247,-_0x547cb3._0xa21d54,-0x247)](_0x4186ae);function _0x3f8667(_0x9a6461,_0x2dc304,_0xccecaa,_0x134ea6){return _0x18c5ff(_0x2dc304- -_0x1af10e._0x193cee,_0x2dc304-_0x1af10e._0xe082a5,_0x9a6461,_0x134ea6-0x109);}function _0x34b02c(_0x4c6901,_0x509835,_0x30087e,_0x3933a9){return _0x24725f(_0x4c6901-0x1bb,_0x509835,_0x30087e- -0x1e5,_0x3933a9-_0x589e3a._0xa04e81);}if(_0x3dffeb>=0x0)_0x273af8[_0x34b02c(0x193,_0x547cb3._0x39b143,0x19b,0x1a7)](_0x3dffeb,0x1);_0x4186ae[_0x3f8667(-_0x547cb3._0x439bd2,-_0x547cb3._0xbaa083,-_0x547cb3._0x2f3800,-0x237)](toAbortError(_0x5cca88?.['reason']));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
|
|
@@ -11,8 +11,8 @@ export interface FileEditToolOptions {
|
|
|
11
11
|
outputBudgetBytes?: number;
|
|
12
12
|
}
|
|
13
13
|
export declare function createFileEditTool(options?: FileEditToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
14
|
-
tag: string;
|
|
15
14
|
filePath: string;
|
|
15
|
+
tag: string;
|
|
16
16
|
operations: ({
|
|
17
17
|
content: string;
|
|
18
18
|
operation: "replace";
|