lalph 0.3.48 → 0.3.50
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 +36 -23
- package/package.json +3 -3
- package/src/Worktree.ts +2 -0
package/dist/cli.mjs
CHANGED
|
@@ -180949,7 +180949,9 @@ const setupWorktree = fnUntraced(function* (options) {
|
|
|
180949
180949
|
const setupPath = (yield* fs.exists(worktreeSetupPath)) ? worktreeSetupPath : cwdSetupPath;
|
|
180950
180950
|
yield* make$36({
|
|
180951
180951
|
cwd: options.directory,
|
|
180952
|
-
shell: process.env.SHELL ?? true
|
|
180952
|
+
shell: process.env.SHELL ?? true,
|
|
180953
|
+
stderr: "inherit",
|
|
180954
|
+
stdout: "inherit"
|
|
180953
180955
|
})`${setupPath}`.pipe(spawner.exitCode);
|
|
180954
180956
|
});
|
|
180955
180957
|
const getTargetBranch = gen(function* () {
|
|
@@ -188351,7 +188353,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
|
|
|
188351
188353
|
});
|
|
188352
188354
|
Ze.glob = Ze;
|
|
188353
188355
|
//#endregion
|
|
188354
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188356
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/ApplyPatch.js
|
|
188355
188357
|
/**
|
|
188356
188358
|
* @since 1.0.0
|
|
188357
188359
|
*/
|
|
@@ -188680,7 +188682,7 @@ const patchChunks = (file, input, chunks) => {
|
|
|
188680
188682
|
return eol === "\r\n" ? text.replace(/\n/g, "\r\n") : text;
|
|
188681
188683
|
};
|
|
188682
188684
|
//#endregion
|
|
188683
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188685
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/AgentTools.js
|
|
188684
188686
|
/**
|
|
188685
188687
|
* @since 1.0.0
|
|
188686
188688
|
*/
|
|
@@ -188720,7 +188722,7 @@ const AgentTools = make$9(make$7("readFile", {
|
|
|
188720
188722
|
}),
|
|
188721
188723
|
dependencies: [CurrentDirectory]
|
|
188722
188724
|
}), make$7("applyPatch", {
|
|
188723
|
-
description: "Apply a git diff / unified diff patch across one or more files.",
|
|
188725
|
+
description: "Apply a git diff / unified diff patch, or a wrapped apply_patch patch, across one or more files.",
|
|
188724
188726
|
parameters: String$1.annotate({ identifier: "patch" }),
|
|
188725
188727
|
success: String$1,
|
|
188726
188728
|
dependencies: [CurrentDirectory]
|
|
@@ -188749,6 +188751,7 @@ const AgentTools = make$9(make$7("readFile", {
|
|
|
188749
188751
|
parameters: Struct({
|
|
188750
188752
|
pattern: String$1,
|
|
188751
188753
|
glob: optional$2(String$1).annotate({ documentation: "--glob" }),
|
|
188754
|
+
noIgnore: optional$2(Boolean$2).annotate({ documentation: "--no-ignore" }),
|
|
188752
188755
|
maxLines: optional$2(Finite).annotate({ documentation: "The total maximum number of lines to return across all files (default: 500)" })
|
|
188753
188756
|
}),
|
|
188754
188757
|
success: String$1,
|
|
@@ -188810,7 +188813,6 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
|
|
|
188810
188813
|
yield* logInfo(`Calling "writeFile"`).pipe(annotateLogs({ path: options.path }));
|
|
188811
188814
|
const cwd = yield* CurrentDirectory;
|
|
188812
188815
|
const path = pathService.resolve(cwd, options.path);
|
|
188813
|
-
if (yield* fs.exists(path)) return yield* die$2("File already exists");
|
|
188814
188816
|
yield* fs.makeDirectory(pathService.dirname(path), { recursive: true });
|
|
188815
188817
|
yield* fs.writeFileString(path, options.content);
|
|
188816
188818
|
}, orDie$2),
|
|
@@ -188845,7 +188847,12 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
|
|
|
188845
188847
|
"1M",
|
|
188846
188848
|
"--line-number"
|
|
188847
188849
|
];
|
|
188848
|
-
|
|
188850
|
+
let noIgnore = options.noIgnore ?? false;
|
|
188851
|
+
if (options.glob) {
|
|
188852
|
+
args.push("--glob", options.glob);
|
|
188853
|
+
if (options.noIgnore === void 0 && !options.glob.startsWith("*")) noIgnore = true;
|
|
188854
|
+
}
|
|
188855
|
+
if (noIgnore) args.push("--no-ignore");
|
|
188849
188856
|
args.push(options.pattern);
|
|
188850
188857
|
let stream = pipe(spawner.streamLines(make$36("rg", args, {
|
|
188851
188858
|
cwd,
|
|
@@ -188976,7 +188983,7 @@ const AgentToolHandlers = AgentTools.toLayer(gen(function* () {
|
|
|
188976
188983
|
}));
|
|
188977
188984
|
var ApplyPatchError = class extends TaggedClass$1("ApplyPatchError") {};
|
|
188978
188985
|
//#endregion
|
|
188979
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
188986
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/Executor.js
|
|
188980
188987
|
/**
|
|
188981
188988
|
* @since 1.0.0
|
|
188982
188989
|
*/
|
|
@@ -189056,7 +189063,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
189056
189063
|
}
|
|
189057
189064
|
};
|
|
189058
189065
|
//#endregion
|
|
189059
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
189066
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/TypeBuilder.js
|
|
189060
189067
|
const resolveDocumentation = resolveAt("documentation");
|
|
189061
189068
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
189062
189069
|
const Precedence = {
|
|
@@ -189329,7 +189336,7 @@ const render = (schema, options) => {
|
|
|
189329
189336
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
189330
189337
|
};
|
|
189331
189338
|
//#endregion
|
|
189332
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
189339
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/ToolkitRenderer.js
|
|
189333
189340
|
/**
|
|
189334
189341
|
* @since 1.0.0
|
|
189335
189342
|
*/
|
|
@@ -189351,7 +189358,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
189351
189358
|
}) });
|
|
189352
189359
|
};
|
|
189353
189360
|
//#endregion
|
|
189354
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
189361
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/Agent.js
|
|
189355
189362
|
/**
|
|
189356
189363
|
* @since 1.0.0
|
|
189357
189364
|
*/
|
|
@@ -189429,17 +189436,23 @@ ${content}
|
|
|
189429
189436
|
${prompt}`));
|
|
189430
189437
|
return gen(function* () {
|
|
189431
189438
|
const provider = yield* ProviderName;
|
|
189432
|
-
|
|
189433
|
-
|
|
189434
|
-
|
|
189435
|
-
|
|
189436
|
-
|
|
189437
|
-
|
|
189439
|
+
maybeSend({
|
|
189440
|
+
agentId,
|
|
189441
|
+
part: new SubagentStart({
|
|
189442
|
+
id,
|
|
189443
|
+
prompt,
|
|
189444
|
+
model: yield* ModelName,
|
|
189445
|
+
provider
|
|
189446
|
+
}),
|
|
189447
|
+
release: true
|
|
189448
|
+
});
|
|
189438
189449
|
return yield* stream.pipe(runForEachArray((parts) => {
|
|
189439
189450
|
for (const part of parts) switch (part._tag) {
|
|
189440
189451
|
case "SubagentStart":
|
|
189441
189452
|
case "SubagentComplete":
|
|
189442
|
-
case "SubagentPart":
|
|
189453
|
+
case "SubagentPart":
|
|
189454
|
+
offerUnsafe(output, part);
|
|
189455
|
+
break;
|
|
189443
189456
|
default:
|
|
189444
189457
|
offerUnsafe(output, new SubagentPart({
|
|
189445
189458
|
id,
|
|
@@ -200120,7 +200133,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
200120
200133
|
})));
|
|
200121
200134
|
});
|
|
200122
200135
|
//#endregion
|
|
200123
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
200136
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/CodexAuth.js
|
|
200124
200137
|
/**
|
|
200125
200138
|
* @since 1.0.0
|
|
200126
200139
|
*/
|
|
@@ -200340,7 +200353,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
200340
200353
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
200341
200354
|
};
|
|
200342
200355
|
//#endregion
|
|
200343
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
200356
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/Codex.js
|
|
200344
200357
|
/**
|
|
200345
200358
|
* @since 1.0.0
|
|
200346
200359
|
*/
|
|
@@ -201655,7 +201668,7 @@ const getUsageDetailNumber = (details, field) => {
|
|
|
201655
201668
|
return typeof value === "number" ? value : void 0;
|
|
201656
201669
|
};
|
|
201657
201670
|
//#endregion
|
|
201658
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
201671
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/CopilotAuth.js
|
|
201659
201672
|
/**
|
|
201660
201673
|
* @since 1.0.0
|
|
201661
201674
|
*/
|
|
@@ -201846,7 +201859,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
|
|
|
201846
201859
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
|
|
201847
201860
|
};
|
|
201848
201861
|
//#endregion
|
|
201849
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
201862
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/Copilot.js
|
|
201850
201863
|
/**
|
|
201851
201864
|
* @since 1.0.0
|
|
201852
201865
|
*/
|
|
@@ -202269,7 +202282,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
202269
202282
|
const chalk = createChalk();
|
|
202270
202283
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
202271
202284
|
//#endregion
|
|
202272
|
-
//#region node_modules/.pnpm/clanka@0.0.
|
|
202285
|
+
//#region node_modules/.pnpm/clanka@0.0.24_@effect+ai-openai-compat@4.0.0-beta.30_effect@4.0.0-beta.30__@effect+ai-o_5580c45c7e16231d6c1b4054268f85fd/node_modules/clanka/dist/OutputFormatter.js
|
|
202273
202286
|
/**
|
|
202274
202287
|
* @since 1.0.0
|
|
202275
202288
|
*/
|
|
@@ -203275,7 +203288,7 @@ const commandEdit = make$46("edit").pipe(withDescription("Open the selected proj
|
|
|
203275
203288
|
const commandSource = make$46("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));
|
|
203276
203289
|
//#endregion
|
|
203277
203290
|
//#region package.json
|
|
203278
|
-
var version = "0.3.
|
|
203291
|
+
var version = "0.3.50";
|
|
203279
203292
|
//#endregion
|
|
203280
203293
|
//#region src/commands/projects/ls.ts
|
|
203281
203294
|
const commandProjectsLs = make$46("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.50",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
|
31
31
|
"@octokit/types": "^16.0.0",
|
|
32
32
|
"@typescript/native-preview": "7.0.0-dev.20260310.1",
|
|
33
|
-
"clanka": "^0.0.
|
|
33
|
+
"clanka": "^0.0.24",
|
|
34
34
|
"concurrently": "^9.2.1",
|
|
35
35
|
"effect": "4.0.0-beta.30",
|
|
36
36
|
"husky": "^9.1.7",
|
|
37
37
|
"lint-staged": "^16.3.3",
|
|
38
38
|
"octokit": "^5.0.5",
|
|
39
|
-
"oxlint": "^1.
|
|
39
|
+
"oxlint": "^1.53.0",
|
|
40
40
|
"prettier": "^3.8.1",
|
|
41
41
|
"tsdown": "^0.21.1",
|
|
42
42
|
"typescript": "^5.9.3",
|
package/src/Worktree.ts
CHANGED
|
@@ -146,6 +146,8 @@ const setupWorktree = Effect.fnUntraced(function* (options: {
|
|
|
146
146
|
yield* ChildProcess.make({
|
|
147
147
|
cwd: options.directory,
|
|
148
148
|
shell: process.env.SHELL ?? true,
|
|
149
|
+
stderr: "inherit",
|
|
150
|
+
stdout: "inherit",
|
|
149
151
|
})`${setupPath}`.pipe(spawner.exitCode)
|
|
150
152
|
})
|
|
151
153
|
|