@wirecat/drive-cli 0.47.0 → 0.50.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 (160) hide show
  1. package/dist/age.d.ts +36 -0
  2. package/dist/age.d.ts.map +1 -1
  3. package/dist/age.js +17 -0
  4. package/dist/age.js.map +1 -1
  5. package/dist/bin/drive.js +2 -2
  6. package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WQTVOCIS.js} +8 -8
  7. package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-YCA2AWIJ.js} +5 -5
  8. package/dist/bundle/{app-server-BVBZT3UY.js → app-server-ZQOYUQJH.js} +52 -52
  9. package/dist/bundle/{bun-O6RL6LRQ.js → bun-5NFIDHGM.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-OAQE4M2E.js} +4 -4
  11. package/dist/bundle/{chunk-NLEB26GA.js → chunk-24TOKSZE.js} +2 -2
  12. package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-2M5XEGVE.js} +3413 -3293
  13. package/dist/bundle/{chunk-4NGLRHWO.js → chunk-3CQNJKJT.js} +1 -1
  14. package/dist/bundle/{chunk-CYCQBQBH.js → chunk-3HNUH632.js} +6 -6
  15. package/dist/bundle/{chunk-5TC3NCAF.js → chunk-3XX52F42.js} +2 -2
  16. package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-4J7UGHPK.js} +5 -5
  17. package/dist/bundle/{chunk-GHOWRW7E.js → chunk-4OLWMHS6.js} +10 -3
  18. package/dist/bundle/{chunk-NDNTLUPS.js → chunk-4SSUKRO4.js} +2 -2
  19. package/dist/bundle/{chunk-CVIKKIGE.js → chunk-4VLUX3V5.js} +1 -1
  20. package/dist/bundle/{chunk-AIXLOMH4.js → chunk-53UWCVSU.js} +1 -1
  21. package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-5OMLYNYB.js} +8 -8
  22. package/dist/bundle/{chunk-VCYFEWPD.js → chunk-5WN7JHQE.js} +26 -26
  23. package/dist/bundle/{chunk-GQW4GRYR.js → chunk-5Z63NTC7.js} +6 -6
  24. package/dist/bundle/{chunk-D67JGWSC.js → chunk-5ZJHQ4TN.js} +7 -4
  25. package/dist/bundle/{chunk-XF5MFUEB.js → chunk-652YTDT5.js} +15 -15
  26. package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-6DDXB5WB.js} +2 -2
  27. package/dist/bundle/{chunk-DXKVEOSS.js → chunk-6E4PFCQ4.js} +1 -1
  28. package/dist/bundle/{chunk-G3FAOS52.js → chunk-7SYSC7KX.js} +2 -2
  29. package/dist/bundle/{chunk-BQUPOB5H.js → chunk-AO3NCZNT.js} +8 -8
  30. package/dist/bundle/{chunk-U2OD7MKK.js → chunk-BUALWXBT.js} +1 -1
  31. package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-C4PNAHI4.js} +11 -11
  32. package/dist/bundle/{recognize-IFXOJHEA.js → chunk-CCEVICWU.js} +7 -7
  33. package/dist/bundle/{chunk-IGMRWQP3.js → chunk-CEUEXMIR.js} +86 -35
  34. package/dist/bundle/{chunk-5MGIL5LW.js → chunk-CTIQ77AB.js} +20 -17
  35. package/dist/bundle/{chunk-VHQNVG3J.js → chunk-DTHWL5YU.js} +5 -5
  36. package/dist/bundle/{chunk-67BQ3XMH.js → chunk-E656DAZT.js} +1 -1
  37. package/dist/bundle/{chunk-WUFCYDKB.js → chunk-EXYEDKTX.js} +2 -2
  38. package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
  39. package/dist/bundle/{chunk-QW36EOAM.js → chunk-FABKIQ24.js} +2 -2
  40. package/dist/bundle/{chunk-SMHQA5J6.js → chunk-FSAM4Y2S.js} +15 -8
  41. package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
  42. package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
  43. package/dist/bundle/{chunk-44FV5JAS.js → chunk-HURI56SB.js} +21 -21
  44. package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-IA6LNKCF.js} +5 -5
  45. package/dist/bundle/{chunk-LHIL46I3.js → chunk-IFM2APQB.js} +2 -2
  46. package/dist/bundle/{chunk-BEXHAGXH.js → chunk-IGG4RBIZ.js} +170 -146
  47. package/dist/bundle/{chunk-PDBBBUY7.js → chunk-INVF3GXW.js} +10 -10
  48. package/dist/bundle/{chunk-KADPV4YA.js → chunk-IUZ4PT2V.js} +2 -2
  49. package/dist/bundle/{chunk-K74PQVQZ.js → chunk-JA2YY7D4.js} +7 -7
  50. package/dist/bundle/{chunk-K7FRUB33.js → chunk-JHBX53SK.js} +35 -35
  51. package/dist/bundle/{chunk-QTJUH3LS.js → chunk-JSMPSOEM.js} +3 -3
  52. package/dist/bundle/{chunk-PH74B2VZ.js → chunk-KEQ35HQQ.js} +3 -3
  53. package/dist/bundle/{chunk-NW7IMGRR.js → chunk-KYMGVMOS.js} +1 -1
  54. package/dist/bundle/{chunk-AOOD3RMK.js → chunk-KZEOWOZV.js} +7 -7
  55. package/dist/bundle/{chunk-VYBOYBLX.js → chunk-LNWRRK2H.js} +6 -6
  56. package/dist/bundle/{chunk-RCS2SCX5.js → chunk-M2D4FXKY.js} +5 -5
  57. package/dist/bundle/{chunk-KJMBV574.js → chunk-M6FQOGUW.js} +392 -319
  58. package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-MMOG7ZVF.js} +2 -2
  59. package/dist/bundle/{chunk-RJ633GFA.js → chunk-NHRJW3PH.js} +2 -2
  60. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
  61. package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-OL22OOIW.js} +4 -4
  62. package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-OQEBGY74.js} +74 -46
  63. package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
  64. package/dist/bundle/{chunk-LJARCTGL.js → chunk-P6VN5UB4.js} +4 -4
  65. package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
  66. package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-POD2GHQB.js} +58 -19
  67. package/dist/bundle/{chunk-FEULDMWM.js → chunk-Q27HCATD.js} +1980 -1557
  68. package/dist/bundle/{chunk-4DW6QGEV.js → chunk-Q3VG3UYV.js} +11 -11
  69. package/dist/bundle/{chunk-AUS6TKP5.js → chunk-QBECV7NO.js} +33 -32
  70. package/dist/bundle/{chunk-DORXXBFC.js → chunk-QNLD7Y6Z.js} +7 -7
  71. package/dist/bundle/{chunk-3HRDEJJW.js → chunk-QSDXVUJG.js} +4 -4
  72. package/dist/bundle/{chunk-GNFHZZ55.js → chunk-QY3LK3OT.js} +5 -5
  73. package/dist/bundle/{chunk-CFZWPIVC.js → chunk-R7XMCREL.js} +39 -21
  74. package/dist/bundle/{chunk-NP3XLLN3.js → chunk-RTIMGPLN.js} +3 -3
  75. package/dist/bundle/{chunk-SWMMR3FR.js → chunk-T7UZHKAS.js} +2 -2
  76. package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-TATRMMOG.js} +3 -3
  77. package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-UVPKSZSC.js} +4 -4
  78. package/dist/bundle/{chunk-CKR3DVUK.js → chunk-VAETCXRI.js} +54 -26
  79. package/dist/bundle/{chunk-6T7NSOYC.js → chunk-VAK2Q2XG.js} +14 -14
  80. package/dist/bundle/{chunk-DDYR6DYL.js → chunk-XEETGCOC.js} +1 -1
  81. package/dist/bundle/{chunk-XAZQTJXR.js → chunk-XGJUEH5C.js} +27 -27
  82. package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
  83. package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
  84. package/dist/bundle/{chunk-TRMIV3OA.js → chunk-YROVFHPJ.js} +2 -2
  85. package/dist/bundle/{chunk-NB2N6L3R.js → chunk-Z54E5LKF.js} +6 -6
  86. package/dist/bundle/{chunk-IAW5A7OR.js → chunk-ZJBRKR42.js} +32 -28
  87. package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-ZKGYW63J.js} +9 -9
  88. package/dist/bundle/{chunk-XEBFFKXO.js → chunk-ZP735UUT.js} +3 -3
  89. package/dist/bundle/{chunk-HEPIOCHN.js → chunk-ZXD2I5ZQ.js} +58 -51
  90. package/dist/bundle/command-contract-TAWVO2G3.js +38 -0
  91. package/dist/bundle/decode-YZRTP54O.js +159 -0
  92. package/dist/bundle/drive.js +7 -7
  93. package/dist/bundle/{echarts-LD3AI55P.js → echarts-C6HUK2FL.js} +2 -2
  94. package/dist/bundle/{embed-FJKIIM43.js → embed-QRQ7ITFC.js} +5 -5
  95. package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EZDB3JPA.js} +8 -8
  96. package/dist/bundle/{entry-ZYSNPDSD.js → entry-4WQQKSYG.js} +6 -6
  97. package/dist/bundle/failure-EEJGMWEP.js +37 -0
  98. package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ZAS4OV3T.js} +9 -9
  99. package/dist/bundle/first-screen-6ICWD2N3.js +36 -0
  100. package/dist/bundle/{google-ZYDFTHLN.js → google-KNILTIDW.js} +9 -9
  101. package/dist/bundle/google-api-CZACYX5T.js +82 -0
  102. package/dist/bundle/{identity-7JM62OER.js → identity-VBCGUXT5.js} +2 -2
  103. package/dist/bundle/{instructions-RZMSW3OC.js → instructions-II4M2WL3.js} +1 -1
  104. package/dist/bundle/{login-JU6NKW5P.js → login-4JACQVMD.js} +62 -62
  105. package/dist/bundle/mcp-2BR2EX7L.js +95 -0
  106. package/dist/bundle/{mcp-KWXNBIAI.js → mcp-6ZIAWU3N.js} +76 -76
  107. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
  108. package/dist/bundle/{node-ZRLYQL7J.js → node-LIN7L4VQ.js} +2 -2
  109. package/dist/bundle/node-sqlite-VAH4KZN3.js +62 -0
  110. package/dist/bundle/{oauth-NAIBKERJ.js → oauth-QUE3VCTU.js} +6 -6
  111. package/dist/bundle/{open-3P5EPXPV.js → open-DQ3EVYPB.js} +3 -3
  112. package/dist/bundle/{process-LL77573L.js → process-46XDWPVW.js} +1 -1
  113. package/dist/bundle/{program-VKHR42BF.js → program-X3CZ4XDN.js} +141 -99
  114. package/dist/bundle/{prompt-3TX2SWOY.js → prompt-SAZYCZV3.js} +4 -4
  115. package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
  116. package/dist/bundle/recognize-SSBOHOTW.js +22 -0
  117. package/dist/bundle/{remote-663M42Y5.js → remote-EL3FWCQE.js} +6 -6
  118. package/dist/bundle/{rerank-OT2F2DBV.js → rerank-RPIQRJIW.js} +6 -6
  119. package/dist/bundle/{serve-PDNNI6O6.js → serve-AX44DIKK.js} +8 -8
  120. package/dist/bundle/server-DCJIGUW2.js +56 -0
  121. package/dist/bundle/server-WWQSQBFT.js +69 -0
  122. package/dist/bundle/{services-5MCTECBU.js → services-K4UOEMQD.js} +28 -28
  123. package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-N7N3EYGH.js} +4 -4
  124. package/dist/bundle/{state-SZX65E74.js → state-C3S5FD7V.js} +5 -5
  125. package/dist/bundle/{store-TCWNLA3V.js → store-4N3NBUGX.js} +14 -14
  126. package/dist/bundle/{store-UKPGGAPW.js → store-QV4ZNEQ3.js} +16 -16
  127. package/dist/bundle/store-maintenance-command-QL4AECBD.js +57 -0
  128. package/dist/bundle/tokens-Y7HCOXOA.js +103 -0
  129. package/dist/commands/documents.d.ts +5 -1
  130. package/dist/commands/documents.d.ts.map +1 -1
  131. package/dist/commands/documents.js +11 -5
  132. package/dist/commands/documents.js.map +1 -1
  133. package/dist/commands/remote.d.ts +8 -0
  134. package/dist/commands/remote.d.ts.map +1 -1
  135. package/dist/commands/remote.js +16 -0
  136. package/dist/commands/remote.js.map +1 -1
  137. package/dist/commands/session.d.ts.map +1 -1
  138. package/dist/commands/session.js +10 -2
  139. package/dist/commands/session.js.map +1 -1
  140. package/dist/program.d.ts.map +1 -1
  141. package/dist/program.js +4 -1
  142. package/dist/program.js.map +1 -1
  143. package/dist/tokens.d.ts.map +1 -1
  144. package/dist/tokens.js +2 -2
  145. package/dist/tokens.js.map +1 -1
  146. package/dist/version.d.ts +1 -1
  147. package/dist/version.js +1 -1
  148. package/package.json +3 -3
  149. package/dist/bundle/command-contract-MXCBV3GJ.js +0 -38
  150. package/dist/bundle/failure-KZDBSYBR.js +0 -37
  151. package/dist/bundle/first-screen-VQ3RXDMF.js +0 -36
  152. package/dist/bundle/google-api-2GT5PAW2.js +0 -82
  153. package/dist/bundle/mcp-JOQMFGBC.js +0 -95
  154. package/dist/bundle/node-sqlite-TXPSRROT.js +0 -46
  155. package/dist/bundle/server-BFOEPMR7.js +0 -56
  156. package/dist/bundle/server-K566PJ7H.js +0 -69
  157. package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +0 -57
  158. package/dist/bundle/tokens-DFCFRF7I.js +0 -103
  159. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
  160. /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-VDZZ46RT.js} +0 -0
