diff options
| author | user <user@clank> | 2026-07-22 20:14:21 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-12 19:34:35 +0200 |
| commit | ddc576738dee39b1c8cfe475271a47831a3ec540 (patch) | |
| tree | a752d04aad99caaa47b5ff88572b38912451ec58 /pi-ext/scripts | |
| parent | Add reload-hotkey.ts: bind a key (F5) to /reload (diff) | |
| download | sl0ppi-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
