token-goat 2.9.18 → 2.9.20

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 (55) hide show
  1. package/README.md +5 -1
  2. package/dist/token-goat-chunk-2CLWWRFR.mjs +26 -0
  3. package/dist/{token-goat-chunk-LTYWLKAG.mjs → token-goat-chunk-2Q3N5KUQ.mjs} +1283 -1012
  4. package/dist/{token-goat-chunk-6LGVCCMY.mjs → token-goat-chunk-3OGZOFLS.mjs} +26 -16
  5. package/dist/{token-goat-chunk-QML7ITHJ.mjs → token-goat-chunk-3VTJC7KU.mjs} +693 -438
  6. package/dist/{token-goat-chunk-QIDLJGXZ.mjs → token-goat-chunk-6LJNM4ZZ.mjs} +29 -5
  7. package/dist/{token-goat-chunk-CA6V36KW.mjs → token-goat-chunk-74ADIZZX.mjs} +68 -50
  8. package/dist/{token-goat-chunk-52IMXJ2L.mjs → token-goat-chunk-ASTBLE2R.mjs} +4 -4
  9. package/dist/token-goat-chunk-AU2K2QHR.mjs +20 -0
  10. package/dist/token-goat-chunk-BQIC3AVL.mjs +292 -0
  11. package/dist/token-goat-chunk-CBXLE54Q.mjs +30 -0
  12. package/dist/{token-goat-chunk-LMFO66YD.mjs → token-goat-chunk-DA43OE7L.mjs} +1 -1
  13. package/dist/{token-goat-chunk-ARNRFR6M.mjs → token-goat-chunk-DNAF26L4.mjs} +1 -1
  14. package/dist/{token-goat-chunk-BFEWOMA3.mjs → token-goat-chunk-DPHJU3P7.mjs} +1186 -4573
  15. package/dist/{token-goat-chunk-OWSJJY5R.mjs → token-goat-chunk-DW4VKU7D.mjs} +5 -5
  16. package/dist/token-goat-chunk-DYUBZZNP.mjs +198 -0
  17. package/dist/{token-goat-chunk-W3E65QOW.mjs → token-goat-chunk-ERGHDBC6.mjs} +310 -47
  18. package/dist/token-goat-chunk-EUZKG7ZO.mjs +304 -0
  19. package/dist/{token-goat-chunk-5MMJAJF3.mjs → token-goat-chunk-FWYZVS3E.mjs} +324 -31
  20. package/dist/token-goat-chunk-G6SYQQO7.mjs +41 -0
  21. package/dist/{token-goat-chunk-YQZE5NS6.mjs → token-goat-chunk-GIPMOGOI.mjs} +6 -6
  22. package/dist/{token-goat-chunk-BWCRC23L.mjs → token-goat-chunk-H4VC5TR6.mjs} +29 -20
  23. package/dist/{token-goat-chunk-V3ZWBEHM.mjs → token-goat-chunk-I5PQRHFE.mjs} +103 -24
  24. package/dist/token-goat-chunk-ITWYDOKP.mjs +341 -0
  25. package/dist/{token-goat-chunk-I67CPTDD.mjs → token-goat-chunk-K3ZNBN4U.mjs} +19 -14
  26. package/dist/{token-goat-chunk-HPOFR6QX.mjs → token-goat-chunk-K5XPIUVB.mjs} +222 -61
  27. package/dist/token-goat-chunk-KT75DZK4.mjs +1989 -0
  28. package/dist/{token-goat-chunk-H3FONFBO.mjs → token-goat-chunk-MNJWG2ZO.mjs} +3 -3
  29. package/dist/{token-goat-chunk-GRI6HWX3.mjs → token-goat-chunk-MUJV7BR3.mjs} +1 -1
  30. package/dist/{token-goat-chunk-ERTXEKB6.mjs → token-goat-chunk-NMTKNYGF.mjs} +2 -0
  31. package/dist/{token-goat-chunk-LA3O4JGD.mjs → token-goat-chunk-ODF7H7WS.mjs} +3 -3
  32. package/dist/{token-goat-chunk-K4DG6EEF.mjs → token-goat-chunk-ONMU7BON.mjs} +7 -8
  33. package/dist/{token-goat-chunk-4EXFN2AW.mjs → token-goat-chunk-OZRSREKR.mjs} +2 -2
  34. package/dist/{token-goat-chunk-EPXNOKIV.mjs → token-goat-chunk-P4XBHZXU.mjs} +2 -2
  35. package/dist/{token-goat-chunk-CTOYJ232.mjs → token-goat-chunk-PAVWB4L4.mjs} +173 -1840
  36. package/dist/{token-goat-chunk-UENEL6KX.mjs → token-goat-chunk-PTW22MRC.mjs} +2 -2
  37. package/dist/token-goat-chunk-SL454EN5.mjs +1816 -0
  38. package/dist/token-goat-chunk-SP5QR2HN.mjs +1379 -0
  39. package/dist/{token-goat-chunk-7VLWNQDQ.mjs → token-goat-chunk-T46UKRFM.mjs} +1 -1
  40. package/dist/{token-goat-chunk-L7VCX33I.mjs → token-goat-chunk-T63VHOL3.mjs} +40 -10
  41. package/dist/token-goat-chunk-VSJGPEBB.mjs +248 -0
  42. package/dist/{token-goat-chunk-HIZXQVNU.mjs → token-goat-chunk-VYXGHGUY.mjs} +4 -4
  43. package/dist/token-goat-chunk-W6QYCWAT.mjs +128 -0
  44. package/dist/{token-goat-chunk-WFX2V3OF.mjs → token-goat-chunk-Z4ALQADF.mjs} +579 -422
  45. package/dist/token-goat-chunk-ZHFM4DHJ.mjs +324 -0
  46. package/dist/token-goat-hook.mjs +18 -12
  47. package/dist/token-goat.core.mjs +29 -20
  48. package/docs/C4_RUNTIME_ARCHITECTURE.md +1 -1
  49. package/docs/cli.md +15 -13
  50. package/docs/install.md +1 -1
  51. package/docs/security.md +2 -2
  52. package/package.json +3 -2
  53. package/dist/token-goat-chunk-2KTZ6J7T.mjs +0 -173
  54. package/dist/token-goat-chunk-34OUJ2IE.mjs +0 -35
  55. package/dist/token-goat-chunk-RHHFEXKF.mjs +0 -93
