+2
-2
| { | ||
| "name": "moshcode", | ||
| "version": "0.67.0", | ||
| "version": "0.68.0", | ||
| "type": "module", | ||
@@ -21,3 +21,3 @@ "description": "moshcode — a metal wrapper for coding engines and native UGig/CoinPay workflow CLIs, with OpenPRD and moshscript", | ||
| "demo": "node bin/moshcode.mjs run examples/alive.mosh", | ||
| "test": "node --test \"test/**/*.test.mjs\" \"tests/**/*.test.mjs\" \"apps/pwa/test/**/*.test.mjs\"" | ||
| "test": "node --test" | ||
| }, | ||
@@ -24,0 +24,0 @@ "files": [ |
+1
-0
@@ -686,2 +686,3 @@ // The moshscript command vocabulary — the verbs a .mosh script can call. | ||
| cliVerb("alchemy", "drive the Alchemy CLI (onchain data, apps, wallets, x402)"), | ||
| cliVerb("elevenlabs", "drive the ElevenLabs CLI (Eleven Agents, voices, TTS, dubbing)"), | ||
| cliVerb("trade", "look up tickers, inspect markets, and preview/place Alpaca orders"), | ||
@@ -688,0 +689,0 @@ cliVerb("pwd", "print the current repo/location"), |
+26
-0
@@ -313,2 +313,28 @@ // Adjacent workflow CLIs moshcode can install and transparently invoke. | ||
| }, | ||
| elevenlabs: { | ||
| desc: "ElevenLabs — build, configure and deploy Eleven Agents (plus voices, TTS, dubbing, and the rest of the API)", | ||
| bin: "elevenlabs", | ||
| // A workflow tool rather than an engine, despite the name. ElevenLabs calls | ||
| // these "agents", but they are conversational voice agents you configure and | ||
| // deploy to their platform: `elevenlabs agents push/pull/list` is an API | ||
| // client that runs one request and exits. `/agents` promises to hand the | ||
| // terminal to a live session, and there is no session here to hand it, so | ||
| // this belongs next to the other workflow CLIs. Docs: | ||
| // https://elevenlabs.io/docs/eleven-agents/operate/cli | ||
| // | ||
| // Authenticate once with `moshcode elevenlabs auth login` — a PKCE OAuth | ||
| // flow that stores the credential in the system keyring (falling back to a | ||
| // file under ~/.config), rather than an env var to keep exporting. | ||
| // | ||
| // The published package is a tiny Node shim; the real CLI is a native | ||
| // binary shipped per platform as an OPTIONAL dependency | ||
| // (@elevenlabs/cli-linux-x64 and friends). That is why the install spec is | ||
| // the plain global install with no flags: an install run with | ||
| // `--omit=optional` or `--no-optional` still succeeds and still puts | ||
| // `elevenlabs` on PATH, but every invocation then dies with "the platform | ||
| // package is not installed". `npm install -g` is idempotent and the CLI | ||
| // ships no updater of its own, so this doubles as the upgrade path and | ||
| // there is deliberately no `upgrade` key. | ||
| install: { cmd: "npm", args: ["install", "-g", "@elevenlabs/cli"] }, | ||
| }, | ||
| }; | ||
@@ -315,0 +341,0 @@ |
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 3 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1806524
0.12%32243
0.08%1646
0.49%144
-0.69%