@anna-ai/cli 0.1.49 → 0.1.51
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/{account-CPnwqXeh.js → account-C-IeQNNr.js} +1 -1
- package/dist/{agent-DAOr_aiE.js → agent-CX2VzG7e.js} +1 -1
- package/dist/{apps-HbfURK6y.js → apps-BRBufSyX.js} +1 -41
- package/dist/{apps-CzqMRLbS.js → apps-CTIiH6a_.js} +1 -1
- package/dist/apps-cut-35wivw1Z.js +19 -0
- package/dist/{apps-cut-BhTJwILv.js → apps-cut-L7T8b5RS.js} +20 -22
- package/dist/{apps-destructive-PlaU93EX.js → apps-destructive-DcG3T1Mx.js} +2 -2
- package/dist/{apps-discard-CFi-GzpU.js → apps-discard-CKA_m7Yw.js} +7 -7
- package/dist/{apps-grants-DqaX8UTy.js → apps-grants-B5MpWhSO.js} +1 -1
- package/dist/apps-publish-CGfzN7tI.js +92 -0
- package/dist/apps-publish-CUJILNOt.js +22 -0
- package/dist/apps-push-BcYNGSYx.js +20 -0
- package/dist/{app-bundle-upload-Ca0r-kPy.js → apps-push-d1C0eePp.js} +144 -69
- package/dist/{apps-release-DGQv6DDl.js → apps-release-DxRHjEYJ.js} +2 -2
- package/dist/{apps-rename-slug-CCEU_7JJ.js → apps-rename-slug-4_5lsDwg.js} +2 -2
- package/dist/{apps-status-C4Cxc2DF.js → apps-status-hMrRz356.js} +1 -1
- package/dist/{apps-submit-review--hZFZRJ3.js → apps-submit-review-CxoKgexX.js} +1 -1
- package/dist/{apps-sync-meta-DnFwFNl5.js → apps-sync-meta-BwN8g6TO.js} +3 -3
- package/dist/{apps-versions-C7NzG5Dk.js → apps-versions-gfG_sBFv.js} +1 -1
- package/dist/{bridge-sFHqOOat.js → bridge-Bo8eu3-d.js} +1 -1
- package/dist/bridge-nv-le8ff.js +3 -0
- package/dist/cli.js +45 -45
- package/dist/{dev-Bfv3WQC0.js → dev-BB1oS-1o.js} +4 -4
- package/dist/dev-DAkNdyJ-.js +4 -0
- package/dist/{doctor-CHnkbamq.js → doctor-qFe9sXxR.js} +1 -1
- package/dist/{executa-destructive-Du7RGJgn.js → executa-destructive-C06mgvfJ.js} +1 -1
- package/dist/{executa-dev-DYO87dzg.js → executa-dev-ONm9di1H.js} +8 -8
- package/dist/executa-install-DKMwLq-V.js +7 -0
- package/dist/{executa-install-DAposiBw.js → executa-install-n1oRAoYJ.js} +1 -1
- package/dist/{executa-publish-BKnsUoZq.js → executa-publish-BuakG1RK.js} +38 -11
- package/dist/{executa-publish-6awuH4Ma.js → executa-publish-CVlMaHIY.js} +3 -3
- package/dist/{executa-upload-binaries-FWM2yXfB.js → executa-upload-binaries-BVWs6MFF.js} +2 -2
- package/dist/{executa-upload-binaries-DwWQ18Dq.js → executa-upload-binaries-D0JWYOtK.js} +1 -1
- package/dist/{listing-meta-DgweMStT.js → listing-meta-rIni8tjd.js} +1 -1
- package/dist/{manifest-B_DjigtQ.js → manifest-BCHiC184.js} +49 -3
- package/dist/{publish-D5O5JKRb.js → publish-CIaosgo4.js} +13 -10
- package/dist/{server-Dr_htFv8.js → server-poDjwty-.js} +1 -1
- package/dist/{storage-aii8EyPC.js → storage-CZ4c4ibf.js} +1 -1
- package/dist/{working-orchestration-CpBJLs50.js → working-orchestration-BRU7FV-b.js} +9 -5
- package/package.json +3 -3
- package/dist/apps-publish-4IIbF2xr.js +0 -17
- package/dist/apps-publish-8N9x4VEM.js +0 -272
- package/dist/apps-push-CnSeLwdo.js +0 -152
- package/dist/bridge-BP28T06H.js +0 -3
- package/dist/dev-CnDh2_7r.js +0 -4
- package/dist/executa-install-LaAOSkY0.js +0 -7
- /package/dist/{confirm-ChZAVrZe.js → confirm-DplLyBSG.js} +0 -0
- /package/dist/{dev-account-CfVdGa9j.js → dev-account-IrYL4u4F.js} +0 -0
- /package/dist/{dev-app-cache-Dw2JESld.js → dev-app-cache-CScRa7c3.js} +0 -0
- /package/dist/{executa-init-DKy7DMSD.js → executa-init-BM0HR-K7.js} +0 -0
- /package/dist/{executa-reads-BYKUADoL.js → executa-reads-BJpmB-B1.js} +0 -0
- /package/dist/{executa-register-CmqKsoAU.js → executa-register-CDKG3L5c.js} +0 -0
- /package/dist/{executa-trusted-publisher-BGqz6hMt.js → executa-trusted-publisher-n9IbAO5D.js} +0 -0
- /package/dist/{fixture-BF1Z0Rry.js → fixture-CizypXzX.js} +0 -0
- /package/dist/{host_upload-CW_2Fxg6.js → host_upload-BvzJZKAO.js} +0 -0
- /package/dist/{image-B4UrufYH.js → image-C61zRJC8.js} +0 -0
- /package/dist/{login-DbETuUxy.js → login-BleVDjXE.js} +0 -0
- /package/dist/{logout-BzIEf-HU.js → logout-BO4brBaY.js} +0 -0
- /package/dist/{runner-Dq3cluPM.js → runner-aq0n-pdr.js} +0 -0
- /package/dist/{sampling-BpJcd6BC.js → sampling-BQwF3O-4.js} +0 -0
- /package/dist/{token-TgBQumgy.js → token-DeAZLyVz.js} +0 -0
- /package/dist/{whoami-Bn38ns8r.js → whoami-rvVc_nQ9.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./credentials-BTv2IfUZ.js";
|
|
2
|
-
import { findAppBySlug, listVersions } from "./apps-
|
|
2
|
+
import { findAppBySlug, listVersions } from "./apps-BRBufSyX.js";
|
|
3
3
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
4
4
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
5
5
|
import { bold, cyan, dim, green, red, yellow } from "kleur/colors";
|
|
@@ -9,7 +9,7 @@ import { createInterface } from "node:readline";
|
|
|
9
9
|
* `uvx <pkg>@<version>` so end users always run the dispatcher version
|
|
10
10
|
* the CLI was tested against.
|
|
11
11
|
*/
|
|
12
|
-
const PINNED_RUNTIME_VERSION = "0.2.
|
|
12
|
+
const PINNED_RUNTIME_VERSION = "0.2.0a23";
|
|
13
13
|
/**
|
|
14
14
|
* Throwable from a {@link RequestHandler} to send a structured JSON-RPC
|
|
15
15
|
* error back to the python bridge with a stable string ``code`` (e.g.
|
package/dist/cli.js
CHANGED
|
@@ -474,7 +474,7 @@ program.command("validate").description("Run schema + ACL checks on a manifest+b
|
|
|
474
474
|
process.exit(code);
|
|
475
475
|
});
|
|
476
476
|
program.command("dev").description("Run a local harness (in-process dispatcher + iframe + SSE relay)").option("--manifest <path>", "manifest.json path", "manifest.json").option("--bundle <dir>", "bundle directory (default: ./bundle)").option("--slug <slug>", "App slug (overrides manifest.slug/name)").option("--view <name>", "View name to open (default: manifest default)").option("--matrix-nexus-root <path>", "matrix-nexus checkout (auto-detected if omitted; can also use $ANNA_NEXUS_ROOT)").option("--port <number>", "HTTP port", "5180").option("--user-id <id>", "Harness user_id", "1").option("--cwd <dir>", "Project root (default: cwd)").option("--no-watch", "Disable bundle file watcher (default: enabled)").option("--executa <spec>", "Explicit executa registration; repeatable. Spec: comma-separated key=value (dir=<path>[,tool_id=<id>][,type=python|node|go|binary][,command=\"<argv>\"]). When only `dir=` is given, the executa is auto-detected from executa.json / pyproject.toml / package.json / go.mod. Overrides directory auto-discovery under <manifest-dir>/executas/.", (val, prev) => prev ? [...prev, val] : [val]).option("--no-llm", "Disable LLM bridge (anna.llm/agent return llm_disabled)").option("--mock-llm <fixture>", "Serve canned LLM responses from a JSONL fixture").option("--llm-account <host>", "Saved account host to use (default: current)").option("--llm-app-slug <slug>", "Override the manifest slug used to register / look up the dev AnnaApp (default: manifest.slug)").option("--storage <mode>", "Storage backend: \"legacy\" (in-memory runtime_state, default) or \"aps\" (real nexus APS via /api/v1/storage/* — requires `anna-app login`).", "legacy").option("--web <mode>", "Web backend: \"local\" (keyless ddgs + stdlib fetcher, free, default) or \"real\" (platform web service via /api/v1/copilot/app/web/* — production provider chain + normal CU billing; requires `anna-app login`).", "local").action(async (opts) => {
|
|
477
|
-
const { runDev, parseExecutaSpec } = await import("./dev-
|
|
477
|
+
const { runDev, parseExecutaSpec } = await import("./dev-DAkNdyJ-.js");
|
|
478
478
|
const cwd = opts.cwd ?? process.cwd();
|
|
479
479
|
let executas;
|
|
480
480
|
if (opts.executa && opts.executa.length > 0) {
|
|
@@ -510,7 +510,7 @@ program.command("dev").description("Run a local harness (in-process dispatcher +
|
|
|
510
510
|
});
|
|
511
511
|
const fixture = program.command("fixture").description("Inspect / replay harness recordings (Phase 6)");
|
|
512
512
|
fixture.command("verify <file>").description("Schema + invariant checks on a harness JSONL recording").option("--json", "Emit machine-readable JSON", false).action(async (file, opts) => {
|
|
513
|
-
const { runFixtureVerify } = await import("./fixture-
|
|
513
|
+
const { runFixtureVerify } = await import("./fixture-CizypXzX.js");
|
|
514
514
|
const code = await runFixtureVerify({
|
|
515
515
|
file,
|
|
516
516
|
json: opts.json
|
|
@@ -518,7 +518,7 @@ fixture.command("verify <file>").description("Schema + invariant checks on a har
|
|
|
518
518
|
process.exit(code);
|
|
519
519
|
});
|
|
520
520
|
fixture.command("summarize <file>").description("Print a human-readable digest of a harness recording").option("--json", "Emit machine-readable JSON", false).action(async (file, opts) => {
|
|
521
|
-
const { runFixtureSummarize } = await import("./fixture-
|
|
521
|
+
const { runFixtureSummarize } = await import("./fixture-CizypXzX.js");
|
|
522
522
|
const code = await runFixtureSummarize({
|
|
523
523
|
file,
|
|
524
524
|
json: opts.json
|
|
@@ -526,7 +526,7 @@ fixture.command("summarize <file>").description("Print a human-readable digest o
|
|
|
526
526
|
process.exit(code);
|
|
527
527
|
});
|
|
528
528
|
fixture.command("replay <file>").description("Dry-run replay of a harness recording (Phase 6 MVP)").option("--manifest <path>", "manifest.json path", "manifest.json").action(async (file, opts) => {
|
|
529
|
-
const { runFixtureReplay } = await import("./fixture-
|
|
529
|
+
const { runFixtureReplay } = await import("./fixture-CizypXzX.js");
|
|
530
530
|
const code = await runFixtureReplay({
|
|
531
531
|
file,
|
|
532
532
|
manifest: opts.manifest
|
|
@@ -534,12 +534,12 @@ fixture.command("replay <file>").description("Dry-run replay of a harness record
|
|
|
534
534
|
process.exit(code);
|
|
535
535
|
});
|
|
536
536
|
program.command("doctor").description("Check environment for `anna-app dev` (uv, matrix-nexus, dev key)").option("--matrix-nexus-root <path>", "matrix-nexus checkout (optional)").action(async (opts) => {
|
|
537
|
-
const { runDoctor } = await import("./doctor-
|
|
537
|
+
const { runDoctor } = await import("./doctor-qFe9sXxR.js");
|
|
538
538
|
const code = await runDoctor({ matrixNexusRoot: opts.matrixNexusRoot });
|
|
539
539
|
process.exit(code);
|
|
540
540
|
});
|
|
541
541
|
program.command("login").description("Device-flow login against a nexus host; saves a PAT to ~/.config/anna/credentials.json").requiredOption("--host <url>", "nexus base URL, e.g. https://nexus.example.com").option("--no-browser", "Do not open a browser window automatically", false).action(async (opts) => {
|
|
542
|
-
const { runLogin } = await import("./login-
|
|
542
|
+
const { runLogin } = await import("./login-BleVDjXE.js");
|
|
543
543
|
const code = await runLogin({
|
|
544
544
|
host: opts.host,
|
|
545
545
|
noBrowser: opts.browser === false
|
|
@@ -547,7 +547,7 @@ program.command("login").description("Device-flow login against a nexus host; sa
|
|
|
547
547
|
process.exit(code);
|
|
548
548
|
});
|
|
549
549
|
program.command("logout").description("Remove a saved PAT entry").option("--host <url>", "Account to remove (default: current)").option("--all", "Remove every saved account", false).action(async (opts) => {
|
|
550
|
-
const { runLogout } = await import("./logout-
|
|
550
|
+
const { runLogout } = await import("./logout-BO4brBaY.js");
|
|
551
551
|
const code = await runLogout({
|
|
552
552
|
host: opts.host,
|
|
553
553
|
all: opts.all
|
|
@@ -555,13 +555,13 @@ program.command("logout").description("Remove a saved PAT entry").option("--host
|
|
|
555
555
|
process.exit(code);
|
|
556
556
|
});
|
|
557
557
|
program.command("whoami").description("Show the current account (and any others)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
558
|
-
const { runWhoami } = await import("./whoami-
|
|
558
|
+
const { runWhoami } = await import("./whoami-rvVc_nQ9.js");
|
|
559
559
|
const code = await runWhoami({ json: opts.json });
|
|
560
560
|
process.exit(code);
|
|
561
561
|
});
|
|
562
562
|
const account = program.command("account").description("Manage your developer account (handle / namespace)");
|
|
563
563
|
account.command("set-handle <handle>").description("Set or rename your developer handle — the @handle namespace your apps publish under (@handle/slug). Required before creating your first app.").option("--host <url>", "Account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (handle, opts) => {
|
|
564
|
-
const { runAccountSetHandle } = await import("./account-
|
|
564
|
+
const { runAccountSetHandle } = await import("./account-C-IeQNNr.js");
|
|
565
565
|
const code = await runAccountSetHandle({
|
|
566
566
|
handle,
|
|
567
567
|
account: opts.host,
|
|
@@ -581,7 +581,7 @@ executa.command("init <dir>").description("Scaffold a standalone Executa plugin
|
|
|
581
581
|
console.error(`✗ unknown template "${opts.template}" — expected python | node | go`);
|
|
582
582
|
process.exit(2);
|
|
583
583
|
}
|
|
584
|
-
const { runExecutaInit } = await import("./executa-init-
|
|
584
|
+
const { runExecutaInit } = await import("./executa-init-BM0HR-K7.js");
|
|
585
585
|
const code = runExecutaInit({
|
|
586
586
|
targetDir: dir,
|
|
587
587
|
slug,
|
|
@@ -592,12 +592,12 @@ executa.command("init <dir>").description("Scaffold a standalone Executa plugin
|
|
|
592
592
|
process.exit(code);
|
|
593
593
|
});
|
|
594
594
|
executa.command("register").description("Register a HARNESS AnnaApp(kind=executa) so `executa dev --storage real` (and agent / sampling / image / upload real-mode flows) can mint tokens for a local executa subprocess. Does NOT publish the executa itself — use `executa publish` for that. Lists/deletes via `apps list` / `apps delete`.").requiredOption("--tool-id <id>", "Executa tool_id (matches executa.json tool_id / executable_name)").option("--slug <slug>", "App slug (default: executa-<tool_id>; must be lowercase + hyphens)").option("--name <name>", "Human-readable display name (default: <tool_id>)").option("--account <host>", "Saved account host (default: current)").action(async (opts) => {
|
|
595
|
-
const { runExecutaRegister } = await import("./executa-register-
|
|
595
|
+
const { runExecutaRegister } = await import("./executa-register-CDKG3L5c.js");
|
|
596
596
|
const code = await runExecutaRegister(opts);
|
|
597
597
|
process.exit(code);
|
|
598
598
|
});
|
|
599
599
|
executa.command("install").description("Install a local-dev shim for an Executa under its minted tool_id so the Agent can discover it via 'Rediscover Local' (for distribution_type: local). Resolves the tool_id from .anna/executa.json (written by `executa publish` / `apps push`) unless --tool-id is given.").option("--dir <path>", "Executa project dir (default: CWD)").option("--tool-id <id>", "Install the shim under this exact id (default: minted id from .anna/executa.json, else executa.json tool_id)").option("--bin-dir <path>", "Install dir for the shim (default: ~/.anna/executa/bin)").option("--force", "Overwrite an existing shim of the same name", false).option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
600
|
-
const { runExecutaInstall } = await import("./executa-install-
|
|
600
|
+
const { runExecutaInstall } = await import("./executa-install-DKMwLq-V.js");
|
|
601
601
|
const code = await runExecutaInstall({
|
|
602
602
|
dir: opts.dir,
|
|
603
603
|
toolId: opts.toolId,
|
|
@@ -608,7 +608,7 @@ executa.command("install").description("Install a local-dev shim for an Executa
|
|
|
608
608
|
process.exit(code);
|
|
609
609
|
});
|
|
610
610
|
executa.command("dev").description("Run one Executa plugin in isolation (REPL or one-shot describe/invoke)").option("--dir <path>", "Executa project dir (default: CWD)").option("--spec <spec>", "Override discovery: comma-separated key=value (tool_id=...,type=...,command=\"...\")").option("--describe", "Print MANIFEST and exit", false).option("--health", "Print health and exit", false).option("--invoke <tool>", "Invoke one tool and exit").option("--args <json>", "JSON object passed as tool arguments", "{}").option("--json", "One-shot: emit compact JSON (no banners)", false).option("--no-sampling", "Hard-disable sampling reverse RPC (returns sampling_disabled)").option("--mock-sampling <fixture>", "Serve canned sampling responses from a JSONL fixture (offline)").option("--sampling-unsupported-format", "Simulate a model without json_schema support — exercises responseFormat onUnsupported branches (-32010 / downgrade)").option("--app-slug <slug>", "Forward sampling to nexus on behalf of this dev AnnaApp slug").option("--sampling-account <host>", "Saved account host for nexus sampling (default: current)").option("--no-agent", "Hard-disable agent reverse RPC (returns agent_not_granted)").option("--mock-agent <fixture>", "Serve canned agent/* responses from a JSONL fixture (offline)").option("--agent-account <host>", "Saved account host for nexus agent (default: --sampling-account or current)").option("--storage <mode>", "Storage backend: off | memory | mock | real (default: memory)").option("--mock-storage <fixture>", "Serve canned storage/* + files/* responses from a JSONL fixture").option("--storage-account <host>", "Saved account host for nexus storage (default: --sampling-account or current)").option("--storage-scopes <list>", "Comma-separated scopes for real storage tokens (default: user,app,tool)").option("--no-image", "Hard-disable image reverse RPC (returns image_not_granted)").option("--mock-image <fixture>", "Serve canned image/generate + image/edit responses from a JSONL fixture").option("--image-account <host>", "Saved account host for nexus image (default: --sampling-account or current)").option("--no-upload", "Hard-disable host/uploadFile reverse RPC (returns upload_not_granted)").option("--mock-upload <fixture>", "Serve canned host/uploadFile responses from a JSONL fixture").option("--upload-account <host>", "Saved account host for nexus uploads (default: --sampling-account or current)").action(async (opts) => {
|
|
611
|
-
const { runExecutaDev } = await import("./executa-dev-
|
|
611
|
+
const { runExecutaDev } = await import("./executa-dev-ONm9di1H.js");
|
|
612
612
|
const storageMode = opts.storage === void 0 ? void 0 : (() => {
|
|
613
613
|
const m = opts.storage;
|
|
614
614
|
if (m === "off" || m === "memory" || m === "mock" || m === "real") return m;
|
|
@@ -646,14 +646,14 @@ executa.command("dev").description("Run one Executa plugin in isolation (REPL or
|
|
|
646
646
|
});
|
|
647
647
|
const apps = program.command("apps").description("Anna App publish lifecycle commands");
|
|
648
648
|
apps.command("list").description("List the Anna Apps you authored, with lifecycle status").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
649
|
-
const { runAppsList } = await import("./apps-
|
|
649
|
+
const { runAppsList } = await import("./apps-CTIiH6a_.js");
|
|
650
650
|
process.exit(await runAppsList({
|
|
651
651
|
account: opts.account,
|
|
652
652
|
json: opts.json
|
|
653
653
|
}));
|
|
654
654
|
});
|
|
655
655
|
apps.command("rename-slug <new-slug>").description("Rename an app's public slug (DRAFT/REJECTED, never-published, zero installs only). Updates local app.json + .anna/app.json on success.").option("--cwd <dir>", "Project root (default: cwd)").option("--manifest <path>", "manifest.json path", "manifest.json").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (newSlug, opts) => {
|
|
656
|
-
const { runAppsRenameSlug } = await import("./apps-rename-slug-
|
|
656
|
+
const { runAppsRenameSlug } = await import("./apps-rename-slug-4_5lsDwg.js");
|
|
657
657
|
process.exit(await runAppsRenameSlug({
|
|
658
658
|
newSlug,
|
|
659
659
|
cwd: opts.cwd,
|
|
@@ -662,7 +662,7 @@ apps.command("rename-slug <new-slug>").description("Rename an app's public slug
|
|
|
662
662
|
json: opts.json
|
|
663
663
|
}));
|
|
664
664
|
});
|
|
665
|
-
apps.command("publish").description("Publish
|
|
665
|
+
apps.command("publish").description("Publish an Anna App version (composite: push + cut, freeze at cut)").option("--cwd <dir>", "Project root (default: cwd)").option("--manifest <path>", "manifest.json path", "manifest.json").option("--bump <kind>", "Bump version: patch|minor|major").option("--no-write", "Skip writing the bumped version back to disk", false).option("--dry-run", "Resolve identity + diff but don't upload", false).option("--executa-id <handle=id>", "Override a bundled executa handle with a real tool_id (repeatable)", (val, prev) => [...prev, val], []).option("--skip-executa-publish", "Use cached/overridden tool_ids; don't recursively publish bundled executas", false).option("--no-bundled-executas", "Disable bundled-executa orchestration (legacy behaviour)").option("--no-bundle", "Skip UI bundle upload even if the manifest declares a UI").option("--bundle-dir <dir>", "UI bundle directory (default: <cwd>/bundle)").option("--profile <name>", "Select a bundled executa `distribution.profiles` entry for this run (overrides each executa.json `active`, e.g. --profile local)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
666
666
|
if (opts.bump && ![
|
|
667
667
|
"patch",
|
|
668
668
|
"minor",
|
|
@@ -671,7 +671,7 @@ apps.command("publish").description("Publish or update an Anna App (manifest.jso
|
|
|
671
671
|
console.error(`✗ --bump must be patch|minor|major (got: ${opts.bump})`);
|
|
672
672
|
process.exit(2);
|
|
673
673
|
}
|
|
674
|
-
const { runAppsPublish } = await import("./apps-publish-
|
|
674
|
+
const { runAppsPublish } = await import("./apps-publish-CUJILNOt.js");
|
|
675
675
|
process.exit(await runAppsPublish({
|
|
676
676
|
cwd: opts.cwd,
|
|
677
677
|
manifest: opts.manifest,
|
|
@@ -705,7 +705,7 @@ apps.command("push").description("Upsert the mutable working draft (manifest + b
|
|
|
705
705
|
process.exit(2);
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
|
-
const { runAppsPush } = await import("./apps-push-
|
|
708
|
+
const { runAppsPush } = await import("./apps-push-BcYNGSYx.js");
|
|
709
709
|
process.exit(await runAppsPush({
|
|
710
710
|
cwd: opts.cwd,
|
|
711
711
|
manifest: opts.manifest,
|
|
@@ -725,7 +725,7 @@ apps.command("push").description("Upsert the mutable working draft (manifest + b
|
|
|
725
725
|
}));
|
|
726
726
|
});
|
|
727
727
|
apps.command("cut <version>").description("Snapshot the working draft into an immutable version (freeze deps)").option("--changelog <text>", "Override the working draft changelog for this version").option("--slug <slug>", "App slug (default: resolve from .anna/app.json cache)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--dry-run", "Resolve target but don't cut", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (version, opts) => {
|
|
728
|
-
const { runAppsCut } = await import("./apps-cut-
|
|
728
|
+
const { runAppsCut } = await import("./apps-cut-35wivw1Z.js");
|
|
729
729
|
process.exit(await runAppsCut({
|
|
730
730
|
version,
|
|
731
731
|
changelog: opts.changelog,
|
|
@@ -737,7 +737,7 @@ apps.command("cut <version>").description("Snapshot the working draft into an im
|
|
|
737
737
|
}));
|
|
738
738
|
});
|
|
739
739
|
apps.command("discard").description("Drop the mutable working draft (leaves cut versions intact)").option("--slug <slug>", "App slug (default: resolve from .anna/app.json cache)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--dry-run", "Resolve target but don't discard", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
740
|
-
const { runAppsDiscard } = await import("./apps-discard-
|
|
740
|
+
const { runAppsDiscard } = await import("./apps-discard-CKA_m7Yw.js");
|
|
741
741
|
process.exit(await runAppsDiscard({
|
|
742
742
|
slug: opts.slug,
|
|
743
743
|
cwd: opts.cwd,
|
|
@@ -747,7 +747,7 @@ apps.command("discard").description("Drop the mutable working draft (leaves cut
|
|
|
747
747
|
}));
|
|
748
748
|
});
|
|
749
749
|
apps.command("release <version>").description("Freeze & publish an existing remote version (go live)").option("--slug <slug>", "App slug (default: resolve from .anna/app.json cache)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--allow-create", "If the version isn't on the server, run 'apps publish' first, then release", false).option("--dry-run", "Resolve target + pre-flight but don't publish", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (version, opts) => {
|
|
750
|
-
const { runAppsRelease } = await import("./apps-release-
|
|
750
|
+
const { runAppsRelease } = await import("./apps-release-DxRHjEYJ.js");
|
|
751
751
|
process.exit(await runAppsRelease({
|
|
752
752
|
version,
|
|
753
753
|
slug: opts.slug,
|
|
@@ -759,7 +759,7 @@ apps.command("release <version>").description("Freeze & publish an existing remo
|
|
|
759
759
|
}));
|
|
760
760
|
});
|
|
761
761
|
apps.command("sync-meta").description("Push mutable store metadata (name/tagline/…) from the manifest").option("--cwd <dir>", "Project root (default: cwd)").option("--manifest <path>", "manifest.json path", "manifest.json").option("--logo <path>", "Local logo file to upload (overrides app.json logo_file)").option("--dry-run", "Print the metadata diff but don't PATCH", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
762
|
-
const { runAppsSyncMeta } = await import("./apps-sync-meta-
|
|
762
|
+
const { runAppsSyncMeta } = await import("./apps-sync-meta-BwN8g6TO.js");
|
|
763
763
|
process.exit(await runAppsSyncMeta({
|
|
764
764
|
cwd: opts.cwd,
|
|
765
765
|
manifest: opts.manifest,
|
|
@@ -770,7 +770,7 @@ apps.command("sync-meta").description("Push mutable store metadata (name/tagline
|
|
|
770
770
|
}));
|
|
771
771
|
});
|
|
772
772
|
apps.command("submit-review [slug]").description("Move an app into review (DRAFT/REJECTED → PENDING_REVIEW)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
773
|
-
const { runAppsSubmitReview } = await import("./apps-submit-review
|
|
773
|
+
const { runAppsSubmitReview } = await import("./apps-submit-review-CxoKgexX.js");
|
|
774
774
|
process.exit(await runAppsSubmitReview({
|
|
775
775
|
slug,
|
|
776
776
|
cwd: opts.cwd,
|
|
@@ -779,7 +779,7 @@ apps.command("submit-review [slug]").description("Move an app into review (DRAFT
|
|
|
779
779
|
}));
|
|
780
780
|
});
|
|
781
781
|
apps.command("status <slug>").description("Show server-known state for one Anna App").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
782
|
-
const { runAppsStatus } = await import("./apps-status-
|
|
782
|
+
const { runAppsStatus } = await import("./apps-status-hMrRz356.js");
|
|
783
783
|
process.exit(await runAppsStatus({
|
|
784
784
|
slug,
|
|
785
785
|
account: opts.account,
|
|
@@ -787,7 +787,7 @@ apps.command("status <slug>").description("Show server-known state for one Anna
|
|
|
787
787
|
}));
|
|
788
788
|
});
|
|
789
789
|
apps.command("versions <slug>").description("List all server versions of one Anna App").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
790
|
-
const { runAppsVersions } = await import("./apps-versions-
|
|
790
|
+
const { runAppsVersions } = await import("./apps-versions-gfG_sBFv.js");
|
|
791
791
|
process.exit(await runAppsVersions({
|
|
792
792
|
slug,
|
|
793
793
|
account: opts.account,
|
|
@@ -795,7 +795,7 @@ apps.command("versions <slug>").description("List all server versions of one Ann
|
|
|
795
795
|
}));
|
|
796
796
|
});
|
|
797
797
|
apps.command("grants <slug>").description("Show currently granted scopes/quota for one Anna App").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
798
|
-
const { runAppsGrants } = await import("./apps-grants-
|
|
798
|
+
const { runAppsGrants } = await import("./apps-grants-B5MpWhSO.js");
|
|
799
799
|
process.exit(await runAppsGrants({
|
|
800
800
|
slug,
|
|
801
801
|
account: opts.account,
|
|
@@ -803,7 +803,7 @@ apps.command("grants <slug>").description("Show currently granted scopes/quota f
|
|
|
803
803
|
}));
|
|
804
804
|
});
|
|
805
805
|
apps.command("unpublish <slug>").description("Flip a PUBLISHED app back to APPROVED (private)").option("--yes", "Acknowledge the destructive operation", false).option("--confirm <slug>", "Slug confirmation (must match target)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
806
|
-
const { runAppsUnpublish } = await import("./apps-destructive-
|
|
806
|
+
const { runAppsUnpublish } = await import("./apps-destructive-DcG3T1Mx.js");
|
|
807
807
|
process.exit(await runAppsUnpublish({
|
|
808
808
|
slug,
|
|
809
809
|
yes: opts.yes,
|
|
@@ -813,7 +813,7 @@ apps.command("unpublish <slug>").description("Flip a PUBLISHED app back to APPRO
|
|
|
813
813
|
}));
|
|
814
814
|
});
|
|
815
815
|
apps.command("archive <slug>").description("Archive an Anna App (hides it from end users)").option("--yes", "Acknowledge the destructive operation", false).option("--confirm <slug>", "Slug confirmation (must match target)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
816
|
-
const { runAppsArchive } = await import("./apps-destructive-
|
|
816
|
+
const { runAppsArchive } = await import("./apps-destructive-DcG3T1Mx.js");
|
|
817
817
|
process.exit(await runAppsArchive({
|
|
818
818
|
slug,
|
|
819
819
|
yes: opts.yes,
|
|
@@ -823,7 +823,7 @@ apps.command("archive <slug>").description("Archive an Anna App (hides it from e
|
|
|
823
823
|
}));
|
|
824
824
|
});
|
|
825
825
|
apps.command("unarchive <slug>").description("Restore an archived Anna App back to APPROVED").option("--yes", "Acknowledge the operation", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
826
|
-
const { runAppsUnarchive } = await import("./apps-destructive-
|
|
826
|
+
const { runAppsUnarchive } = await import("./apps-destructive-DcG3T1Mx.js");
|
|
827
827
|
process.exit(await runAppsUnarchive({
|
|
828
828
|
slug,
|
|
829
829
|
yes: opts.yes,
|
|
@@ -832,7 +832,7 @@ apps.command("unarchive <slug>").description("Restore an archived Anna App back
|
|
|
832
832
|
}));
|
|
833
833
|
});
|
|
834
834
|
apps.command("delete <slug>").description("Hard-delete an Anna App (refused by server if installs exist)").option("--yes", "Acknowledge the destructive operation", false).option("--confirm <slug>", "Slug confirmation (must match target)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
835
|
-
const { runAppsDelete } = await import("./apps-destructive-
|
|
835
|
+
const { runAppsDelete } = await import("./apps-destructive-DcG3T1Mx.js");
|
|
836
836
|
process.exit(await runAppsDelete({
|
|
837
837
|
slug,
|
|
838
838
|
yes: opts.yes,
|
|
@@ -842,14 +842,14 @@ apps.command("delete <slug>").description("Hard-delete an Anna App (refused by s
|
|
|
842
842
|
}));
|
|
843
843
|
});
|
|
844
844
|
executa.command("list").description("List Executas owned by the current PAT").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
845
|
-
const { runExecutaList } = await import("./executa-reads-
|
|
845
|
+
const { runExecutaList } = await import("./executa-reads-BJpmB-B1.js");
|
|
846
846
|
process.exit(await runExecutaList({
|
|
847
847
|
account: opts.account,
|
|
848
848
|
json: opts.json
|
|
849
849
|
}));
|
|
850
850
|
});
|
|
851
851
|
executa.command("status <ref>").description("Show server-known state for one Executa (slug or tool_id)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (ref, opts) => {
|
|
852
|
-
const { runExecutaStatus } = await import("./executa-reads-
|
|
852
|
+
const { runExecutaStatus } = await import("./executa-reads-BJpmB-B1.js");
|
|
853
853
|
process.exit(await runExecutaStatus({
|
|
854
854
|
ref,
|
|
855
855
|
account: opts.account,
|
|
@@ -857,7 +857,7 @@ executa.command("status <ref>").description("Show server-known state for one Exe
|
|
|
857
857
|
}));
|
|
858
858
|
});
|
|
859
859
|
executa.command("versions <ref>").description("List immutable version snapshots for one Executa").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (ref, opts) => {
|
|
860
|
-
const { runExecutaVersions } = await import("./executa-reads-
|
|
860
|
+
const { runExecutaVersions } = await import("./executa-reads-BJpmB-B1.js");
|
|
861
861
|
process.exit(await runExecutaVersions({
|
|
862
862
|
ref,
|
|
863
863
|
account: opts.account,
|
|
@@ -873,7 +873,7 @@ executa.command("publish").description("Mint or update an Executa (executa.json
|
|
|
873
873
|
console.error(`✗ --bump must be patch|minor|major (got: ${opts.bump})`);
|
|
874
874
|
process.exit(2);
|
|
875
875
|
}
|
|
876
|
-
const { runExecutaPublish } = await import("./executa-publish-
|
|
876
|
+
const { runExecutaPublish } = await import("./executa-publish-CVlMaHIY.js");
|
|
877
877
|
process.exit(await runExecutaPublish({
|
|
878
878
|
cwd: opts.cwd,
|
|
879
879
|
manifest: opts.manifest,
|
|
@@ -887,7 +887,7 @@ executa.command("publish").description("Mint or update an Executa (executa.json
|
|
|
887
887
|
}));
|
|
888
888
|
});
|
|
889
889
|
executa.command("upload-binaries").description("Push the local binary_artifacts declared in executa.json straight to the platform CDN (no public source URL needed — works for private repos). Requires a minted identity (.anna/executa.json from `executa publish` / `apps push`) or --tool-id.").option("--dir <path>", "Executa project dir (default: CWD)").option("--dry-run", "Hash artifacts + validate the plan server-side without uploading", false).option("--oidc", "Mint the upload token from the GitHub Actions OIDC id-token instead of a PAT (zero long-term secrets; needs `permissions: id-token: write` and a registered trusted publisher)", false).option("--tool-id <id>", "Explicit tool_id (skip the identity cache)").option("--host <url>", "Nexus host (required with --oidc unless ANNA_APP_HOST is set)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
890
|
-
const { runExecutaUploadBinaries } = await import("./executa-upload-binaries-
|
|
890
|
+
const { runExecutaUploadBinaries } = await import("./executa-upload-binaries-BVWs6MFF.js");
|
|
891
891
|
process.exit(await runExecutaUploadBinaries({
|
|
892
892
|
dir: opts.dir,
|
|
893
893
|
dryRun: opts.dryRun,
|
|
@@ -900,11 +900,11 @@ executa.command("upload-binaries").description("Push the local binary_artifacts
|
|
|
900
900
|
});
|
|
901
901
|
const trustedPublisher = executa.command("trusted-publisher").description("Manage the GitHub Actions identities allowed to publish binaries for an executa via OIDC (zero-secret CI; pairs with `executa upload-binaries --oidc`)");
|
|
902
902
|
trustedPublisher.command("add").description("Register a {repository, workflow, environment?} triple").requiredOption("--repository <owner/repo>", "GitHub repository").requiredOption("--workflow <file>", "Workflow file, e.g. \"publish.yml\"").option("--environment <name>", "GitHub Environment gate (default: any)").option("--dir <path>", "Executa project dir (default: CWD)").option("--tool-id <id>", "Explicit tool_id (skip the identity cache)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
903
|
-
const { runTrustedPublisherAdd } = await import("./executa-trusted-publisher-
|
|
903
|
+
const { runTrustedPublisherAdd } = await import("./executa-trusted-publisher-n9IbAO5D.js");
|
|
904
904
|
process.exit(await runTrustedPublisherAdd(opts));
|
|
905
905
|
});
|
|
906
906
|
trustedPublisher.command("list").description("List registered trusted publishers").option("--dir <path>", "Executa project dir (default: CWD)").option("--tool-id <id>", "Explicit tool_id (skip the identity cache)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
907
|
-
const { runTrustedPublisherList } = await import("./executa-trusted-publisher-
|
|
907
|
+
const { runTrustedPublisherList } = await import("./executa-trusted-publisher-n9IbAO5D.js");
|
|
908
908
|
process.exit(await runTrustedPublisherList(opts));
|
|
909
909
|
});
|
|
910
910
|
trustedPublisher.command("remove <publisher-id>").description("Remove a trusted publisher registration by id").option("--dir <path>", "Executa project dir (default: CWD)").option("--tool-id <id>", "Explicit tool_id (skip the identity cache)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (publisherId, opts) => {
|
|
@@ -913,14 +913,14 @@ trustedPublisher.command("remove <publisher-id>").description("Remove a trusted
|
|
|
913
913
|
console.error(`✗ publisher-id must be a positive integer (got "${publisherId}")`);
|
|
914
914
|
process.exit(2);
|
|
915
915
|
}
|
|
916
|
-
const { runTrustedPublisherRemove } = await import("./executa-trusted-publisher-
|
|
916
|
+
const { runTrustedPublisherRemove } = await import("./executa-trusted-publisher-n9IbAO5D.js");
|
|
917
917
|
process.exit(await runTrustedPublisherRemove({
|
|
918
918
|
...opts,
|
|
919
919
|
publisherId: id
|
|
920
920
|
}));
|
|
921
921
|
});
|
|
922
922
|
executa.command("unpublish <slug>").description("Flip an Executa's visibility back to private").option("--yes", "Acknowledge the destructive operation", false).option("--confirm <slug>", "Slug confirmation (must match target)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
923
|
-
const { runExecutaUnpublish } = await import("./executa-destructive-
|
|
923
|
+
const { runExecutaUnpublish } = await import("./executa-destructive-C06mgvfJ.js");
|
|
924
924
|
process.exit(await runExecutaUnpublish({
|
|
925
925
|
slug,
|
|
926
926
|
yes: opts.yes,
|
|
@@ -930,7 +930,7 @@ executa.command("unpublish <slug>").description("Flip an Executa's visibility ba
|
|
|
930
930
|
}));
|
|
931
931
|
});
|
|
932
932
|
executa.command("yank <ref>").description("Hard-delete one Executa version (<slug>@<version>)").option("--yes", "Acknowledge the destructive operation", false).option("--confirm <slug>", "Slug confirmation (must match target)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (ref, opts) => {
|
|
933
|
-
const { runExecutaYank } = await import("./executa-destructive-
|
|
933
|
+
const { runExecutaYank } = await import("./executa-destructive-C06mgvfJ.js");
|
|
934
934
|
process.exit(await runExecutaYank({
|
|
935
935
|
ref,
|
|
936
936
|
yes: opts.yes,
|
|
@@ -940,7 +940,7 @@ executa.command("yank <ref>").description("Hard-delete one Executa version (<slu
|
|
|
940
940
|
}));
|
|
941
941
|
});
|
|
942
942
|
executa.command("delete <slug>").description("Hard-delete an Executa").option("--yes", "Acknowledge the destructive operation", false).option("--confirm <slug>", "Slug confirmation (must match target)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (slug, opts) => {
|
|
943
|
-
const { runExecutaDelete } = await import("./executa-destructive-
|
|
943
|
+
const { runExecutaDelete } = await import("./executa-destructive-C06mgvfJ.js");
|
|
944
944
|
process.exit(await runExecutaDelete({
|
|
945
945
|
slug,
|
|
946
946
|
yes: opts.yes,
|
|
@@ -965,7 +965,7 @@ executa.command("cache-clear").description("Delete the local `.anna/executa.json
|
|
|
965
965
|
});
|
|
966
966
|
const token = program.command("token").description("Manage developer PATs (list / revoke / scopes)");
|
|
967
967
|
token.command("list").description("List the caller's PATs (most-recent first)").option("--include-revoked", "Also show revoked PATs", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
968
|
-
const { runTokenList } = await import("./token-
|
|
968
|
+
const { runTokenList } = await import("./token-DeAZLyVz.js");
|
|
969
969
|
process.exit(await runTokenList({
|
|
970
970
|
includeRevoked: opts.includeRevoked,
|
|
971
971
|
account: opts.account,
|
|
@@ -978,7 +978,7 @@ token.command("revoke <id>").description("Revoke one of the caller's PATs by id"
|
|
|
978
978
|
console.error(`✗ token id must be a positive integer (got: ${id})`);
|
|
979
979
|
process.exit(2);
|
|
980
980
|
}
|
|
981
|
-
const { runTokenRevoke } = await import("./token-
|
|
981
|
+
const { runTokenRevoke } = await import("./token-DeAZLyVz.js");
|
|
982
982
|
process.exit(await runTokenRevoke({
|
|
983
983
|
id: idNum,
|
|
984
984
|
account: opts.account,
|
|
@@ -986,7 +986,7 @@ token.command("revoke <id>").description("Revoke one of the caller's PATs by id"
|
|
|
986
986
|
}));
|
|
987
987
|
});
|
|
988
988
|
token.command("scopes").description("Print the available PAT scope catalogue").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
989
|
-
const { runTokenScopes } = await import("./token-
|
|
989
|
+
const { runTokenScopes } = await import("./token-DeAZLyVz.js");
|
|
990
990
|
process.exit(await runTokenScopes({
|
|
991
991
|
account: opts.account,
|
|
992
992
|
json: opts.json
|
|
@@ -1001,7 +1001,7 @@ program.command("publish").description("Auto-detect cwd and publish (apps publis
|
|
|
1001
1001
|
console.error(`✗ --bump must be patch|minor|major (got: ${opts.bump})`);
|
|
1002
1002
|
process.exit(2);
|
|
1003
1003
|
}
|
|
1004
|
-
const { runTopLevelPublish } = await import("./publish-
|
|
1004
|
+
const { runTopLevelPublish } = await import("./publish-CIaosgo4.js");
|
|
1005
1005
|
process.exit(await runTopLevelPublish({
|
|
1006
1006
|
cwd: opts.cwd,
|
|
1007
1007
|
bump: opts.bump,
|
|
@@ -61,8 +61,8 @@ async function runDev(opts) {
|
|
|
61
61
|
}
|
|
62
62
|
process.env.ANNA_APP_RUNTIME_WEB_MODE = "real";
|
|
63
63
|
}
|
|
64
|
-
const { PythonBridge, PINNED_RUNTIME_VERSION } = await import("./bridge-
|
|
65
|
-
const { HarnessServer } = await import("./server-
|
|
64
|
+
const { PythonBridge, PINNED_RUNTIME_VERSION } = await import("./bridge-nv-le8ff.js");
|
|
65
|
+
const { HarnessServer } = await import("./server-poDjwty-.js");
|
|
66
66
|
const bridge = new PythonBridge({
|
|
67
67
|
mode,
|
|
68
68
|
matrixNexusRoot: matrixNexusRoot ?? void 0,
|
|
@@ -175,7 +175,7 @@ async function runDev(opts) {
|
|
|
175
175
|
*/
|
|
176
176
|
async function resolveRealLlm(args) {
|
|
177
177
|
const { getAccount } = await import("./credentials-Chkoidh5.js");
|
|
178
|
-
const { ensureDevAppRegistered } = await import("./dev-app-cache-
|
|
178
|
+
const { ensureDevAppRegistered } = await import("./dev-app-cache-CScRa7c3.js");
|
|
179
179
|
const acc = getAccount(args.account);
|
|
180
180
|
if (!acc) {
|
|
181
181
|
console.error(red("✗ no developer PAT on disk — run `anna-app login --host <nexus-url>` first.\n (or use `--no-llm` / `--mock-llm <fixture>` to develop offline.)"));
|
|
@@ -204,7 +204,7 @@ async function resolveRealLlm(args) {
|
|
|
204
204
|
account: args.account,
|
|
205
205
|
appSlug: entry.slug,
|
|
206
206
|
onAppSlugNotFound: async () => {
|
|
207
|
-
const { invalidateDevAppCache } = await import("./dev-app-cache-
|
|
207
|
+
const { invalidateDevAppCache } = await import("./dev-app-cache-CScRa7c3.js");
|
|
208
208
|
invalidateDevAppCache(args.cwd);
|
|
209
209
|
const fresh = getAccount(args.account);
|
|
210
210
|
if (!fresh) throw new Error("PAT not found while re-registering dev app — run `anna-app login` again");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { findMatrixNexusRoot, nexusSchemaDir } from "./nexus-root-BlPwOusj.js";
|
|
2
|
-
import { PINNED_RUNTIME_VERSION } from "./bridge-
|
|
2
|
+
import { PINNED_RUNTIME_VERSION } from "./bridge-Bo8eu3-d.js";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
import { existsSync, statSync } from "node:fs";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
@@ -2,7 +2,7 @@ import "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
3
3
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
4
4
|
import { deleteMyTool, listMyTools, listToolVersions, unpublishTool, yankToolVersion } from "./executas-CvQY_w2U.js";
|
|
5
|
-
import { ensureDestructiveAllowed } from "./confirm-
|
|
5
|
+
import { ensureDestructiveAllowed } from "./confirm-DplLyBSG.js";
|
|
6
6
|
import { dim, green, yellow } from "kleur/colors";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/executa-destructive.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./nexus-root-BlPwOusj.js";
|
|
2
|
-
import { parseExecutaSpec } from "./dev-
|
|
2
|
+
import { parseExecutaSpec } from "./dev-BB1oS-1o.js";
|
|
3
3
|
import { isAbsolute, resolve } from "node:path";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
import { bold, cyan, dim, green, red, yellow } from "kleur/colors";
|
|
@@ -35,7 +35,7 @@ async function runExecutaDev(opts) {
|
|
|
35
35
|
const oneShot = !!(opts.describe || opts.health || opts.invoke);
|
|
36
36
|
const quiet = oneShot && (opts.json ?? false);
|
|
37
37
|
const { getAccount } = await import("./credentials-Chkoidh5.js");
|
|
38
|
-
const { ensureDevExecutaRegistered } = await import("./dev-app-cache-
|
|
38
|
+
const { ensureDevExecutaRegistered } = await import("./dev-app-cache-CScRa7c3.js");
|
|
39
39
|
const needsRealMint = !opts.noSampling && !opts.mockSampling || !opts.noAgent && !opts.mockAgent || !opts.noImage && !opts.mockImage || !opts.noUpload && !opts.mockUpload || opts.storage === "real";
|
|
40
40
|
let effectiveAppSlug = opts.appSlug;
|
|
41
41
|
let autoRegistered = false;
|
|
@@ -57,7 +57,7 @@ async function runExecutaDev(opts) {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
const { SamplingBridge } = await import("./sampling-
|
|
60
|
+
const { SamplingBridge } = await import("./sampling-BQwF3O-4.js");
|
|
61
61
|
const simulateUnsupportedResponseFormat = opts.samplingUnsupportedFormat;
|
|
62
62
|
const sampling = opts.noSampling ? new SamplingBridge({ mode: "off" }) : opts.mockSampling ? new SamplingBridge({
|
|
63
63
|
mode: "mock",
|
|
@@ -69,7 +69,7 @@ async function runExecutaDev(opts) {
|
|
|
69
69
|
appSlug: effectiveAppSlug,
|
|
70
70
|
simulateUnsupportedResponseFormat
|
|
71
71
|
}) : new SamplingBridge({ mode: "off" });
|
|
72
|
-
const { AgentBridge } = await import("./agent-
|
|
72
|
+
const { AgentBridge } = await import("./agent-CX2VzG7e.js");
|
|
73
73
|
const agent = opts.noAgent ? new AgentBridge({ mode: "off" }) : opts.mockAgent ? new AgentBridge({
|
|
74
74
|
mode: "mock",
|
|
75
75
|
mockFile: opts.mockAgent
|
|
@@ -78,7 +78,7 @@ async function runExecutaDev(opts) {
|
|
|
78
78
|
account: opts.agentAccount ?? opts.samplingAccount,
|
|
79
79
|
appSlug: effectiveAppSlug
|
|
80
80
|
}) : new AgentBridge({ mode: "off" });
|
|
81
|
-
const { StorageBridge } = await import("./storage-
|
|
81
|
+
const { StorageBridge } = await import("./storage-CZ4c4ibf.js");
|
|
82
82
|
const storageMode = opts.storage ?? (opts.mockStorage ? "mock" : "memory");
|
|
83
83
|
const storage = new StorageBridge({
|
|
84
84
|
mode: storageMode,
|
|
@@ -88,8 +88,8 @@ async function runExecutaDev(opts) {
|
|
|
88
88
|
scopes: opts.storageScopes ? opts.storageScopes.split(",").map((s) => s.trim()).filter(Boolean) : void 0,
|
|
89
89
|
pluginName: parsed.tool_id
|
|
90
90
|
});
|
|
91
|
-
const { ExecutaRunner } = await import("./runner-
|
|
92
|
-
const { ImageBridge } = await import("./image-
|
|
91
|
+
const { ExecutaRunner } = await import("./runner-aq0n-pdr.js");
|
|
92
|
+
const { ImageBridge } = await import("./image-C61zRJC8.js");
|
|
93
93
|
const image = opts.noImage ? new ImageBridge({ mode: "off" }) : opts.mockImage ? new ImageBridge({
|
|
94
94
|
mode: "mock",
|
|
95
95
|
mockFile: opts.mockImage
|
|
@@ -98,7 +98,7 @@ async function runExecutaDev(opts) {
|
|
|
98
98
|
account: opts.imageAccount ?? opts.samplingAccount,
|
|
99
99
|
appSlug: effectiveAppSlug
|
|
100
100
|
}) : new ImageBridge({ mode: "off" });
|
|
101
|
-
const { HostUploadBridge } = await import("./host_upload-
|
|
101
|
+
const { HostUploadBridge } = await import("./host_upload-BvzJZKAO.js");
|
|
102
102
|
const hostUpload = opts.noUpload ? new HostUploadBridge({ mode: "off" }) : opts.mockUpload ? new HostUploadBridge({
|
|
103
103
|
mode: "mock",
|
|
104
104
|
mockFile: opts.mockUpload
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readExecutaIdentity } from "./executa-cache-BFoUtb4J.js";
|
|
2
|
-
import { parseExecutaSpec } from "./dev-
|
|
2
|
+
import { parseExecutaSpec } from "./dev-BB1oS-1o.js";
|
|
3
3
|
import { isAbsolute, join, resolve } from "node:path";
|
|
4
4
|
import { chmodSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { bold, cyan, dim, green, red, yellow } from "kleur/colors";
|