prjct-cli 1.25.0 → 1.26.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 +57 -1
- package/dist/bin/prjct-core.mjs +368 -364
- package/dist/daemon/entry.mjs +349 -345
- package/dist/templates.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,68 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.26.0] - 2026-02-11
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- kill JSON I/O + skill-on-demand --md architecture (PRJ-303) (#173)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.27.0] - 2026-02-11
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **`--md` flag on all CLI commands**: New LLM-optimized markdown output mode for all commands (`prjct task --md`, `prjct done --md`, `prjct sync --md`, etc.). Produces clean markdown with task context, relevant files, subtasks, and next steps — designed for agent consumption.
|
|
15
|
+
- **Ultra-thin templates**: All 36 command templates reduced from 6,066 → ~600 total lines (~90% reduction). Fast commands are ~10 lines, smart commands ~30 lines. Templates delegate data/formatting to CLI `--md` output, preserving agentic intelligence (exploration, planning, clarification).
|
|
16
|
+
- **Ultra-thin global instructions**: CLAUDE.md reduced from 488 → 16 lines (~97% reduction). GEMINI.md, WINDSURF.md, ANTIGRAVITY.md, CURSOR.mdc similarly reduced. Zero wasted context tokens.
|
|
17
|
+
- **New `md-formatter.ts` utility**: Shared markdown formatting functions (`mdTaskHeader`, `mdSubtasks`, `mdRelevantFiles`, `mdInstructions`, `mdNextSteps`, etc.) used by all command groups.
|
|
18
|
+
- **Fix: `task` command registration**: `prjct task` was listed in command-data but had no handler in registry or CLI routing. Now properly registered and routed through both normal CLI and daemon paths.
|
|
19
|
+
|
|
20
|
+
### Changes
|
|
21
|
+
|
|
22
|
+
- 36 command templates rewritten (auth, bug, cleanup, dash, design, done, enrich, git, history, idea, impact, init, jira, learnings, linear, merge, next, pause, plan, prd, resume, review, serve, setup, ship, skill, spec, status, sync, task, test, update, verify, workflow, analyze)
|
|
23
|
+
- 5 global templates rewritten (CLAUDE.md, GEMINI.md, WINDSURF.md, ANTIGRAVITY.md, CURSOR.mdc)
|
|
24
|
+
- 6 CLAUDE.md modules deprecated (CLAUDE-commands, CLAUDE-git, CLAUDE-storage, CLAUDE-intelligence simplified to stubs; CLAUDE-core reduced to 14 lines; module-config.json single profile)
|
|
25
|
+
- `dist/templates.json` reduced from 358 KB → 177.6 KB (~50% reduction)
|
|
26
|
+
- All command groups (workflow, planning, shipping, analytics, analysis) accept `{ md?: boolean }` option
|
|
27
|
+
- Daemon `executeCommand` now has explicit cases for all workflow commands with `--md` passthrough
|
|
28
|
+
- `core/index.ts` standardCommands map passes `md` flag to all handlers
|
|
29
|
+
|
|
30
|
+
### Metrics
|
|
31
|
+
|
|
32
|
+
| Metric | Before | After | Reduction |
|
|
33
|
+
|--------|--------|-------|-----------|
|
|
34
|
+
| CLAUDE.md (always loaded) | 488 lines | 16 lines | 97% |
|
|
35
|
+
| Templates total lines | 6,066 | ~600 | 90% |
|
|
36
|
+
| `dist/templates.json` | 358 KB | 177.6 KB | 50% |
|
|
37
|
+
| Context tokens per session | ~6,500 | ~350 | 95% |
|
|
38
|
+
|
|
39
|
+
## [1.26.1] - 2026-02-10
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
- purge JSON I/O from templates + prjct update command
|
|
43
|
+
|
|
44
|
+
## [1.26.0] - 2026-02-10
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
- **`prjct update` command**: New CLI command that migrates all projects from JSON to SQLite and sweeps leftover JSON files. Supports `--all` (all projects) and `--dry-run` flags.
|
|
49
|
+
- **Template purge — zero JSON I/O**: Rewrote all 49 template files (commands, subagents, global instructions) to use `prjct` CLI commands instead of direct JSON file reads/writes. Templates now delegate all data operations to the CLI, which handles SQLite internally.
|
|
50
|
+
- **Fix performance-tracker date filter**: `getReport(id, 0)` now correctly means "today" instead of "this exact millisecond".
|
|
51
|
+
|
|
52
|
+
### Changes
|
|
53
|
+
|
|
54
|
+
- 27 command templates simplified to use CLI commands (`prjct task`, `prjct done`, `prjct ship`, etc.)
|
|
55
|
+
- 8 global instruction files updated (CLAUDE-core/intelligence/storage, ANTIGRAVITY, GEMINI, CURSOR, WINDSURF, STORAGE-SPEC)
|
|
56
|
+
- 7 subagent/context templates updated (agent-base, orchestrator, planner, shipper, workflow, dashboard, roadmap)
|
|
57
|
+
- New `core/commands/update.ts` with `UpdateCommands` class
|
|
58
|
+
- Registered in command-data, register, index, and commands facade
|
|
59
|
+
|
|
3
60
|
## [1.25.0] - 2026-02-11
|
|
4
61
|
|
|
5
62
|
### Features
|
|
6
63
|
|
|
7
64
|
- kill all JSON file I/O — everything to SQLite (PRJ-303) (#172)
|
|
8
65
|
|
|
9
|
-
|
|
10
66
|
## [1.25.0] - 2026-02-10
|
|
11
67
|
|
|
12
68
|
### Features
|