prjct-cli 2.53.1 → 2.54.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,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased]
4
+
5
+ ## [2.54.0] - 2026-06-21
6
+
7
+ ### Added
8
+ - Universal AI coding agent compatibility surfaces. `prjct init`, `setup`, and `sync` now refresh AGENTS.md, legacy Claude routing, stable IDE rules, and repaired MCP config from a shared runtime registry covering Codex, Claude, Gemini, OpenCode, Qwen Code, Cursor, Windsurf, Cline/Roo, Continue, Kiro, Copilot, Devin, Jules, Zed, Warp, Amp, Factory, Augment, Kilo Code, Phoenix, Ona, Semgrep, and related agent runtimes.
9
+
10
+ ### Fixed
11
+ - `prjct ship` no longer writes `current work` into CHANGELOG.md or the default ship commit when the active task has already been closed. No-arg ships now use the active task description, derive a readable summary from the feature branch, or fail with an explicit release-description prompt.
12
+
3
13
  ## [2.53.1] - 2026-06-21
4
14
 
5
15
  ### Fixed
package/bin/prjct CHANGED
@@ -43,6 +43,26 @@ SCRIPT_PATH="$(resolve_symlink "$0")"
43
43
  SCRIPT_DIR="$(dirname "$SCRIPT_PATH")"
44
44
  ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
45
45
 
46
+ # Stdio MCP entry point for `npx -y prjct-cli mcp-server`.
47
+ # Keep this before self-healing setup so MCP stdout stays protocol-only.
48
+ if [ "$1" = "mcp-server" ]; then
49
+ MCP_SERVER="$ROOT_DIR/dist/mcp/server.mjs"
50
+ if [ ! -f "$MCP_SERVER" ]; then
51
+ echo "Error: MCP server entry point not found. Run 'npm run build' first." >&2
52
+ exit 1
53
+ fi
54
+ NODE_VER="$(node -v 2>/dev/null | sed 's/^v//')"
55
+ NODE_MAJ="${NODE_VER%%.*}"
56
+ NODE_MIN_REST="${NODE_VER#*.}"
57
+ NODE_MIN="${NODE_MIN_REST%%.*}"
58
+ if [ "${NODE_MAJ:-0}" -lt 22 ] || { [ "${NODE_MAJ:-0}" -eq 22 ] && [ "${NODE_MIN:-0}" -lt 5 ]; }; then
59
+ echo "Error: prjct MCP needs Node >=22.5 (for node:sqlite) — found Node ${NODE_VER:-unknown}." >&2
60
+ exit 1
61
+ fi
62
+ export NODE_OPTIONS="--experimental-sqlite${NODE_OPTIONS:+ $NODE_OPTIONS}"
63
+ exec node "$MCP_SERVER"
64
+ fi
65
+
46
66
  # Ensure statusline and basic config (self-healing)
47
67
  # Router (p.md) is deprecated — skills handle workflows natively
48
68
  ensure_setup() {