@hasna/loops 0.3.11 → 0.3.12
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/docs/USAGE.md +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2494,7 +2494,7 @@ function agentArgs(target) {
|
|
|
2494
2494
|
args.push(...target.extraArgs ?? []);
|
|
2495
2495
|
return args;
|
|
2496
2496
|
case "cursor":
|
|
2497
|
-
args.push("-p");
|
|
2497
|
+
args.push("agent", "-p");
|
|
2498
2498
|
if (target.model)
|
|
2499
2499
|
args.push("--model", target.model);
|
|
2500
2500
|
if (target.agent)
|
|
@@ -4330,7 +4330,7 @@ function runDoctor(store) {
|
|
|
4330
4330
|
// package.json
|
|
4331
4331
|
var package_default = {
|
|
4332
4332
|
name: "@hasna/loops",
|
|
4333
|
-
version: "0.3.
|
|
4333
|
+
version: "0.3.12",
|
|
4334
4334
|
description: "Persistent local loop and workflow runner for deterministic commands and headless AI coding agents",
|
|
4335
4335
|
type: "module",
|
|
4336
4336
|
main: "dist/index.js",
|
package/dist/daemon/index.js
CHANGED
|
@@ -2389,7 +2389,7 @@ function agentArgs(target) {
|
|
|
2389
2389
|
args.push(...target.extraArgs ?? []);
|
|
2390
2390
|
return args;
|
|
2391
2391
|
case "cursor":
|
|
2392
|
-
args.push("-p");
|
|
2392
|
+
args.push("agent", "-p");
|
|
2393
2393
|
if (target.model)
|
|
2394
2394
|
args.push("--model", target.model);
|
|
2395
2395
|
if (target.agent)
|
|
@@ -4130,7 +4130,7 @@ function enableStartup(result) {
|
|
|
4130
4130
|
// package.json
|
|
4131
4131
|
var package_default = {
|
|
4132
4132
|
name: "@hasna/loops",
|
|
4133
|
-
version: "0.3.
|
|
4133
|
+
version: "0.3.12",
|
|
4134
4134
|
description: "Persistent local loop and workflow runner for deterministic commands and headless AI coding agents",
|
|
4135
4135
|
type: "module",
|
|
4136
4136
|
main: "dist/index.js",
|
package/dist/index.js
CHANGED
|
@@ -2379,7 +2379,7 @@ function agentArgs(target) {
|
|
|
2379
2379
|
args.push(...target.extraArgs ?? []);
|
|
2380
2380
|
return args;
|
|
2381
2381
|
case "cursor":
|
|
2382
|
-
args.push("-p");
|
|
2382
|
+
args.push("agent", "-p");
|
|
2383
2383
|
if (target.model)
|
|
2384
2384
|
args.push("--model", target.model);
|
|
2385
2385
|
if (target.agent)
|
package/dist/sdk/index.js
CHANGED
|
@@ -2379,7 +2379,7 @@ function agentArgs(target) {
|
|
|
2379
2379
|
args.push(...target.extraArgs ?? []);
|
|
2380
2380
|
return args;
|
|
2381
2381
|
case "cursor":
|
|
2382
|
-
args.push("-p");
|
|
2382
|
+
args.push("agent", "-p");
|
|
2383
2383
|
if (target.model)
|
|
2384
2384
|
args.push("--model", target.model);
|
|
2385
2385
|
if (target.agent)
|
package/docs/USAGE.md
CHANGED
|
@@ -240,7 +240,7 @@ The adapters intentionally use provider command surfaces instead of pretending e
|
|
|
240
240
|
- Claude uses `claude -p --output-format json` and safe-mode/local setting sources by default.
|
|
241
241
|
- Codewith uses `codewith --ask-for-approval never exec --json --ephemeral --skip-git-repo-check`.
|
|
242
242
|
- AI Copilot and OpenCode use `run --format json --pure`.
|
|
243
|
-
- Cursor is CLI-first for now via `cursor-agent -p`; treat output as less stable until a stronger public SDK contract is selected.
|
|
243
|
+
- Cursor is CLI-first for now via `cursor-agent agent -p`; treat output as less stable until a stronger public SDK contract is selected.
|
|
244
244
|
- Codex uses `codex exec --json --ephemeral --ask-for-approval never`.
|
|
245
245
|
- Agent prompts are sent through child stdin instead of argv so prompt bodies do not appear in process listings.
|
|
246
246
|
- When `--account` or a step `account` is set, OpenLoops resolves `accounts env <profile> --tool <tool>` before spawning the target, strips inherited tool home/API-key variables, and applies the selected profile only to that process. Missing account profiles fail before the provider binary receives the prompt.
|
package/package.json
CHANGED