@skill-map/cli 0.20.1 → 0.21.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.
Files changed (37) hide show
  1. package/dist/cli/tutorial/sm-tutorial.md +93 -14
  2. package/dist/cli.js +1332 -339
  3. package/dist/cli.js.map +1 -1
  4. package/dist/index.js +300 -238
  5. package/dist/index.js.map +1 -1
  6. package/dist/kernel/index.d.ts +91 -11
  7. package/dist/kernel/index.js +300 -238
  8. package/dist/kernel/index.js.map +1 -1
  9. package/dist/migrations/001_initial.sql +13 -0
  10. package/dist/ui/chunk-25AWRVIC.js +965 -0
  11. package/dist/ui/chunk-6FTVUS57.js +123 -0
  12. package/dist/ui/{chunk-4NLC7QD2.js → chunk-GXRWH2VL.js} +1 -1
  13. package/dist/ui/chunk-MF2M6GYF.js +1 -0
  14. package/dist/ui/{chunk-EZZF5RL5.js → chunk-MPMBTIUR.js} +2 -2
  15. package/dist/ui/chunk-N366HMME.js +1 -0
  16. package/dist/ui/{chunk-6GUHSAP5.js → chunk-OPPQMCMQ.js} +1 -1
  17. package/dist/ui/chunk-V3SZQETX.js +61 -0
  18. package/dist/ui/{chunk-E4ALROJS.js → chunk-VVOEPDQD.js} +1 -1
  19. package/dist/ui/{chunk-6BZZQV42.js → chunk-W2EFGI3J.js} +1 -1
  20. package/dist/ui/chunk-W62WVNU4.js +251 -0
  21. package/dist/ui/index.html +2 -10
  22. package/dist/ui/main-NIYE2VFS.js +2 -0
  23. package/dist/ui/media/fa-brands-400-AHOAZHCU.woff2 +0 -0
  24. package/dist/ui/media/fa-regular-400-VRZYIBIZ.woff2 +0 -0
  25. package/dist/ui/media/fa-solid-900-MDEYK55F.woff2 +0 -0
  26. package/dist/ui/media/fa-v4compatibility-ETEVP6IB.woff2 +0 -0
  27. package/dist/ui/styles-M2FETVAG.css +1 -0
  28. package/migrations/001_initial.sql +13 -0
  29. package/package.json +2 -2
  30. package/dist/ui/chunk-FWX4RRDF.js +0 -125
  31. package/dist/ui/chunk-GGMXMGRJ.js +0 -1
  32. package/dist/ui/chunk-K5PULFK7.js +0 -1
  33. package/dist/ui/chunk-OJ6W6OIB.js +0 -61
  34. package/dist/ui/chunk-PTCD42GB.js +0 -247
  35. package/dist/ui/chunk-ZSRIBCAW.js +0 -965
  36. package/dist/ui/main-5FJWWH5I.js +0 -1
  37. package/dist/ui/styles-VJ5Q6D2X.css +0 -1
@@ -267,11 +267,24 @@ CREATE TABLE scan_meta (
267
267
  -- requiring a full cache invalidation. Replace-all on every persist:
268
268
  -- obsolete rows (extractor uninstalled since the last scan) disappear
269
269
  -- automatically and cannot mask a stale cache hit.
270
+ --
271
+ -- `sidecar_annotations_hash_at_run` participates in the cache key
272
+ -- alongside `body_hash_at_run`. Without it the cache silently reused
273
+ -- prior contributions after a `.sm`-only edit (`core/stability`,
274
+ -- `core/annotations`, any other sidecar-reading extractor). The column
275
+ -- is NOT NULL — every emitter writes the SHA-256 of the canonical-form
276
+ -- `node.sidecar.annotations` (`'{}'` when the sidecar is absent or
277
+ -- carries no annotations). The cache decision consults the hash
278
+ -- unconditionally; an author-facing opt-in flag was rejected because
279
+ -- forgetting it produces silent stale-data bugs and the cost of
280
+ -- universal invalidation (one extractor re-run on `.sm` edits) is
281
+ -- negligible.
270
282
 
271
283
  CREATE TABLE scan_extractor_runs (
272
284
  node_path TEXT NOT NULL,
273
285
  extractor_id TEXT NOT NULL,
274
286
  body_hash_at_run TEXT NOT NULL,
287
+ sidecar_annotations_hash_at_run TEXT NOT NULL,
275
288
  ran_at INTEGER NOT NULL,
276
289
  PRIMARY KEY (node_path, extractor_id)
277
290
  );