alveus 0.1.13 → 0.1.14
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.
Potentially problematic release.
This version of alveus might be problematic. Click here for more details.
- package/dist/chunk-RXLEOOTK.js +1 -1
- package/dist/chunk-VZDOABJH.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/cancel.js +1 -1
- package/dist/commands/deploy.js +9 -9
- package/dist/commands/init.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/run.js +1 -1
- package/dist/commands/secrets/delete.js +1 -1
- package/dist/commands/secrets/index.js +1 -1
- package/dist/commands/secrets/list.js +1 -1
- package/dist/commands/secrets/set.js +1 -1
- package/dist/commands/status.js +1 -1
- package/dist/commands/whoami.js +1 -1
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x50f68e=_0x5312;(function(_0x42f503,_0x20a52a){const _0x439e42=_0x5312,_0x358be0=_0x42f503();while(!![]){try{const _0x307252=-parseInt(_0x439e42(0xc1))/0x1+-parseInt(_0x439e42(0xe2))/0x2*(parseInt(_0x439e42(0xc2))/0x3)+parseInt(_0x439e42(0xb7))/0x4+parseInt(_0x439e42(0xce))/0x5*(parseInt(_0x439e42(0xe5))/0x6)+-parseInt(_0x439e42(0xd2))/0x7*(parseInt(_0x439e42(0xc8))/0x8)+parseInt(_0x439e42(0xd8))/0x9+-parseInt(_0x439e42(0xe6))/0xa*(parseInt(_0x439e42(0xcc))/0xb);if(_0x307252===_0x20a52a)break;else _0x358be0['push'](_0x358be0['shift']());}catch(_0x226973){_0x358be0['push'](_0x358be0['shift']());}}}(_0x10b4,0xed6af));import{createRequire as _0x58a7fd}from'module';const require=_0x58a7fd(import.meta.url);import{b as _0x2951cf,g as _0x245674,h as _0x27f0b1,j as _0x68de2c,k as _0x3d85b8,q as _0x4206d1}from'../chunk-VZDOABJH.js';function _0x5312(_0x15db2f,_0x530c06){_0x15db2f=_0x15db2f-0xb3;const _0x10b4fa=_0x10b4();let _0x5312e4=_0x10b4fa[_0x15db2f];if(_0x5312['iaQULa']===undefined){var _0x10af3b=function(_0x1b73ff){const _0x30264b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44015d='',_0x14b479='';for(let _0x4c90f8=0x0,_0x5d33fc,_0x593108,_0x2e072e=0x0;_0x593108=_0x1b73ff['charAt'](_0x2e072e++);~_0x593108&&(_0x5d33fc=_0x4c90f8%0x4?_0x5d33fc*0x40+_0x593108:_0x593108,_0x4c90f8++%0x4)?_0x44015d+=String['fromCharCode'](0xff&_0x5d33fc>>(-0x2*_0x4c90f8&0x6)):0x0){_0x593108=_0x30264b['indexOf'](_0x593108);}for(let _0x312bd5=0x0,_0x426f74=_0x44015d['length'];_0x312bd5<_0x426f74;_0x312bd5++){_0x14b479+='%'+('00'+_0x44015d['charCodeAt'](_0x312bd5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x14b479);};_0x5312['uWNBjb']=_0x10af3b,_0x5312['lAQQyC']={},_0x5312['iaQULa']=!![];}const _0x232a14=_0x10b4fa[0x0],_0x49d9ec=_0x15db2f+_0x232a14,_0x5cc70b=_0x5312['lAQQyC'][_0x49d9ec];return!_0x5cc70b?(_0x5312e4=_0x5312['uWNBjb'](_0x5312e4),_0x5312['lAQQyC'][_0x49d9ec]=_0x5312e4):_0x5312e4=_0x5cc70b,_0x5312e4;}function _0x10b4(){const _0x22db01=['uhjVAMvJDcbKAxjLy3rVCNKGBMfTzsaOzgvMyxvSDhmGDg8Gy3vYCMvUDcbKAxjLy3rVCNKP','y2qG','tLjqBwu','y29UzMLNrgLY','igrLCgXVEq','DhnJic0TBM9fBwL0','ywDLBNqUDhm','isC7cGOGicaGCMv0DxjUihSkicaGicaGBwvZC2fNzsWkicaGicaGChjVy2vZC2vKqxq6ig5LDYbeyxrLkcKUDg9ju09tDhjPBMCOksWkicaGih07cIaGFsWkicb7ig5HBwu6icC','nfLMAwfwwa','r0XSA0G','BM9Kzv9TB2r1BgvZcMrPC3qklMfSDMv1CWO','oduXodqYofPmvM9MBa','mti5ndG5mffsAgjvyW','zK1Vvfi','CujTDwm','DNrezNC','lMDPDgLNBM9Yzq','y3DK','C3jJl2fNzw50lNrZ','mJiYnZaXmKDiqLbzAW','rML0wLa','q3jLyxrLzca','zgvZy3jPChrPB24','wxHxt2y','DhnJB25MAwCUANnVBG','ywX2zxvZ','AhzUzhK','C3jJlYOQlYO','zMLXBvu','mta3nZGXnMnNz0TMBa','nJCXmJGZze5htLzZ','BxL1C2vY','zMLSzxndCMvHDgvK','CgfJA2fNzs5QC29U','mc4XlJa','BNb4','ofbYEu1rDW','Bg9nvKW','CfLqsLa','zw52','mZn0wef6wgS','BNb4igfSDMv1CW','nu1ssMHswq','DxnLCM5HBwu','yNvUzgXLCG','rKHju3m','mJm0odCXn3jYzgzWuW','lI9ZCMm','BMfTzq','Aw5JBhvKzxm','Aff6C1u','C3rYAw5NAwz5','mteYmdC3nZjXBNngEwe','ChPvBMC'];_0x10b4=function(){return _0x22db01;};return _0x10b4();}import'../chunk-RXLEOOTK.js';import{Command as _0x5f42b2,Args as _0xa04d77}from'@oclif/core';import{mkdirSync as _0x342a45,writeFileSync as _0x5e3278,existsSync as _0x1a8a88}from'node:fs';import{join as _0x3e08ab,basename as _0x1ba16c,resolve as _0x44c50d}from'node:path';function h(_0x2221ec={}){const _0x27220e=_0x5312,_0x28cf39={'pYPJP':function(_0x37b791,_0x24af28,_0x1b97dc){return _0x37b791(_0x24af28,_0x1b97dc);},'pzUng':function(_0x239efa,_0x31bf90){return _0x239efa(_0x31bf90);},'DIrWB':_0x27220e(0xc3),'vtDfw':_0x27220e(0xc6),'fiqmU':'alveus\x20deploy','HHcxI':'^5.7.0','ugdQc':function(_0x4e3bd6,_0x3ba594,_0x17ddfa){return _0x4e3bd6(_0x3ba594,_0x17ddfa);},'loMVL':function(_0x5e1060,_0x35ca83){return _0x5e1060+_0x35ca83;},'hQzsU':'node_modules','pqTFB':'dist','qBmuc':_0x27220e(0xbc),'fMoTR':function(_0x4fe29d,_0x6c1d5a){return _0x4fe29d+_0x6c1d5a;},'FitZP':_0x27220e(0xb6),'hvndy':function(_0x28dbb9,_0x4956c1,_0xe89f6b){return _0x28dbb9(_0x4956c1,_0xe89f6b);},'VMCtj':'alveus.json','TKfaG':function(_0x14dc77,_0x599f2b,_0x5270ca){return _0x14dc77(_0x599f2b,_0x5270ca);},'YxWOf':'src','GLlkH':function(_0x4160a8,_0x3c7a39,_0x19b336){return _0x4160a8(_0x3c7a39,_0x19b336);},'Ipyxf':'.gitignore'};let _0x16a8a5=_0x2221ec[_0x27220e(0xb5)]??process[_0x27220e(0xb5)](),_0x4cf87f=_0x2221ec['name']?_0x28cf39[_0x27220e(0xca)](_0x44c50d,_0x16a8a5,_0x2221ec['name']):_0x16a8a5,_0x540312=_0x1ba16c(_0x4cf87f),_0x7c844c='@'+(_0x28cf39[_0x27220e(0xd9)](_0x2951cf,_0x2221ec[_0x27220e(0xdd)])?.[_0x27220e(0xcf)]??_0x28cf39['DIrWB'])+'/'+_0x540312,_0x5ed0ba=[];_0x28cf39[_0x27220e(0xd9)](_0x1a8a88,_0x4cf87f)||_0x28cf39[_0x27220e(0xca)](_0x342a45,_0x4cf87f,{'recursive':!0x0});let _0x401258={'name':_0x7c844c,'version':_0x28cf39[_0x27220e(0xb3)],'private':!0x0,'type':'module','scripts':{'type-check':_0x27220e(0xdf),'deploy':_0x28cf39[_0x27220e(0xc0)]},'dependencies':{'@alveus-ai/core':'^0.1.0'},'devDependencies':{'typescript':_0x28cf39['HHcxI']}};_0x28cf39[_0x27220e(0xca)](_0x5e3278,_0x28cf39['ugdQc'](_0x3e08ab,_0x4cf87f,_0x27220e(0xc5)),_0x28cf39[_0x27220e(0xc9)](JSON['stringify'](_0x401258,null,0x2),'\x0a')),_0x5ed0ba['push']('package.json');let _0x134dd1={'compilerOptions':{'target':'ES2022','module':'ES2022','moduleResolution':_0x27220e(0xd0),'outDir':'./dist','rootDir':_0x27220e(0xd3),'declaration':!0x0,'strict':!0x0,'esModuleInterop':!0x0,'skipLibCheck':!0x0},'include':[_0x27220e(0xbf)],'exclude':[_0x28cf39[_0x27220e(0xd6)],_0x28cf39['pqTFB']]};_0x28cf39['pYPJP'](_0x5e3278,_0x28cf39['ugdQc'](_0x3e08ab,_0x4cf87f,_0x28cf39['qBmuc']),_0x28cf39[_0x27220e(0xe7)](JSON[_0x27220e(0xd7)](_0x134dd1,null,0x2),'\x0a')),_0x5ed0ba['push'](_0x28cf39[_0x27220e(0xe8)]);let _0x5e6572={'name':_0x7c844c,'version':_0x28cf39['vtDfw'],'entry':_0x28cf39[_0x27220e(0xb8)]};_0x5e3278(_0x28cf39[_0x27220e(0xbe)](_0x3e08ab,_0x4cf87f,_0x28cf39['VMCtj']),JSON[_0x27220e(0xd7)](_0x5e6572,null,0x2)+'\x0a'),_0x5ed0ba['push'](_0x28cf39['VMCtj']);let _0x287c01=_0x28cf39['TKfaG'](_0x3e08ab,_0x4cf87f,_0x28cf39[_0x27220e(0xbb)]);_0x1a8a88(_0x287c01)||_0x342a45(_0x287c01,{'recursive':!0x0});let _0x402735='import\x20{\x20agent$,\x20ExecutionContext\x20}\x20from\x20\x27@alveus-ai/core\x27;\x0a\x0aexport\x20const\x20myAgent\x20=\x20agent$(\x0a\x20\x20async\x20(state:\x20Record<string,\x20unknown>,\x20event:\x20{\x20message?:\x20string\x20},\x20ctx:\x20ExecutionContext)\x20=>\x20{\x0a\x20\x20\x20\x20ctx.logger.info(\x27Agent\x20started\x27,\x20{\x20event\x20});\x0a\x0a\x20\x20\x20\x20const\x20message\x20=\x20event.message\x20??\x20\x27Hello\x20from\x20'+_0x540312+_0x27220e(0xe1)+_0x540312+'\x27,\x20version:\x20\x270.1.0\x27\x20}\x0a);\x0a';return _0x28cf39['ugdQc'](_0x5e3278,_0x3e08ab(_0x287c01,_0x27220e(0xe0)),_0x402735),_0x5ed0ba['push'](_0x27220e(0xb6)),_0x28cf39[_0x27220e(0xe3)](_0x5e3278,_0x3e08ab(_0x4cf87f,_0x27220e(0xb4)),_0x27220e(0xe4)),_0x5ed0ba['push'](_0x28cf39['Ipyxf']),{'projectDir':_0x4cf87f,'packageName':_0x7c844c,'filesCreated':_0x5ed0ba};}var l=class t extends _0x5f42b2{static [_0x50f68e(0xba)]='Scaffold\x20a\x20new\x20Alveus\x20agent\x20project';static ['args']={'name':_0xa04d77['string']({'description':_0x50f68e(0xda),'required':!0x1})};async['run'](){const _0x246ae8=_0x50f68e,_0x193d08={'WXcZK':function(_0x79f68d){return _0x79f68d();},'FHISs':function(_0x5407ee,_0x43cd2e){return _0x5407ee(_0x43cd2e);},'zhHBx':'Not\x20logged\x20in.\x20Run\x20`alveus\x20login`\x20first\x20so\x20your\x20project\x20gets\x20the\x20correct\x20package\x20scope.','NRPme':function(_0xa5aa6,_0x27728b){return _0xa5aa6(_0x27728b);},'UDoET':'npm\x20install'};let {args:_0x12a1c7}=await this['parse'](t);_0x193d08['WXcZK'](_0x2951cf)?.['username']||(_0x193d08[_0x246ae8(0xd1)](_0x27f0b1,_0x193d08['zhHBx']),this['exit'](0x1)),_0x193d08['FHISs'](_0x4206d1,'Creating\x20Alveus\x20project');let _0x1fd83b=h({'name':_0x12a1c7[_0x246ae8(0xd4)]});for(let _0x17a236 of _0x1fd83b[_0x246ae8(0xc4)])_0x193d08['NRPme'](_0x3d85b8,_0x246ae8(0xb9)+_0x17a236);_0x193d08[_0x246ae8(0xdc)](_0x245674,'Project\x20scaffolded\x20in\x20'+_0x1fd83b['projectDir']);let _0x2b149b=process[_0x246ae8(0xcb)]['_']?.['includes']('npx')||process[_0x246ae8(0xcb)]['npm_execpath']?.[_0x246ae8(0xd5)](_0x246ae8(0xc7))?_0x246ae8(0xcd):_0x246ae8(0xbd);_0x4206d1('Next\x20steps'),_0x12a1c7[_0x246ae8(0xd4)]&&_0x193d08['FHISs'](_0x68de2c,_0x246ae8(0xdb)+_0x12a1c7[_0x246ae8(0xd4)]),_0x68de2c(_0x193d08['UDoET']),_0x68de2c(_0x2b149b+_0x246ae8(0xde));}};export{l as default};
|
package/dist/commands/login.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
function _0x2434(_0x3922b3,_0xa04143){_0x3922b3=_0x3922b3-0x89;const _0x17eb33=_0x17eb();let _0x243464=_0x17eb33[_0x3922b3];if(_0x2434['xydPaA']===undefined){var _0x8685a4=function(_0x3fa89d){const _0x4cad18='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3fad86='',_0x5ad314='';for(let _0x269275=0x0,_0x597d5b,_0x39a461,_0x5016c9=0x0;_0x39a461=_0x3fa89d['charAt'](_0x5016c9++);~_0x39a461&&(_0x597d5b=_0x269275%0x4?_0x597d5b*0x40+_0x39a461:_0x39a461,_0x269275++%0x4)?_0x3fad86+=String['fromCharCode'](0xff&_0x597d5b>>(-0x2*_0x269275&0x6)):0x0){_0x39a461=_0x4cad18['indexOf'](_0x39a461);}for(let _0x1265b8=0x0,_0x4d5c3c=_0x3fad86['length'];_0x1265b8<_0x4d5c3c;_0x1265b8++){_0x5ad314+='%'+('00'+_0x3fad86['charCodeAt'](_0x1265b8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ad314);};_0x2434['FjRmJw']=_0x8685a4,_0x2434['WfUKRe']={},_0x2434['xydPaA']=!![];}const _0xf2ad93=_0x17eb33[0x0],_0x46dbe7=_0x3922b3+_0xf2ad93,_0xaca1a2=_0x2434['WfUKRe'][_0x46dbe7];return!_0xaca1a2?(_0x243464=_0x2434['FjRmJw'](_0x243464),_0x2434['WfUKRe'][_0x46dbe7]=_0x243464):_0x243464=_0xaca1a2,_0x243464;}const _0x549b7a=_0x2434;(function(_0x15b572,_0x1ef56c){const _0xcfca14=_0x2434,_0x937adb=_0x15b572();while(!![]){try{const _0x41f071=parseInt(_0xcfca14(0x94))/0x1*(parseInt(_0xcfca14(0x96))/0x2)+-parseInt(_0xcfca14(0x92))/0x3+parseInt(_0xcfca14(0x8e))/0x4*(-parseInt(_0xcfca14(0x9c))/0x5)+parseInt(_0xcfca14(0x90))/0x6+-parseInt(_0xcfca14(0x8b))/0x7+parseInt(_0xcfca14(0x98))/0x8*(parseInt(_0xcfca14(0x99))/0x9)+parseInt(_0xcfca14(0x89))/0xa;if(_0x41f071===_0x1ef56c)break;else _0x937adb['push'](_0x937adb['shift']());}catch(_0x185892){_0x937adb['push'](_0x937adb['shift']());}}}(_0x17eb,0x4573e));import{createRequire as _0x5dd7e9}from'module';const require=_0x5dd7e9(import.meta.url);function _0x17eb(){const _0x3cc2a7=['mJyWmdCZtg9XELfH','zgvZy3jPChrPB24','C3rYAw5N','nJm1t3nVzvfP','qxv0AgvUDgLJyxrLihDPDgGGDgHLiefSDMv1CYbWBgf0zM9YBq','ntuWmZy2mfDKAw5dyG','zMXHz3m','mJC0nJi0me1us0ztsa','tg9Nz2vKigLUigfZia','C3rVCa','otK4oe9VEKTTyW','yxbPlwTLEq','mZm2mtaWmKPgC0X1tq','sNLcDLy','mty4mJaZngnSwhb2uW','qxv0AgvUDgLJyxrPBMCUlI4','mZi4ndC0DeXouuzU','zxHPDa','mLvQwML6tq','DMfSAwrHDgu','mZjIqujmAgi'];_0x17eb=function(){return _0x3cc2a7;};return _0x17eb();}import{a as _0x8d4713,d as _0x1720d2,f as _0x5ed161,g as _0x332eb6,k as _0x1d105c,m as _0x10dffe,n as _0x14a2cb}from'../chunk-VZDOABJH.js';import'../chunk-RXLEOOTK.js';import{Command as _0x464011,Flags as _0x450de8}from'@oclif/core';var a=class d extends _0x464011{static [_0x549b7a(0x9a)]=_0x549b7a(0x9d);static [_0x549b7a(0x8a)]={'api-key':_0x450de8[_0x549b7a(0x9b)]({'char':'k','description':'API\x20key','required':!0x0,'env':'ALVEUS_API_KEY'}),'api-url':_0x450de8['string']({'char':'u','description':'Platform\x20URL\x20(default:\x20https://api.alveus.ai)'})};async['run'](){const _0x323405=_0x549b7a,_0x1abd7d={'Nqfzg':'api-url','bCohk':function(_0xe509ba,_0x422e61){return _0xe509ba(_0x422e61);},'XJAYm':_0x323405(0x93),'JyBvV':_0x323405(0x8f)};let {flags:_0x3a4623}=await this['parse'](d),_0x4fea7f=_0x1720d2(_0x3a4623[_0x1abd7d['Nqfzg']]),_0x52f717=new _0x5ed161({'apiUrl':_0x4fea7f,'apiKey':_0x3a4623['api-key']}),_0x383615=_0x1abd7d['bCohk'](_0x14a2cb,_0x1abd7d['XJAYm']);_0x383615['start']();try{let _0x36767e=await _0x52f717[_0x323405(0x97)]();_0x8d4713({'apiKey':_0x3a4623[_0x1abd7d[_0x323405(0x91)]],'apiUrl':_0x4fea7f,'username':_0x36767e['username']}),_0x383615[_0x323405(0x8d)](),_0x332eb6(_0x323405(0x8c)+_0x36767e['username']),_0x1d105c('Platform:\x20'+_0x4fea7f);}catch(_0x38a870){_0x383615[_0x323405(0x8d)](),_0x10dffe(_0x38a870),this[_0x323405(0x95)](0x1);}}};export{a as default};
|
package/dist/commands/logout.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x35d1ee=_0x13b3;function _0x13b3(_0x4b627e,_0x1db5b0){_0x4b627e=_0x4b627e-0x9c;const _0x175faa=_0x175f();let _0x13b377=_0x175faa[_0x4b627e];if(_0x13b3['shjnWR']===undefined){var _0x156101=function(_0x633d70){const _0x190441='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2c0c6d='',_0x42dbde='';for(let _0x332bf5=0x0,_0xd24f70,_0x2d3ba8,_0x5dff92=0x0;_0x2d3ba8=_0x633d70['charAt'](_0x5dff92++);~_0x2d3ba8&&(_0xd24f70=_0x332bf5%0x4?_0xd24f70*0x40+_0x2d3ba8:_0x2d3ba8,_0x332bf5++%0x4)?_0x2c0c6d+=String['fromCharCode'](0xff&_0xd24f70>>(-0x2*_0x332bf5&0x6)):0x0){_0x2d3ba8=_0x190441['indexOf'](_0x2d3ba8);}for(let _0x291f93=0x0,_0x570b77=_0x2c0c6d['length'];_0x291f93<_0x570b77;_0x291f93++){_0x42dbde+='%'+('00'+_0x2c0c6d['charCodeAt'](_0x291f93)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42dbde);};_0x13b3['WTldEi']=_0x156101,_0x13b3['BwztWP']={},_0x13b3['shjnWR']=!![];}const _0xbe5c00=_0x175faa[0x0],_0x407a83=_0x4b627e+_0xbe5c00,_0x357d7b=_0x13b3['BwztWP'][_0x407a83];return!_0x357d7b?(_0x13b377=_0x13b3['WTldEi'](_0x13b377),_0x13b3['BwztWP'][_0x407a83]=_0x13b377):_0x13b377=_0x357d7b,_0x13b377;}(function(_0xbef25,_0x4123f4){const _0x3fd5d4=_0x13b3,_0x6063b0=_0xbef25();while(!![]){try{const _0x54e550=parseInt(_0x3fd5d4(0x9e))/0x1*(-parseInt(_0x3fd5d4(0xa7))/0x2)+parseInt(_0x3fd5d4(0xa0))/0x3*(-parseInt(_0x3fd5d4(0xa2))/0x4)+parseInt(_0x3fd5d4(0xa6))/0x5+-parseInt(_0x3fd5d4(0xa3))/0x6+-parseInt(_0x3fd5d4(0xa4))/0x7+-parseInt(_0x3fd5d4(0x9f))/0x8*(parseInt(_0x3fd5d4(0xa1))/0x9)+parseInt(_0x3fd5d4(0xa9))/0xa*(parseInt(_0x3fd5d4(0x9c))/0xb);if(_0x54e550===_0x4123f4)break;else _0x6063b0['push'](_0x6063b0['shift']());}catch(_0x13b9f9){_0x6063b0['push'](_0x6063b0['shift']());}}}(_0x175f,0x34a86));function _0x175f(){const _0x4abe40=['uMvTB3zLihnHDMvKignYzwrLBNrPywXZ','mJi1odD6D1vWtfq','nte3nJb3yun5qw4','mtjjAfzwC2e','mJCWv3DRzKzK','mtCWmJG0DMDVwfb4','mtG2odCZmfzfCMDwBa','mtq1mdaYmLvgqLrkqq','EgLLvui','mJC3mtGWywTwyNff','mZb6qwXSBve','zgvZy3jPChrPB24','nJK4mgHnENrcDG','mJe3odbbsLL1De0'];_0x175f=function(){return _0x4abe40;};return _0x175f();}import{createRequire as _0xe0f51e}from'module';const require=_0xe0f51e(import.meta.url);import{c as _0x1f0c97,g as _0x37c833}from'../chunk-VZDOABJH.js';import'../chunk-RXLEOOTK.js';import{Command as _0x123cf3}from'@oclif/core';var e=class extends _0x123cf3{static [_0x35d1ee(0xa8)]=_0x35d1ee(0x9d);async['run'](){const _0x1cc931=_0x35d1ee,_0x2168ff={'xieUB':function(_0x49e065){return _0x49e065();},'VkDDS':function(_0x2614c0,_0x2c2a33){return _0x2614c0(_0x2c2a33);},'GvOnX':'Logged\x20out.'};_0x2168ff[_0x1cc931(0xa5)](_0x1f0c97),_0x2168ff['VkDDS'](_0x37c833,_0x2168ff['GvOnX']);}};export{e as default};
|
package/dist/commands/run.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function
|
|
2
|
+
const _0xb4b835=_0x1f44;(function(_0xb697a3,_0x2699b1){const _0xaa8450=_0x1f44,_0x5f2e89=_0xb697a3();while(!![]){try{const _0x20fb15=-parseInt(_0xaa8450(0x110))/0x1*(parseInt(_0xaa8450(0x11e))/0x2)+parseInt(_0xaa8450(0x113))/0x3+parseInt(_0xaa8450(0x12a))/0x4*(-parseInt(_0xaa8450(0x123))/0x5)+parseInt(_0xaa8450(0x127))/0x6*(-parseInt(_0xaa8450(0x116))/0x7)+-parseInt(_0xaa8450(0x131))/0x8*(parseInt(_0xaa8450(0x121))/0x9)+parseInt(_0xaa8450(0x129))/0xa*(parseInt(_0xaa8450(0x133))/0xb)+-parseInt(_0xaa8450(0x115))/0xc*(-parseInt(_0xaa8450(0x125))/0xd);if(_0x20fb15===_0x2699b1)break;else _0x5f2e89['push'](_0x5f2e89['shift']());}catch(_0x3095fd){_0x5f2e89['push'](_0x5f2e89['shift']());}}}(_0x57bf,0xe47cf));import{createRequire as _0x475c61}from'module';function _0x57bf(){const _0x1a34c8=['q2HLy2SGC3rHDhvZoIaGywX2zxvZihn0yxr1CYa','rxHLy3v0Aw9Uihn0yxj0zwq6ia','q2fUy2vSoIaGicaGicaGywX2zxvZignHBMnLBca','zxHPDa','yxn5BMm','CMvZDwX0','sw5WDxqGsLnptIbMB3iGDgHLigfNzw50','zxjYB3i','yxjNCW','mtvyuvLJDvK','CNvUqNLiyxnO','BKn6uwq','ndK4mJuYovfzBNzgyW','q09nueXfveve','mta5mNnJqLjdqW','mta0otiZAg1WEKDh','C3rYAw5N','zMXHz3m','u3rHDhvZoIa','ywDLBNq','ugfJA2fNzsbUyw1LicHaC2nVCguVBMfTzsKGB3iGyMXVyIbOyxnO','DgvZDa','C3rHCNq','nhPgzKLwDa','rxHLy3v0Aw9UignVBxbSzxrLza','Aw5WDxq','mZmWmdm5vKzUEMHk','yxbPlxvYBa','nvzqD25Kra','ugXHDgzVCM0Gvvjmig92zxjYAwrL','mJCWnZLmEKz3wLm','v1jJy1a','otzyA0vNu3O','CgfYC2u','mtq2nZeWwe1IAwvp','mJKWnda5mLLZC2HlwG','uNvUBMLUzYa','zxHLy3v0Aw9Uswq','yvneELK','rxHLy3v0Aw9UieLeoIa','u3rHCNqGD2L0Ag91Dcb3ywL0Aw5NigzVCIbYzxn1Bhq','A1L4t3a','mJrduNj2yvO','C3rHDhvZ','mtiXDwHLAfLx','C2XPy2u'];_0x57bf=function(){return _0x1a34c8;};return _0x57bf();}function _0x1f44(_0x23bf70,_0x117ee2){_0x23bf70=_0x23bf70-0x10d;const _0x57bf4b=_0x57bf();let _0x1f44d2=_0x57bf4b[_0x23bf70];if(_0x1f44['BjmvOd']===undefined){var _0x19061c=function(_0xa84e4b){const _0x15e3ff='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1e072d='',_0x4eeac8='';for(let _0x4e45fa=0x0,_0x3bc535,_0x2a27ac,_0x310c72=0x0;_0x2a27ac=_0xa84e4b['charAt'](_0x310c72++);~_0x2a27ac&&(_0x3bc535=_0x4e45fa%0x4?_0x3bc535*0x40+_0x2a27ac:_0x2a27ac,_0x4e45fa++%0x4)?_0x1e072d+=String['fromCharCode'](0xff&_0x3bc535>>(-0x2*_0x4e45fa&0x6)):0x0){_0x2a27ac=_0x15e3ff['indexOf'](_0x2a27ac);}for(let _0x5215b0=0x0,_0x3da061=_0x1e072d['length'];_0x5215b0<_0x3da061;_0x5215b0++){_0x4eeac8+='%'+('00'+_0x1e072d['charCodeAt'](_0x5215b0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4eeac8);};_0x1f44['vuSrge']=_0x19061c,_0x1f44['YGGplj']={},_0x1f44['BjmvOd']=!![];}const _0x5b8d62=_0x57bf4b[0x0],_0x46a35f=_0x23bf70+_0x5b8d62,_0x2db628=_0x1f44['YGGplj'][_0x46a35f];return!_0x2db628?(_0x1f44d2=_0x1f44['vuSrge'](_0x1f44d2),_0x1f44['YGGplj'][_0x46a35f]=_0x1f44d2):_0x1f44d2=_0x2db628,_0x1f44d2;}const require=_0x475c61(import.meta.url);import{d,e as _0x237196,f as _0x17ae35,g as _0x4199db,h as _0xebb805,j as _0x20e62b,k as _0x55a07d,m as _0x93783a,n as _0x35128e}from'../chunk-VZDOABJH.js';import'../chunk-RXLEOOTK.js';import{Command as _0x1b4165,Flags as _0x3bc10d,Args as _0x223ae7}from'@oclif/core';var p=class x extends _0x1b4165{static ['description']='Execute\x20an\x20agent\x20via\x20the\x20platform';static [_0xb4b835(0x10f)]={'agent':_0x223ae7[_0xb4b835(0x117)]({'description':_0xb4b835(0x11b),'required':!0x0})};static [_0xb4b835(0x118)]={'input':_0x3bc10d['string']({'char':'i','description':_0xb4b835(0x10d),'default':'{}'}),'async':_0x3bc10d['boolean']({'description':_0xb4b835(0x12f),'default':!0x1}),'api-url':_0x3bc10d[_0xb4b835(0x117)]({'description':_0xb4b835(0x124)})};async['run'](){const _0x3d3ecf=_0xb4b835,_0x5a13db={'PxodE':function(_0x1a5ef9,_0x862d4){return _0x1a5ef9(_0x862d4);},'nCzQd':_0x3d3ecf(0x122),'BQbau':'...','kYxOp':function(_0x548ff0,_0x180bf8){return _0x548ff0(_0x180bf8);},'WRccP':function(_0x3cfedd,_0x2b6dbe){return _0x3cfedd(_0x2b6dbe);},'aSDzY':_0x3d3ecf(0x114),'AzvzZ':function(_0x4371b2,_0x1403a3){return _0x4371b2(_0x1403a3);},'zFACX':function(_0x316c45,_0x303a15){return _0x316c45(_0x303a15);},'QmtcT':function(_0x215e61,_0xaaef86){return _0x215e61(_0xaaef86);}};let {args:_0x1f0e7b,flags:_0x518d56}=await this[_0x3d3ecf(0x128)](x),_0x20f242=_0x237196(),_0x3c5477=_0x5a13db['PxodE'](d,_0x518d56[_0x5a13db[_0x3d3ecf(0x112)]]),_0x32a942=new _0x17ae35({'apiUrl':_0x3c5477,'apiKey':_0x20f242['apiKey']}),_0x51e534={};if(_0x518d56[_0x3d3ecf(0x120)])try{_0x51e534=JSON['parse'](_0x518d56['input']);}catch{_0xebb805('Invalid\x20JSON\x20input.\x20Use\x20--input\x20\x27{\x22key\x22:\x22value\x22}\x27'),this[_0x3d3ecf(0x138)](0x1);}let _0x39c9a1=/^[a-f0-9]{64}$/[_0x3d3ecf(0x11c)](_0x1f0e7b[_0x3d3ecf(0x11a)]),_0x48ceb1=_0x518d56[_0x3d3ecf(0x139)],_0x58a000=_0x39c9a1?_0x1f0e7b[_0x3d3ecf(0x11a)][_0x3d3ecf(0x134)](0x0,0x10)+_0x5a13db['BQbau']:_0x1f0e7b['agent'];try{if(_0x48ceb1){let _0x3e7c98=_0x39c9a1?await _0x32a942['runByHash'](_0x1f0e7b[_0x3d3ecf(0x11a)],_0x51e534,{'async':!0x0}):await _0x32a942['runByName'](_0x1f0e7b['agent'],_0x51e534,{'async':!0x0});_0x4199db(_0x3d3ecf(0x136)+_0x3e7c98['executionId']),_0x5a13db['kYxOp'](_0x55a07d,_0x3d3ecf(0x135)+_0x3e7c98['executionId']),_0x55a07d(_0x3d3ecf(0x137)+_0x3e7c98['executionId']);}else{let _0x403bfe=_0x5a13db[_0x3d3ecf(0x126)](_0x35128e,_0x3d3ecf(0x12b)+_0x58a000+'...');_0x403bfe[_0x3d3ecf(0x11d)]();let _0x1a7752=_0x39c9a1?await _0x32a942[_0x3d3ecf(0x111)](_0x1f0e7b['agent'],_0x51e534,{'async':!0x1}):await _0x32a942['runByName'](_0x1f0e7b['agent'],_0x51e534,{'async':!0x1});_0x403bfe['stop'](),_0x1a7752[_0x3d3ecf(0x132)]===_0x5a13db[_0x3d3ecf(0x12d)]?(_0x5a13db['AzvzZ'](_0x4199db,_0x3d3ecf(0x11f)),this['log'](JSON['stringify'](_0x1a7752[_0x3d3ecf(0x13a)],null,0x2))):_0x1a7752[_0x3d3ecf(0x132)]==='FAILED'?(_0xebb805('Execution\x20failed:\x20'+_0x1a7752[_0x3d3ecf(0x10e)]),this[_0x3d3ecf(0x138)](0x1)):(_0x5a13db['zFACX'](_0x20e62b,_0x3d3ecf(0x119)+_0x1a7752[_0x3d3ecf(0x132)]),_0x1a7752[_0x3d3ecf(0x12c)]&&_0x5a13db[_0x3d3ecf(0x130)](_0x55a07d,_0x3d3ecf(0x12e)+_0x1a7752[_0x3d3ecf(0x12c)]));}}catch(_0x5694b9){_0x5a13db['QmtcT'](_0x93783a,_0x5694b9),this[_0x3d3ecf(0x138)](0x1);}}};export{p as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x14b5a0=_0x2d0e;(function(_0x5d496a,_0xf0bc8a){const _0x415b41=_0x2d0e,_0x23100f=_0x5d496a();while(!![]){try{const _0xa09afe=parseInt(_0x415b41(0xc4))/0x1+-parseInt(_0x415b41(0xcc))/0x2+-parseInt(_0x415b41(0xcd))/0x3*(-parseInt(_0x415b41(0xc3))/0x4)+-parseInt(_0x415b41(0xc6))/0x5+-parseInt(_0x415b41(0xcb))/0x6+parseInt(_0x415b41(0xc8))/0x7*(-parseInt(_0x415b41(0xd2))/0x8)+parseInt(_0x415b41(0xd4))/0x9*(parseInt(_0x415b41(0xc9))/0xa);if(_0xa09afe===_0xf0bc8a)break;else _0x23100f['push'](_0x23100f['shift']());}catch(_0x3cc777){_0x23100f['push'](_0x23100f['shift']());}}}(_0x3a09,0x4398c));function _0x2d0e(_0x6f6696,_0x4d7147){_0x6f6696=_0x6f6696-0xc3;const _0x3a09fd=_0x3a09();let _0x2d0e43=_0x3a09fd[_0x6f6696];if(_0x2d0e['tCSgtC']===undefined){var _0x4938d5=function(_0x4da055){const _0x7da0a0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ce6eb='',_0xf2660c='';for(let _0x166328=0x0,_0x5d174e,_0x5c4d8d,_0x23b91b=0x0;_0x5c4d8d=_0x4da055['charAt'](_0x23b91b++);~_0x5c4d8d&&(_0x5d174e=_0x166328%0x4?_0x5d174e*0x40+_0x5c4d8d:_0x5c4d8d,_0x166328++%0x4)?_0x4ce6eb+=String['fromCharCode'](0xff&_0x5d174e>>(-0x2*_0x166328&0x6)):0x0){_0x5c4d8d=_0x7da0a0['indexOf'](_0x5c4d8d);}for(let _0x3ab3ed=0x0,_0x85f678=_0x4ce6eb['length'];_0x3ab3ed<_0x85f678;_0x3ab3ed++){_0xf2660c+='%'+('00'+_0x4ce6eb['charCodeAt'](_0x3ab3ed)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf2660c);};_0x2d0e['PGzcEG']=_0x4938d5,_0x2d0e['YsgyTd']={},_0x2d0e['tCSgtC']=!![];}const _0x4b3f20=_0x3a09fd[0x0],_0x185f85=_0x6f6696+_0x4b3f20,_0x1de4f5=_0x2d0e['YsgyTd'][_0x185f85];return!_0x1de4f5?(_0x2d0e43=_0x2d0e['PGzcEG'](_0x2d0e43),_0x2d0e['YsgyTd'][_0x185f85]=_0x2d0e43):_0x2d0e43=_0x1de4f5,_0x2d0e43;}import{createRequire as _0x5665e0}from'module';const require=_0x5665e0(import.meta.url);import{d as _0xda05f7,e as _0x4aa2c6,f as _0x1244c2,g as _0x384707,m as _0x2bd68c}from'../../chunk-VZDOABJH.js';import'../../chunk-RXLEOOTK.js';import{Command as _0x26ead7,Args as _0x483339,Flags as _0x3951f9}from'@oclif/core';var r=class n extends _0x26ead7{static ['description']='Delete\x20a\x20secret';static [_0x14b5a0(0xc7)]={'package':_0x483339[_0x14b5a0(0xd1)]({'description':'Package\x20name\x20(@scope/name)','required':!0x0}),'key':_0x483339['string']({'description':_0x14b5a0(0xd3),'required':!0x0})};static ['flags']={'api-url':_0x3951f9['string']({'description':_0x14b5a0(0xcf)})};async['run'](){const _0x2bbc31=_0x14b5a0;let {args:_0x3be3a0}=await this[_0x2bbc31(0xca)](n),_0x4c60fb=_0x4aa2c6(),_0x3f1274=_0xda05f7(),_0xb33e5f=new _0x1244c2({'apiUrl':_0x3f1274,'apiKey':_0x4c60fb[_0x2bbc31(0xd0)]});try{await _0xb33e5f[_0x2bbc31(0xd5)](_0x3be3a0[_0x2bbc31(0xd6)],_0x3be3a0[_0x2bbc31(0xce)]),_0x384707('Secret\x20deleted:\x20'+_0x3be3a0['key']+'\x20(package:\x20'+_0x3be3a0['package']+')');}catch(_0x2f281a){_0x2bd68c(_0x2f281a),this[_0x2bbc31(0xc5)](0x1);}}};function _0x3a09(){const _0x15a850=['A2v5','ugXHDgzVCM0Gvvjmig92zxjYAwrL','yxbPs2v5','C3rYAw5N','odu2DwT5BM5K','u2vJCMv0igTLEq','mtHuBM9xyw8','zgvSzxrLu2vJCMv0','CgfJA2fNzq','mta0C29nvhfc','mJK0ndeWzhngzNH3','zxHPDa','mtC0mZe1mhbwzhPOAa','yxjNCW','mJGWndL5txbfy3i','nty5nJi2mgrtrKLgzG','CgfYC2u','mJC5ntCXmMLMCfLQta','mtyZmZuWrhrKtunU','mtK0mtbgyM9kCwK'];_0x3a09=function(){return _0x15a850;};return _0x3a09();}export{r as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x39c920=_0x2275;(function(_0x1a3d9e,_0xa6120c){const _0x3badd5=_0x2275,_0x23f861=_0x1a3d9e();while(!![]){try{const _0x52c552=parseInt(_0x3badd5(0xf0))/0x1+parseInt(_0x3badd5(0xf5))/0x2+-parseInt(_0x3badd5(0xf2))/0x3+-parseInt(_0x3badd5(0xf3))/0x4+parseInt(_0x3badd5(0xfa))/0x5*(-parseInt(_0x3badd5(0xfb))/0x6)+-parseInt(_0x3badd5(0xf7))/0x7+parseInt(_0x3badd5(0xf6))/0x8;if(_0x52c552===_0xa6120c)break;else _0x23f861['push'](_0x23f861['shift']());}catch(_0x32158c){_0x23f861['push'](_0x23f861['shift']());}}}(_0x41f3,0x60aa0));import{createRequire as _0x372723}from'module';const require=_0x372723(import.meta.url);function _0x41f3(){const _0x4afbc9=['mZa1mJm5ownwvffKCG','qvbYuxq','zgvZy3jPChrPB24','mJy1ndveuM9kvee','nJu0y0vqsezt','C2HVD0HLBha','y29UzMLN','ndK3mdy0t2HyquPA','C2vJCMv0CW','otuWnJeWC3DVruzt','mtCYnZe4nhjjvuDrDa','CNvU','mJK2mJaWv1rdugDc','mtiXmtm0mdHouNjKtgi'];_0x41f3=function(){return _0x4afbc9;};return _0x41f3();}function _0x2275(_0x57ed56,_0x485c26){_0x57ed56=_0x57ed56-0xf0;const _0x41f364=_0x41f3();let _0x22755d=_0x41f364[_0x57ed56];if(_0x2275['pomazJ']===undefined){var _0x4cef70=function(_0x46df1c){const _0x4bada0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b165f='',_0x1f1073='';for(let _0x3dfa89=0x0,_0x5bea8e,_0x2f8d7d,_0xd828d6=0x0;_0x2f8d7d=_0x46df1c['charAt'](_0xd828d6++);~_0x2f8d7d&&(_0x5bea8e=_0x3dfa89%0x4?_0x5bea8e*0x40+_0x2f8d7d:_0x2f8d7d,_0x3dfa89++%0x4)?_0x5b165f+=String['fromCharCode'](0xff&_0x5bea8e>>(-0x2*_0x3dfa89&0x6)):0x0){_0x2f8d7d=_0x4bada0['indexOf'](_0x2f8d7d);}for(let _0x4b1a2d=0x0,_0x118823=_0x5b165f['length'];_0x4b1a2d<_0x118823;_0x4b1a2d++){_0x1f1073+='%'+('00'+_0x5b165f['charCodeAt'](_0x4b1a2d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f1073);};_0x2275['IYeuaL']=_0x4cef70,_0x2275['Ynvlhh']={},_0x2275['pomazJ']=!![];}const _0x320512=_0x41f364[0x0],_0x790722=_0x57ed56+_0x320512,_0xa4571d=_0x2275['Ynvlhh'][_0x790722];return!_0xa4571d?(_0x22755d=_0x2275['IYeuaL'](_0x22755d),_0x2275['Ynvlhh'][_0x790722]=_0x22755d):_0x22755d=_0xa4571d,_0x22755d;}import'../../chunk-RXLEOOTK.js';import{Command as _0x3f839d,Help as _0x411200}from'@oclif/core';var e=class extends _0x3f839d{static [_0x39c920(0xf9)]='Manage\x20package\x20secrets';async[_0x39c920(0xf4)](){const _0x38786d=_0x39c920,_0x42987a={'APrQt':_0x38786d(0xf1)};await new _0x411200(this[_0x38786d(0xfd)])[_0x38786d(0xfc)]([_0x42987a[_0x38786d(0xf8)]]);}};export{e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x528877=_0x3d21;function _0x1ae9(){const _0x177089=['Bg9N','BgvUz3rO','C3rYAw5N','ntzJtfL4q2W','ndmYotiWBwT4yM1S','CgfJA2fNzq','ruTbz1K','nZiXmta3AeDjrujc','tM8GC2vJCMv0CYbJB25MAwD1CMvKigzVCIa','CgfYC2u','mZC3nZqYwvfUENLq','nLnJqKDRua','q3jLyxrLza','mtbdtMLhr2O','ntmXndqZnuvltvrKBG','mtjvvuDSvuW','s2v5','yxbPs2v5','yNfitw8','Dg9tDhjPBMC','mZm1mZyZsKTYqMrd','zxHPDa','BwfW','mJC4mZu5yuDLquTK','nZy0nZiWme1IC2jHDW'];_0x1ae9=function(){return _0x177089;};return _0x1ae9();}(function(_0x1286bf,_0x182ced){const _0x443a59=_0x3d21,_0x6ce536=_0x1286bf();while(!![]){try{const _0x1f6e6f=-parseInt(_0x443a59(0xfb))/0x1+parseInt(_0x443a59(0x107))/0x2*(parseInt(_0x443a59(0xf3))/0x3)+parseInt(_0x443a59(0x101))/0x4+-parseInt(_0x443a59(0xf2))/0x5*(-parseInt(_0x443a59(0xef))/0x6)+parseInt(_0x443a59(0xf8))/0x7*(-parseInt(_0x443a59(0x100))/0x8)+parseInt(_0x443a59(0x104))/0x9*(-parseInt(_0x443a59(0xf1))/0xa)+-parseInt(_0x443a59(0xfc))/0xb;if(_0x1f6e6f===_0x182ced)break;else _0x6ce536['push'](_0x6ce536['shift']());}catch(_0x567ca1){_0x6ce536['push'](_0x6ce536['shift']());}}}(_0x1ae9,0x833d4));import{createRequire as _0x1a7739}from'module';const require=_0x1a7739(import.meta.url);function _0x3d21(_0x4edc48,_0x330ade){_0x4edc48=_0x4edc48-0xef;const _0x1ae96e=_0x1ae9();let _0x3d213e=_0x1ae96e[_0x4edc48];if(_0x3d21['okWgBI']===undefined){var _0xd4c920=function(_0x55f057){const _0x28bf4c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a0ca2='',_0x177d19='';for(let _0x5842d6=0x0,_0x5dc3e8,_0x3a51b7,_0x1ad9e2=0x0;_0x3a51b7=_0x55f057['charAt'](_0x1ad9e2++);~_0x3a51b7&&(_0x5dc3e8=_0x5842d6%0x4?_0x5dc3e8*0x40+_0x3a51b7:_0x3a51b7,_0x5842d6++%0x4)?_0x1a0ca2+=String['fromCharCode'](0xff&_0x5dc3e8>>(-0x2*_0x5842d6&0x6)):0x0){_0x3a51b7=_0x28bf4c['indexOf'](_0x3a51b7);}for(let _0x20b2d3=0x0,_0x318244=_0x1a0ca2['length'];_0x20b2d3<_0x318244;_0x20b2d3++){_0x177d19+='%'+('00'+_0x1a0ca2['charCodeAt'](_0x20b2d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x177d19);};_0x3d21['DjslTh']=_0xd4c920,_0x3d21['aMvYRw']={},_0x3d21['okWgBI']=!![];}const _0x3f254b=_0x1ae96e[0x0],_0x47d439=_0x4edc48+_0x3f254b,_0x4adbac=_0x3d21['aMvYRw'][_0x47d439];return!_0x4adbac?(_0x3d213e=_0x3d21['DjslTh'](_0x3d213e),_0x3d21['aMvYRw'][_0x47d439]=_0x3d213e):_0x3d213e=_0x4adbac,_0x3d213e;}import{d as _0x650b11,e as _0x51d4cf,f as _0x51c1a3,j as _0x1957e9,m as _0x6d44a8,o as _0x2437e7,q as _0x328d63}from'../../chunk-VZDOABJH.js';import'../../chunk-RXLEOOTK.js';import{Command as _0x46736e,Args as _0x4ddf32,Flags as _0x1a2622}from'@oclif/core';var t=class l extends _0x46736e{static ['description']='List\x20secrets\x20for\x20a\x20package';static ['args']={'package':_0x4ddf32['string']({'description':'Package\x20name\x20(@scope/name)','required':!0x0})};static ['flags']={'api-url':_0x1a2622[_0x528877(0xff)]({'description':'Platform\x20URL\x20override'})};async['run'](){const _0x18e5c9=_0x528877,_0x53dc9d={'bqHMo':function(_0x13b81b,_0xf70579){return _0x13b81b===_0xf70579;},'SkJzX':function(_0x50dde1,_0xb5fa8e){return _0x50dde1(_0xb5fa8e);},'EKAgY':_0x18e5c9(0xf4)};let {args:_0x2753b4}=await this[_0x18e5c9(0x106)](l),_0x3c1370=_0x51d4cf(),_0x10a9dc=_0x650b11(),_0x503846=new _0x51c1a3({'apiUrl':_0x10a9dc,'apiKey':_0x3c1370[_0x18e5c9(0xf5)]});try{let _0x7e3508=await _0x503846['listSecrets'](_0x2753b4[_0x18e5c9(0x102)]);if(_0x53dc9d[_0x18e5c9(0xf6)](_0x7e3508['secrets'][_0x18e5c9(0xfe)],0x0)){_0x53dc9d['SkJzX'](_0x1957e9,_0x18e5c9(0x105)+_0x2753b4['package']);return;}_0x328d63('Secrets\x20for\x20'+_0x2753b4[_0x18e5c9(0x102)]);let _0x1e0434=_0x2437e7([_0x53dc9d[_0x18e5c9(0x103)],_0x18e5c9(0xf0)],_0x7e3508['secrets'][_0x18e5c9(0xfa)](_0x4635cc=>[_0x4635cc['key'],_0x4635cc['createdAt']]));this[_0x18e5c9(0xfd)](_0x1e0434[_0x18e5c9(0xf7)]());}catch(_0x107397){_0x6d44a8(_0x107397),this[_0x18e5c9(0xf9)](0x1);}}};export{t as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x7820b7=_0x5acc;(function(_0x1731e8,_0x5c54b0){const _0x4a8893=_0x5acc,_0x3a56b3=_0x1731e8();while(!![]){try{const _0x5d39dc=parseInt(_0x4a8893(0xbf))/0x1*(-parseInt(_0x4a8893(0xc0))/0x2)+-parseInt(_0x4a8893(0xc8))/0x3+parseInt(_0x4a8893(0xca))/0x4*(-parseInt(_0x4a8893(0xc9))/0x5)+-parseInt(_0x4a8893(0xbe))/0x6*(parseInt(_0x4a8893(0xc7))/0x7)+-parseInt(_0x4a8893(0xc2))/0x8+-parseInt(_0x4a8893(0xc6))/0x9*(-parseInt(_0x4a8893(0xcb))/0xa)+parseInt(_0x4a8893(0xb7))/0xb;if(_0x5d39dc===_0x5c54b0)break;else _0x3a56b3['push'](_0x3a56b3['shift']());}catch(_0x1db535){_0x3a56b3['push'](_0x3a56b3['shift']());}}}(_0xd6f0,0x26b5a));import{createRequire as _0x4733ee}from'module';function _0x5acc(_0x53ee17,_0xdc09c1){_0x53ee17=_0x53ee17-0xb3;const _0xd6f01e=_0xd6f0();let _0x5acc48=_0xd6f01e[_0x53ee17];if(_0x5acc['fFnbOH']===undefined){var _0x1bfd29=function(_0x1f9cef){const _0x4a14c8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x40b20a='',_0x434176='';for(let _0x2aa87d=0x0,_0x1c8318,_0x2b5b0a,_0x35f225=0x0;_0x2b5b0a=_0x1f9cef['charAt'](_0x35f225++);~_0x2b5b0a&&(_0x1c8318=_0x2aa87d%0x4?_0x1c8318*0x40+_0x2b5b0a:_0x2b5b0a,_0x2aa87d++%0x4)?_0x40b20a+=String['fromCharCode'](0xff&_0x1c8318>>(-0x2*_0x2aa87d&0x6)):0x0){_0x2b5b0a=_0x4a14c8['indexOf'](_0x2b5b0a);}for(let _0xaedce8=0x0,_0x8c6090=_0x40b20a['length'];_0xaedce8<_0x8c6090;_0xaedce8++){_0x434176+='%'+('00'+_0x40b20a['charCodeAt'](_0xaedce8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x434176);};_0x5acc['lWvZse']=_0x1bfd29,_0x5acc['BsswtV']={},_0x5acc['fFnbOH']=!![];}const _0x16f17=_0xd6f01e[0x0],_0x4f82bc=_0x53ee17+_0x16f17,_0x12324c=_0x5acc['BsswtV'][_0x4f82bc];return!_0x12324c?(_0x5acc48=_0x5acc['lWvZse'](_0x5acc48),_0x5acc['BsswtV'][_0x4f82bc]=_0x5acc48):_0x5acc48=_0x12324c,_0x5acc48;}const require=_0x4733ee(import.meta.url);import{d as _0x133427,e as _0x5c5d67,f as _0x34fc37,g as _0x1bf18c,m as _0x4444f2}from'../../chunk-VZDOABJH.js';import'../../chunk-RXLEOOTK.js';import{Command as _0x86a410,Args as _0x5b2249,Flags as _0x5db24e}from'@oclif/core';var a=class p extends _0x86a410{static [_0x7820b7(0xc3)]=_0x7820b7(0xb8);static [_0x7820b7(0xb4)]={'package':_0x5b2249[_0x7820b7(0xc5)]({'description':_0x7820b7(0xc1),'required':!0x0}),'key':_0x5b2249[_0x7820b7(0xc5)]({'description':_0x7820b7(0xb3),'required':!0x0}),'value':_0x5b2249[_0x7820b7(0xc5)]({'description':_0x7820b7(0xbd),'required':!0x0})};static ['flags']={'api-url':_0x5db24e[_0x7820b7(0xc5)]({'description':_0x7820b7(0xb6)})};async['run'](){const _0x2d2732=_0x7820b7,_0x16a733={'HigiB':function(_0x5f511a){return _0x5f511a();}};let {args:_0x3526c5}=await this[_0x2d2732(0xb9)](p),_0x212b3a=_0x5c5d67(),_0x6a60ff=_0x16a733[_0x2d2732(0xcc)](_0x133427),_0x3b628b=new _0x34fc37({'apiUrl':_0x6a60ff,'apiKey':_0x212b3a[_0x2d2732(0xbb)]});try{await _0x3b628b[_0x2d2732(0xc4)](_0x3526c5[_0x2d2732(0xb5)]),await _0x3b628b['setSecret'](_0x3526c5['package'],_0x3526c5['key'],_0x3526c5[_0x2d2732(0xba)]),_0x1bf18c('Secret\x20set:\x20'+_0x3526c5['key']+'\x20(package:\x20'+_0x3526c5[_0x2d2732(0xb5)]+')');}catch(_0x4ed558){_0x4444f2(_0x4ed558),this[_0x2d2732(0xbc)](0x1);}}};function _0xd6f0(){const _0x1bf01e=['mti5mdq2me5VruHuCW','sgLNAui','u2vJCMv0igTLEq','yxjNCW','CgfJA2fNzq','ugXHDgzVCM0Gvvjmig92zxjYAwrL','nJqYode1ohvkDLzPrG','u2v0igeGC2vJCMv0igzVCIbHihbHy2THz2u','CgfYC2u','DMfSDwu','yxbPs2v5','zxHPDa','u2vJCMv0ihzHBhvL','nKTPvKH3Ea','mMjcsgfwEa','mtGYmJe0s0zjvMPm','ugfJA2fNzsbUyw1LicHaC2nVCguVBMfTzsK','mJa4nte4ngzHAMzfEq','zgvZy3jPChrPB24','zw5ZDxjLugfJA2fNzq','C3rYAw5N','mtH3AMvwvNu','mteZotyZnwzqwePuua','mty0nJqWBLb6sw5q','nwTytNPjAa','otm0nZzrDxjyz1i'];_0xd6f0=function(){return _0x1bf01e;};return _0xd6f0();}export{a as default};
|
package/dist/commands/status.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x49f511=_0x22d5;(function(_0x48905e,_0x2bcc6b){const _0x23aa7b=_0x22d5,_0x253f19=_0x48905e();while(!![]){try{const _0x503012=-parseInt(_0x23aa7b(0x105))/0x1*(-parseInt(_0x23aa7b(0x106))/0x2)+-parseInt(_0x23aa7b(0x110))/0x3*(-parseInt(_0x23aa7b(0x11a))/0x4)+-parseInt(_0x23aa7b(0x11e))/0x5*(parseInt(_0x23aa7b(0x109))/0x6)+parseInt(_0x23aa7b(0x112))/0x7*(parseInt(_0x23aa7b(0x10e))/0x8)+parseInt(_0x23aa7b(0x104))/0x9+-parseInt(_0x23aa7b(0x114))/0xa*(-parseInt(_0x23aa7b(0x102))/0xb)+-parseInt(_0x23aa7b(0x11b))/0xc;if(_0x503012===_0x2bcc6b)break;else _0x253f19['push'](_0x253f19['shift']());}catch(_0x109339){_0x253f19['push'](_0x253f19['shift']());}}}(_0x1b85,0xbcece));import{createRequire as _0x37209a}from'module';const require=_0x37209a(import.meta.url);function _0x1b85(){const _0x2b2205=['odq1n2vXr1LjsW','AxPHD1i','n0XKwhHpsa','CNvU','mtbbseHXzNy','zvH1s3C','wgn3u0e','q2HLy2SGzxHLy3v0Aw9Uihn0yxr1CW','CgfYC2u','y29TCgXLDgvKqxq','mty3nMDIAKztrG','ndKYodi1mZz6wwjzCLC','zxHPDa','yxbPlxvYBa','nJb3Dfjyte4','DenwAuG','u3rHCNrLza','mteXndu3odn0CNn0EeW','yxbPs2v5','mta1odmWodjwB09NtvK','mtC0nhL0wNfIBa','mJiWreTRyLH2','sfbNs0W','zMXHz3m','otq0nhLOtxDhvW','ugXHDgzVCM0Gvvjmig92zxjYAwrL','C3rYAw5N','CMvZDwX0','zxjYB3i','mta2otK2mtzJDg9tC0e','z2v0rxHLy3v0Aw9U'];_0x1b85=function(){return _0x2b2205;};return _0x1b85();}import{d as _0x479ad2,e as _0x54b3d3,f as _0xa07dd6,l as _0x2aeef3,m as _0x410fa2,p as _0x5cfd3d,q as _0x4a69e0}from'../chunk-VZDOABJH.js';import'../chunk-RXLEOOTK.js';import{Command as _0xf09f14,Flags as _0x4518cb,Args as _0x56cc40}from'@oclif/core';var r=class p extends _0xf09f14{static ['description']=_0x49f511(0x117);static ['args']={'execution-id':_0x56cc40[_0x49f511(0x10b)]({'description':'Execution/workflow\x20ID','required':!0x0})};static [_0x49f511(0x108)]={'json':_0x4518cb['boolean']({'description':'Output\x20raw\x20JSON','default':!0x1}),'api-url':_0x4518cb[_0x49f511(0x10b)]({'description':_0x49f511(0x10a)})};async[_0x49f511(0x113)](){const _0x21e1cd=_0x49f511,_0xd593f6={'MUMsM':function(_0x24c13c){return _0x24c13c();},'VWGJh':_0x21e1cd(0x11d),'eXuKw':function(_0x2772d8,_0x5ebdca){return _0x2772d8(_0x5ebdca);},'HPgKL':function(_0x5c1d6f,_0x2b4b52,_0x3bf7f2){return _0x5c1d6f(_0x2b4b52,_0x3bf7f2);},'tCViH':'Finished','XcwSA':function(_0x21e825,_0x5d6389){return _0x21e825===_0x5d6389;},'izawR':function(_0xa977a2,_0x1c6d26){return _0xa977a2!==_0x1c6d26;},'zPziu':'Result','IssNB':'FAILED'};let {args:_0x4b9ad0,flags:_0x22eeda}=await this[_0x21e1cd(0x118)](p),_0x3e8e26=_0x4b9ad0['execution-id'],_0x45f11d=_0xd593f6['MUMsM'](_0x54b3d3),_0xbe3564=_0x479ad2(_0x22eeda[_0xd593f6['VWGJh']]),_0x23b557=new _0xa07dd6({'apiUrl':_0xbe3564,'apiKey':_0x45f11d[_0x21e1cd(0x103)]});try{let _0x12b216=await _0x23b557[_0x21e1cd(0x10f)](_0x3e8e26);if(_0x22eeda['json']){this['log'](JSON['stringify'](_0x12b216,null,0x2));return;}_0xd593f6[_0x21e1cd(0x115)](_0x4a69e0,'Execution\x20'+_0x3e8e26),_0xd593f6[_0x21e1cd(0x107)](_0x5cfd3d,'Status',_0x2aeef3(_0x12b216['status'])),_0x12b216['startedAt']&&_0x5cfd3d(_0x21e1cd(0x120),_0x12b216['startedAt']),_0x12b216[_0x21e1cd(0x119)]&&_0x5cfd3d(_0xd593f6[_0x21e1cd(0x11f)],_0x12b216['completedAt']),_0xd593f6[_0x21e1cd(0x116)](_0x12b216['status'],'COMPLETED')&&_0xd593f6[_0x21e1cd(0x111)](_0x12b216[_0x21e1cd(0x10c)],void 0x0)&&_0xd593f6['HPgKL'](_0x5cfd3d,_0xd593f6['zPziu'],JSON['stringify'](_0x12b216['result'])),_0x12b216['status']===_0xd593f6['IssNB']&&_0x12b216['error']&&_0xd593f6['HPgKL'](_0x5cfd3d,'Error',_0x12b216[_0x21e1cd(0x10d)]);}catch(_0x6d29fa){_0x410fa2(_0x6d29fa),this[_0x21e1cd(0x11c)](0x1);}}};function _0x22d5(_0x26f8af,_0x21baa0){_0x26f8af=_0x26f8af-0x102;const _0x1b85cf=_0x1b85();let _0x22d5f8=_0x1b85cf[_0x26f8af];if(_0x22d5['pmlIaN']===undefined){var _0x3e0405=function(_0x27619c){const _0x4f2573='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ad5fd='',_0x54932b='';for(let _0x40d555=0x0,_0x29c552,_0xe70832,_0x292089=0x0;_0xe70832=_0x27619c['charAt'](_0x292089++);~_0xe70832&&(_0x29c552=_0x40d555%0x4?_0x29c552*0x40+_0xe70832:_0xe70832,_0x40d555++%0x4)?_0x1ad5fd+=String['fromCharCode'](0xff&_0x29c552>>(-0x2*_0x40d555&0x6)):0x0){_0xe70832=_0x4f2573['indexOf'](_0xe70832);}for(let _0x2cccee=0x0,_0x5af0df=_0x1ad5fd['length'];_0x2cccee<_0x5af0df;_0x2cccee++){_0x54932b+='%'+('00'+_0x1ad5fd['charCodeAt'](_0x2cccee)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x54932b);};_0x22d5['AivXbR']=_0x3e0405,_0x22d5['fZMfDA']={},_0x22d5['pmlIaN']=!![];}const _0x5e2b97=_0x1b85cf[0x0],_0x17476d=_0x26f8af+_0x5e2b97,_0x1f3a31=_0x22d5['fZMfDA'][_0x17476d];return!_0x1f3a31?(_0x22d5f8=_0x22d5['AivXbR'](_0x22d5f8),_0x22d5['fZMfDA'][_0x17476d]=_0x22d5f8):_0x22d5f8=_0x1f3a31,_0x22d5f8;}export{r as default};
|
package/dist/commands/whoami.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function
|
|
2
|
+
function _0x38c2(_0x3fe1ae,_0x2a88fa){_0x3fe1ae=_0x3fe1ae-0x18e;const _0x2e6746=_0x2e67();let _0x38c26a=_0x2e6746[_0x3fe1ae];if(_0x38c2['iHODjy']===undefined){var _0x33178e=function(_0x32d351){const _0x68166d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ca46d='',_0xf62141='';for(let _0x20332f=0x0,_0x4515f6,_0x3d3cf2,_0x2884e6=0x0;_0x3d3cf2=_0x32d351['charAt'](_0x2884e6++);~_0x3d3cf2&&(_0x4515f6=_0x20332f%0x4?_0x4515f6*0x40+_0x3d3cf2:_0x3d3cf2,_0x20332f++%0x4)?_0x1ca46d+=String['fromCharCode'](0xff&_0x4515f6>>(-0x2*_0x20332f&0x6)):0x0){_0x3d3cf2=_0x68166d['indexOf'](_0x3d3cf2);}for(let _0x245b6d=0x0,_0x5ab26d=_0x1ca46d['length'];_0x245b6d<_0x5ab26d;_0x245b6d++){_0xf62141+='%'+('00'+_0x1ca46d['charCodeAt'](_0x245b6d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf62141);};_0x38c2['AJHIwB']=_0x33178e,_0x38c2['WRoNyu']={},_0x38c2['iHODjy']=!![];}const _0x4d9e39=_0x2e6746[0x0],_0xe4bc48=_0x3fe1ae+_0x4d9e39,_0x5e8968=_0x38c2['WRoNyu'][_0xe4bc48];return!_0x5e8968?(_0x38c26a=_0x38c2['AJHIwB'](_0x38c26a),_0x38c2['WRoNyu'][_0xe4bc48]=_0x38c26a):_0x38c26a=_0x5e8968,_0x38c26a;}(function(_0x573070,_0x1d377f){const _0x336467=_0x38c2,_0x301dd0=_0x573070();while(!![]){try{const _0x5ae25c=-parseInt(_0x336467(0x19a))/0x1*(-parseInt(_0x336467(0x198))/0x2)+-parseInt(_0x336467(0x193))/0x3*(-parseInt(_0x336467(0x190))/0x4)+parseInt(_0x336467(0x195))/0x5+-parseInt(_0x336467(0x199))/0x6+parseInt(_0x336467(0x19c))/0x7+-parseInt(_0x336467(0x18f))/0x8+-parseInt(_0x336467(0x19b))/0x9*(parseInt(_0x336467(0x18e))/0xa);if(_0x5ae25c===_0x1d377f)break;else _0x301dd0['push'](_0x301dd0['shift']());}catch(_0x54efee){_0x301dd0['push'](_0x301dd0['shift']());}}}(_0x2e67,0x94e4d));import{createRequire as _0x2cb713}from'module';const require=_0x2cb713(import.meta.url);import{b as _0x349eff,i as _0x125298,p as _0x4e40d4,q as _0x36dd4f}from'../chunk-VZDOABJH.js';import'../chunk-RXLEOOTK.js';import{Command as _0x193eec}from'@oclif/core';var n=class extends _0x193eec{static ['description']='Show\x20current\x20logged-in\x20user';async['run'](){const _0x3a1dcb=_0x38c2,_0xdcb38d={'mQszK':function(_0x735c8){return _0x735c8();},'xCNNs':function(_0x3db53d,_0x63d6b6){return _0x3db53d(_0x63d6b6);},'GgNSz':_0x3a1dcb(0x19e),'krqnc':'Current\x20session','dctqA':function(_0x392099,_0x527ff3,_0x287f8c){return _0x392099(_0x527ff3,_0x287f8c);},'ojBfq':'unknown'};let _0x94b25=_0xdcb38d[_0x3a1dcb(0x19d)](_0x349eff);if(!_0x94b25){_0xdcb38d[_0x3a1dcb(0x196)](_0x125298,_0xdcb38d[_0x3a1dcb(0x191)]);return;}_0x36dd4f(_0xdcb38d['krqnc']),_0xdcb38d['dctqA'](_0x4e40d4,_0x3a1dcb(0x197),_0x94b25['username']||_0xdcb38d['ojBfq']),_0x4e40d4(_0x3a1dcb(0x194),_0x94b25[_0x3a1dcb(0x192)]);}};function _0x2e67(){const _0xa5405=['ntaXndK2nuXZv2v5Aa','EenotNm','vxnLCM5HBwu','nMHND2jRAa','mti5odiYmgTNBKvnsW','nZK5mdv2D05Mzue','mtG4nJqWnZjAugrIA1m','nJG3mti2m1vlzwz6AG','BvfZEKS','tM90igXVz2DLzcbPBI4GuNvUigbHBhzLDxmGBg9NAw5GigzPCNn0lG','mtbeEg9kyLi','mJyYota4meXhsvr1BG','nZe2v2z2u2Ps','r2Dou3O','yxbPvxjS','mtCYmdvnvhHkA0G','ugXHDgzVCM0Gvvjm'];_0x2e67=function(){return _0xa5405;};return _0x2e67();}export{n as default};
|