summaryrefslogtreecommitdiff
path: root/lib/hyperstack/cli.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 21:56:32 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 21:56:32 +0200
commit6ad780f511f432f3a3881883611892cb7e24afe2 (patch)
treeceae9f0a973c7e1540203ae49df64899030d29f2 /lib/hyperstack/cli.rb
parent36c835f3b2eb43342a1d73956f3eac8001a8f2d9 (diff)
loop-scheduler: fix autocomplete filesystem fallback and remove /loop-preset command
Root cause: pi's autocomplete.js returns null from getSuggestions() when getArgumentCompletions() returns null or []. The TUI's outer fallback then shows filesystem completions. Every branch in getArgumentCompletions now always returns at least one item: - cancel branch: falls back to "cancel all" when no jobs exist - preset branch: falls back to "edit" hint when no presets are loaded - top-level: falls back to full list instead of null on no match Also removes /loop-preset (hyphen) command — /loop preset <name> is the single intended interface. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'lib/hyperstack/cli.rb')
0 files changed, 0 insertions, 0 deletions