prjct-cli 1.25.0 → 1.27.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 CHANGED
@@ -1,12 +1,86 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.27.0] - 2026-02-11
4
+
5
+ ### Features
6
+
7
+ - dual-runtime SQLite — bun:sqlite + better-sqlite3 (#174)
8
+
9
+
10
+ ## [1.27.6] - 2026-02-11
11
+
12
+ ### Added
13
+ - Dual-runtime SQLite — bun:sqlite + better-sqlite3 for Node.js compatibility
14
+
15
+ ## [1.27.1] - 2026-02-11
16
+
17
+ ### Removed
18
+ - Dead context generators (`ContextFileGenerator`, legacy `generateContext()`) — no readers existed
19
+ - StorageManager MD write-through (`toMarkdown()`, `getLayer()`, `getMdFilename()`) from base class and 8 subclasses
20
+ - ~1,750 lines of orphaned code; writes are faster (no MD file I/O on state changes)
21
+
22
+ ## [1.26.0] - 2026-02-11
23
+
24
+ ### Features
25
+
26
+ - kill JSON I/O + skill-on-demand --md architecture (PRJ-303) (#173)
27
+
28
+ ## [1.27.0] - 2026-02-11
29
+
30
+ ### Features
31
+
32
+ - **`--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.
33
+ - **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).
34
+ - **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.
35
+ - **New `md-formatter.ts` utility**: Shared markdown formatting functions (`mdTaskHeader`, `mdSubtasks`, `mdRelevantFiles`, `mdInstructions`, `mdNextSteps`, etc.) used by all command groups.
36
+ - **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.
37
+
38
+ ### Changes
39
+
40
+ - 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)
41
+ - 5 global templates rewritten (CLAUDE.md, GEMINI.md, WINDSURF.md, ANTIGRAVITY.md, CURSOR.mdc)
42
+ - 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)
43
+ - `dist/templates.json` reduced from 358 KB → 177.6 KB (~50% reduction)
44
+ - All command groups (workflow, planning, shipping, analytics, analysis) accept `{ md?: boolean }` option
45
+ - Daemon `executeCommand` now has explicit cases for all workflow commands with `--md` passthrough
46
+ - `core/index.ts` standardCommands map passes `md` flag to all handlers
47
+
48
+ ### Metrics
49
+
50
+ | Metric | Before | After | Reduction |
51
+ |--------|--------|-------|-----------|
52
+ | CLAUDE.md (always loaded) | 488 lines | 16 lines | 97% |
53
+ | Templates total lines | 6,066 | ~600 | 90% |
54
+ | `dist/templates.json` | 358 KB | 177.6 KB | 50% |
55
+ | Context tokens per session | ~6,500 | ~350 | 95% |
56
+
57
+ ## [1.26.1] - 2026-02-10
58
+
59
+ ### Added
60
+ - purge JSON I/O from templates + prjct update command
61
+
62
+ ## [1.26.0] - 2026-02-10
63
+
64
+ ### Features
65
+
66
+ - **`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.
67
+ - **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.
68
+ - **Fix performance-tracker date filter**: `getReport(id, 0)` now correctly means "today" instead of "this exact millisecond".
69
+
70
+ ### Changes
71
+
72
+ - 27 command templates simplified to use CLI commands (`prjct task`, `prjct done`, `prjct ship`, etc.)
73
+ - 8 global instruction files updated (CLAUDE-core/intelligence/storage, ANTIGRAVITY, GEMINI, CURSOR, WINDSURF, STORAGE-SPEC)
74
+ - 7 subagent/context templates updated (agent-base, orchestrator, planner, shipper, workflow, dashboard, roadmap)
75
+ - New `core/commands/update.ts` with `UpdateCommands` class
76
+ - Registered in command-data, register, index, and commands facade
77
+
3
78
  ## [1.25.0] - 2026-02-11
4
79
 
5
80
  ### Features
6
81
 
7
82
  - kill all JSON file I/O — everything to SQLite (PRJ-303) (#172)
8
83
 
9
-
10
84
  ## [1.25.0] - 2026-02-10
11
85
 
12
86
  ### Features