alveus 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,105 @@
1
+ # alveus
2
+
3
+ CLI for the [Alveus](https://alveus.ai) agent platform — deploy, run, and manage durable AI agents.
4
+
5
+ Alveus is a managed platform for running long-lived, stateful AI agents. Write your agent in TypeScript, deploy it with a single command, and let the platform handle durable execution, state persistence, and recovery.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g alveus
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ```bash
16
+ # Authenticate with the platform
17
+ alveus login --api-key <your-key>
18
+
19
+ # Scaffold a new agent project
20
+ alveus init my-agent
21
+ cd my-agent
22
+ npm install
23
+
24
+ # Write your agent in src/agent.ts, then deploy
25
+ alveus deploy
26
+
27
+ # Run it
28
+ alveus run @yourname/my-agent --input '{"message": "hello"}'
29
+ ```
30
+
31
+ ## Commands
32
+
33
+ ### Authentication
34
+
35
+ ```bash
36
+ alveus login [--api-key <key>] [--api-url <url>] # Authenticate
37
+ alveus logout # Clear credentials
38
+ alveus whoami # Show current user
39
+ ```
40
+
41
+ ### Project Setup
42
+
43
+ ```bash
44
+ alveus init [name] # Scaffold a new agent project
45
+ ```
46
+
47
+ Creates a ready-to-go project with `@alveus-ai/core`, `@alveus-ai/compiler`, Vite config, and a starter agent.
48
+
49
+ ### Deploy & Run
50
+
51
+ ```bash
52
+ alveus deploy [--version <ver>] # Build + upload + publish
53
+ alveus run <@scope/name> [--input <json>] [--async] # Execute an agent
54
+ alveus status <execution-id> # Check execution status
55
+ alveus cancel <execution-id> # Cancel a running execution
56
+ ```
57
+
58
+ ### Secrets
59
+
60
+ ```bash
61
+ alveus secrets set <@scope/name> <key> <value> # Set a secret
62
+ alveus secrets list <@scope/name> # List secret keys
63
+ alveus secrets delete <@scope/name> <key> # Delete a secret
64
+ ```
65
+
66
+ Secrets are encrypted at rest and injected into your agent at runtime via `ctx.secrets.get('KEY')`.
67
+
68
+ ## Writing Agents
69
+
70
+ Agents are TypeScript functions with access to durable execution primitives:
71
+
72
+ ```typescript
73
+ import { agent$ } from '@alveus-ai/core';
74
+
75
+ export const myAgent = agent$(
76
+ async (state, event, ctx) => {
77
+ // Sleep for 3 days — survives crashes and restarts
78
+ await ctx.sleep(3 * 24 * 60 * 60 * 1000);
79
+
80
+ // Wait for a human approval event
81
+ const approval = await ctx.events.waitFor('approval');
82
+
83
+ // Call an LLM
84
+ const response = await ctx.llm.chat([{ role: 'user', content: event.prompt }]);
85
+
86
+ // Call another agent
87
+ const result = await ctx.call('@team/data-processor', { data: response });
88
+
89
+ return { response, result };
90
+ },
91
+ { name: 'my-agent', version: '1.0.0' },
92
+ );
93
+ ```
94
+
95
+ ## Self-Hosted
96
+
97
+ By default, the CLI connects to `https://api.alveus.ai`. To use a self-hosted instance:
98
+
99
+ ```bash
100
+ alveus login --api-key <key> --api-url https://your-instance.com
101
+ ```
102
+
103
+ ## License
104
+
105
+ MIT
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ const _0x365472=_0x34b2;(function(_0x1bc6d7,_0x451349){const _0xcbabab=_0x34b2,_0x17295e=_0x1bc6d7();while(!![]){try{const _0x198c32=parseInt(_0xcbabab(0x1aa))/0x1*(-parseInt(_0xcbabab(0x1c9))/0x2)+-parseInt(_0xcbabab(0x178))/0x3+parseInt(_0xcbabab(0x179))/0x4+-parseInt(_0xcbabab(0x186))/0x5*(parseInt(_0xcbabab(0x1a5))/0x6)+parseInt(_0xcbabab(0x184))/0x7*(-parseInt(_0xcbabab(0x1ac))/0x8)+parseInt(_0xcbabab(0x191))/0x9+parseInt(_0xcbabab(0x1c8))/0xa*(parseInt(_0xcbabab(0x199))/0xb);if(_0x198c32===_0x451349)break;else _0x17295e['push'](_0x17295e['shift']());}catch(_0x526695){_0x17295e['push'](_0x17295e['shift']());}}}(_0x187d,0x70d2e));import{createRequire as _0x12ba20}from'module';const require=_0x12ba20(import.meta.url);import{readFileSync as _0x52b118,writeFileSync as _0x1a1624,mkdirSync as _0x184372,existsSync as _0x10b3bc,unlinkSync as _0x529f1d}from'node:fs';function _0x34b2(_0x178e11,_0x53738a){_0x178e11=_0x178e11-0x16c;const _0x187dd0=_0x187d();let _0x34b2cb=_0x187dd0[_0x178e11];if(_0x34b2['GjGZBM']===undefined){var _0x26402d=function(_0x1de236){const _0x3f1646='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x58f1c3='',_0xc5b6f1='';for(let _0x3192ee=0x0,_0x2d641a,_0x54dc09,_0x5d9bb6=0x0;_0x54dc09=_0x1de236['charAt'](_0x5d9bb6++);~_0x54dc09&&(_0x2d641a=_0x3192ee%0x4?_0x2d641a*0x40+_0x54dc09:_0x54dc09,_0x3192ee++%0x4)?_0x58f1c3+=String['fromCharCode'](0xff&_0x2d641a>>(-0x2*_0x3192ee&0x6)):0x0){_0x54dc09=_0x3f1646['indexOf'](_0x54dc09);}for(let _0x4fe683=0x0,_0x76baed=_0x58f1c3['length'];_0x4fe683<_0x76baed;_0x4fe683++){_0xc5b6f1+='%'+('00'+_0x58f1c3['charCodeAt'](_0x4fe683)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc5b6f1);};_0x34b2['KRkoWz']=_0x26402d,_0x34b2['QWQIQn']={},_0x34b2['GjGZBM']=!![];}const _0x2f9840=_0x187dd0[0x0],_0x452c5a=_0x178e11+_0x2f9840,_0x5acbbe=_0x34b2['QWQIQn'][_0x452c5a];return!_0x5acbbe?(_0x34b2cb=_0x34b2['KRkoWz'](_0x34b2cb),_0x34b2['QWQIQn'][_0x452c5a]=_0x34b2cb):_0x34b2cb=_0x5acbbe,_0x34b2cb;}import{join as _0x152f0d}from'node:path';import{homedir as _0x492ab5}from'node:os';var p=_0x152f0d(_0x492ab5(),_0x365472(0x17a)),$=_0x365472(0x196);function h(_0x3ced64){const _0x1dbf7a=_0x365472,_0x6c657e={'RTsML':function(_0xbe10b1,_0x4f809a,_0x31185a){return _0xbe10b1(_0x4f809a,_0x31185a);},'NEmuP':_0x1dbf7a(0x175)};return _0x6c657e[_0x1dbf7a(0x185)](_0x152f0d,_0x3ced64,_0x6c657e[_0x1dbf7a(0x1bf)]);}function C(_0x317508){const _0x162172=_0x365472,_0x48e8dd={'vTuvS':function(_0x488410,_0x4e1e4a,_0x53efd2){return _0x488410(_0x4e1e4a,_0x53efd2);},'vSrmE':_0x162172(0x1bd)};return _0x48e8dd['vTuvS'](_0x152f0d,_0x317508,_0x48e8dd['vSrmE']);}function A(_0x398625){const _0xdf8400=_0x365472,_0x51d31c={'jXGYy':function(_0x15a48e,_0x445384,_0x15cac7){return _0x15a48e(_0x445384,_0x15cac7);}};_0x10b3bc(_0x398625)||_0x51d31c[_0xdf8400(0x1c3)](_0x184372,_0x398625,{'recursive':!0x0});}function L(_0x4dab96,_0x521e89=p){A(_0x521e89),_0x1a1624(h(_0x521e89),JSON['stringify'](_0x4dab96,null,0x2));}function v(_0x5442ee=p){const _0x5b31a6=_0x365472,_0x2efcd8={'aGevT':_0x5b31a6(0x18d),'GpCqd':function(_0x3b187b,_0x42c7df){return _0x3b187b!==_0x42c7df;},'LwBaz':'utf-8'};let _0xabac3=h(_0x5442ee);if(!_0x10b3bc(_0xabac3))return null;try{if(_0x2efcd8['GpCqd']('iWxbb',_0x5b31a6(0x16f))){let _0x31414e=_0x25bd0b(_0x575d1e);return _0x31414e||(_0x2f2bdf[_0x5b31a6(0x180)](_0x2efcd8['aGevT']),_0x2007d5['exit'](0x1)),_0x31414e;}else return JSON['parse'](_0x52b118(_0xabac3,_0x2efcd8['LwBaz']));}catch{return null;}}function F(_0x33750f=p){const _0x5368cc={'NFZYj':function(_0x4f7782,_0x34ae05){return _0x4f7782(_0x34ae05);}};let _0x5c6648=h(_0x33750f);_0x5368cc['NFZYj'](_0x10b3bc,_0x5c6648)&&_0x529f1d(_0x5c6648);}function T(_0x44eac4=p){const _0x559d7d=_0x365472,_0x318b05={'zyurH':function(_0x376817,_0x3a2040){return _0x376817(_0x3a2040);},'LXHMy':'utf-8'};let _0x3fcebc=C(_0x44eac4);if(_0x318b05[_0x559d7d(0x17f)](_0x10b3bc,_0x3fcebc))try{return JSON[_0x559d7d(0x1c1)](_0x52b118(_0x3fcebc,_0x318b05['LXHMy']));}catch{}return{'apiUrl':$};}function N(_0x4bf871,_0x7a00=p){const _0x203545=_0x365472,_0x5717cf={'TvyrP':function(_0x340da6,_0x4635e6){return _0x340da6(_0x4635e6);}};if(_0x4bf871)return _0x4bf871;if(process[_0x203545(0x1ab)]['ALVEUS_API_URL'])return process['env']['ALVEUS_API_URL'];let _0x3b44ab=_0x5717cf['TvyrP'](v,_0x7a00);return _0x3b44ab?.['apiUrl']?_0x3b44ab[_0x203545(0x18e)]:T(_0x7a00)['apiUrl']||$;}function _(_0x50945b=p){const _0x3ad1b9=_0x365472,_0x592e59={'lINAO':function(_0x9cc8be,_0x1485c1){return _0x9cc8be(_0x1485c1);},'eoNkn':'Not\x20logged\x20in.\x20Run\x20`alveus\x20login`\x20first.'};let _0x4990af=_0x592e59[_0x3ad1b9(0x1a2)](v,_0x50945b);return _0x4990af||(console['error'](_0x592e59['eoNkn']),process['exit'](0x1)),_0x4990af;}var w=class{[_0x365472(0x18e)];['apiKey'];constructor(_0x23865e){const _0x4d776c=_0x365472;this[_0x4d776c(0x18e)]=_0x23865e[_0x4d776c(0x18e)][_0x4d776c(0x1c5)](/\/$/,''),this['apiKey']=_0x23865e[_0x4d776c(0x192)];}async['request'](_0x5ccfde,_0x423f9a,_0xed4127){const _0x19ec54=_0x365472,_0x310e9d={'ayaWZ':function(_0x4750f7,_0x20a60f){return _0x4750f7!==_0x20a60f;},'WIHdG':'Content-Type','DbotO':'application/json','PbDyQ':function(_0x593cd2,_0x30968d,_0x44f20a){return _0x593cd2(_0x30968d,_0x44f20a);},'NveDj':_0x19ec54(0x188),'sNbcQ':'Request\x20failed'};let _0x11b3d7=''+this[_0x19ec54(0x18e)]+_0x423f9a,_0x4c85ad={'Authorization':_0x19ec54(0x1a8)+this['apiKey']},_0xaf1406={'method':_0x5ccfde,'headers':_0x4c85ad};_0x310e9d[_0x19ec54(0x1a3)](_0xed4127,void 0x0)&&(_0x4c85ad[_0x310e9d['WIHdG']]=_0x310e9d['DbotO'],_0xaf1406[_0x19ec54(0x1c4)]=JSON[_0x19ec54(0x1b6)](_0xed4127));let _0x573cc8=await _0x310e9d[_0x19ec54(0x1ad)](fetch,_0x11b3d7,_0xaf1406),_0x3335a0=await _0x573cc8[_0x19ec54(0x18b)]();if(!_0x3335a0){if(!_0x573cc8['ok'])throw new o(_0x573cc8['status'],_0x310e9d[_0x19ec54(0x182)],_0x423f9a);return;}let _0x56174d;try{_0x56174d=JSON['parse'](_0x3335a0);}catch{throw new o(_0x573cc8[_0x19ec54(0x1bb)],_0x3335a0,_0x423f9a);}if(_0x56174d[_0x19ec54(0x172)]===!0x1){let _0x227af9=_0x56174d['error']?.['message']||_0x56174d[_0x19ec54(0x183)]||_0x310e9d['sNbcQ'];throw new o(_0x573cc8['status'],_0x227af9,_0x423f9a);}return _0x56174d['data']!==void 0x0?_0x56174d[_0x19ec54(0x187)]:_0x56174d;}async[_0x365472(0x19d)](){const _0x5d57f5=_0x365472,_0x5d177a={'yUhXL':_0x5d57f5(0x1ba),'hgIRr':'/api/auth/validate'};return{'username':(await this[_0x5d57f5(0x19b)](_0x5d177a['yUhXL'],_0x5d177a[_0x5d57f5(0x17e)]))[_0x5d57f5(0x17c)][_0x5d57f5(0x1c6)]};}async[_0x365472(0x1a1)](_0x4b0cf1,_0x1432c5={},_0x22c0ae={}){const _0x44613e=_0x365472;let _0x584def=_0x4b0cf1['match'](/^@([^/]+)\/(.+)$/);if(!_0x584def)throw new o(0x190,'Invalid\x20package\x20name:\x20'+_0x4b0cf1+_0x44613e(0x173),'');let [,_0x3e10f7,_0x350add]=_0x584def;return this[_0x44613e(0x19b)]('POST',_0x44613e(0x18f)+_0x3e10f7+'/'+_0x350add,{'event':_0x1432c5,'async':_0x22c0ae[_0x44613e(0x198)]??!0x0});}async[_0x365472(0x1a4)](_0x4517b1,_0xe550fc={},_0x2c22d9={}){const _0x68562=_0x365472;return this['request']('POST','/v1/gateway/run/hash/'+_0x4517b1,{'event':_0xe550fc,'async':_0x2c22d9[_0x68562(0x198)]??!0x0});}async[_0x365472(0x195)](_0x298fbb){const _0x430572=_0x365472;return this['request'](_0x430572(0x1ae),'/v1/gateway/executions/'+_0x298fbb);}async[_0x365472(0x1c7)](_0xc1a1a6){const _0x242b89=_0x365472,_0x3e0866={'bMSfr':_0x242b89(0x1ba)};return this['request'](_0x3e0866[_0x242b89(0x17b)],_0x242b89(0x19a)+_0xc1a1a6+_0x242b89(0x189));}async[_0x365472(0x1b8)](_0x3f7fb1,_0x8b1a89,_0xe4a547={}){const _0xf24340=_0x365472,_0x10237d={'EcdNF':'POST'};return this[_0xf24340(0x19b)](_0x10237d[_0xf24340(0x1b2)],'/v1/gateway/webhooks/'+_0x3f7fb1+'/'+_0x8b1a89,{'data':_0xe4a547});}async['listPackages'](){const _0x289dd1=_0x365472,_0xae6354={'mbDFe':_0x289dd1(0x181)};return this[_0x289dd1(0x19b)](_0x289dd1(0x1ae),_0xae6354[_0x289dd1(0x18c)]);}async['getPackage'](_0x5e997b){const _0x456f52=_0x365472,_0x430e7a={'qCyJX':_0x456f52(0x1ae)};let _0x497816=_0x5e997b[_0x456f52(0x1be)](/^@([^/]+)\/(.+)$/);if(!_0x497816)throw new o(0x190,'Invalid\x20package\x20name:\x20'+_0x5e997b,'');let [,_0x2a701c,_0x1e1d31]=_0x497816;return this[_0x456f52(0x19b)](_0x430e7a[_0x456f52(0x1b9)],'/api/packages/@'+_0x2a701c+'/'+_0x1e1d31);}async['publishVersion'](_0x565411,_0xba3d6b,_0x498944,_0x46d009,_0x23884e){const _0x332f87=_0x365472,_0x258c8d={'QruoN':_0x332f87(0x1ba)};let _0x322417=_0x565411['match'](/^@([^/]+)\/(.+)$/);if(!_0x322417)throw new o(0x190,'Invalid\x20package\x20name:\x20'+_0x565411,'');let [,_0x4b0097,_0x534fe0]=_0x322417;return this[_0x332f87(0x19b)](_0x258c8d['QruoN'],_0x332f87(0x1a0)+_0x4b0097+'/'+_0x534fe0+'/versions',{'version':_0xba3d6b,'blobHash':_0x498944,'blob':_0x46d009,'changelog':_0x23884e});}async[_0x365472(0x19e)](_0x315d50,_0x5833ba,_0x2e8be5){const _0x543e85=_0x365472;let _0x5c26cc=_0x315d50[_0x543e85(0x1be)](/^@([^/]+)\/(.+)$/);if(!_0x5c26cc)throw new o(0x190,_0x543e85(0x1a7)+_0x315d50,'');let [,_0x17c996,_0x30a54a]=_0x5c26cc;return this[_0x543e85(0x19b)](_0x543e85(0x1ba),_0x543e85(0x1a0)+_0x17c996+'/'+_0x30a54a+'/secrets',{'key':_0x5833ba,'value':_0x2e8be5});}async[_0x365472(0x170)](_0x5bb41f){const _0x1eb0a9=_0x365472,_0x451882={'erbOv':'GET'};let _0xd21aad=_0x5bb41f['match'](/^@([^/]+)\/(.+)$/);if(!_0xd21aad)throw new o(0x190,'Invalid\x20package\x20name:\x20'+_0x5bb41f,'');let [,_0x2e002a,_0x263301]=_0xd21aad;return this[_0x1eb0a9(0x19b)](_0x451882[_0x1eb0a9(0x19f)],'/api/packages/@'+_0x2e002a+'/'+_0x263301+'/secrets');}async['deleteSecret'](_0x3a234e,_0x3bd409){const _0x278abc=_0x365472,_0x421be4={'fwTLc':'DELETE'};let _0x376c30=_0x3a234e[_0x278abc(0x1be)](/^@([^/]+)\/(.+)$/);if(!_0x376c30)throw new o(0x190,_0x278abc(0x1a7)+_0x3a234e,'');let [,_0x3eca96,_0x33176b]=_0x376c30;return this[_0x278abc(0x19b)](_0x421be4['fwTLc'],'/api/packages/@'+_0x3eca96+'/'+_0x33176b+_0x278abc(0x171)+_0x3bd409);}},o=class extends Error{constructor(_0x54f444,_0x23c9e1,_0x3889b3){const _0x1bbabd=_0x365472,_0x11cb4c={'uWfGU':_0x1bbabd(0x16d)};super(_0x23c9e1),this[_0x1bbabd(0x18a)]=_0x54f444,this[_0x1bbabd(0x1b1)]=_0x3889b3,this[_0x1bbabd(0x1b0)]=_0x11cb4c[_0x1bbabd(0x1a6)];}};import _0x166dde from'ansis';import _0x5aae9d from'ora';import _0x22adfe from'cli-table3';var B=_0x166dde[_0x365472(0x1b7)][_0x365472(0x1c0)](_0x365472(0x19c)),O={'RUNNING':_0x166dde[_0x365472(0x177)],'COMPLETED':_0x166dde['green'],'FAILED':_0x166dde['red'],'CANCELLED':_0x166dde['yellow'],'TIMED_OUT':_0x166dde[_0x365472(0x1b3)]};function H(_0x1fe77c){const _0x17bda3=_0x365472;console[_0x17bda3(0x197)](_0x166dde['green']('✔')+'\x20'+_0x1fe77c);}function u(_0x54d899){const _0x5ba31c=_0x365472;console[_0x5ba31c(0x180)](_0x166dde['red']('✖')+'\x20'+_0x54d899);}function M(_0x5a1760){const _0x490544=_0x365472;console[_0x490544(0x197)](_0x166dde[_0x490544(0x16c)]('⚠')+'\x20'+_0x5a1760);}function _0x187d(){const _0x46af10=['AvD4yMi','BgLZDfnLy3jLDhm','l3nLy3jLDhmV','C3vJy2vZCW','lIbfEhbLy3rLzcbaC2nVCguVBMfTzq','qvbjigvYCM9YicG','y3jLzgvUDgLHBhmUANnVBG','CKvQBhm','yMX1zq','oduWotqXC3niwwXP','mJi1mZqYogfhq2PotW','lMfSDMv1CW','yK1tzNi','DxnLCG','zgLT','AgDjuNi','ENL1CKG','zxjYB3i','l2fWAs9WywnRywDLCW','tNzLrgO','BwvZC2fNzq','odG4mtzNz0rlyvm','uLrZtuW','mtbjrgn5EMW','zgf0yq','rw1WDhKGCMvZCg9UC2u','l2nHBMnLBa','C3rHDhvZq29Kzq','Dgv4Da','BwjerMu','tM90igXVz2DLzcbPBI4GuNvUigbHBhzLDxmGBg9NAw5GigzPCNn0lG','yxbPvxjS','l3yXl2DHDgv3yxKVCNvUl0a','q291BgqGBM90ignVBM5Ly3qGDg8GDgHLiefSDMv1CYbWBgf0zM9YBs4Gq2HLy2SGEw91CIbUzxr3B3jRigfUzcbbueKGvvjmlG','odiYnZG5ovLRAMDZCG','yxbPs2v5','Aw5JBhvKzxm','ktOG','z2v0rxHLy3v0Aw9U','Ahr0Chm6lY9HCgKUywX2zxvZlMfP','Bg9N','yxn5BMm','mZe5t2nTDe1w','l3yXl2DHDgv3yxKVzxHLy3v0Aw9UCY8','CMvXDwvZDa','ywX2zxvZ','DMfSAwrHDgu','C2v0u2vJCMv0','zxjIt3y','l2fWAs9WywnRywDLCY9a','CNvUqNLoyw1L','BeLoqu8','yxLHv1O','CNvUqNLiyxnO','otu3ndC0zeHbC0vu','DvDMr1u','sw52ywXPzcbWywnRywDLig5HBwu6ia','qMvHCMvYia','Cw9SsNO','mJGZntu0zhDXvfbL','zw52','mJK2tfnIBNvL','ugjeEve','r0vu','thjjA0O','BMfTzq','Cgf0Aa','rwnKtKy','BwfNzw50yq','runptK5sruzvu0ve','tM90igzVDw5K','C3rYAw5NAwz5','y3LHBG','C2LNBMfSrxHLy3v0Aw9U','Cun5sLG','ue9tva','C3rHDhvZ','zhnmyMG','y29UzMLNlMPZB24','Bwf0y2G','tKvTDva','yM9Sza','CgfYC2u','qxv0AgvUDgLJyxrPB24GzMfPBgvKlIbsDw4GygfSDMv1CYbSB2DPBMaGDg8GCMuTyxv0AgvUDgLJyxrLlG','ALHhwxK','yM9KEq','CMvWBgfJzq','DxnLCM5HBwu','y2fUy2vSrxHLy3v0Aw9U','mte3mZCWEKXYwwHR','mLb4wunRrW','EwvSBg93','qxbPrxjYB3i','CxHTy1a'];_0x187d=function(){return _0x46af10;};return _0x187d();}function z(_0x348405){const _0x1c282b=_0x365472;console['log'](_0x166dde[_0x1c282b(0x177)]('ℹ')+'\x20'+_0x348405);}function Q(_0x468f1f){const _0x541e0f=_0x365472;console['log']('\x20\x20'+_0x166dde[_0x541e0f(0x17d)]('›')+'\x20'+_0x468f1f);}function W(_0x33d572){return(O[_0x33d572]??_0x166dde['white'])(_0x33d572);}function X(_0x3e277e){const _0x43d4bb=_0x365472,_0x486ed3={'qolJz':function(_0x171afa,_0x80f67a){return _0x171afa instanceof _0x80f67a;},'rEjls':function(_0x1a847a,_0x47a96e){return _0x1a847a(_0x47a96e);},'KTwSN':_0x43d4bb(0x1c2),'LrIkJ':'Permission\x20denied.\x20Check\x20your\x20API\x20key\x20permissions.','qxmcP':function(_0x3100f3,_0x4689c2){return _0x3100f3(_0x4689c2);},'dsLbh':_0x43d4bb(0x190)};if(_0x486ed3[_0x43d4bb(0x1a9)](_0x3e277e,o))switch(_0x3e277e[_0x43d4bb(0x18a)]){case 0x191:_0x486ed3[_0x43d4bb(0x176)](u,_0x486ed3['KTwSN']);break;case 0x193:u(_0x486ed3[_0x43d4bb(0x1af)]);break;case 0x194:u(_0x3e277e[_0x43d4bb(0x183)]||_0x43d4bb(0x1b5));break;default:u(_0x43d4bb(0x174)+_0x3e277e[_0x43d4bb(0x18a)]+_0x43d4bb(0x194)+_0x3e277e['message']);}else _0x3e277e instanceof Error?_0x3e277e['message'][_0x43d4bb(0x193)](_0x43d4bb(0x1b4))?_0x486ed3[_0x43d4bb(0x16e)](u,_0x486ed3[_0x43d4bb(0x1bc)]):_0x3e277e['message'][_0x43d4bb(0x193)]('ENOTFOUND')?_0x486ed3['rEjls'](u,'Could\x20not\x20resolve\x20the\x20Alveus\x20platform\x20host.\x20Check\x20your\x20API\x20URL.'):_0x486ed3['qxmcP'](u,_0x3e277e[_0x43d4bb(0x183)]):_0x486ed3[_0x43d4bb(0x16e)](u,String(_0x3e277e));}function Y(_0x3dfc2f){const _0xcd503f={'JyQlF':function(_0x359b7f,_0x3a25ee){return _0x359b7f(_0x3a25ee);},'bPqLd':'cyan'};return _0xcd503f['JyQlF'](_0x5aae9d,{'text':_0x3dfc2f,'color':_0xcd503f['bPqLd']});}function Z(_0xc92de4,_0x5eb65f){const _0x58896f=_0x365472;let _0x35074d=new _0x22adfe({'head':_0xc92de4['map'](_0x9ecf5b=>_0x166dde[_0x58896f(0x1b7)]['bold'](_0x9ecf5b)),'style':{'head':[],'border':[]},'chars':{'top':'','top-mid':'','top-left':'','top-right':'','bottom':'','bottom-mid':'','bottom-left':'','bottom-right':'','left':'','left-mid':'','mid':'','mid-mid':'','right':'','right-mid':'','middle':'\x20\x20'}});for(let _0x2b606d of _0x5eb65f)_0x35074d['push'](_0x2b606d);return _0x35074d;}function ee(_0x2af4e3,_0x557a38){const _0xee681c=_0x365472,_0x57bfc6={'ZYHEC':function(_0x14c432,_0xa29dd6){return _0x14c432+_0xa29dd6;}};console[_0xee681c(0x197)]('\x20\x20'+_0x166dde[_0xee681c(0x17d)](_0x57bfc6['ZYHEC'](_0x2af4e3,':'))+'\x20\x20'+_0x557a38);}function te(_0x206443){console['log']('\x0a'+_0x166dde['bold'](_0x206443));}export{L as a,v as b,F as c,N as d,_ as e,w as f,H as g,u as h,M as i,z as j,Q as k,W as l,X as m,Y as n,Z as o,ee as p,te as q};
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ var _0x5044bf=_0x483b;(function(_0x1600b3,_0x329b24){var _0x1bb7ad=_0x483b,_0x2e5c08=_0x1600b3();while(!![]){try{var _0x1cb457=-parseInt(_0x1bb7ad(0x146))/0x1*(parseInt(_0x1bb7ad(0x158))/0x2)+parseInt(_0x1bb7ad(0x149))/0x3+parseInt(_0x1bb7ad(0x151))/0x4+-parseInt(_0x1bb7ad(0x143))/0x5*(parseInt(_0x1bb7ad(0x150))/0x6)+-parseInt(_0x1bb7ad(0x148))/0x7+-parseInt(_0x1bb7ad(0x157))/0x8*(-parseInt(_0x1bb7ad(0x153))/0x9)+-parseInt(_0x1bb7ad(0x142))/0xa;if(_0x1cb457===_0x329b24)break;else _0x2e5c08['push'](_0x2e5c08['shift']());}catch(_0x3c8598){_0x2e5c08['push'](_0x2e5c08['shift']());}}}(_0x14d2,0x550c8));import{createRequire as _0x42a456}from'module';const require=_0x42a456(import.meta.url);var g=Object['create'],f=Object[_0x5044bf(0x14d)],h=Object[_0x5044bf(0x141)],i=Object['getOwnPropertyNames'],j=Object['getPrototypeOf'],k=Object['prototype']['hasOwnProperty'],m=(_0x5815f2=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x5815f2,{'get':(_0x4ca0ed,_0xf6aaa5)=>(typeof require<'u'?require:_0x4ca0ed)[_0xf6aaa5]}):_0x5815f2)(function(_0x4202c7){var _0x39f602=_0x5044bf,_0x15cd05={'sMOGL':function(_0x12c1b8,_0x289815){return _0x12c1b8<_0x289815;},'WESDQ':function(_0x29a2f8,_0x56719d){return _0x29a2f8(_0x56719d);},'znJCq':function(_0x3bb6f4,_0x25f669){return _0x3bb6f4+_0x25f669;},'YwrPM':_0x39f602(0x14f)};if(_0x15cd05['sMOGL'](typeof require,'u'))return require[_0x39f602(0x147)](this,arguments);throw _0x15cd05[_0x39f602(0x155)](Error,_0x15cd05['znJCq'](_0x15cd05[_0x39f602(0x154)]+_0x4202c7,_0x39f602(0x14e)));}),n=(_0x20712c,_0x26602b)=>()=>(_0x26602b||_0x20712c((_0x26602b={'exports':{}})['exports'],_0x26602b),_0x26602b[_0x5044bf(0x14a)]),l=(_0x40d892,_0x17dc42,_0x35e4a0,_0x39b3fc)=>{var _0x2ad5a5=_0x5044bf,_0xa7bd3b={'ROmaY':function(_0x47aec2,_0x41233b){return _0x47aec2==_0x41233b;},'gaCWR':function(_0x52348e,_0x128595){return _0x52348e(_0x128595);},'oXsVh':function(_0x58d982,_0x1f6ccd){return _0x58d982!==_0x1f6ccd;},'CmhXI':function(_0x842729,_0xc36c2e,_0xbd79ff,_0x3b18e9){return _0x842729(_0xc36c2e,_0xbd79ff,_0x3b18e9);}};if(_0x17dc42&&_0xa7bd3b[_0x2ad5a5(0x14c)](typeof _0x17dc42,_0x2ad5a5(0x14b))||_0xa7bd3b[_0x2ad5a5(0x14c)](typeof _0x17dc42,'function')){for(let _0x5f15eb of _0xa7bd3b['gaCWR'](i,_0x17dc42))!k[_0x2ad5a5(0x152)](_0x40d892,_0x5f15eb)&&_0xa7bd3b[_0x2ad5a5(0x156)](_0x5f15eb,_0x35e4a0)&&_0xa7bd3b['CmhXI'](f,_0x40d892,_0x5f15eb,{'get':()=>_0x17dc42[_0x5f15eb],'enumerable':!(_0x39b3fc=h(_0x17dc42,_0x5f15eb))||_0x39b3fc[_0x2ad5a5(0x144)]});}return _0x40d892;},o=(_0x5db82a,_0x30ab8e,_0x3f0920)=>(_0x3f0920=_0x5db82a!=null?g(j(_0x5db82a)):{},l(_0x30ab8e||!_0x5db82a||!_0x5db82a['__esModule']?f(_0x3f0920,_0x5044bf(0x145),{'value':_0x5db82a,'enumerable':!0x0}):_0x3f0920,_0x5db82a));function _0x14d2(){var _0x1c31cc=['mJy4mJCYvvL0uMfu','y2fSBa','mZa2BNfyrhzh','wxDYue0','v0vtrfe','B1HZvMG','mtm0mta0Ae5MCxrX','mLPurhPiDq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','mJu1mZqWse13Bwnq','mtvrtvjOswq','zw51BwvYywjSzq','zgvMyxvSDa','odC1mtDsC3fmr1y','yxbWBhK','mJi4nJiXnhHwr1brwG','mty0odi5ovvIzhH4zW','zxHWB3j0CW','B2jQzwn0','uK9TyvK','zgvMAw5LuhjVCgvYDhK','iIbPCYbUB3qGC3vWCg9YDgvK','rhLUyw1PyYbYzxf1AxjLig9Mici','nZK2odyWu2TXqNnp'];_0x14d2=function(){return _0x1c31cc;};return _0x14d2();}function _0x483b(_0x2de645,_0x29f40a){_0x2de645=_0x2de645-0x141;var _0x14d200=_0x14d2();var _0x483b35=_0x14d200[_0x2de645];if(_0x483b['KCcBmi']===undefined){var _0x520369=function(_0x32df88){var _0x395f0a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x323422='',_0x1822d6='';for(var _0xc94082=0x0,_0x51a7d3,_0x599210,_0x3760e7=0x0;_0x599210=_0x32df88['charAt'](_0x3760e7++);~_0x599210&&(_0x51a7d3=_0xc94082%0x4?_0x51a7d3*0x40+_0x599210:_0x599210,_0xc94082++%0x4)?_0x323422+=String['fromCharCode'](0xff&_0x51a7d3>>(-0x2*_0xc94082&0x6)):0x0){_0x599210=_0x395f0a['indexOf'](_0x599210);}for(var _0x57aef5=0x0,_0x226a50=_0x323422['length'];_0x57aef5<_0x226a50;_0x57aef5++){_0x1822d6+='%'+('00'+_0x323422['charCodeAt'](_0x57aef5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1822d6);};_0x483b['effrmh']=_0x520369,_0x483b['jDmkLB']={},_0x483b['KCcBmi']=!![];}var _0x1e26e1=_0x14d200[0x0],_0x1151bc=_0x2de645+_0x1e26e1,_0x284d42=_0x483b['jDmkLB'][_0x1151bc];return!_0x284d42?(_0x483b35=_0x483b['effrmh'](_0x483b35),_0x483b['jDmkLB'][_0x1151bc]=_0x483b35):_0x483b35=_0x284d42,_0x483b35;}export{m as a,n as b,o as c};
package/dist/cli.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ function _0x4d40(){const _0x4ec5f3=['mJrjC2vvvLK','mJi0mdeYn0n0thHxqq','mti4mJi4CMXYEhn2','mZC3mtm2nLD3uwHTta','mtqYnZq2ntzLAfr5zNK','mtbRzezdCum','m1bOvuv6wq','mJe1ntG4ngLJtwzqDG','nta4nZjfB3fewfi','mtC1mdaXnfzNv1jssW','nuLnseTWwa'];_0x4d40=function(){return _0x4ec5f3;};return _0x4d40();}(function(_0x36d8ee,_0x4a594a){const _0x2816f8=_0x2fe6,_0x3eade6=_0x36d8ee();while(!![]){try{const _0x4d3aff=parseInt(_0x2816f8(0x9a))/0x1+parseInt(_0x2816f8(0x9f))/0x2*(parseInt(_0x2816f8(0xa3))/0x3)+parseInt(_0x2816f8(0xa4))/0x4+parseInt(_0x2816f8(0x9c))/0x5*(parseInt(_0x2816f8(0xa0))/0x6)+-parseInt(_0x2816f8(0x9b))/0x7+parseInt(_0x2816f8(0x9d))/0x8*(parseInt(_0x2816f8(0x9e))/0x9)+-parseInt(_0x2816f8(0xa2))/0xa*(parseInt(_0x2816f8(0xa1))/0xb);if(_0x4d3aff===_0x4a594a)break;else _0x3eade6['push'](_0x3eade6['shift']());}catch(_0x328930){_0x3eade6['push'](_0x3eade6['shift']());}}}(_0x4d40,0x758f9));function _0x2fe6(_0x2d72ba,_0x1ef07f){_0x2d72ba=_0x2d72ba-0x9a;const _0x4d4037=_0x4d40();let _0x2fe68b=_0x4d4037[_0x2d72ba];if(_0x2fe6['OHNiiN']===undefined){var _0x16d6c8=function(_0x1ab5d8){const _0x34978f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f50b2='',_0x19f50a='';for(let _0x286f0a=0x0,_0x323500,_0x32dcd6,_0x4a5f2c=0x0;_0x32dcd6=_0x1ab5d8['charAt'](_0x4a5f2c++);~_0x32dcd6&&(_0x323500=_0x286f0a%0x4?_0x323500*0x40+_0x32dcd6:_0x32dcd6,_0x286f0a++%0x4)?_0x2f50b2+=String['fromCharCode'](0xff&_0x323500>>(-0x2*_0x286f0a&0x6)):0x0){_0x32dcd6=_0x34978f['indexOf'](_0x32dcd6);}for(let _0x4ecea4=0x0,_0x234fb9=_0x2f50b2['length'];_0x4ecea4<_0x234fb9;_0x4ecea4++){_0x19f50a+='%'+('00'+_0x2f50b2['charCodeAt'](_0x4ecea4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x19f50a);};_0x2fe6['QMIbFN']=_0x16d6c8,_0x2fe6['beGKFh']={},_0x2fe6['OHNiiN']=!![];}const _0x4cbe3e=_0x4d4037[0x0],_0x2a5463=_0x2d72ba+_0x4cbe3e,_0x386718=_0x2fe6['beGKFh'][_0x2a5463];return!_0x386718?(_0x2fe68b=_0x2fe6['QMIbFN'](_0x2fe68b),_0x2fe6['beGKFh'][_0x2a5463]=_0x2fe68b):_0x2fe68b=_0x386718,_0x2fe68b;}import{createRequire as _0x2f50b2}from'module';const require=_0x2f50b2(import.meta.url);import{execute as _0x19f50a}from'@oclif/core';await _0x19f50a({'dir':import.meta.url});
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ const _0x55a00a=_0x27b6;(function(_0x3608b3,_0x5b15fb){const _0x49bd92=_0x27b6,_0x2ba198=_0x3608b3();while(!![]){try{const _0x2dcf0d=-parseInt(_0x49bd92(0x1b7))/0x1*(parseInt(_0x49bd92(0x1bf))/0x2)+parseInt(_0x49bd92(0x1b8))/0x3+-parseInt(_0x49bd92(0x1b5))/0x4*(parseInt(_0x49bd92(0x1c0))/0x5)+-parseInt(_0x49bd92(0x1b2))/0x6+parseInt(_0x49bd92(0x1c2))/0x7+-parseInt(_0x49bd92(0x1c1))/0x8*(parseInt(_0x49bd92(0x1b4))/0x9)+parseInt(_0x49bd92(0x1bd))/0xa;if(_0x2dcf0d===_0x5b15fb)break;else _0x2ba198['push'](_0x2ba198['shift']());}catch(_0x4fbec){_0x2ba198['push'](_0x2ba198['shift']());}}}(_0x3473,0x3adfc));import{createRequire as _0x28804c}from'module';function _0x3473(){const _0x28b3d4=['mteZntyWDe1UrM1i','mtu1mZC2owDrqKTAwa','q2fUy2vSBgLUzY4UlG','mtG2nJeYnKvhAuvJyG','zgvZy3jPChrPB24','mJi1AxDvwwLH','mtq1mJKYr0Xot09g','zxHLy3v0Aw9UlwLK','otfoteTRrg4','mteZntyYu1P0vvr0','rxHLy3v0Aw9Ul3DVCMTMBg93ieLe','zxHPDa','q2fUy2vSBgvKoIa','A0vOu3e','mtaXmZK3ndb1C05JyM4','C3rHCNq','mty3nhnVBM1bwa','ndbNCuLkt1e'];_0x3473=function(){return _0x28b3d4;};return _0x3473();}const require=_0x28804c(import.meta.url);import{d as _0x53844f,e as _0x111a86,f as _0x3bdaa4,g as _0x36ad7f,m as _0x53e43b,n as _0x211d76}from'../chunk-RQQ2PSIJ.js';import'../chunk-RXLEOOTK.js';function _0x27b6(_0x5c76b5,_0x4e70ba){_0x5c76b5=_0x5c76b5-0x1b2;const _0x347357=_0x3473();let _0x27b6ee=_0x347357[_0x5c76b5];if(_0x27b6['TKAwmf']===undefined){var _0x466a4d=function(_0x255311){const _0x15a515='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x494d9c='',_0x3b256d='';for(let _0x2e5fb1=0x0,_0x57fe74,_0x10c000,_0x401bbc=0x0;_0x10c000=_0x255311['charAt'](_0x401bbc++);~_0x10c000&&(_0x57fe74=_0x2e5fb1%0x4?_0x57fe74*0x40+_0x10c000:_0x10c000,_0x2e5fb1++%0x4)?_0x494d9c+=String['fromCharCode'](0xff&_0x57fe74>>(-0x2*_0x2e5fb1&0x6)):0x0){_0x10c000=_0x15a515['indexOf'](_0x10c000);}for(let _0x223167=0x0,_0x205ff6=_0x494d9c['length'];_0x223167<_0x205ff6;_0x223167++){_0x3b256d+='%'+('00'+_0x494d9c['charCodeAt'](_0x223167)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3b256d);};_0x27b6['YBvYRt']=_0x466a4d,_0x27b6['ZWuLwq']={},_0x27b6['TKAwmf']=!![];}const _0x2bf2b3=_0x347357[0x0],_0x5dab3c=_0x5c76b5+_0x2bf2b3,_0x4d9d0a=_0x27b6['ZWuLwq'][_0x5dab3c];return!_0x4d9d0a?(_0x27b6ee=_0x27b6['YBvYRt'](_0x27b6ee),_0x27b6['ZWuLwq'][_0x5dab3c]=_0x27b6ee):_0x27b6ee=_0x4d9d0a,_0x27b6ee;}import{Command as _0x187704,Args as _0x28169f,Flags as _0x133ea}from'@oclif/core';var e=class p extends _0x187704{static [_0x55a00a(0x1b3)]='Cancel\x20a\x20running\x20execution';static ['args']={'execution-id':_0x28169f['string']({'description':_0x55a00a(0x1b9),'required':!0x0})};static ['flags']={'api-url':_0x133ea['string']({'description':'Platform\x20URL\x20override'})};async['run'](){const _0x35fd79=_0x55a00a,_0x55befd={'ubGbZ':function(_0x1ce73b){return _0x1ce73b();},'kEhSq':_0x35fd79(0x1c3),'tqXsp':function(_0x4c3325,_0x4aaa0e){return _0x4c3325(_0x4aaa0e);}};let {args:_0x3fb905}=await this['parse'](p),_0x50db84=_0x3fb905[_0x35fd79(0x1b6)],_0x2a5feb=_0x111a86(),_0x834edb=_0x55befd['ubGbZ'](_0x53844f),_0x23280c=new _0x3bdaa4({'apiUrl':_0x834edb,'apiKey':_0x2a5feb['apiKey']}),_0x475d2a=_0x211d76(_0x55befd[_0x35fd79(0x1bc)]);_0x475d2a[_0x35fd79(0x1be)]();try{await _0x23280c['cancelExecution'](_0x50db84),_0x475d2a['stop'](),_0x55befd['tqXsp'](_0x36ad7f,_0x35fd79(0x1bb)+_0x50db84);}catch(_0x51ddb8){_0x475d2a['stop'](),_0x53e43b(_0x51ddb8),this[_0x35fd79(0x1ba)](0x1);}}};export{e as default};