prjct-cli 2.43.3 → 2.43.4
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 +16 -6
- package/dist/bin/prjct-core.mjs +344 -344
- package/dist/daemon/entry.mjs +331 -331
- package/dist/mcp/server.mjs +240 -240
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,14 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Performance
|
|
6
|
+
- **Hot recall queries now use the type index.** Every `type LIKE 'memory.%'` filter (recall, vault index, embeddings backfill anti-join, memory cap, transcript dedup) was a full `SCAN events` — SQLite can't derive scan bounds from a parameterized LIKE. Rewritten as indexed range predicates with exact-parity tests; cost stays flat as the events table grows.
|
|
7
|
+
- **Prompt hook git snapshot cached for 3s.** The UserPromptSubmit hook forked 3 git processes per turn (~40ms); agentic bursts forked hundreds. The daemon now reuses the snapshot within a 3s TTL per cwd.
|
|
8
|
+
- **Upgrade migration no longer opens every project DB.** A `.cli-version` marker per project dir reduces the post-upgrade scan from a SQLite open per directory (~3ms × tens of thousands of dirs ≈ up to a minute) to one tiny file read each.
|
|
9
|
+
- Vault writes skip redundant per-file `mkdir` syscalls (dir-ensured cache with delete-retry fallback).
|
|
10
|
+
|
|
5
11
|
### Fixed
|
|
6
|
-
- **
|
|
7
|
-
-
|
|
12
|
+
- **Vault can no longer go stale across upgrades.** The regen fingerprint now includes the CLI version: every upgrade forces one cheap full regen per project, so a builder/format change always renders (previously the old fingerprint blocked new output until unrelated inputs changed).
|
|
13
|
+
- **Codex detected in non-interactive shells.** `detectCodex` accepts `~/.codex/auth.json` (a logged-in install) as evidence alongside binary-on-PATH — hooks/daemon run without the interactive PATH, which silently skipped Codex MCP wiring and skill repair.
|
|
14
|
+
- Removed dead `memoryService.search()` (1,000-row JS substring scan, zero callers — `prjct search` uses the FTS5 + semantic blend).
|
|
15
|
+
- Archive-storage tests no longer leak a real-path SQLite connection across the pathManager patch (stray async sync-publish could cache it and hijack the next test's isolation).
|
|
16
|
+
|
|
17
|
+
## [2.43.4] - 2026-06-11
|
|
18
|
+
|
|
19
|
+
### Performance
|
|
20
|
+
|
|
21
|
+
- indexed range queries, git TTL cache, version-aware vault fingerprint, upgrade-scan guard (#428)
|
|
8
22
|
|
|
9
|
-
### Added
|
|
10
|
-
- **Codex MCP wiring.** Setup and sync now ensure `[mcp_servers.prjct]` in `~/.codex/config.toml` (marker-managed TOML block; user-managed entries are never touched) — the `prjct_*` tools finally exist for Codex sessions.
|
|
11
|
-
- **AGENTS.md generation.** `prjct init` writes a vendor-neutral prjct routing block to the project's `AGENTS.md` (marker-merged, user content preserved) when Codex is detected or wizard-selected — Codex has no hooks, so this block is its session-start context.
|
|
12
|
-
- `prjct doctor` now checks the `codex` binary and the installed Claude hooks count.
|
|
13
23
|
|
|
14
24
|
## [2.43.3] - 2026-06-11
|
|
15
25
|
|