@@ -5,14 +5,14 @@ import {
5
5
  isSupportedOcrLang,
6
6
  loadConfig,
7
7
  resolveOcrLangs
8
- } from "./token-goat-chunk-CA6V36KW.mjs";
8
+ } from "./token-goat-chunk-74ADIZZX.mjs";
9
9
  import {
10
10
  ensureDirSync,
11
11
  tokenGoatHome
12
- } from "./token-goat-chunk-QIDLJGXZ.mjs";
12
+ } from "./token-goat-chunk-6LJNM4ZZ.mjs";
13
13
  import {
14
14
  fenceUntrustedOcrText
15
- } from "./token-goat-chunk-ERTXEKB6.mjs";
15
+ } from "./token-goat-chunk-NMTKNYGF.mjs";
16
16
  import {
17
17
  init_define_import_meta_env
18
18
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -10,7 +10,7 @@ import {
10
10
  stripMultilineStringSpan,
11
11
  stripNestedBlockCommentSpan,
12
12
  stripStringLiterals
13
- } from "./token-goat-chunk-L7VCX33I.mjs";
13
+ } from "./token-goat-chunk-T63VHOL3.mjs";
14
14
  import {
15
15
  init_define_import_meta_env
16
16
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -133,6 +133,7 @@ function shellMountToWindowsPath(p) {
133
133
  }
134
134
  return s;
135
135
  }
