CommandKit ckprompt
ckprompt adds PromptKit inspection and testing commands to Go applications
that use CommandKit. Operators can list prompts, profiles, and backends, inspect
their settings, discover required inputs, validate and preview requests, and
run smoke tests.
The application chooses which commands to install. Importing the package alone does not install commands.
Module
The module path is go.maximumdirect.net/ckprompt. See the
consumer guide
for compatible releases, Go requirements, and the current source's dependency
alignment requirement.
Example
Pass your engine loader to FromEngine to add resource listings, inspection,
and requirements discovery:
app, err := commandkit.New(identity, ckprompt.Command(ckprompt.FromEngine(loadEngine)))
Add request validation, preview, and smoke tests with WithRequestValidation,
WithRequestPreparation, and WithSmokeTesting. To expose engine configuration
under config, add ckprompt.ConfigScope(loadEngine) to a ckconfig.Suite.
The integration guide
explains these choices; the composed example shows them together.
Inspection commands do not call the model. Smoke tests can use the application's configured client or network probes. Applications own engine setup, credentials, and any effects of their loaders and callbacks. See the CLI reference for commands and results.
License and attribution
This module is licensed under the GNU Lesser General Public License v3.0 or later. The accompanying LICENSE contains the full LGPL v3 and GPL v3 texts. See third-party attribution for incorporated and dependency notices.