paqad-ai 1.76.3 → 1.77.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 +52 -0
  2. package/dist/cli/index.js +516 -416
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/context/tokenizer-cache.js +1 -1
  5. package/dist/context/tokenizer-cache.js.map +1 -1
  6. package/dist/feature-evidence/adoption.js +4 -0
  7. package/dist/feature-evidence/adoption.js.map +1 -1
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +12 -7
  10. package/dist/index.js.map +1 -1
  11. package/dist/kernel/gate.js +4 -0
  12. package/dist/kernel/gate.js.map +1 -1
  13. package/dist/rag-ledger/session.js +4 -0
  14. package/dist/rag-ledger/session.js.map +1 -1
  15. package/dist/rule-scripts/index.js +4 -0
  16. package/dist/rule-scripts/index.js.map +1 -1
  17. package/dist/session-ledger/disabled-audit.js +4 -0
  18. package/dist/session-ledger/disabled-audit.js.map +1 -1
  19. package/dist/session-ledger/project-ledger.js +4 -0
  20. package/dist/session-ledger/project-ledger.js.map +1 -1
  21. package/dist/stage-evidence/live-writer.js +4 -0
  22. package/dist/stage-evidence/live-writer.js.map +1 -1
  23. package/dist/stage-evidence/marker-parse.js +4 -0
  24. package/dist/stage-evidence/marker-parse.js.map +1 -1
  25. package/dist/stage-evidence/narration.js +4 -0
  26. package/dist/stage-evidence/narration.js.map +1 -1
  27. package/package.json +5 -4
  28. package/runtime/AGENT-BOOTSTRAP.md +3 -3
  29. package/runtime/graph-ui/assets/index-CHm9cEbq.js +659 -0
  30. package/runtime/graph-ui/assets/index-CiHdPwRy.css +1 -0
  31. package/runtime/graph-ui/index.html +2 -2
  32. package/runtime/hooks/capability-gate.mjs +11 -14
  33. package/runtime/hooks/stage-writer.mjs +9 -15
  34. package/runtime/graph-ui/assets/index-BnR3Gb8-.css +0 -1
  35. package/runtime/graph-ui/assets/index-Y8CBg6zV.js +0 -597
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # paqad-ai
2
2
 
3
+ ## 1.77.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2a1597f: Fix: PreToolUse hooks no longer leak `{systemMessage}` into Claude Code Desktop chat
8
+
9
+ The `capability-gate` and `stage-writer` PreToolUse hooks emitted a top-level
10
+ `{systemMessage}` on their exit-0 (allow) path, on the now-false premise that a
11
+ PreToolUse `{systemMessage}` is invisible on Desktop. Claude Code now renders it
12
+ verbatim as `PreToolUse:<Tool> says:` lines — the same regression class as the
13
+ `Stop says:` leak — spamming framework prose into chat on every edit. Both allow
14
+ paths now emit nothing user-facing (the model speaks the narration; the ledger
15
+ write is retained; the strict/blocking path is unchanged). The narration-contract
16
+ channel table and the regenerated bootstrap are corrected to match.
17
+
18
+ ## 1.77.0
19
+
20
+ ### Minor Changes
21
+
22
+ - e262aaa: Rebuild the Site map dashboard canvas as an interactive city map (issue #489).
23
+
24
+ On real, edge-sparse maps (this repo's own: 92 surfaces, 0 transitions) the previous
25
+ canvas degenerated into an illegible vertical sliver, could not zoom to legibility, and
26
+ leaked pinch-zoom to the whole page. The canvas now runs on React Flow 12 with a
27
+ deterministic containment-first district layout of our own:
28
+
29
+ - **Districts carry the structure.** Areas render as tinted district rectangles with a
30
+ surface-card grid inside; a zero-transition map is a first-class citizen. Correct
31
+ gesture substrate (cursor-anchored zoom, pinch, non-passive wheel, scroll-pans-by-default
32
+ with a per-user setting, minimap) replaces the hand-rolled pan/zoom.
33
+ - **Journeys are metro lines.** Each journey draws as a colored polyline through its own
34
+ ordered stations (no transitions needed), with walk-mode camera flights, numbered
35
+ stations, interchange rings, semantic-zoom levels of detail, and a cmd/ctrl+K search that
36
+ flies to a surface, area, or journey. All motion respects `prefers-reduced-motion`.
37
+ - **The map wears its verification state.** Trust tier changes a surface's rendering
38
+ (solid/dashed/sketch, distinguishable without color), unverified surfaces sit under
39
+ honest fog, and a payload-derived insight line plus a gaps chip surface dead surfaces,
40
+ dangling targets, and broken journey references.
41
+ - **Team-shared curation.** Districts are draggable; the arrangement persists to
42
+ `docs/site-map/layout.yaml` through the dashboard's audited write path (refused in
43
+ `--read-only`), and a stored district is pinned and never auto-reflowed.
44
+
45
+ Everything still renders statically from `GET /api/site-map/map` with no LLM at view time;
46
+ the #466 data model, detail panel, honesty strip, list toggle, and SSE live-reload are
47
+ unchanged.
48
+
49
+ ### Patch Changes
50
+
51
+ - d5059ce: Drop the `npm warn deprecated prebuild-install@7.1.3` warning shown on `npm install -g paqad-ai`.
52
+
53
+ The warning came from the local-embeddings dependency `@xenova/transformers@2.17.2` (the last release under that scope), which pulled `sharp@^0.32` and its deprecated `prebuild-install`. Migrated to the renamed, maintained `@huggingface/transformers@^3.8.0`, which uses `sharp@^0.34` (no `prebuild-install`) and satisfies the `voyageai` peer range, so no new install warning is introduced. Model repo ids are unchanged and the pipelines pin `dtype: 'q8'`, preserving the previous quantized download size and embedding/rerank output.
54
+
3
55
  ## 1.76.3
4
56
 
5
57
  ### Patch Changes