proagents 1.6.12 → 1.6.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.
Files changed (40) hide show
  1. package/.proagents/.cursorrules +16 -2
  2. package/.proagents/.learning/global/common-patterns.template.json +60 -0
  3. package/.proagents/.learning/global/user-preferences.template.json +78 -0
  4. package/.proagents/.windsurfrules +16 -2
  5. package/.proagents/AGENTS.md +55 -0
  6. package/.proagents/AI_INSTRUCTIONS.md +1252 -53
  7. package/.proagents/ANTIGRAVITY.md +16 -2
  8. package/.proagents/BOLT.md +16 -2
  9. package/.proagents/CHATGPT.md +16 -2
  10. package/.proagents/CLAUDE.md +16 -2
  11. package/.proagents/GEMINI.md +16 -2
  12. package/.proagents/GROQ.md +16 -2
  13. package/.proagents/KIRO.md +16 -2
  14. package/.proagents/LOVABLE.md +16 -2
  15. package/.proagents/PROAGENTS.md +52 -26
  16. package/.proagents/REPLIT.md +16 -2
  17. package/.proagents/active-features/_index.template.json +75 -0
  18. package/.proagents/changelog/_recent.template.md +51 -0
  19. package/.proagents/docs/command-details.md +985 -82
  20. package/.proagents/worklog/_context.md +31 -1
  21. package/.proagents/worklog/_context.template.md +82 -0
  22. package/.proagents/worklog/ai-stats.json +19 -0
  23. package/.proagents/worklog/ai-stats.template.json +54 -0
  24. package/README.md +85 -1
  25. package/bin/proagents.js +132 -1
  26. package/lib/commands/ai.js +103 -11
  27. package/lib/commands/changelog.js +389 -0
  28. package/lib/commands/completion.js +413 -0
  29. package/lib/commands/config.js +248 -0
  30. package/lib/commands/doctor.js +222 -25
  31. package/lib/commands/help.js +22 -2
  32. package/lib/commands/init.js +171 -2
  33. package/lib/commands/open.js +188 -0
  34. package/lib/commands/release.js +1007 -0
  35. package/lib/commands/restore.js +150 -0
  36. package/lib/commands/stats.js +320 -0
  37. package/lib/commands/uninstall.js +98 -4
  38. package/lib/commands/upgrade.js +102 -10
  39. package/lib/commands/version.js +140 -0
  40. package/package.json +1 -1
@@ -2,9 +2,23 @@
2
2
 
3
3
  This project uses ProAgents workflow framework.
4
4
 
5
- ## CRITICAL: Auto-Log Every Code Change
5
+ ## ⚠️ MANDATORY: Every pa: Command Flow
6
6
 
7
- **After EVERY file edit, IMMEDIATELY update these files (no user prompt needed):**
7
+ ### BEFORE Any pa: Command (Auto-Sync)
8
+
9
+ **Read these files FIRST before doing anything:**
10
+
11
+ ```bash
12
+ cat .proagents/worklog/_context.md # Current state
13
+ cat .proagents/changelog/_recent.md # Recent changes
14
+ tail -10 .proagents/activity.log # Recent activity
15
+ ```
16
+
17
+ **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
18
+
19
+ ### AFTER Any pa: Command (Auto-Log)
20
+
21
+ **After EVERY file edit, IMMEDIATELY update these files:**
8
22
 
9
23
  1. `.proagents/changelog/_recent.md` - Prepend change summary
10
24
  2. `.proagents/changelog/modules/[module].md` - Based on file path
