lalph 0.1.11 → 0.1.12

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 CHANGED
@@ -59520,18 +59520,14 @@ const opencode = new CliAgent({
59520
59520
  id: "opencode",
59521
59521
  name: "opencode",
59522
59522
  command: ({ prompt, prdFilePath }) => [
59523
- "npx",
59524
- "-y",
59525
- "opencode-ai@latest",
59523
+ "opencode",
59526
59524
  "run",
59527
59525
  prompt,
59528
59526
  "-f",
59529
59527
  prdFilePath
59530
59528
  ],
59531
59529
  commandPlan: ({ prompt, prdFilePath }) => [
59532
- "npx",
59533
- "-y",
59534
- "opencode-ai@latest",
59530
+ "opencode",
59535
59531
  "--prompt",
59536
59532
  `@${prdFilePath}
59537
59533
 
@@ -59542,22 +59538,15 @@ const claude = new CliAgent({
59542
59538
  id: "claude",
59543
59539
  name: "Claude Code",
59544
59540
  command: ({ prompt, prdFilePath }) => [
59545
- "npx",
59546
- "-y",
59547
- "@anthropic-ai/claude-code@latest",
59541
+ "claude",
59548
59542
  "-p",
59549
59543
  `@${prdFilePath}
59550
59544
 
59551
59545
  ${prompt}`
59552
59546
  ],
59553
- commandPlan: ({ prompt, prdFilePath }) => [
59554
- "npx",
59555
- "-y",
59556
- "@anthropic-ai/claude-code@latest",
59557
- `@${prdFilePath}
59547
+ commandPlan: ({ prompt, prdFilePath }) => ["claude", `@${prdFilePath}
59558
59548
 
59559
- ${prompt}`
59560
- ]
59549
+ ${prompt}`]
59561
59550
  });
59562
59551
  const allCliAgents = [opencode, claude];
59563
59552
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -17,18 +17,14 @@ export const opencode = new CliAgent({
17
17
  id: "opencode",
18
18
  name: "opencode",
19
19
  command: ({ prompt, prdFilePath }) => [
20
- "npx",
21
- "-y",
22
- "opencode-ai@latest",
20
+ "opencode",
23
21
  "run",
24
22
  prompt,
25
23
  "-f",
26
24
  prdFilePath,
27
25
  ],
28
26
  commandPlan: ({ prompt, prdFilePath }) => [
29
- "npx",
30
- "-y",
31
- "opencode-ai@latest",
27
+ "opencode",
32
28
  "--prompt",
33
29
  `@${prdFilePath}
34
30
 
@@ -40,18 +36,14 @@ export const claude = new CliAgent({
40
36
  id: "claude",
41
37
  name: "Claude Code",
42
38
  command: ({ prompt, prdFilePath }) => [
43
- "npx",
44
- "-y",
45
- "@anthropic-ai/claude-code@latest",
39
+ "claude",
46
40
  "-p",
47
41
  `@${prdFilePath}
48
42
 
49
43
  ${prompt}`,
50
44
  ],
51
45
  commandPlan: ({ prompt, prdFilePath }) => [
52
- "npx",
53
- "-y",
54
- "@anthropic-ai/claude-code@latest",
46
+ "claude",
55
47
  `@${prdFilePath}
56
48
 
57
49
  ${prompt}`,