@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 +1 -1
- package/dist/{bridge-t2Qqu3hC.js → bridge-BDBECvV1.js} +1 -1
- package/dist/{bridge-CzEs7jaN.js → bridge-CBcQUQGU.js} +1 -0
- package/dist/cli.js +2 -2
- package/dist/{dev-Bgku5ngL.js → dev-rBqMTjjY.js} +1 -1
- package/dist/{doctor-D3z4YslL.js → doctor-yxWmMSJc.js} +1 -1
- package/package.json +1 -1
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
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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";
|