feat: pin agent definitions next to skills

A source can install agents (agents/<name>.md files with a frontmatter
name) alongside or instead of skills.

- manifest: optional "agents" selection; lock: "agents" map
- add --agent / --all-agents, remove --agent, list shows the kind
- check/update diff agents like skills (files, not directories)
- dashboard lists and removes agents
- home-manager module: agentTargets (default .claude/agents) links <name>.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
johannesandClaude Sonnet 5.5 committed 2026-11-28 13:42:45 +01:00
1 parent 0aedef8c8c
commit df8d11d8cb
15 files changed
+648 -131

No files matched your search

+2
View File
@@ -19,6 +19,8 @@ type Source struct {
Locked map[string]any `json:"locked"`
// Skills maps installed name to the skill's directory in the source.
Skills map[string]string `json:"skills"`
// Agents maps installed name to the agent's .md file in the source.
Agents map[string]string `json:"agents,omitempty"`
}
func (s Source) Rev() string {