token-goat 2.9.19 → 2.9.21

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 (50) hide show
  1. package/README.md +3 -1
  2. package/dist/{token-goat-chunk-JNIFSVWM.mjs → token-goat-chunk-2ZHD3XCD.mjs} +5 -1
  3. package/dist/{token-goat-chunk-P46RTOAQ.mjs → token-goat-chunk-4IIU3GNS.mjs} +10 -7
  4. package/dist/{token-goat-chunk-2GTB5RBZ.mjs → token-goat-chunk-4V4OZHHV.mjs} +11 -271
  5. package/dist/token-goat-chunk-64OEF3UN.mjs +128 -0
  6. package/dist/{token-goat-chunk-AVRD7SBO.mjs → token-goat-chunk-6AQLZMCO.mjs} +270 -29
  7. package/dist/{token-goat-chunk-LACH3WKS.mjs → token-goat-chunk-BIEDTF6V.mjs} +3 -3
  8. package/dist/{token-goat-chunk-PIAESKVU.mjs → token-goat-chunk-BKHJRFDE.mjs} +568 -429
  9. package/dist/token-goat-chunk-CAHN4QU7.mjs +26 -0
  10. package/dist/{token-goat-chunk-MU6I4IDI.mjs → token-goat-chunk-CMAJGP3E.mjs} +11 -7
  11. package/dist/token-goat-chunk-CMHBTXMY.mjs +41 -0
  12. package/dist/{token-goat-chunk-HPMMLV37.mjs → token-goat-chunk-CZ5ZFJSN.mjs} +256 -341
  13. package/dist/{token-goat-chunk-7DGTVBWP.mjs → token-goat-chunk-DDP64XR7.mjs} +159 -1863
  14. package/dist/{token-goat-chunk-FX5DHKGF.mjs → token-goat-chunk-DISVHOW6.mjs} +4 -4
  15. package/dist/{token-goat-chunk-L2UOJBV4.mjs → token-goat-chunk-FZN77SZD.mjs} +27 -19
  16. package/dist/{token-goat-chunk-DA6TIDLI.mjs → token-goat-chunk-GO7OWONJ.mjs} +18 -13
  17. package/dist/{token-goat-chunk-EP7TCWHM.mjs → token-goat-chunk-IAMIQLCV.mjs} +83 -66
  18. package/dist/{token-goat-chunk-NJKNAC37.mjs → token-goat-chunk-IJUHQX2M.mjs} +1 -1
  19. package/dist/token-goat-chunk-KQI24O4B.mjs +292 -0
  20. package/dist/{token-goat-chunk-GYC34EGE.mjs → token-goat-chunk-KRPJIXCT.mjs} +2 -2
  21. package/dist/token-goat-chunk-KVAXTA2W.mjs +198 -0
  22. package/dist/{token-goat-chunk-FJZ5MZK7.mjs → token-goat-chunk-LK3YOKDF.mjs} +2 -2
  23. package/dist/token-goat-chunk-M43UJVYQ.mjs +1816 -0
  24. package/dist/{token-goat-chunk-SOKAPOOC.mjs → token-goat-chunk-M6CDVASA.mjs} +46 -47
  25. package/dist/token-goat-chunk-MECDAPXB.mjs +1989 -0
  26. package/dist/token-goat-chunk-MEKVJZUN.mjs +324 -0
  27. package/dist/token-goat-chunk-MQACN7VG.mjs +1379 -0
  28. package/dist/{token-goat-chunk-3W5P673V.mjs → token-goat-chunk-MZQORUX5.mjs} +1 -1
  29. package/dist/{token-goat-chunk-DHIXE6GV.mjs → token-goat-chunk-ORRDWKLA.mjs} +1 -1
  30. package/dist/{token-goat-chunk-F24NE3FO.mjs → token-goat-chunk-PCR43MCM.mjs} +2 -2
  31. package/dist/token-goat-chunk-PDYQA3AP.mjs +248 -0
  32. package/dist/{token-goat-chunk-S7RFIX4Y.mjs → token-goat-chunk-PHDNWISV.mjs} +45 -14
  33. package/dist/token-goat-chunk-PPYZS7TI.mjs +304 -0
  34. package/dist/{token-goat-chunk-BTKDZW7F.mjs → token-goat-chunk-QTIRVK3M.mjs} +1 -1
  35. package/dist/{token-goat-chunk-62VJ47WN.mjs → token-goat-chunk-QUM3UNWS.mjs} +5 -5
  36. package/dist/{token-goat-chunk-KWM6KBPA.mjs → token-goat-chunk-SHV6QQAS.mjs} +1 -1
  37. package/dist/{token-goat-chunk-FQYMZASI.mjs → token-goat-chunk-SMUYPBF5.mjs} +796 -4464
  38. package/dist/{token-goat-chunk-ZGQXRYKE.mjs → token-goat-chunk-TGBSMHPM.mjs} +1 -1
  39. package/dist/{token-goat-chunk-EXLLLIC3.mjs → token-goat-chunk-VXKT3W4C.mjs} +3 -3
  40. package/dist/{token-goat-chunk-WKO5TVNA.mjs → token-goat-chunk-XJUPKJF5.mjs} +544 -576
  41. package/dist/{token-goat-chunk-IBTFGZBX.mjs → token-goat-chunk-XQSSPX3X.mjs} +2 -2
  42. package/dist/{token-goat-chunk-VJQBYSXG.mjs → token-goat-chunk-ZJWPJL7O.mjs} +3 -3
  43. package/dist/token-goat-hook.mjs +17 -11
  44. package/dist/token-goat.core.mjs +27 -19
  45. package/docs/C4_RUNTIME_ARCHITECTURE.md +1 -1
  46. package/docs/cli.md +13 -12
  47. package/docs/install.md +1 -1
  48. package/docs/security.md +2 -2
  49. package/package.json +3 -2
  50. package/dist/token-goat-chunk-NYFYIRG3.mjs +0 -35
@@ -10,13 +10,13 @@ import {
10
10
  querySheet,
11
11
  rangeSheet,
12
12
  xlsxColumns
13
- } from "./token-goat-chunk-FJZ5MZK7.mjs";
14
- import "./token-goat-chunk-KWM6KBPA.mjs";
13
+ } from "./token-goat-chunk-LK3YOKDF.mjs";
14
+ import "./token-goat-chunk-SHV6QQAS.mjs";
15
15
  import "./token-goat-chunk-3BTK54F3.mjs";
16
- import "./token-goat-chunk-BTKDZW7F.mjs";
16
+ import "./token-goat-chunk-QTIRVK3M.mjs";
17
17
  import "./token-goat-chunk-XTQAOTSO.mjs";
18
18
  import "./token-goat-chunk-AH6QILZM.mjs";
19
- import "./token-goat-chunk-ZGQXRYKE.mjs";
19
+ import "./token-goat-chunk-TGBSMHPM.mjs";
20
20
  import "./token-goat-chunk-NMTKNYGF.mjs";
21
21
  import "./token-goat-chunk-Y4AFKTHK.mjs";
22
22
  import "./token-goat-chunk-GMOUBOX4.mjs";
@@ -70,35 +70,43 @@ import {
70
70
  requirePositiveInt,
71
71
  run,
72
72
  visualStudioManualSteps
73
- } from "./token-goat-chunk-WKO5TVNA.mjs";
74
- import "./token-goat-chunk-GYC34EGE.mjs";
75
- import "./token-goat-chunk-PIAESKVU.mjs";
76
- import "./token-goat-chunk-F24NE3FO.mjs";
73
+ } from "./token-goat-chunk-XJUPKJF5.mjs";
74
+ import "./token-goat-chunk-KRPJIXCT.mjs";
75
+ import "./token-goat-chunk-PPYZS7TI.mjs";
76
+ import "./token-goat-chunk-64OEF3UN.mjs";
77
+ import "./token-goat-chunk-BKHJRFDE.mjs";
78
+ import "./token-goat-chunk-PCR43MCM.mjs";
77
79
  import "./token-goat-chunk-DA43OE7L.mjs";
