lalph 0.3.40 → 0.3.41
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 +16 -17
- package/package.json +2 -2
- package/src/PromptGen.ts +2 -4
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.
|
|
176667
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/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.
|
|
176891
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/AgentTools.js
|
|
176892
176892
|
/**
|
|
176893
176893
|
* @since 1.0.0
|
|
176894
176894
|
*/
|
|
@@ -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.
|
|
177187
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/Executor.js
|
|
177188
177188
|
/**
|
|
177189
177189
|
* @since 1.0.0
|
|
177190
177190
|
*/
|
|
@@ -177261,7 +177261,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
177261
177261
|
}
|
|
177262
177262
|
};
|
|
177263
177263
|
//#endregion
|
|
177264
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
177264
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/TypeBuilder.js
|
|
177265
177265
|
const resolveDocumentation = resolveAt("documentation");
|
|
177266
177266
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
177267
177267
|
const Precedence = {
|
|
@@ -177534,7 +177534,7 @@ const render = (schema, options) => {
|
|
|
177534
177534
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
177535
177535
|
};
|
|
177536
177536
|
//#endregion
|
|
177537
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
177537
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/ToolkitRenderer.js
|
|
177538
177538
|
/**
|
|
177539
177539
|
* @since 1.0.0
|
|
177540
177540
|
*/
|
|
@@ -177556,7 +177556,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
177556
177556
|
}) });
|
|
177557
177557
|
};
|
|
177558
177558
|
//#endregion
|
|
177559
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
177559
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/Agent.js
|
|
177560
177560
|
/**
|
|
177561
177561
|
* @since 1.0.0
|
|
177562
177562
|
*/
|
|
@@ -177657,7 +177657,7 @@ ${prompt}`));
|
|
|
177657
177657
|
}).pipe(options.subagentModel ? provide$1(orDie$3(options.subagentModel)) : provideServices(services$4));
|
|
177658
177658
|
} }).pipe(add$3(CurrentDirectory, options.directory), add$3(TaskCompleteDeferred, deferred));
|
|
177659
177659
|
const executeScript = fnUntraced(function* (script) {
|
|
177660
|
-
maybeSend(agentId, new ScriptEnd());
|
|
177660
|
+
if (maybeSend(agentId, new ScriptEnd())) flushBuffer();
|
|
177661
177661
|
const output = yield* pipe(executor.execute({
|
|
177662
177662
|
tools,
|
|
177663
177663
|
script
|
|
@@ -177811,13 +177811,14 @@ Javascript output:
|
|
|
177811
177811
|
|
|
177812
177812
|
# Guidelines
|
|
177813
177813
|
|
|
177814
|
+
- **Full read and understand the users task** before proceeding.
|
|
177814
177815
|
- Use the current state of the codebase to inform your decisions. Don't look at git history unless explicity asked to.
|
|
177815
177816
|
- Only add comments when necessary.
|
|
177816
177817
|
- Make use of the "delegate" tool to delegate work, exploration and small research tasks. You can delegate multiple tasks in parallel with Promise.all
|
|
177817
177818
|
`;
|
|
177818
177819
|
};
|
|
177819
177820
|
const generateSystemMulti = (toolsDts) => {
|
|
177820
|
-
return `
|
|
177821
|
+
return `You can interact with the system by writing plain javascript code (no typescript) that will be executed for you.
|
|
177821
177822
|
|
|
177822
177823
|
- Use \`console.log\` to print any output you need.
|
|
177823
177824
|
- Top level await is supported.
|
|
@@ -188282,7 +188283,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
188282
188283
|
})));
|
|
188283
188284
|
});
|
|
188284
188285
|
//#endregion
|
|
188285
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188286
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/CodexAuth.js
|
|
188286
188287
|
/**
|
|
188287
188288
|
* @since 1.0.0
|
|
188288
188289
|
*/
|
|
@@ -188502,7 +188503,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
188502
188503
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
188503
188504
|
};
|
|
188504
188505
|
//#endregion
|
|
188505
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188506
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/Codex.js
|
|
188506
188507
|
/**
|
|
188507
188508
|
* @since 1.0.0
|
|
188508
188509
|
*/
|
|
@@ -188876,7 +188877,7 @@ const decodeChatCompletionSseData = (data) => {
|
|
|
188876
188877
|
return isChatCompletionChunk(parsed) ? parsed : void 0;
|
|
188877
188878
|
};
|
|
188878
188879
|
//#endregion
|
|
188879
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188880
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/GithubCopilotAuth.js
|
|
188880
188881
|
/**
|
|
188881
188882
|
* @since 1.0.0
|
|
188882
188883
|
*/
|
|
@@ -189470,7 +189471,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
189470
189471
|
const chalk = createChalk();
|
|
189471
189472
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
189472
189473
|
//#endregion
|
|
189473
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
189474
|
+
//#region node_modules/.pnpm/clanka@0.0.11_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_ede1aba31973616b9b2b0c9db8e47539/node_modules/clanka/dist/OutputFormatter.js
|
|
189474
189475
|
/**
|
|
189475
189476
|
* @since 1.0.0
|
|
189476
189477
|
*/
|
|
@@ -197194,7 +197195,7 @@ Your job is to implement the task described above.
|
|
|
197194
197195
|
- If you believe the task is complete, update the \`state\` to "in-review".
|
|
197195
197196
|
|
|
197196
197197
|
${keyInformation(options)}`;
|
|
197197
|
-
const promptClanka = (options) =>
|
|
197198
|
+
const promptClanka = (options) => `Your job is to implement this task:
|
|
197198
197199
|
|
|
197199
197200
|
ID: ${options.task.id}
|
|
197200
197201
|
Task: ${options.task.title}
|
|
@@ -197202,9 +197203,7 @@ Description:
|
|
|
197202
197203
|
|
|
197203
197204
|
${options.task.description}
|
|
197204
197205
|
|
|
197205
|
-
#
|
|
197206
|
-
|
|
197207
|
-
Your job is to implement the task described above.
|
|
197206
|
+
# Workflow
|
|
197208
197207
|
|
|
197209
197208
|
1. Carefully study the current task list to understand the context of the task, and
|
|
197210
197209
|
discover any key learnings from previous work.
|
|
@@ -198703,7 +198702,7 @@ const commandEdit = make$45("edit").pipe(withDescription("Open the selected proj
|
|
|
198703
198702
|
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));
|
|
198704
198703
|
//#endregion
|
|
198705
198704
|
//#region package.json
|
|
198706
|
-
var version = "0.3.
|
|
198705
|
+
var version = "0.3.41";
|
|
198707
198706
|
//#endregion
|
|
198708
198707
|
//#region src/commands/projects/ls.ts
|
|
198709
198708
|
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.
|
|
4
|
+
"version": "0.3.41",
|
|
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.
|
|
32
|
+
"clanka": "^0.0.11",
|
|
33
33
|
"concurrently": "^9.2.1",
|
|
34
34
|
"effect": "4.0.0-beta.29",
|
|
35
35
|
"husky": "^9.1.7",
|
package/src/PromptGen.ts
CHANGED
|
@@ -227,7 +227,7 @@ ${keyInformation(options)}`
|
|
|
227
227
|
readonly specsDirectory: string
|
|
228
228
|
readonly githubPrNumber: number | undefined
|
|
229
229
|
readonly gitFlow: GitFlow["Service"]
|
|
230
|
-
}) =>
|
|
230
|
+
}) => `Your job is to implement this task:
|
|
231
231
|
|
|
232
232
|
ID: ${options.task.id}
|
|
233
233
|
Task: ${options.task.title}
|
|
@@ -235,9 +235,7 @@ Description:
|
|
|
235
235
|
|
|
236
236
|
${options.task.description}
|
|
237
237
|
|
|
238
|
-
#
|
|
239
|
-
|
|
240
|
-
Your job is to implement the task described above.
|
|
238
|
+
# Workflow
|
|
241
239
|
|
|
242
240
|
1. Carefully study the current task list to understand the context of the task, and
|
|
243
241
|
discover any key learnings from previous work.
|