CommandKit ckprompt
ckprompt is the optional PromptKit integration for CommandKit. It adapts
PromptKit engine configuration, native comparison, prompt/profile catalogs, and
named inspection. Importing it does not install either command family.
Module
The module path is
gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt. Its first
release is prepared as v0.1.0. It uses commandkit, ckconfig, and
PromptKit. See the
consumer guide
for callback, input, state, and acquisition contracts.
Example
Add ckprompt.ConfigScope(loadEngine) to the scopes passed to
ckconfig.Command when the application wants PromptKit engine configuration
and native comparison in the config family. Install
ckprompt.Command(ckprompt.FromEngine(loadEngine)) separately for prompt/profile
catalogs and named inspections. FromEngine supplies all four PromptKit-backed
callbacks; applications may narrow them before capture or provide their own
callbacks with ckprompt.Suite. CommandKit-owned inspection and listing code
does not execute prompts or contact model providers; application loaders and
direct callbacks retain their own effects. See the
CLI reference
for operator commands and report semantics. The maintained
composed example shows complete application wiring.
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.