lalph 0.3.62 → 0.3.63

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
@@ -177949,7 +177949,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
177949
177949
  });
177950
177950
  Ze.glob = Ze;
177951
177951
  //#endregion
177952
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/ApplyPatch.js
177952
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/ApplyPatch.js
177953
177953
  /**
177954
177954
  * @since 1.0.0
177955
177955
  */
@@ -192822,7 +192822,7 @@ var StreamableHTTPClientTransport = class {
192822
192822
  }
192823
192823
  };
192824
192824
  //#endregion
192825
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/McpClient.js
192825
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/McpClient.js
192826
192826
  /**
192827
192827
  * @since 1.0.0
192828
192828
  */
@@ -192867,7 +192867,7 @@ const layer$7 = effect$1(McpClient, gen(function* () {
192867
192867
  });
192868
192868
  }));
192869
192869
  //#endregion
192870
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/ExaSearch.js
192870
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/ExaSearch.js
192871
192871
  /**
192872
192872
  * @since 1.0.0
192873
192873
  */
@@ -207817,7 +207817,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
207817
207817
  exports.impl = impl;
207818
207818
  }));
207819
207819
  //#endregion
207820
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/WebToMarkdown.js
207820
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/WebToMarkdown.js
207821
207821
  /**
207822
207822
  * @since 1.0.0
207823
207823
  */
@@ -210899,7 +210899,7 @@ const unsafeSecureJsonParse = (text) => {
210899
210899
  }
210900
210900
  };
210901
210901
  //#endregion
210902
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/AgentTools.js
210902
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/AgentTools.js
210903
210903
  /**
210904
210904
  * @since 1.0.0
210905
210905
  */
@@ -211105,7 +211105,7 @@ const AgentToolHandlersNoDeps = AgentTools.toLayer(gen(function* () {
211105
211105
  const timeout = millis(options.timeoutMs ?? 12e4);
211106
211106
  yield* logInfo(`Calling "bash"`).pipe(annotateLogs({
211107
211107
  ...options,
211108
- timeout
211108
+ timeoutMs: format$3(timeout)
211109
211109
  }));
211110
211110
  const cwd = yield* CurrentDirectory;
211111
211111
  return yield* execute(make$39("bash", ["-c", options.command], {
@@ -211113,7 +211113,7 @@ const AgentToolHandlersNoDeps = AgentTools.toLayer(gen(function* () {
211113
211113
  stdin: "ignore"
211114
211114
  })).pipe(timeoutOrElse({
211115
211115
  duration: timeout,
211116
- onTimeout: () => die$2(/* @__PURE__ */ new Error(`Command timed out after ${timeout}`))
211116
+ onTimeout: () => die$2(/* @__PURE__ */ new Error(`Command timed out after ${format$3(timeout)}`))
211117
211117
  }));
211118
211118
  }, orDie$2),
211119
211119
  gh: fn("AgentTools.gh")(function* (args) {
@@ -211249,7 +211249,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$6, layer
211249
211249
  AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
211250
211250
  var ApplyPatchError = class extends TaggedClass$1("ApplyPatchError") {};
211251
211251
  //#endregion
211252
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/TypeBuilder.js
211252
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/TypeBuilder.js
211253
211253
  const resolveDocumentation = resolveAt("documentation");
211254
211254
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
211255
211255
  const Precedence = {
@@ -211522,7 +211522,7 @@ const render = (schema, options) => {
211522
211522
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
211523
211523
  };
211524
211524
  //#endregion
211525
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/ToolkitRenderer.js
211525
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/ToolkitRenderer.js
211526
211526
  /**
211527
211527
  * @since 1.0.0
211528
211528
  */
@@ -211544,7 +211544,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
211544
211544
  }) });
211545
211545
  };
211546
211546
  //#endregion
211547
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/AgentExecutor.js
211547
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/AgentExecutor.js
211548
211548
  /**
211549
211549
  * @since 1.0.0
211550
211550
  */
@@ -211698,7 +211698,7 @@ var QueueWriteStream = class extends Writable {
211698
211698
  }
211699
211699
  };
211700
211700
  //#endregion
211701
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/ScriptExtraction.js
211701
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/ScriptExtraction.js
211702
211702
  const stripWrappingCodeFence = (script) => {
211703
211703
  const lines = script.split(/\r?\n/);
211704
211704
  if (lines.length < 2) return script;
@@ -213081,7 +213081,7 @@ const applySpanTransformer = (transformer, response, options) => {
213081
213081
  });
213082
213082
  };
