@voodocs/cli 0.2.0 → 0.3.1
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 +93 -0
- package/README.md +22 -1
- package/cli.py +1 -1
- package/lib/darkarts/context/ai_instructions.py +734 -0
- package/lib/darkarts/context/ai_integrations.py +619 -0
- package/lib/darkarts/context/commands.py +85 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,96 @@
|
|
|
1
|
+
## [0.3.1] - 2025-12-20
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Improved AI selection prompt handling in `voodocs context init`
|
|
5
|
+
- Changed prompt text from '[6 for all]' to '[default: 6]' for clarity
|
|
6
|
+
- Added EOFError and KeyboardInterrupt handling for graceful abort
|
|
7
|
+
- Added sys.stdout.flush() to ensure prompt displays immediately
|
|
8
|
+
- Better error messages for invalid input
|
|
9
|
+
|
|
10
|
+
This patch fixes the hanging issue some users experienced at the AI selection prompt.
|
|
11
|
+
|
|
12
|
+
## [0.3.0] - 2025-12-20
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
#### AI-Aware Integration System
|
|
17
|
+
|
|
18
|
+
**Native AI Assistant Integration**
|
|
19
|
+
- Auto-detects existing AI configurations (Claude, Cursor, Copilot, Gemini, Junie)
|
|
20
|
+
- Interactive menu for selecting AI assistant(s) during `voodocs context init`
|
|
21
|
+
- Generates native configuration files for each AI assistant
|
|
22
|
+
- Supports 5+ AI assistants with more coming
|
|
23
|
+
|
|
24
|
+
**Supported AI Assistants:**
|
|
25
|
+
1. **Claude Code** - Generates `.claude/skills/voodocs-context/SKILL.md` (2,341 chars)
|
|
26
|
+
- Full skill with YAML frontmatter
|
|
27
|
+
- On-demand context loading
|
|
28
|
+
- Executable scripts support
|
|
29
|
+
|
|
30
|
+
2. **Cursor** - Generates `.cursor/rules/voodocs-context.mdc` (2,560 chars)
|
|
31
|
+
- Comprehensive rules file
|
|
32
|
+
- Context system commands
|
|
33
|
+
- Workflow best practices
|
|
34
|
+
|
|
35
|
+
3. **GitHub Copilot** - Generates `.github/copilot-instructions.md` (1,981 chars)
|
|
36
|
+
- Project-specific instructions
|
|
37
|
+
- Context integration guide
|
|
38
|
+
- Annotation format examples
|
|
39
|
+
|
|
40
|
+
4. **Windsurf** - Generates `.windsurfrules` (1,180 chars)
|
|
41
|
+
- Concise rules format
|
|
42
|
+
- Essential commands
|
|
43
|
+
- Quick reference
|
|
44
|
+
|
|
45
|
+
5. **Cline** - Generates `.clinerules` (806 chars)
|
|
46
|
+
- Minimal configuration
|
|
47
|
+
- Core workflow
|
|
48
|
+
- Context basics
|
|
49
|
+
|
|
50
|
+
**Integration Features:**
|
|
51
|
+
- Context system overview and commands
|
|
52
|
+
- @voodocs annotation format (Python & TypeScript)
|
|
53
|
+
- Development workflow best practices
|
|
54
|
+
- Invariant checking instructions
|
|
55
|
+
- Architecture diagram generation
|
|
56
|
+
- AI-specific guidance and tips
|
|
57
|
+
|
|
58
|
+
**User Experience:**
|
|
59
|
+
- ✓ markers show detected AI configurations
|
|
60
|
+
- Numbered menu for easy selection
|
|
61
|
+
- Creates parent directories automatically
|
|
62
|
+
- Handles existing files with overwrite prompt
|
|
63
|
+
- Default: generate all integrations
|
|
64
|
+
- Can select individual AIs or all at once
|
|
65
|
+
|
|
66
|
+
**Technical Implementation:**
|
|
67
|
+
- New module: `ai_integrations.py` (685 lines)
|
|
68
|
+
- Detection: `detect_ai_assistants()` function
|
|
69
|
+
- Generation: AI-specific template functions
|
|
70
|
+
- Integration: Updated `cmd_context_init()` command
|
|
71
|
+
|
|
72
|
+
### Changed
|
|
73
|
+
- Enhanced `voodocs context init` with AI assistant detection and integration
|
|
74
|
+
- Improved user prompts with visual markers for detected configurations
|
|
75
|
+
- Updated next steps to include AI-specific guidance
|
|
76
|
+
|
|
77
|
+
### Documentation
|
|
78
|
+
- Added AI integration research notes
|
|
79
|
+
- Created comprehensive AI integration summary
|
|
80
|
+
- Documented all supported AI assistant formats
|
|
81
|
+
|
|
82
|
+
### Impact
|
|
83
|
+
|
|
84
|
+
This release makes VooDocs **truly AI-native**, working seamlessly with any AI assistant. The context system becomes the single source of truth that all AIs understand and respect.
|
|
85
|
+
|
|
86
|
+
**Key Benefits:**
|
|
87
|
+
- One command sets up everything
|
|
88
|
+
- Works with any AI assistant
|
|
89
|
+
- Native format for each AI
|
|
90
|
+
- No manual configuration needed
|
|
91
|
+
- Consistent AI behavior across teams
|
|
92
|
+
- Context-aware development
|
|
93
|
+
|
|
1
94
|
## [0.2.0] - 2025-12-19
|
|
2
95
|
|
|
3
96
|
### Added
|
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ voodocs generate ./src --tests-only
|
|
|
90
90
|
- `voodocs generate <path>`: Generate docs, tests, and API specs from annotations
|
|
91
91
|
- `voodocs status`: Check project status and statistics
|
|
92
92
|
|
|
93
|
-
### Context System (
|
|
93
|
+
### Context System (Enhanced in v0.3.0)
|
|
94
94
|
- `voodocs context init`: Initialize project context file
|
|
95
95
|
- `voodocs context generate`: Auto-generate context from code annotations
|
|
96
96
|
- `voodocs context check`: Validate code against documented invariants
|
|
@@ -99,6 +99,27 @@ voodocs generate ./src --tests-only
|
|
|
99
99
|
- `voodocs context query`: Query context like a database
|
|
100
100
|
- `voodocs context view`: View context as Markdown
|
|
101
101
|
|
|
102
|
+
### AI Integration (NEW in v0.3.0)
|
|
103
|
+
|
|
104
|
+
VooDocs now **natively integrates** with 5+ AI assistants! When you run `voodocs context init`, it automatically:
|
|
105
|
+
- Detects existing AI configurations (Claude, Cursor, Copilot, etc.)
|
|
106
|
+
- Prompts you to select your AI assistant(s)
|
|
107
|
+
- Generates native configuration files for each AI
|
|
108
|
+
|
|
109
|
+
**Supported AI Assistants:**
|
|
110
|
+
- **Claude Code** - `.claude/skills/voodocs-context/SKILL.md`
|
|
111
|
+
- **Cursor** - `.cursor/rules/voodocs-context.mdc`
|
|
112
|
+
- **GitHub Copilot** - `.github/copilot-instructions.md`
|
|
113
|
+
- **Windsurf** - `.windsurfrules`
|
|
114
|
+
- **Cline** - `.clinerules`
|
|
115
|
+
|
|
116
|
+
Your AI will automatically understand the VooDocs context system and:
|
|
117
|
+
- Check context before making changes
|
|
118
|
+
- Respect documented invariants
|
|
119
|
+
- Update context when adding features
|
|
120
|
+
- Generate architecture diagrams
|
|
121
|
+
- Follow best practices
|
|
122
|
+
|
|
102
123
|
## The DarkArts Language
|
|
103
124
|
|
|
104
125
|
Voodocs uses the **DarkArts language** - a mathematical and logical notation system that represents how AI naturally thinks about code. Instead of forcing AI to write verbose human documentation, Voodocs lets AI express concepts precisely using:
|
package/cli.py
CHANGED
|
@@ -137,7 +137,7 @@ Documentation: https://github.com/3vilEnterprises/vooodooo-magic/tree/main/packa
|
|
|
137
137
|
parser.add_argument(
|
|
138
138
|
"--version",
|
|
139
139
|
action="version",
|
|
140
|
-
version="VooDocs 0.
|
|
140
|
+
version="VooDocs 0.3.1"
|
|
141
141
|
)
|
|
142
142
|
|
|
143
143
|
subparsers = parser.add_subparsers(dest="command", help="Available commands")
|