fix(review): address copilot review

This commit is contained in:
Austin Pickett 2026-04-27 11:06:28 -04:00
parent a0b62e0c5a
commit 082acc75b0
4 changed files with 15 additions and 6 deletions

View file

@ -1,3 +1,6 @@
/** Appended to `/model` args from the TUI picker for session scope; stripped in `session` slash before `config.set`. */
export const TUI_SESSION_MODEL_FLAG = '--tui-session'
export const looksLikeSlashCommand = (text: string) => /^\/[^\s/]*(?:\s|$)/.test(text)
export const parseSlashCommand = (cmd: string) => {