Artifact b3559c6af99d41a3eaca1384cc795d5fecf07de0602e04d658467d1e87bc7b9f:
- File
test/pic/prompts.sh
-
2026-11-19 20:35:01
— part of check-in
[bb88ac58ac]
on branch templates
— Prompt templates, as Pi's
Markdown files in ~/.pic/prompts/ and, once the workspace is trusted, WORKSPACE/.pic/prompts/ become /name commands: Pi's frontmatter (description, argument-hint), shell-like arguments and substitutions ($1, $@, $ARGUMENTS, ${1:-default}, ${@:N}, ${@:N:L}). They expand where text becomes a request, so ask, chat and the terminal agree; the slash menu lists them, built-in commands win a name clash, and /reload re-reads them. pic prompts [--json] lists them. Files are read through the platform's input reader, which gains a directory listing. Fixes a pollfd array one entry too small when a catalog refresh runs during a reply. (user: dmestas, size: 4198) [annotate] [blame] [check-ins using]
- 2026-11-19 20:54:45 — part of check-in [606918c3a7] on branch trunk — CI green on f76faff78ed3; Fil-C pass (171) (user: dmestas, size: 4198) [annotate] [blame] [check-ins using]
-
2026-11-19 20:35:01
— part of check-in
[bb88ac58ac]
on branch templates
— Prompt templates, as Pi's