daftari 1.11.0 → 1.12.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +109 -433
  3. package/dist/server.d.ts.map +1 -1
  4. package/dist/server.js +2 -0
  5. package/dist/server.js.map +1 -1
  6. package/dist/tools/curation.d.ts.map +1 -1
  7. package/dist/tools/curation.js +6 -0
  8. package/dist/tools/curation.js.map +1 -1
  9. package/dist/tools/read.d.ts +8 -0
  10. package/dist/tools/read.d.ts.map +1 -1
  11. package/dist/tools/read.js +6 -0
  12. package/dist/tools/read.js.map +1 -1
  13. package/dist/tools/search.d.ts.map +1 -1
  14. package/dist/tools/search.js +9 -0
  15. package/dist/tools/search.js.map +1 -1
  16. package/dist/tools/themes.d.ts.map +1 -1
  17. package/dist/tools/themes.js +2 -0
  18. package/dist/tools/themes.js.map +1 -1
  19. package/dist/tools/write.d.ts.map +1 -1
  20. package/dist/tools/write.js +26 -3
  21. package/dist/tools/write.js.map +1 -1
  22. package/package.json +2 -1
  23. package/templates/reviewer-vault/.daftari/config.yaml +25 -0
  24. package/templates/reviewer-vault/.daftari/tensions.md +6 -0
  25. package/templates/reviewer-vault/_drafts/moonshot-agentic-curation.md +33 -0
  26. package/templates/reviewer-vault/_drafts/scratch-incomplete.md +18 -0
  27. package/templates/reviewer-vault/competitive-intel/aurora-pipelines-positioning.md +40 -0
  28. package/templates/reviewer-vault/competitive-intel/cirrus-realtime-ga.md +38 -0
  29. package/templates/reviewer-vault/competitive-intel/cirrus-realtime-preview.md +34 -0
  30. package/templates/reviewer-vault/competitive-intel/helios-connect-overview.md +40 -0
  31. package/templates/reviewer-vault/competitive-intel/northwind-governance-snapshot.md +35 -0
  32. package/templates/reviewer-vault/pricing/aurora-pricing-model.md +35 -0
  33. package/templates/reviewer-vault/pricing/cirrus-capacity-tiers.md +37 -0
  34. package/templates/reviewer-vault/pricing/helios-credits-model.md +37 -0
  35. package/templates/reviewer-vault/pricing/vega-pricing-strategy.md +36 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.12.1] - 2026-05-26
11
+
12
+ ### Fixed
13
+
14
+ - **MCPB now runs on Node 24 hosts.** The v1.12.0 `.mcpb` only shipped
15
+ `better-sqlite3` binaries built against Node 22 (ABI v127); on a Node
16
+ 24 host (ABI v137) the loader failed with `NODE_MODULE_VERSION`
17
+ mismatch and the server never booted. `scripts/pack-mcpb.mjs` now
18
+ fetches both ABIs for both platforms (4 binaries total: darwin-arm64
19
+ × {v127, v137} + win32-x64 × {v127, v137}) and stages each under
20
+ `build/Release-${platform}-${arch}-${modules}/`. The loader patch in
21
+ `better-sqlite3`'s `lib/database.js` now includes
22
+ `process.versions.modules` in the path, so the right binary is
23
+ selected at runtime for the host's Node version. Sharp and
24
+ onnxruntime-node are NAPI-based (ABI-stable across Node versions)
25
+ and don't need this treatment.
26
+
27
+ ## [1.12.0] - 2026-05-26
28
+
29
+ ### Added
30
+
31
+ - **Cross-platform MCPB packaging (#66).** The `.mcpb` artifact now
32
+ boots on both macOS (arm64) and Windows (x64). A single universal
33
+ package bundles platform-tagged native binaries for `better-sqlite3`
34
+ (under `build/Release-${platform}-${arch}/`) and `sharp`, and a
35
+ one-line loader patch in `better-sqlite3`'s `lib/database.js`
36
+ selects the right binary at runtime from `process.platform` /
37
+ `process.arch`. The manifest's `compatibility.platforms` is back
38
+ to `["darwin", "win32"]`. `npm run pack:mcpb` (new) builds the
39
+ universal artifact from a darwin-arm64 host.
40
+
41
+ - **MCP tool annotations.** All 14 tools now carry a `title` and the
42
+ appropriate safety hint — `readOnlyHint` for read/search/analysis
43
+ tools, `destructiveHint` for write and curation tools. MCP clients
44
+ use these to label tools and to decide when to prompt for
45
+ confirmation before a call.
46
+
47
+ ### Fixed
48
+
49
+ - **`vault_write` no longer rejects writes that omit `updated` /
50
+ `updated_by`.** The server stamps both fields on every write, so requiring
51
+ callers to also supply them was redundant — and a caller who omitted them
52
+ (reasonably) got `invalid frontmatter: updated: missing required field;
53
+ updated_by: missing required field`. The fields are now filled in before
54
+ built-in schema validation runs, then re-stamped post-validation by
55
+ `performWrite` as before. Callers that still supply them keep working — the
56
+ server-side stamp wins, identical to the previous behavior. The MCP input
57
+ schema description now flags both fields as server-managed.
58
+
10
59
  ## [1.11.0] - 2026-05-21
11
60
 
12
61
  ### Added