Commit 7a0632c
committed
fix: opencode adapter passes prompt as positional arg not --prompt (#68)
opencode CLI uses -p/--password, NOT -p for prompts. The prompt should
be passed as a positional 'message' argument to 'opencode run'.
Before: opencode run --prompt "hello" (hit help text, no execution)
After: opencode run "hello" (executes the prompt)
Fixes #681 parent 91b8282 commit 7a0632c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments