@cortexkit/pi-magic-context 0.49.25 → 0.49.27

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 (39) hide show
  1. package/dist/auto-search-worker.js +4 -4
  2. package/dist/chunk-embedding-write-worker.js +8 -9
  3. package/dist/{compartment-chunk-embedding-g9a977b8.js → compartment-chunk-embedding-pkk5beqp.js} +3 -3
  4. package/dist/{embedding-backfill-qxzjy5v2.js → embedding-backfill-25fp3b8w.js} +7 -7
  5. package/dist/{index-0dr64gsy.js → index-0s14xaca.js} +2 -2
  6. package/dist/{index-n8e5e9fp.js → index-0x1c054v.js} +1 -1
  7. package/dist/{index-hxp6q5f8.js → index-48twbev2.js} +50 -36
  8. package/dist/{index-j3pz3a1b.js → index-4zemngt7.js} +1 -1
  9. package/dist/{index-d53veb5e.js → index-5d506f7y.js} +719 -23
  10. package/dist/{index-8hmqdav2.js → index-6981g1xv.js} +39 -8
  11. package/dist/{index-1g0r4req.js → index-bkcwcghx.js} +1308 -104
  12. package/dist/{index-8a2wvrda.js → index-bvpar0bg.js} +2 -5
  13. package/dist/{index-w1avzkdt.js → index-g026ztby.js} +1 -1
  14. package/dist/{index-cm9e52mb.js → index-kagezf2h.js} +18 -4
  15. package/dist/{index-wb2t932e.js → index-kmk3xpf9.js} +1 -1
  16. package/dist/{index-zn2xdbjy.js → index-sdsnb5b6.js} +8 -8
  17. package/dist/index-v0ht940m.js +488 -0
  18. package/dist/{index-cms6wfmd.js → index-vea2d9ka.js} +1 -1
  19. package/dist/{index-nxq2srg9.js → index-wjbqw6r1.js} +1 -1
  20. package/dist/{index-00c5a49f.js → index-xa90f88m.js} +3 -3
  21. package/dist/{index-fzfpq5bd.js → index-xw070axm.js} +3 -3
  22. package/dist/index.js +726 -688
  23. package/dist/{message-fts-rowid-map-1tb3qjtc.js → message-fts-rowid-map-3mbvdgn9.js} +2 -4
  24. package/dist/{message-index-bounded-yj7s7cwz.js → message-index-bounded-avbaa7wa.js} +19 -22
  25. package/dist/migration-worker.js +7 -8
  26. package/dist/{project-embedding-registry-9e82qsb6.js → project-embedding-registry-hc4ahjdt.js} +6 -6
  27. package/dist/raw-ordinal-warmup-worker.js +7 -30
  28. package/dist/{read-session-chunk-rndwjfrx.js → read-session-chunk-1rfprgc1.js} +6 -4
  29. package/dist/{read-session-raw-napqv76k.js → read-session-raw-g9b1zdn5.js} +3 -1
  30. package/dist/{search-archive-qa1sf8hc.js → search-archive-mpjeecwj.js} +5 -5
  31. package/dist/{search-2aa5kzyp.js → search-vkkfg27q.js} +13 -14
  32. package/dist/{storage-tags-r48vxthe.js → storage-tags-9qaasrky.js} +2 -2
  33. package/dist/subagent-entry.js +17 -18
  34. package/dist/tag-snapshot-worker-pi.js +9 -10
  35. package/package.json +1 -1
  36. package/dist/index-n4wyxcgr.js +0 -712
  37. package/dist/index-wrr9rp9a.js +0 -16
  38. package/dist/index-zmg1td73.js +0 -2100
  39. package/dist/message-index-fedjhja5.js +0 -58
@@ -1,16 +0,0 @@
1
- // ../plugin/src/shared/project-directory-key.ts
2
- import path from "node:path";
3
- function projectDirectoryKey(directory) {
4
- const slashed = directory.replaceAll("\\", "/").replace(/^\/\/\?\/UNC\//i, "//").replace(/^\/\/\?\//, "");
5
- if (/^[a-z]:\//i.test(slashed) || slashed.startsWith("//")) {
6
- return path.win32.normalize(slashed).replaceAll("\\", "/").replace(/\/$/, "").toLowerCase();
7
- }
8
- return path.resolve(directory);
9
- }
10
- function sameProjectDirectory(a, b) {
11
- if (a.length === 0 || b.length === 0)
12
- return false;
13
- return projectDirectoryKey(a) === projectDirectoryKey(b);
14
- }
15
-
16
- export { projectDirectoryKey, sameProjectDirectory };