78
80
  import {
79
81
  cmdDescribe,
80
82
  cmdSessionSchema
81
- } from "./token-goat-chunk-2GTB5RBZ.mjs";
82
- import "./token-goat-chunk-FQYMZASI.mjs";
83
- import "./token-goat-chunk-7DGTVBWP.mjs";
84
- import "./token-goat-chunk-S7RFIX4Y.mjs";
83
+ } from "./token-goat-chunk-4V4OZHHV.mjs";
84
+ import "./token-goat-chunk-KQI24O4B.mjs";
85
+ import "./token-goat-chunk-PDYQA3AP.mjs";
86
+ import "./token-goat-chunk-SMUYPBF5.mjs";
87
+ import "./token-goat-chunk-DDP64XR7.mjs";
88
+ import "./token-goat-chunk-MQACN7VG.mjs";
89
+ import "./token-goat-chunk-MECDAPXB.mjs";
90
+ import "./token-goat-chunk-MEKVJZUN.mjs";
91
+ import "./token-goat-chunk-M43UJVYQ.mjs";
92
+ import "./token-goat-chunk-PHDNWISV.mjs";
85
93
  import "./token-goat-chunk-LKSXAMJB.mjs";
86
- import "./token-goat-chunk-DHIXE6GV.mjs";
87
- import "./token-goat-chunk-3W5P673V.mjs";
88
- import "./token-goat-chunk-FJZ5MZK7.mjs";
89
- import "./token-goat-chunk-KWM6KBPA.mjs";
94
+ import "./token-goat-chunk-ORRDWKLA.mjs";
95
+ import "./token-goat-chunk-MZQORUX5.mjs";
96
+ import "./token-goat-chunk-LK3YOKDF.mjs";
97
+ import "./token-goat-chunk-SHV6QQAS.mjs";
90
98
  import "./token-goat-chunk-3BTK54F3.mjs";
91
- import "./token-goat-chunk-BTKDZW7F.mjs";
99
+ import "./token-goat-chunk-QTIRVK3M.mjs";
92
100
  import "./token-goat-chunk-XTQAOTSO.mjs";
93
101
  import "./token-goat-chunk-AH6QILZM.mjs";
94
- import "./token-goat-chunk-NJKNAC37.mjs";
95
- import "./token-goat-chunk-EP7TCWHM.mjs";
96
- import "./token-goat-chunk-IBTFGZBX.mjs";
97
- import "./token-goat-chunk-JNIFSVWM.mjs";
98
- import "./token-goat-chunk-SOKAPOOC.mjs";
102
+ import "./token-goat-chunk-IJUHQX2M.mjs";
103
+ import "./token-goat-chunk-IAMIQLCV.mjs";
104
+ import "./token-goat-chunk-XQSSPX3X.mjs";
105
+ import "./token-goat-chunk-2ZHD3XCD.mjs";
106
+ import "./token-goat-chunk-M6CDVASA.mjs";
99
107
  import "./token-goat-chunk-EEIDFMEM.mjs";
100
108
  import "./token-goat-chunk-OSUFN2FV.mjs";
101
- import "./token-goat-chunk-ZGQXRYKE.mjs";
109
+ import "./token-goat-chunk-TGBSMHPM.mjs";
102
110
  import "./token-goat-chunk-NMTKNYGF.mjs";
103
111
  import "./token-goat-chunk-Y4AFKTHK.mjs";
104
112
  import "./token-goat-chunk-GMOUBOX4.mjs";
@@ -26,43 +26,48 @@ import {
26
26
  runSkeleton,
27
27
  runSymbol,
28
28
  withPinnedReads
29
- } from "./token-goat-chunk-PIAESKVU.mjs";
30
- import "./token-goat-chunk-F24NE3FO.mjs";
29
+ } from "./token-goat-chunk-BKHJRFDE.mjs";
30
+ import "./token-goat-chunk-PCR43MCM.mjs";
31
31
  import "./token-goat-chunk-DA43OE7L.mjs";
32
32
  import {
33
33
  buildProjectMap,
34
- claudeConfigDir,
35
34
  formatProjectMap,
36
35
  getDirtyPathsFor,
37
36
  getEmbeddingCoverage,
38
37
  getProjectIndexCounts,
39
38
  isWorkerRunning,
40
39
  mapLookupBytesSaved
41
- } from "./token-goat-chunk-FQYMZASI.mjs";
42
- import "./token-goat-chunk-7DGTVBWP.mjs";
40
+ } from "./token-goat-chunk-SMUYPBF5.mjs";
41
+ import "./token-goat-chunk-DDP64XR7.mjs";
42
+ import "./token-goat-chunk-MQACN7VG.mjs";
43
+ import "./token-goat-chunk-MECDAPXB.mjs";
44
+ import {
45
+ claudeConfigDir
46
+ } from "./token-goat-chunk-MEKVJZUN.mjs";
47
+ import "./token-goat-chunk-M43UJVYQ.mjs";
43
48
  import {
44
49
  recordStat,
45
50
  savedTokensFromBytes
46
- } from "./token-goat-chunk-S7RFIX4Y.mjs";
51
+ } from "./token-goat-chunk-PHDNWISV.mjs";
47
52
  import "./token-goat-chunk-LKSXAMJB.mjs";
