@acsetra/runner 0.1.11 → 0.1.14
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/bin/runner.js +4 -2
- package/package.json +1 -1
package/bin/runner.js
CHANGED
|
@@ -54,7 +54,9 @@ async function signin(rest) {
|
|
|
54
54
|
async function docsPull(rest) {
|
|
55
55
|
const scope = opt(rest, "-S") || opt(rest, "--scope") || config.defaultScope();
|
|
56
56
|
let pack;
|
|
57
|
-
|
|
57
|
+
// runtime: "npm" picks the npx/node_modules-specific wire-in block in CLAUDE.md.
|
|
58
|
+
const params = scope ? { scope, runtime: "npm" } : { runtime: "npm" };
|
|
59
|
+
try { pack = await api.get("/api/v1/context-pack", params); }
|
|
58
60
|
catch (e) { console.error("docs pull failed: " + e.message); return 1; }
|
|
59
61
|
let n = 0;
|
|
60
62
|
for (const [rel, content] of Object.entries(pack.files)) {
|
|
@@ -134,7 +136,7 @@ async function main() {
|
|
|
134
136
|
const argv = process.argv.slice(2);
|
|
135
137
|
if (!argv.length || ["-h", "--help"].includes(argv[0])) { console.log(renderTop()); return 0; }
|
|
136
138
|
const [cmd, ...rest] = argv;
|
|
137
|
-
if (["version", "--version", "-V"].includes(cmd)) { console.log("runner (@acsetra/runner) 0.1.
|
|
139
|
+
if (["version", "--version", "-V"].includes(cmd)) { console.log("runner (@acsetra/runner) 0.1.14"); return 0; }
|
|
138
140
|
|
|
139
141
|
// help — top-level, `help <topic>`, and per-verb `<cmd> … --help` (lexical, before toOp)
|
|
140
142
|
if (cmd === "help") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acsetra/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Runner CLI — author and run hosted Runner apps from your terminal (the `runner` command).",
|
|
5
5
|
"keywords": ["runner", "acsetra", "cli", "agent", "low-code"],
|
|
6
6
|
"license": "MIT",
|