@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.
Files changed (63) hide show
  1. package/dist/_lifecycle-shared-sbea9HtH.js +65 -0
  2. package/dist/{agent-DUmINbo4.js → agent-Br6zY2qw.js} +1 -1
  3. package/dist/app-bundle-upload-DuLalcSt.js +213 -0
  4. package/dist/app-cache-BEM653Th.js +53 -0
  5. package/dist/apps-B1Nd8l_t.js +221 -0
  6. package/dist/apps-BTn9EN0x.js +53 -0
  7. package/dist/apps-cut-DtEkddIk.js +83 -0
  8. package/dist/apps-destructive-DSTrcFUP.js +104 -0
  9. package/dist/apps-discard-y3_IwcbQ.js +44 -0
  10. package/dist/apps-grants-BGWlpee0.js +34 -0
  11. package/dist/apps-publish-CaTCanDu.js +265 -0
  12. package/dist/apps-publish-DfZTOxBJ.js +14 -0
  13. package/dist/apps-push-B9XT2uwF.js +127 -0
  14. package/dist/apps-release-BLH9XSxB.js +135 -0
  15. package/dist/apps-status-DQ9RvlME.js +58 -0
  16. package/dist/apps-submit-review-DLwCxeAs.js +45 -0
  17. package/dist/apps-sync-meta-D9eKMMUp.js +72 -0
  18. package/dist/apps-versions-2Tmk0nsx.js +43 -0
  19. package/dist/{bridge-Dffh9JUd.js → bridge-BuklhzeE.js} +1 -1
  20. package/dist/bridge-Id8K8gr-.js +3 -0
  21. package/dist/bundled-executas-BNOKw4kv.js +161 -0
  22. package/dist/bundled-executas-CNaV2C_O.js +5 -0
  23. package/dist/cli.js +334 -20
  24. package/dist/client-Dn9zThOd.js +150 -0
  25. package/dist/confirm-DxHkk9Wn.js +37 -0
  26. package/dist/dev-BS_8yoSm.js +3 -0
  27. package/dist/{dev-BUetXnfG.js → dev-E7mqXj5S.js} +95 -26
  28. package/dist/{dev-app-cache-3Pfesngr.js → dev-app-cache-D-r6ZpEk.js} +11 -2
  29. package/dist/{doctor-Dxkx0eqv.js → doctor-DKrt-Kda.js} +1 -1
  30. package/dist/executa-cache-BFoUtb4J.js +86 -0
  31. package/dist/executa-cache-WBkCLic7.js +4 -0
  32. package/dist/executa-destructive-COQE4Xqi.js +104 -0
  33. package/dist/{executa-dev-BzhSd_A2.js → executa-dev-BvS9zTpO.js} +11 -11
  34. package/dist/executa-publish-B88_9gbp.js +9 -0
  35. package/dist/executa-publish-Ca5V7MyA.js +258 -0
  36. package/dist/executa-reads-CQ6S8gHY.js +107 -0
  37. package/dist/executas-Cep6KEo0.js +109 -0
  38. package/dist/manifest-DGwRap2i.js +188 -0
  39. package/dist/publish-C1wcf-qI.js +58 -0
  40. package/dist/{server-6WHNkydc.js → server-_IG8Igje.js} +215 -4
  41. package/dist/{storage-EQJA_0UW.js → storage-CTkApNQ9.js} +1 -1
  42. package/dist/token-B9JUPelx.js +87 -0
  43. package/dist/working-orchestration-Dw9u1Vq0.js +190 -0
  44. package/package.json +3 -3
  45. package/templates/executa/go/executa.json +5 -0
  46. package/templates/executa/node/executa.json +5 -0
  47. package/templates/executa/python/executa.json +5 -0
  48. package/dist/apps-ClgEOdKD.js +0 -44
  49. package/dist/bridge-B1vq1oG3.js +0 -3
  50. package/dist/dev-Bi6rkb1x.js +0 -3
  51. package/dist/dev-app-cache-CZ1UjMz0.js +0 -4
  52. /package/dist/{credentials-DDqx6XMQ.js → credentials-DklPMD22.js} +0 -0
  53. /package/dist/{dev-account-DCyjamBa.js → dev-account-qRaET1Cp.js} +0 -0
  54. /package/dist/{executa-init-COEmKDOE.js → executa-init-Jp-h9OI7.js} +0 -0
  55. /package/dist/{executa-register-66WKIwQQ.js → executa-register-CulDtwYZ.js} +0 -0
  56. /package/dist/{fixture-CATHyLLI.js → fixture-CYwxbiQD.js} +0 -0
  57. /package/dist/{host_upload-C_pGOS6p.js → host_upload-GXVkDM5M.js} +0 -0
  58. /package/dist/{image-bwolX7pa.js → image-DduR91n5.js} +0 -0
  59. /package/dist/{login-CsIVbrmf.js → login-BGqFjQwH.js} +0 -0
  60. /package/dist/{logout-gfmKQxMj.js → logout-CGIRKH3y.js} +0 -0
  61. /package/dist/{runner-DmGLdat0.js → runner-B-hIqx5L.js} +0 -0
  62. /package/dist/{sampling-CJUDG-mf.js → sampling-CXke7hq1.js} +0 -0
  63. /package/dist/{whoami-BS5wy-Nh.js → whoami-BoFLEUcp.js} +0 -0
@@ -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 };
@@ -1,3 +0,0 @@
1
- import { BridgeRequestError, PINNED_RUNTIME_VERSION, PythonBridge } from "./bridge-Dffh9JUd.js";
2
-
3
- export { PINNED_RUNTIME_VERSION, PythonBridge };
@@ -1,3 +0,0 @@
1
- import { parseExecutaSpec, runDev } from "./dev-BUetXnfG.js";
2
-
3
- export { parseExecutaSpec, runDev };
@@ -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