48
- import "./token-goat-chunk-KWM6KBPA.mjs";
53
+ import "./token-goat-chunk-SHV6QQAS.mjs";
49
54
  import "./token-goat-chunk-3BTK54F3.mjs";
50
55
  import "./token-goat-chunk-XTQAOTSO.mjs";
51
56
  import "./token-goat-chunk-AH6QILZM.mjs";
52
- import "./token-goat-chunk-NJKNAC37.mjs";
57
+ import "./token-goat-chunk-IJUHQX2M.mjs";
53
58
  import {
54
59
  checkEmbeddingPreflight,
55
60
  embeddingsDepsAvailable
56
- } from "./token-goat-chunk-EP7TCWHM.mjs";
57
- import "./token-goat-chunk-IBTFGZBX.mjs";
61
+ } from "./token-goat-chunk-IAMIQLCV.mjs";
62
+ import "./token-goat-chunk-XQSSPX3X.mjs";
58
63
  import {
59
64
  getDb
60
- } from "./token-goat-chunk-JNIFSVWM.mjs";
65
+ } from "./token-goat-chunk-2ZHD3XCD.mjs";
61
66
  import {
62
67
  envStrList,
63
68
  loadConfig,
64
69
  resolveProjectRoot
65
- } from "./token-goat-chunk-SOKAPOOC.mjs";
70
+ } from "./token-goat-chunk-M6CDVASA.mjs";
66
71
  import "./token-goat-chunk-EEIDFMEM.mjs";
67
72
  import "./token-goat-chunk-OSUFN2FV.mjs";
68
73
  import {
@@ -72,7 +77,7 @@ import {
72
77
  extractErrorMessage,
73
78
  foldCaseForContainment,
74
79
  globalDbPath
75
- } from "./token-goat-chunk-ZGQXRYKE.mjs";
80
+ } from "./token-goat-chunk-TGBSMHPM.mjs";
76
81
  import {
77
82
  displaySafeJson,
78
83
  normalizePath
@@ -4,7 +4,7 @@ import {
4
4
  pathEqClause,
5
5
  projectScopeClause,
6
6
  querySymbols
7
- } from "./token-goat-chunk-IBTFGZBX.mjs";
7
+ } from "./token-goat-chunk-XQSSPX3X.mjs";
8
8
  import {
9
9
  TREE_SITTER_LANGUAGES,
10
10
  _detectOpenQuote,
@@ -21,11 +21,11 @@ import {
21
21
  stripJsComments,
22
22
  stripStringLiterals,
23
23
  stripXmlComments
24
- } from "./token-goat-chunk-JNIFSVWM.mjs";
24
+ } from "./token-goat-chunk-2ZHD3XCD.mjs";
25
25
  import {
26
26
  fingerprintContent,
27
27
  loadConfig
28
- } from "./token-goat-chunk-SOKAPOOC.mjs";
28
+ } from "./token-goat-chunk-M6CDVASA.mjs";
29
29
  import {
30
30
  registerReset
31
31
  } from "./token-goat-chunk-EEIDFMEM.mjs";
@@ -39,7 +39,7 @@ import {
39
39
  foldPath,
40
40
  globalDbPath,
41
41
  isCaseInsensitiveFs
42
- } from "./token-goat-chunk-ZGQXRYKE.mjs";
42
+ } from "./token-goat-chunk-TGBSMHPM.mjs";
43
43
  import {
44
44
  displaySafeText,
45
45
  normalizePath
@@ -74,11 +74,11 @@ async function extractEmbeddableDocumentText(filePath) {
74
74
  return text;
75
75
  }
76
76
  case ".docx":
77
- return await (await import("./token-goat-chunk-EXLLLIC3.mjs")).docxText(filePath);
77
+ return await (await import("./token-goat-chunk-VXKT3W4C.mjs")).docxText(filePath);
78
78
  case ".pptx":
79
- return await (await import("./token-goat-chunk-LACH3WKS.mjs")).pptxAllSlidesText(filePath, true);
79
+ return await (await import("./token-goat-chunk-BIEDTF6V.mjs")).pptxAllSlidesText(filePath, true);
80
80
  case ".xlsx":
81
- return await (await import("./token-goat-chunk-FX5DHKGF.mjs")).allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
81
+ return await (await import("./token-goat-chunk-DISVHOW6.mjs")).allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
82
82
  default:
83
83
  return null;
84
84
  }