@@ -1,14 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- DOC,
5
- DOCUMENT_LIST_FIELDS,
6
- FOLDER,
7
- MAX_ENTRIES,
8
- metadataJson,
9
- supported,
10
- tooManyEntries
11
- } from "./chunk-VAGF723Z.js";
12
3
  import {
13
4
  ACCOUNT_FREE_COMMANDS,
14
5
  ANY_PROFILE_COMMANDS,
@@ -40,7 +31,16 @@ import {
40
31
  saveSnapshot,
41
32
  saveState,
42
33
  saveWalk
43
- } from "./chunk-6T7NSOYC.js";
34
+ } from "./chunk-VAK2Q2XG.js";
35
+ import {
36
+ DOC,
37
+ DOCUMENT_LIST_FIELDS,
38
+ FOLDER,
39
+ MAX_ENTRIES,
40
+ metadataJson,
41
+ supported,
42
+ tooManyEntries
43
+ } from "./chunk-Y73IZWRI.js";
44
44
  import {
45
45
  apiMethod,
46
46
  apiMethods,
@@ -50,7 +50,7 @@ import {
50
50
  schemas,
51
51
  validateApiParams,
52
52
  validateRequest
53
- } from "./chunk-QTJUH3LS.js";
53
+ } from "./chunk-JSMPSOEM.js";
54
54
  import {
55
55
  DEFAULTS_ONLY,
56
56
  SETTING_NAMES,
@@ -71,7 +71,7 @@ import {
71
71
  textLimit,
72
72
  unknownProfile,
73
73
  writeConfig
74
- } from "./chunk-GWPKIRNQ.js";
74
+ } from "./chunk-IA6LNKCF.js";
75
75
  import {
76
76
  blockKey,
77
77
  blocksMarkdown,
@@ -90,7 +90,7 @@ import {
90
90
  syncDocuments,
91
91
  syncMirrors,
92
92
  watchMirrors
93
- } from "./chunk-44FV5JAS.js";
93
+ } from "./chunk-HURI56SB.js";
94
94
  import {
95
95
  DISCOVERY_DESCRIPTIONS,
96
96
  MEMO_SCENARIOS,
@@ -118,36 +118,36 @@ import {
118
118
  skillCommand as skillCommand2,
119
119
  suggest,
120
120
  upgradeCommand
121
- } from "./chunk-KJMBV574.js";
121
+ } from "./chunk-M6FQOGUW.js";
122
122
  import {
123
123
  googleError
124
- } from "./chunk-2DLAJGRN.js";
125
- import "./chunk-DDYR6DYL.js";
126
- import "./chunk-IGMRWQP3.js";
127
- import "./chunk-SWMMR3FR.js";
128
- import "./chunk-4NGLRHWO.js";
124
+ } from "./chunk-YOABRW2M.js";
125
+ import "./chunk-XEETGCOC.js";
126
+ import "./chunk-CEUEXMIR.js";
127
+ import "./chunk-T7UZHKAS.js";
128
+ import "./chunk-3CQNJKJT.js";
129
129
  import {
130
130
  skillCommand
131
- } from "./chunk-XF5MFUEB.js";
131
+ } from "./chunk-652YTDT5.js";
132
132
  import "./chunk-SBZB7HMU.js";
