Documentation
¶
Index ¶
- type Store
- func (s *Store) AgentContent(name string) string
- func (s *Store) AgentDir(name string) string
- func (s *Store) AgentExists(name string) bool
- func (s *Store) Content(name string) string
- func (s *Store) Dir() string
- func (s *Store) EnsureAgent(name string) error
- func (s *Store) GlobalContent() string
- func (s *Store) GlobalDir() string
- func (s *Store) ListAgents() ([]string, error)
- func (s *Store) RemoveAgent(name string) error
- func (s *Store) SoulContent(name string) string
- func (s *Store) TasksDir(name string) string
- func (s *Store) WorkspaceDir(name string) string
- func (s *Store) WriteAgent(name string, content string) error
- func (s *Store) WriteGlobal(content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages per-agent and global AGENTS.md instructions for claw.
Directory layout under ~/.wingman/claw/agents/:
{dir}/
global/
AGENTS.md -- shared instructions across all agents
{agent}/
AGENTS.md -- agent-specific instructions
workspace/ -- agent's working directory (files, data)
tasks/ -- agent's scheduled tasks
func (*Store) AgentContent ¶
func (*Store) AgentExists ¶
func (*Store) EnsureAgent ¶
func (*Store) GlobalContent ¶
func (*Store) ListAgents ¶
func (*Store) RemoveAgent ¶
func (*Store) SoulContent ¶
SoulContent reads SOUL.md from outside the workspace, where the agent cannot modify it.
func (*Store) WorkspaceDir ¶
func (*Store) WriteGlobal ¶
Click to show internal directories.
Click to hide internal directories.