lalph 0.3.48 → 0.3.49

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +28 -21
  2. package/package.json +3 -3
package/dist/cli.mjs CHANGED
@@ -188351,7 +188351,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
188351
188351
  });
188352
188352
  Ze.glob = Ze;
188353
188353
  //#endregion
188354
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/ApplyPatch.js
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
188355
188355
  /**
188356
188356
  * @since 1.0.0
188357
188357
  */
@@ -188680,7 +188680,7 @@ const patchChunks = (file, input, chunks) => {
188680
188680
  return eol === "\r\n" ? text.replace(/\n/g, "\r\n") : text;
188681
188681
  };
188682
188682
  //#endregion
188683
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/AgentTools.js
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
188684
188684
  /**
188685
188685
  * @since 1.0.0
188686
188686
  */
@@ -188720,7 +188720,7 @@ const AgentTools = make$9(make$7("readFile", {
188720
188720
  }),
188721
188721
  dependencies: [CurrentDirectory]
188722
188722
  }), make$7("applyPatch", {
188723
- description: "Apply a git diff / unified diff patch across one or more files.",
188723
+ description: "Apply a git diff / unified diff patch, or a wrapped apply_patch patch, across one or more files.",
188724
188724
  parameters: String$1.annotate({ identifier: "patch" }),
188725
188725
  success: String$1,
188726
188726
  dependencies: [CurrentDirectory]
@@ -188749,6 +188749,7 @@ const AgentTools = make$9(make$7("readFile", {
188749
188749
  parameters: Struct({
188750
188750
  pattern: String$1,
188751
188751
  glob: optional$2(String$1).annotate({ documentation: "--glob" }),
188752
+ noIgnore: optional$2(Boolean$2).annotate({ documentation: "--no-ignore" }),
188752
188753
  maxLines: optional$2(Finite).annotate({ documentation: "The total maximum number of lines to return across all files (default: 500)" })
188753
188754
  }),
188754
188755
  success: String$1,
@@ -188810,7 +188811,6 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
188810
188811
  yield* logInfo(`Calling "writeFile"`).pipe(annotateLogs({ path: options.path }));
188811
188812
  const cwd = yield* CurrentDirectory;
188812
188813
  const path = pathService.resolve(cwd, options.path);
188813
- if (yield* fs.exists(path)) return yield* die$2("File already exists");
188814
188814
  yield* fs.makeDirectory(pathService.dirname(path), { recursive: true });
188815
188815
  yield* fs.writeFileString(path, options.content);
188816
188816
  }, orDie$2),
@@ -188846,6 +188846,7 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
188846
188846
  "--line-number"
188847
188847
  ];
188848
188848
  if (options.glob) args.push("--glob", options.glob);
188849
+ if (options.noIgnore) args.push("--no-ignore");
188849
188850
  args.push(options.pattern);
188850
188851
  let stream = pipe(spawner.streamLines(make$36("rg", args, {
188851
188852
  cwd,
@@ -188976,7 +188977,7 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
188976
188977
  }));
188977
188978
  var ApplyPatchError = class extends TaggedClass$1("ApplyPatchError") {};
188978
188979
  //#endregion
188979
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/Executor.js
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
188980
188981
  /**
188981
188982
  * @since 1.0.0
188982
188983
  */
@@ -189056,7 +189057,7 @@ var QueueWriteStream = class extends Writable {
189056
189057
  }
189057
189058
  };
189058
189059
  //#endregion
189059
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/TypeBuilder.js
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
189060
189061
  const resolveDocumentation = resolveAt("documentation");
189061
189062
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
189062
189063
  const Precedence = {
@@ -189329,7 +189330,7 @@ const render = (schema, options) => {
189329
189330
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
189330
189331
  };
189331
189332
  //#endregion
189332
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/ToolkitRenderer.js
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
189333
189334
  /**
189334
189335
  * @since 1.0.0
189335
189336
  */
@@ -189351,7 +189352,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
189351
189352
  }) });
