@geohar/pi-cribsheet 0.23.1-dev1 → 0.23.1
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 +83 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,89 @@ This file ships in the Pi package, where Pi shows the entries newer than the
|
|
|
9
9
|
version you last ran. `scripts/bump-version.sh` refuses a release whose
|
|
10
10
|
version has no heading here.
|
|
11
11
|
|
|
12
|
+
## [0.23.1] - 2026-11-13
|
|
13
|
+
|
|
14
|
+
Everything since 0.22.1, collected from the 0.23 dev releases below.
|
|
15
|
+
|
|
16
|
+
### Highlights
|
|
17
|
+
|
|
18
|
+
- **One shape for the cache.** Notes, decisions, plans, learnings, code
|
|
19
|
+
symbols and the keyword/summary indexes are all rows in the DuckDB store,
|
|
20
|
+
kept exactly in line with your files on every read and write. Your files
|
|
21
|
+
stay the truth. Code search no longer holds every project in memory
|
|
22
|
+
(crib's own memory is about 110 MB with every project warm), decision and
|
|
23
|
+
plan reads are about 6x faster, and the startup reconcile reads only the
|
|
24
|
+
notes that changed (about 9x faster).
|
|
25
|
+
- **New verbs:** `crib project doctor` (what needs attention, with the fix
|
|
26
|
+
for each), `crib project related <ref>` (an item's links both ways and its
|
|
27
|
+
nearest items of every kind), `crib project lookup` (one search across
|
|
28
|
+
notes, decisions, plans and learnings), and `crib generate setup` /
|
|
29
|
+
`crib generate test` (configure and check LLM generation).
|
|
30
|
+
- **Writes warn usefully.** After a note, decision or plan write, `similar`
|
|
31
|
+
says whether a match is a duplicate, a confusingly similar title, already
|
|
32
|
+
settled or just related, and what to do. Reads suggest the decisions an
|
|
33
|
+
item probably builds on; imports name the existing items each section is
|
|
34
|
+
closest to; orphaned learnings name where they probably went.
|
|
35
|
+
- **Dependency kinds:** `follows`, `rests_on`, `informed_by`, with defaults
|
|
36
|
+
from the target; `dep_add` with another kind changes it in place.
|
|
37
|
+
- **Generation modes:** `[generate] mode = "on" | "explicit" | "off"`.
|
|
38
|
+
Without a models config it is `explicit`: crib never drives the Claude CLI
|
|
39
|
+
in the background on its own.
|
|
40
|
+
- **The daemon explains itself.** `crib status` shows uptime, startup steps,
|
|
41
|
+
running background work, queues, file-watching health and the generation
|
|
42
|
+
mode; the daemon writes `~/.cache/crib/daemon.log`.
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Opening the store can no longer spin, a store file DuckDB can't read is set
|
|
47
|
+
aside and rebuilt, and a schema change keeps the embedding cache.
|
|
48
|
+
- A hung LLM provider can't wedge the daemon: generation has its own pool and
|
|
49
|
+
deadline, and code queries never wait on it. The Claude CLI provider starts
|
|
50
|
+
with no MCP servers and is killed promptly on a timeout (polyllmkit 0.2.4,
|
|
51
|
+
now required).
|
|
52
|
+
- `status` no longer shows a git remote's password or token.
|
|
53
|
+
- Projects that vendor the same file no longer overwrite each other's symbols.
|
|
54
|
+
|
|
55
|
+
### Upgrading
|
|
56
|
+
|
|
57
|
+
- The first daemon on 0.23.1 rebuilds its DuckDB cache from your files once;
|
|
58
|
+
nothing in your notes, decisions, plans or symbol records changes.
|
|
59
|
+
- If you relied on background generation without a models config, run
|
|
60
|
+
`crib generate setup` or set `[generate] mode = "on"`.
|
|
61
|
+
- With uv, upgrade with `uv pip install --upgrade --refresh cribsheet`
|
|
62
|
+
(`--upgrade` moves an installed package; `--refresh` skips a stale index).
|
|
63
|
+
|
|
64
|
+
## [0.23.1-dev2] - 2026-11-13
|
|
65
|
+
|
|
66
|
+
### Fixed
|
|
67
|
+
|
|
68
|
+
- **Opening the store can no longer spin.** An open of a store already at
|
|
69
|
+
this version writes nothing, so it can't conflict with other connections.
|
|
70
|
+
A conversion (a new file or a version change) runs once, under a lock
|
|
71
|
+
that every crib process on the machine shares, as one transaction; others
|
|
72
|
+
wait and find it done. If other writes keep conflicting, crib waits up to
|
|
73
|
+
two minutes and then says what to do, instead of retrying silently.
|
|
74
|
+
- **A store file DuckDB can't read is set aside and rebuilt**, kept as
|
|
75
|
+
`crib.duckdb.broken-<time>` (it is a cache rebuilt from your files).
|
|
76
|
+
- **A schema change keeps the embedding cache**, so a conversion no longer
|
|
77
|
+
re-embeds every note and symbol description.
|
|
78
|
+
- **A hung LLM provider can't wedge the daemon.** Generation runs on its own
|
|
79
|
+
small pool with crib's own deadline (165 s by default); past it the call is
|
|
80
|
+
abandoned and the description waits, and tool calls never queue behind it.
|
|
81
|
+
A code query that finds changed files queues their descriptions instead of
|
|
82
|
+
waiting for them. Each generation call shows in `status` while it runs.
|
|
83
|
+
- With the Claude CLI as the provider, it starts with no MCP servers, and a
|
|
84
|
+
timed-out call kills it even when it hangs at startup (polyllmkit 0.2.3,
|
|
85
|
+
now required).
|
|
86
|
+
- The daemon's log starts before the store opens, so a hang there leaves a
|
|
87
|
+
trace.
|
|
88
|
+
|
|
89
|
+
### Changed
|
|
90
|
+
|
|
91
|
+
- `crib status` prints the daemon's background work: uptime and log file,
|
|
92
|
+
each running job and how long it has run, queued work, file watching when
|
|
93
|
+
it isn't healthy, and the generation mode with the descriptions waiting.
|
|
94
|
+
|
|
12
95
|
## [0.23.1-dev1] - 2026-11-13
|
|
13
96
|
|
|
14
97
|
No changes since 0.23.0-dev4: the same code with the patch version bumped, so
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geohar/pi-cribsheet",
|
|
3
|
-
"version": "0.23.1
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"description": "Pi extension: run the crib (cribsheet) memory + code-index MCP server via sharedserver, inject the reach-for-crib directive, and ship the /crib recall command. Pairs with pi-mcp-adapter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|