Commit 67d2430
[luv-17] Replace multi-slash-command injection with CLI flags and bump to 0.0.8 (#14)
The launch prefix joined /color, /remote-control, and /plan with newlines, but
claude treats the positional prompt as one message — when it starts with '/',
the rest (including newlines) becomes the first command's argument, so only
/color ran and the color name was "cyan\n/remote-control". Swap to native CLI
flags: --remote-control replaces the slash command, --permission-mode plan +
positional prompt replaces /plan <prompt>. /color stays only in the no-prompt
branch since it has no flag equivalent.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 71f5581 commit 67d2430
2 files changed
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
357 | 363 | | |
358 | 364 | | |
359 | 365 | | |
360 | 366 | | |
361 | 367 | | |
362 | 368 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
| 369 | + | |
367 | 370 | | |
368 | 371 | | |
369 | 372 | | |
| |||
372 | 375 | | |
373 | 376 | | |
374 | 377 | | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments