lalph 0.3.40 → 0.3.42
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 +20 -18
- 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.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/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.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/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.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/Executor.js
|
|
177188
177188
|
/**
|
|
177189
177189
|
* @since 1.0.0
|
|
177190
177190
|
*/
|
|
@@ -177222,7 +177222,10 @@ ${options.script}
|
|
|
177222
177222
|
fiber.addObserver((exit) => {
|
|
177223
177223
|
running--;
|
|
177224
177224
|
if (exit._tag === "Success") resolve(exit.value);
|
|
177225
|
-
else
|
|
177225
|
+
else {
|
|
177226
|
+
if (hasInterruptsOnly(exit.cause)) return;
|
|
177227
|
+
reject(squash(exit.cause));
|
|
177228
|
+
}
|
|
177226
177229
|
});
|
|
177227
177230
|
});
|
|
177228
177231
|
};
|
|
@@ -177261,7 +177264,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
177261
177264
|
}
|
|
177262
177265
|
};
|
|
177263
177266
|
//#endregion
|
|
177264
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
177267
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/TypeBuilder.js
|
|
177265
177268
|
const resolveDocumentation = resolveAt("documentation");
|
|
177266
177269
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
177267
177270
|
const Precedence = {
|
|
@@ -177534,7 +177537,7 @@ const render = (schema, options) => {
|
|
|
177534
177537
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
177535
177538
|
};
|
|
177536
177539
|
//#endregion
|
|
177537
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
177540
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/ToolkitRenderer.js
|
|
177538
177541
|
/**
|
|
177539
177542
|
* @since 1.0.0
|
|
177540
177543
|
*/
|
|
@@ -177556,7 +177559,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
177556
177559
|
}) });
|
|
177557
177560
|
};
|
|
177558
177561
|
//#endregion
|
|
177559
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
177562
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/Agent.js
|
|
177560
177563
|
/**
|
|
177561
177564
|
* @since 1.0.0
|
|
177562
177565
|
*/
|
|
@@ -177657,7 +177660,7 @@ ${prompt}`));
|
|
|
177657
177660
|
}).pipe(options.subagentModel ? provide$1(orDie$3(options.subagentModel)) : provideServices(services$4));
|
|
177658
177661
|
} }).pipe(add$3(CurrentDirectory, options.directory), add$3(TaskCompleteDeferred, deferred));
|
|
177659
177662
|
const executeScript = fnUntraced(function* (script) {
|
|
177660
|
-
maybeSend(agentId, new ScriptEnd());
|
|
177663
|
+
if (maybeSend(agentId, new ScriptEnd())) flushBuffer();
|
|
177661
177664
|
const output = yield* pipe(executor.execute({
|
|
177662
177665
|
tools,
|
|
177663
177666
|
script
|
|
@@ -177811,13 +177814,14 @@ Javascript output:
|
|
|
177811
177814
|
|
|
177812
177815
|
# Guidelines
|
|
177813
177816
|
|
|
177817
|
+
- **Full read and understand the users task** before proceeding.
|
|
177814
177818
|
- Use the current state of the codebase to inform your decisions. Don't look at git history unless explicity asked to.
|
|
177815
177819
|
- Only add comments when necessary.
|
|
177816
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
|
|
177817
177821
|
`;
|
|
177818
177822
|
};
|
|
177819
177823
|
const generateSystemMulti = (toolsDts) => {
|
|
177820
|
-
return `
|
|
177824
|
+
return `You can interact with the system by writing plain javascript code (no typescript) that will be executed for you.
|
|
177821
177825
|
|
|
177822
177826
|
- Use \`console.log\` to print any output you need.
|
|
177823
177827
|
- Top level await is supported.
|
|
@@ -188282,7 +188286,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
188282
188286
|
})));
|
|
188283
188287
|
});
|
|
188284
188288
|
//#endregion
|
|
188285
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188289
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/CodexAuth.js
|
|
188286
188290
|
/**
|
|
188287
188291
|
* @since 1.0.0
|
|
188288
188292
|
*/
|
|
@@ -188502,7 +188506,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
188502
188506
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
188503
188507
|
};
|
|
188504
188508
|
//#endregion
|
|
188505
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188509
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/Codex.js
|
|
188506
188510
|
/**
|
|
188507
188511
|
* @since 1.0.0
|
|
188508
188512
|
*/
|
|
@@ -188876,7 +188880,7 @@ const decodeChatCompletionSseData = (data) => {
|
|
|
188876
188880
|
return isChatCompletionChunk(parsed) ? parsed : void 0;
|
|
188877
188881
|
};
|
|
188878
188882
|
//#endregion
|
|
188879
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188883
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/GithubCopilotAuth.js
|
|
188880
188884
|
/**
|
|
188881
188885
|
* @since 1.0.0
|
|
188882
188886
|
*/
|
|
@@ -189470,7 +189474,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
189470
189474
|
const chalk = createChalk();
|
|
189471
189475
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
189472
189476
|
//#endregion
|
|
189473
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
189477
|
+
//#region node_modules/.pnpm/clanka@0.0.12_@effect+ai-openai-compat@4.0.0-beta.29_effect@4.0.0-beta.29__@effect+ai-o_d85f2c0134427bd172014be388060e81/node_modules/clanka/dist/OutputFormatter.js
|
|
189474
189478
|
/**
|
|
189475
189479
|
* @since 1.0.0
|
|
189476
189480
|
*/
|
|
@@ -197194,7 +197198,7 @@ Your job is to implement the task described above.
|
|
|
197194
197198
|
- If you believe the task is complete, update the \`state\` to "in-review".
|
|
197195
197199
|
|
|
197196
197200
|
${keyInformation(options)}`;
|
|
197197
|
-
const promptClanka = (options) =>
|
|
197201
|
+
const promptClanka = (options) => `Your job is to implement this task:
|
|
197198
197202
|
|
|
197199
197203
|
ID: ${options.task.id}
|
|
197200
197204
|
Task: ${options.task.title}
|
|
@@ -197202,9 +197206,7 @@ Description:
|
|
|
197202
197206
|
|
|
197203
197207
|
${options.task.description}
|
|
197204
197208
|
|
|
197205
|
-
#
|
|
197206
|
-
|
|
197207
|
-
Your job is to implement the task described above.
|
|
197209
|
+
# Workflow
|
|
197208
197210
|
|
|
197209
197211
|
1. Carefully study the current task list to understand the context of the task, and
|
|
197210
197212
|
discover any key learnings from previous work.
|
|
@@ -198703,7 +198705,7 @@ const commandEdit = make$45("edit").pipe(withDescription("Open the selected proj
|
|
|
198703
198705
|
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
198706
|
//#endregion
|
|
198705
198707
|
//#region package.json
|
|
198706
|
-
var version = "0.3.
|
|
198708
|
+
var version = "0.3.42";
|
|
198707
198709
|
//#endregion
|
|
198708
198710
|
//#region src/commands/projects/ls.ts
|
|
198709
198711
|
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.42",
|
|
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.12",
|
|
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.
|