proagents 1.0.13 → 1.0.15
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
|
@@ -58,6 +58,48 @@ When the user types commands starting with `pa:`, recognize and execute them:
|
|
|
58
58
|
| `pa:ai-add` | Add more AI platforms |
|
|
59
59
|
| `pa:ai-remove` | Remove AI platforms from config |
|
|
60
60
|
|
|
61
|
+
**How to execute AI Platform commands:**
|
|
62
|
+
|
|
63
|
+
For `pa:ai-list`:
|
|
64
|
+
- Read `./proagents/proagents.config.yaml` and show the `platforms` array
|
|
65
|
+
- Show which AI instruction files exist in project root
|
|
66
|
+
|
|
67
|
+
For `pa:ai-add`:
|
|
68
|
+
1. Show available platforms to user:
|
|
69
|
+
| Platform | File Created |
|
|
70
|
+
|----------|--------------|
|
|
71
|
+
| Claude Code | CLAUDE.md |
|
|
72
|
+
| Cursor | .cursorrules |
|
|
73
|
+
| Windsurf | .windsurfrules |
|
|
74
|
+
| GitHub Copilot | .github/copilot-instructions.md |
|
|
75
|
+
| ChatGPT | CHATGPT.md |
|
|
76
|
+
| Gemini | GEMINI.md |
|
|
77
|
+
| Bolt | BOLT.md |
|
|
78
|
+
| Lovable | LOVABLE.md |
|
|
79
|
+
| Replit | REPLIT.md |
|
|
80
|
+
| Kiro | KIRO.md |
|
|
81
|
+
| Groq | GROQ.md |
|
|
82
|
+
| AntiGravity | ANTIGRAVITY.md |
|
|
83
|
+
|
|
84
|
+
2. Ask user which platforms to add
|
|
85
|
+
3. For each selected platform:
|
|
86
|
+
- Copy content from `./proagents/{PLATFORM}.md` (e.g., `./proagents/CLAUDE.md`)
|
|
87
|
+
- If target file exists, wrap new content with markers and append:
|
|
88
|
+
```
|
|
89
|
+
<!-- PROAGENTS:START -->
|
|
90
|
+
{content from proagents folder}
|
|
91
|
+
<!-- PROAGENTS:END -->
|
|
92
|
+
```
|
|
93
|
+
- If target file doesn't exist, create it with the content wrapped in markers
|
|
94
|
+
4. Update `./proagents/proagents.config.yaml` to add platform to `platforms` array
|
|
95
|
+
|
|
96
|
+
For `pa:ai-remove`:
|
|
97
|
+
1. Read `./proagents/proagents.config.yaml` to get current platforms
|
|
98
|
+
2. Show list and ask which to remove
|
|
99
|
+
3. For each selected:
|
|
100
|
+
- Remove the PROAGENTS section (between markers) from the file, OR delete the file if it only contains ProAgents content
|
|
101
|
+
- Update config to remove from `platforms` array
|
|
102
|
+
|
|
61
103
|
### Configuration
|
|
62
104
|
| Command | Action |
|
|
63
105
|
|---------|--------|
|
package/proagents/PROAGENTS.md
CHANGED
|
@@ -15,6 +15,9 @@ Execute these commands when user types them (prefix: `pa:`):
|
|
|
15
15
|
| `pa:doc` | Generate documentation |
|
|
16
16
|
| `pa:release` | Generate release notes → `./RELEASE_NOTES.md` |
|
|
17
17
|
| `pa:changelog` | Update `./CHANGELOG.md` |
|
|
18
|
+
| `pa:ai-list` | Read config, show installed AI platforms |
|
|
19
|
+
| `pa:ai-add` | Show platform options, create AI instruction files |
|
|
20
|
+
| `pa:ai-remove` | Show installed platforms, remove selected files |
|
|
18
21
|
|
|
19
22
|
## Feature Workflow
|
|
20
23
|
|