@swarmify/agents-cli 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/README.md +33 -11
- package/dist/index.js +385 -212
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
**Pull command redesign**
|
|
6
|
+
|
|
7
|
+
- Agent-specific sync: `agents pull claude` syncs only Claude resources
|
|
8
|
+
- Agent aliases: `cc`, `cx`, `gx`, `cr`, `oc` for quick filtering
|
|
9
|
+
- Overview display: Shows NEW vs EXISTING resources before installation
|
|
10
|
+
- Per-resource prompts: Choose overwrite/skip/cancel for each conflict
|
|
11
|
+
- `-y` flag: Auto-confirm and skip conflicts
|
|
12
|
+
- `-f` flag: Auto-confirm and overwrite conflicts
|
|
13
|
+
- Graceful cancellation: Ctrl+C shows "Cancelled" cleanly
|
|
14
|
+
|
|
15
|
+
## 1.4.0
|
|
16
|
+
|
|
17
|
+
- Conflict detection for pull command
|
|
18
|
+
- Bulk conflict handling (overwrite all / skip all / cancel)
|
|
19
|
+
|
|
20
|
+
## 1.3.13
|
|
21
|
+
|
|
22
|
+
- Enabled skills support for Cursor and OpenCode
|
|
23
|
+
- Fixed Cursor MCP config path (now uses mcp.json)
|
|
24
|
+
|
|
25
|
+
## 1.3.12
|
|
26
|
+
|
|
27
|
+
- Fixed MCP detection for Codex (TOML config format)
|
|
28
|
+
- Fixed MCP detection for OpenCode (JSONC config format)
|
|
29
|
+
- Added smol-toml dependency for TOML parsing
|
|
30
|
+
|
|
31
|
+
## 1.3.11
|
|
32
|
+
|
|
33
|
+
- Status command shows resource names instead of counts
|
|
34
|
+
- Better formatting for installed commands, skills, and MCPs
|
|
35
|
+
|
|
36
|
+
## 1.3.0
|
|
37
|
+
|
|
38
|
+
- Added Agent Skills support (SKILL.md + rules/)
|
|
39
|
+
- Skills validation with metadata requirements
|
|
40
|
+
- Central skills directory at ~/.agents/skills/
|
|
41
|
+
|
|
42
|
+
## 1.2.0
|
|
43
|
+
|
|
44
|
+
- Added hooks support for Claude and Gemini
|
|
45
|
+
- Hook discovery from shared/ and agent-specific directories
|
|
46
|
+
- Project-scope hooks support
|
|
47
|
+
|
|
48
|
+
## 1.1.0
|
|
49
|
+
|
|
50
|
+
- Added MCP server registration
|
|
51
|
+
- Support for stdio and http transports
|
|
52
|
+
- Per-agent MCP configuration
|
|
53
|
+
|
|
54
|
+
## 1.0.0
|
|
55
|
+
|
|
56
|
+
- Initial release
|
|
57
|
+
- Pull/push commands for syncing agent configurations
|
|
58
|
+
- Slash command management
|
|
59
|
+
- Multi-agent support (Claude, Codex, Gemini, Cursor, OpenCode)
|
package/README.md
CHANGED
|
@@ -12,14 +12,14 @@ You spend hours configuring Claude Code: MCP servers, slash commands, hooks, ski
|
|
|
12
12
|
|
|
13
13
|
## The Solution
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
One command to configure all your agents.
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# New machine? One command.
|
|
19
|
-
agents pull
|
|
19
|
+
agents pull
|
|
20
20
|
|
|
21
21
|
# See what's installed
|
|
22
|
-
agents status
|
|
22
|
+
agents status
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
```
|
|
@@ -62,17 +62,33 @@ Your `.agents` repo becomes the source of truth for all your AI coding tools.
|
|
|
62
62
|
# 1. Install
|
|
63
63
|
npm install -g @swarmify/agents-cli
|
|
64
64
|
|
|
65
|
-
# 2.
|
|
66
|
-
agents repo add gh:username/.agents
|
|
67
|
-
|
|
68
|
-
# 3. Pull everything
|
|
65
|
+
# 2. Pull (auto-configures from default repo on first run)
|
|
69
66
|
agents pull
|
|
70
67
|
|
|
71
|
-
#
|
|
68
|
+
# 3. Check what's installed
|
|
72
69
|
agents status
|
|
73
70
|
```
|
|
74
71
|
|
|
75
|
-
|
|
72
|
+
Pull a specific agent only:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
agents pull claude # Only configure Claude Code
|
|
76
|
+
agents pull codex # Only configure Codex
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Using Your Own Config
|
|
80
|
+
|
|
81
|
+
By default, `agents pull` uses the [system repo](https://github.com/muqsitnawaz/.agents). To use your own:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# Fork the system repo, then:
|
|
85
|
+
agents repo add gh:username/.agents
|
|
86
|
+
|
|
87
|
+
# Now pull uses your repo
|
|
88
|
+
agents pull
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## .agents Repo Structure
|
|
76
92
|
|
|
77
93
|
```
|
|
78
94
|
.agents/
|
|
@@ -127,11 +143,17 @@ agents status --agent claude
|
|
|
127
143
|
### Pull & Push
|
|
128
144
|
|
|
129
145
|
```bash
|
|
130
|
-
agents pull # Sync from your repo
|
|
131
|
-
agents pull
|
|
146
|
+
agents pull # Sync all agents from your repo
|
|
147
|
+
agents pull claude # Sync only Claude resources
|
|
148
|
+
agents pull cc # Same (aliases: cc, codex/cx, gemini/gx)
|
|
149
|
+
agents pull --dry-run # Preview what would change
|
|
150
|
+
agents pull -y # Auto-confirm, skip conflicts
|
|
151
|
+
agents pull -f # Auto-confirm, overwrite conflicts
|
|
132
152
|
agents push # Push local changes back
|
|
133
153
|
```
|
|
134
154
|
|
|
155
|
+
The pull command shows an overview of NEW vs EXISTING resources before installation. For conflicts, you're prompted per-resource to overwrite, skip, or cancel.
|
|
156
|
+
|
|
135
157
|
### Slash Commands
|
|
136
158
|
|
|
137
159
|
```bash
|