133
133
  import {
134
134
  DRIVE_APP
135
- } from "./chunk-U2OD7MKK.js";
136
- import "./chunk-CYCQBQBH.js";
137
- import "./chunk-GHOWRW7E.js";
135
+ } from "./chunk-BUALWXBT.js";
136
+ import "./chunk-3HNUH632.js";
137
+ import "./chunk-4OLWMHS6.js";
138
138
  import {
139
139
  VERSION
140
- } from "./chunk-67BQ3XMH.js";
140
+ } from "./chunk-E656DAZT.js";
141
141
  import {
142
142
  REASONS
143
- } from "./chunk-MAXN7COO.js";
143
+ } from "./chunk-P3T2SZW2.js";
144
144
  import "./chunk-GNI7INK6.js";
145
- import "./chunk-3HRDEJJW.js";
145
+ import "./chunk-QSDXVUJG.js";
146
146
  import {
147
147
  modelGateway,
148
148
  storeInfo
149
- } from "./chunk-HEPIOCHN.js";
150
- import "./chunk-IAW5A7OR.js";
149
+ } from "./chunk-ZXD2I5ZQ.js";
150
+ import "./chunk-ZJBRKR42.js";
151
151
  import {
152
152
  LIST_QUERY_GUIDE,
153
153
  listQuery,
@@ -158,31 +158,31 @@ import {
158
158
  typedQuery,
159
159
  unfilteredQuery,
160
160
  withQuery
161
- } from "./chunk-JVTVAZ5X.js";
162
- import "./chunk-D67JGWSC.js";
163
- import "./chunk-NP3XLLN3.js";
161
+ } from "./chunk-POD2GHQB.js";
162
+ import "./chunk-5ZJHQ4TN.js";
163
+ import "./chunk-RTIMGPLN.js";
164
164
  import {
165
165
  newOperationId
166
- } from "./chunk-DL7D6Y3B.js";
166
+ } from "./chunk-2M5XEGVE.js";
167
167
  import {
168
168
  columnName,
169
169
  readSpreadsheet
170
- } from "./chunk-VCYFEWPD.js";
171
- import "./chunk-DORXXBFC.js";
170
+ } from "./chunk-5WN7JHQE.js";
171
+ import "./chunk-QNLD7Y6Z.js";
172
172
  import {
173
173
  applyDocumentTransfer,
174
174
  previewDocumentTransfer
175
- } from "./chunk-5MGIL5LW.js";
175
+ } from "./chunk-CTIQ77AB.js";
176
176
  import {
177
177
  commandsText,
178
178
  inSection,
179
179
  installHelp
180
- } from "./chunk-SMHQA5J6.js";
180
+ } from "./chunk-FSAM4Y2S.js";
181
181
  import "./chunk-HTQTIKWP.js";
