prjct-cli 0.35.4 → 0.37.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/CHANGELOG.md +84 -0
- package/README.md +64 -618
- package/bin/prjct.ts +128 -17
- package/core/agentic/template-executor.ts +14 -4
- package/core/cli/start.ts +397 -0
- package/core/commands/analysis.ts +6 -3
- package/core/commands/setup.ts +27 -17
- package/core/index.ts +101 -35
- package/core/infrastructure/ai-provider.ts +414 -0
- package/core/infrastructure/command-installer.ts +119 -42
- package/core/infrastructure/editors-config.ts +20 -6
- package/core/infrastructure/path-manager.ts +18 -9
- package/core/infrastructure/setup.ts +356 -62
- package/core/services/skill-service.ts +52 -16
- package/core/types/index.ts +12 -0
- package/core/types/provider.ts +134 -0
- package/core/utils/branding.ts +20 -3
- package/dist/bin/prjct.mjs +1482 -2763
- package/dist/core/infrastructure/command-installer.js +33 -2
- package/dist/core/infrastructure/editors-config.js +13 -3
- package/dist/core/infrastructure/setup.js +293 -73
- package/package.json +9 -9
- package/scripts/postinstall.js +17 -119
- package/templates/_bases/tracker-base.md +7 -5
- package/templates/agents/AGENTS.md +9 -1
- package/templates/commands/github.md +7 -5
- package/templates/commands/init.md +16 -0
- package/templates/commands/jira.md +8 -6
- package/templates/commands/linear.md +8 -6
- package/templates/commands/monday.md +8 -6
- package/templates/commands/p.md +1 -1
- package/templates/commands/p.toml +37 -0
- package/templates/commands/sync.md +11 -1
- package/templates/cursor/p.md +29 -0
- package/templates/cursor/router.mdc +28 -0
- package/templates/global/CLAUDE.md +33 -1
- package/templates/global/CURSOR.mdc +233 -0
- package/templates/global/GEMINI.md +265 -0
- package/templates/global/STORAGE-SPEC.md +256 -0
- package/templates/global/docs/agents.md +88 -0
- package/templates/global/docs/architecture.md +103 -0
- package/templates/global/docs/commands.md +96 -0
- package/templates/global/docs/validation.md +95 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,89 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.37.0] - 2026-01-24
|
|
4
|
+
|
|
5
|
+
### Feature: Cursor IDE Support (PRJ-63)
|
|
6
|
+
|
|
7
|
+
prjct now works with **Cursor IDE** in addition to Claude Code and Gemini CLI. Use any AI model Cursor supports (GPT-4, Claude, Gemini, DeepSeek, etc.).
|
|
8
|
+
|
|
9
|
+
**Key Insight:** Cursor has NO global config directory. Unlike Claude/Gemini which use `~/.claude/` and `~/.gemini/`, Cursor uses project-level config in `.cursor/`.
|
|
10
|
+
|
|
11
|
+
**Solution: Minimal Router Pattern**
|
|
12
|
+
- Router files are minimal (~15 lines), point to npm package for real instructions
|
|
13
|
+
- If deleted, `p. sync` regenerates them automatically
|
|
14
|
+
- Added to `.gitignore` - each developer regenerates their own
|
|
15
|
+
|
|
16
|
+
**New Files:**
|
|
17
|
+
- `templates/global/CURSOR.mdc` - Full prjct instructions for Cursor
|
|
18
|
+
- `templates/cursor/router.mdc` - Minimal router (installed in projects)
|
|
19
|
+
- `templates/cursor/p.md` - Command router for `p. <command>`
|
|
20
|
+
|
|
21
|
+
**Modified:**
|
|
22
|
+
- `core/types/provider.ts` - Added 'cursor' to AIProviderName
|
|
23
|
+
- `core/infrastructure/ai-provider.ts` - Added CursorProvider, detectCursorProject()
|
|
24
|
+
- `core/infrastructure/setup.ts` - Added installCursorProject(), hasCursorProject()
|
|
25
|
+
- `templates/commands/init.md` - Cursor detection and setup
|
|
26
|
+
- `templates/commands/sync.md` - Cursor router regeneration
|
|
27
|
+
- `bin/prjct.ts` - Cursor status in --version output
|
|
28
|
+
- `README.md` - Added Cursor to supported platforms
|
|
29
|
+
|
|
30
|
+
**Architecture:**
|
|
31
|
+
```
|
|
32
|
+
Claude/Gemini (CLI) Cursor (GUI)
|
|
33
|
+
~/.claude/CLAUDE.md .cursor/rules/prjct.mdc (router)
|
|
34
|
+
~/.gemini/GEMINI.md ↓
|
|
35
|
+
↓ npm/prjct-cli/templates/global/CURSOR.mdc
|
|
36
|
+
Global config ↓
|
|
37
|
+
└──────────────────────────┘
|
|
38
|
+
↓
|
|
39
|
+
~/.prjct-cli/projects/{id}/ (shared storage)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## [0.36.1] - 2026-01-23
|
|
45
|
+
|
|
46
|
+
### Docs: Minimal README
|
|
47
|
+
|
|
48
|
+
Rewrote README from 645 lines to 100 lines. Clean, minimal, multi-platform focused.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## [0.36.0] - 2026-01-23
|
|
53
|
+
|
|
54
|
+
### Feature: Dual Platform Support - Claude + Gemini (PRJ-62)
|
|
55
|
+
|
|
56
|
+
prjct now works with **both Claude Code and Gemini CLI** simultaneously. Use prjct with whichever AI coding agent you prefer.
|
|
57
|
+
|
|
58
|
+
**New Branding:**
|
|
59
|
+
- Tagline: "Context layer for AI agents"
|
|
60
|
+
- Works with Claude Code, Gemini CLI, and more
|
|
61
|
+
|
|
62
|
+
**Dual Provider Support:**
|
|
63
|
+
- Auto-detect installed providers (Claude, Gemini, or both)
|
|
64
|
+
- `prjct start` - Interactive setup for provider configuration
|
|
65
|
+
- Install routers to both `~/.claude/commands/p.md` and `~/.gemini/commands/p.toml`
|
|
66
|
+
- Shared storage format for cross-agent compatibility
|
|
67
|
+
|
|
68
|
+
**New Files:**
|
|
69
|
+
- `templates/global/GEMINI.md` - Gemini CLI global instructions
|
|
70
|
+
- `templates/commands/p.toml` - Gemini CLI router
|
|
71
|
+
- `templates/global/STORAGE-SPEC.md` - Canonical storage specification
|
|
72
|
+
- `core/infrastructure/ai-provider.ts` - Multi-provider detection
|
|
73
|
+
- `core/cli/start.ts` - Beautiful interactive setup UI
|
|
74
|
+
|
|
75
|
+
**Improved CLI:**
|
|
76
|
+
- `prjct --version` - Shows provider status with versions
|
|
77
|
+
- `prjct --help` - Actually useful help with quick start guide
|
|
78
|
+
- `prjct start` - Gorgeous ASCII art welcome screen
|
|
79
|
+
|
|
80
|
+
**Storage Compatibility:**
|
|
81
|
+
- Cross-agent JSON formatting rules
|
|
82
|
+
- Identical storage output from Claude and Gemini
|
|
83
|
+
- Ready for future remote sync to prjct.app
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
3
87
|
## [0.35.2] - 2026-01-17
|
|
4
88
|
|
|
5
89
|
### Fix: CLI Workflow Now Uses CommandExecutor
|