aboutsummaryrefslogtreecommitdiffstats
path: root/pi-ext/scripts
diff options
context:
space:
mode:
authoruser <user@clank>2026-07-22 20:14:21 +0200
committeruser <user@clank>2026-08-12 19:34:35 +0200
commitddc576738dee39b1c8cfe475271a47831a3ec540 (patch)
treea752d04aad99caaa47b5ff88572b38912451ec58 /pi-ext/scripts
parentAdd reload-hotkey.ts: bind a key (F5) to /reload (diff)
downloadsl0ppi-ddc576738dee39b1c8cfe475271a47831a3ec540.tar.gz
sl0ppi-ddc576738dee39b1c8cfe475271a47831a3ec540.tar.xz
sl0ppi-ddc576738dee39b1c8cfe475271a47831a3ec540.zip
reload-hotkey: prefill /reload instead of broken sendUserMessage command
The prior approach couldn't work: shortcut ctx has no reload(), and sendUserMessage() uses prompt({expandPromptTemplates:false}) which skips slash-command handling, so "/reload-runtime" went to the model as literal text. No extension API can invoke reload directly. Best available: F5 drops the built-in /reload into the editor (guarded against clobbering in-progress text); user presses Enter. Documented the source-confirmed blockers.
Diffstat (limited to 'pi-ext/scripts')
0 files changed, 0 insertions, 0 deletions