@nuvin/agent-core 0.4.0-rc.6 → 0.4.0-rc.8
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/index.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-EQGBU73Q.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-WCUIFNCL.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/chunk-YTDATWXW.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/isolate/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/model-registry.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +6 -0
- package/dist/tools/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-HDFJFRPX.js +0 -1
|
@@ -41,7 +41,7 @@ export interface ResolvedModelProfile {
|
|
|
41
41
|
export declare const REASONING_METADATA_VERSIONS: {
|
|
42
42
|
readonly anthropic: "2026-07-22";
|
|
43
43
|
readonly openai: "2026-07-22";
|
|
44
|
-
readonly codex: "0.
|
|
44
|
+
readonly codex: "0.156.1+b412ff32c417f855c2b2d1581b77058eed87c84b";
|
|
45
45
|
};
|
|
46
46
|
export declare function getProviderProfile(provider: string): ProviderProfile | undefined;
|
|
47
47
|
export declare function getModelProfile(provider: string, model: string): ModelProfile | undefined;
|
package/dist/shared/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4178dc(_0xf2b58c,_0xb98be7,_0x5bccf8,_0x437770){const _0x184f48={_0x4d8cdb:0x1eb};return _0x23d9(_0xb98be7- -_0x184f48._0x4d8cdb,_0x437770);}(function(_0x5e0e4d,_0x42de81){const _0x2b8eef={_0x1e77df:0x328,_0x127148:0x31e,_0x5dc7d0:0x331,_0x2d1890:0x312,_0x540673:0x309,_0xdea2bf:0x325,_0x1d5763:0x31d,_0x5569b1:0x322,_0x3f950d:0x335,_0x366356:0x313,_0x45232c:0x307,_0x1c1fb8:0x310,_0x2155d1:0x30e,_0x529ee2:0x314,_0x671cc2:0x302,_0x3b42b9:0x2ff},_0x53014b={_0x5421de:0x3a1},_0x5aa185={_0x124423:0x382};function _0x4255f1(_0xfba2b3,_0x3bbc3d,_0x21e198,_0x4d452c){return _0x23d9(_0xfba2b3- -_0x5aa185._0x124423,_0x21e198);}const _0x158822=_0x5e0e4d();function _0x21d093(_0x50c9ef,_0x3422d1,_0x530b70,_0x52e1f9){return _0x23d9(_0x50c9ef- -_0x53014b._0x5421de,_0x52e1f9);}while(!![]){try{const _0x5e5453=parseInt(_0x21d093(-_0x2b8eef._0x1e77df,-_0x2b8eef._0x127148,-_0x2b8eef._0x5dc7d0,-0x32b))/0x1*(-parseInt(_0x4255f1(-0x310,-0x314,-_0x2b8eef._0x2d1890,-0x307))/0x2)+parseInt(_0x21d093(-0x31e,-0x317,-0x322,-0x31d))/0x3*(parseInt(_0x4255f1(-0x313,-_0x2b8eef._0x540673,-0x31b,-0x31f))/0x4)+-parseInt(_0x21d093(-0x329,-_0x2b8eef._0xdea2bf,-_0x2b8eef._0x1d5763,-_0x2b8eef._0x5569b1))/0x5*(-parseInt(_0x21d093(-0x333,-_0x2b8eef._0x3f950d,-0x337,-0x326))/0x6)+-parseInt(_0x21d093(-0x31c,-0x31f,-_0x2b8eef._0x366356,-0x310))/0x7*(parseInt(_0x4255f1(-_0x2b8eef._0x45232c,-0x309,-0x30c,-0x30d))/0x8)+parseInt(_0x4255f1(-0x304,-0x300,-_0x2b8eef._0x1c1fb8,-0x303))/0x9+-parseInt(_0x4255f1(-_0x2b8eef._0x2155d1,-_0x2b8eef._0x529ee2,-_0x2b8eef._0x671cc2,-0x304))/0xa+parseInt(_0x4255f1(-0x302,-0x2f6,-_0x2b8eef._0x3b42b9,-0x305))/0xb;if(_0x5e5453===_0x42de81)break;else _0x158822['push'](_0x158822['shift']());}catch(_0x238785){_0x158822['push'](_0x158822['shift']());}}}(_0x54d3,0xa1b7c));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';function _0x23d9(_0x1cb560,_0x532317){_0x1cb560=_0x1cb560-0x6c;const _0x54d338=_0x54d3();let _0x23d9d6=_0x54d338[_0x1cb560];if(_0x23d9['uRBuFp']===undefined){var _0xafc118=function(_0x5db5a2){const _0xe139b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e7f73='',_0x1df0d9='';for(let _0x41869b=0x0,_0x48a141,_0x75614f,_0x3ca666=0x0;_0x75614f=_0x5db5a2['charAt'](_0x3ca666++);~_0x75614f&&(_0x48a141=_0x41869b%0x4?_0x48a141*0x40+_0x75614f:_0x75614f,_0x41869b++%0x4)?_0x5e7f73+=String['fromCharCode'](0xff&_0x48a141>>(-0x2*_0x41869b&0x6)):0x0){_0x75614f=_0xe139b['indexOf'](_0x75614f);}for(let _0x4365ea=0x0,_0x45e5b7=_0x5e7f73['length'];_0x4365ea<_0x45e5b7;_0x4365ea++){_0x1df0d9+='%'+('00'+_0x5e7f73['charCodeAt'](_0x4365ea)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1df0d9);};_0x23d9['ucGXcG']=_0xafc118,_0x23d9['BTxfHk']={},_0x23d9['uRBuFp']=!![];}const _0x70db71=_0x54d338[0x0],_0x332b5a=_0x1cb560+_0x70db71,_0x4de66e=_0x23d9['BTxfHk'][_0x332b5a];return!_0x4de66e?(_0x23d9d6=_0x23d9['ucGXcG'](_0x23d9d6),_0x23d9['BTxfHk'][_0x332b5a]=_0x23d9d6):_0x23d9d6=_0x4de66e,_0x23d9d6;}import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice}from'../chunk-YTDATWXW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function _0x199001(_0x34889c,_0x1705e0,_0x121121,_0x9ea7f5){return _0x23d9(_0x9ea7f5- -0x5,_0x34889c);}function createAbortAwareSemaphore(_0x5e7f73){const _0x747e55={_0x488df3:0x271},_0x27d7a1={_0x1ee97e:0x162,_0xbe70b7:0x16a,_0x5b034e:0x164,_0x49a251:0x15c,_0x4a76c8:0x180,_0x414efe:0x18b},_0x3973ec={_0x339360:0x2e6,_0x185a92:0x2df,_0x11e06b:0x2e6},_0x43ba1f={_0x3718cb:0x3c8},_0x421804={_0x5a9997:0x3e4,_0x554db1:0x60},_0x26cc1a={_0x16595a:0x4,_0x3adb77:0x10,_0x39f132:0x11,_0x135d88:0x10},_0x5c1a5c={_0x26d419:0x14};if(!Number[_0x47ebe5(-0x26c,-0x26d,-0x277,-0x266)](_0x5e7f73)||!Number['isInteger'](_0x5e7f73)||_0x5e7f73<=0x0)throw new Error(_0x47ebe5(-0x273,-0x276,-0x26f,-_0x747e55._0x488df3));let _0x1df0d9=0x0;const _0x41869b=[],_0x48a141=()=>{let _0x4365ea=![];return()=>{if(_0x4365ea)return;_0x4365ea=!![],_0x1df0d9-=0x1,_0x75614f();};},_0x75614f=()=>{function _0x6d2496(_0x4b06f1,_0x124c85,_0x3e0708,_0x3bc198){return _0x47ebe5(_0x4b06f1-0x9,_0x3bc198-0x26e,_0x3e0708-0x102,_0x124c85);}function _0x395c07(_0x5f5b41,_0xef41d6,_0x4b842c,_0x1fd743){return _0x47ebe5(_0x5f5b41-0x173,_0xef41d6- -_0x5c1a5c._0x26d419,_0x4b842c-0xe5,_0x5f5b41);}while(_0x41869b[_0x6d2496(-_0x26cc1a._0x16595a,-0x1,-0x7,0x3)]>0x0){const _0x45e5b7=_0x41869b[_0x6d2496(-0x9,0x6,-_0x26cc1a._0x3adb77,-_0x26cc1a._0x16595a)]();if(!_0x45e5b7||_0x45e5b7['cancelled'])continue;_0x45e5b7['cancelled']=!![],_0x45e5b7[_0x395c07(-0x28b,-0x285,-0x285,-0x28e)](),_0x1df0d9+=0x1,_0x45e5b7[_0x6d2496(0xe,_0x26cc1a._0x39f132,0x12,_0x26cc1a._0x135d88)](_0x48a141());return;}};function _0x47ebe5(_0x18ec4e,_0x1a1711,_0x42b427,_0x23bf2a){return _0x23d9(_0x1a1711- -0x2e2,_0x23bf2a);}function _0x1d7e70(_0x2a916c,_0x3f1af6,_0x1f8d95,_0x433c59){return _0x23d9(_0x2a916c-0x21d,_0x3f1af6);}const _0x3ca666=()=>{if(_0x1df0d9>=_0x5e7f73)return void 0x0;return _0x1df0d9+=0x1,_0x48a141();};return{'tryAcquire':_0x3ca666,'acquire'(_0x39031b){function _0x12e59d(_0x7d5573,_0x2d7118,_0x33d6d5,_0x120eae){return _0x47ebe5(_0x7d5573-0x1c3,_0x7d5573-_0x421804._0x5a9997,_0x33d6d5-_0x421804._0x554db1,_0x120eae);}function _0x115e52(_0x2827d9,_0x502545,_0xcd293a,_0x18430e){return _0x47ebe5(_0x2827d9-0x1ae,_0x2827d9-_0x43ba1f._0x3718cb,_0xcd293a-0x140,_0x18430e);}if(_0x39031b?.[_0x115e52(_0x27d7a1._0x1ee97e,_0x27d7a1._0xbe70b7,_0x27d7a1._0x5b034e,_0x27d7a1._0x49a251)])return Promise['reject'](toAbortError(_0x39031b[_0x12e59d(0x183,_0x27d7a1._0x4a76c8,_0x27d7a1._0x414efe,0x176)]));const _0x2ee002=_0x3ca666();if(_0x2ee002!==void 0x0)return Promise[_0x115e52(0x16a,0x164,0x174,0x15d)](_0x2ee002);return new Promise((_0x20e7a7,_0x234612)=>{const _0x219a01={_0x3e18ce:0x29,_0x4d3353:0x1c,_0x2d8318:0x25,_0x22baef:0x2c7,_0x34c0af:0x2d2,_0x683d70:0x2d8,_0x31c48c:0x2d5,_0x314ce8:0x28,_0x52baa2:0x20,_0x35b600:0x22,_0x39b728:0x1f,_0x160f89:0x22};function _0x17674d(_0x4e4cc6,_0x587345,_0x2ac1a6,_0x3ea016){return _0x115e52(_0x4e4cc6- -0x439,_0x587345-0x1d2,_0x2ac1a6-0x20,_0x2ac1a6);}const _0x2f47d4={'resolve':_0x20e7a7,'reject':_0x234612,'cancelled':![],'removeAbortListener':()=>{}};_0x41869b[_0x17674d(-_0x3973ec._0x339360,-_0x3973ec._0x185a92,-0x2ec,-_0x3973ec._0x11e06b)](_0x2f47d4),_0x2f47d4['removeAbortListener']=addAbortListener(_0x39031b,()=>{const _0x462b7f={_0x2ecd8e:0x4},_0x1602a9={_0xcc7691:0x2f2,_0xd008d3:0x134};if(_0x2f47d4[_0xdcbdd6(0x29,_0x219a01._0x3e18ce,_0x219a01._0x4d3353,_0x219a01._0x2d8318)])return;_0x2f47d4[_0xe47131(-0x2c8,-_0x219a01._0x22baef,-0x2d4,-_0x219a01._0x34c0af)]=!![];function _0xdcbdd6(_0x4c71b0,_0x435827,_0x57217b,_0x2cebee){return _0x17674d(_0x57217b-_0x1602a9._0xcc7691,_0x435827-_0x1602a9._0xd008d3,_0x2cebee,_0x2cebee-0x79);}function _0xe47131(_0x727443,_0x4d6ece,_0x575754,_0xaa7307){return _0x17674d(_0xaa7307-_0x462b7f._0x2ecd8e,_0x4d6ece-0x187,_0x4d6ece,_0xaa7307-0x148);}_0x2f47d4['removeAbortListener']();const _0x25e29b=_0x41869b[_0xe47131(-0x2de,-0x2e1,-_0x219a01._0x683d70,-_0x219a01._0x31c48c)](_0x2f47d4);if(_0x25e29b>=0x0)_0x41869b[_0xdcbdd6(0x20,_0x219a01._0x314ce8,0x1e,_0x219a01._0x52baa2)](_0x25e29b,0x1);_0x2f47d4[_0xe47131(-0x2c8,-0x2cb,-0x2c7,-0x2cd)](toAbortError(_0x39031b?.[_0xdcbdd6(_0x219a01._0x35b600,_0x219a01._0x39b728,_0x219a01._0x52baa2,_0x219a01._0x160f89)]));});});}};}var MESSAGE_ROLES=['assistant',_0x199001(0x69,0x63,0x6f,0x6e)];Object[_0x199001(0x6a,0x7c,0x71,0x71)](MESSAGE_ROLES);function _0x54d3(){const _0x34708f=['mtuYBevowMTO','ywjVCNrLza','y2fUy2vSBgvK','mty1nJiXnKPZBufsEG','C3bSAwnL','otqYnZCYnNr1wvnfzG','CMvHC29U','CMvQzwn0','mZe4BKz5qwjV','CMvZB2X2zq','nZKXotHHyxPSzum','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','ChvZAa','mJu1mdyZmejbrK54uW','mJi2nJbctLrou1m','C2HPzNq','CMvTB3zLqwjVCNrmAxn0zw5LCG','ntm2nMHYCwnWua','DxnLCG','nJy3mZi5mgzWEMnkDG','AxngAw5PDgu','zNjLzxPL','BgvUz3rO','mtbhsMXKC1e','mZuZt1DLrxvK','Aw5KzxHpzG'];_0x54d3=function(){return _0x34708f;};return _0x54d3();}export{MESSAGE_ROLES,OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,isAgentOnlyBashCompletion,isAgentOnlyCoordinatorNotice,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
|
package/dist/shared/types.d.ts
CHANGED
|
@@ -446,6 +446,8 @@ export type TurnMessageMeta = {
|
|
|
446
446
|
reasoningCompletedAt?: number;
|
|
447
447
|
/** Marks a canonical user-role append submitted by a trusted runtime source. */
|
|
448
448
|
submissionOrigin?: "coordinator" | "agent";
|
|
449
|
+
/** ms epoch when this user message was queued as a mid-turn steer. */
|
|
450
|
+
steeredAt?: number;
|
|
449
451
|
/** Canonical sender ID for an agent-origin user-role append. */
|
|
450
452
|
senderAgentId?: string;
|
|
451
453
|
/** Trusted structured metadata for a coordinator-authored subagent report. */
|
|
@@ -816,10 +818,14 @@ export type AgentSubmission = Readonly<{
|
|
|
816
818
|
export type TurnSteeringInput = MessageInput | Readonly<{
|
|
817
819
|
input: MessageInput;
|
|
818
820
|
submission: AgentSubmission;
|
|
821
|
+
/** ms epoch when the steer was queued; carried into persisted meta. */
|
|
822
|
+
steeredAt?: number;
|
|
819
823
|
}>;
|
|
820
824
|
export type SteeringInput = AgentInput | Readonly<{
|
|
821
825
|
input: AgentInput;
|
|
822
826
|
submission: AgentSubmission;
|
|
827
|
+
/** ms epoch when the steer was queued; carried into persisted meta. */
|
|
828
|
+
steeredAt?: number;
|
|
823
829
|
}>;
|
|
824
830
|
export type SteeringInputDrain = () => Promise<SteeringInput[]>;
|
|
825
831
|
export interface AgentSendOptions {
|