lalph 0.3.84 → 0.3.85
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 +27 -26
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -181265,7 +181265,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
|
|
|
181265
181265
|
});
|
|
181266
181266
|
Ze.glob = Ze;
|
|
181267
181267
|
//#endregion
|
|
181268
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
181268
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/ApplyPatch.js
|
|
181269
181269
|
/**
|
|
181270
181270
|
* @since 1.0.0
|
|
181271
181271
|
*/
|
|
@@ -196138,7 +196138,7 @@ var StreamableHTTPClientTransport = class {
|
|
|
196138
196138
|
}
|
|
196139
196139
|
};
|
|
196140
196140
|
//#endregion
|
|
196141
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
196141
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/McpClient.js
|
|
196142
196142
|
/**
|
|
196143
196143
|
* @since 1.0.0
|
|
196144
196144
|
*/
|
|
@@ -196183,7 +196183,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
|
|
|
196183
196183
|
});
|
|
196184
196184
|
}));
|
|
196185
196185
|
//#endregion
|
|
196186
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
196186
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/ExaSearch.js
|
|
196187
196187
|
/**
|
|
196188
196188
|
* @since 1.0.0
|
|
196189
196189
|
*/
|
|
@@ -211133,7 +211133,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
211133
211133
|
exports.impl = impl;
|
|
211134
211134
|
}));
|
|
211135
211135
|
//#endregion
|
|
211136
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
211136
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/WebToMarkdown.js
|
|
211137
211137
|
/**
|
|
211138
211138
|
* @since 1.0.0
|
|
211139
211139
|
*/
|
|
@@ -214751,7 +214751,7 @@ const mapProviderResults = (inputLength, results) => {
|
|
|
214751
214751
|
return succeed$3(embeddings);
|
|
214752
214752
|
};
|
|
214753
214753
|
//#endregion
|
|
214754
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
214754
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/ChunkRepo.js
|
|
214755
214755
|
/**
|
|
214756
214756
|
* @since 1.0.0
|
|
214757
214757
|
* @category Models
|
|
@@ -214882,7 +214882,7 @@ const layer$10 = effect$1(ChunkRepo, gen(function* () {
|
|
|
214882
214882
|
});
|
|
214883
214883
|
}));
|
|
214884
214884
|
//#endregion
|
|
214885
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
214885
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/CodeChunker.js
|
|
214886
214886
|
/**
|
|
214887
214887
|
* @since 1.0.0
|
|
214888
214888
|
*/
|
|
@@ -215475,7 +215475,7 @@ const run$1 = /* @__PURE__ */ make$25({});
|
|
|
215475
215475
|
*/
|
|
215476
215476
|
const layer$7 = (options) => effectDiscard(run$1(options));
|
|
215477
215477
|
//#endregion
|
|
215478
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215478
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/internal/sqlite-vector.js
|
|
215479
215479
|
/**
|
|
215480
215480
|
* Binary extension for each platform
|
|
215481
215481
|
*/
|
|
@@ -215592,7 +215592,7 @@ function getExtensionPath() {
|
|
|
215592
215592
|
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`);
|
|
215593
215593
|
}
|
|
215594
215594
|
//#endregion
|
|
215595
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215595
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/Sqlite.js
|
|
215596
215596
|
/**
|
|
215597
215597
|
* @since 1.0.0
|
|
215598
215598
|
*/
|
|
@@ -215620,7 +215620,7 @@ const SqliteLayer = (database) => layer$7({ loader: fromRecord({ "0001_create_ch
|
|
|
215620
215620
|
yield* fs.makeDirectory(directory, { recursive: true });
|
|
215621
215621
|
}))));
|
|
215622
215622
|
//#endregion
|
|
215623
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215623
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/SemanticSearch.js
|
|
215624
215624
|
/**
|
|
215625
215625
|
* @since 1.0.0
|
|
215626
215626
|
*/
|
|
@@ -215762,7 +215762,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$4(m
|
|
|
215762
215762
|
onSome: (service) => service.removeFile(path)
|
|
215763
215763
|
})));
|
|
215764
215764
|
//#endregion
|
|
215765
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215765
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/AgentTools.js
|
|
215766
215766
|
/**
|
|
215767
215767
|
* @since 1.0.0
|
|
215768
215768
|
*/
|
|
@@ -215823,7 +215823,7 @@ const AgentTools = make$14(make$13("readFile", {
|
|
|
215823
215823
|
description: "Run a bash command and return the output",
|
|
215824
215824
|
parameters: Struct$2({
|
|
215825
215825
|
command: String$1,
|
|
215826
|
-
timeoutMs: optional$3(Finite).annotate({ documentation: "Timeout in ms (default: 120000)" })
|
|
215826
|
+
timeoutMs: optional$3(Finite).annotate({ documentation: "Timeout in ms (default: 120000, max 4 minutes)" })
|
|
215827
215827
|
}).annotate({ identifier: "command" }),
|
|
215828
215828
|
success: String$1,
|
|
215829
215829
|
dependencies: [CurrentDirectory]
|
|
@@ -215973,7 +215973,7 @@ const AgentToolHandlersNoDeps = AgentToolsWithSearch.toLayer(gen(function* () {
|
|
|
215973
215973
|
return yield* promise(() => Ze(pattern, { cwd }));
|
|
215974
215974
|
}),
|
|
215975
215975
|
bash: fn("AgentTools.bash")(function* (options) {
|
|
215976
|
-
const timeoutMs = options.timeoutMs ?? 12e4;
|
|
215976
|
+
const timeoutMs = Math.min(options.timeoutMs ?? 12e4, 24e4);
|
|
215977
215977
|
yield* logInfo(`Calling "bash"`).pipe(annotateLogs({
|
|
215978
215978
|
...options,
|
|
215979
215979
|
timeoutMs
|
|
@@ -216113,7 +216113,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
|
|
|
216113
216113
|
AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
|
|
216114
216114
|
var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
|
|
216115
216115
|
//#endregion
|
|
216116
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216116
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/TypeBuilder.js
|
|
216117
216117
|
const resolveDocumentation = resolveAt("documentation");
|
|
216118
216118
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
216119
216119
|
const Precedence = {
|
|
@@ -216386,7 +216386,7 @@ const render = (schema, options) => {
|
|
|
216386
216386
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
216387
216387
|
};
|
|
216388
216388
|
//#endregion
|
|
216389
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216389
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/ToolkitRenderer.js
|
|
216390
216390
|
/**
|
|
216391
216391
|
* @since 1.0.0
|
|
216392
216392
|
*/
|
|
@@ -216408,7 +216408,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
216408
216408
|
}) });
|
|
216409
216409
|
};
|
|
216410
216410
|
//#endregion
|
|
216411
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216411
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/ScriptPreprocessing.js
|
|
216412
216412
|
const isIdentifierChar = (char) => char !== void 0 && /[A-Za-z0-9_$]/.test(char);
|
|
216413
216413
|
const isIdentifierStartChar = (char) => char !== void 0 && /[A-Za-z_$]/.test(char);
|
|
216414
216414
|
const hasIdentifierBoundary = (text, index, length) => !isIdentifierChar(text[index - 1]) && !isIdentifierChar(text[index + length]);
|
|
@@ -216473,11 +216473,12 @@ const escapeTemplateLiteralContent = (text) => {
|
|
|
216473
216473
|
return out;
|
|
216474
216474
|
};
|
|
216475
216475
|
const findTemplateEnd = (text, start, isTerminator) => {
|
|
216476
|
+
let end = -1;
|
|
216476
216477
|
for (let i = start + 1; i < text.length; i++) {
|
|
216477
216478
|
if (text[i] !== "`" || isEscaped(text, i)) continue;
|
|
216478
|
-
if (isTerminator(text[skipWhitespace(text, i + 1)]))
|
|
216479
|
+
if (isTerminator(text[skipWhitespace(text, i + 1)])) end = i;
|
|
216479
216480
|
}
|
|
216480
|
-
return
|
|
216481
|
+
return end;
|
|
216481
216482
|
};
|
|
216482
216483
|
const findTypeAnnotationAssignment = (text, start) => {
|
|
216483
216484
|
let i = start;
|
|
@@ -216691,7 +216692,7 @@ const fixAssignedTemplatesForToolCalls = (script) => {
|
|
|
216691
216692
|
};
|
|
216692
216693
|
const preprocessScript = (script) => fixAssignedTemplatesForToolCalls(["applyPatch", "taskComplete"].reduce((current, functionName) => fixCallTemplateArgument(current, functionName), fixWriteFileContentTemplates(script)));
|
|
216693
216694
|
//#endregion
|
|
216694
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216695
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/AgentExecutor.js
|
|
216695
216696
|
/**
|
|
216696
216697
|
* @since 1.0.0
|
|
216697
216698
|
*/
|
|
@@ -216876,7 +216877,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
216876
216877
|
}
|
|
216877
216878
|
};
|
|
216878
216879
|
//#endregion
|
|
216879
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216880
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/ScriptExtraction.js
|
|
216880
216881
|
const stripWrappingCodeFence = (script) => {
|
|
216881
216882
|
const lines = script.split(/\r?\n/);
|
|
216882
216883
|
if (lines.length < 2) return script;
|
|
@@ -218425,7 +218426,7 @@ const applySpanTransformer = (transformer, response, options) => {
|
|
|
218425
218426
|
});
|
|
218426
218427
|
};
|
|
218427
218428
|
//#endregion
|
|
218428
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
218429
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/Agent.js
|
|
218429
218430
|
/**
|
|
218430
218431
|
* @since 1.0.0
|
|
218431
218432
|
*/
|
|
@@ -229755,7 +229756,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
229755
229756
|
})));
|
|
229756
229757
|
});
|
|
229757
229758
|
//#endregion
|
|
229758
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229759
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/CodexAuth.js
|
|
229759
229760
|
/**
|
|
229760
229761
|
* @since 1.0.0
|
|
229761
229762
|
*/
|
|
@@ -229975,7 +229976,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
229975
229976
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
229976
229977
|
};
|
|
229977
229978
|
//#endregion
|
|
229978
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229979
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/Codex.js
|
|
229979
229980
|
/**
|
|
229980
229981
|
* @since 1.0.0
|
|
229981
229982
|
*/
|
|
@@ -231287,7 +231288,7 @@ const getUsageDetailNumber = (details, field) => {
|
|
|
231287
231288
|
return typeof value === "number" ? value : void 0;
|
|
231288
231289
|
};
|
|
231289
231290
|
//#endregion
|
|
231290
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231291
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/CopilotAuth.js
|
|
231291
231292
|
/**
|
|
231292
231293
|
* @since 1.0.0
|
|
231293
231294
|
*/
|
|
@@ -231478,7 +231479,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
|
|
|
231478
231479
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
|
|
231479
231480
|
};
|
|
231480
231481
|
//#endregion
|
|
231481
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231482
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/Copilot.js
|
|
231482
231483
|
/**
|
|
231483
231484
|
* @since 1.0.0
|
|
231484
231485
|
*/
|
|
@@ -231898,7 +231899,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
231898
231899
|
const chalk = createChalk();
|
|
231899
231900
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
231900
231901
|
//#endregion
|
|
231901
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231902
|
+
//#region node_modules/.pnpm/clanka@0.2.16_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_5dcb2d2797192c163d235bd5caad43db/node_modules/clanka/dist/OutputFormatter.js
|
|
231902
231903
|
/**
|
|
231903
231904
|
* @since 1.0.0
|
|
231904
231905
|
*/
|
|
@@ -241288,7 +241289,7 @@ const commandEdit = make$58("edit").pipe(withDescription("Open the selected proj
|
|
|
241288
241289
|
const commandSource = make$58("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));
|
|
241289
241290
|
//#endregion
|
|
241290
241291
|
//#region package.json
|
|
241291
|
-
var version = "0.3.
|
|
241292
|
+
var version = "0.3.85";
|
|
241292
241293
|
//#endregion
|
|
241293
241294
|
//#region src/commands/projects/ls.ts
|
|
241294
241295
|
const commandProjectsLs = make$58("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.85",
|
|
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.20260318.1",
|
|
48
|
-
"clanka": "^0.2.
|
|
48
|
+
"clanka": "^0.2.16",
|
|
49
49
|
"concurrently": "^9.2.1",
|
|
50
50
|
"effect": "https://pkg.pr.new/Effect-TS/effect-smol/effect@89c3e98",
|
|
51
51
|
"husky": "^9.1.7",
|