Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelsConfig ¶
type ChannelsConfig struct {
// Enabled controls whether the IM channel gateway is active.
Enabled bool `json:"enabled"`
// DefaultAgentID is the fallback agent for channels that don't specify one.
DefaultAgentID string `json:"default_agent_id,omitempty"`
}
ChannelsConfig holds the configuration for IM channel integrations.
type Dependencies ¶ added in v0.2.0
type Dependencies struct {
Config *config.Config
// Core infrastructure
Shutdown *shutdown.GracefulShutdown
GenericServer *genericapiserver.GenericAPIServer
GRPCServer *genericapiserver.GRPCAPIServer
GenericConfig *genericapiserver.Config
ExtraConfig *ExtraConfig
// Core modules
Golem *golem.Module
LLM *llm.Module
MCP *mcp.Module
Agents *agents.Module
Plugin *plugin.Framework
// Team subsystem
TeamOrchestrator team.TeamOrchestrator
TeamTemplateService team.TeamTemplateService
TeamMessageBus messagebus.MessageBus
// Gateway
ChannelManager *gateway.ChannelManager
}
Dependencies holds all initialized modules and resources.
type ExtraConfig ¶
ExtraConfig defines extra configuration for the API server.
type GatewayConfig ¶
type GatewayConfig struct {
// Auth holds the authentication configuration for the gateway.
Auth middleware.AuthConfig `json:"auth"`
// Store holds the store configuration for the gateway.
Store StoreConfig `json:"store"`
// Defaults holds the default values for the gateway.
Defaults GatewayDefaults `json:"defaults"`
// Channels holds the IM channel gateway configuration.
Channels ChannelsConfig `json:"channels"`
}
GatewayConfig holds the gateway-level configuration for HTTP API endpoints.
func DefaultGatewayConfig ¶
func DefaultGatewayConfig() *GatewayConfig
type GatewayDefaults ¶
type GatewayDefaults struct {
// AgentID holds the default agent ID to use.
AgentID string `json:"agent_id"`
// Model holds the default model to use.
Model string `json:"model"`
}
GatewayDefaults holds the default values for the gateway.
type InitFunc ¶ added in v0.2.0
type InitFunc func(ctx context.Context, deps *Dependencies) error
InitFunc is a function that initializes a subsystem.
func InitAgents ¶ added in v0.2.0
func InitAgents() InitFunc
InitAgents creates the plugin framework and agents module.
func InitInfrastructure ¶ added in v0.2.0
InitInfrastructure creates state dir, shutdown manager, and servers.
func InitPluginLifecycle ¶ added in v0.2.0
func InitPluginLifecycle() InitFunc
InitPluginLifecycle runs plugin init/start and performs all injections.
type InitializerChain ¶ added in v0.2.0
type InitializerChain []InitFunc
InitializerChain executes a sequence of init functions in order.
func (InitializerChain) Run ¶ added in v0.2.0
func (c InitializerChain) Run(ctx context.Context, deps *Dependencies) error
Run executes all init functions in sequence.
type StoreConfig ¶
type StoreConfig struct {
// Type holds the type of store to use.
Type string `json:"type"`
// BoltDBPath holds the path to the BoltDB file.
BoltDBPath string `json:"bolt_db_path"`
}
StoreConfig configures the persistence backend
Directories
¶
| Path | Synopsis |
|---|---|
|
handler
|
|
|
service
|
|
|
agents/domain/service/runtime/subagent
Package subagent provides a self-contained module for sub-agent lifecycle orchestration.
|
Package subagent provides a self-contained module for sub-agent lifecycle orchestration. |
|
agents/domain/service/runtime/toolloop
Package toolloop implements tool call loop detection aligned with OpenClaw's tool-loop-detection.ts.
|
Package toolloop implements tool call loop detection aligned with OpenClaw's tool-loop-detection.ts. |
|
gateway
Package gateway implements the IM platform gateway layer for Echoryn.
|
Package gateway implements the IM platform gateway layer for Echoryn. |
|
golem
Package golem provides a unified Golem cluster management subsystem.
|
Package golem provides a unified Golem cluster management subsystem. |
|
llm/provider/thinking
Package thinking provides a Strategy pattern for mapping Echoryn's unified ThinkingLevel to provider-specific eino model configurations.
|
Package thinking provides a Strategy pattern for mapping Echoryn's unified ThinkingLevel to provider-specific eino model configurations. |
|
messagebus
Package messagebus provides the message routing layer for SubAgent inter-communication.
|
Package messagebus provides the message routing layer for SubAgent inter-communication. |
|
plugin/builtin
Package builtin registers all in-tree (built-in) plugins.
|
Package builtin registers all in-tree (built-in) plugins. |
|
plugin/builtin/diagnostics
Package diagnostics implements the "diagnostics" built-in plugin.
|
Package diagnostics implements the "diagnostics" built-in plugin. |
|
plugin/builtin/diagnostics/trace
Package trace provides LLM-aware distributed tracing for Echoryn.
|
Package trace provides LLM-aware distributed tracing for Echoryn. |
|
plugin/builtin/golem-cluster
Package golem_cluster provides the golem-cluster plugin for Hivemind.
|
Package golem_cluster provides the golem-cluster plugin for Hivemind. |
|
plugin/builtin/llmtask
Package llmtask implements the "llm-task" built-in plugin.
|
Package llmtask implements the "llm-task" built-in plugin. |
|
plugin/builtin/llmtask/entity
Package entity defines configuration and types for the llm-task plugin.
|
Package entity defines configuration and types for the llm-task plugin. |
|
plugin/builtin/skills
Package skills provides the skills built-in plugin for Hivemind.
|
Package skills provides the skills built-in plugin for Hivemind. |
|
plugin/builtin/web-search/gemini-web-search
Package gemini_websearch implements the "web-search" built-in plugin.
|
Package gemini_websearch implements the "web-search" built-in plugin. |
|
subagent/executor
Package executor provides the execution routing layer for SubAgent tasks.
|
Package executor provides the execution routing layer for SubAgent tasks. |
|
subagent/observer
Package observer provides execution observability for SubAgent tasks.
|
Package observer provides execution observability for SubAgent tasks. |
|
team
Package team provides the team collaboration module for multi-agent coordination.
|
Package team provides the team collaboration module for multi-agent coordination. |