Artifact b42a99ee40fee78b22f8ee2f3048382372d501be7d69350e9173b920b0bab327:
- File
src/input.h
-
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: 1042) [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: 1042) [annotate] [blame] [check-ins using]
-
2026-11-19 20:35:01
— part of check-in
[bb88ac58ac]
on branch templates
— Prompt templates, as Pi's