@embd/mcp 0.7.3 → 0.7.5
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 +6 -1
- package/dist/{bin-mvjk1fq0.js → bin-9x697m91.js} +41 -41
- package/dist/{bin-vnnxgm54.js → bin-bgj87rq2.js} +1 -1
- package/dist/{bin-y6fp1ys8.js → bin-es6b7w6h.js} +1 -1
- package/dist/{bin-23re2y63.js → bin-j33s38rd.js} +9 -9
- package/dist/{bin-hadzj9pc.js → bin-rgzmybc9.js} +1 -1
- package/dist/bin.js +1 -1
- package/dist/documents-bin.js +1 -1
- package/dist/http-bin.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ is a failed paired release and can be retried; npm publication is not atomic
|
|
|
237
237
|
across two packages. Existing installed clients are not silently upgraded.
|
|
238
238
|
|
|
239
239
|
|
|
240
|
-
## Local knowledge-base replica
|
|
240
|
+
## Local knowledge-base replica
|
|
241
241
|
|
|
242
242
|
Keep personal QMD collections independent. These tools maintain a separate embd SQLite FTS5 index and perform no network request for search/read/link resolution. Local tools require Node.js 22.13+ (or Bun for source development); existing remote commands retain their previous runtime support. The server must have the local-KB sync migration/API deployed.
|
|
243
243
|
|
|
@@ -257,6 +257,11 @@ embd workspace kb_forget --input '{"workspaceId":"<workspace UUID>"}'
|
|
|
257
257
|
|
|
258
258
|
The same seven `kb_*` operations are available in `embd-documents-mcp`. Call `kb_sync` explicitly there or run the CLI watch process with the same token/origin/cache directory. MCP does not silently start a daemon. `workspace tools` and each command's `--help` expose shared schemas. Search requires all literal terms, with Unicode tokenization; it is lexical, not semantic. Results contain stable document URLs, exact source versions/hashes and freshness. `kb_read` returns bounded source slices; use `nextOffset` to continue. Reads can be stale: fetch the current server document before editing. Relative links resolve only within the synced selection using retained bases and rename aliases; unresolved targets are not automatically downloaded.
|
|
259
259
|
|
|
260
|
+
Paired client 0.7.4 makes local search format-aware: Markdown headings, prose, lists, tables, link/image labels and literal code are searchable, including angle-bracket code such as `<Widget>`. HTML is parsed inertly; actual script/style/template/iframe/object/SVG payloads and comments are excluded. Raw or malformed HTML inside Markdown follows the same HTML5 recovery rules, while fenced and inline code remains literal. Nothing is executed or fetched by text extraction. Search uses displayed text plus document title/path, not link destinations; it does not evaluate CSS visibility or index image pixels.
|
|
261
|
+
|
|
262
|
+
Upgrade both CLI and MCP together and restart the MCP process. Run `kb_sync` again after upgrading: older extractor indexes are marked incompatible until a complete rebuild succeeds. Interrupted downloads or failed writes preserve the previous stored replica for retry, but incompatible indexes cannot be read. Sync rejects backwards cursors and document versions instead of replacing a newer local copy. Exact source, hashes, revisions and citation URLs are unchanged.
|
|
263
|
+
|
|
264
|
+
|
|
260
265
|
Changing the selected IDs atomically replaces the local set after complete sync. Interrupted attempts retain the previous complete replica and its original expiry. A server cursor reset triggers a full reconciliation. A 401/403/404 clears the affected replica. `kb_forget` removes local content without deleting server documents. This is pull-only source sync: discussions, offline editing, automatic folder ingestion and embeddings are not included.
|
|
261
266
|
|
|
262
267
|
|