diff options
| author | salmonik <raisersoft@proton.me> | 2026-06-23 14:52:27 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-06-23 14:52:27 +0200 |
| commit | 1fd56ff980dd80a24a3d2c90b692dc7c9f346bdd (patch) | |
| tree | 575e28dc3da69ec8c1623b2bad542ec4a0c0f0ea /AGENTS.md | |
| parent | last autocompletion fixes (diff) | |
| download | rsplayer-1fd56ff980dd80a24a3d2c90b692dc7c9f346bdd.tar.gz rsplayer-1fd56ff980dd80a24a3d2c90b692dc7c9f346bdd.zip | |
Add shell path finding as a fallback.
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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 |
