prjct-cli 2.63.2 → 2.65.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 +10 -2
- package/README.md +16 -16
- package/dist/bin/prjct-core.mjs +387 -387
- package/dist/daemon/entry.mjs +324 -324
- package/dist/mcp/server.mjs +190 -190
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,20 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.65.0] - 2026-06-23
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- setup-owned vault root with OS-aware defaults
|
|
9
|
+
|
|
10
|
+
## [2.64.0] - 2026-06-23
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- eval benchmarks cloud
|
|
14
|
+
|
|
5
15
|
## [2.63.2] - 2026-06-23
|
|
6
16
|
|
|
7
17
|
### Bug Fixes
|
|
8
18
|
|
|
9
19
|
- resolve Dependabot audit alerts
|
|
10
20
|
|
|
11
|
-
|
|
12
21
|
## [2.63.1] - 2026-06-23
|
|
13
22
|
|
|
14
23
|
### Bug Fixes
|
|
15
24
|
|
|
16
25
|
- harden prjct eval workflow inputs
|
|
17
26
|
|
|
18
|
-
|
|
19
27
|
## [2.63.0] - 2026-06-23
|
|
20
28
|
|
|
21
29
|
### Added
|
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ and locked-down CI, which closes the supply-chain surface a native rebuild opens
|
|
|
98
98
|
|
|
99
99
|
After install, **next session in any prjct-cli project**:
|
|
100
100
|
|
|
101
|
-
- **Lookup-first protocol**: Claude reads `~/Documents/prjct/<slug>/_generated/`
|
|
101
|
+
- **Lookup-first protocol**: Claude reads the configured vault snapshot (default: your OS Documents folder, e.g. `~/Documents/prjct/<slug>/_generated/` on macOS/Linux) BEFORE re-exploring source. Cuts ~10K tokens of exploration per session.
|
|
102
102
|
- **Auto-capture**: Stop hook scans the assistant transcript and persists durable insights (decisions/learnings/gotchas) tagged for dedup. The next session finds them in the vault.
|
|
103
103
|
- **Pattern detection**: Stop hook detects hot files (>3 changes in 7 days), recurring bugs (gotchas with the same topic), tech-debt growth (TODO/FIXME count rising). All persisted as learnings, surfaced next session.
|
|
104
104
|
- **5 quality workflows** activated by natural language ("review this branch", "qa the UI", "security check", "investigate this bug"):
|
|
@@ -111,7 +111,7 @@ After install, **next session in any prjct-cli project**:
|
|
|
111
111
|
|
|
112
112
|
## How it works
|
|
113
113
|
|
|
114
|
-
State lives in **SQLite** at `~/.prjct-cli/projects/<id>/`. The vault
|
|
114
|
+
State lives in **SQLite** at `~/.prjct-cli/projects/<id>/`. The vault is an auto-regenerated Markdown snapshot under the root configured by `prjct setup` (default: your OS Documents folder, e.g. `~/Documents/prjct/<slug>/_generated/` on macOS/Linux) — agent-readable via `Read`/`Glob`, browsable in Obsidian.
|
|
115
115
|
|
|
116
116
|
```
|
|
117
117
|
Claude Code session prjct-cli
|
|
@@ -143,11 +143,12 @@ Not "all in a local `.prjct/` folder" — that's the pre-v1.24.1 model. Three ti
|
|
|
143
143
|
|---|---|---|
|
|
144
144
|
| Config / identity | `<repo>/.prjct/prjct.config.json` (`projectId`, persona) | **Yes** — small, machine-independent |
|
|
145
145
|
| State (source of truth) | `~/.prjct-cli/projects/<projectId>/prjct.db` (SQLite) | No — per-device |
|
|
146
|
-
| Vault (recall snapshot) |
|
|
146
|
+
| Vault (recall snapshot) | `<vault-root>/<slug>/_generated/` (Markdown; `prjct setup --vault-root <path>`) | No — regenerated |
|
|
147
147
|
|
|
148
148
|
Find a project's data: read `projectId` from `.prjct/prjct.config.json`, then the
|
|
149
149
|
DB is `~/.prjct-cli/projects/<projectId>/`, the vault is
|
|
150
|
-
|
|
150
|
+
`<vault-root>/<slug>/` (`<slug>` = repo dir name lowercased; `prjct setup`
|
|
151
|
+
chooses the global vault root, defaulting to the OS Documents folder; `PRJCT_CLI_HOME`
|
|
151
152
|
relocates the global store). Teammates share knowledge via optional cloud sync
|
|
152
153
|
(`prjct login` + `prjct sync`), **not** git — git never carries state. Full
|
|
153
154
|
detail, worktrees, monorepos: **[docs/storage-and-paths.md](./docs/storage-and-paths.md)**.
|
|
@@ -181,20 +182,19 @@ read-only commands show whether the project is actually compounding:
|
|
|
181
182
|
### Version evals
|
|
182
183
|
|
|
183
184
|
Use `prjct eval` to measure product readiness between versions and publish the
|
|
184
|
-
evidence to
|
|
185
|
+
evidence to the prjct cloud benchmark API:
|
|
185
186
|
|
|
186
187
|
```bash
|
|
187
188
|
prjct eval run --candidate 2.62.0
|
|
188
189
|
prjct eval compare --baseline 2.61.0 --candidate 2.62.0 --md
|
|
189
|
-
prjct eval run --candidate "$GITHUB_SHA" --publish --target
|
|
190
|
-
prjct eval compare --baseline "$BASELINE" --candidate "$CANDIDATE" --publish --target
|
|
190
|
+
prjct eval run --candidate "$GITHUB_SHA" --publish --target cloud
|
|
191
|
+
prjct eval compare --baseline "$BASELINE" --candidate "$CANDIDATE" --publish --target cloud
|
|
191
192
|
```
|
|
192
193
|
|
|
193
|
-
Local artifacts live under `$PRJCT_CLI_HOME/evals/<repo>/`.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
[EVALS.md](./EVALS.md)
|
|
197
|
-
CI workflow.
|
|
194
|
+
Local artifacts live under `$PRJCT_CLI_HOME/evals/<repo>/`. Cloud publishing
|
|
195
|
+
requires `prjct login` and an active `prjct cloud link`, then sends the
|
|
196
|
+
benchmark payload to the prjct API with server-side ownership/subscription
|
|
197
|
+
checks. See [EVALS.md](./EVALS.md) for the full workflow.
|
|
198
198
|
|
|
199
199
|
| Command | What it proves |
|
|
200
200
|
|---|---|
|
|
@@ -381,7 +381,7 @@ prjct capture "check why webhook retries on 502"
|
|
|
381
381
|
prjct context memory "auth refresh"
|
|
382
382
|
```
|
|
383
383
|
|
|
384
|
-
Memory is FTS5-backed (SQLite) and persona-filtered. Recall blends three signals — BM25 lexical, semantic vectors, and a usefulness ledger that reinforces what the project keeps building on. Capture **dedups** automatically: a verbatim re-capture of the same `(type, content)` is skipped, so detectors firing each session can't bloat the store. Every `remember`, `capture`, `ship`, and the SessionStart / Stop hooks regenerate the agent-readable markdown export at
|
|
384
|
+
Memory is FTS5-backed (SQLite) and persona-filtered. Recall blends three signals — BM25 lexical, semantic vectors, and a usefulness ledger that reinforces what the project keeps building on. Capture **dedups** automatically: a verbatim re-capture of the same `(type, content)` is skipped, so detectors firing each session can't bloat the store. Every `remember`, `capture`, `ship`, and the SessionStart / Stop hooks regenerate the agent-readable markdown export at `<vault-root>/<slug>/_generated/`.
|
|
385
385
|
|
|
386
386
|
> SQLite is the source of truth. The export is a snapshot — never hand-edit `_generated/`; if data is missing, fix the pipeline.
|
|
387
387
|
|
|
@@ -430,7 +430,7 @@ Without a key the built-in local embedder is used. Vector dimensionality is dete
|
|
|
430
430
|
|
|
431
431
|
### Drop files into the vault (bidirectional)
|
|
432
432
|
|
|
433
|
-
Drop a file into
|
|
433
|
+
Drop a file into `<vault-root>/<slug>/captured/` — it becomes memory, vectorized into the DB. Two shapes:
|
|
434
434
|
|
|
435
435
|
```markdown
|
|
436
436
|
---
|
|
@@ -548,7 +548,7 @@ persisting findings to memory. Concrete examples:
|
|
|
548
548
|
| "qa the checkout page" | `qa` | Real browser, atomic fixes, regression tests |
|
|
549
549
|
|
|
550
550
|
You can also pull project knowledge directly: ask "what patterns does this
|
|
551
|
-
project use?" and the agent reads
|
|
551
|
+
project use?" and the agent reads `<vault-root>/<slug>/_generated/patterns.md`
|
|
552
552
|
instead of grepping source (the lookup-first protocol). Outside an agent, every
|
|
553
553
|
command takes `--md` to emit agent-ready markdown.
|
|
554
554
|
|
|
@@ -608,7 +608,7 @@ git check-ignore -v .prjct # why git ignores it
|
|
|
608
608
|
The path is always `<repoRoot>/.prjct/` (strictly relative to the project — no
|
|
609
609
|
env var, no global lookup). Read `projectId` from `prjct.config.json` to reach
|
|
610
610
|
the *other* tiers: DB at `~/.prjct-cli/projects/<projectId>/prjct.db`, vault at
|
|
611
|
-
|
|
611
|
+
`<vault-root>/<slug>/_generated/` (`prjct setup --vault-root <path>` configures the vault root; `PRJCT_CLI_HOME` overrides the global
|
|
612
612
|
base). The in-repo `.prjct/` holds only config, not state — full detail in
|
|
613
613
|
[docs/storage-and-paths.md](./docs/storage-and-paths.md).
|
|
614
614
|
|