lalph 0.3.49 → 0.3.51

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.mjs CHANGED
@@ -180949,7 +180949,9 @@ const setupWorktree = fnUntraced(function* (options) {
180949
180949
  const setupPath = (yield* fs.exists(worktreeSetupPath)) ? worktreeSetupPath : cwdSetupPath;
180950
180950
  yield* make$36({
180951
180951
  cwd: options.directory,
180952
- shell: process.env.SHELL ?? true
180952
+ shell: process.env.SHELL ?? true,
180953
+ stderr: "inherit",
180954
+ stdout: "inherit"
180953
180955
  })`${setupPath}`.pipe(spawner.exitCode);
180954
180956
  });
180955
180957
  const getTargetBranch = gen(function* () {
@@ -188351,7 +188353,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
188351
188353
  });
188352
188354
  Ze.glob = Ze;
188353
188355
  //#endregion
188354
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/ApplyPatch.js
188356
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/ApplyPatch.js
188355
188357
  /**
188356
188358
  * @since 1.0.0
188357
188359
  */
@@ -188680,7 +188682,7 @@ const patchChunks = (file, input, chunks) => {
188680
188682
  return eol === "\r\n" ? text.replace(/\n/g, "\r\n") : text;
188681
188683
  };
188682
188684
  //#endregion
188683
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/AgentTools.js
188685
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/AgentTools.js
188684
188686
  /**
188685
188687
  * @since 1.0.0
188686
188688
  */
@@ -188845,8 +188847,12 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
188845
188847
  "1M",
188846
188848
  "--line-number"
188847
188849
  ];
188848
- if (options.glob) args.push("--glob", options.glob);
188849
- if (options.noIgnore) args.push("--no-ignore");
188850
+ let noIgnore = options.noIgnore ?? false;
188851
+ if (options.glob) {
188852
+ args.push("--glob", options.glob);
188853
+ if (options.noIgnore === void 0 && !options.glob.startsWith("*")) noIgnore = true;
188854
+ }
188855
+ if (noIgnore) args.push("--no-ignore");
188850
188856
  args.push(options.pattern);
188851
188857
  let stream = pipe(spawner.streamLines(make$36("rg", args, {
188852
188858
  cwd,
@@ -188977,7 +188983,7 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
188977
188983
  }));
188978
188984
  var ApplyPatchError = class extends TaggedClass$1("ApplyPatchError") {};
188979
188985
  //#endregion
188980
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/Executor.js
188986
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/Executor.js
188981
188987
  /**
188982
188988
  * @since 1.0.0
188983
188989
  */
@@ -189057,7 +189063,7 @@ var QueueWriteStream = class extends Writable {
189057
189063
  }
189058
189064
  };
189059
189065
  //#endregion
189060
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/TypeBuilder.js
189066
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/TypeBuilder.js
189061
189067
  const resolveDocumentation = resolveAt("documentation");
189062
189068
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
189063
189069
  const Precedence = {
@@ -189330,7 +189336,7 @@ const render = (schema, options) => {
189330
189336
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
189331
189337
  };
189332
189338
  //#endregion
189333
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/ToolkitRenderer.js
189339
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/ToolkitRenderer.js
189334
189340
  /**
189335
189341
  * @since 1.0.0
189336
189342
  */
@@ -189352,7 +189358,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
189352
189358
  }) });
189353
189359
  };
189354
189360
  //#endregion
189355
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/Agent.js
189361
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/Agent.js
189356
189362
  /**
189357
189363
  * @since 1.0.0
189358
189364
  */
@@ -189425,7 +189431,7 @@ ${content}
189425
189431
  }
189426
189432
  const taskServices = SubagentContext.serviceMap({ spawn: ({ prompt }) => {
189427
189433
  let id = agentCounter++;
189428
- const stream = spawn(id, make$10(`You have been asked using "delegate" to complete the following task:
189434
+ const stream = spawn(id, make$10(`You have been asked using the "delegate" function to complete the following task. Avoid using the "delegate" function yourself unless strictly necessary:
189429
189435
 
189430
189436
  ${prompt}`));
189431
189437
  return gen(function* () {
@@ -200127,7 +200133,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
200127
200133
  })));
200128
200134
  });
200129
200135
  //#endregion
200130
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/CodexAuth.js
200136
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/CodexAuth.js
200131
200137
  /**
200132
200138
  * @since 1.0.0
200133
200139
  */
@@ -200347,7 +200353,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
200347
200353
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
200348
200354
  };
200349
200355
  //#endregion
200350
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/Codex.js
200356
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/Codex.js
200351
200357
  /**
200352
200358
  * @since 1.0.0
200353
200359
  */
@@ -201662,7 +201668,7 @@ const getUsageDetailNumber = (details, field) => {
201662
201668
  return typeof value === "number" ? value : void 0;
201663
201669
  };
201664
201670
  //#endregion
201665
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/CopilotAuth.js
201671
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/CopilotAuth.js
201666
201672
  /**
201667
201673
  * @since 1.0.0
201668
201674
  */
@@ -201853,7 +201859,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
201853
201859
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
201854
201860
  };
201855
201861
  //#endregion
201856
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/Copilot.js
201862
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/Copilot.js
201857
201863
  /**
201858
201864
  * @since 1.0.0
201859
201865
  */
@@ -202276,7 +202282,7 @@ Object.defineProperties(createChalk.prototype, styles);
202276
202282
  const chalk = createChalk();
202277
202283
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
202278
202284
  //#endregion
202279
- //#region node_modules/.pnpm/clanka@0.0.23_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_733f8e6611470b8c9676b30a3d55b413/node_modules/clanka/dist/OutputFormatter.js
202285
+ //#region node_modules/.pnpm/clanka@0.0.25_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_4390ffcae27e5eac957439291b048580/node_modules/clanka/dist/OutputFormatter.js
202280
202286
  /**
202281
202287
  * @since 1.0.0
202282
202288
  */
@@ -203282,7 +203288,7 @@ const commandEdit = make$46("edit").pipe(withDescription("Open the selected proj
203282
203288
  const commandSource = make$46("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
203283
203289
  //#endregion
203284
203290
  //#region package.json
203285
- var version = "0.3.49";
203291
+ var version = "0.3.51";
203286
203292
  //#endregion
203287
203293
  //#region src/commands/projects/ls.ts
203288
203294
  const commandProjectsLs = make$46("ls").pipe(withDescription("List configured projects and how they run (enabled state, concurrency, branch, git flow, review agent)."), withHandler(fnUntraced(function* () {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.3.49",
4
+ "version": "0.3.51",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,7 +30,7 @@
30
30
  "@octokit/plugin-rest-endpoint-methods": "^17.0.0",
31
31
  "@octokit/types": "^16.0.0",
32
32
  "@typescript/native-preview": "7.0.0-dev.20260310.1",
33
- "clanka": "^0.0.23",
33
+ "clanka": "^0.0.25",
34
34
  "concurrently": "^9.2.1",
35
35
  "effect": "4.0.0-beta.30",
36
36
  "husky": "^9.1.7",
package/src/Worktree.ts CHANGED
@@ -146,6 +146,8 @@ const setupWorktree = Effect.fnUntraced(function* (options: {
146
146
  yield* ChildProcess.make({
147
147
  cwd: options.directory,
148
148
  shell: process.env.SHELL ?? true,
149
+ stderr: "inherit",
150
+ stdout: "inherit",
149
151
  })`${setupPath}`.pipe(spawner.exitCode)
150
152
  })
151
153