Skip to main content

Module capability

Module capability 

Structs§

CapabilityContext
CapabilityInfo
CapabilityResult
ChannelForgeAdapter
ForgeCommentAdapter over the daemon’s channel map: posts by driving the git channel’s normal outbound path (Channel::send with an owner/repo#number recipient — the same path an agent reply takes), so it is provider-agnostic (GitHub / Gitea / Forgejo alike) and reuses chunking + auth as-is.
ForgeCommentCapability
forge.comment capability. Holds an optional adapter; None = fail-closed.
LlmGenerateCapability
llm.generate capability. Holds an optional adapter; None = fail-closed.
ProviderLlmAdapter
LlmGenerateAdapter over a configured ModelProvider: one chat_with_system call, run on a dedicated bridge thread (see super::bridge::run_bridged for why the host runtime must not be used).
SopCapabilityRegistry

Traits§

ForgeCommentAdapter
Injected seam that performs the actual forge write. Kept synchronous because SopCapability::execute is sync (called under the engine mutex); implementations bridge to their async forge client themselves (see ChannelForgeAdapter).
LlmGenerateAdapter
Injected seam that performs the actual model call. Synchronous because SopCapability::execute is sync; implementations bridge to their async provider themselves (see ProviderLlmAdapter).
SopCapability