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