proagents 1.0.15 → 1.0.16
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/package.json
CHANGED
|
@@ -57,9 +57,17 @@ When the user types commands starting with `pa:`, recognize and execute them:
|
|
|
57
57
|
| `pa:ai-list` | List installed AI platforms |
|
|
58
58
|
| `pa:ai-add` | Add more AI platforms |
|
|
59
59
|
| `pa:ai-remove` | Remove AI platforms from config |
|
|
60
|
+
| `pa:ai-sync` | Sync config with existing files |
|
|
60
61
|
|
|
61
62
|
**How to execute AI Platform commands:**
|
|
62
63
|
|
|
64
|
+
**IMPORTANT - Multi-AI Environment:**
|
|
65
|
+
When multiple AI tools work on the same project, they don't share context. Before executing ANY `pa:ai-*` command:
|
|
66
|
+
1. ALWAYS read fresh state from files (don't rely on cached/previous knowledge)
|
|
67
|
+
2. Read `./proagents/proagents.config.yaml` for current config
|
|
68
|
+
3. Check which files actually exist in project root
|
|
69
|
+
4. If you detect mismatches, inform user and suggest `pa:ai-sync`
|
|
70
|
+
|
|
63
71
|
For `pa:ai-list`:
|
|
64
72
|
- Read `./proagents/proagents.config.yaml` and show the `platforms` array
|
|
65
73
|
- Show which AI instruction files exist in project root
|
|
@@ -100,6 +108,31 @@ For `pa:ai-remove`:
|
|
|
100
108
|
- Remove the PROAGENTS section (between markers) from the file, OR delete the file if it only contains ProAgents content
|
|
101
109
|
- Update config to remove from `platforms` array
|
|
102
110
|
|
|
111
|
+
For `pa:ai-sync`:
|
|
112
|
+
1. Scan project root for AI instruction files
|
|
113
|
+
2. Read current config from `./proagents/proagents.config.yaml`
|
|
114
|
+
3. Compare and show differences:
|
|
115
|
+
- Files that exist but not in config
|
|
116
|
+
- Config entries that don't have matching files
|
|
117
|
+
4. Ask user: "Add missing files to config?" or "Remove orphan config entries?"
|
|
118
|
+
5. Update config to match actual files
|
|
119
|
+
|
|
120
|
+
**Platform ID to File Mapping:**
|
|
121
|
+
| Platform ID | File |
|
|
122
|
+
|-------------|------|
|
|
123
|
+
| claude | CLAUDE.md |
|
|
124
|
+
| cursor | .cursorrules |
|
|
125
|
+
| windsurf | .windsurfrules |
|
|
126
|
+
| copilot | .github/copilot-instructions.md |
|
|
127
|
+
| chatgpt | CHATGPT.md |
|
|
128
|
+
| gemini | GEMINI.md |
|
|
129
|
+
| bolt | BOLT.md |
|
|
130
|
+
| lovable | LOVABLE.md |
|
|
131
|
+
| replit | REPLIT.md |
|
|
132
|
+
| kiro | KIRO.md |
|
|
133
|
+
| groq | GROQ.md |
|
|
134
|
+
| antigravity | ANTIGRAVITY.md |
|
|
135
|
+
|
|
103
136
|
### Configuration
|
|
104
137
|
| Command | Action |
|
|
105
138
|
|---------|--------|
|
package/proagents/PROAGENTS.md
CHANGED
|
@@ -18,6 +18,7 @@ Execute these commands when user types them (prefix: `pa:`):
|
|
|
18
18
|
| `pa:ai-list` | Read config, show installed AI platforms |
|
|
19
19
|
| `pa:ai-add` | Show platform options, create AI instruction files |
|
|
20
20
|
| `pa:ai-remove` | Show installed platforms, remove selected files |
|
|
21
|
+
| `pa:ai-sync` | Sync config with existing files (fix mismatches) |
|
|
21
22
|
|
|
22
23
|
## Feature Workflow
|
|
23
24
|
|