Documentation
¶
Index ¶
- func New() engine.Plugin
- type Plugin
- func (p *Plugin) Capabilities() []engine.Capability
- func (p *Plugin) Dependencies() []string
- func (p *Plugin) Emissions() []string
- func (p *Plugin) ID() string
- func (p *Plugin) Init(ctx engine.PluginContext) error
- func (p *Plugin) Name() string
- func (p *Plugin) Ready() error
- func (p *Plugin) Requires() []engine.Requirement
- func (p *Plugin) Shutdown(_ context.Context) error
- func (p *Plugin) Subscriptions() []engine.EventSubscription
- func (p *Plugin) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is a marker observer for thinking.step and plan.progress events. The journal is the single source of truth for these events — every envelope on the bus lands in the per-session journal, so anything that needs the thinking history reads it from there (live via journal.Writer.SubscribeProjection, or post-mortem via journal.ProjectFile).
This plugin no longer writes derived JSONL files; its presence in plugins.active acts as a UI feature flag that TUI / browser shells use to enable thinking-related UI affordances. The Subscriptions() entries are retained so the plugin shows up in registry / manifest tooling that inventories which event types each plugin attends to.
func (*Plugin) Capabilities ¶
func (p *Plugin) Capabilities() []engine.Capability
func (*Plugin) Dependencies ¶
func (*Plugin) Requires ¶
func (p *Plugin) Requires() []engine.Requirement
func (*Plugin) Subscriptions ¶
func (p *Plugin) Subscriptions() []engine.EventSubscription