lalph 0.3.43 → 0.3.44

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 +20 -21
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -176664,7 +176664,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
176664
176664
  });
176665
176665
  Ze.glob = Ze;
176666
176666
  //#endregion
176667
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/ApplyPatch.js
176667
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/ApplyPatch.js
176668
176668
  /**
176669
176669
  * @since 1.0.0
176670
176670
  */
@@ -176888,7 +176888,7 @@ const patchChunks = (file, input, chunks) => {
176888
176888
  return eol === "\r\n" ? text.replace(/\n/g, "\r\n") : text;
176889
176889
  };
176890
176890
  //#endregion
176891
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/AgentTools.js
176891
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/AgentTools.js
176892
176892
  /**
176893
176893
  * @since 1.0.0
176894
176894
  */
@@ -176985,7 +176985,7 @@ const AgentTools = make$8(make$6("readFile", {
176985
176985
  description: "Sleep for a specified number of milliseconds",
176986
176986
  parameters: Finite.annotate({ identifier: "ms" })
176987
176987
  }), make$6("taskComplete", {
176988
- description: "Call this to send a final output message and end the current task.",
176988
+ description: "Only call this when the task is fully complete and you have a final output message to send.",
176989
176989
  parameters: String$1.annotate({ identifier: "output" }),
176990
176990
  dependencies: [TaskCompleteDeferred]
176991
176991
  }));
@@ -177184,7 +177184,7 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
177184
177184
  }));
177185
177185
  var ApplyPatchError = class extends TaggedClass$1("ApplyPatchError") {};
177186
177186
  //#endregion
177187
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/Executor.js
177187
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/Executor.js
177188
177188
  /**
177189
177189
  * @since 1.0.0
177190
177190
  */
@@ -177264,7 +177264,7 @@ var QueueWriteStream = class extends Writable {
177264
177264
  }
177265
177265
  };
177266
177266
  //#endregion
177267
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/TypeBuilder.js
177267
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/TypeBuilder.js
177268
177268
  const resolveDocumentation = resolveAt("documentation");
177269
177269
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
177270
177270
  const Precedence = {
@@ -177537,7 +177537,7 @@ const render = (schema, options) => {
177537
177537
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
177538
177538
  };
177539
177539
  //#endregion
177540
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/ToolkitRenderer.js
177540
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/ToolkitRenderer.js
177541
177541
  /**
177542
177542
  * @since 1.0.0
177543
177543
  */
@@ -177559,7 +177559,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
177559
177559
  }) });
177560
177560
  };
177561
177561
  //#endregion
177562
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/Agent.js
177562
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/Agent.js
177563
177563
  /**
177564
177564
  * @since 1.0.0
177565
177565
  */
@@ -177787,6 +177787,11 @@ ${prompt}`));
177787
177787
  const generateSystem = (toolsDts, multi) => {
177788
177788
  return `You are a professional software engineer. You are precise, thoughtful and concise. You make changes with care and always do the due diligence to ensure the best possible outcome. You make no mistakes.
177789
177789
 
177790
+ - **Fully read and understand your task** before proceeding.
177791
+ - Use the current state of the codebase to inform your decisions. Don't look at git history unless explicity asked to.
177792
+ - Only add comments when necessary.
177793
+ - Make use of the "delegate" tool to delegate work, exploration and small research tasks. You can delegate multiple tasks in parallel with Promise.all
177794
+
177790
177795
  ${multi ? generateSystemMulti(toolsDts) : generateSystemSingle(toolsDts)}
177791
177796
 
177792
177797
  Here is how you would read a file:
@@ -177811,23 +177816,17 @@ Javascript output:
177811
177816
  "version": "1.0.0"
177812
177817
  }
177813
177818
  \`\`\`
177814
-
177815
- # Guidelines
177816
-
177817
- - **Full read and understand the users task** before proceeding.
177818
- - Use the current state of the codebase to inform your decisions. Don't look at git history unless explicity asked to.
177819
- - Only add comments when necessary.
177820
- - Make use of the "delegate" tool to delegate work, exploration and small research tasks. You can delegate multiple tasks in parallel with Promise.all
177821
177819
  `;
177822
177820
  };
177823
177821
  const generateSystemMulti = (toolsDts) => {
177824
- return `From now on only response with plain javascript code (no typescript) which will be executed for you.
177822
+ return `From now on only respond with plain javascript code which will be executed for you.
177825
177823
 
177826
177824
  - Use \`console.log\` to print any output you need.
177827
177825
  - Top level await is supported.
177828
177826
  - **Prefer using the functions provided** over the bash tool
177829
177827
 
177830
- **When you have completed your task**, call the "taskComplete" function with the final output.
177828
+ **When you have fully completed your task**, call the "taskComplete" function with the final output.
177829
+ Make sure every detail of the task is done before calling "taskComplete".
177831
177830
 
177832
177831
  You have the following functions available to you:
177833
177832
 
@@ -188286,7 +188285,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
188286
188285
  })));
188287
188286
  });
188288
188287
  //#endregion
188289
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/CodexAuth.js
188288
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/CodexAuth.js
188290
188289
  /**
188291
188290
  * @since 1.0.0
188292
188291
  */
@@ -188506,7 +188505,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
188506
188505
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
188507
188506
  };
188508
188507
  //#endregion
188509
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/Codex.js
188508
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/Codex.js
188510
188509
  /**
188511
188510
  * @since 1.0.0
188512
188511
  */
@@ -188880,7 +188879,7 @@ const decodeChatCompletionSseData = (data) => {
188880
188879
  return isChatCompletionChunk(parsed) ? parsed : void 0;
188881
188880
  };
188882
188881
  //#endregion
188883
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/GithubCopilotAuth.js
188882
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/GithubCopilotAuth.js
188884
188883
  /**
188885
188884
  * @since 1.0.0
188886
188885
  */
@@ -189474,7 +189473,7 @@ Object.defineProperties(createChalk.prototype, styles);
189474
189473
  const chalk = createChalk();
189475
189474
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
189476
189475
  //#endregion
189477
- //#region node_modules/.pnpm/clanka@0.0.13_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_91f7106057a64bae3fa733ffcff21fd4/node_modules/clanka/dist/OutputFormatter.js
189476
+ //#region node_modules/.pnpm/clanka@0.0.14_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_0a369d89fdbd9d7a55294b10afd38ca6/node_modules/clanka/dist/OutputFormatter.js
189478
189477
  /**
189479
189478
  * @since 1.0.0
189480
189479
  */
@@ -198705,7 +198704,7 @@ const commandEdit = make$45("edit").pipe(withDescription("Open the selected proj
198705
198704
  const commandSource = make$45("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));
198706
198705
  //#endregion
198707
198706
  //#region package.json
198708
- var version = "0.3.43";
198707
+ var version = "0.3.44";
198709
198708
  //#endregion
198710
198709
  //#region src/commands/projects/ls.ts
198711
198710
  const commandProjectsLs = make$45("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.43",
4
+ "version": "0.3.44",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -29,7 +29,7 @@
29
29
  "@octokit/plugin-rest-endpoint-methods": "^17.0.0",
30
30
  "@octokit/types": "^16.0.0",
31
31
  "@typescript/native-preview": "7.0.0-dev.20260308.1",
32
- "clanka": "^0.0.13",
32
+ "clanka": "^0.0.14",
33
33
  "concurrently": "^9.2.1",
34
34
  "effect": "4.0.0-beta.29",
35
35
  "husky": "^9.1.7",