summaryrefslogtreecommitdiff
path: root/internal/askcli/command_complete_uuids_test.go
AgeCommit message (Collapse)Author
5 daysAdd 'ask edit' subcommand and collapse multi-line task descriptionsPaul Buetow
- ask edit opens $EDITOR and creates a task from the (multi-line) content, reusing the shared internal/editor package - collapse newlines in list output and fish completion so multi-line descriptions render on one line and don't break completion Bump version to 0.40.0 Amp-Thread-ID: https://ampcode.com/threads/T-019e96a1-9c8e-73d6-95b4-b55cb12cc762 Co-authored-by: Amp <amp@ampcode.com>
2026-04-08fish: complete task selectors with short aliases onlyPaul Buetow
Add complete-aliases subcommand that emits tab-separated alias lines without UUID duplicates. Wire embedded Fish script (__do_task_selectors) to call complete-aliases; keep complete-uuids unchanged for scripts and tests. Made-with: Cursor
2026-04-07fix: recover gracefully from corrupted alias cache instead of hard-failingPaul Buetow
When the task alias cache file contains invalid JSON (e.g. from a concurrent write race producing two concatenated JSON objects), the previous code returned a hard error that blocked all `ask` subcommands. Now loadTaskAliasCache discards the corrupt file and starts fresh, assigning new alias IDs on the next run. Validation errors (e.g. next_id reuse) still surface as errors since those indicate a logic bug. Also fix stale v1 reference in integration test aliasCachePath. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07feat: show task summary in fish shell autocompletion for alias IDsPaul Buetow
The complete-uuids command now emits tab-separated "selector\tdescription" lines so fish shell displays the first 60 chars of the task description alongside each alias/UUID in the autocompletion menu. The __ask_add_dependency_modifiers fish function is updated to strip the description field before matching and building depends: completions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27Implement command registry for askcli commandsPaul Buetow
2026-03-27task 73fabcf6-d4a1-4bf3-aae1-a390a734e517: extend ask selector completionPaul Buetow
2026-03-26Implement ask alias cache foundation for d5a99b1b-13f3-4b73-8222-71f012c60bc9Paul Buetow
2026-03-26ask: speed up fish UUID completionPaul Buetow