@hasna/loops 0.3.4 → 0.3.5
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/cli/index.js +2 -2
- package/dist/daemon/index.js +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2076,7 +2076,7 @@ function remoteScript(spec, metadata) {
|
|
|
2076
2076
|
lines.push(...hereDoc(spec.stdin));
|
|
2077
2077
|
stdinRedirect = ' < "$__OPENLOOPS_STDIN"';
|
|
2078
2078
|
}
|
|
2079
|
-
const invocation = spec.shell ? `sh -
|
|
2079
|
+
const invocation = spec.shell ? `sh -c ${shellQuote(commandForShell(spec))}${stdinRedirect}` : `${[spec.command, ...spec.args].map(shellQuote).join(" ")}${stdinRedirect}`;
|
|
2080
2080
|
lines.push(invocation);
|
|
2081
2081
|
return `${lines.join(`
|
|
2082
2082
|
`)}
|
|
@@ -3248,7 +3248,7 @@ function runDoctor(store) {
|
|
|
3248
3248
|
|
|
3249
3249
|
// src/cli/index.ts
|
|
3250
3250
|
var program = new Command;
|
|
3251
|
-
program.name("loops").description("Persistent local loops for commands and headless coding agents").version("0.3.
|
|
3251
|
+
program.name("loops").description("Persistent local loops for commands and headless coding agents").version("0.3.5");
|
|
3252
3252
|
program.option("-j, --json", "print JSON");
|
|
3253
3253
|
function isJson() {
|
|
3254
3254
|
return Boolean(program.opts().json);
|
package/dist/daemon/index.js
CHANGED
|
@@ -1984,7 +1984,7 @@ function remoteScript(spec, metadata) {
|
|
|
1984
1984
|
lines.push(...hereDoc(spec.stdin));
|
|
1985
1985
|
stdinRedirect = ' < "$__OPENLOOPS_STDIN"';
|
|
1986
1986
|
}
|
|
1987
|
-
const invocation = spec.shell ? `sh -
|
|
1987
|
+
const invocation = spec.shell ? `sh -c ${shellQuote(commandForShell(spec))}${stdinRedirect}` : `${[spec.command, ...spec.args].map(shellQuote).join(" ")}${stdinRedirect}`;
|
|
1988
1988
|
lines.push(invocation);
|
|
1989
1989
|
return `${lines.join(`
|
|
1990
1990
|
`)}
|
|
@@ -3061,7 +3061,7 @@ function enableStartup(result) {
|
|
|
3061
3061
|
|
|
3062
3062
|
// src/daemon/index.ts
|
|
3063
3063
|
var program = new Command;
|
|
3064
|
-
program.name("loops-daemon").description("OpenLoops daemon helper").version("0.3.
|
|
3064
|
+
program.name("loops-daemon").description("OpenLoops daemon helper").version("0.3.5");
|
|
3065
3065
|
program.command("run").option("--interval-ms <ms>", "tick interval", (value) => Number(value)).action(async (opts) => runDaemon({ intervalMs: opts.intervalMs }));
|
|
3066
3066
|
program.command("start").action(async () => {
|
|
3067
3067
|
const result = await startDaemon({ cliEntry: process.argv[1] ?? "loops-daemon", args: ["run"] });
|
package/dist/index.js
CHANGED
|
@@ -1974,7 +1974,7 @@ function remoteScript(spec, metadata) {
|
|
|
1974
1974
|
lines.push(...hereDoc(spec.stdin));
|
|
1975
1975
|
stdinRedirect = ' < "$__OPENLOOPS_STDIN"';
|
|
1976
1976
|
}
|
|
1977
|
-
const invocation = spec.shell ? `sh -
|
|
1977
|
+
const invocation = spec.shell ? `sh -c ${shellQuote(commandForShell(spec))}${stdinRedirect}` : `${[spec.command, ...spec.args].map(shellQuote).join(" ")}${stdinRedirect}`;
|
|
1978
1978
|
lines.push(invocation);
|
|
1979
1979
|
return `${lines.join(`
|
|
1980
1980
|
`)}
|
package/dist/sdk/index.js
CHANGED
|
@@ -1974,7 +1974,7 @@ function remoteScript(spec, metadata) {
|
|
|
1974
1974
|
lines.push(...hereDoc(spec.stdin));
|
|
1975
1975
|
stdinRedirect = ' < "$__OPENLOOPS_STDIN"';
|
|
1976
1976
|
}
|
|
1977
|
-
const invocation = spec.shell ? `sh -
|
|
1977
|
+
const invocation = spec.shell ? `sh -c ${shellQuote(commandForShell(spec))}${stdinRedirect}` : `${[spec.command, ...spec.args].map(shellQuote).join(" ")}${stdinRedirect}`;
|
|
1978
1978
|
lines.push(invocation);
|
|
1979
1979
|
return `${lines.join(`
|
|
1980
1980
|
`)}
|