189352
189353
  };
189353
189354
  //#endregion
189354
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/Agent.js
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
189355
189356
  /**
189356
189357
  * @since 1.0.0
189357
189358
  */
@@ -189429,17 +189430,23 @@ ${content}
189429
189430
  ${prompt}`));
189430
189431
  return gen(function* () {
189431
189432
  const provider = yield* ProviderName;
189432
- offerUnsafe(output, new SubagentStart({
189433
- id,
189434
- prompt,
189435
- model: yield* ModelName,
189436
- provider
189437
- }));
189433
+ maybeSend({
189434
+ agentId,
189435
+ part: new SubagentStart({
189436
+ id,
189437
+ prompt,
189438
+ model: yield* ModelName,
189439
+ provider
189440
+ }),
189441
+ release: true
189442
+ });
189438
189443
  return yield* stream.pipe(runForEachArray((parts) => {
189439
189444
  for (const part of parts) switch (part._tag) {
189440
189445
  case "SubagentStart":
189441
189446
  case "SubagentComplete":
189442
- case "SubagentPart": break;
189447
+ case "SubagentPart":
189448
+ offerUnsafe(output, part);
189449
+ break;
189443
189450
  default:
189444
189451
  offerUnsafe(output, new SubagentPart({
189445
189452
  id,
@@ -200120,7 +200127,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
200120
200127
  })));
200121
200128
  });
200122
200129
  //#endregion
200123
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/CodexAuth.js
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
200124
200131
  /**
200125
200132
  * @since 1.0.0
200126
200133
  */
@@ -200340,7 +200347,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
200340
200347
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
200341
200348
  };
200342
200349
  //#endregion
200343
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/Codex.js
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
200344
200351
  /**
200345
200352
  * @since 1.0.0
200346
200353
  */
@@ -201655,7 +201662,7 @@ const getUsageDetailNumber = (details, field) => {
201655
201662
  return typeof value === "number" ? value : void 0;
201656
201663
  };
201657
201664
  //#endregion
201658
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/CopilotAuth.js
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
201659
201666
  /**
201660
201667
  * @since 1.0.0
201661
201668
  */
@@ -201846,7 +201853,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
201846
201853
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
201847
201854
  };
201848
201855
  //#endregion
201849
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/Copilot.js
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
201850
201857
  /**
201851
201858
  * @since 1.0.0
201852
201859
  */
@@ -202269,7 +202276,7 @@ Object.defineProperties(createChalk.prototype, styles);
202269
202276
  const chalk = createChalk();
202270
202277
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
202271
202278
  //#endregion
202272
- //#region node_modules/.pnpm/clanka@0.0.21_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_c6e3079f8d7bc58ae58eff3c7a31d650/node_modules/clanka/dist/OutputFormatter.js
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
202273
202280
  /**
202274
202281
  * @since 1.0.0
202275
202282
  */
@@ -203275,7 +203282,7 @@ const commandEdit = make$46("edit").pipe(withDescription("Open the selected proj
203275
203282
  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));
203276
203283
  //#endregion
203277
203284
  //#region package.json
203278
- var version = "0.3.48";
203285
+ var version = "0.3.49";
203279
203286
  //#endregion
203280
203287
  //#region src/commands/projects/ls.ts
203281
203288
  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.48",
4
+ "version": "0.3.49",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,13 +30,13 @@
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.21",
33
+ "clanka": "^0.0.23",
34
34
  "concurrently": "^9.2.1",
35
35
  "effect": "4.0.0-beta.30",
36
36
  "husky": "^9.1.7",
37
37
  "lint-staged": "^16.3.3",
38
38
  "octokit": "^5.0.5",
39
- "oxlint": "^1.52.0",
39
+ "oxlint": "^1.53.0",
40
40
  "prettier": "^3.8.1",
41
41
  "tsdown": "^0.21.1",
42
42
  "typescript": "^5.9.3",