prjct-cli 0.15.0 → 0.15.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 +16 -0
- package/package.json +1 -1
- package/templates/commands/setup.md +18 -3
- package/templates/mcp-config.json +20 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.15.1] - 2025-12-15
|
|
4
|
+
|
|
5
|
+
### MCP Setup Documentation
|
|
6
|
+
|
|
7
|
+
Enhanced setup template with MCP server installation documentation.
|
|
8
|
+
|
|
9
|
+
- **Setup Template Updates**
|
|
10
|
+
- Added MCP server installation step documentation
|
|
11
|
+
- Context7 library documentation lookup integration
|
|
12
|
+
- Updated success output examples
|
|
13
|
+
|
|
14
|
+
- **MCP Config Enhancements**
|
|
15
|
+
- Added description field for Context7 server
|
|
16
|
+
- Added usage guidelines with when/tools/examples
|
|
17
|
+
- Better documentation for resolve-library-id and get-library-docs
|
|
18
|
+
|
|
3
19
|
## [0.15.0] - 2025-12-15
|
|
4
20
|
|
|
5
21
|
### Template Optimization - Aggressive Consolidation
|
package/package.json
CHANGED
|
@@ -20,13 +20,21 @@ Reconfigures prjct-cli installation for Claude Code and Claude Desktop.
|
|
|
20
20
|
- Updates existing commands with latest templates
|
|
21
21
|
- Removes orphaned/deprecated commands
|
|
22
22
|
|
|
23
|
-
3. **Installs
|
|
23
|
+
3. **Installs MCP Servers**
|
|
24
|
+
- Reads `templates/mcp-config.json` for MCP server definitions
|
|
25
|
+
- Merges into `~/.claude/settings.json` (preserves existing settings)
|
|
26
|
+
- Installs Context7 for library documentation lookup
|
|
27
|
+
- Does NOT overwrite existing MCP configurations
|
|
28
|
+
|
|
29
|
+
4. **Installs/Updates Global Configuration**
|
|
24
30
|
- Creates or updates `~/.claude/CLAUDE.md`
|
|
25
31
|
- Adds prjct-specific instructions for Claude
|
|
32
|
+
- Adds Context7 usage instructions
|
|
26
33
|
- Preserves existing user configuration
|
|
27
34
|
|
|
28
|
-
|
|
35
|
+
5. **Reports Results**
|
|
29
36
|
- Shows commands added, updated, removed
|
|
37
|
+
- Shows MCP servers installed
|
|
30
38
|
- Displays any errors encountered
|
|
31
39
|
- Confirms successful installation
|
|
32
40
|
|
|
@@ -52,12 +60,19 @@ Reconfigures prjct-cli installation for Claude Code and Claude Desktop.
|
|
|
52
60
|
🔧 Reconfiguring prjct...
|
|
53
61
|
|
|
54
62
|
📦 Installing /p:* commands...
|
|
55
|
-
✓ 3
|
|
63
|
+
✓ 3 new, 12 updated, 1 removed
|
|
64
|
+
|
|
65
|
+
🔌 Installing MCP servers...
|
|
66
|
+
✓ context7 (library documentation)
|
|
56
67
|
|
|
57
68
|
📝 Installing global configuration...
|
|
58
69
|
✓ Updated ~/.claude/CLAUDE.md
|
|
70
|
+
✓ Updated ~/.claude/settings.json
|
|
59
71
|
|
|
60
72
|
✅ Setup complete!
|
|
73
|
+
|
|
74
|
+
MCP Tools Available:
|
|
75
|
+
• context7: resolve-library-id, get-library-docs
|
|
61
76
|
```
|
|
62
77
|
|
|
63
78
|
## Error Handling
|
|
@@ -2,7 +2,26 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"context7": {
|
|
4
4
|
"command": "npx",
|
|
5
|
-
"args": ["-y", "@upstash/context7-mcp@latest"]
|
|
5
|
+
"args": ["-y", "@upstash/context7-mcp@latest"],
|
|
6
|
+
"description": "Library documentation lookup - use for framework/library docs"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"usage": {
|
|
10
|
+
"context7": {
|
|
11
|
+
"when": [
|
|
12
|
+
"Looking up official documentation for any library/framework",
|
|
13
|
+
"Implementing features using specific libraries (React, Next.js, etc)",
|
|
14
|
+
"Checking API references and best practices",
|
|
15
|
+
"Troubleshooting library-specific issues"
|
|
16
|
+
],
|
|
17
|
+
"tools": [
|
|
18
|
+
"resolve-library-id: Find library ID from name (e.g., 'react' → '/facebook/react')",
|
|
19
|
+
"get-library-docs: Fetch documentation for a library ID"
|
|
20
|
+
],
|
|
21
|
+
"examples": [
|
|
22
|
+
"resolve-library-id('nextjs') → get-library-docs('/vercel/next.js', 'app router')",
|
|
23
|
+
"resolve-library-id('tailwindcss') → get-library-docs('/tailwindlabs/tailwindcss', 'configuration')"
|
|
24
|
+
]
|
|
6
25
|
}
|
|
7
26
|
}
|
|
8
27
|
}
|