@hraness/wordcell 0.25.0 → 0.26.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/README.md +37 -35
- package/dist/capture.js +6 -6
- package/dist/cli-bin.js +14 -0
- package/dist/cli-release-c74c5m3k.js +799 -0
- package/dist/cli.js +26 -23
- package/dist/clip/acquire.js +3 -3
- package/dist/clip/cli.js +6 -6
- package/dist/clip/doctor.js +4 -4
- package/dist/evaluation-builder-bin.js +14 -0
- package/dist/evaluation-builder.js +12 -17
- package/dist/evaluation-kb.js +6 -6
- package/dist/graph-percolation.js +2 -2
- package/dist/index-3t0v457d.js +18 -0
- package/dist/{index-47893rgw.js → index-5h5awwh4.js} +4 -4
- package/dist/index-8pabwzqg.js +909 -0
- package/dist/{index-1wccy765.js → index-8w1zsgcm.js} +63 -930
- package/dist/{index-7drercgk.js → index-9fywek7g.js} +1 -1
- package/dist/{index-hz2wyggk.js → index-9paxge84.js} +1 -1
- package/dist/{index-mcpppwbq.js → index-9zkba8hr.js} +6 -6
- package/dist/{index-59bcxqee.js → index-j2jt49gr.js} +1 -1
- package/dist/index-ncgdaja4.js +64 -0
- package/dist/{index-nwrehke7.js → index-nd8v7r0z.js} +1 -1
- package/dist/{index-t3abkwk4.js → index-zbv70qmk.js} +15 -15
- package/dist/index.js +40 -40
- package/dist/pdf.js +2 -2
- package/dist/portfolio.js +5 -5
- package/dist/sdk.js +4 -4
- package/dist/{support-adj7bbge.js → support-ym4mpf7w.js} +19 -18
- package/dist/url-intelligence.js +3 -3
- package/dist/workflows/decision-context.js +5 -5
- package/dist/workflows/index.js +5 -5
- package/package.json +13 -6
- package/skills/wordcell/SKILL.md +10 -1
- package/src/cli-bin.ts +5 -0
- package/src/cli-help.ts +12 -0
- package/src/cli-program.ts +3 -57
- package/src/cli-release.ts +732 -0
- package/src/cli-startup.ts +76 -0
- package/src/cli-update.ts +53 -0
- package/src/cli.ts +5 -4
- package/src/clip/metadata-search-tool/src/openalex.rs +156 -8
- package/src/evaluation-builder-bin.ts +5 -0
- package/src/evaluation-builder-cli-args.ts +30 -0
- package/src/evaluation-builder.ts +3 -27
- package/src/import-supermemory.ts +3 -1
- package/dist/{index-hxyjer3x.js → index-hacpnaew.js} +3 -3
- package/dist/{index-qfqjfxaa.js → index-m9p2a4mj.js} +4 -4
- package/dist/{index-xwxy71ew.js → index-ncwzmsge.js} +5 -5
- package/dist/{index-e26mdwxz.js → index-wqx1x32f.js} +3 -3
package/README.md
CHANGED
|
@@ -54,14 +54,14 @@ Wordcell keeps the record in Markdown files you own, rebuilds every index from t
|
|
|
54
54
|
The CLI and TypeScript SDK run with Bun. Install the versioned GitHub archive:
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.
|
|
57
|
+
bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.26.0/hraness-wordcell-0.26.0.tgz
|
|
58
58
|
wordcell --help
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
Prefer npm? The same release is [mirrored there](https://www.npmjs.com/package/@hraness/wordcell):
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
|
-
npm install --global --ignore-scripts @hraness/wordcell@0.
|
|
64
|
+
npm install --global --ignore-scripts @hraness/wordcell@0.26.0
|
|
65
65
|
wordcell --help
|
|
66
66
|
```
|
|
67
67
|
|
|
@@ -70,10 +70,32 @@ add your package manager's global executable directory to `PATH` and reopen the
|
|
|
70
70
|
terminal. Optional semantic search, browser capture, and PDF tools have
|
|
71
71
|
[additional prerequisites](https://github.com/hraness/wordcell/blob/main/docs/reference.md#review-lifecycle-scripts-before-enabling-optional-adapters).
|
|
72
72
|
|
|
73
|
+
Global Bun and npm installations on macOS and Linux check for updates daily
|
|
74
|
+
before a command starts. Updates require the GitHub CLI (`gh`) to verify the
|
|
75
|
+
release and preserve `--ignore-scripts`. An active command, MCP server, or
|
|
76
|
+
preview server prevents replacement until it exits. Both installed commands
|
|
77
|
+
share the same settings:
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
wordcell update status
|
|
81
|
+
wordcell update check
|
|
82
|
+
wordcell update
|
|
83
|
+
wordcell update disable
|
|
84
|
+
wordcell update enable
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Use `HRANESS_NO_UPDATE=1 wordcell …` for an invocation without automatic update
|
|
88
|
+
requests, including offline work. Help, version output, and SDK imports never
|
|
89
|
+
check for updates. Source, project, copied, and Windows installations use manual
|
|
90
|
+
upgrades. Exact Bun registry versions stay pinned until `update enable`; npm
|
|
91
|
+
does not reliably retain the original global version constraint, so use
|
|
92
|
+
`update disable` when you need a fixed global version. A versioned GitHub archive
|
|
93
|
+
tracks verified releases by default. See the [update reference](docs/reference.md#cli-updates).
|
|
94
|
+
|
|
73
95
|
## Keep one decision available to the next session
|
|
74
96
|
|
|
75
97
|
Run this from a directory where you want a new `kb/` folder. It creates one
|
|
76
|
-
Markdown note and finds it without
|
|
98
|
+
Markdown note and finds it without a search model or hosted search service:
|
|
77
99
|
|
|
78
100
|
```sh
|
|
79
101
|
wordcell init kb
|
|
@@ -103,7 +125,7 @@ After trying the CLI, install the public Agent Skill into a compatible agent,
|
|
|
103
125
|
such as Claude Code, Codex, Cursor, or GitHub Copilot:
|
|
104
126
|
|
|
105
127
|
```sh
|
|
106
|
-
bunx skills add hraness/wordcell#v0.
|
|
128
|
+
bunx skills add hraness/wordcell#v0.26.0 --skill wordcell
|
|
107
129
|
```
|
|
108
130
|
|
|
109
131
|
Then ask:
|
|
@@ -175,7 +197,7 @@ provider failure retains the baseline order with a diagnostic. See the
|
|
|
175
197
|
|
|
176
198
|
| Task | Command | Evidence and effects |
|
|
177
199
|
| --- | --- | --- |
|
|
178
|
-
| Find a saved decision | `wordcell search "parser retries" --root kb --mode exact` | Reads current Markdown; no model or
|
|
200
|
+
| Find a saved decision | `wordcell search "parser retries" --root kb --mode exact` | Reads current Markdown; no model or hosted search request. |
|
|
179
201
|
| Recover context for code | `wordcell context packages/parser/src/index.ts --root kb --repo .` | Returns scoped notes, plans, and inherited `AGENTS.md` rules. |
|
|
180
202
|
| Inspect explicit connections | `wordcell backlinks notes/parser-contract --root kb` | Returns notes that link to the decision. |
|
|
181
203
|
| Search by meaning | `wordcell search "retry policy" --root kb --mode hybrid` | Adds optional local QMD keyword and vector retrieval; model setup is required. |
|
|
@@ -249,39 +271,19 @@ keeps one vault current on several machines.
|
|
|
249
271
|
|
|
250
272
|
## Evidence and comparisons
|
|
251
273
|
|
|
252
|
-
On
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
[Method, raw results, and reproduction](https://github.com/hraness/wordcell/blob/main/docs/evidence.md#measure-whether-excerpts-contain-the-answer).
|
|
259
|
-
|
|
260
|
-
In a four-query example over a seven-note public vault, packed search snippets
|
|
261
|
-
used **80% fewer UTF-8 bytes** than passing the same matching notes in full:
|
|
262
|
-
12,126 versus 60,584 bytes. This measures context payload size, not tokenizer
|
|
263
|
-
counts, answer quality, latency, or a win over another search tool.
|
|
264
|
-
|
|
265
|
-
In a separate public SciFact study, optional hosted Jev reranking placed a
|
|
266
|
-
judged relevant result first for **161 of 300 queries**, versus **101** with
|
|
267
|
-
Wordcell exact search alone. It sends bounded context to a paid provider;
|
|
268
|
-
this is evidence on scientific abstracts, not a comparison with QMD or a
|
|
269
|
-
guarantee for repository notes. [Results and limits](https://github.com/hraness/wordcell/blob/main/docs/reranking.md#evidence-and-limits).
|
|
270
|
-
|
|
271
|
-
Wordcell's benefit is selecting relevant context and keeping its sources
|
|
272
|
-
inspectable. Local ownership is also available in other tools, and Wordcell
|
|
273
|
-
does not claim to beat QMD's retrieval quality or every Markdown workflow.
|
|
274
|
-
|
|
275
|
-
[Measured evidence](https://wordcell.io/docs/evidence)
|
|
276
|
-
shows a reproducible public-vault example, with the inputs, output sizes, and
|
|
277
|
-
limits beside each result. [The comparison guide](https://wordcell.io/docs/comparisons)
|
|
274
|
+
On the public SciFact dataset of scientific abstracts, optional hosted Jev
|
|
275
|
+
reranking placed a relevant result first for **161 of 300 queries**, versus
|
|
276
|
+
**101** with Wordcell exact search alone. Hosted reranking is optional and uses
|
|
277
|
+
a paid provider. [Results and method](https://github.com/hraness/wordcell/blob/main/docs/reranking.md#evidence-and-limits).
|
|
278
|
+
|
|
279
|
+
[The comparison guide](https://wordcell.io/docs/comparisons)
|
|
278
280
|
covers Markdown alone, QMD, Basic Memory, Obsidian, static publishing tools,
|
|
279
281
|
Supermemory, Mem0, and Zep using their own documentation. Choose the smallest
|
|
280
282
|
workflow that meets your needs.
|
|
281
283
|
|
|
282
|
-
The [benchmarks page](https://wordcell.io/benchmarks) shows the
|
|
283
|
-
and
|
|
284
|
-
|
|
284
|
+
The [benchmarks page](https://wordcell.io/benchmarks) shows the SciFact results
|
|
285
|
+
and the published results of Oh, the embedded memory framework, each with its
|
|
286
|
+
source data and method. On all 500 LongMemEval-S
|
|
285
287
|
questions, Oh semantic retrieval scored 88.87% and BM25 86.13% with the same
|
|
286
288
|
reader and budget; on the measure Oh named before the run, its interval does
|
|
287
289
|
not rule out a tie. Oh's scores measure its own memory-retrieval path, not a
|
|
@@ -334,7 +336,7 @@ exist. [Graph queries and proof limits](https://github.com/hraness/wordcell/blob
|
|
|
334
336
|
Add the same immutable release to a Bun project:
|
|
335
337
|
|
|
336
338
|
```sh
|
|
337
|
-
bun add --exact --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.
|
|
339
|
+
bun add --exact --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.26.0/hraness-wordcell-0.26.0.tgz
|
|
338
340
|
```
|
|
339
341
|
|
|
340
342
|
The SDK provides read-only vault sessions, metadata queries, search, graph
|
package/dist/capture.js
CHANGED
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
captureSummary,
|
|
6
6
|
main,
|
|
7
7
|
runCapture
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-zbv70qmk.js";
|
|
9
|
+
import"./index-hacpnaew.js";
|
|
10
10
|
import"./index-k86wepd8.js";
|
|
11
11
|
import {
|
|
12
12
|
adapterCapabilities,
|
|
13
13
|
inspectClipEnvironment,
|
|
14
14
|
renderDoctorReport
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-nd8v7r0z.js";
|
|
16
16
|
import"./index-5n05se68.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-ncwzmsge.js";
|
|
18
18
|
import"./index-cd75vky9.js";
|
|
19
19
|
import"./index-2gv8y733.js";
|
|
20
|
+
import"./index-mxxxytys.js";
|
|
20
21
|
import"./index-w2zc0vwa.js";
|
|
21
22
|
import"./index-e5fbsywq.js";
|
|
23
|
+
import"./index-gh719d91.js";
|
|
22
24
|
import {
|
|
23
25
|
parseArguments
|
|
24
26
|
} from "./index-byz4kzww.js";
|
|
25
|
-
import"./index-gh719d91.js";
|
|
26
|
-
import"./index-mxxxytys.js";
|
|
27
27
|
import"./index-1xxnjn0d.js";
|
|
28
28
|
import"./index-4knsp9qj.js";
|
|
29
29
|
import"./index-z1w83f81.js";
|
package/dist/cli-bin.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
// @bun
|
|
3
|
+
import {
|
|
4
|
+
runWordcellBin
|
|
5
|
+
} from "./index-ncgdaja4.js";
|
|
6
|
+
import"./index-3t0v457d.js";
|
|
7
|
+
import"./index-8pabwzqg.js";
|
|
8
|
+
import"./index-4knsp9qj.js";
|
|
9
|
+
import"./index-z1w83f81.js";
|
|
10
|
+
|
|
11
|
+
// src/cli-bin.ts
|
|
12
|
+
import { fileURLToPath } from "url";
|
|
13
|
+
if (import.meta.main)
|
|
14
|
+
process.exitCode = await runWordcellBin("wordcell", fileURLToPath(import.meta.url), process.argv.slice(2));
|