Expand description
gtc op extensions {add,update,remove,rollback,list} (Path 3).
Manages Environment.extensions: Vec<ExtensionBinding> — the env’s
open-namespace capability bindings. Unlike op env-packs (which manages the
closed, 1-per-slot core packs), extensions are N-per-env: their slot is
always CapabilitySlot::Extension,
and identity is (kind.path(), instance_id) — the descriptor path plus an
optional instance selector for N instances of the same extension type.
A workload resolves a binding by name at runtime via
ext://<path>[/<instance>]; no typed host interface is wired. Mutations bump
ExtensionBinding::generation and
stash the prior binding inline so rollback can restore it, reusing the same
one-step machinery as env-packs.
Structs§
- Extension
Binding Payload - Payload for
op extensions add/op extensions update. - Extension
Remove Payload - Payload for
op extensions remove/op extensions rollback. Identifies a binding by(kind.path(), instance_id)— the descriptor@<version>is ignored for matching (the path is the version-independent key). - Extension
Summary - Returned by every mutating call.