136
+ var TOOL_RESULTS_ID_CHARS = "[a-z0-9_-]+";
136
137
  function normalizePath(p) {
137
138
  let s = p;
138
139
  if (EXTENDED_UNC_PREFIX_RE.test(s)) {
@@ -217,6 +218,7 @@ export {
217
218
  MSYS_PATH_RE,
218
219
  expandShortPath,
219
220
  lowercaseDriveLetter,
221
+ TOOL_RESULTS_ID_CHARS,
220
222
  normalizePath,
221
223
  normalizeDarwinSystemAlias,
222
224
  resolveIndexPath,
@@ -3,7 +3,7 @@ const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  queryCsv,
5
5
  quoteCsvCell
6
- } from "./token-goat-chunk-EPXNOKIV.mjs";
6
+ } from "./token-goat-chunk-P4XBHZXU.mjs";
7
7
  import {
8
8
  NotAnOfficeDocumentError,
9
9
  assertOoxmlWithinDeadline,
@@ -12,10 +12,10 @@ import {
12
12
  ooxmlWorkDeadline,
13
13
  parseOoxmlPart,
14
14
  readOoxmlZip
15
- } from "./token-goat-chunk-7VLWNQDQ.mjs";
15
+ } from "./token-goat-chunk-T46UKRFM.mjs";
16
16
  import {
17
17
  displaySafeText
18
- } from "./token-goat-chunk-ERTXEKB6.mjs";
18
+ } from "./token-goat-chunk-NMTKNYGF.mjs";
19
19
  import {
20
20
  DocumentRefusedError
21
21
  } from "./token-goat-chunk-Y4AFKTHK.mjs";
@@ -2,15 +2,13 @@ import { createRequire as __cjsRequire } from 'node:module';
2
2
  const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  loadConfig
5
- } from "./token-goat-chunk-CA6V36KW.mjs";
6
- import "./token-goat-chunk-EEIDFMEM.mjs";
5
+ } from "./token-goat-chunk-74ADIZZX.mjs";
7
6
  import {
8
7
  VERSION
9
- } from "./token-goat-chunk-QIDLJGXZ.mjs";
8
+ } from "./token-goat-chunk-6LJNM4ZZ.mjs";
10
9
  import {
11
10
  displaySafeJson
12
- } from "./token-goat-chunk-ERTXEKB6.mjs";
13
- import "./token-goat-chunk-GMOUBOX4.mjs";
11
+ } from "./token-goat-chunk-NMTKNYGF.mjs";
14
12
  import {
15
13
  init_define_import_meta_env
16
14
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -136,9 +134,10 @@ async function cmdUpgrade(opts = {}, onSyncHooks) {
136
134
  }
137
135
  console.log(`[\u2713] token-goat successfully updated.`);
138
136
  }
137
+
139
138
  export {
140
- checkUpdateStatus,
141
- cmdUpgrade,
139
+ fetchLatestVersion,
142
140
  compareSemver,
143
- fetchLatestVersion
141
+ checkUpdateStatus,
142
+ cmdUpgrade
144
143
  };
@@ -11,9 +11,9 @@ import {
11
11
  openReadonlySqlite,
12
12
  runReadOnlySqliteQuery,
13
13
  validateReadOnlySelect
14
- } from "./token-goat-chunk-LMFO66YD.mjs";
14
+ } from "./token-goat-chunk-DA43OE7L.mjs";
15
15
  import "./token-goat-chunk-OSUFN2FV.mjs";
16
- import "./token-goat-chunk-ERTXEKB6.mjs";
16
+ import "./token-goat-chunk-NMTKNYGF.mjs";
17
17
  import "./token-goat-chunk-A37V4PBF.mjs";
18
18
  export {
19
19
  SQLITE_QUERY_ROW_CAP,
@@ -5,10 +5,10 @@ import {
5
5
  } from "./token-goat-chunk-3BTK54F3.mjs";
6
6
  import {
7
7
  filtersFilteredToEmptyNotice
8
- } from "./token-goat-chunk-QIDLJGXZ.mjs";
8
+ } from "./token-goat-chunk-6LJNM4ZZ.mjs";
9
9
  import {
10
10
  displaySafeText
11
- } from "./token-goat-chunk-ERTXEKB6.mjs";
11
+ } from "./token-goat-chunk-NMTKNYGF.mjs";
12
12
  import {
13
13
  compileGuardedRegexCached
14
14
  } from "./token-goat-chunk-GMOUBOX4.mjs";