Documentation
¶
Overview ¶
Package harnesskind is the importable form of the charly HARNESS-SURFACE kinds: `skill`, `hook`, and `marketplace` — first-class entities carrying the plugins/ skill corpus, the .claude/hooks/* gate scripts, and the marketplace/harness config into candy config (the plugins→candies migration). A KIND provider dispatches via the pb Invoke(OpLoad) envelope: decode the authored `skill:`/`hook:`/`marketplace:` entity from op.Params into the core spec.Skill/spec.Hook/spec.Marketplace type and re-marshal as canonical JSON; the host lands it in uf.PluginKinds["skill"]/["hook"]/["marketplace"][<name>] (the FLAT opaque-body path — these kinds are Structural:false: they nest no deploy resource members).
The values are SELF-CONTAINED (scalars + inline block-scalar content — nothing rich or core-referencing like #Candy/#Vm), so — unlike candy/substrate — they ride op.Params and are validated against this plugin's served self-contained #SkillInput/#HookInput/#MarketplaceInput schema (validateAuthoredPluginInput, the flat-kind load gate). Usable COMPILED-IN (NewProvider()/NewMeta() via plugins_generated.go — the plugin-candy-kind placement, because the words must be recognized on every parse without an out-of-process build) OR served OUT-OF-PROCESS by the cmd/serve shim.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMeta ¶
func NewMeta() pb.PluginMetaServer
NewMeta ships the three flat kind capabilities + their served self-contained schemas (fixedMeta.Describe compiles the embedded schemaFS's "schema" dir standalone).
func NewProvider ¶
func NewProvider() pb.ProviderServer
NewProvider returns the harness-kind provider for in-proc registration or out-of-proc serving.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
serve
command
Command serve is the OUT-OF-PROCESS entrypoint for the skill/hook/marketplace harness-kind plugin: a thin shim serving the importable provider over go-plugin gRPC (the SAME provider compiles INTO charly in-process via plugins_generated.go, its default compiled-in placement).
|
Command serve is the OUT-OF-PROCESS entrypoint for the skill/hook/marketplace harness-kind plugin: a thin shim serving the importable provider over go-plugin gRPC (the SAME provider compiles INTO charly in-process via plugins_generated.go, its default compiled-in placement). |