prjct-cli 2.53.0 → 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 +15 -0
- package/bin/prjct +20 -0
- package/dist/bin/prjct-core.mjs +369 -415
- package/dist/daemon/entry.mjs +297 -302
- package/dist/mcp/server.mjs +203 -203
- package/dist/templates.json +1 -1
- package/package.json +1 -1
- package/templates/agents/AGENTS.md +13 -29
- package/templates/antigravity/SKILL.md +4 -4
- package/templates/codex/SKILL.md +2 -2
- package/templates/cursor/router.mdc +1 -1
- package/templates/global/ANTIGRAVITY.md +2 -2
- package/templates/global/CURSOR.mdc +2 -2
- package/templates/global/GEMINI.md +2 -2
- package/templates/global/STORAGE-SPEC.md +1 -1
- package/templates/global/WINDSURF.md +2 -2
- package/templates/windsurf/router.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
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
|
+
|
|
13
|
+
## [2.53.1] - 2026-06-21
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- **Embeddings now work with OpenRouter out of the box.** OpenRouter namespaces every model as `vendor/model`, so a bare OpenAI-style id (`text-embedding-3-small`) returned "model not found" — even though zero-config correctly auto-detected the OpenRouter base URL from an `sk-or-…` key. prjct now auto-prefixes the implied vendor (`text-embedding-3-small` → `openai/text-embedding-3-small`) whenever the base URL is OpenRouter, applied on read, on `embeddings set`, and on the wire (so existing, per-project, and global configs all resolve correctly). No-op for OpenAI / Ollama / any other base, and an already-namespaced id is left untouched. (OpenRouter *does* serve `/embeddings`; the earlier assumption it didn't was wrong.)
|
|
17
|
+
|
|
3
18
|
## [2.53.0] - 2026-06-20
|
|
4
19
|
|
|
5
20
|
### Added
|
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() {
|