summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2026-04-07release: v0.29.2v0.29.2Paul Buetow
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07fix: recover gracefully from corrupted alias cache instead of hard-failingv0.29.1Paul 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 IDsv0.29.0Paul 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-04-07feat: reverse alias IDs for better shell tab-completionv0.28.2Paul Buetow
Alias IDs are now stored in reversed form (e.g. id=37 → "10" instead of "01") so that the first character varies quickly across consecutive IDs, making shell auto-completion more effective. The counter logic is unchanged; only the string representation is reversed via a new reverseString helper in encodeTaskAliasID/decodeTaskAliasID. The cache file is bumped to task-aliases-v2.json so existing mappings are abandoned and all aliases are regenerated with the new format. Also fix TestDispatcher_CompleteUUIDsSubcommand to use an isolated temp dir for the alias cache, preventing flakiness from cross-test pollution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07release: v0.28.1v0.28.1Paul Buetow
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07feat: remove tmux edit popup support for Claude CodePaul Buetow
Claude Code CLI now supports Ctrl+G to open the prompt in EDITOR (like OpenAI Codex CLI), making the built-in hexai-tmux-edit agent profile redundant. - Remove internal/tmuxedit/claude_agent.go and its tests - Update builtinAgents() to exclude claude; built-ins are now: cursor, amp, aider - Update all documentation (README, docs/tmux.md, docs/usage.md, docs/configuration.md) - Update config.toml.example to reflect new agent list Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29feat: implicit add for na/no-agent scope prefixv0.28.0Paul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019d37f6-6549-7119-979a-88bc1225c594 Co-authored-by: Amp <amp@ampcode.com>
2026-03-28release: v0.27.3v0.27.3Paul Buetow
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28perf: replace linear scan with O(1) map lookup in task alias cachePaul Buetow
Add in-memory byUUID and byAlias maps to taskAliasCache so that ensureAlias, lookupUUIDByAlias, and lookupAliasByUUID all run in O(1) instead of scanning the full entries slice. Maps are rebuilt after every mutation (load, prune, append) to avoid stale pointers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28Rename "Pro" column header to "Pri" for Priority in ask command outputPaul Buetow
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27release: v0.27.2v0.27.2Paul Buetow
2026-03-27release: v0.27.1v0.27.1Paul Buetow
2026-03-27Rename ask table headersPaul Buetow
2026-03-27Implement command registry for askcli commandsPaul Buetow
2026-03-27docs: document askcli exportsPaul Buetow
2026-03-27Explicitly ignore askcli write errorsPaul Buetow
2026-03-27Switch task alias cache save to pointerPaul Buetow
2026-03-27Move selector helpers into task selectorPaul Buetow
2026-03-27Extract parseGlobalFlags helperPaul Buetow
2026-03-27refactor: share alias cache lookupPaul Buetow
2026-03-27Split askcli info and add commandsPaul Buetow
2026-03-27Use Go 1.21 max builtin in formatterPaul Buetow
2026-03-27664b9fe4: extract renderTaskList helperPaul Buetow
2026-03-27Remove dead UUID completion items (61568dc2-6915-4444-8027-2ad4eacf2408)Paul Buetow
2026-03-27Fix dispatcher routing test for 38d5bd83-29e7-4a3c-ad44-21dddfbdfe22Paul Buetow
2026-03-27refactor: extract runSingleTaskCommand helper ↵Paul Buetow
(715cc01f-1630-4d11-b6fd-18d64a8c2035)
2026-03-27task 3a4c0f14-16ad-487f-af7c-bd99ee6464e6: use pointer Dispatcher receiversPaul Buetow
2026-03-27askcli: support add depends selectorsPaul Buetow
2026-03-27release: v0.27.0v0.27.0Paul Buetow
2026-03-27fix ask description width 84f1af4e-be84-4265-9df2-8f6932059913Paul Buetow
2026-03-27fix ask alias output wording 7f53c2ff-4eb0-4c7e-bf90-f44587364f4aPaul Buetow
2026-03-27fix askcli header width for 0685342b-606c-4c8f-aab5-cd363d926e77Paul Buetow
2026-03-27fix ask add alias output for 1a1731dc-1f11-42bd-be12-4c1af7f7e673Paul Buetow
2026-03-27test: cover ask info dependencies 052ad39a-6967-4628-a65c-db2a163de09bPaul Buetow
2026-03-27Verify fish selector completion coverage for ↵Paul Buetow
6c1f2f60-d55c-4a0c-ba5d-e897c738ecb4
2026-03-27Add alias coverage for task b777fcc2-8f64-4250-b0ac-6038a8aa26b4Paul Buetow
2026-03-27task 73fabcf6-d4a1-4bf3-aae1-a390a734e517: extend ask selector completionPaul Buetow
2026-03-27askcli: show task aliases in output (cd322ed1-882d-40e9-ab98-689acd5f161e)Paul Buetow
2026-03-26askcli: resolve aliases for selector task 0b9480fe-ec1b-4c0e-a8b0-88f1f08b56d3Paul Buetow
2026-03-26Implement ask alias cache foundation for d5a99b1b-13f3-4b73-8222-71f012c60bc9Paul Buetow
2026-03-26Implement ask started-task info 4c3640dc-3730-40c9-bfa6-db90564e3171Paul Buetow
2026-03-26release: v0.26.1v0.26.1Paul Buetow
2026-03-26release: v0.26.0v0.26.0Paul Buetow
2026-03-26ask: speed up fish UUID completionPaul Buetow
2026-03-26ask: filter fish UUID completionPaul Buetow
2026-03-26ask: add fish UUID completionsPaul Buetow
2026-03-26ask: align list header columns for task da6d3d36Paul Buetow
2026-03-26ask: silence rc.confirmation override bannerPaul Buetow
2026-03-26ask: add fish completions for task CLIPaul Buetow
2026-03-24ask: add --json flag for machine-readable outputv0.25.12Paul Buetow
List, ready, all, info, and urgency commands now output JSON arrays when --json is passed. This fixes pi agent-plan-mode extension which expects JSON from ask but was getting human-readable tables. Amp-Thread-ID: https://ampcode.com/threads/T-019d207c-b8e2-748d-af52-dd8f84fb2b32 Co-authored-by: Amp <amp@ampcode.com>