lalph 0.3.109 → 0.3.110
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 +54 -26
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -181743,7 +181743,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
|
|
|
181743
181743
|
});
|
|
181744
181744
|
Ze.glob = Ze;
|
|
181745
181745
|
//#endregion
|
|
181746
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
181746
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/ApplyPatch.js
|
|
181747
181747
|
/**
|
|
181748
181748
|
* @since 1.0.0
|
|
181749
181749
|
*/
|
|
@@ -196616,7 +196616,7 @@ var StreamableHTTPClientTransport = class {
|
|
|
196616
196616
|
}
|
|
196617
196617
|
};
|
|
196618
196618
|
//#endregion
|
|
196619
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
196619
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/McpClient.js
|
|
196620
196620
|
/**
|
|
196621
196621
|
* @since 1.0.0
|
|
196622
196622
|
*/
|
|
@@ -196661,7 +196661,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
|
|
|
196661
196661
|
});
|
|
196662
196662
|
}));
|
|
196663
196663
|
//#endregion
|
|
196664
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
196664
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/ExaSearch.js
|
|
196665
196665
|
/**
|
|
196666
196666
|
* @since 1.0.0
|
|
196667
196667
|
*/
|
|
@@ -211611,7 +211611,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
211611
211611
|
exports.impl = impl;
|
|
211612
211612
|
}));
|
|
211613
211613
|
//#endregion
|
|
211614
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
211614
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/WebToMarkdown.js
|
|
211615
211615
|
/**
|
|
211616
211616
|
* @since 1.0.0
|
|
211617
211617
|
*/
|
|
@@ -214750,7 +214750,7 @@ function isEmptyParamsRecord(indexSignature) {
|
|
|
214750
214750
|
return indexSignature.parameter === string$3 && isNever(indexSignature.type);
|
|
214751
214751
|
}
|
|
214752
214752
|
//#endregion
|
|
214753
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
214753
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/SemanticSearch/Service.js
|
|
214754
214754
|
/**
|
|
214755
214755
|
* @since 1.0.0
|
|
214756
214756
|
*/
|
|
@@ -214776,7 +214776,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$5(m
|
|
|
214776
214776
|
onSome: (service) => service.removeFile(path)
|
|
214777
214777
|
})));
|
|
214778
214778
|
//#endregion
|
|
214779
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
214779
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/AgentTools.js
|
|
214780
214780
|
/**
|
|
214781
214781
|
* @since 1.0.0
|
|
214782
214782
|
*/
|
|
@@ -215179,7 +215179,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
|
|
|
215179
215179
|
AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
|
|
215180
215180
|
var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
|
|
215181
215181
|
//#endregion
|
|
215182
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215182
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/TypeBuilder.js
|
|
215183
215183
|
const resolveDocumentation = resolveAt("documentation");
|
|
215184
215184
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
215185
215185
|
const Precedence = {
|
|
@@ -215452,7 +215452,7 @@ const render = (schema, options) => {
|
|
|
215452
215452
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
215453
215453
|
};
|
|
215454
215454
|
//#endregion
|
|
215455
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215455
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/ToolkitRenderer.js
|
|
215456
215456
|
/**
|
|
215457
215457
|
* @since 1.0.0
|
|
215458
215458
|
*/
|
|
@@ -215474,7 +215474,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
215474
215474
|
}) });
|
|
215475
215475
|
};
|
|
215476
215476
|
//#endregion
|
|
215477
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215477
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/ScriptPreprocessing.js
|
|
215478
215478
|
const callTemplateTargets = ["applyPatch", "taskComplete"];
|
|
215479
215479
|
const objectPropertyTargets = [{
|
|
215480
215480
|
functionName: "writeFile",
|
|
@@ -215667,6 +215667,28 @@ const findStringLiteralEnd = (text, start, delimiter) => {
|
|
|
215667
215667
|
for (let index = start + 1; index < text.length; index++) if (text[index] === delimiter && !isEscaped(text, index)) return index;
|
|
215668
215668
|
return -1;
|
|
215669
215669
|
};
|
|
215670
|
+
const findEnclosingStringLiteral = (text, index) => {
|
|
215671
|
+
let start = index - 1;
|
|
215672
|
+
while (start >= 0) {
|
|
215673
|
+
const char = text[start];
|
|
215674
|
+
if ((char === "\"" || char === "'") && !isEscaped(text, start)) break;
|
|
215675
|
+
if (char === "\n" || char === "\r") return;
|
|
215676
|
+
start--;
|
|
215677
|
+
}
|
|
215678
|
+
if (start < 0) return;
|
|
215679
|
+
const end = findStringLiteralEnd(text, start, text[start]);
|
|
215680
|
+
if (end === -1 || index >= end) return;
|
|
215681
|
+
return {
|
|
215682
|
+
start,
|
|
215683
|
+
end
|
|
215684
|
+
};
|
|
215685
|
+
};
|
|
215686
|
+
const isRepeatedControlEscapeString = (text, index) => {
|
|
215687
|
+
const bounds = findEnclosingStringLiteral(text, index);
|
|
215688
|
+
if (bounds === void 0) return false;
|
|
215689
|
+
const content = text.slice(bounds.start + 1, bounds.end);
|
|
215690
|
+
return /^(?:\\\\[0bnrtvf]|\\\\r\\\\n){2,}$/.test(content);
|
|
215691
|
+
};
|
|
215670
215692
|
const findInterpolationExpressionEnd = (text, openBrace) => {
|
|
215671
215693
|
let depth = 1;
|
|
215672
215694
|
let cursor = openBrace + 1;
|
|
@@ -215732,11 +215754,17 @@ const escapeTemplateLiteralContent = (text) => {
|
|
|
215732
215754
|
for (let index = 0; index < normalized.length; index++) {
|
|
215733
215755
|
const char = normalized[index];
|
|
215734
215756
|
if (char === "\\") {
|
|
215735
|
-
|
|
215736
|
-
|
|
215757
|
+
let runEnd = index + 1;
|
|
215758
|
+
while (normalized[runEnd] === "\\") runEnd++;
|
|
215759
|
+
const runLength = runEnd - index;
|
|
215760
|
+
if (normalized[runEnd] === "`" || normalized[runEnd] === "$" && normalized[runEnd + 1] === "{") {
|
|
215761
|
+
out += "\\".repeat(runLength * 2 + (runLength % 2 === 0 ? 1 : -1)) + normalized[runEnd];
|
|
215762
|
+
index = runEnd;
|
|
215737
215763
|
continue;
|
|
215738
215764
|
}
|
|
215739
|
-
|
|
215765
|
+
const escapedRunLength = runLength % 2 === 0 && isRepeatedControlEscapeString(normalized, index) ? runLength : runLength * 2;
|
|
215766
|
+
out += "\\".repeat(escapedRunLength);
|
|
215767
|
+
index = runEnd - 1;
|
|
215740
215768
|
continue;
|
|
215741
215769
|
}
|
|
215742
215770
|
if (char === "`" && !isEscaped(normalized, index)) {
|
|
@@ -216019,7 +216047,7 @@ const rewriteAssignedTargets = (script) => {
|
|
|
216019
216047
|
};
|
|
216020
216048
|
const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
|
|
216021
216049
|
//#endregion
|
|
216022
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216050
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/AgentExecutor.js
|
|
216023
216051
|
/**
|
|
216024
216052
|
* @since 1.0.0
|
|
216025
216053
|
*/
|
|
@@ -216204,7 +216232,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
216204
216232
|
}
|
|
216205
216233
|
};
|
|
216206
216234
|
//#endregion
|
|
216207
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216235
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/ScriptExtraction.js
|
|
216208
216236
|
const stripWrappingCodeFence = (script) => {
|
|
216209
216237
|
const lines = script.split(/\r?\n/);
|
|
216210
216238
|
if (lines.length < 2) return script;
|
|
@@ -217753,7 +217781,7 @@ const applySpanTransformer = (transformer, response, options) => {
|
|
|
217753
217781
|
});
|
|
217754
217782
|
};
|
|
217755
217783
|
//#endregion
|
|
217756
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
217784
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/Agent.js
|
|
217757
217785
|
/**
|
|
217758
217786
|
* @since 1.0.0
|
|
217759
217787
|
*/
|
|
@@ -229260,7 +229288,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
229260
229288
|
})));
|
|
229261
229289
|
});
|
|
229262
229290
|
//#endregion
|
|
229263
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229291
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/CodexAuth.js
|
|
229264
229292
|
/**
|
|
229265
229293
|
* @since 1.0.0
|
|
229266
229294
|
*/
|
|
@@ -229480,7 +229508,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
229480
229508
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
229481
229509
|
};
|
|
229482
229510
|
//#endregion
|
|
229483
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229511
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/Codex.js
|
|
229484
229512
|
/**
|
|
229485
229513
|
* @since 1.0.0
|
|
229486
229514
|
*/
|
|
@@ -229506,7 +229534,7 @@ const layerModel = (model, options) => layer$7({
|
|
|
229506
229534
|
}
|
|
229507
229535
|
}).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
|
|
229508
229536
|
//#endregion
|
|
229509
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229537
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/CodeChunker.js
|
|
229510
229538
|
/**
|
|
229511
229539
|
* @since 1.0.0
|
|
229512
229540
|
*/
|
|
@@ -231266,7 +231294,7 @@ const getUsageDetailNumber = (details, field) => {
|
|
|
231266
231294
|
return typeof value === "number" ? value : void 0;
|
|
231267
231295
|
};
|
|
231268
231296
|
//#endregion
|
|
231269
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231297
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/CopilotAuth.js
|
|
231270
231298
|
/**
|
|
231271
231299
|
* @since 1.0.0
|
|
231272
231300
|
*/
|
|
@@ -231457,7 +231485,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
|
|
|
231457
231485
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
|
|
231458
231486
|
};
|
|
231459
231487
|
//#endregion
|
|
231460
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231488
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/Copilot.js
|
|
231461
231489
|
/**
|
|
231462
231490
|
* @since 1.0.0
|
|
231463
231491
|
*/
|
|
@@ -231877,7 +231905,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
231877
231905
|
const chalk = createChalk();
|
|
231878
231906
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
231879
231907
|
//#endregion
|
|
231880
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231908
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/OutputFormatter.js
|
|
231881
231909
|
/**
|
|
231882
231910
|
* @since 1.0.0
|
|
231883
231911
|
*/
|
|
@@ -232585,7 +232613,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
|
|
|
232585
232613
|
};
|
|
232586
232614
|
});
|
|
232587
232615
|
//#endregion
|
|
232588
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232616
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/ChunkRepo.js
|
|
232589
232617
|
/**
|
|
232590
232618
|
* @since 1.0.0
|
|
232591
232619
|
* @category Models
|
|
@@ -232851,7 +232879,7 @@ const run$1 = /* @__PURE__ */ make$25({});
|
|
|
232851
232879
|
*/
|
|
232852
232880
|
const layer$1 = (options) => effectDiscard(run$1(options));
|
|
232853
232881
|
//#endregion
|
|
232854
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232882
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/internal/sqlite-vector.js
|
|
232855
232883
|
/**
|
|
232856
232884
|
* Binary extension for each platform
|
|
232857
232885
|
*/
|
|
@@ -232968,7 +232996,7 @@ function getExtensionPath() {
|
|
|
232968
232996
|
throw new ExtensionNotFoundError(`SQLite Vector extension not found for platform: ${getCurrentPlatform()}\n\nThe platform-specific package "${getPlatformPackageName()}" is not installed.\nThis usually happens when:\n 1. Your platform is not supported\n 2. npm failed to install optional dependencies\n 3. You're installing with --no-optional flag\n\nTry running: npm install --force`);
|
|
232969
232997
|
}
|
|
232970
232998
|
//#endregion
|
|
232971
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232999
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/Sqlite.js
|
|
232972
233000
|
/**
|
|
232973
233001
|
* @since 1.0.0
|
|
232974
233002
|
*/
|
|
@@ -232996,7 +233024,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
|
|
|
232996
233024
|
yield* fs.makeDirectory(directory, { recursive: true });
|
|
232997
233025
|
}))));
|
|
232998
233026
|
//#endregion
|
|
232999
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
233027
|
+
//#region node_modules/.pnpm/clanka@0.2.35_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_c5d004a52d3f1db02066baa2032cac86/node_modules/clanka/dist/SemanticSearch.js
|
|
233000
233028
|
/**
|
|
233001
233029
|
* @since 1.0.0
|
|
233002
233030
|
*/
|
|
@@ -242684,7 +242712,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
|
|
|
242684
242712
|
const commandSource = make$60("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));
|
|
242685
242713
|
//#endregion
|
|
242686
242714
|
//#region package.json
|
|
242687
|
-
var version = "0.3.
|
|
242715
|
+
var version = "0.3.110";
|
|
242688
242716
|
//#endregion
|
|
242689
242717
|
//#region src/Tracing.ts
|
|
242690
242718
|
const TracingLayer = unwrap$3(gen(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.110",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
|
46
46
|
"@octokit/types": "^16.0.0",
|
|
47
47
|
"@typescript/native-preview": "7.0.0-dev.20260323.1",
|
|
48
|
-
"clanka": "^0.2.
|
|
48
|
+
"clanka": "^0.2.35",
|
|
49
49
|
"concurrently": "^9.2.1",
|
|
50
50
|
"effect": "4.0.0-beta.38",
|
|
51
51
|
"husky": "^9.1.7",
|