@hasna/loops 0.3.35 → 0.3.37

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 CHANGED
@@ -236,7 +236,8 @@ loops templates render bounded-agent-worker-verifier \
236
236
  --var projectPath=/path/to/repo \
237
237
  --var provider=codewith \
238
238
  --var authProfilePool=account004,account005 \
239
- --var sandbox=danger-full-access
239
+ --var sandbox=danger-full-access \
240
+ --var worktreeMode=required
240
241
  ```
241
242
 
242
243
  For event-driven task automation, `loops events handle todos-task` reads a
@@ -248,7 +249,8 @@ cat task-created-event.json | loops events handle todos-task \
248
249
  --provider codewith \
249
250
  --auth-profile-pool account004,account005,account006 \
250
251
  --permission-mode bypass \
251
- --sandbox danger-full-access
252
+ --sandbox danger-full-access \
253
+ --worktree-mode required
252
254
  ```
253
255
 
254
256
  For other Hasna apps that expose `@hasna/events` webhooks, use the generic
@@ -260,7 +262,8 @@ cat event.json | loops events handle generic \
260
262
  --auth-profile-pool account004,account005,account006 \
261
263
  --permission-mode bypass \
262
264
  --sandbox danger-full-access \
263
- --project-path /path/to/repo
265
+ --project-path /path/to/repo \
266
+ --worktree-mode required
264
267
  ```
265
268
 
266
269
  This is the intended deterministic-to-agentic path: a producer creates a todos
package/dist/cli/index.js CHANGED
@@ -5254,7 +5254,7 @@ function buildScriptInventoryReport(store, opts = {}) {
5254
5254
  // package.json
5255
5255
  var package_default = {
5256
5256
  name: "@hasna/loops",
5257
- version: "0.3.35",
5257
+ version: "0.3.37",
5258
5258
  description: "Persistent local loop and workflow runner for deterministic commands and headless AI coding agents",
5259
5259
  type: "module",
5260
5260
  main: "dist/index.js",
@@ -6708,7 +6708,7 @@ function routeTodosTaskEvent(event, opts) {
6708
6708
  "project_canonical_path",
6709
6709
  "cwd"
6710
6710
  ]);
6711
- const projectPath = opts.projectPath ?? dataProjectPath ?? metadataProjectPath ?? process.cwd();
6711
+ const projectPath = dataProjectPath ?? metadataProjectPath ?? opts.projectPath ?? process.cwd();
6712
6712
  const routeProjectPath = normalizeRoutePath(projectPath) ?? resolve2(projectPath);
6713
6713
  const projectGroup = routeProjectGroup(opts.projectGroup, data, metadata);
6714
6714
  const throttleLimits = routeThrottleLimitsFromOpts(opts);
@@ -4574,7 +4574,7 @@ function enableStartup(result) {
4574
4574
  // package.json
4575
4575
  var package_default = {
4576
4576
  name: "@hasna/loops",
4577
- version: "0.3.35",
4577
+ version: "0.3.37",
4578
4578
  description: "Persistent local loop and workflow runner for deterministic commands and headless AI coding agents",
4579
4579
  type: "module",
4580
4580
  main: "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/loops",
3
- "version": "0.3.35",
3
+ "version": "0.3.37",
4
4
  "description": "Persistent local loop and workflow runner for deterministic commands and headless AI coding agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",