The reference dual-placement plugin (verb:externalprobe) — one provider,
two placements, zero authoring change.
The plugin's importable provider package serves the externalprobe check verb
and its self-contained CUE schema. It is compiled into charly when the candy is
listed in compiled_plugins: (registered in-process), and the same provider is
served out-of-process over go-plugin gRPC by the cmd/serve shim when it is not.
Placement is invisible above the provider registry — the verb dispatches
identically either way.
| Capability | Surface |
|---|---|
verb:externalprobe |
the externalprobe: check verb — a deterministic pass echoing its marker |
It is the companion of the built-in plugin-example; the out-of-process
build/deploy legs are demonstrated by the plugin-example-builder,
-deploy, and -command plugins.
Compose the plugin candy in a box or check bed's candy: list:
- '@github.com/opencharly/plugin-example-external/candy/plugin-example-external:<tag>'Then author the verb in a plan:
- check: the externalprobe verb passes
id: externalprobe-dispatches
externalprobe: {marker: external-plugin-ok}
context: [runtime]candy/plugin-example-external/— the plugin module:plugin.go(the providerNewProvider()/NewMeta()),schema/externalprobe.cue(the self-contained#ExternalprobeInput),params/cue_types_gen.go,cmd/serve/main.go.
charly.yml— the root project manifest (discover: candy)..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.
- Owning skill:
/charly-check:check— the check verb catalog. This candy carries noskill:entity of its own; the gap is tracked in opencharly/opencharly#291. /charly-internals:plugin— the plugin/provider model.opencharly/charly— the charly CLI.