@anna-ai/cli 0.1.17 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_lifecycle-shared-sbea9HtH.js +65 -0
- package/dist/{agent-DUmINbo4.js → agent-Br6zY2qw.js} +1 -1
- package/dist/app-bundle-upload-DuLalcSt.js +213 -0
- package/dist/app-cache-BEM653Th.js +53 -0
- package/dist/apps-B1Nd8l_t.js +221 -0
- package/dist/apps-BTn9EN0x.js +53 -0
- package/dist/apps-cut-DtEkddIk.js +83 -0
- package/dist/apps-destructive-DSTrcFUP.js +104 -0
- package/dist/apps-discard-y3_IwcbQ.js +44 -0
- package/dist/apps-grants-BGWlpee0.js +34 -0
- package/dist/apps-publish-CaTCanDu.js +265 -0
- package/dist/apps-publish-DfZTOxBJ.js +14 -0
- package/dist/apps-push-B9XT2uwF.js +127 -0
- package/dist/apps-release-BLH9XSxB.js +135 -0
- package/dist/apps-status-DQ9RvlME.js +58 -0
- package/dist/apps-submit-review-DLwCxeAs.js +45 -0
- package/dist/apps-sync-meta-D9eKMMUp.js +72 -0
- package/dist/apps-versions-2Tmk0nsx.js +43 -0
- package/dist/{bridge-Dffh9JUd.js → bridge-BuklhzeE.js} +1 -1
- package/dist/bridge-Id8K8gr-.js +3 -0
- package/dist/bundled-executas-BNOKw4kv.js +161 -0
- package/dist/bundled-executas-CNaV2C_O.js +5 -0
- package/dist/cli.js +334 -20
- package/dist/client-Dn9zThOd.js +150 -0
- package/dist/confirm-DxHkk9Wn.js +37 -0
- package/dist/dev-BS_8yoSm.js +3 -0
- package/dist/{dev-BUetXnfG.js → dev-E7mqXj5S.js} +95 -26
- package/dist/{dev-app-cache-3Pfesngr.js → dev-app-cache-D-r6ZpEk.js} +11 -2
- package/dist/{doctor-Dxkx0eqv.js → doctor-DKrt-Kda.js} +1 -1
- package/dist/executa-cache-BFoUtb4J.js +86 -0
- package/dist/executa-cache-WBkCLic7.js +4 -0
- package/dist/executa-destructive-COQE4Xqi.js +104 -0
- package/dist/{executa-dev-BzhSd_A2.js → executa-dev-BvS9zTpO.js} +11 -11
- package/dist/executa-publish-B88_9gbp.js +9 -0
- package/dist/executa-publish-Ca5V7MyA.js +258 -0
- package/dist/executa-reads-CQ6S8gHY.js +107 -0
- package/dist/executas-Cep6KEo0.js +109 -0
- package/dist/manifest-DGwRap2i.js +188 -0
- package/dist/publish-C1wcf-qI.js +58 -0
- package/dist/{server-6WHNkydc.js → server-_IG8Igje.js} +215 -4
- package/dist/{storage-EQJA_0UW.js → storage-CTkApNQ9.js} +1 -1
- package/dist/token-B9JUPelx.js +87 -0
- package/dist/working-orchestration-Dw9u1Vq0.js +190 -0
- package/package.json +3 -3
- package/templates/executa/go/executa.json +5 -0
- package/templates/executa/node/executa.json +5 -0
- package/templates/executa/python/executa.json +5 -0
- package/dist/apps-ClgEOdKD.js +0 -44
- package/dist/bridge-B1vq1oG3.js +0 -3
- package/dist/dev-Bi6rkb1x.js +0 -3
- package/dist/dev-app-cache-CZ1UjMz0.js +0 -4
- /package/dist/{credentials-DDqx6XMQ.js → credentials-DklPMD22.js} +0 -0
- /package/dist/{dev-account-DCyjamBa.js → dev-account-qRaET1Cp.js} +0 -0
- /package/dist/{executa-init-COEmKDOE.js → executa-init-Jp-h9OI7.js} +0 -0
- /package/dist/{executa-register-66WKIwQQ.js → executa-register-CulDtwYZ.js} +0 -0
- /package/dist/{fixture-CATHyLLI.js → fixture-CYwxbiQD.js} +0 -0
- /package/dist/{host_upload-C_pGOS6p.js → host_upload-GXVkDM5M.js} +0 -0
- /package/dist/{image-bwolX7pa.js → image-DduR91n5.js} +0 -0
- /package/dist/{login-CsIVbrmf.js → login-BGqFjQwH.js} +0 -0
- /package/dist/{logout-gfmKQxMj.js → logout-CGIRKH3y.js} +0 -0
- /package/dist/{runner-DmGLdat0.js → runner-B-hIqx5L.js} +0 -0
- /package/dist/{sampling-CJUDG-mf.js → sampling-CXke7hq1.js} +0 -0
- /package/dist/{whoami-BS5wy-Nh.js → whoami-BoFLEUcp.js} +0 -0
package/dist/apps-ClgEOdKD.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { getAccount } from "./credentials-BTv2IfUZ.js";
|
|
2
|
-
import { listDevApps } from "./dev-app-cache-3Pfesngr.js";
|
|
3
|
-
import { bold, cyan, dim, green, red, yellow } from "kleur/colors";
|
|
4
|
-
|
|
5
|
-
//#region src/commands/apps.ts
|
|
6
|
-
async function runAppsList(opts) {
|
|
7
|
-
const acc = getAccount(opts.account);
|
|
8
|
-
if (!acc) {
|
|
9
|
-
console.error(red("✗ no PAT on disk — run `anna-app login --host <nexus-url>` first."));
|
|
10
|
-
return 2;
|
|
11
|
-
}
|
|
12
|
-
let apps;
|
|
13
|
-
try {
|
|
14
|
-
apps = await listDevApps({
|
|
15
|
-
host: acc.host,
|
|
16
|
-
pat: acc.pat
|
|
17
|
-
});
|
|
18
|
-
} catch (e) {
|
|
19
|
-
console.error(red(`✗ ${e.message}`));
|
|
20
|
-
return 2;
|
|
21
|
-
}
|
|
22
|
-
if (opts.json) {
|
|
23
|
-
console.log(JSON.stringify({
|
|
24
|
-
host: acc.host,
|
|
25
|
-
apps
|
|
26
|
-
}, null, 2));
|
|
27
|
-
return 0;
|
|
28
|
-
}
|
|
29
|
-
console.log(bold(cyan("dev apps installed for")) + " " + cyan(acc.host));
|
|
30
|
-
if (apps.length === 0) {
|
|
31
|
-
console.log(dim(" (none — run `anna-app dev` in a project to register one)"));
|
|
32
|
-
return 0;
|
|
33
|
-
}
|
|
34
|
-
for (const a of apps) {
|
|
35
|
-
const tag = a.is_dev ? yellow("[dev]") : green("[prod]");
|
|
36
|
-
const enabled = a.is_enabled ? green("✓") : red("✗");
|
|
37
|
-
console.log(` ${tag} ${enabled} ${bold(a.slug)} ${dim(`(app_id=${a.app_id}, v=${a.installed_version})`)}`);
|
|
38
|
-
if (a.name && a.name !== a.slug) console.log(` ${dim(a.name)}`);
|
|
39
|
-
}
|
|
40
|
-
return 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
//#endregion
|
|
44
|
-
export { runAppsList };
|
package/dist/bridge-B1vq1oG3.js
DELETED
package/dist/dev-Bi6rkb1x.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./credentials-BTv2IfUZ.js";
|
|
2
|
-
import { ensureDevAppRegistered, ensureDevExecutaRegistered, invalidateDevAppCache, listDevApps, readDevAppCache, readDevExecutaCache, registerDevApp, registerDevExecuta, writeDevAppCache, writeDevExecutaCache } from "./dev-app-cache-3Pfesngr.js";
|
|
3
|
-
|
|
4
|
-
export { ensureDevAppRegistered, ensureDevExecutaRegistered, invalidateDevAppCache };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|