4 Commits

Author SHA1 Message Date
roboomp 6a3fcc98fa fix(tui): restored GitHub refs in slash arguments
Preserved numeric GitHub reference completion after slash-command argument providers decline an input while leaving prompt-action tokens literal.

Added a provider-level regression for prompt-bearing skill commands.

Fixes #6604
2026-07-25 11:22:13 +00:00
can1357 8b6e4cb03a fix(coding-agent): validate live github ref completions 2026-07-08 15:23:50 +02:00
oldschoola d8f52e8a9b fix(coding-agent): require token boundary for #<number>; add pr/issue qualifier
Address review feedback on #3224 (roboomp + Codex): #<number> now requires a token boundary before # (start/whitespace/quote/paren/</=), matching the internal-URL boundary set, so owner/repo#N, foo#N, C#12, and URL fragments no longer match and corrupt on accept. Also detect a pr/pull/issue qualifier word before the number (pr #3164 / issue #3164); when present, only that kind is offered and the qualifier is consumed on accept.
2026-06-21 18:36:20 -07:00
oldschoola c7ec6d066d feat(coding-agent): recognize #<number> as a GitHub issue/PR reference
Typing #<number> (e.g. #3164) in the prompt now offers PR and Issue autocomplete candidates; accepting one rewrites the token to the pr:///issue:// internal URL (+ trailing space, matching the @/internal-url convention). The existing read tool -> InternalUrlRouter -> gh pipeline resolves it from the cwd's git remote, so no new resolution code is needed.

Bare # and #<text> keep the existing prompt-action menu (additive, no regression). #<number> requires a positive integer, so #0 / leading zeros do not offer candidates.

Closes #3218
2026-06-21 18:04:42 -07:00