<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>extensions - Sharur</title><link>https://goppydae.github.io/sharur/reference/extensions/index.html</link><description>extensions import "github.com/goppydae/sharur/extensions" Index func LoadErrors(errs []error) error func Serve(impl Plugin) type AgentState type GRPCClient func (m *GRPCClient) AfterCompact(ctx context.Context, freedTokens int) func (m *GRPCClient) AfterProviderResponse(ctx context.Context, content string, numToolCalls int) func (m *GRPCClient) AfterToolCall(ctx context.Context, call *agent.ToolCall, result *tools.ToolResult) *tools.ToolResult func (m *GRPCClient) AgentEnd(ctx context.Context) func (m *GRPCClient) AgentStart(ctx context.Context) func (m *GRPCClient) BeforeCompact(ctx context.Context, prep agent.CompactionPrep) *agent.CompactionResult func (m *GRPCClient) BeforePrompt(ctx context.Context, state *agent.AgentState) *agent.AgentState func (m *GRPCClient) BeforeProviderRequest(ctx context.Context, req *llm.CompletionRequest) *llm.CompletionRequest func (m *GRPCClient) BeforeToolCall(ctx context.Context, call *agent.ToolCall, args json.RawMessage) (*tools.ToolResult, bool) func (m *GRPCClient) Degraded() (bool, error) func (m *GRPCClient) ModifyContext(ctx context.Context, messages []types.Message) []types.Message func (m *GRPCClient) ModifyInput(ctx context.Context, text string) agent.InputResult func (m *GRPCClient) ModifySystemPrompt(prompt string) string func (m *GRPCClient) Name() string func (m *GRPCClient) SessionEnd(ctx context.Context, sessionID string, reason agent.SessionEndReason) func (m *GRPCClient) SessionStart(ctx context.Context, sessionID string, reason agent.SessionStartReason) func (m *GRPCClient) Tools() []tools.Tool func (m *GRPCClient) TurnEnd(ctx context.Context) func (m *GRPCClient) TurnStart(ctx context.Context) type GRPCServer func (m *GRPCServer) AfterCompact(ctx context.Context, req *proto.AfterCompactRequest) (*proto.Empty, error) func (m *GRPCServer) AfterProviderResponse(ctx context.Context, req *proto.AfterProviderResponseRequest) (*proto.Empty, error) func (m *GRPCServer) AfterToolCall(ctx context.Context, req *proto.AfterToolCallRequest) (*proto.AfterToolCallResponse, error) func (m *GRPCServer) AgentEnd(ctx context.Context, _ *proto.Empty) (*proto.Empty, error) func (m *GRPCServer) AgentStart(ctx context.Context, _ *proto.Empty) (*proto.Empty, error) func (m *GRPCServer) BeforeCompact(ctx context.Context, req *proto.BeforeCompactRequest) (*proto.BeforeCompactResponse, error) func (m *GRPCServer) BeforePrompt(ctx context.Context, req *proto.BeforePromptRequest) (*proto.BeforePromptResponse, error) func (m *GRPCServer) BeforeProviderRequest(ctx context.Context, req *proto.BeforeProviderRequestRequest) (*proto.BeforeProviderRequestResponse, error) func (m *GRPCServer) BeforeToolCall(ctx context.Context, req *proto.BeforeToolCallRequest) (*proto.BeforeToolCallResponse, error) func (m *GRPCServer) ExecuteTool(ctx context.Context, req *proto.ExecuteToolRequest) (*proto.ExecuteToolResponse, error) func (m *GRPCServer) ModifyContext(ctx context.Context, req *proto.ModifyContextRequest) (*proto.ModifyContextResponse, error) func (m *GRPCServer) ModifyInput(ctx context.Context, req *proto.ModifyInputRequest) (*proto.ModifyInputResponse, error) func (m *GRPCServer) ModifySystemPrompt(ctx context.Context, req *proto.ModifySystemPromptRequest) (*proto.ModifySystemPromptResponse, error) func (m *GRPCServer) Name(ctx context.Context, _ *proto.Empty) (*proto.NameResponse, error) func (m *GRPCServer) SessionEnd(ctx context.Context, req *proto.SessionEndRequest) (*proto.Empty, error) func (m *GRPCServer) SessionStart(ctx context.Context, req *proto.SessionStartRequest) (*proto.Empty, error) func (m *GRPCServer) Tools(ctx context.Context, _ *proto.Empty) (*proto.ToolsResponse, error) func (m *GRPCServer) TurnEnd(ctx context.Context, _ *proto.Empty) (*proto.Empty, error) func (m *GRPCServer) TurnStart(ctx context.Context, _ *proto.Empty) (*proto.Empty, error) type Loader func NewLoader(dirs []string, pythonPath string) *Loader func (l *Loader) Cleanup() func (l *Loader) Load() ([]agent.Extension, []error) func (l *Loader) LoadOrLog() []agent.Extension type NoopPlugin func (n *NoopPlugin) AfterCompact(_ context.Context, _ int) func (n *NoopPlugin) AfterProviderResponse(_ context.Context, _ string, _ int) func (n *NoopPlugin) AfterToolCall(_ context.Context, _ ToolCall, result ToolResult) ToolResult func (n *NoopPlugin) AgentEnd(_ context.Context) func (n *NoopPlugin) AgentStart(_ context.Context) func (n *NoopPlugin) BeforeCompact(_ context.Context, _ agent.CompactionPrep) *agent.CompactionResult func (n *NoopPlugin) BeforePrompt(_ context.Context, state AgentState) AgentState func (n *NoopPlugin) BeforeProviderRequest(_ context.Context, requestJSON string) string func (n *NoopPlugin) BeforeToolCall(_ context.Context, _ ToolCall, _ json.RawMessage) (ToolResult, bool) func (n *NoopPlugin) ExecuteTool(_ context.Context, name string, _ json.RawMessage) ToolResult func (n *NoopPlugin) ModifyContext(_ context.Context, messagesJSON string) string func (n *NoopPlugin) ModifyInput(_ context.Context, _ string) agent.InputResult func (n *NoopPlugin) ModifySystemPrompt(prompt string) string func (n *NoopPlugin) Name() string func (n *NoopPlugin) SessionEnd(_ context.Context, _ string, _ agent.SessionEndReason) func (n *NoopPlugin) SessionStart(_ context.Context, _ string, _ agent.SessionStartReason) func (n *NoopPlugin) Tools() []ToolDefinition func (n *NoopPlugin) TurnEnd(_ context.Context) func (n *NoopPlugin) TurnStart(_ context.Context) type Plugin type RemoteTool func (t *RemoteTool) Description() string func (t *RemoteTool) Execute(ctx context.Context, args json.RawMessage, update tools.ToolUpdate) (*tools.ToolResult, error) func (t *RemoteTool) IsReadOnly() bool func (t *RemoteTool) Name() string func (t *RemoteTool) Schema() json.RawMessage type SkillLoader func NewSkillLoader(dirs []string) *SkillLoader func (l *SkillLoader) Load() ([]agent.Extension, error) type SkillTool func (s *SkillTool) Description() string func (s *SkillTool) Execute(ctx context.Context, args json.RawMessage, update tools.ToolUpdate) (*tools.ToolResult, error) func (s *SkillTool) IsReadOnly() bool func (s *SkillTool) Name() string func (s *SkillTool) Schema() json.RawMessage type SkillsMetadataExtension func NewSkillsMetadataExtension(allSkills []*skills.Skill) *SkillsMetadataExtension func (s *SkillsMetadataExtension) ModifySystemPrompt(prompt string) string func (s *SkillsMetadataExtension) Tools() []tools.Tool type ToolCall type ToolDefinition type ToolResult</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://goppydae.github.io/sharur/reference/extensions/index.xml" rel="self" type="application/rss+xml"/></channel></rss>