Add scoped PromptKit flag aliases

This commit is contained in:
2026-11-07 04:27:28 +00:00
parent 644e6c365b
commit 0183022a28
13 changed files with 237 additions and 38 deletions

View File

@@ -574,6 +574,19 @@ controls the engine view and these flags are unavailable.
Catalog namespace filters remain separate; configuration inspection has no
resource namespace selectors.
### PromptKit convenience aliases
Applications that install `ckprompt.Declarations(suite)` provide scoped
convenience spellings for the enabled PromptKit commands. Each applicable
`--llm-NAME` flag also accepts `--NAME`; `--llm-input-text` additionally accepts
`--llm-input` and `--input` for literal text. Use `--llm-input-file` or
`--input-file` for a file reference. Canonical and alias spellings share the
same binding, including their occurrence order and explicit-value semantics.
Applications that install `ckprompt.Command(suite)` receive the canonical
spellings only. The aliases do not apply to application-owned commands unless
the application installs them separately.
## PromptKit prepared-request preview
When `Suite.PrepareRequest` is present, `ckprompt.Command(suite)` installs