lalph 0.3.39 → 0.3.40
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/README.md +7 -4
- package/dist/cli.mjs +380 -225
- package/package.json +3 -3
- package/src/commands/agents/add.ts +1 -1
- package/src/commands/agents/edit.ts +1 -1
- package/src/commands/agents/ls.ts +2 -1
- package/src/commands/agents.ts +1 -1
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.40",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -29,13 +29,13 @@
|
|
|
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.10",
|
|
33
33
|
"concurrently": "^9.2.1",
|
|
34
34
|
"effect": "4.0.0-beta.29",
|
|
35
35
|
"husky": "^9.1.7",
|
|
36
36
|
"lint-staged": "^16.3.2",
|
|
37
37
|
"octokit": "^5.0.5",
|
|
38
|
-
"oxlint": "^1.
|
|
38
|
+
"oxlint": "^1.52.0",
|
|
39
39
|
"prettier": "^3.8.1",
|
|
40
40
|
"tsdown": "^0.21.1",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
@@ -5,7 +5,7 @@ import { addOrUpdatePreset } from "../../Presets.ts"
|
|
|
5
5
|
|
|
6
6
|
export const commandAgentsAdd = Command.make("add").pipe(
|
|
7
7
|
Command.withDescription(
|
|
8
|
-
"Add a new agent preset (interactive prompt for CLI agent, arguments, and any issue-source options).",
|
|
8
|
+
"Add a new agent preset (interactive prompt for the CLI agent, clanka model, arguments, and any issue-source options).",
|
|
9
9
|
),
|
|
10
10
|
Command.withHandler(() => addOrUpdatePreset()),
|
|
11
11
|
Command.provide(Settings.layer),
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
|
|
11
11
|
export const commandAgentsEdit = Command.make("edit").pipe(
|
|
12
12
|
Command.withDescription(
|
|
13
|
-
"Edit an existing agent preset (interactive prompt to update agent, arguments, and any issue-source options).",
|
|
13
|
+
"Edit an existing agent preset (interactive prompt to update the CLI agent, clanka model, arguments, and any issue-source options).",
|
|
14
14
|
),
|
|
15
15
|
Command.withHandler(
|
|
16
16
|
Effect.fnUntraced(function* () {
|
|
@@ -7,7 +7,7 @@ import { getAllCliAgentPresets } from "../../Presets.ts"
|
|
|
7
7
|
|
|
8
8
|
export const commandAgentsLs = Command.make("ls").pipe(
|
|
9
9
|
Command.withDescription(
|
|
10
|
-
"List configured agent presets (preset ids, agent, arguments, and any issue-source options).",
|
|
10
|
+
"List configured agent presets (preset ids, agent, clanka model, arguments, and any issue-source options).",
|
|
11
11
|
),
|
|
12
12
|
Command.withHandler(
|
|
13
13
|
Effect.fnUntraced(function* () {
|
|
@@ -30,6 +30,7 @@ export const commandAgentsLs = Command.make("ls").pipe(
|
|
|
30
30
|
console.log(`Preset: ${preset.id}`)
|
|
31
31
|
yield* source.cliAgentPresetInfo(preset)
|
|
32
32
|
console.log(` CLI agent: ${preset.cliAgent.name}`)
|
|
33
|
+
console.log(` Clanka model: ${preset.clankaModel ?? "none"}`)
|
|
33
34
|
if (preset.extraArgs.length > 0) {
|
|
34
35
|
console.log(` Extra args: ${preset.extraArgs.join(" ")}`)
|
|
35
36
|
}
|
package/src/commands/agents.ts
CHANGED
|
@@ -13,7 +13,7 @@ const subcommands = Command.withSubcommands([
|
|
|
13
13
|
|
|
14
14
|
export const commandAgents = Command.make("agents").pipe(
|
|
15
15
|
Command.withDescription(
|
|
16
|
-
"Manage agent presets used to run tasks. Use 'ls' to inspect presets and 'add'/'edit' to configure
|
|
16
|
+
"Manage agent presets used to run tasks. Use 'ls' to inspect presets and 'add'/'edit' to configure the CLI agent, clanka model, arguments, and any issue-source options.",
|
|
17
17
|
),
|
|
18
18
|
Command.withAlias("a"),
|
|
19
19
|
subcommands,
|