182
182
  import {
183
183
  answerEntity
184
- } from "./chunk-K74PQVQZ.js";
185
- import "./chunk-BEXHAGXH.js";
184
+ } from "./chunk-JA2YY7D4.js";
185
+ import "./chunk-IGG4RBIZ.js";
186
186
  import {
187
187
  FETCH,
188
188
  LOCAL_READ,
@@ -204,8 +204,8 @@ import {
204
204
  resolveAISettings,
205
205
  snakeKeys,
206
206
  takesProfile
207
- } from "./chunk-AUS6TKP5.js";
208
- import "./chunk-3Z7WSD2A.js";
207
+ } from "./chunk-QBECV7NO.js";
208
+ import "./chunk-5OMLYNYB.js";
209
209
  import {
210
210
  Command,
211
211
  Help,
@@ -219,55 +219,55 @@ import {
219
219
  hasSharedContract,
220
220
  metaOf,
221
221
  overrideSharedContract
222
- } from "./chunk-LOTQ2HMT.js";
223
- import "./chunk-AIXLOMH4.js";
222
+ } from "./chunk-ZKGYW63J.js";
223
+ import "./chunk-53UWCVSU.js";
224
224
  import {
225
225
  parseDuration
226
- } from "./chunk-CFZWPIVC.js";
227
- import "./chunk-GOR3Z2FR.js";
226
+ } from "./chunk-R7XMCREL.js";
227
+ import "./chunk-MMOG7ZVF.js";
228
228
  import {
229
229
  levelFor
230
- } from "./chunk-PJ7IQVOM.js";
230
+ } from "./chunk-6DDXB5WB.js";
231
231
  import {
232
232
  note
233
- } from "./chunk-ZBM4GEV2.js";
234
- import "./chunk-OWXTPXIQ.js";
233
+ } from "./chunk-OL22OOIW.js";
234
+ import "./chunk-C4PNAHI4.js";
235
235
  import {
236
236
  installerOf,
237
237
  latestVersion,
238
238
  runUpdate,
239
239
  updateNotice
240
- } from "./chunk-A3FU4RR6.js";
241
- import "./chunk-MFS52LTZ.js";
242
- import "./chunk-LJARCTGL.js";
243
- import "./chunk-PDBBBUY7.js";
240
+ } from "./chunk-PNUS224S.js";
241
+ import "./chunk-OKSS7YUN.js";
242
+ import "./chunk-P6VN5UB4.js";
243
+ import "./chunk-INVF3GXW.js";
244
244
  import {
245
245
  readOnlyRefusal
246
- } from "./chunk-RJ633GFA.js";
247
- import "./chunk-IKNU5A5Y.js";
248
- import "./chunk-WUFCYDKB.js";
249
- import "./chunk-LHIL46I3.js";
250
- import "./chunk-KADPV4YA.js";
251
- import "./chunk-PH74B2VZ.js";
252
- import "./chunk-RCS2SCX5.js";
246
+ } from "./chunk-NHRJW3PH.js";
247
+ import "./chunk-TATRMMOG.js";
248
+ import "./chunk-EXYEDKTX.js";
249
+ import "./chunk-IFM2APQB.js";
250
+ import "./chunk-IUZ4PT2V.js";
251
+ import "./chunk-KEQ35HQQ.js";
252
+ import "./chunk-M2D4FXKY.js";
253
253
  import "./chunk-5DPV7X27.js";
