aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-06-23 14:52:27 +0200
committersalmonik <raisersoft@proton.me>2026-06-23 14:52:27 +0200
commit1fd56ff980dd80a24a3d2c90b692dc7c9f346bdd (patch)
tree575e28dc3da69ec8c1623b2bad542ec4a0c0f0ea /AGENTS.md
parentlast autocompletion fixes (diff)
downloadrsplayer-1fd56ff980dd80a24a3d2c90b692dc7c9f346bdd.tar.gz
rsplayer-1fd56ff980dd80a24a3d2c90b692dc7c9f346bdd.zip
Add shell path finding as a fallback.
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index b7ce695..76f8e2b 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -24,6 +24,7 @@ Run these before completing any task:
24 24
25## Task-Specific Guidelines 25## Task-Specific Guidelines
26- **CLI changes**: Update clap subcommands (including `rsp scan` and `rsp settings`) and regenerate shell completion scripts 26- **CLI changes**: Update clap subcommands (including `rsp scan` and `rsp settings`) and regenerate shell completion scripts
27- **Completion changes**: `rsp db-complete` has a two-tier strategy — if the query looks like a path (`./`, `../`, `~/`, or `/`), it lists filesystem entries directly; otherwise it queries the DB in a thread with a 100ms timeout and falls back to filesystem completion on timeout or no match. The zsh script (`completions/_rsp`) is manually edited (not clap-generated) and concatenated after the clap output during install
27- **Database changes**: Update SQLite schema and `rsp scan` logic 28- **Database changes**: Update SQLite schema and `rsp scan` logic
28- **Playback changes**: Modify daemon audio engine or queue management code 29- **Playback changes**: Modify daemon audio engine or queue management code
29 - Audio engine uses cpal for output and symphonia for decoding 30 - Audio engine uses cpal for output and symphonia for decoding
@@ -50,6 +51,7 @@ Run these before completing any task:
50- [x] `rsp settings` subcommands (get/set/list/unset) 51- [x] `rsp settings` subcommands (get/set/list/unset)
51- [x] Shell completions (`rsp completions bash|zsh|fish|powershell|elvish`) 52- [x] Shell completions (`rsp completions bash|zsh|fish|powershell|elvish`)
52- [x] Unit tests for Player, Track, and ShuffleMode 53- [x] Unit tests for Player, Track, and ShuffleMode
54- [x] Smart autocompletion: DB completion with 100ms timeout, filesystem path fallback, path-prefix detection (`./`, `../`, `~/`, `/`)
53- [x] Desktop notifications for track changes, queue end, and errors 55- [x] Desktop notifications for track changes, queue end, and errors
54 56
55## Remaining Work 57## Remaining Work