plugin-openwebui
| Repo | box/github.com/opencharly/plugin-openwebui:v2026.324.1215 |
| Plugin | yes — see the plugin reference |
The charly openwebui management CLI plus the CUE-validated kind: openwebui
configuration entity — save a deployed Open WebUI’s configuration into a
project’s charly.yml, and deploy it back through Open WebUI’s own HTTP API.
Two capabilities, one object. command:openwebui is the CLI
(status, save, apply, diff, export); kind:openwebui is the flat
<name>: {openwebui: …} entity it reads and writes. The entity is validated at
load against this plugin’s served #OpenwebuiInput, so a typo’d surface or a
missing required field is a charly box validate error, not a silent no-op.
The field names are the server’s own. Each config.<surface> body is the
JSON body of that surface’s POST endpoint (POST /api/v1/configs/connections,
POST /openai/config/update, …), so save is a GET→node copy and apply is a
node→POST copy with no translation table that could drift. apply posts each
surface’s own typed endpoint — never the untyped bulk POST /api/v1/configs/import, which skips every per-surface side effect (model-cache
invalidation, tool-server re-registration, MFA session revocation).
Credentials never enter the file. save replaces every credential-bearing
leaf with {keep: true} (the live value is preserved at apply time), so a
save→apply round-trip is a no-op and a committed entity carries no secret.
apply refuses a literal credential in the entity unless
--allow-literal-secrets is passed for a throwaway bed; an operator-authored
{secret: <credential-key>} is resolved from the environment instead.
The plugin owns the whole surface — the grammar, the HTTP client, the surface
table, the credential placeholders and the comment-preserving charly.yml write.
Placement is computed from charly.yml’s compiled_plugins:, never stated here.
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
check |
the plugin ships a buildable Go module (go.mod + provider + CLI + its own served CUE schema) the host can build |