@@ -0,0 +1,60 @@
1
+ {
2
+ "_template_info": {
3
+ "description": "Template reference for common-patterns.json schema",
4
+ "note": "DO NOT modify this file - it gets updated with ProAgents upgrades",
5
+ "usage": "AI reads this to understand expected schema for common-patterns.json"
6
+ },
7
+
8
+ "$schema": "../schemas/patterns-schema.json",
9
+ "version": "1.0.0",
10
+ "updated_at": "2024-01-15T10:30:00Z",
11
+
12
+ "patterns": {
13
+ "component_patterns": [
14
+ {
15
+ "id": "pattern-id",
16
+ "name": "Pattern Name",
17
+ "frequency": 95,
18
+ "confidence": 0.98,
19
+ "template": "code template with {{placeholders}}"
20
+ }
21
+ ],
22
+ "api_patterns": [],
23
+ "error_handling": [],
24
+ "testing_patterns": []
25
+ },
26
+
27
+ "anti_patterns": [
28
+ {
29
+ "id": "anti-pattern-id",
30
+ "name": "Anti-pattern Name",
31
+ "detected_count": 0,
32
+ "suggestion": "How to fix",
33
+ "auto_suggest": true
34
+ }
35
+ ],
36
+
37
+ "learned_from": {
38
+ "codebase_analysis": 0,
39
+ "user_corrections": 0,
40
+ "explicit_teaching": 0
41
+ },
42
+
43
+ "_schema_notes": {
44
+ "patterns": {
45
+ "component_patterns": "React/Vue/etc component patterns",
46
+ "api_patterns": "API handler patterns",
47
+ "error_handling": "Error handling patterns",
48
+ "testing_patterns": "Test structure patterns"
49
+ },
50
+ "pattern_fields": {
51
+ "id": "Unique identifier",
52
+ "name": "Human-readable name",
53
+ "frequency": "How often used (0-100)",
54
+ "confidence": "AI confidence (0-1)",
55
+ "template": "Code template with {{placeholders}}"
56
+ },
57
+ "anti_patterns": "Patterns to avoid",
58
+ "learned_from": "Source of learning data"
59
+ }
60
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "_template_info": {
3
+ "description": "Template reference for user-preferences.json schema",
4
+ "note": "DO NOT modify this file - it gets updated with ProAgents upgrades",
5
+ "usage": "AI reads this to understand expected schema for user-preferences.json"
6
+ },
7
+
8
+ "$schema": "../schemas/user-preferences-schema.json",
9
+ "version": "1.0.0",
10
+ "updated_at": "2024-01-15T10:30:00Z",
11
+
12
+ "checkpoint_preferences": {
13
+ "usually_skips": ["after_requirements", "after_documentation"],
14
+ "always_reviews": ["after_design", "before_deployment"],
15
+ "auto_approve_conditions": [
16
+ {
17
+ "checkpoint": "after_analysis",
18
+ "condition": "files_changed < 5",
19
+ "confidence": 0.85
20
+ }
21
+ ]
22
+ },
23
+
24
+ "workflow_preferences": {
25
+ "preferred_mode": "full",
26
+ "skip_phases_for_bug_fixes": ["design", "documentation"],
27
+ "detail_level": "high",
28
+ "verbosity": "moderate"
29
+ },
30
+
31
+ "code_preferences": {
32
+ "naming_style": {
33
+ "components": "PascalCase",
34
+ "functions": "camelCase",
35
+ "constants": "UPPER_SNAKE_CASE",
36
+ "files": "kebab-case"
37
+ },
38
+ "formatting": {
39
+ "indent": 2,
40
+ "quotes": "single",
41
+ "semicolons": true,
42
+ "trailing_commas": "es5"
43
+ },
44
+ "patterns": {
45
+ "state_management": "zustand",
46
+ "data_fetching": "react-query",
47
+ "styling": "tailwind"
48
+ }
49
+ },
50
+
51
+ "review_preferences": {
52
+ "focus_areas": ["security", "performance", "accessibility"],
53
+ "thoroughness": "high",
54
+ "comment_style": "inline"
55
+ },
56
+
57
+ "notification_preferences": {
58
+ "on_checkpoint": true,
59
+ "on_completion": true,
60
+ "on_error": true,
61
+ "channels": ["terminal"]
62
+ },
63
+
64
+ "learning_consent": {
65
+ "track_corrections": true,
66
+ "track_patterns": true,
67
+ "share_anonymized": false
68
+ },
69
+
70
+ "_schema_notes": {
71
+ "checkpoint_preferences": "User's checkpoint review preferences",
72
+ "workflow_preferences": "How user prefers to work",
73
+ "code_preferences": "Coding style and patterns",
74
+ "review_preferences": "Code review settings",
75
+ "notification_preferences": "When to notify",
76
+ "learning_consent": "Privacy settings for learning"
77
+ }
78
+ }
@@ -2,9 +2,23 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## CRITICAL: Auto-Log Every Code Change
5
+ ## ⚠️ MANDATORY: Every pa: Command Flow
6
6
 
7
- **After EVERY file edit, IMMEDIATELY update these files (no user prompt needed):**
7
+ ### BEFORE Any pa: Command (Auto-Sync)
8
+
9
+ **Read these files FIRST before doing anything:**
10
+
11
+ ```bash
12
+ cat .proagents/worklog/_context.md # Current state
13
+ cat .proagents/changelog/_recent.md # Recent changes
14
+ tail -10 .proagents/activity.log # Recent activity
15
+ ```
16
+
17
+ **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
18
+
19
+ ### AFTER Any pa: Command (Auto-Log)
20
+
21
+ **After EVERY file edit, IMMEDIATELY update these files:**
8
22
 
9
23
  1. `.proagents/changelog/_recent.md` - Prepend change summary
10
24
  2. `.proagents/changelog/modules/[module].md` - Based on file path
@@ -0,0 +1,55 @@
1
+ # ProAgents Commands for Codex
2
+
3
+ This project uses ProAgents - an AI-agnostic development workflow framework.
4
+
5
+ ## MANDATORY: Every pa: Command Flow
6
+
7
+ ### BEFORE Any pa: Command (Auto-Sync)
8
+
9
+ **Read these files FIRST before doing anything:**
10
+
11
+ ```bash
12
+ cat .proagents/worklog/_context.md # Current state
13
+ cat .proagents/changelog/_recent.md # Recent changes
14
+ tail -10 .proagents/activity.log # Recent activity
15
+ ```
16
+
17
+ **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
18
+
19
+ ### AFTER Any pa: Command (Auto-Log)
20
+
21
+ **After EVERY file edit, IMMEDIATELY update these files:**
22
+
23
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
+ 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
+ 3. `.proagents/worklog/_context.md` - Update current state
26
+
27
+ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
28
+
29
+ ## Essential Commands
30
+
31
+ | Command | Action |
32
+ |---------|--------|
33
+ | `pa:feature "name"` | Start new feature workflow |
34
+ | `pa:fix "bug"` | Quick bug fix mode |
35
+ | `pa:doc` | Documentation options |
36
+ | `pa:qa` | Quality assurance checks |
37
+ | `pa:test` | Run test workflow |
38
+ | `pa:deploy` | Deployment preparation |
39
+ | `pa:status` | Show current progress |
40
+
41
+ ## Full Command Reference
42
+
43
+ For complete command list, see: `./.proagents/AI_INSTRUCTIONS.md`
44
+
45
+ ## On `pa:` Command
46
+
47
+ 1. Read the corresponding file from `./.proagents/prompts/` or `./.proagents/workflow-modes/`
48
+ 2. Follow the workflow instructions
49
+ 3. Use project config from `./.proagents/proagents.config.yaml`
50
+
51
+ ## Key Files
52
+
53
+ - `./.proagents/AI_INSTRUCTIONS.md` - Complete command reference
54
+ - `./.proagents/WORKFLOW.md` - Full 10-phase workflow
55
+ - `./.proagents/prompts/` - Phase-specific prompts