@@ -309,7 +309,7 @@ var BertWordPiece = class _BertWordPiece {
309
309
  var _require = createRequire(import.meta.url);
310
310
  var DEFAULT_MODEL = "Xenova/bge-small-en-v1.5";
311
311
  var DEFAULT_DIM = 384;
312
- var DEFAULT_EMBED_THREADS = 2;
312
+ var DEFAULT_EMBED_THREADS = 4;
313
313
  var PINNED_MODEL_REVISION = "ea104dacec62c0de699686887e3f920caeb4f3e3";
314
314
  var MODEL_FILES = [
315
315
  {
@@ -697,13 +697,13 @@ init_define_import_meta_env();
697
697
 
698
698
  // src/embed_fingerprint.ts
699
699
  init_define_import_meta_env();
700
- var EMBED_FINGERPRINT = "09d9e67fa7a822f0";
700
+ var EMBED_FINGERPRINT = "702c126bffd8439e";
701
701
  var EMBED_KIND_FINGERPRINTS = /* @__PURE__ */ new Map([
702
- ["docx", "cfbf232abfe8b972"],
703
- ["markdown", "ed197b9b0c1124d9"],
704
- ["pdf", "34e7e695b086e47b"],
705
- ["pptx", "808203b7f6f26822"],
706
- ["xlsx", "87d97745a0dc6b85"]
702
+ ["docx", "a39e82e795d46ed1"],
703
+ ["markdown", "c65dd62705244608"],
704
+ ["pdf", "9a0ea76d66dfd358"],
705
+ ["pptx", "b60b30cb38a801e2"],
706
+ ["xlsx", "e5b358c460b6507f"]
707
707
  ]);
708
708
  var PRE_KIND_EMBED_FINGERPRINT = "b7b2ff71de288d13";
709
709
  var SPLIT_EMBED_FINGERPRINT = "2310db32d9bc8a2b";
@@ -1469,57 +1469,60 @@ init_define_import_meta_env();
1469
1469
 
1470
1470
  // src/parser_fingerprint.ts
1471
1471
  init_define_import_meta_env();
1472
- var PARSER_FINGERPRINT = "50e28a938598adc3";
1472
+ var PARSER_FINGERPRINT = "6aa8597ec9d03c45";
1473
1473
  var LANGUAGE_PARSER_FINGERPRINTS = /* @__PURE__ */ new Map([
1474
- ["abap", "c27b615fd1e3d0ae"],
1475
- ["abl", "8e8b45045f728f85"],
1476
- ["apex", "546947e386330fa7"],
1477
- ["asm", "8af853e890aabc4d"],
1478
- ["bash", "7c5de1432ec76aaa"],
1479
- ["batch", "23cd0210524383a9"],
1480
- ["clojure", "19e80acd48cb3845"],
1481
- ["cmake", "87ee9ef26bcb3404"],
1482
- ["common_lisp", "61e24d550e8110cf"],
1483
- ["csharp", "564c98ab9df034a1"],
1484
- ["dart", "d0fa0a6695c18a75"],
1485
- ["elixir", "7ac1b17ec1512657"],
1486
- ["emacs_lisp", "c70f99530c1e4f75"],
1487
- ["erlang", "65a4f827d0bfd3dc"],
1488
- ["fortran", "2568582b68b70e7b"],
1489
- ["fsharp", "050c93e745f27ccb"],
1490
- ["graphql", "4c32faeccc16c581"],
1491
- ["groovy", "ac99c133c972726a"],
1492
- ["haskell", "0b379a28adab818c"],
1493
- ["jcl", "304cdefba0bf1a8f"],
1494
- ["kotlin", "e599a308cbfa4e5e"],
1495
- ["liquid", "4eb183a9e3516a51"],
1496
- ["lua", "0428840b251971b4"],
1497
- ["makefile", "543fa6d789911d63"],
1498
- ["matlab", "a5264af40b3262a7"],
1499
- ["nix", "9bf6bdb2ded8f8fc"],
1500
- ["objc", "41ec1e0eb7bf9008"],
1501
- ["ocaml", "540c7a46253af516"],
1502
- ["pascal", "da41a90998923f24"],
1503
- ["perl", "1deb223827bcafc9"],
1504
- ["php", "1686c9fffae2fbd2"],
1505
- ["pli", "96a0719e3b4d45f1"],
1506
- ["powershell", "fe3d53d563d25807"],
1507
- ["proto", "d3759b07cb8e6ec6"],
1508
- ["r", "e761fe84bc60a181"],
1509
- ["racket", "07f032b125b60118"],
1510
- ["rpg", "fbc46fd9aa1e7ed0"],
1511
- ["salesforce_metadata", "c072823a101fc371"],
1512
- ["sas", "2b42c5afda0f795b"],
1513
- ["scala", "71617a1a856545fe"],
1514
- ["scheme", "13c8c817daa4fe4b"],
1515
- ["solidity", "376397d925ea1bf6"],
1516
- ["sql", "ebd22cedc1ce7e09"],
1517
- ["swift", "86645b284e98e21b"],
1518
- ["terraform", "d188afbf616c4f2c"],
1519
- ["thrift", "7761f38e67391431"],
1520
- ["vb", "b63f7a33e68a2a69"],
1521
- ["vhdl", "526c52e2a0ab75ae"],
1522
- ["zig", "8c6199f1727a0684"]
1474
+ ["abap", "f04854be73660475"],
1475
+ ["abl", "92fd58c2ee0b918b"],
1476
+ ["apache", "7c95ef50634c1e09"],
1477
+ ["apex", "be6bbaefcb5acddb"],
1478
+ ["asm", "35e5d09b5cfbdb5f"],
1479
+ ["bash", "98979a536200c7c9"],
1480
+ ["batch", "9db39636b1d69081"],
1481
+ ["caddy", "76dba4266f9139dd"],
1482
+ ["clojure", "cfb5e36a85980247"],
1483
+ ["cmake", "6186c70e61c9d839"],
1484
+ ["common_lisp", "e0a4e8032901773b"],
1485
+ ["csharp", "75e6ce02f1b0f78a"],
1486
+ ["dart", "2284bca2faefe5fb"],
1487
+ ["elixir", "d63188b2f0c64139"],
1488
+ ["emacs_lisp", "98ea21315946c308"],
1489
+ ["erlang", "0471440a285fc4cb"],
1490
+ ["fortran", "c3b563bc9ce74947"],
1491
+ ["fsharp", "a9476da9ac62bbc9"],
1492
+ ["graphql", "c9b2180a2a0af6b0"],
1493
+ ["groovy", "8442e7c34152b2b2"],
1494
+ ["haskell", "23dec895c732def8"],
1495
+ ["jcl", "73a786da77c4db23"],
1496
+ ["kotlin", "ab4460277c29b952"],
1497
+ ["liquid", "6cc72f94e2d6ba68"],
1498
+ ["lua", "75f1e747e58a9d15"],
1499
+ ["makefile", "5c73d6f841946735"],
1500
+ ["matlab", "9f6e3c63639e078e"],
1501
+ ["nginx", "7ebbbaf472f741da"],
1502
+ ["nix", "d94c2fd10455cb4b"],
1503
+ ["objc", "27764c4b2f960cf3"],
1504
+ ["ocaml", "9566d1d93ca334bf"],
1505
+ ["pascal", "e3ba20a3551174e4"],
1506
+ ["perl", "56b8de695b8acacf"],
1507
+ ["php", "e2f49f0a0b595a16"],
1508
+ ["pli", "c1821a23de239675"],
1509
+ ["powershell", "a3b02edf7b027c66"],
1510
+ ["proto", "a2f887c45f9bf1d2"],
1511
+ ["r", "806be2f03be7dd1f"],
1512
+ ["racket", "b093081d200e8d68"],
1513
+ ["rpg", "4c9668b3c61396e6"],
1514
+ ["salesforce_metadata", "03e76181b0045245"],
1515
+ ["sas", "bf7c36acb99e0759"],
1516
+ ["scala", "f7198d0d39def4ae"],
1517
+ ["scheme", "d905c93ab9e766a8"],
1518
+ ["solidity", "7766122d1f3c7cbc"],
1519
+ ["sql", "824fcaff44f3ed5c"],
1520
+ ["swift", "b18ac1ef016d5137"],
1521
+ ["terraform", "fac96a1cef8d11e5"],
1522
+ ["thrift", "cf18f8d114adfd6f"],
1523
+ ["vb", "78c117ff3d925cf1"],
1524
+ ["vhdl", "62c11e0fb39472ad"],
1525
+ ["zig", "80c5e52bbe1455fb"]
1523
1526
  ]);
1524
1527
 
1525
1528
  // src/parser_stamp.ts
@@ -3776,6 +3779,18 @@ function boundSymbolDocstring(docstring) {
3776
3779
  if (cutsSurrogatePair) end -= 1;
3777
3780
  return docstring.slice(0, Math.max(0, end)) + DOCSTRING_TRUNCATION_MARKER;
3778
3781
  }
3782
+ var MAX_REF_CONTEXT_CHARS = 2048;
3783
+ var REF_CONTEXT_ELISION = " [\u2026] ";
3784
+ function boundRefContext(context, col) {
3785
+ if (context.length <= MAX_REF_CONTEXT_CHARS) return context;
3786
+ const budget = MAX_REF_CONTEXT_CHARS - REF_CONTEXT_ELISION.length * 2;
3787
+ const centre = Math.min(Math.max(col, 0), context.length);
3788
+ let start = Math.max(0, Math.min(centre - Math.floor(budget / 2), context.length - budget));
3789
+ let end = start + budget;
3790
+ if (start > 0 && context.charCodeAt(start) >= 56320 && context.charCodeAt(start) <= 57343) start += 1;
3791
+ if (end < context.length && context.charCodeAt(end - 1) >= 55296 && context.charCodeAt(end - 1) <= 56319) end -= 1;
3792
+ return (start > 0 ? REF_CONTEXT_ELISION : "") + context.slice(start, end) + (end < context.length ? REF_CONTEXT_ELISION : "");
3793
+ }
3779
3794
  function loadGrammar(lang, filePath, content) {
3780
3795
  const useTsx = lang === "typescript" && filePath !== void 0 && path6.extname(filePath).toLowerCase() === ".tsx";
3781
3796
  const useCppHeader = lang === "c" && filePath !== void 0 && path6.extname(filePath).toLowerCase() === ".h" && content !== void 0 && CPP_HEADER_SNIFF_RE.test(content);
@@ -3914,7 +3929,7 @@ function parseSourceSymbolsTreeSitterOnly(content, filePath, language) {
3914
3929
  var REGEX_ADAPTERS_SLOT = /* @__PURE__ */ Symbol.for("token-goat.regex-adapters");
3915
3930
  var adapterSlot = globalThis;
3916
3931
  async function loadRegexExtractors() {
3917
- adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-AVRD7SBO.mjs");
3932
+ adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-6AQLZMCO.mjs");
3918
3933
  }
3919
3934
  function regexAdapters() {
3920
3935
  const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
@@ -4029,7 +4044,7 @@ function writeParseResult(filePath, content, result, dbPath) {
4029
4044
  );
4030
4045
  for (const r of result.refs) {
4031
4046
  if (r.name === "" || COMPILER_ARTIFACT_REF_NAMES.has(r.name)) continue;
4032
- insRef.run(r.filePath, r.name, r.line, r.col, r.context);
4047
+ insRef.run(r.filePath, r.name, r.line, r.col, boundRefContext(r.context, r.col));
4033
4048
  }
4034
4049
  });
4035
4050
  writeAll.immediate();
@@ -4816,6 +4831,8 @@ export {
4816
4831
  deleteFileRows,
4817
4832
  isParseSkipEligible,
4818
4833
  indexFileSync,
4834
+ assetEmbedSha,
4835
+ maxChunksEmbedSha,
4819
4836
  indexedPathSpellingIsStale,
4820
4837
  isEmbedFresh,
4821
4838
  indexFileEmbeddings,
@@ -10,7 +10,7 @@ import {
10
10
  stripMultilineStringSpan,
11
11
  stripNestedBlockCommentSpan,
12
12
  stripStringLiterals
13
- } from "./token-goat-chunk-JNIFSVWM.mjs";
13
+ } from "./token-goat-chunk-2ZHD3XCD.mjs";
14
14
  import {
15
15
  init_define_import_meta_env
16
16
  } from "./token-goat-chunk-A37V4PBF.mjs";