feat: agregar config SharedKnowledge a schema.go
- Nuevo tipo SharedKnowledgeToolCfg con enabled, dir, db_path - Agregar campo SharedKnowledge a ToolsCfg - Issue 0018: Shared Knowledge (fase 1) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -129,6 +129,7 @@ type ToolsCfg struct {
|
||||
MCP MCPToolCfg `yaml:"mcp"`
|
||||
Memory MemoryToolCfg `yaml:"memory"`
|
||||
Knowledge KnowledgeToolCfg `yaml:"knowledge"`
|
||||
SharedKnowledge SharedKnowledgeToolCfg `yaml:"shared_knowledge"`
|
||||
}
|
||||
|
||||
type MatrixToolCfg struct {
|
||||
@@ -140,6 +141,12 @@ type KnowledgeToolCfg struct {
|
||||
Dir string `yaml:"dir"` // default: "./knowledge" (relative to agent dir)
|
||||
}
|
||||
|
||||
type SharedKnowledgeToolCfg struct {
|
||||
Enabled bool `yaml:"enabled"` // default false
|
||||
Dir string `yaml:"dir"` // default "knowledges" (relative to project root)
|
||||
DBPath string `yaml:"db_path"` // default "knowledges/data/knowledge.db"
|
||||
}
|
||||
|
||||
type SSHToolCfg struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
AllowedTargets []string `yaml:"allowed_targets"`
|
||||
|
||||
Reference in New Issue
Block a user