254
- import "./chunk-GNFHZZ55.js";
255
- import "./chunk-QW36EOAM.js";
254
+ import "./chunk-QY3LK3OT.js";
255
+ import "./chunk-FABKIQ24.js";
256
256
  import {
257
257
  CATALOG_QUERY,
258
258
  IMPORTED_DOCUMENT_QUERY,
259
259
  openStore
260
- } from "./chunk-FEULDMWM.js";
261
- import "./chunk-5TC3NCAF.js";
262
- import "./chunk-AOOD3RMK.js";
260
+ } from "./chunk-Q27HCATD.js";
261
+ import "./chunk-3XX52F42.js";
262
+ import "./chunk-KZEOWOZV.js";
263
263
  import {
264
264
  FACT_STATUSES,
265
265
  FACT_TYPES,
266
266
  MEMORY_KINDS,
267
267
  MEMORY_SCOPES,
268
268
  MEMORY_STATUSES
269
- } from "./chunk-NB2N6L3R.js";
270
- import "./chunk-BHE7ZY2N.js";
269
+ } from "./chunk-Z54E5LKF.js";
270
+ import "./chunk-OQEBGY74.js";
271
271
  import {
272
272
  dateRange,
273
273
  defineQuery,
@@ -277,14 +277,14 @@ import {
277
277
  timezoneOf,
278
278
  validateQuery,
279
279
  zonedMoment
280
- } from "./chunk-R2QRP7EJ.js";
281
- import "./chunk-O5EHUB2V.js";
282
- import "./chunk-BQUPOB5H.js";
283
- import "./chunk-GQW4GRYR.js";
280
+ } from "./chunk-G75FZQAZ.js";
281
+ import "./chunk-2WNDZFGG.js";
282
+ import "./chunk-AO3NCZNT.js";
283
+ import "./chunk-5Z63NTC7.js";
284
284
  import {
285
285
  storePath
286
- } from "./chunk-TRMIV3OA.js";
287
- import "./chunk-VYBOYBLX.js";
286
+ } from "./chunk-YROVFHPJ.js";
287
+ import "./chunk-LNWRRK2H.js";
288
288
  import {
289
289
  createDeadline,
290
290
  createOutputBuffer,
@@ -293,7 +293,7 @@ import {
293
293
  processStreams,
294
294
  projectFields,
295
295
  saveConfigFile
296
- } from "./chunk-VHT2WI4I.js";
296
+ } from "./chunk-HGWMX7BM.js";
297
297
  import {
298
298
  CliError,
299
299
  boolean,
@@ -311,9 +311,9 @@ import {
311
311
  string,
312
312
  unknown,
313
313
  writes
314
- } from "./chunk-BJ3JRO34.js";
314
+ } from "./chunk-EY4CUQW2.js";
315
315
  import "./chunk-Y5E2WNWB.js";