213083
213083
  //#endregion
213084
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/Agent.js
213084
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/Agent.js
213085
213085
  /**
213086
213086
  * @since 1.0.0
213087
213087
  */
@@ -224224,7 +224224,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
224224
224224
  })));
224225
224225
  });
224226
224226
  //#endregion
224227
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/CodexAuth.js
224227
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/CodexAuth.js
224228
224228
  /**
224229
224229
  * @since 1.0.0
224230
224230
  */
@@ -224444,7 +224444,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
224444
224444
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
224445
224445
  };
224446
224446
  //#endregion
224447
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/Codex.js
224447
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/Codex.js
224448
224448
  /**
224449
224449
  * @since 1.0.0
224450
224450
  */
@@ -225763,7 +225763,7 @@ const getUsageDetailNumber = (details, field) => {
225763
225763
  return typeof value === "number" ? value : void 0;
225764
225764
  };
225765
225765
  //#endregion
225766
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/CopilotAuth.js
225766
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/CopilotAuth.js
225767
225767
  /**
225768
225768
  * @since 1.0.0
225769
225769
  */
@@ -225954,7 +225954,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
225954
225954
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
225955
225955
  };
225956
225956
  //#endregion
225957
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/Copilot.js
225957
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/Copilot.js
225958
225958
  /**
225959
225959
  * @since 1.0.0
225960
225960
  */
@@ -226377,7 +226377,7 @@ Object.defineProperties(createChalk.prototype, styles);
226377
226377
  const chalk = createChalk();
226378
226378
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
226379
226379
  //#endregion
226380
- //#region node_modules/.pnpm/clanka@0.1.10_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_9214219cb2db90147f00f2a3436d6c48/node_modules/clanka/dist/OutputFormatter.js
226380
+ //#region node_modules/.pnpm/clanka@0.1.11_@effect+ai-openai-compat@4.0.0-beta.31_effect@4.0.0-beta.31__@effect+ai-o_f035d538562fa33a1854fb44b7d1653e/node_modules/clanka/dist/OutputFormatter.js
226381
226381
  /**
226382
226382
  * @since 1.0.0
226383
226383
  */
@@ -234946,8 +234946,9 @@ const agentWorker = fnUntraced(function* (options) {
234946
234946
  role: "user",
234947
234947
  content: options.prompt
234948
234948
  }, {
234949
- role: "assistant",
234950
- content: `Another software engineer has done some prior research for this task, and found the following information:
234949
+ role: "user",
234950
+ content: `You have already researched the above task, **AVOID DOING MORE RESEARCH** unless information is missing. Have a bias for action.
234951
+ Here is your research report:
234951
234952
 
234952
234953
  ${research}`
234953
234954
  }])
@@ -235709,7 +235710,7 @@ const commandEdit = make$49("edit").pipe(withDescription("Open the selected proj
235709
235710
  const commandSource = make$49("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));
235710
235711
  //#endregion
235711
235712
  //#region package.json
235712
- var version = "0.3.62";
235713
+ var version = "0.3.63";
235713
235714
  //#endregion
235714
235715
  //#region src/commands/projects/ls.ts
235715
235716
  const commandProjectsLs = make$49("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.62",
4
+ "version": "0.3.63",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,11 +30,11 @@
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.20260314.1",
33
- "clanka": "^0.1.10",
33
+ "clanka": "^0.1.11",
34
34
  "concurrently": "^9.2.1",
35
35
  "effect": "4.0.0-beta.31",
36
36
  "husky": "^9.1.7",
37
- "lint-staged": "^16.3.4",
37
+ "lint-staged": "^16.4.0",
38
38
  "octokit": "^5.0.5",
39
39
  "oxlint": "^1.55.0",
40
40
  "prettier": "^3.8.1",
@@ -32,8 +32,9 @@ export const agentWorker = Effect.fnUntraced(function* (options: {
32
32
  content: options.prompt,
33
33
  },
34
34
  {
35
- role: "assistant",
36
- content: `Another software engineer has done some prior research for this task, and found the following information:
35
+ role: "user",
36
+ content: `You have already researched the above task, **AVOID DOING MORE RESEARCH** unless information is missing. Have a bias for action.
37
+ Here is your research report:
37
38
 
38
39
  ${research}`,
39
40
  },