/talk slash commands (#13971)
A /talk line that starts with a slash and a letter runs a short command: no model turn, no cost, nothing written but the two turns. Every command only reads.
/issue N,/pull N:owner/repo#N: title, its state and author, the first 600 characters of the body, and its page./wallet: the repository's balance line and its three latest spends, the words of its wallet page.- Which words are shared: only the facts, not the page's rendering. The issue and pull answers use the same title, state and author fields as their pages (read through
getIssue/getPull), and/walletusesreadWalletSummary, the page's own reader, so its balance and spend lines are the page's words. The layout, labels and the body's markdown are not: the body is plain text cut at 600 characters. - Which repository:
owner/repotyped in the line (/issue owner/repo#7,/wallet owner/repo), else the one the chat is about (/talk?about=). - Read as you: a repository or number you cannot read answers
Not found., as its page does. - Unknown command: says so and lists the table.
- Both doors: the terminal's
talkgoes through the samesay(), so it answers the same words (src/actions/talk_slash.ts). - Left out: commands that write, and a default repository when none is named.
- Queued: a slash line sent while an answer runs waits its turn, then is answered the same way, not handed to the model.