lalph 0.3.116 → 0.3.118
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 +53 -36
- package/package.json +4 -4
- package/src/domain/CliAgent.ts +2 -0
package/dist/cli.mjs
CHANGED
|
@@ -91495,6 +91495,7 @@ ${prompt}`], {
|
|
|
91495
91495
|
"exec",
|
|
91496
91496
|
"--dangerously-bypass-approvals-and-sandbox",
|
|
91497
91497
|
...extraArgs,
|
|
91498
|
+
"--",
|
|
91498
91499
|
prdFilePath ? `@${prdFilePath}
|
|
91499
91500
|
|
|
91500
91501
|
${prompt}` : prompt
|
|
@@ -91503,9 +91504,13 @@ ${prompt}` : prompt
|
|
|
91503
91504
|
stderr: "pipe",
|
|
91504
91505
|
stdin: "inherit"
|
|
91505
91506
|
}),
|
|
91506
|
-
commandPlan: ({ prompt, prdFilePath, dangerous }) => make$45("codex", [
|
|
91507
|
+
commandPlan: ({ prompt, prdFilePath, dangerous }) => make$45("codex", [
|
|
91508
|
+
...dangerous ? ["--dangerously-bypass-approvals-and-sandbox"] : [],
|
|
91509
|
+
"--",
|
|
91510
|
+
prdFilePath ? `@${prdFilePath}
|
|
91507
91511
|
|
|
91508
|
-
${prompt}` : prompt
|
|
91512
|
+
${prompt}` : prompt
|
|
91513
|
+
], {
|
|
91509
91514
|
stdout: "inherit",
|
|
91510
91515
|
stderr: "inherit",
|
|
91511
91516
|
stdin: "inherit"
|
|
@@ -182737,7 +182742,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
|
|
|
182737
182742
|
});
|
|
182738
182743
|
Ze.glob = Ze;
|
|
182739
182744
|
//#endregion
|
|
182740
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
182745
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/ApplyPatch.js
|
|
182741
182746
|
/**
|
|
182742
182747
|
* @since 1.0.0
|
|
182743
182748
|
*/
|
|
@@ -197618,7 +197623,7 @@ var StreamableHTTPClientTransport = class {
|
|
|
197618
197623
|
}
|
|
197619
197624
|
};
|
|
197620
197625
|
//#endregion
|
|
197621
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
197626
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/McpClient.js
|
|
197622
197627
|
/**
|
|
197623
197628
|
* @since 1.0.0
|
|
197624
197629
|
*/
|
|
@@ -197663,7 +197668,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
|
|
|
197663
197668
|
});
|
|
197664
197669
|
}));
|
|
197665
197670
|
//#endregion
|
|
197666
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
197671
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/ExaSearch.js
|
|
197667
197672
|
/**
|
|
197668
197673
|
* @since 1.0.0
|
|
197669
197674
|
*/
|
|
@@ -212613,7 +212618,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
212613
212618
|
exports.impl = impl;
|
|
212614
212619
|
}));
|
|
212615
212620
|
//#endregion
|
|
212616
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
212621
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/WebToMarkdown.js
|
|
212617
212622
|
/**
|
|
212618
212623
|
* @since 1.0.0
|
|
212619
212624
|
*/
|
|
@@ -215752,7 +215757,7 @@ function isEmptyParamsRecord(indexSignature) {
|
|
|
215752
215757
|
return indexSignature.parameter === string$3 && isNever(indexSignature.type);
|
|
215753
215758
|
}
|
|
215754
215759
|
//#endregion
|
|
215755
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215760
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/SemanticSearch/Service.js
|
|
215756
215761
|
/**
|
|
215757
215762
|
* @since 1.0.0
|
|
215758
215763
|
*/
|
|
@@ -215778,7 +215783,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$5(m
|
|
|
215778
215783
|
onSome: (service) => service.removeFile(path)
|
|
215779
215784
|
})));
|
|
215780
215785
|
//#endregion
|
|
215781
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215786
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/AgentTools.js
|
|
215782
215787
|
/**
|
|
215783
215788
|
* @since 1.0.0
|
|
215784
215789
|
*/
|
|
@@ -216181,7 +216186,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
|
|
|
216181
216186
|
AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
|
|
216182
216187
|
var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
|
|
216183
216188
|
//#endregion
|
|
216184
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216189
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/TypeBuilder.js
|
|
216185
216190
|
const resolveDocumentation = resolveAt("documentation");
|
|
216186
216191
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
216187
216192
|
const Precedence = {
|
|
@@ -216454,7 +216459,7 @@ const render = (schema, options) => {
|
|
|
216454
216459
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
216455
216460
|
};
|
|
216456
216461
|
//#endregion
|
|
216457
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216462
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/ToolkitRenderer.js
|
|
216458
216463
|
/**
|
|
216459
216464
|
* @since 1.0.0
|
|
216460
216465
|
*/
|
|
@@ -216476,7 +216481,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
216476
216481
|
}) });
|
|
216477
216482
|
};
|
|
216478
216483
|
//#endregion
|
|
216479
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216484
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/ScriptPreprocessing.js
|
|
216480
216485
|
const callTemplateTargets = ["applyPatch", "taskComplete"];
|
|
216481
216486
|
const objectPropertyTargets = [{
|
|
216482
216487
|
functionName: "writeFile",
|
|
@@ -216672,7 +216677,9 @@ const normalizePatchEscapedQuotes = (text) => text.includes("*** Begin Patch") ?
|
|
|
216672
216677
|
if (previous === "{" || previous === "[" || previous === ":" || previous === "," || next === ":" || next === "}" || next === "]" || next === ",") return match;
|
|
216673
216678
|
return `"${content}"`;
|
|
216674
216679
|
}) : text;
|
|
216675
|
-
const
|
|
216680
|
+
const normalizeTemplateEscapedMarkers = (text) => text.replace(/\\{2,}(?=`|\$\{)/g, "\\");
|
|
216681
|
+
const normalizePatchEscapedCodeSpans = (text) => text.replace(/(?<!\\)\\\\`([^`\r\n]+?)\\\\`/g, "\\`$1\\`");
|
|
216682
|
+
const normalizeNonPatchEscapedTemplateMarkers = (text) => normalizeTemplateEscapedMarkers(text).replace(/(^|\s)\\+(?=\.[A-Za-z0-9_-]+\/)/g, "$1");
|
|
216676
216683
|
const findStringLiteralEnd = (text, start, delimiter) => {
|
|
216677
216684
|
for (let index = start + 1; index < text.length; index++) if (text[index] === delimiter && !isEscaped(text, index)) return index;
|
|
216678
216685
|
return -1;
|
|
@@ -216754,7 +216761,7 @@ const findLiteralInterpolationEnd = (text, start) => {
|
|
|
216754
216761
|
const escapeTemplateLiteralContent = (text) => {
|
|
216755
216762
|
const patchNormalized = normalizePatchEscapedQuotes(text);
|
|
216756
216763
|
const isPatchContent = patchNormalized.includes("*** Begin Patch");
|
|
216757
|
-
const normalized = isPatchContent ? patchNormalized : normalizeNonPatchEscapedTemplateMarkers(patchNormalized);
|
|
216764
|
+
const normalized = isPatchContent ? normalizePatchEscapedCodeSpans(patchNormalized) : normalizeNonPatchEscapedTemplateMarkers(patchNormalized);
|
|
216758
216765
|
if (!needsTemplateEscaping(normalized) && !(isPatchContent && normalized.includes("\\\""))) return normalized;
|
|
216759
216766
|
let out = "";
|
|
216760
216767
|
for (let index = 0; index < normalized.length; index++) {
|
|
@@ -217086,7 +217093,7 @@ const rewriteAssignedTargets = (script) => {
|
|
|
217086
217093
|
};
|
|
217087
217094
|
const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
|
|
217088
217095
|
//#endregion
|
|
217089
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
217096
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/AgentExecutor.js
|
|
217090
217097
|
/**
|
|
217091
217098
|
* @since 1.0.0
|
|
217092
217099
|
*/
|
|
@@ -217271,7 +217278,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
217271
217278
|
}
|
|
217272
217279
|
};
|
|
217273
217280
|
//#endregion
|
|
217274
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
217281
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/ScriptExtraction.js
|
|
217275
217282
|
const stripWrappingCodeFence = (script) => {
|
|
217276
217283
|
const lines = script.split(/\r?\n/);
|
|
217277
217284
|
if (lines.length < 2) return script;
|
|
@@ -218820,7 +218827,7 @@ const applySpanTransformer = (transformer, response, options) => {
|
|
|
218820
218827
|
});
|
|
218821
218828
|
};
|
|
218822
218829
|
//#endregion
|
|
218823
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
218830
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/Agent.js
|
|
218824
218831
|
/**
|
|
218825
218832
|
* @since 1.0.0
|
|
218826
218833
|
*/
|
|
@@ -219073,6 +219080,14 @@ ${content}
|
|
|
219073
219080
|
}), raceFirst(turnTimeoutEffect), retry$1({
|
|
219074
219081
|
while: (err) => {
|
|
219075
219082
|
if (err._tag === "TimeoutError") {
|
|
219083
|
+
maybeSend({
|
|
219084
|
+
agentId,
|
|
219085
|
+
part: new ErrorRetry({ error: make$15({
|
|
219086
|
+
module: "clanka/Agent",
|
|
219087
|
+
method: "send",
|
|
219088
|
+
reason: new UnknownError$1({ description: "TurnTimeout was reached" })
|
|
219089
|
+
}) })
|
|
219090
|
+
});
|
|
219076
219091
|
response = [];
|
|
219077
219092
|
return true;
|
|
219078
219093
|
}
|
|
@@ -219558,7 +219573,7 @@ var Retry = class Retry extends TaggedClass$2("Retry") {
|
|
|
219558
219573
|
}
|
|
219559
219574
|
};
|
|
219560
219575
|
//#endregion
|
|
219561
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
219576
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/Generated.js
|
|
219562
219577
|
/**
|
|
219563
219578
|
* @since 1.0.0
|
|
219564
219579
|
*/ const AdminApiKey = /* @__PURE__ */ Struct$2({
|
|
@@ -227626,7 +227641,7 @@ const OpenAiClientError = (tag, cause, response) => new OpenAiClientErrorImpl({
|
|
|
227626
227641
|
request: response.request
|
|
227627
227642
|
});
|
|
227628
227643
|
//#endregion
|
|
227629
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
227644
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/internal/errors.js
|
|
227630
227645
|
/** @internal */
|
|
227631
227646
|
const OpenAiErrorBody$1 = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
|
|
227632
227647
|
message: String$1,
|
|
@@ -227839,7 +227854,7 @@ const mapStatusCodeToReason$1 = ({ status, headers, message, metadata, http }) =
|
|
|
227839
227854
|
}
|
|
227840
227855
|
};
|
|
227841
227856
|
//#endregion
|
|
227842
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
227857
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
|
|
227843
227858
|
/**
|
|
227844
227859
|
* @since 1.0.0
|
|
227845
227860
|
*/
|
|
@@ -227854,7 +227869,7 @@ var OpenAiConfig$1 = class OpenAiConfig$1 extends Service$1()("@effect/ai-openai
|
|
|
227854
227869
|
static getOrUndefined = /* @__PURE__ */ map$10(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig$1.key));
|
|
227855
227870
|
};
|
|
227856
227871
|
//#endregion
|
|
227857
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
227872
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/OpenAiClient.js
|
|
227858
227873
|
/**
|
|
227859
227874
|
* OpenAI Client module for interacting with OpenAI's API.
|
|
227860
227875
|
*
|
|
@@ -228000,7 +228015,9 @@ const makeSocket = /* @__PURE__ */ gen(function* () {
|
|
|
228000
228015
|
}));
|
|
228001
228016
|
}
|
|
228002
228017
|
offerUnsafe(currentQueue, event);
|
|
228003
|
-
} catch {
|
|
228018
|
+
} catch (cause) {
|
|
228019
|
+
return die$2(cause);
|
|
228020
|
+
}
|
|
228004
228021
|
}).pipe(catchCause$1((cause) => {
|
|
228005
228022
|
tracker.clearUnsafe();
|
|
228006
228023
|
return currentQueue ? fail$4(currentQueue, make$15({
|
|
@@ -228170,7 +228187,7 @@ const mapProviderResults = (inputLength, results) => {
|
|
|
228170
228187
|
return succeed$4(embeddings);
|
|
228171
228188
|
};
|
|
228172
228189
|
//#endregion
|
|
228173
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
228190
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
|
|
228174
228191
|
/**
|
|
228175
228192
|
* OpenAI Embedding Model implementation.
|
|
228176
228193
|
*
|
|
@@ -228555,7 +228572,7 @@ const formats = [
|
|
|
228555
228572
|
"uuid"
|
|
228556
228573
|
];
|
|
228557
228574
|
//#endregion
|
|
228558
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
228575
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/internal/utilities.js
|
|
228559
228576
|
const finishReasonMap$1 = {
|
|
228560
228577
|
content_filter: "content-filter",
|
|
228561
228578
|
function_call: "tool-calls",
|
|
@@ -228573,7 +228590,7 @@ const resolveFinishReason$1 = (finishReason, hasToolCalls) => {
|
|
|
228573
228590
|
return reason;
|
|
228574
228591
|
};
|
|
228575
228592
|
//#endregion
|
|
228576
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
228593
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
|
|
228577
228594
|
/**
|
|
228578
228595
|
* OpenAI telemetry attributes for OpenTelemetry integration.
|
|
228579
228596
|
*
|
|
@@ -228602,7 +228619,7 @@ const addGenAIAnnotations$1 = /* @__PURE__ */ dual(2, (span, options) => {
|
|
|
228602
228619
|
}
|
|
228603
228620
|
});
|
|
228604
228621
|
//#endregion
|
|
228605
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
228622
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@353307c_ef_2efdc968db6d8eaf2884df568de92b23/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
|
|
228606
228623
|
/**
|
|
228607
228624
|
* OpenAI Language Model implementation.
|
|
228608
228625
|
*
|
|
@@ -230370,7 +230387,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
230370
230387
|
})));
|
|
230371
230388
|
});
|
|
230372
230389
|
//#endregion
|
|
230373
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
230390
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/CodexAuth.js
|
|
230374
230391
|
/**
|
|
230375
230392
|
* @since 1.0.0
|
|
230376
230393
|
*/
|
|
@@ -230590,7 +230607,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
230590
230607
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
230591
230608
|
};
|
|
230592
230609
|
//#endregion
|
|
230593
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
230610
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/Codex.js
|
|
230594
230611
|
/**
|
|
230595
230612
|
* @since 1.0.0
|
|
230596
230613
|
*/
|
|
@@ -230616,7 +230633,7 @@ const layerModel = (model, options) => layer$7({
|
|
|
230616
230633
|
}
|
|
230617
230634
|
}).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
|
|
230618
230635
|
//#endregion
|
|
230619
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
230636
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/CodeChunker.js
|
|
230620
230637
|
/**
|
|
230621
230638
|
* @since 1.0.0
|
|
230622
230639
|
*/
|
|
@@ -232376,7 +232393,7 @@ const getUsageDetailNumber = (details, field) => {
|
|
|
232376
232393
|
return typeof value === "number" ? value : void 0;
|
|
232377
232394
|
};
|
|
232378
232395
|
//#endregion
|
|
232379
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232396
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/CopilotAuth.js
|
|
232380
232397
|
/**
|
|
232381
232398
|
* @since 1.0.0
|
|
232382
232399
|
*/
|
|
@@ -232567,7 +232584,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
|
|
|
232567
232584
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
|
|
232568
232585
|
};
|
|
232569
232586
|
//#endregion
|
|
232570
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232587
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/Copilot.js
|
|
232571
232588
|
/**
|
|
232572
232589
|
* @since 1.0.0
|
|
232573
232590
|
*/
|
|
@@ -232987,7 +233004,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
232987
233004
|
const chalk = createChalk();
|
|
232988
233005
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
232989
233006
|
//#endregion
|
|
232990
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
233007
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/OutputFormatter.js
|
|
232991
233008
|
/**
|
|
232992
233009
|
* @since 1.0.0
|
|
232993
233010
|
*/
|
|
@@ -233695,7 +233712,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
|
|
|
233695
233712
|
};
|
|
233696
233713
|
});
|
|
233697
233714
|
//#endregion
|
|
233698
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
233715
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/ChunkRepo.js
|
|
233699
233716
|
/**
|
|
233700
233717
|
* @since 1.0.0
|
|
233701
233718
|
* @category Models
|
|
@@ -233961,7 +233978,7 @@ const run$1 = /* @__PURE__ */ make$25({});
|
|
|
233961
233978
|
*/
|
|
233962
233979
|
const layer$1 = (options) => effectDiscard(run$1(options));
|
|
233963
233980
|
//#endregion
|
|
233964
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
233981
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/internal/sqlite-vector.js
|
|
233965
233982
|
/**
|
|
233966
233983
|
* Binary extension for each platform
|
|
233967
233984
|
*/
|
|
@@ -234078,7 +234095,7 @@ function getExtensionPath() {
|
|
|
234078
234095
|
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`);
|
|
234079
234096
|
}
|
|
234080
234097
|
//#endregion
|
|
234081
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
234098
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/Sqlite.js
|
|
234082
234099
|
/**
|
|
234083
234100
|
* @since 1.0.0
|
|
234084
234101
|
*/
|
|
@@ -234106,7 +234123,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
|
|
|
234106
234123
|
yield* fs.makeDirectory(directory, { recursive: true });
|
|
234107
234124
|
}))));
|
|
234108
234125
|
//#endregion
|
|
234109
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
234126
|
+
//#region node_modules/.pnpm/clanka@0.2.45_@effect+ai-openai-compat@4.0.0-beta.40_effect@4.0.0-beta.40__@effect+ai-o_0d7c246f9f3286aa438cab9d50f0fe9b/node_modules/clanka/dist/SemanticSearch.js
|
|
234110
234127
|
/**
|
|
234111
234128
|
* @since 1.0.0
|
|
234112
234129
|
*/
|
|
@@ -243785,7 +243802,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
|
|
|
243785
243802
|
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));
|
|
243786
243803
|
//#endregion
|
|
243787
243804
|
//#region package.json
|
|
243788
|
-
var version = "0.3.
|
|
243805
|
+
var version = "0.3.118";
|
|
243789
243806
|
//#endregion
|
|
243790
243807
|
//#region src/Tracing.ts
|
|
243791
243808
|
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.118",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@changesets/changelog-github": "^0.6.0",
|
|
39
39
|
"@changesets/cli": "^2.30.0",
|
|
40
|
-
"@effect/ai-openai": "
|
|
40
|
+
"@effect/ai-openai": "https://pkg.pr.new/Effect-TS/effect-smol/@effect/ai-openai@353307c",
|
|
41
41
|
"@effect/ai-openai-compat": "4.0.0-beta.40",
|
|
42
|
-
"@effect/language-service": "^0.
|
|
42
|
+
"@effect/language-service": "^0.84.0",
|
|
43
43
|
"@effect/platform-node": "4.0.0-beta.40",
|
|
44
44
|
"@linear/sdk": "^80.0.0",
|
|
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.20260326.1",
|
|
48
|
-
"clanka": "^0.2.
|
|
48
|
+
"clanka": "^0.2.45",
|
|
49
49
|
"concurrently": "^9.2.1",
|
|
50
50
|
"effect": "4.0.0-beta.40",
|
|
51
51
|
"husky": "^9.1.7",
|
package/src/domain/CliAgent.ts
CHANGED
|
@@ -163,6 +163,7 @@ const codex = new CliAgent({
|
|
|
163
163
|
"exec",
|
|
164
164
|
"--dangerously-bypass-approvals-and-sandbox",
|
|
165
165
|
...extraArgs,
|
|
166
|
+
"--",
|
|
166
167
|
prdFilePath
|
|
167
168
|
? `@${prdFilePath}
|
|
168
169
|
|
|
@@ -180,6 +181,7 @@ ${prompt}`
|
|
|
180
181
|
"codex",
|
|
181
182
|
[
|
|
182
183
|
...(dangerous ? ["--dangerously-bypass-approvals-and-sandbox"] : []),
|
|
184
|
+
"--",
|
|
183
185
|
prdFilePath
|
|
184
186
|
? `@${prdFilePath}
|
|
185
187
|
|