@tangle-network/sandbox 0.0.0-develop.20260609000628.3d0ec42 → 0.0.0-develop.20260609034128.7660224

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.
@@ -0,0 +1 @@
1
+ const a0_0xc63d62=a0_0x506c;(function(_0x577af8,_0x56773b){const _0x483d29=a0_0x506c,_0x499df0=_0x577af8();while(!![]){try{const _0x4aa5d4=-parseInt(_0x483d29(0x9f))/0x1+parseInt(_0x483d29(0x84))/0x2*(-parseInt(_0x483d29(0xe6))/0x3)+-parseInt(_0x483d29(0xe9))/0x4*(-parseInt(_0x483d29(0xa7))/0x5)+-parseInt(_0x483d29(0xb2))/0x6*(parseInt(_0x483d29(0xc2))/0x7)+parseInt(_0x483d29(0x80))/0x8+parseInt(_0x483d29(0xe7))/0x9+parseInt(_0x483d29(0xd1))/0xa;if(_0x4aa5d4===_0x56773b)break;else _0x499df0['push'](_0x499df0['shift']());}catch(_0x10603a){_0x499df0['push'](_0x499df0['shift']());}}}(a0_0x4883,0x256b5));function a0_0x4883(){const _0x13881d=['\x42\x77\x66\x34','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\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','\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','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x76\x4b\x66\x6d\x73\x75\x72\x62\x76\x65\x4c\x70\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x43\x33\x62\x53\x41\x78\x71','\x74\x4d\x44\x4f\x44\x67\x57','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\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','\x41\x78\x6e\x6f\x79\x75\x34','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x6d\x4a\x4b\x57\x6f\x74\x69\x34\x74\x75\x39\x4f\x71\x76\x44\x6b','\x6d\x74\x47\x35\x6d\x74\x47\x35\x75\x4d\x7a\x6d\x79\x77\x58\x59','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x6e\x66\x48\x57\x44\x4b\x48\x48\x79\x47','\x76\x30\x39\x58\x7a\x66\x47','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x45\x68\x50\x78\x71\x78\x6d','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x47','\x6d\x33\x57\x59\x46\x64\x76\x38\x6e\x68\x57\x57\x46\x64\x65','\x43\x4d\x66\x30\x7a\x76\x39\x53\x41\x77\x31\x50\x44\x61','\x75\x4b\x76\x72\x76\x75\x76\x74\x76\x61','\x77\x77\x6a\x6f\x74\x4d\x4b','\x43\x66\x62\x77\x77\x75\x6d','\x6d\x74\x43\x31\x6d\x74\x79\x58\x6e\x4e\x6a\x50\x45\x75\x7a\x50\x75\x61','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x6f\x74\x31\x72\x46\x72\x75\x35\x62\x71\x4b\x58\x66\x72\x61','\x76\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x76\x59\x43\x4d\x39\x59','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x6e\x4d\x6a\x4d\x72\x68\x4c\x6c\x41\x71','\x75\x67\x72\x5a\x72\x75\x6d','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\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','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x41\x76\x66\x4f\x7a\x75\x38','\x43\x33\x72\x48\x44\x68\x76\x5a','\x7a\x78\x6a\x59\x42\x33\x69','\x71\x77\x54\x33\x43\x4c\x65','\x74\x33\x4c\x4d\x44\x4e\x69','\x7a\x68\x4c\x70\x72\x4d\x71','\x78\x31\x66\x76\x74\x31\x72\x62\x78\x30\x76\x79\x71\x30\x76\x66\x72\x65\x76\x65','\x42\x67\x4c\x54\x41\x78\x71','\x75\x32\x39\x56\x41\x4b\x65','\x43\x31\x7a\x63\x76\x78\x75','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x79\x4e\x4c\x34\x41\x4d\x47','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x45\x75\x58\x34\x7a\x4c\x75','\x74\x4e\x50\x31\x77\x76\x75','\x44\x67\x76\x5a\x44\x61','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\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','\x42\x4d\x66\x54\x7a\x71','\x6e\x5a\x79\x59\x6f\x64\x48\x6e\x79\x75\x39\x6e\x45\x77\x4f','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x43\x33\x72\x59\x41\x77\x35\x4e','\x75\x4c\x72\x50\x71\x77\x75','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x42\x4d\x39\x33','\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\x47\x34\x6e\x64\x6d\x31\x75\x31\x72\x6e\x76\x67\x39\x50','\x6c\x33\x79\x58\x6c\x57','\x7a\x32\x76\x30','\x41\x67\x66\x5a','\x74\x4d\x76\x30\x44\x32\x39\x59\x41\x30\x76\x59\x43\x4d\x39\x59','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x43\x33\x72\x65\x73\x30\x34','\x42\x77\x76\x30\x41\x67\x39\x4b','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x45\x63\x31\x56\x43\x4d\x6e\x4f\x7a\x78\x6e\x30\x43\x4d\x66\x30\x42\x33\x69\x54\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x43\x67\x66\x30\x41\x61','\x6d\x74\x71\x35\x6e\x74\x69\x33\x6f\x67\x4c\x31\x45\x4b\x50\x56\x76\x71','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x72\x67\x44\x67\x73\x77\x75','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x43\x4b\x50\x4f\x43\x4e\x71','\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','\x44\x77\x50\x62\x77\x67\x30','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x75\x78\x76\x56\x44\x67\x66\x66\x43\x4e\x6a\x56\x43\x47','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x75\x32\x76\x59\x44\x4d\x76\x59\x72\x78\x6a\x59\x42\x33\x69','\x77\x65\x7a\x59\x75\x77\x69','\x44\x68\x6a\x50\x42\x71','\x6e\x33\x76\x6e\x7a\x67\x4c\x75\x74\x47','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x44\x75\x35\x77\x79\x76\x79','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x79\x32\x66\x31\x43\x32\x75','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x73\x77\x39\x6c\x44\x68\x47','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x79\x32\x39\x4b\x7a\x71','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\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','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x6e\x64\x6d\x59\x6d\x64\x6d\x34\x6d\x66\x4c\x4e\x77\x76\x6e\x74\x44\x57','\x43\x33\x66\x30\x45\x4d\x47','\x44\x30\x44\x4a\x42\x78\x71','\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','\x42\x31\x7a\x4b\x76\x32\x38','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47'];a0_0x4883=function(){return _0x13881d;};return a0_0x4883();}var SandboxError=class extends Error{['\x73\x74\x61\x74\x75\x73'];['\x63\x6f\x64\x65'];[a0_0xc63d62(0x8b)];[a0_0xc63d62(0xbc)];[a0_0xc63d62(0xb5)];[a0_0xc63d62(0x88)];[a0_0xc63d62(0xe1)];constructor(_0x1693e0,_0x26facb,_0x4bce7f,_0x2918b3){const _0x488281=a0_0xc63d62,_0x3f172d='\x36\x7c\x34\x7c\x35\x7c\x37\x7c\x31\x7c\x32\x7c\x33\x7c\x38\x7c\x30'[_0x488281(0xdf)]('\x7c');let _0x2f68db=0x0;while(!![]){switch(_0x3f172d[_0x2f68db++]){case'\x30':this[_0x488281(0xe1)]=_0x2918b3?.[_0x488281(0xe1)];continue;case'\x31':this[_0x488281(0x8b)]=_0x2918b3?.[_0x488281(0x8b)];continue;case'\x32':this['\x65\x6e\x64\x70\x6f\x69\x6e\x74']=_0x2918b3?.[_0x488281(0xbc)];continue;case'\x33':this[_0x488281(0xb5)]=_0x2918b3?.['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];continue;case'\x34':this['\x6e\x61\x6d\x65']=_0x488281(0xe8);continue;case'\x35':this[_0x488281(0xcd)]=_0x26facb;continue;case'\x36':super(_0x1693e0);continue;case'\x37':this[_0x488281(0x8d)]=_0x4bce7f;continue;case'\x38':this[_0x488281(0x88)]=_0x2918b3?.['\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e'];continue;}break;}}},AuthError=class extends SandboxError{constructor(_0x2989c4='\x41\x75\x74\x68\x65\x6e\x74\x69\x63\x61\x74\x69\x6f\x6e\x20\x66\x61\x69\x6c\x65\x64',_0x48672d){const _0x5972ba=a0_0xc63d62;super(_0x2989c4,_0x5972ba(0xd8),0x191,_0x48672d),this['\x6e\x61\x6d\x65']='\x41\x75\x74\x68\x45\x72\x72\x6f\x72';}},NotFoundError=class extends SandboxError{[a0_0xc63d62(0xa0)];[a0_0xc63d62(0xe2)];constructor(_0x3e606a,_0x404f7d,_0x3cdd68){const _0x2f9d65=a0_0xc63d62,_0x1d8867={'\x44\x67\x46\x49\x65':'\x4e\x4f\x54\x5f\x46\x4f\x55\x4e\x44'};super(_0x3e606a+'\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x3a\x20'+_0x404f7d,_0x1d8867[_0x2f9d65(0xb7)],0x194,_0x3cdd68),this['\x6e\x61\x6d\x65']=_0x2f9d65(0xb6),this[_0x2f9d65(0xa0)]=_0x3e606a,this[_0x2f9d65(0xe2)]=_0x404f7d;}},QuotaError=class extends SandboxError{[a0_0xc63d62(0xb8)];['\x63\x75\x72\x72\x65\x6e\x74'];[a0_0xc63d62(0x93)];[a0_0xc63d62(0xb5)];constructor(_0x18b563,_0x275232,_0x20f796,_0x3da12d,_0x5a95c7,_0x17b321=0x1ad){const _0x43eb8c=a0_0xc63d62,_0x6e62c6={'\x73\x71\x74\x7a\x68':_0x43eb8c(0xbd),'\x70\x50\x56\x59\x43':'\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44'},_0x1e816a=_0x43eb8c(0x7b)[_0x43eb8c(0xdf)]('\x7c');let _0x48027a=0x0;while(!![]){switch(_0x1e816a[_0x48027a++]){case'\x30':this[_0x43eb8c(0x93)]=_0x3da12d;continue;case'\x31':this[_0x43eb8c(0xb5)]=_0x5a95c7?.[_0x43eb8c(0xb5)];continue;case'\x32':this[_0x43eb8c(0x9e)]=_0x6e62c6[_0x43eb8c(0xd2)];continue;case'\x33':super(_0x275232??_0x43eb8c(0xc3)+_0x18b563,_0x6e62c6[_0x43eb8c(0x7f)],_0x17b321,_0x5a95c7);continue;case'\x34':this[_0x43eb8c(0x8a)]=_0x20f796;continue;case'\x35':this[_0x43eb8c(0xb8)]=_0x18b563;continue;}break;}}},CapabilityError=class extends SandboxError{[a0_0xc63d62(0xb4)];constructor(_0x388231,_0x34c476=a0_0xc63d62(0xa6),_0x4654af=0x190,_0x2563a5,_0x465138){const _0x90e788=a0_0xc63d62;super(_0x388231,_0x34c476,_0x4654af,_0x2563a5),this[_0x90e788(0x9e)]=_0x90e788(0xda),this[_0x90e788(0xb4)]=_0x465138;}},PartialFailureError=class extends SandboxError{['\x66\x61\x69\x6c\x75\x72\x65\x73'];constructor(_0x483d31,_0x21265f='\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45',_0x154f9a=0x1f6,_0x282c95,_0x49b2e5){const _0x436c0c=a0_0xc63d62;super(_0x483d31,_0x21265f,_0x154f9a,_0x282c95),this[_0x436c0c(0x9e)]=_0x436c0c(0xcf),this[_0x436c0c(0xd7)]=_0x49b2e5;}},ValidationError=class extends SandboxError{[a0_0xc63d62(0x87)];constructor(_0x48f84e,_0xdcf3,_0x21f182){const _0x335695=a0_0xc63d62;super(_0x48f84e,_0x335695(0xde),0x190,_0x21f182),this[_0x335695(0x9e)]=_0x335695(0xc9),this['\x66\x69\x65\x6c\x64\x73']=_0xdcf3;}},StateError=class extends SandboxError{[a0_0xc63d62(0xbe)];['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65'];constructor(_0x34cf05,_0x1f7b78,_0x2a702f,_0x553b24){const _0x3efb25=a0_0xc63d62;super(_0x34cf05,'\x49\x4e\x56\x41\x4c\x49\x44\x5f\x53\x54\x41\x54\x45',0x199,_0x553b24),this[_0x3efb25(0x9e)]=_0x3efb25(0x83),this[_0x3efb25(0xbe)]=_0x1f7b78,this['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65']=_0x2a702f;}},TimeoutError=class extends SandboxError{[a0_0xc63d62(0xdd)];constructor(_0x3c71d6,_0x53e55c,_0x2ab634){const _0x5cf967=a0_0xc63d62,_0x3d1643={'\x49\x6f\x4b\x74\x78':'\x54\x49\x4d\x45\x4f\x55\x54','\x50\x64\x73\x45\x43':_0x5cf967(0x82)};super(_0x53e55c??_0x5cf967(0x89)+_0x3c71d6+'\x6d\x73',_0x3d1643[_0x5cf967(0xca)],0x198,_0x2ab634),this['\x6e\x61\x6d\x65']=_0x3d1643[_0x5cf967(0x85)],this[_0x5cf967(0xdd)]=_0x3c71d6;}},NetworkError=class extends SandboxError{[a0_0xc63d62(0xc6)];constructor(_0x260ff7,_0x58b8b9,_0x384a07){const _0x2195f1=a0_0xc63d62,_0x175016={'\x41\x6b\x77\x72\x51':function(_0xe90ba9,_0x466f41){return _0xe90ba9??_0x466f41;},'\x4e\x67\x68\x74\x6c':_0x2195f1(0xc7)},_0x23ed32=_0x58b8b9 instanceof Error?_0x58b8b9:void 0x0,_0x1f4a9f=_0x58b8b9 instanceof Error?_0x384a07:_0x175016[_0x2195f1(0x8f)](_0x58b8b9,_0x384a07);super(_0x260ff7,_0x175016[_0x2195f1(0xe0)],void 0x0,_0x1f4a9f),this[_0x2195f1(0x9e)]=_0x2195f1(0xab),this[_0x2195f1(0xc6)]=_0x23ed32;}},ServerError=class extends SandboxError{constructor(_0x4a9d71,_0x1094fb=0x1f4,_0x50c314){const _0x22e68f=a0_0xc63d62;super(_0x4a9d71,'\x53\x45\x52\x56\x45\x52\x5f\x45\x52\x52\x4f\x52',_0x1094fb,_0x50c314),this['\x6e\x61\x6d\x65']=_0x22e68f(0xbf);}};function parseRetryAfterMs(_0x10a3b6,_0x2c7bfe){const _0x31c3cf=a0_0xc63d62,_0x9bb5b0={'\x42\x61\x47\x4b\x50':function(_0x155e07,_0x8884be){return _0x155e07===_0x8884be;},'\x79\x4c\x78\x66\x55':'\x6e\x75\x6d\x62\x65\x72'};if(_0x9bb5b0['\x42\x61\x47\x4b\x50'](typeof _0x2c7bfe['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'],_0x9bb5b0[_0x31c3cf(0x99)])&&Number[_0x31c3cf(0x96)](_0x2c7bfe[_0x31c3cf(0xb5)]))return Math['\x6d\x61\x78'](0x0,_0x2c7bfe[_0x31c3cf(0xb5)]);if(!_0x10a3b6)return void 0x0;const _0x242d27=_0x10a3b6[_0x31c3cf(0xc1)]();if(!_0x242d27)return void 0x0;const _0x4539d2=Number(_0x242d27);if(Number[_0x31c3cf(0x96)](_0x4539d2))return Math[_0x31c3cf(0xd9)](0x0,_0x4539d2)*0x3e8;const _0x39e781=Date['\x70\x61\x72\x73\x65'](_0x242d27);if(!Number[_0x31c3cf(0xe4)](_0x39e781))return Math['\x6d\x61\x78'](0x0,_0x39e781-Date[_0x31c3cf(0xa5)]());}function inferOrigin(_0x1342a8,_0x325525){const _0x2d90bd=a0_0xc63d62,_0x480f8d={'\x73\x74\x44\x4b\x4e':_0x2d90bd(0xa4),'\x52\x7a\x72\x4c\x41':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65','\x64\x79\x4f\x46\x64':_0x2d90bd(0xe3),'\x4f\x79\x66\x76\x72':_0x2d90bd(0x7a),'\x77\x76\x69\x4b\x53':_0x2d90bd(0xce),'\x58\x46\x72\x51\x62':_0x2d90bd(0xaf)},_0x2ceb37=_0x325525?.['\x70\x61\x74\x68']??_0x1342a8?.[_0x2d90bd(0xa9)](_0x2d90bd(0x9d))??void 0x0;if(!_0x1342a8)return _0x325525?.[_0x2d90bd(0xb1)]?_0x480f8d[_0x2d90bd(0xad)]:void 0x0;if(_0x1342a8[_0x2d90bd(0xaa)](_0x2d90bd(0xc8))||_0x1342a8[_0x2d90bd(0xaa)](_0x480f8d['\x52\x7a\x72\x4c\x41'])||_0x1342a8['\x68\x61\x73'](_0x480f8d[_0x2d90bd(0x91)]))return _0x480f8d[_0x2d90bd(0x90)];if(_0x1342a8[_0x2d90bd(0xaa)](_0x2d90bd(0xb0)))return _0x480f8d['\x77\x76\x69\x4b\x53'];if(_0x2ceb37?.[_0x2d90bd(0x9c)](_0x2d90bd(0xa8)))return _0x480f8d[_0x2d90bd(0xad)];if(_0x2ceb37){if(_0x2ceb37[_0x2d90bd(0x9c)](_0x2d90bd(0x75))||_0x2ceb37['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x480f8d[_0x2d90bd(0xc0)])||_0x2ceb37[_0x2d90bd(0x9c)]('\x2f\x69\x6e\x73\x74\x61\x6e\x63\x65\x73'))return _0x2d90bd(0xce);return _0x2d90bd(0x98);}return _0x2d90bd(0xd6);}function isQuotaCode(_0x3d809b){const _0x238dee=a0_0xc63d62;return _0x3d809b===_0x238dee(0x77)||_0x3d809b?.['\x65\x6e\x64\x73\x57\x69\x74\x68'](_0x238dee(0x92))===!![];}function isCapabilityCode(_0x3ea249){const _0x2847c2=a0_0xc63d62,_0x110068={'\x6f\x56\x64\x57\x6f':function(_0x2cd2cc,_0x25c142){return _0x2cd2cc===_0x25c142;},'\x54\x5a\x6f\x4f\x50':_0x2847c2(0xba)};return _0x110068[_0x2847c2(0xd5)](_0x3ea249,_0x2847c2(0x81))||_0x3ea249==='\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44'||_0x3ea249===_0x2847c2(0xd4)||_0x110068[_0x2847c2(0xd5)](_0x3ea249,_0x2847c2(0xdb))||_0x3ea249===_0x110068['\x54\x5a\x6f\x4f\x50'];}function a0_0x506c(_0x1c18c3,_0x3d293d){_0x1c18c3=_0x1c18c3-0x74;const _0x4883bd=a0_0x4883();let _0x506c04=_0x4883bd[_0x1c18c3];if(a0_0x506c['\x56\x4d\x78\x77\x66\x68']===undefined){var _0x8c15cd=function(_0x113dbd){const _0x45bd3e='\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 _0xabef7c='',_0x53056a='';for(let _0x2c0672=0x0,_0x367ba,_0x2ea140,_0x18fadb=0x0;_0x2ea140=_0x113dbd['\x63\x68\x61\x72\x41\x74'](_0x18fadb++);~_0x2ea140&&(_0x367ba=_0x2c0672%0x4?_0x367ba*0x40+_0x2ea140:_0x2ea140,_0x2c0672++%0x4)?_0xabef7c+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x367ba>>(-0x2*_0x2c0672&0x6)):0x0){_0x2ea140=_0x45bd3e['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2ea140);}for(let _0x3d78e8=0x0,_0x552a07=_0xabef7c['\x6c\x65\x6e\x67\x74\x68'];_0x3d78e8<_0x552a07;_0x3d78e8++){_0x53056a+='\x25'+('\x30\x30'+_0xabef7c['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3d78e8)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x53056a);};a0_0x506c['\x42\x44\x5a\x65\x57\x54']=_0x8c15cd,a0_0x506c['\x69\x6f\x45\x55\x53\x63']={},a0_0x506c['\x56\x4d\x78\x77\x66\x68']=!![];}const _0x20e3ea=_0x4883bd[0x0],_0x103e9f=_0x1c18c3+_0x20e3ea,_0x32bb3b=a0_0x506c['\x69\x6f\x45\x55\x53\x63'][_0x103e9f];return!_0x32bb3b?(_0x506c04=a0_0x506c['\x42\x44\x5a\x65\x57\x54'](_0x506c04),a0_0x506c['\x69\x6f\x45\x55\x53\x63'][_0x103e9f]=_0x506c04):_0x506c04=_0x32bb3b,_0x506c04;}function isPartialFailureCode(_0x321f1a){const _0x531354=a0_0xc63d62,_0x49ef4c={'\x6a\x44\x52\x73\x70':'\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45'};return _0x321f1a===_0x49ef4c['\x6a\x44\x52\x73\x70']||_0x321f1a==='\x46\x4c\x45\x45\x54\x5f\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45'||_0x321f1a==='\x46\x4c\x45\x45\x54\x5f\x44\x49\x53\x50\x41\x54\x43\x48\x5f\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45'||_0x321f1a===_0x531354(0xdc);}function asString(_0x3ad81){const _0x4e62d8=a0_0xc63d62,_0x2081b2={'\x62\x79\x78\x6a\x68':function(_0x2ba262,_0x5ec26e){return _0x2ba262===_0x5ec26e;},'\x56\x49\x78\x46\x64':_0x4e62d8(0xa1)};return _0x2081b2[_0x4e62d8(0x97)](typeof _0x3ad81,_0x2081b2['\x56\x49\x78\x46\x64'])&&_0x3ad81[_0x4e62d8(0xc1)]()['\x6c\x65\x6e\x67\x74\x68']>0x0?_0x3ad81:void 0x0;}function isFailureDetail(_0x1f2004){const _0x15f67d=a0_0xc63d62,_0xd11545={'\x70\x41\x71\x42\x4f':function(_0x11c509,_0xc14ef5){return _0x11c509===_0xc14ef5;}};return _0xd11545['\x70\x41\x71\x42\x4f'](typeof _0x1f2004,'\x6f\x62\x6a\x65\x63\x74')&&_0x1f2004!==null&&!Array[_0x15f67d(0xe5)](_0x1f2004);}function readCapability(_0x2d7f17,_0x2a7103){const _0x574e67=a0_0xc63d62,_0xa38306=typeof _0x2a7103==='\x6f\x62\x6a\x65\x63\x74'&&_0x2a7103!==null?asString(_0x2a7103[_0x574e67(0xb4)]):void 0x0;return asString(_0x2d7f17[_0x574e67(0xb4)])??_0xa38306;}function readFailures(_0x4766ca,_0x3e3de4){const _0x5596be=a0_0xc63d62,_0x11f3ea={'\x72\x4a\x68\x72\x74':function(_0xf74f07,_0x2741b2){return _0xf74f07>_0x2741b2;},'\x57\x4f\x71\x64\x58':_0x5596be(0x79)};if(Array[_0x5596be(0xe5)](_0x4766ca['\x66\x61\x69\x6c\x75\x72\x65\x73']))return _0x4766ca[_0x5596be(0xd7)]['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);if(Array[_0x5596be(0xe5)](_0x4766ca[_0x5596be(0xb3)])){const _0xf7f120=_0x4766ca[_0x5596be(0xb3)][_0x5596be(0xcc)](_0x4acf49=>typeof _0x4acf49==='\x6f\x62\x6a\x65\x63\x74'&&_0x4acf49!==null&&_0x4acf49['\x6f\x6b']===![]);if(_0x11f3ea[_0x5596be(0xb9)](_0xf7f120[_0x5596be(0x78)],0x0))return _0xf7f120[_0x5596be(0xcc)](isFailureDetail);}if(typeof _0x3e3de4===_0x11f3ea[_0x5596be(0x74)]&&_0x3e3de4!==null&&Array[_0x5596be(0xe5)](_0x3e3de4[_0x5596be(0xd7)]))return _0x3e3de4[_0x5596be(0xd7)][_0x5596be(0xcc)](isFailureDetail);}function parseErrorResponse(_0x29cf09,_0x1491e2,_0x34541a,_0x56298e){const _0x4e7ee3=a0_0xc63d62,_0x2855b6={'\x73\x56\x42\x55\x75':function(_0x12320f,_0x3de8ae){return _0x12320f===_0x3de8ae;},'\x75\x4e\x56\x61\x56':'\x6f\x62\x6a\x65\x63\x74','\x78\x7a\x57\x41\x73':_0x4e7ee3(0x86),'\x75\x6a\x41\x58\x6d':function(_0x13a386,_0x3ebeef,_0x2e518d){return _0x13a386(_0x3ebeef,_0x2e518d);},'\x76\x48\x68\x4c\x4e':_0x4e7ee3(0xc8),'\x4e\x7a\x75\x59\x55':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67','\x59\x62\x4e\x4e\x69':'\x52\x65\x73\x6f\x75\x72\x63\x65','\x53\x6f\x6f\x6a\x41':_0x4e7ee3(0xd6),'\x77\x47\x63\x6d\x74':_0x4e7ee3(0x7c),'\x69\x51\x68\x65\x4f':function(_0x206cd4,_0xfe8ca6){return _0x206cd4||_0xfe8ca6;},'\x52\x54\x69\x41\x65':'\x4e\x4f\x54\x5f\x49\x4d\x50\x4c\x45\x4d\x45\x4e\x54\x45\x44'};let _0x697a5d;try{_0x697a5d=JSON['\x70\x61\x72\x73\x65'](_0x1491e2);}catch{_0x697a5d={'\x6d\x65\x73\x73\x61\x67\x65':_0x1491e2};}const _0x2d55be=_0x697a5d[_0x4e7ee3(0x8e)],_0x33d66c=typeof _0x2d55be===_0x4e7ee3(0x79)&&_0x2d55be!==null?_0x2d55be[_0x4e7ee3(0xac)]:void 0x0,_0x2abaed=_0x2855b6[_0x4e7ee3(0x95)](typeof _0x2d55be,_0x2855b6[_0x4e7ee3(0xc4)])&&_0x2d55be!==null?_0x2d55be[_0x4e7ee3(0xcd)]:void 0x0,_0x1d178e=_0x697a5d[_0x4e7ee3(0xac)]||_0x33d66c||(typeof _0x2d55be==='\x73\x74\x72\x69\x6e\x67'?_0x2d55be:void 0x0)||_0x1491e2||_0x2855b6[_0x4e7ee3(0x76)],_0xd64ec1=typeof _0x697a5d[_0x4e7ee3(0xcb)]===_0x4e7ee3(0xa1)&&_0x697a5d['\x64\x65\x74\x61\x69\x6c\x73'][_0x4e7ee3(0xc1)]()[_0x4e7ee3(0x78)]>0x0?_0x697a5d['\x64\x65\x74\x61\x69\x6c\x73'][_0x4e7ee3(0xc1)]():void 0x0,_0x1e40ec=!!_0xd64ec1&&_0xd64ec1!==_0x1d178e&&(_0x2855b6[_0x4e7ee3(0x95)](_0x1d178e,_0x4e7ee3(0x86))||/^failed\b/i[_0x4e7ee3(0x9b)](_0x1d178e)||/^provision failed\b/i[_0x4e7ee3(0x9b)](_0x1d178e)||/^deprovision failed\b/i['\x74\x65\x73\x74'](_0x1d178e)),_0x20fe60=_0x697a5d[_0x4e7ee3(0xcd)]||_0x2abaed,_0x4d9113=''+(_0x34541a?(_0x34541a[_0x4e7ee3(0xae)]??_0x4e7ee3(0x7d))+'\x20'+(_0x34541a[_0x4e7ee3(0xb1)]??'')+'\x3a\x20':'')+(_0x1e40ec?_0x1d178e+'\x3a\x20'+_0xd64ec1:_0x1d178e),_0x1235b9={'\x6f\x72\x69\x67\x69\x6e':inferOrigin(_0x56298e,_0x34541a),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x34541a?.[_0x4e7ee3(0xb1)]??_0x56298e?.['\x67\x65\x74'](_0x4e7ee3(0x9d))??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':_0x2855b6[_0x4e7ee3(0xbb)](parseRetryAfterMs,_0x56298e?.[_0x4e7ee3(0xa9)](_0x4e7ee3(0xa3))??void 0x0,_0x697a5d),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x56298e?.['\x67\x65\x74'](_0x2855b6['\x76\x48\x68\x4c\x4e'])??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x56298e?.['\x67\x65\x74'](_0x4e7ee3(0xd0))??_0x56298e?.[_0x4e7ee3(0xa9)](_0x2855b6[_0x4e7ee3(0x9a)])??void 0x0};if(isQuotaCode(_0x20fe60))return new QuotaError(_0x697a5d[_0x4e7ee3(0xb8)]||_0x4e7ee3(0x7c),_0x4d9113,_0x697a5d[_0x4e7ee3(0x8a)],_0x697a5d[_0x4e7ee3(0x93)],_0x1235b9,_0x29cf09);if(isCapabilityCode(_0x20fe60))return new CapabilityError(_0x4d9113,_0x20fe60,_0x29cf09,_0x1235b9,_0x2855b6[_0x4e7ee3(0xbb)](readCapability,_0x697a5d,_0x2d55be));if(isPartialFailureCode(_0x20fe60))return new PartialFailureError(_0x4d9113,_0x20fe60,_0x29cf09,_0x1235b9,readFailures(_0x697a5d,_0x2d55be));switch(_0x29cf09){case 0x190:return new ValidationError(_0x4d9113,_0x697a5d[_0x4e7ee3(0x87)],_0x1235b9);case 0x191:return new AuthError(_0x4d9113,_0x1235b9);case 0x194:return new NotFoundError(_0x697a5d[_0x4e7ee3(0xa0)]||_0x2855b6[_0x4e7ee3(0x7e)],_0x697a5d[_0x4e7ee3(0xe2)]||_0x2855b6[_0x4e7ee3(0x94)],_0x1235b9);case 0x198:return new TimeoutError(_0x697a5d[_0x4e7ee3(0xdd)]||0x7530,_0x4d9113,_0x1235b9);case 0x199:return new StateError(_0x4d9113,_0x697a5d['\x63\x75\x72\x72\x65\x6e\x74\x53\x74\x61\x74\x65']||_0x4e7ee3(0xd6),_0x697a5d[_0x4e7ee3(0xc5)],_0x1235b9);case 0x1ad:return new QuotaError(_0x697a5d[_0x4e7ee3(0xb8)]||_0x2855b6[_0x4e7ee3(0xd3)],_0x4d9113,_0x697a5d[_0x4e7ee3(0x8a)],_0x697a5d[_0x4e7ee3(0x93)],_0x1235b9);case 0x1f5:return new SandboxError(_0x4d9113,_0x2855b6[_0x4e7ee3(0x8c)](_0x20fe60,_0x2855b6[_0x4e7ee3(0xa2)]),_0x29cf09,_0x1235b9);default:if(_0x29cf09>=0x1f4)return new ServerError(_0x4d9113,_0x29cf09,_0x1235b9);return new SandboxError(_0x4d9113,_0x20fe60||'\x55\x4e\x4b\x4e\x4f\x57\x4e\x5f\x45\x52\x52\x4f\x52',_0x29cf09,_0x1235b9);}}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};
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 { A as SandboxFleetClient, C as IntegrationVerificationKind, D as TriggerRun, E as TriggerInfo, M as ParsedSSEEvent, N as parseSSEStream, O as TriggerWithSecret, S as IntegrationScope, T as RecipeManifest, _ as IntegrationAction, a as Team, b as IntegrationPrincipalType, c as AutomationInfo, d as CreateEndpointInput, f as CreateTriggerInput, g as InstallRecipeInput, h as EndpointWithSecret, i as SandboxClient, j as ParseSSEStreamOptions, k as SandboxFleet, l as ConnectionInfo, m as EndpointInfo, n as IntelligenceClient, o as TeamInvitation, p as DeliveryAttempt, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as CreateAutomationInput, v as IntegrationActionKind, w as IntegrationsManager, x as IntegrationProvider, y as IntegrationDeliveryStatus } from "./client-DMkVWoYk.js";
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
- //#region src/backend-config.d.ts
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 };