@tangle-network/sandbox 0.0.0-develop.20260608232024.2e97e1d → 0.0.0-develop.20260609030357.afb7f82
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/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/{client-DMkVWoYk.d.ts → client-BPfzXG-0.d.ts} +1 -356
- package/dist/client-D5O2rjSL.js +1 -0
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -0
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -0
- package/dist/index.d.ts +24 -24
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/sandbox-DH4Tq6fA.js +1 -0
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-_cxg7krW.js +1 -0
- package/package.json +1 -1
- package/dist/client-BYIDON4d.js +0 -1
- package/dist/collaboration-CRyb5e8F.js +0 -1
- package/dist/errors-CljiGR__.js +0 -1
- package/dist/sandbox-B4HyvZga.js +0 -1
- package/dist/tangle-DvKC4_jP.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a0_0x2b9dc7=a0_0x56b3;(function(_0x2e82c4,_0x518cfc){const _0x1bac5a=a0_0x56b3,_0x3f676a=_0x2e82c4();while(!![]){try{const _0x325f6a=-parseInt(_0x1bac5a(0xb4))/0x1*(-parseInt(_0x1bac5a(0x100))/0x2)+-parseInt(_0x1bac5a(0xf5))/0x3*(-parseInt(_0x1bac5a(0x11a))/0x4)+-parseInt(_0x1bac5a(0xc2))/0x5+-parseInt(_0x1bac5a(0x120))/0x6+parseInt(_0x1bac5a(0xc3))/0x7+-parseInt(_0x1bac5a(0xf6))/0x8*(-parseInt(_0x1bac5a(0x108))/0x9)+-parseInt(_0x1bac5a(0x10c))/0xa;if(_0x325f6a===_0x518cfc)break;else _0x3f676a['push'](_0x3f676a['shift']());}catch(_0xb5c721){_0x3f676a['push'](_0x3f676a['shift']());}}}(a0_0x3ec5,0xccf66));var SandboxError=class extends Error{[a0_0x2b9dc7(0x11d)];[a0_0x2b9dc7(0x126)];[a0_0x2b9dc7(0x109)];['\x65\x6e\x64\x70\x6f\x69\x6e\x74'];[a0_0x2b9dc7(0x116)];[a0_0x2b9dc7(0x115)];[a0_0x2b9dc7(0x11b)];constructor(_0x13b74f,_0x2791f4,_0x2fb1bc,_0x566c80){const _0x1be27e=a0_0x2b9dc7,_0x2b01ff={'\x70\x63\x7a\x55\x6b':_0x1be27e(0xef)},_0x5d7f37=_0x2b01ff[_0x1be27e(0xec)][_0x1be27e(0xb3)]('\x7c');let _0x424d15=0x0;while(!![]){switch(_0x5d7f37[_0x424d15++]){case'\x30':this[_0x1be27e(0x11b)]=_0x566c80?.[_0x1be27e(0x11b)];continue;case'\x31':this[_0x1be27e(0x126)]=_0x2791f4;continue;case'\x32':this[_0x1be27e(0x115)]=_0x566c80?.[_0x1be27e(0x115)];continue;case'\x33':this['\x65\x6e\x64\x70\x6f\x69\x6e\x74']=_0x566c80?.['\x65\x6e\x64\x70\x6f\x69\x6e\x74'];continue;case'\x34':this[_0x1be27e(0x116)]=_0x566c80?.[_0x1be27e(0x116)];continue;case'\x35':this[_0x1be27e(0x109)]=_0x566c80?.['\x6f\x72\x69\x67\x69\x6e'];continue;case'\x36':this['\x73\x74\x61\x74\x75\x73']=_0x2fb1bc;continue;case'\x37':super(_0x13b74f);continue;case'\x38':this[_0x1be27e(0x102)]=_0x1be27e(0xed);continue;}break;}}},AuthError=class extends SandboxError{constructor(_0x4c2392=a0_0x2b9dc7(0x119),_0x559872){const _0x5ac404=a0_0x2b9dc7;super(_0x4c2392,_0x5ac404(0xe8),0x191,_0x559872),this[_0x5ac404(0x102)]=_0x5ac404(0x114);}},NotFoundError=class extends SandboxError{[a0_0x2b9dc7(0x113)];[a0_0x2b9dc7(0xcb)];constructor(_0x2e9f3d,_0x422a1e,_0x3d03de){const _0x28ac71=a0_0x2b9dc7,_0x3d2912={'\x68\x47\x6e\x4e\x70':_0x28ac71(0xda)};super(_0x2e9f3d+_0x28ac71(0x105)+_0x422a1e,_0x28ac71(0xba),0x194,_0x3d03de),this[_0x28ac71(0x102)]=_0x3d2912[_0x28ac71(0xc6)],this['\x72\x65\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65']=_0x2e9f3d,this[_0x28ac71(0xcb)]=_0x422a1e;}},QuotaError=class extends SandboxError{[a0_0x2b9dc7(0xc0)];['\x63\x75\x72\x72\x65\x6e\x74'];[a0_0x2b9dc7(0xdd)];[a0_0x2b9dc7(0x116)];constructor(_0x17d06c,_0x265fe5,_0x2d2534,_0x68da57,_0x4ce92a,_0x10707a=0x1ad){const _0x46e52e=a0_0x2b9dc7,_0x1ec9ff={'\x5a\x6c\x4d\x6f\x64':_0x46e52e(0xcd)};super(_0x265fe5??_0x46e52e(0xd3)+_0x17d06c,'\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44',_0x10707a,_0x4ce92a),this[_0x46e52e(0x102)]=_0x1ec9ff['\x5a\x6c\x4d\x6f\x64'],this[_0x46e52e(0xc0)]=_0x17d06c,this[_0x46e52e(0x123)]=_0x2d2534,this[_0x46e52e(0xdd)]=_0x68da57,this[_0x46e52e(0x116)]=_0x4ce92a?.['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];}},CapabilityError=class extends SandboxError{[a0_0x2b9dc7(0xae)];constructor(_0x3ae9d9,_0x17cdfa=a0_0x2b9dc7(0xc1),_0x57f881=0x190,_0x4c0f66,_0x901d50){const _0x4212c5=a0_0x2b9dc7,_0x217458={'\x47\x6f\x76\x57\x58':_0x4212c5(0xf9)};super(_0x3ae9d9,_0x17cdfa,_0x57f881,_0x4c0f66),this[_0x4212c5(0x102)]=_0x217458['\x47\x6f\x76\x57\x58'],this[_0x4212c5(0xae)]=_0x901d50;}},PartialFailureError=class extends SandboxError{[a0_0x2b9dc7(0x103)];constructor(_0x46fdab,_0x5db2f3='\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45',_0x1b5078=0x1f6,_0x20ffb8,_0x37e1ee){const _0x1e2fe2=a0_0x2b9dc7;super(_0x46fdab,_0x5db2f3,_0x1b5078,_0x20ffb8),this[_0x1e2fe2(0x102)]=_0x1e2fe2(0xcf),this[_0x1e2fe2(0x103)]=_0x37e1ee;}},ValidationError=class extends SandboxError{[a0_0x2b9dc7(0xb8)];constructor(_0xdf08bf,_0x378758,_0x48ebb0){const _0x4227d6=a0_0x2b9dc7;super(_0xdf08bf,'\x56\x41\x4c\x49\x44\x41\x54\x49\x4f\x4e\x5f\x45\x52\x52\x4f\x52',0x190,_0x48ebb0),this[_0x4227d6(0x102)]=_0x4227d6(0xf1),this['\x66\x69\x65\x6c\x64\x73']=_0x378758;}},StateError=class extends SandboxError{[a0_0x2b9dc7(0x107)];['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65'];constructor(_0x689d7,_0x163cab,_0x91739f,_0x329f5a){const _0x5a2cac=a0_0x2b9dc7,_0x5746e4={'\x75\x69\x67\x48\x42':'\x49\x4e\x56\x41\x4c\x49\x44\x5f\x53\x54\x41\x54\x45'};super(_0x689d7,_0x5746e4[_0x5a2cac(0xb6)],0x199,_0x329f5a),this[_0x5a2cac(0x102)]='\x53\x74\x61\x74\x65\x45\x72\x72\x6f\x72',this[_0x5a2cac(0x107)]=_0x163cab,this[_0x5a2cac(0xb7)]=_0x91739f;}},TimeoutError=class extends SandboxError{[a0_0x2b9dc7(0x10a)];constructor(_0x39802b,_0x1d5246,_0x47e48b){const _0x42e309=a0_0x2b9dc7;super(_0x1d5246??_0x42e309(0x117)+_0x39802b+'\x6d\x73',_0x42e309(0xb1),0x198,_0x47e48b),this[_0x42e309(0x102)]='\x54\x69\x6d\x65\x6f\x75\x74\x45\x72\x72\x6f\x72',this[_0x42e309(0x10a)]=_0x39802b;}},NetworkError=class extends SandboxError{[a0_0x2b9dc7(0x112)];constructor(_0x48443f,_0x3b2e22,_0x3e33f5){const _0xc9754d=a0_0x2b9dc7,_0x2a9938=_0x3b2e22 instanceof Error?_0x3b2e22:void 0x0,_0x2e92cc=_0x3b2e22 instanceof Error?_0x3e33f5:_0x3b2e22??_0x3e33f5;super(_0x48443f,_0xc9754d(0x10d),void 0x0,_0x2e92cc),this[_0xc9754d(0x102)]=_0xc9754d(0x111),this[_0xc9754d(0x112)]=_0x2a9938;}},ServerError=class extends SandboxError{constructor(_0x1bcdbc,_0x1e18ab=0x1f4,_0x4e2811){const _0x5a970a=a0_0x2b9dc7,_0x38ad7b={'\x78\x67\x63\x4e\x55':_0x5a970a(0xd4)};super(_0x1bcdbc,_0x38ad7b[_0x5a970a(0xe1)],_0x1e18ab,_0x4e2811),this['\x6e\x61\x6d\x65']='\x53\x65\x72\x76\x65\x72\x45\x72\x72\x6f\x72';}};function parseRetryAfterMs(_0x39b743,_0x3139e){const _0x5a06ac=a0_0x2b9dc7,_0x2192cb={'\x59\x73\x58\x50\x75':function(_0x57b3b7,_0x519b45){return _0x57b3b7===_0x519b45;},'\x6a\x50\x49\x54\x79':function(_0x1f1b32,_0xaa5bd0){return _0x1f1b32(_0xaa5bd0);}};if(_0x2192cb[_0x5a06ac(0xe4)](typeof _0x3139e[_0x5a06ac(0x116)],'\x6e\x75\x6d\x62\x65\x72')&&Number[_0x5a06ac(0x10e)](_0x3139e[_0x5a06ac(0x116)]))return Math[_0x5a06ac(0xfe)](0x0,_0x3139e[_0x5a06ac(0x116)]);if(!_0x39b743)return void 0x0;const _0xc027a7=_0x39b743['\x74\x72\x69\x6d']();if(!_0xc027a7)return void 0x0;const _0x417279=_0x2192cb[_0x5a06ac(0xbb)](Number,_0xc027a7);if(Number[_0x5a06ac(0x10e)](_0x417279))return Math['\x6d\x61\x78'](0x0,_0x417279)*0x3e8;const _0x11a40c=Date[_0x5a06ac(0xe5)](_0xc027a7);if(!Number[_0x5a06ac(0xfd)](_0x11a40c))return Math['\x6d\x61\x78'](0x0,_0x11a40c-Date['\x6e\x6f\x77']());}function inferOrigin(_0x5c26dd,_0x248b91){const _0x4ef710=a0_0x2b9dc7,_0x18aa41={'\x46\x48\x72\x6c\x6f':_0x4ef710(0xe2),'\x77\x75\x67\x79\x50':_0x4ef710(0xb0),'\x64\x41\x68\x54\x46':_0x4ef710(0xf8),'\x50\x6e\x51\x49\x6e':_0x4ef710(0xbf),'\x45\x53\x70\x6b\x46':_0x4ef710(0xde),'\x78\x6f\x71\x4d\x77':_0x4ef710(0xab)},_0x2aeb57=_0x248b91?.[_0x4ef710(0xfc)]??_0x5c26dd?.[_0x4ef710(0xf4)](_0x18aa41[_0x4ef710(0xeb)])??void 0x0;if(!_0x5c26dd)return _0x248b91?.['\x70\x61\x74\x68']?_0x4ef710(0x11e):void 0x0;if(_0x5c26dd[_0x4ef710(0xe6)](_0x18aa41[_0x4ef710(0x11c)])||_0x5c26dd['\x68\x61\x73'](_0x4ef710(0xaf))||_0x5c26dd['\x68\x61\x73'](_0x18aa41['\x64\x41\x68\x54\x46']))return _0x4ef710(0xd5);if(_0x5c26dd[_0x4ef710(0xe6)]('\x78\x2d\x6f\x72\x63\x68\x65\x73\x74\x72\x61\x74\x6f\x72\x2d\x76\x65\x72\x73\x69\x6f\x6e'))return _0x18aa41[_0x4ef710(0xad)];if(_0x2aeb57?.[_0x4ef710(0xff)](_0x18aa41[_0x4ef710(0xe9)]))return _0x4ef710(0x11e);if(_0x2aeb57){if(_0x2aeb57[_0x4ef710(0xff)]('\x2f\x70\x72\x6f\x6a\x65\x63\x74\x73')||_0x2aeb57[_0x4ef710(0xff)](_0x4ef710(0xdb))||_0x2aeb57[_0x4ef710(0xff)](_0x4ef710(0x124)))return _0x4ef710(0xbf);return _0x4ef710(0xe0);}return _0x18aa41[_0x4ef710(0xc8)];}function isQuotaCode(_0x5e64a0){const _0x40fe0b=a0_0x2b9dc7,_0x3b15e5={'\x55\x52\x45\x79\x74':_0x40fe0b(0xf2)};return _0x5e64a0===_0x40fe0b(0x110)||_0x5e64a0?.['\x65\x6e\x64\x73\x57\x69\x74\x68'](_0x3b15e5[_0x40fe0b(0x104)])===!![];}function a0_0x56b3(_0x468913,_0x2bf9bc){_0x468913=_0x468913-0xab;const _0x3ec5c0=a0_0x3ec5();let _0x56b3d0=_0x3ec5c0[_0x468913];if(a0_0x56b3['\x53\x4c\x63\x67\x4e\x42']===undefined){var _0x1fcedb=function(_0x57d0f9){const _0x173d53='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x202bb2='',_0xae769a='';for(let _0x37a174=0x0,_0x2c4e29,_0x457f33,_0x457f45=0x0;_0x457f33=_0x57d0f9['\x63\x68\x61\x72\x41\x74'](_0x457f45++);~_0x457f33&&(_0x2c4e29=_0x37a174%0x4?_0x2c4e29*0x40+_0x457f33:_0x457f33,_0x37a174++%0x4)?_0x202bb2+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2c4e29>>(-0x2*_0x37a174&0x6)):0x0){_0x457f33=_0x173d53['\x69\x6e\x64\x65\x78\x4f\x66'](_0x457f33);}for(let _0x4e650e=0x0,_0x15df00=_0x202bb2['\x6c\x65\x6e\x67\x74\x68'];_0x4e650e<_0x15df00;_0x4e650e++){_0xae769a+='\x25'+('\x30\x30'+_0x202bb2['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4e650e)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0xae769a);};a0_0x56b3['\x4f\x47\x58\x4e\x67\x68']=_0x1fcedb,a0_0x56b3['\x67\x51\x52\x53\x6c\x6b']={},a0_0x56b3['\x53\x4c\x63\x67\x4e\x42']=!![];}const _0x22a9c8=_0x3ec5c0[0x0],_0x536aa2=_0x468913+_0x22a9c8,_0x1dfb38=a0_0x56b3['\x67\x51\x52\x53\x6c\x6b'][_0x536aa2];return!_0x1dfb38?(_0x56b3d0=a0_0x56b3['\x4f\x47\x58\x4e\x67\x68'](_0x56b3d0),a0_0x56b3['\x67\x51\x52\x53\x6c\x6b'][_0x536aa2]=_0x56b3d0):_0x56b3d0=_0x1dfb38,_0x56b3d0;}function isCapabilityCode(_0x3b0d97){const _0x10c16f=a0_0x2b9dc7,_0x5363f2={'\x66\x52\x4e\x54\x65':'\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x4e\x4f\x54\x5f\x45\x4e\x41\x42\x4c\x45\x44','\x59\x47\x43\x54\x4b':_0x10c16f(0xbe),'\x59\x65\x74\x46\x63':_0x10c16f(0xbc),'\x75\x72\x66\x73\x53':function(_0xa6919e,_0x428572){return _0xa6919e===_0x428572;},'\x52\x47\x79\x50\x49':'\x53\x48\x41\x52\x45\x44\x5f\x57\x4f\x52\x4b\x53\x50\x41\x43\x45\x5f\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44'};return _0x3b0d97===_0x5363f2[_0x10c16f(0x10f)]||_0x3b0d97===_0x10c16f(0xc1)||_0x3b0d97===_0x5363f2[_0x10c16f(0xe7)]||_0x3b0d97===_0x5363f2['\x59\x65\x74\x46\x63']||_0x5363f2[_0x10c16f(0xe3)](_0x3b0d97,_0x5363f2[_0x10c16f(0xf7)]);}function isPartialFailureCode(_0x227ea3){const _0x1c6d1b=a0_0x2b9dc7,_0x5afb7f={'\x78\x64\x78\x6b\x6b':function(_0x1f97a0,_0x1bcb8e){return _0x1f97a0===_0x1bcb8e;}};return _0x227ea3===_0x1c6d1b(0xca)||_0x227ea3===_0x1c6d1b(0xf3)||_0x227ea3===_0x1c6d1b(0xea)||_0x5afb7f['\x78\x64\x78\x6b\x6b'](_0x227ea3,_0x1c6d1b(0xac));}function asString(_0x27666d){const _0xf196e=a0_0x2b9dc7,_0x261a14={'\x4a\x63\x74\x65\x6e':function(_0x3d890e,_0x4df393){return _0x3d890e===_0x4df393;}};return _0x261a14['\x4a\x63\x74\x65\x6e'](typeof _0x27666d,_0xf196e(0xb5))&&_0x27666d['\x74\x72\x69\x6d']()[_0xf196e(0xcc)]>0x0?_0x27666d:void 0x0;}function isFailureDetail(_0x36413f){const _0x2278ff=a0_0x2b9dc7,_0x5c82aa={'\x62\x73\x52\x56\x4f':'\x6f\x62\x6a\x65\x63\x74'};return typeof _0x36413f===_0x5c82aa[_0x2278ff(0xd0)]&&_0x36413f!==null&&!Array[_0x2278ff(0x125)](_0x36413f);}function readCapability(_0x34cc52,_0x4629b0){const _0x554f48=a0_0x2b9dc7,_0x410e7e={'\x6a\x48\x41\x4c\x47':_0x554f48(0xd6)},_0x12e88f=typeof _0x4629b0===_0x410e7e[_0x554f48(0xb2)]&&_0x4629b0!==null?asString(_0x4629b0['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79']):void 0x0;return asString(_0x34cc52[_0x554f48(0xae)])??_0x12e88f;}function readFailures(_0x17120c,_0x3a05e9){const _0x198845=a0_0x2b9dc7,_0x446ea2={'\x77\x76\x52\x4b\x54':_0x198845(0xd6)};if(Array[_0x198845(0x125)](_0x17120c[_0x198845(0x103)]))return _0x17120c[_0x198845(0x103)][_0x198845(0xf0)](isFailureDetail);if(Array[_0x198845(0x125)](_0x17120c['\x72\x65\x73\x75\x6c\x74\x73'])){const _0x104a40=_0x17120c[_0x198845(0xdf)]['\x66\x69\x6c\x74\x65\x72'](_0x2faf3a=>typeof _0x2faf3a===_0x198845(0xd6)&&_0x2faf3a!==null&&_0x2faf3a['\x6f\x6b']===![]);if(_0x104a40['\x6c\x65\x6e\x67\x74\x68']>0x0)return _0x104a40['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);}if(typeof _0x3a05e9===_0x446ea2[_0x198845(0x118)]&&_0x3a05e9!==null&&Array[_0x198845(0x125)](_0x3a05e9[_0x198845(0x103)]))return _0x3a05e9[_0x198845(0x103)]['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);}function parseErrorResponse(_0x3b1971,_0x485e89,_0xdbcd13,_0x4fef17){const _0x4475d0=a0_0x2b9dc7,_0x36b5e6={'\x62\x6a\x71\x70\x76':_0x4475d0(0xd6),'\x78\x4d\x73\x50\x63':function(_0x13caa1,_0x34b90d){return _0x13caa1!==_0x34b90d;},'\x51\x73\x74\x41\x55':function(_0xe4a396,_0x440033){return _0xe4a396===_0x440033;},'\x6e\x44\x72\x7a\x48':function(_0x288ef8,_0x52b394){return _0x288ef8!==_0x52b394;},'\x66\x58\x44\x76\x49':function(_0x5e1009,_0x1d7dc2){return _0x5e1009===_0x1d7dc2;},'\x79\x4c\x4c\x71\x70':_0x4475d0(0xb5),'\x56\x48\x69\x77\x74':_0x4475d0(0x10b),'\x69\x43\x71\x49\x77':function(_0x4cc076,_0x217f1d,_0x2a64c0){return _0x4cc076(_0x217f1d,_0x2a64c0);},'\x41\x44\x65\x4f\x79':_0x4475d0(0x121),'\x70\x75\x72\x49\x67':function(_0xe6b752,_0x5e13fd){return _0xe6b752(_0x5e13fd);},'\x4a\x6f\x54\x54\x75':_0x4475d0(0xfb),'\x65\x4b\x4b\x66\x65':function(_0x20af3d,_0x162787){return _0x20af3d||_0x162787;}};let _0x28d264;try{_0x28d264=JSON['\x70\x61\x72\x73\x65'](_0x485e89);}catch{_0x28d264={'\x6d\x65\x73\x73\x61\x67\x65':_0x485e89};}const _0x28f163=_0x28d264[_0x4475d0(0xd2)],_0x46a234=typeof _0x28f163===_0x36b5e6[_0x4475d0(0xee)]&&_0x36b5e6[_0x4475d0(0x11f)](_0x28f163,null)?_0x28f163[_0x4475d0(0x122)]:void 0x0,_0x15b8f7=_0x36b5e6[_0x4475d0(0x106)](typeof _0x28f163,_0x4475d0(0xd6))&&_0x36b5e6['\x6e\x44\x72\x7a\x48'](_0x28f163,null)?_0x28f163[_0x4475d0(0x126)]:void 0x0,_0x5b68dc=_0x28d264[_0x4475d0(0x122)]||_0x46a234||(_0x36b5e6[_0x4475d0(0xc7)](typeof _0x28f163,_0x36b5e6[_0x4475d0(0xce)])?_0x28f163:void 0x0)||_0x485e89||'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x65\x72\x72\x6f\x72',_0xe0c82d=_0x36b5e6[_0x4475d0(0xc7)](typeof _0x28d264[_0x4475d0(0xc9)],_0x4475d0(0xb5))&&_0x28d264[_0x4475d0(0xc9)][_0x4475d0(0xfa)]()[_0x4475d0(0xcc)]>0x0?_0x28d264[_0x4475d0(0xc9)][_0x4475d0(0xfa)]():void 0x0,_0x37c902=!!_0xe0c82d&&_0x36b5e6[_0x4475d0(0x11f)](_0xe0c82d,_0x5b68dc)&&(_0x5b68dc===_0x4475d0(0xb9)||/^failed\b/i[_0x4475d0(0xd8)](_0x5b68dc)||/^provision failed\b/i[_0x4475d0(0xd8)](_0x5b68dc)||/^deprovision failed\b/i[_0x4475d0(0xd8)](_0x5b68dc)),_0x510555=_0x28d264[_0x4475d0(0x126)]||_0x15b8f7,_0x37bac0=''+(_0xdbcd13?(_0xdbcd13[_0x4475d0(0x101)]??_0x36b5e6[_0x4475d0(0xdc)])+'\x20'+(_0xdbcd13[_0x4475d0(0xfc)]??'')+'\x3a\x20':'')+(_0x37c902?_0x5b68dc+'\x3a\x20'+_0xe0c82d:_0x5b68dc),_0x4e1c18={'\x6f\x72\x69\x67\x69\x6e':_0x36b5e6[_0x4475d0(0xbd)](inferOrigin,_0x4fef17,_0xdbcd13),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0xdbcd13?.[_0x4475d0(0xfc)]??_0x4fef17?.[_0x4475d0(0xf4)](_0x4475d0(0xe2))??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':parseRetryAfterMs(_0x4fef17?.[_0x4475d0(0xf4)](_0x36b5e6[_0x4475d0(0xc4)])??void 0x0,_0x28d264),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x4fef17?.[_0x4475d0(0xf4)](_0x4475d0(0xb0))??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x4fef17?.[_0x4475d0(0xf4)](_0x4475d0(0xaf))??_0x4fef17?.['\x67\x65\x74'](_0x4475d0(0xf8))??void 0x0};if(isQuotaCode(_0x510555))return new QuotaError(_0x28d264['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']||_0x4475d0(0xfb),_0x37bac0,_0x28d264['\x63\x75\x72\x72\x65\x6e\x74'],_0x28d264[_0x4475d0(0xdd)],_0x4e1c18,_0x3b1971);if(_0x36b5e6['\x70\x75\x72\x49\x67'](isCapabilityCode,_0x510555))return new CapabilityError(_0x37bac0,_0x510555,_0x3b1971,_0x4e1c18,_0x36b5e6[_0x4475d0(0xbd)](readCapability,_0x28d264,_0x28f163));if(isPartialFailureCode(_0x510555))return new PartialFailureError(_0x37bac0,_0x510555,_0x3b1971,_0x4e1c18,readFailures(_0x28d264,_0x28f163));switch(_0x3b1971){case 0x190:return new ValidationError(_0x37bac0,_0x28d264[_0x4475d0(0xb8)],_0x4e1c18);case 0x191:return new AuthError(_0x37bac0,_0x4e1c18);case 0x194:return new NotFoundError(_0x28d264['\x72\x65\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65']||_0x4475d0(0xd9),_0x28d264[_0x4475d0(0xcb)]||'\x75\x6e\x6b\x6e\x6f\x77\x6e',_0x4e1c18);case 0x198:return new TimeoutError(_0x28d264[_0x4475d0(0x10a)]||0x7530,_0x37bac0,_0x4e1c18);case 0x199:return new StateError(_0x37bac0,_0x28d264[_0x4475d0(0x107)]||'\x75\x6e\x6b\x6e\x6f\x77\x6e',_0x28d264['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65'],_0x4e1c18);case 0x1ad:return new QuotaError(_0x28d264[_0x4475d0(0xc0)]||_0x36b5e6[_0x4475d0(0xd1)],_0x37bac0,_0x28d264['\x63\x75\x72\x72\x65\x6e\x74'],_0x28d264[_0x4475d0(0xdd)],_0x4e1c18);case 0x1f5:return new SandboxError(_0x37bac0,_0x36b5e6[_0x4475d0(0xc5)](_0x510555,'\x4e\x4f\x54\x5f\x49\x4d\x50\x4c\x45\x4d\x45\x4e\x54\x45\x44'),_0x3b1971,_0x4e1c18);default:if(_0x3b1971>=0x1f4)return new ServerError(_0x37bac0,_0x3b1971,_0x4e1c18);return new SandboxError(_0x37bac0,_0x510555||_0x4475d0(0xd7),_0x3b1971,_0x4e1c18);}}export{PartialFailureError as a,ServerError as c,ValidationError as d,parseErrorResponse as f,NotFoundError as i,StateError as l,CapabilityError as n,QuotaError as o,NetworkError as r,SandboxError as s,AuthError as t,TimeoutError as u};function a0_0x3ec5(){const _0x59e795=['\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x75\x78\x6e\x30\x71\x76\x75','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x6e\x74\x72\x32\x45\x4b\x50\x65\x74\x4c\x43','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x75\x4b\x76\x72\x76\x75\x76\x74\x76\x61','\x6d\x4a\x69\x30\x6e\x5a\x43\x30\x6d\x64\x62\x77\x76\x4e\x48\x75\x42\x65\x30','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x7a\x4c\x6a\x6f\x76\x67\x75','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x74\x4d\x76\x30\x44\x32\x39\x59\x41\x30\x76\x59\x43\x4d\x39\x59','\x79\x32\x66\x31\x43\x32\x75','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x71\x78\x76\x30\x41\x65\x76\x59\x43\x4d\x39\x59','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x62\x30\x41\x77\x31\x4c\x7a\x63\x62\x56\x44\x78\x71\x47\x79\x77\x7a\x30\x7a\x78\x69\x47','\x44\x33\x7a\x73\x73\x31\x71','\x71\x78\x76\x30\x41\x67\x76\x55\x44\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b','\x6e\x5a\x69\x31\x6f\x64\x72\x57\x43\x31\x6a\x4b\x76\x4b\x71','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x44\x33\x76\x4e\x45\x76\x61','\x43\x33\x72\x48\x44\x68\x76\x5a','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x45\x65\x31\x5a\x75\x67\x6d','\x6d\x74\x71\x5a\x6f\x64\x75\x34\x6e\x65\x31\x73\x42\x4e\x7a\x35\x77\x71','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x6c\x32\x4c\x55\x43\x33\x72\x48\x42\x4d\x6e\x4c\x43\x57','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x79\x32\x39\x4b\x7a\x71','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x76\x71\x75\x4b\x39\x77\x73\x76\x6e\x6a\x74\x30\x35\x46\x72\x4b\x66\x6a\x74\x65\x76\x65','\x75\x67\x35\x72\x73\x77\x34','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x41\x4b\x48\x62\x74\x65\x43','\x43\x33\x62\x53\x41\x78\x71','\x6e\x64\x6e\x69\x44\x77\x58\x71\x74\x65\x6d','\x43\x33\x72\x59\x41\x77\x35\x4e','\x44\x77\x4c\x4e\x73\x65\x69','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x74\x4b\x39\x75\x78\x30\x7a\x70\x76\x75\x35\x65','\x41\x4c\x62\x6a\x76\x68\x4b','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x41\x75\x6e\x58\x73\x78\x43','\x76\x75\x35\x74\x76\x76\x62\x71\x74\x31\x6a\x75\x72\x75\x72\x46\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x71','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x6e\x64\x6d\x33\x6e\x74\x71\x59\x6e\x76\x7a\x78\x42\x4e\x4c\x6c\x7a\x61','\x6e\x74\x43\x33\x6d\x4a\x71\x58\x6e\x32\x4c\x35\x42\x33\x72\x6d\x42\x61','\x71\x75\x72\x4c\x74\x33\x4b','\x7a\x75\x54\x6c\x7a\x4d\x75','\x41\x65\x44\x55\x74\x4e\x61','\x7a\x4c\x48\x65\x44\x4b\x4b','\x45\x67\x39\x58\x74\x78\x43','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x75\x78\x76\x56\x44\x67\x66\x66\x43\x4e\x6a\x56\x43\x47','\x45\x75\x58\x6d\x43\x78\x61','\x75\x67\x66\x59\x44\x67\x4c\x48\x42\x65\x7a\x48\x41\x77\x58\x31\x43\x4d\x76\x66\x43\x4e\x6a\x56\x43\x47','\x79\x4e\x6e\x73\x76\x4b\x38','\x73\x4d\x39\x75\x76\x68\x75','\x7a\x78\x6a\x59\x42\x33\x69','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x75\x30\x76\x73\x76\x4b\x76\x73\x78\x30\x76\x73\x75\x4b\x39\x73','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x47','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x44\x67\x76\x5a\x44\x61','\x75\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x76\x4b\x48\x50\x44\x33\x71','\x42\x67\x4c\x54\x41\x78\x71','\x6c\x33\x79\x58\x6c\x57','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x45\x67\x44\x4a\x74\x4c\x75','\x45\x63\x31\x30\x79\x77\x35\x4e\x42\x67\x75\x54\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x31\x57\x79\x78\x72\x4f','\x44\x78\x6a\x4d\x43\x31\x6d','\x77\x78\x6e\x79\x75\x68\x75','\x43\x67\x66\x59\x43\x32\x75','\x41\x67\x66\x5a','\x77\x75\x44\x64\x76\x65\x53','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47','\x72\x76\x6e\x57\x41\x30\x79','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x4c\x74\x75\x65\x66\x75\x71\x30\x48\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x72\x4b\x48\x59\x42\x67\x38','\x43\x67\x6e\x36\x76\x77\x53','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x79\x4d\x50\x58\x43\x68\x79','\x6e\x33\x57\x34\x46\x64\x66\x38\x6e\x4e\x57\x31\x46\x64\x6e\x38\x6e\x68\x57\x59\x46\x64\x61','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x78\x31\x66\x76\x74\x31\x72\x62\x78\x30\x76\x79\x71\x30\x76\x66\x72\x65\x76\x65','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x7a\x32\x76\x30','\x6d\x4a\x69\x59\x71\x77\x6e\x48\x42\x67\x44\x72','\x6d\x74\x79\x58\x6f\x64\x65\x34\x6e\x66\x66\x59\x41\x4b\x7a\x6f\x76\x61','\x75\x4b\x44\x35\x75\x65\x4b','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c\x6c\x78\x72\x48\x7a\x57','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x44\x68\x6a\x50\x42\x71','\x43\x4d\x66\x30\x7a\x76\x39\x53\x41\x77\x31\x50\x44\x61','\x43\x67\x66\x30\x41\x61','\x41\x78\x6e\x6f\x79\x75\x34','\x42\x77\x66\x34','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x6d\x5a\x47\x58\x6f\x64\x48\x6e\x71\x31\x7a\x55\x77\x68\x69','\x42\x77\x76\x30\x41\x67\x39\x4b','\x42\x4d\x66\x54\x7a\x71','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x76\x76\x6a\x66\x45\x78\x71'];a0_0x3ec5=function(){return _0x59e795;};return a0_0x3ec5();}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as DriverConfig, $n as SandboxTraceExport, $t as PromptResult, A as BatchTask, An as SandboxFleetMachineRecord, Ar as UploadProgress, At as IntelligenceReportWindow, B as CompletedTurnResult, Bn as SandboxFleetTraceOptions, Br as AgentProfilePrompt, Bt as PermissionLevel, C as BackendInfo, Cn as SandboxFleetDispatchResponse, Cr as TeeAttestationResponse, Ct as GitStatus, D as BatchEvent, Dn as SandboxFleetIntelligenceEnvelope, Dr as ToolsConfig, Dt as IntelligenceReportBudget, E as BackendType, En as SandboxFleetInfo, Er as TokenRefreshHandler, Et as IntelligenceReport, Fn as SandboxFleetPolicy, Fr as AgentProfileConfidential, Ft as McpServerConfig, G as CreateSandboxFleetWithCoordinatorOptions, Gn as SandboxFleetWorkspaceSnapshotResult, Gr as AgentSubagentProfile, Gt as ProcessInfo, Hn as SandboxFleetWorkspace, Hr as AgentProfileResources, Ht as PreviewLinkInfo, In as SandboxFleetToken, Ir as AgentProfileFileMount, It as MintScopedTokenOptions, J as DirectoryPermission, Jn as SandboxPermissionsConfig, Jr as defineInlineResource, Jt as ProcessSignal, K as CreateSandboxOptions, Kn as SandboxInfo, Kr as defineAgentProfile, Kt as ProcessLogEntry, Ln as SandboxFleetTraceBundle, Lr as AgentProfileMcpServer, Lt as MkdirOptions, M as CheckpointInfo, Mn as SandboxFleetManifest, Mr as WaitForOptions, Mt as ListOptions, N as CheckpointOptions, Nn as SandboxFleetManifestMachine, Nr as AgentProfile, Nt as ListSandboxFleetOptions, O as BatchOptions, On as SandboxFleetMachine, Or as UpdateUserOptions, Ot as IntelligenceReportCompareTo, P as CheckpointResult, Pn as SandboxFleetOperationsSummary, Pr as AgentProfileCapabilities, Pt as ListSandboxOptions, Q as DownloadProgress, Qn as SandboxTraceEvent, Qt as PromptOptions, R as CodeResult, Rn as SandboxFleetTraceEvent, Rr as AgentProfileModelHints, Rt as NetworkConfig, S as BackendConfig, Sn as SandboxFleetDispatchFailureClass, Sr as TeeAttestationReport, St as GitDiff, T as BackendStatus, Tn as SandboxFleetDriverTimings, Tr as TeePublicKeyResponse, Tt as InstalledTool, U as CreateSandboxFleetOptions, Un as SandboxFleetWorkspaceReconcileResult, Ur as AgentProfileValidationIssue, Ut as PreviewLinkManager, V as CreateIntelligenceReportOptions, Vn as SandboxFleetUsage, Vr as AgentProfileResourceRef, Vt as PermissionsManager, Wn as SandboxFleetWorkspaceRestoreResult, Wr as AgentProfileValidationResult, Wt as Process, X as DispatchedSession, Xn as SandboxStatus, Xt as ProcessStatus, Y as DispatchPromptOptions, Yn as SandboxResources, Yr as mergeAgentProfiles, Yt as ProcessSpawnOptions, Z as DownloadOptions, Zn as SandboxTraceBundle, _ as AcceleratorKind, _n as SandboxEnvironment, _r as StorageConfig, _t as ForkResult, a as TraceExportSink, an as PublicTemplateVersionInfo, ar as SearchOptions, at as FileInfo, b as AttachSandboxFleetMachineOptions, bn as SandboxFleetArtifactSpec, br as TaskResult, bt as GitCommit, c as otelTraceIdForTangleTrace, cn as ReapExpiredSandboxFleetsOptions, cr as SessionEventStreamOptions, ct as FleetDispatchResultBuffer, d as BuildSandboxMcpConfigOptions, dn as ReconcileSandboxFleetsResult, dr as SessionMessage, dt as FleetExecDispatchOptions, en as ProvisionEvent, er as SandboxTraceOptions, et as DriverInfo, f as SANDBOX_MCP_SERVER_NAME, fn as RunCodeOptions, fr as SessionStatus, g as buildSandboxMcpConfig, gn as SandboxConnection, gt as ForkOptions, h as SandboxMcpServerEntry, hn as SandboxClientConfig, hr as SnapshotResult, i as TraceExportResult, in as PublicTemplateInfo, ir as SearchMatch, it as ExecResult, j as BatchTaskResult, jn as SandboxFleetMachineSpec, jr as UsageInfo, jt as ListMessagesOptions, k as BatchResult, kn as SandboxFleetMachineMeteredUsage, kr as UploadOptions, kt as IntelligenceReportSubjectType, l as toOtelJson, ln as ReapExpiredSandboxFleetsResult, lr as SessionInfo, lt as FleetDispatchResultBufferOptions, m as SandboxMcpEndpoint, mn as SSHCredentials, mr as SnapshotOptions, mt as FleetPromptDispatchOptions, n as SandboxInstance, nn as ProvisionStatus, nr as ScopedToken, nt as EventStreamOptions, o as buildTraceExportPayload, on as PublishPublicTemplateOptions, or as SecretInfo, ot as FileSystem, p as SandboxMcpConfig, pn as SSHCommandDescriptor, pr as SnapshotInfo, pt as FleetMachineId, q as DeleteOptions, qn as SandboxIntelligenceEnvelope, qr as defineGitHubResource, qt as ProcessManager, r as TraceExportFormat, rn as ProvisionStep, rr as ScopedTokenScope, rt as ExecOptions, s as exportTraceBundle, sn as PublishPublicTemplateVersionOptions, sr as SecretsManager, st as FleetDispatchCancelResult, tn as ProvisionResult, tr as SandboxUser, tt as DriverType, u as SandboxSession, un as ReconcileSandboxFleetsOptions, ur as SessionListOptions, ut as FleetDispatchStreamOptions, v as AccessPolicyRule, vn as SandboxEvent, vr as SubscriptionInfo, vt as GitAuth, w as BackendManager, wn as SandboxFleetDriverCapability, wr as TeePublicKey, wt as GpuType, x as BackendCapabilities, xn as SandboxFleetCostEstimate, xr as TeeAttestationOptions, xt as GitConfig, y as AddUserOptions, yn as SandboxFleetArtifact, yr as TaskOptions, yt as GitBranch, zn as SandboxFleetTraceExport, zr as AgentProfilePermissionValue, zt as NetworkManager } from "./sandbox-Dyf07Ckv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as Team, c as SandboxFleet, d as ParsedSSEEvent, f as parseSSEStream, i as SandboxClient, l as SandboxFleetClient, n as IntelligenceClient, o as TeamInvitation, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as ParseSSEStreamOptions } from "./client-BPfzXG-0.js";
|
|
3
3
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-D-2pH_70.js";
|
|
4
4
|
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-D7bwmNs8.js";
|
|
5
5
|
import { a as PartialFailureError, c as SandboxErrorJson, d as StateError, f as TimeoutError, i as NotFoundError, l as SandboxFailureDetail, n as CapabilityError, o as QuotaError, p as ValidationError, r as NetworkError, s as SandboxError, t as AuthError, u as ServerError } from "./errors-1Se5ATyZ.js";
|
|
@@ -44,6 +44,28 @@ interface TeeAttestationHeartbeat {
|
|
|
44
44
|
*/
|
|
45
45
|
declare function startTeeAttestationHeartbeat(sandbox: Pick<SandboxInstance, "getTeeAttestation">, options?: TeeAttestationHeartbeatOptions): TeeAttestationHeartbeat;
|
|
46
46
|
//#endregion
|
|
47
|
+
//#region src/backend-config.d.ts
|
|
48
|
+
/**
|
|
49
|
+
* Normalize runtime backend config for the wire format.
|
|
50
|
+
*
|
|
51
|
+
* Callers set `backend.profile` (named string or portable AgentProfile).
|
|
52
|
+
* This function generates the native `inlineProfile` shim automatically.
|
|
53
|
+
*/
|
|
54
|
+
declare function normalizeRuntimeBackendConfig(backend: Partial<BackendConfig> | undefined, options?: {
|
|
55
|
+
model?: string;
|
|
56
|
+
}): Record<string, unknown> | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Serialize a portable AgentProfile into the sidecar's canonical inline-profile
|
|
59
|
+
* wire shape (validated by inlineProfileSchema in
|
|
60
|
+
* apps/sidecar/src/schemas/agent-profile-schema.ts).
|
|
61
|
+
*
|
|
62
|
+
* Single choke point every product shares: streamPrompt →
|
|
63
|
+
* normalizeRuntimeBackendConfig → toBackendProfile. Exported so callers and the
|
|
64
|
+
* drift-guard test target one contract — the test parses this output with the
|
|
65
|
+
* sidecar's own schema, so any future schema tightening fails here first.
|
|
66
|
+
*/
|
|
67
|
+
declare function serializeForSidecar(profile: Exclude<BackendConfig["profile"], string | undefined>): Record<string, unknown>;
|
|
68
|
+
//#endregion
|
|
47
69
|
//#region src/confidential.d.ts
|
|
48
70
|
type SandboxCreator = {
|
|
49
71
|
create(options?: CreateSandboxOptions): Promise<SandboxInstance>;
|
|
@@ -801,26 +823,4 @@ interface RouterEvalMatrixCaseResult {
|
|
|
801
823
|
}
|
|
802
824
|
declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
|
|
803
825
|
//#endregion
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
* Normalize runtime backend config for the wire format.
|
|
807
|
-
*
|
|
808
|
-
* Callers set `backend.profile` (named string or portable AgentProfile).
|
|
809
|
-
* This function generates the native `inlineProfile` shim automatically.
|
|
810
|
-
*/
|
|
811
|
-
declare function normalizeRuntimeBackendConfig(backend: Partial<BackendConfig> | undefined, options?: {
|
|
812
|
-
model?: string;
|
|
813
|
-
}): Record<string, unknown> | undefined;
|
|
814
|
-
/**
|
|
815
|
-
* Serialize a portable AgentProfile into the sidecar's canonical inline-profile
|
|
816
|
-
* wire shape (validated by inlineProfileSchema in
|
|
817
|
-
* apps/sidecar/src/schemas/agent-profile-schema.ts).
|
|
818
|
-
*
|
|
819
|
-
* Single choke point every product shares: streamPrompt →
|
|
820
|
-
* normalizeRuntimeBackendConfig → toBackendProfile. Exported so callers and the
|
|
821
|
-
* drift-guard test target one contract — the test parses this output with the
|
|
822
|
-
* sidecar's own schema, so any future schema tightening fails here first.
|
|
823
|
-
*/
|
|
824
|
-
declare function serializeForSidecar(profile: Exclude<BackendConfig["profile"], string | undefined>): Record<string, unknown>;
|
|
825
|
-
//#endregion
|
|
826
|
-
export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, type AttachSandboxFleetMachineOptions, AuthError, type AutomationInfo, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CapabilityError, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type ConnectionInfo, type CreateAutomationInput, type CreateConfidentialSandboxOptions, type CreateEndpointInput, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateTeamOptions, type CreateTriggerInput, type DeleteOptions, type DeliveryAttempt, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriverConfig, type DriverInfo, type DriverType, type EndpointInfo, type EndpointWithSecret, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, Image, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstallRecipeInput, type InstalledTool, type IntegrationAction, type IntegrationActionKind, type IntegrationDeliveryStatus, type IntegrationPrincipalType, type IntegrationProvider, type IntegrationScope, type IntegrationVerificationKind, IntegrationsManager, type RecipeManifest as IntegrationsRecipeManifest, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxResources, SandboxSession, type SandboxStatus, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SessionEventStreamOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TriggerInfo, type TriggerRun, type TriggerWithSecret, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, buildCollaborationDocumentId, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, runTangleRouterEvalMatrixInSandbox, serializeForSidecar, startTeeAttestationHeartbeat, toOtelJson };
|
|
826
|
+
export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CapabilityError, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateTeamOptions, type DeleteOptions, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriverConfig, type DriverInfo, type DriverType, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, Image, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxResources, SandboxSession, type SandboxStatus, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SessionEventStreamOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, buildCollaborationDocumentId, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, runTangleRouterEvalMatrixInSandbox, serializeForSidecar, startTeeAttestationHeartbeat, toOtelJson };
|