316
- import "./chunk-NW7IMGRR.js";
316
+ import "./chunk-KYMGVMOS.js";
317
317
  import {
318
318
  __commonJS,
319
319
  __name,
@@ -2479,7 +2479,7 @@ var installModelCommands = /* @__PURE__ */ __name((program, { env, output, strea
2479
2479
  throw new CliError("permission_error", "downloading a model needs the network; --offline was requested", {
2480
2480
  reason: "offline.refused"
2481
2481
  });
2482
- const { downloadImageModel, downloadTextModel } = await import("./services-5MCTECBU.js");
2482
+ const { downloadImageModel, downloadTextModel } = await import("./services-K4UOEMQD.js");
2483
2483
  const progress = /* @__PURE__ */ __name((line) => {
2484
2484
  if (!program.opts().quiet)
2485
2485
  streams.diagnostic(line);
@@ -3592,18 +3592,39 @@ var staleCopy = /* @__PURE__ */ __name((state, now = Date.now()) => {
3592
3592
  meta: { complete: false }
3593
3593
  };
3594
3594
  }, "staleCopy");
3595
+ var freshness = /* @__PURE__ */ __name((remote, local2) => ({
3596
+ changed: local2 === void 0 || Date.parse(remote) !== Date.parse(local2),
3597
+ remote_modified_at: remote,
3598
+ local_modified_at: local2 ?? null
3599
+ }), "freshness");
3600
+ var changedCopy = /* @__PURE__ */ __name(({ changed, local_modified_at }) => {
3601
+ if (!changed)
3602
+ return {};
3603
+ const why = local_modified_at === null ? "the local copy has no modified time, so it cannot be compared with Google" : `Google changed the document after the local copy was made (${local_modified_at})`;
3604
+ return {
3605
+ missing: [{ field: "modified_at", why, step: SYNC.id }],
3606
+ next: [stepOf(SYNC)],
3607
+ meta: { complete: false }
3608
+ };
3609
+ }, "changedCopy");
3595
3610
 
3596
3611
  // dist/commands/documents.js
3597
- var importedDocument = /* @__PURE__ */ __name(({ env, selected }) => (input) => {
3612
+ var storedDocument = /* @__PURE__ */ __name(({ env, selected }) => (input) => {
3598
3613
  const id = fileId(input);
3599
3614
  const profile = activeProfile(env, selected());
3600
- const state = readState(env, selected(), profile.principal);
3601
- if (!state.documents[id])
3615
+ const doc = readState(env, selected(), profile.principal).documents[id];
3616
+ if (!doc)
3602
3617
  throw new CliError("not_found", "this source is not imported in the selected profile", {
3603
3618
  reason: "document.not-imported"
3604
3619
  });
3605
- const doc = state.documents[id];
3606
- return { id, ref: doc.reference, hash: doc.hash, snapshot: readSnapshot(env, selected(), id) };
3620
+ return { id, doc };
3621
+ }, "storedDocument");
3622
+ var importedDocument = /* @__PURE__ */ __name((context) => {
3623
+ const stored = storedDocument(context);
3624
+ return (input) => {
3625
+ const { id, doc } = stored(input);
3626
+ return { id, ref: doc.reference, hash: doc.hash, snapshot: readSnapshot(context.env, context.selected(), id) };
3627
+ };
3607
3628
  }, "importedDocument");
3608
3629
  var installDocumentCommands = /* @__PURE__ */ __name((program, context) => {
3609
3630
  const { env, selected, output, withIndex } = context;
@@ -3988,8 +4009,8 @@ var installMcpCommandDefinition = /* @__PURE__ */ __name((program, { env, stream
3988
4009
  "drive personal mcp serve --http --public-url https://laptop.example.ts.net"
3989
4010
  ]).option("--tools", "list the commands the server offers instead of starting it").option("--http", "serve over HTTP on 127.0.0.1 for ChatGPT and Claude in the browser, behind your tunnel; the profile's permissions decide").option("--port <port>", `the local port for --http (default ${DEFAULT_PORT})`).option("--public-url <url>", "the tunnel's https address the browser apps use, e.g. https://<name>.ts.net or https://<name>.ts.net/drive");
3990
4011
  withProfiles(serve).action(async (args) => {
3991
- const { mcpTools, serveMcp, serveMcpOverHttp, serveProfiles } = await import("./mcp-KWXNBIAI.js");
3992
- const { portOf, publicUrlOf } = await import("./mcp-JOQMFGBC.js");
4012
+ const { mcpTools, serveMcp, serveMcpOverHttp, serveProfiles } = await import("./mcp-6ZIAWU3N.js");
4013
+ const { portOf, publicUrlOf } = await import("./mcp-2BR2EX7L.js");
3993
4014
  const tunnel = /* @__PURE__ */ __name(() => publicUrlOf(args.publicUrl, { missing: "--http", reaches: "the browser apps reach drive", path: true }), "tunnel");
3994
4015
  const one = served(args.profiles, "mcp serve");
3995
4016
  if ("set" in one) {
@@ -4028,7 +4049,7 @@ var installMcpCommandDefinition = /* @__PURE__ */ __name((program, { env, stream
4028
4049
  refuseUnderReadOnly(env, "forget the browser logins");
4029
4050
  if (policyFlags().readOnly)
4030
4051
  throw readOnlyRefusal("--read-only", "forget the browser logins");
4031
- const { revokeAll } = await import("./mcp-JOQMFGBC.js");
4052
+ const { revokeAll } = await import("./mcp-2BR2EX7L.js");
4032
4053
  const one = served(args.profiles, "mcp revoke", "whose browser logins to forget");
4033
4054
  if ("set" in one) {
4034
4055
  revokeAll(profileSetTokenFile(env, one.set.option));
@@ -22571,6 +22592,18 @@ var installRemoteCommands = /* @__PURE__ */ __name((program, helpers) => {
22571
22592
  const documents = program.commands.find((command) => command.name() === "documents");
22572
22593
  const documentArgument = "document id or Google Docs URL";
22573
22594
  examples(annotate(documents.command("get"), { effects: GOOGLE_READ }).argument("<document>", documentArgument).description("read a document live from Google Docs, as JSON with every tab"), ["drive personal documents get DOC_ID --json"]).action(async (id) => output(itemOf(await call("docs.documents.get", { documentId: fileId(id), includeTabsContent: true }))));
22595
+ examples(annotate(documents.command("check"), { effects: GOOGLE_READ }).argument("<document>", documentArgument).description("ask Google whether an imported document changed since its local copy was made"), ["drive personal documents check DOC_ID"]).action(async (input) => {
22596
+ const { id, doc } = helpers.stored(input);
22597
+ const live = await call("drive.files.get", {
22598
+ fileId: id,
22599
+ fields: "modifiedTime",
22600
+ supportsAllDrives: true
22601
+ });
22602
+ if (!live.modifiedTime)
22603
+ throw new CliError("provider_error", "Google returned no modified time for this document");
22604
+ const found = freshness(live.modifiedTime, doc.metadata.modifiedAt);
22605
+ output(itemOf({ id, ...found }, changedCopy(found)));
22606
+ });
22574
22607
  examples(annotate(documents.command("create"), { effects: GOOGLE_WRITE }).description("create an empty Google Doc"), [
22575
22608
  `drive personal documents create --title "Meeting notes"`
22576
22609
  ]).requiredOption("--title <title>", "title of the new document").action(async (args) => output(itemOf(await call("docs.documents.create", {}, { title: args.title }))));
@@ -22681,7 +22714,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
22681
22714
  json: json === true || jsonl === true || !process.stdout.isTTY,
22682
22715
  answers: false
22683
22716
  });
22684
- const { login } = await import("./login-JU6NKW5P.js");
22717
+ const { login } = await import("./login-4JACQVMD.js");
22685
22718
  output(itemOf(await login({
22686
22719
  env,
22687
22720
  profile: selected(),
@@ -22711,10 +22744,17 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
22711
22744
  const name = selected();
22712
22745
  const config = readConfig(env);
22713
22746
  const profile = activeProfile(env, name);
22714
- const { credentials } = await import("./tokens-DFCFRF7I.js");
22715
- credentials(env, profile.storage, options.keyring).remove(name);
22747
+ const { credentials } = await import("./tokens-Y7HCOXOA.js");
22748
+ const store = credentials(env, profile.storage, options.keyring);
22749
+ store.remove(name);
22716
22750
  writeConfig(env, config);
22717
- output(itemOf({ profile: name, signed_out: true, cached_data: "retained" }));
22751
+ const kept = store.read(name)?.source === "keyring";
22752
+ output(itemOf({
22753
+ profile: name,
22754
+ signed_out: !kept,
22755
+ ...kept ? { kept: "owners-sign-in" } : {},
22756
+ cached_data: "retained"
22757
+ }));
22718
22758
  });
22719
22759
  }, "installSessionCommands");
22720
22760
 
@@ -22779,7 +22819,7 @@ var selection = /* @__PURE__ */ __name((env, name, source) => {
22779
22819
  return { profile, state, options: { source, destination, collection: `google-drive:${profile.principal}`, env } };
22780
22820
  }, "selection");
22781
22821
  var checkStoreImport = /* @__PURE__ */ __name(async (env, name, source, bindings) => {
22782
- const { ensureSqlite } = await import("./sqlite-runtime-BF3KDM7W.js");
22822
+ const { ensureSqlite } = await import("./sqlite-runtime-N7N3EYGH.js");
22783
22823
  await ensureSqlite();
22784
22824
  const { state, options } = selection(env, name, source);
22785
22825
  const preview = await previewDocumentTransfer({ ...options, bindings });
@@ -22953,7 +22993,7 @@ var installSyncCommands = /* @__PURE__ */ __name((program, context) => {
22953
22993
  // dist/commands/upgrade.js
22954
22994
  import { join as join5 } from "node:path";
22955
22995
 
22956
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/update/index.js
22996
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/update/index.js
22957
22997
  import { realpathSync } from "node:fs";
22958
22998
  import { fileURLToPath } from "node:url";
22959
22999
  var QUIET_WORDS = [
@@ -23361,9 +23401,9 @@ var prepareStore = /* @__PURE__ */ __name(async (index, env, name, rescan = fals
23361
23401
  var openIndex = /* @__PURE__ */ __name(async (env, name, rescan = false) => {
23362
23402
  if (name)
23363
23403
  activeProfile(env, name);
23364
- const { ensureSqlite } = await import("./sqlite-runtime-BF3KDM7W.js");
23404
+ const { ensureSqlite } = await import("./sqlite-runtime-N7N3EYGH.js");
23365
23405
  await ensureSqlite();
23366
- const { openStore: openStore2, storePath: storePath2 } = await import("./store-UKPGGAPW.js");
23406
+ const { openStore: openStore2, storePath: storePath2 } = await import("./store-QV4ZNEQ3.js");
23367
23407
  if (env.DRIVE_STORE)
23368
23408
  throw new CliError("configuration_error", "DRIVE_STORE has been retired; use MESSAGING_STORE to select the shared database", { reason: "store.override-retired" });
23369
23409
  const store = await openStore2({ path: storePath2(env), env, command: "drive", version: VERSION });
@@ -23407,7 +23447,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
23407
23447
  linkMessages: /* @__PURE__ */ __name((documents, since) => store.notes.linkMessages({ documents, ...since ? { since } : {} }), "linkMessages"),
23408
23448
  knowledge: documentKnowledge2(store, async (principal) => (await folder(principal, false))?.id),
23409
23449
  openPictures: /* @__PURE__ */ __name(async () => {
23410
- const { openPictureEmbedderFor, savePicture } = await import("./services-5MCTECBU.js");
23450
+ const { openPictureEmbedderFor, savePicture } = await import("./services-K4UOEMQD.js");
23411
23451
  const embedder = pictureEmbedder ?? await openPictureEmbedderFor({ env, command: "drive" });
23412
23452
  return {
23413
23453
  save: /* @__PURE__ */ __name((reference, bytes) => savePicture(store, { ref: reference }, bytes, { embedder }), "save"),
@@ -23425,7 +23465,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
23425
23465
  has_more: false,
23426
23466
  meaning_skipped: "this Google account has no imported sources"
23427
23467
  };
23428
- const { searchNotes } = await import("./services-5MCTECBU.js");
23468
+ const { searchNotes } = await import("./services-K4UOEMQD.js");
23429
23469
  const result = await searchNotes(store, query, {
23430
23470
  ...options,
23431
23471
  folderIds: selected ? [selected.id] : [],
@@ -23456,7 +23496,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
23456
23496
  };
23457
23497
  }, "search"),
23458
23498
  embed: /* @__PURE__ */ __name(async (max) => {
23459
- const { embedNotes } = await import("./services-5MCTECBU.js");
23499
+ const { embedNotes } = await import("./services-K4UOEMQD.js");
23460
23500
  return embedNotes(store, { maxChunks: max, env, command: "drive" });
23461
23501
  }, "embed"),
23462
23502
  close: /* @__PURE__ */ __name(() => store.close(), "close")
@@ -23736,7 +23776,7 @@ var createProgram = /* @__PURE__ */ __name((options = {}) => {
23736
23776
  });
23737
23777
  }, "output");
23738
23778
  const signedIn = /* @__PURE__ */ __name(async (name, scope) => {
23739
- const { authorizedClient, checkAuthorization } = await import("./tokens-DFCFRF7I.js");
23779
+ const { authorizedClient, checkAuthorization } = await import("./tokens-Y7HCOXOA.js");
23740
23780
  const client = authorizedClient(env, name, options.keyring, activeSignal);
23741
23781
  await checkAuthorization(client, scope);
23742
23782
  return client;
@@ -23745,7 +23785,7 @@ var createProgram = /* @__PURE__ */ __name((options = {}) => {
23745
23785
  const name = selected();
23746
23786
  if (options.source)
23747
23787
  return options.source(name);
23748
- const [{ googleSource }, client] = await Promise.all([import("./google-ZYDFTHLN.js"), signedIn(name)]);
23788
+ const [{ googleSource }, client] = await Promise.all([import("./google-KNILTIDW.js"), signedIn(name)]);
23749
23789
  return googleSource(client);
23750
23790
  }, "source");
23751
23791
  const withIndex = /* @__PURE__ */ __name(async (fn) => {
@@ -23804,6 +23844,7 @@ var createProgram = /* @__PURE__ */ __name((options = {}) => {
23804
23844
  });
23805
23845
  const remote = {
23806
23846
  mcp: options.mcp,
23847
+ stored: storedDocument(context),
23807
23848
  output,
23808
23849
  positive,
23809
23850
  readBody: options.readBody ?? ((path) => {
@@ -23840,7 +23881,7 @@ var createProgram = /* @__PURE__ */ __name((options = {}) => {
23840
23881
  if (options.api)
23841
23882
  return await options.api.call(method, params, body);
23842
23883
  const [{ googleApi }, client] = await Promise.all([
23843
- import("./google-api-2GT5PAW2.js"),
23884
+ import("./google-api-CZACYX5T.js"),
23844
23885
  signedIn(selected(), descriptor.scope)
23845
23886
  ]);
23846
23887
  return await googleApi(client).call(method, params, body);
@@ -23865,7 +23906,7 @@ var createProgram = /* @__PURE__ */ __name((options = {}) => {
23865
23906
  if (options.download)
23866
23907
  return options.download(id, mime);
23867
23908
  const [{ googleDownload }, client] = await Promise.all([
23868
- import("./google-api-2GT5PAW2.js"),
23909
+ import("./google-api-CZACYX5T.js"),
23869
23910
  signedIn(selected(), apiMethod(method).scope)
23870
23911
  ]);
23871
23912
  return googleDownload(client)(id, mime);
@@ -23883,7 +23924,7 @@ var createProgram = /* @__PURE__ */ __name((options = {}) => {
23883
23924
  let request = options.uploadRequest;
23884
23925
  if (!request) {
23885
23926
  const [{ googleUploadRequest }, client] = await Promise.all([
23886
- import("./google-api-2GT5PAW2.js"),
23927
+ import("./google-api-CZACYX5T.js"),
23887
23928
  signedIn(selected(), apiMethod(method).scope)
23888
23929
  ]);
23889
23930
  request = googleUploadRequest(client);
@@ -24052,6 +24093,7 @@ Availability: unavailable \u2014 ${availability.reason}
24052
24093
  if (flags.some((arg) => arg === "--profile" || arg.startsWith("--profile=")))
24053
24094
  throw new CliError("validation_error", "the profile is the first word: drive <profile> <command>; there is no --profile");
24054
24095
  profileWord = lifted.profile ? profileName(lifted.profile) : void 0;
24096
+ program.setOptionValue("profile", profileWord);
24055
24097
  const rest = lifted.rest;
24056
24098
  try {
24057
24099
  const running = parse([...prefix, ...rest], settings);
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSecret
5
- } from "./chunk-IKNU5A5Y.js";
6
- import "./chunk-WUFCYDKB.js";
7
- import "./chunk-VHT2WI4I.js";
8
- import "./chunk-BJ3JRO34.js";
5
+ } from "./chunk-TATRMMOG.js";
6
+ import "./chunk-EXYEDKTX.js";
7
+ import "./chunk-HGWMX7BM.js";
8
+ import "./chunk-EY4CUQW2.js";
9
9
  import "./chunk-Y5E2WNWB.js";
10
10
  import "./chunk-ZVVMGPBJ.js";
11
11
  export {
@@ -2,9 +2,9 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  REASONS
5
- } from "./chunk-MAXN7COO.js";
6
- import "./chunk-O5EHUB2V.js";
7
- import "./chunk-BJ3JRO34.js";
5
+ } from "./chunk-P3T2SZW2.js";
6
+ import "./chunk-2WNDZFGG.js";
7
+ import "./chunk-EY4CUQW2.js";
8
8
  import "./chunk-ZVVMGPBJ.js";
9
9
  export {
10
10
  REASONS
@@ -0,0 +1,22 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SAMPLE_RATE,
5
+ decodeOgg,
6
+ detector,
7
+ loadSherpa,
8
+ openRecognizer,
9
+ toModelRate
10
+ } from "./chunk-CCEVICWU.js";
11
+ import "./chunk-HGWMX7BM.js";
12
+ import "./chunk-EY4CUQW2.js";
13
+ import "./chunk-Y5E2WNWB.js";
14
+ import "./chunk-ZVVMGPBJ.js";
15
+ export {
16
+ SAMPLE_RATE,
17
+ decodeOgg,
18
+ detector,
19
+ loadSherpa,
20
+ openRecognizer,
21
+ toModelRate
22
+ };
@@ -8,13 +8,13 @@ import {
8
8
  openRemote,
9
9
  remoteKey,
10
10
  remoteModel
11
- } from "./chunk-PH74B2VZ.js";
12
- import "./chunk-RCS2SCX5.js";
11
+ } from "./chunk-KEQ35HQQ.js";
12
+ import "./chunk-M2D4FXKY.js";
13
13
  import "./chunk-5DPV7X27.js";
14
- import "./chunk-GNFHZZ55.js";
15
- import "./chunk-TRMIV3OA.js";
16
- import "./chunk-VHT2WI4I.js";
17
- import "./chunk-BJ3JRO34.js";
14
+ import "./chunk-QY3LK3OT.js";
15
+ import "./chunk-YROVFHPJ.js";
16
+ import "./chunk-HGWMX7BM.js";
17
+ import "./chunk-EY4CUQW2.js";
18
18
  import "./chunk-Y5E2WNWB.js";
19
19
  import "./chunk-ZVVMGPBJ.js";
20
20
  export {
@@ -4,18 +4,18 @@ import {
4
4
  defaultThreads,
5
5
  loadModel,
6
6
  truncated
7
- } from "./chunk-RCS2SCX5.js";
7
+ } from "./chunk-M2D4FXKY.js";
8
8
  import "./chunk-5DPV7X27.js";
9
- import "./chunk-GNFHZZ55.js";
10
- import "./chunk-TRMIV3OA.js";
11
- import "./chunk-VHT2WI4I.js";
12
- import "./chunk-BJ3JRO34.js";
9
+ import "./chunk-QY3LK3OT.js";
10
+ import "./chunk-YROVFHPJ.js";
11
+ import "./chunk-HGWMX7BM.js";
12
+ import "./chunk-EY4CUQW2.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
19
19
  var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
20
20
  const { ort, tokenizer, session } = await loadModel(model, directory, threads);
21
21
  const typeIds = session.inputNames.includes("token_type_ids");
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  MCP_PATH,
5
5
  serveOverHttp
6
- } from "./chunk-R2A3K7ZF.js";
7
- import "./chunk-DDYR6DYL.js";
8
- import "./chunk-NLEB26GA.js";
6
+ } from "./chunk-4J7UGHPK.js";
7
+ import "./chunk-XEETGCOC.js";
8
+ import "./chunk-24TOKSZE.js";
9
9
  import "./chunk-5FONRUG6.js";
10
- import "./chunk-3HRDEJJW.js";
11
- import "./chunk-NP3XLLN3.js";
12
- import "./chunk-AIXLOMH4.js";
13
- import "./chunk-VHT2WI4I.js";
14
- import "./chunk-BJ3JRO34.js";
10
+ import "./chunk-QSDXVUJG.js";
11
+ import "./chunk-RTIMGPLN.js";
12
+ import "./chunk-53UWCVSU.js";
13
+ import "./chunk-HGWMX7BM.js";
14
+ import "./chunk-EY4CUQW2.js";
15
15
  import "./chunk-Y5E2WNWB.js";
16
16
  import "./chunk-ZVVMGPBJ.js";
17
17
  export {