vaspera-pm 2.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2025 Vaspera Capital
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,228 @@
1
+ # VasperaPM
2
+
3
+ <div align="center">
4
+
5
+ ```
6
+ ╔═══════════════════════════════════════════════════════════════╗
7
+ ║ ║
8
+ ║ ██╗ ██╗ █████╗ ███████╗██████╗ ███████╗██████╗ █████╗ ║
9
+ ║ ██║ ██║██╔══██╗██╔════╝██╔══██╗██╔════╝██╔══██╗██╔══██╗ ║
10
+ ║ ██║ ██║███████║███████╗██████╔╝█████╗ ██████╔╝███████║ ║
11
+ ║ ╚██╗ ██╔╝██╔══██║╚════██║██╔═══╝ ██╔══╝ ██╔══██╗██╔══██║ ║
12
+ ║ ╚████╔╝ ██║ ██║███████║██║ ███████╗██║ ██║██║ ██║ ║
13
+ ║ ╚═══╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ║
14
+ ║ ║
15
+ ║ AI-Powered Product Management ║
16
+ ║ ║
17
+ ╚═══════════════════════════════════════════════════════════════╝
18
+ ```
19
+
20
+ **Transform your ideas into production-ready specs with AI**
21
+
22
+ [![npm version](https://img.shields.io/npm/v/vaspera-pm.svg)](https://www.npmjs.com/package/vaspera-pm)
23
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
24
+
25
+ </div>
26
+
27
+ ---
28
+
29
+ ## What is VasperaPM?
30
+
31
+ VasperaPM is an MCP (Model Context Protocol) server that brings AI-powered product management tools directly into Claude Code. Generate PRDs, API specs, test cases, and sync with your favorite PM tools - all from your IDE.
32
+
33
+ ### Key Features
34
+
35
+ - **Generate PRDs** - Create comprehensive Product Requirements Documents from context
36
+ - **Infer from Code** - Analyze existing codebases to generate documentation
37
+ - **Generate Code** - Turn PRDs into implementation code
38
+ - **API Specs** - Auto-generate OpenAPI/Swagger specifications
39
+ - **Test Cases** - Create detailed test plans and acceptance criteria
40
+ - **PM Tool Sync** - Export to Jira, Linear, and GitHub
41
+
42
+ ---
43
+
44
+ ## Quick Start (Zero Friction)
45
+
46
+ ### Option 1: Use npx (Recommended - No Install)
47
+
48
+ ```bash
49
+ # One command - that's it!
50
+ npx vaspera-pm analyze .
51
+
52
+ # Or with your Anthropic API key
53
+ ANTHROPIC_API_KEY=sk-ant-xxx npx vaspera-pm analyze .
54
+ ```
55
+
56
+ ### Option 2: Global Install
57
+
58
+ ```bash
59
+ # Install once
60
+ npm install -g vaspera-pm
61
+
62
+ # Use anywhere
63
+ vaspera-pm analyze .
64
+ ```
65
+
66
+ ### Option 3: Claude Code Integration
67
+
68
+ ```bash
69
+ # Set up MCP server for Claude Code
70
+ npx vaspera-pm install
71
+
72
+ # Restart VSCode/Claude Code, then try:
73
+ # "Generate a PRD for a user authentication system"
74
+ # "Analyze this codebase and create a PRD"
75
+ ```
76
+
77
+ ---
78
+
79
+ ## Commands
80
+
81
+ | Command | Description |
82
+ |---------|-------------|
83
+ | `vaspera-pm analyze <path>` | Full analysis: discover → analyze → verify → output |
84
+ | `vaspera-pm verify <path>` | Quick verification check (for CI/CD) |
85
+ | `vaspera-pm discover <path>` | Discovery only (no AI, no API key needed) |
86
+ | `vaspera-pm init` | Initialize VasperaPM in a project |
87
+ | `vaspera-pm install` | Configure MCP server for Claude Code |
88
+ | `vaspera-pm serve` | Start the MCP server (used by Claude Code) |
89
+ | `vaspera-pm status` | Check your current configuration |
90
+
91
+ ---
92
+
93
+ ## Available Tools (29 Total)
94
+
95
+ Once installed, these tools are available in Claude Code:
96
+
97
+ ### Requirements & PRDs
98
+ | Tool | Description |
99
+ |------|-------------|
100
+ | `synthesize_requirements` | Extract requirements from meeting notes, emails, specs |
101
+ | `synthesize_master_prd` | Create unified PRD from multiple sources |
102
+ | `infer_prd_from_code` | Reverse-engineer PRD from existing code |
103
+ | `review_prd` | Quality review with completeness scoring |
104
+ | `explode_backlog` | Break features into sprint-ready stories |
105
+
106
+ ### Code Analysis
107
+ | Tool | Description |
108
+ |------|-------------|
109
+ | `explain_codebase` | Generate onboarding documentation |
110
+ | `reverse_engineer_user_flows` | Extract user journeys from code |
111
+ | `validate_implementation` | Verify code matches requirements |
112
+ | `suggest_refactors` | Identify tech debt and improvements |
113
+
114
+ ### Architecture & Specs
115
+ | Tool | Description |
116
+ |------|-------------|
117
+ | `generate_architecture` | Create system design from requirements |
118
+ | `generate_api_docs` | Auto-generate OpenAPI specifications |
119
+ | `generate_test_specs` | Create comprehensive test plans |
120
+ | `handoff_package` | Generate developer handoff documentation |
121
+
122
+ ### Verification & Drift Detection
123
+ | Tool | Description |
124
+ |------|-------------|
125
+ | `verify_docs_code` | Detect documentation vs code drift |
126
+ | `analyze_git_freshness` | Find stale documentation |
127
+ | `dependency_audit` | Security and update checks |
128
+
129
+ ### Export & Integration
130
+ | Tool | Description |
131
+ |------|-------------|
132
+ | `sync_to_tracker` | Export to Jira, Linear, GitHub, ADO |
133
+ | `export_requirements` | Generate portable requirement formats |
134
+ | `generate_complete_backlog` | Full sprint backlog generation |
135
+
136
+ ### DevOps & Traceability
137
+ | Tool | Description |
138
+ |------|-------------|
139
+ | `generate_deployment_runbook` | Create deployment documentation |
140
+ | `generate_changelog` | Auto-generate release notes |
141
+ | `detect_regressions` | Find breaking changes |
142
+ | `generate_sprint_report` | Sprint summary and metrics |
143
+
144
+ ### Pipeline Automation
145
+ | Tool | Description |
146
+ |------|-------------|
147
+ | `run_pipeline` | Orchestrate multi-tool workflows |
148
+
149
+ ---
150
+
151
+ ## API Keys
152
+
153
+ ### Local Mode (Zero Friction)
154
+
155
+ Just use your own Anthropic API key - no account needed:
156
+
157
+ ```bash
158
+ export ANTHROPIC_API_KEY=sk-ant-xxx
159
+ npx vaspera-pm analyze .
160
+ ```
161
+
162
+ Features:
163
+ - All 29 tools work locally
164
+ - Output saved to `docs/vasperaPM/`
165
+ - No account required
166
+ - Works in air-gapped environments
167
+
168
+ ### Cloud Mode (Team Features)
169
+
170
+ Get a VasperaPM API key at [vasperapm.com/dashboard](https://vasperapm.com/dashboard) for:
171
+
172
+ - Team collaboration & sharing
173
+ - Usage analytics & billing
174
+ - Jira/Linear/GitHub integrations
175
+ - Historical drift tracking
176
+ - Webhook notifications
177
+
178
+ ```bash
179
+ npx vaspera-pm connect # Link your account
180
+ ```
181
+
182
+ ---
183
+
184
+ ## Configuration
185
+
186
+ VasperaPM uses sensible defaults - no configuration required.
187
+
188
+ Optional configuration locations:
189
+ - `~/.vasperapm/config.json` - Your settings and cloud API key
190
+ - `~/.claude/claude_desktop_config.json` - Claude Code MCP integration
191
+ - `ANTHROPIC_API_KEY` - Environment variable for local mode
192
+
193
+ ---
194
+
195
+ ## Integrations
196
+
197
+ Connect your PM tools at [vasperapm.com/dashboard/integrations](https://vasperapm.com/dashboard/integrations):
198
+
199
+ - **Jira** - Sync PRDs to epics and stories
200
+ - **Linear** - Export tasks to Linear projects
201
+ - **GitHub** - Create issues and track progress
202
+
203
+ ---
204
+
205
+ ## Requirements
206
+
207
+ - Node.js 20+
208
+ - Claude Code (VSCode extension or CLI)
209
+
210
+ ---
211
+
212
+ ## Support
213
+
214
+ - **Documentation**: [github.com/rcolkitt/VasperaPM](https://github.com/rcolkitt/VasperaPM)
215
+ - **Issues**: [github.com/rcolkitt/VasperaPM/issues](https://github.com/rcolkitt/VasperaPM/issues)
216
+ - **Dashboard**: [vasperapm.com/dashboard](https://vasperapm.com/dashboard)
217
+
218
+ ---
219
+
220
+ ## License
221
+
222
+ MIT License - see [LICENSE](LICENSE) for details.
223
+
224
+ ---
225
+
226
+ <div align="center">
227
+ Made with by <a href="https://github.com/rcolkitt">@rcolkitt</a>
228
+ </div>
package/dist/cli.d.ts ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node