@anna-ai/cli 0.1.0 → 0.1.1

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 CHANGED
@@ -64,7 +64,7 @@ Two runtime modes (auto-selected):
64
64
 
65
65
  | Mode | When | Command |
66
66
  | --- | --- | --- |
67
- | `uvx` (default) | No matrix-nexus checkout nearby | `uvx anna-app-runtime-local@<pinned> anna-app-bridge` |
67
+ | `uvx` (default) | No matrix-nexus checkout nearby | `uvx --from anna-app-runtime-local@<pinned> anna-app-bridge` |
68
68
  | `nexus-source` | `--matrix-nexus-root` set, `$ANNA_NEXUS_ROOT` set, or running from inside a checkout | `uv run --project <root> python -m anna_app_runtime_local.bridge` |
69
69
 
70
70
  The pinned wheel version is exported as `PINNED_RUNTIME_VERSION` from
@@ -1,3 +1,3 @@
1
- import { PINNED_RUNTIME_VERSION, PythonBridge } from "./bridge-CzEs7jaN.js";
1
+ import { PINNED_RUNTIME_VERSION, PythonBridge } from "./bridge-CBcQUQGU.js";
2
2
 
3
3
  export { PINNED_RUNTIME_VERSION, PythonBridge };
@@ -40,6 +40,7 @@ var PythonBridge = class {
40
40
  const version = this.opts.runtimeVersion ?? PINNED_RUNTIME_VERSION;
41
41
  return [
42
42
  "uvx",
43
+ "--from",
43
44
  `anna-app-runtime-local@${version}`,
44
45
  "anna-app-bridge"
45
46
  ];
package/dist/cli.js CHANGED
@@ -69,7 +69,7 @@ program.command("init <dir>").description("Scaffold a new Anna App project").opt
69
69
  process.exit(code);
70
70
  });
71
71
  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)").action(async (opts) => {
72
- const { runDev } = await import("./dev-Bgku5ngL.js");
72
+ const { runDev } = await import("./dev-rBqMTjjY.js");
73
73
  const code = await runDev({
74
74
  cwd: opts.cwd ?? process.cwd(),
75
75
  manifestPath: opts.manifest,
@@ -109,7 +109,7 @@ fixture.command("replay <file>").description("Dry-run replay of a harness record
109
109
  process.exit(code);
110
110
  });
111
111
  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) => {
112
- const { runDoctor } = await import("./doctor-D3z4YslL.js");
112
+ const { runDoctor } = await import("./doctor-yxWmMSJc.js");
113
113
  const code = await runDoctor({ matrixNexusRoot: opts.matrixNexusRoot });
114
114
  process.exit(code);
115
115
  });
@@ -30,7 +30,7 @@ async function runDev(opts) {
30
30
  }
31
31
  const matrixNexusRoot = await resolveMatrixNexusRoot(opts.matrixNexusRoot, cwd);
32
32
  const mode = matrixNexusRoot ? "nexus-source" : "uvx";
33
- const { PythonBridge, PINNED_RUNTIME_VERSION } = await import("./bridge-t2Qqu3hC.js");
33
+ const { PythonBridge, PINNED_RUNTIME_VERSION } = await import("./bridge-BDBECvV1.js");
34
34
  const { HarnessServer } = await import("./server-B6-Qdluv.js");
35
35
  const bridge = new PythonBridge({
36
36
  mode,
@@ -1,4 +1,4 @@
1
- import { PINNED_RUNTIME_VERSION } from "./bridge-CzEs7jaN.js";
1
+ import { PINNED_RUNTIME_VERSION } from "./bridge-CBcQUQGU.js";
2
2
  import { existsSync, statSync } from "node:fs";
3
3
  import { dirname, isAbsolute, resolve } from "node:path";
4
4
  import { bold, dim, green, red, yellow } from "kleur/colors";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anna-ai/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Anna App developer CLI: scaffold, validate, harness (Phase 2 MVP: init + validate).",
5
5
  "license": "MIT",
6
6
  "type": "module",