@wirecat/cli-memo 0.131.32 → 0.131.34

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 (139) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-PFCNICOF.js → all-profiles-GPFKMOBB.js} +5 -5
  3. package/dist/bundle/{anthropic-QLGMYWVZ.js → anthropic-ASHT7U76.js} +3 -3
  4. package/dist/bundle/{app-server-QD67I7V2.js → app-server-D3IL4M6V.js} +35 -35
  5. package/dist/bundle/auto-BL5FF576.js +86 -0
  6. package/dist/bundle/{bun-JRTUGKIJ.js → bun-EIOFQKTA.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-HCZP2CNO.js → bun-sqlite-YIX2BVSZ.js} +2 -2
  8. package/dist/bundle/{chunk-CWHGN6HC.js → chunk-26I6JRFH.js} +4 -4
  9. package/dist/bundle/{chunk-REUXOW2O.js → chunk-2RDJLWOY.js} +2 -2
  10. package/dist/bundle/{chunk-TFEXCHMC.js → chunk-3W4HD6ZQ.js} +5 -5
  11. package/dist/bundle/{chunk-QUQOKNAX.js → chunk-47KEZ3AX.js} +12 -12
  12. package/dist/bundle/{chunk-X3GQJTTF.js → chunk-4VJJEIVC.js} +5 -5
  13. package/dist/bundle/{chunk-42I4XE3O.js → chunk-5HVQTBDA.js} +20 -20
  14. package/dist/bundle/{chunk-GNY5YLNY.js → chunk-5OCV4UG5.js} +2 -2
  15. package/dist/bundle/{chunk-FGJKBQCP.js → chunk-6PTJTITL.js} +3 -3
  16. package/dist/bundle/{chunk-GKZ65EOY.js → chunk-7PQZBIBH.js} +54 -54
  17. package/dist/bundle/{chunk-K3TUIQZ4.js → chunk-7YECAMPV.js} +43 -43
  18. package/dist/bundle/{chunk-L34KLQIU.js → chunk-AQQSOZ57.js} +9 -9
  19. package/dist/bundle/{chunk-7AMJFTJM.js → chunk-BN5H2M75.js} +1 -1
  20. package/dist/bundle/{chunk-5OYZNBE7.js → chunk-BRG5MJLL.js} +7 -1
  21. package/dist/bundle/{chunk-WP3J2FNH.js → chunk-BWVE7V4A.js} +10 -10
  22. package/dist/bundle/{chunk-7MKROF5R.js → chunk-C7AXGHGM.js} +1 -1
  23. package/dist/bundle/{chunk-FE2SLKUO.js → chunk-CL6MHRXX.js} +2 -2
  24. package/dist/bundle/{chunk-QWA3MTHH.js → chunk-D22HTXOR.js} +7 -7
  25. package/dist/bundle/{chunk-USMKR34T.js → chunk-D5LDALYF.js} +11 -11
  26. package/dist/bundle/{chunk-WGX6AEUP.js → chunk-DOXKMSML.js} +3 -3
  27. package/dist/bundle/{chunk-5JTW3LNF.js → chunk-DU6LCIHP.js} +1 -1
  28. package/dist/bundle/{chunk-NDJUEFV2.js → chunk-E7NEGYRF.js} +1 -1
  29. package/dist/bundle/{chunk-PG4KORTB.js → chunk-EGB2R53R.js} +1 -1
  30. package/dist/bundle/{chunk-S3FQQRUM.js → chunk-EQR2QVP3.js} +4 -4
  31. package/dist/bundle/{chunk-ZHDOELM7.js → chunk-EVD3X6HS.js} +7 -7
  32. package/dist/bundle/{chunk-X6HXGL5E.js → chunk-G7TQ5W5Z.js} +7 -7
  33. package/dist/bundle/{chunk-K6ZWFP2X.js → chunk-GWMA7EU5.js} +1 -1
  34. package/dist/bundle/{chunk-2N74ZVI6.js → chunk-GY27B6XK.js} +1 -1
  35. package/dist/bundle/{chunk-W4GV42D5.js → chunk-H7N5JMQN.js} +2 -2
  36. package/dist/bundle/{chunk-3G44GDIZ.js → chunk-I4SJXEDS.js} +5 -5
  37. package/dist/bundle/{chunk-MG2JNBUV.js → chunk-IAFUPD2G.js} +6 -5
  38. package/dist/bundle/{chunk-XUMYVRBZ.js → chunk-JD4EEKNA.js} +1 -1
  39. package/dist/bundle/{chunk-5BVGJBZX.js → chunk-KG7APWFM.js} +1 -1
  40. package/dist/bundle/{chunk-URPBRYVA.js → chunk-L43BXXBS.js} +4 -4
  41. package/dist/bundle/{chunk-H24AL555.js → chunk-LC5SAWVM.js} +27 -27
  42. package/dist/bundle/{chunk-ARVXP2UJ.js → chunk-MQ7IHK4Z.js} +257 -280
  43. package/dist/bundle/{chunk-NG26I3JV.js → chunk-NDEA2YAQ.js} +1 -1
  44. package/dist/bundle/{chunk-7JWW4YEK.js → chunk-NECGI52P.js} +8 -8
  45. package/dist/bundle/{chunk-RRDXT63A.js → chunk-NPLZ67KU.js} +1 -1
  46. package/dist/bundle/{chunk-HGXTDMKN.js → chunk-ONEW2BND.js} +85 -32
  47. package/dist/bundle/{chunk-Q3ZB4JGL.js → chunk-RQVC4ETN.js} +2 -2
  48. package/dist/bundle/{chunk-HLJ6IUVF.js → chunk-RTPTCTH6.js} +2 -2
  49. package/dist/bundle/{chunk-4D6BG353.js → chunk-S62WXHPD.js} +6 -6
  50. package/dist/bundle/{chunk-2XBDA3XF.js → chunk-SMAODNHO.js} +1 -1
  51. package/dist/bundle/{chunk-CV5EXF7J.js → chunk-TVHCOWJD.js} +4 -4
  52. package/dist/bundle/{chunk-XWIRWBB5.js → chunk-UBUKFDMN.js} +1 -1
  53. package/dist/bundle/{chunk-Q2ZIIXA2.js → chunk-UW2FRDLZ.js} +2 -2
  54. package/dist/bundle/{chunk-CUT72KGN.js → chunk-VE2NDXFO.js} +3 -3
  55. package/dist/bundle/{chunk-UXA37BVT.js → chunk-WROCO6RJ.js} +4 -4
  56. package/dist/bundle/{chunk-A56GDMFH.js → chunk-XV4E2XGC.js} +3 -3
  57. package/dist/bundle/{chunk-AZGQ7ABE.js → chunk-XZ3XUN4R.js} +177 -179
  58. package/dist/bundle/{chunk-K3CJHSLS.js → chunk-Y3NJODLW.js} +1 -1
  59. package/dist/bundle/{chunk-RTFU72GD.js → chunk-Y3XTA24Z.js} +4 -4
  60. package/dist/bundle/{chunk-CGI5EIIA.js → chunk-YJMQBJWU.js} +20 -20
  61. package/dist/bundle/{chunk-JTSYAO5V.js → chunk-YZU5HNYY.js} +350 -280
  62. package/dist/bundle/{chunk-54DA525P.js → chunk-ZE5HUZJV.js} +14 -9
  63. package/dist/bundle/{chunk-RO4YPDGF.js → chunk-ZV2K5I2G.js} +1 -1
  64. package/dist/bundle/{chunk-63JF4E76.js → chunk-ZWBLSTFE.js} +446 -312
  65. package/dist/bundle/{command-contract-DFXPO5Q7.js → command-contract-X3I3J4AF.js} +11 -11
  66. package/dist/bundle/{decode-7NGILAKQ.js → decode-BF5RUGSR.js} +2 -2
  67. package/dist/bundle/{echarts-JERQI2HW.js → echarts-ADL7T3Q3.js} +2 -2
  68. package/dist/bundle/{embed-3AO7KZXC.js → embed-DOTUACTV.js} +3 -3
  69. package/dist/bundle/{embedder-WRQ7TDDB.js → embedder-TMR4UP7L.js} +6 -6
  70. package/dist/bundle/{entry-IBRPU7NO.js → entry-RPG5J5UQ.js} +4 -4
  71. package/dist/bundle/failure-4CTYFX6P.js +66 -0
  72. package/dist/bundle/{first-run-IJOREEQM.js → first-run-ONCIVD42.js} +5 -5
  73. package/dist/bundle/{first-screen-KYNY6ELY.js → first-screen-4LRYED7X.js} +12 -12
  74. package/dist/bundle/{instructions-BET2PLGV.js → instructions-QVBHRTPG.js} +1 -1
  75. package/dist/bundle/{mcp-NUBFFPGF.js → mcp-4AFVFHYE.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-NCSG7QX5.js → node-6OXRSWHH.js} +2 -2
  78. package/dist/bundle/{node-sqlite-QL4M5RIK.js → node-sqlite-TG4H4T3L.js} +3 -3
  79. package/dist/bundle/{oauth-BGMMED35.js → oauth-OXKNZOKZ.js} +4 -4
  80. package/dist/bundle/{open-YN3KJMMQ.js → open-WW3W42QS.js} +2 -2
  81. package/dist/bundle/{openai-CTZUSKUS.js → openai-MNHTZHBT.js} +7 -7
  82. package/dist/bundle/{process-DW237TK4.js → process-TCXURVHD.js} +1 -1
  83. package/dist/bundle/{program-RAUHPTRG.js → program-GYW7IHWQ.js} +98 -85
  84. package/dist/bundle/{prompt-EZCCUYCS.js → prompt-TGGJDYAS.js} +2 -2
  85. package/dist/bundle/{recognize-XP3LHQD6.js → recognize-WV4MK35T.js} +1 -1
  86. package/dist/bundle/{remote-RLR5ZKKT.js → remote-RQVV5MFO.js} +4 -4
  87. package/dist/bundle/{rerank-P7LE52AC.js → rerank-OJPVJGX5.js} +4 -4
  88. package/dist/bundle/{serve-UA7RQDNK.js → serve-KG7HPG5B.js} +6 -6
  89. package/dist/bundle/{server-XM4LNODP.js → server-ESYNVVQC.js} +50 -50
  90. package/dist/bundle/server-TQVOXRHP.js +48 -0
  91. package/dist/bundle/server-YKMBFXQ4.js +61 -0
  92. package/dist/bundle/{state-72Y55LBR.js → state-G7KN3S6X.js} +3 -3
  93. package/dist/bundle/{store-PED4JCBB.js → store-GI2FLGUI.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-CQ3KI7LW.js +48 -0
  95. package/dist/bundle/update-NP3I4GCG.js +69 -0
  96. package/dist/examples.d.ts.map +1 -1
  97. package/dist/examples.js +6 -0
  98. package/dist/examples.js.map +1 -1
  99. package/dist/findings-input.d.ts.map +1 -1
  100. package/dist/findings-input.js +13 -3
  101. package/dist/findings-input.js.map +1 -1
  102. package/dist/knowledge/project-actions.d.ts +2 -0
  103. package/dist/knowledge/project-actions.d.ts.map +1 -1
  104. package/dist/knowledge/project-status-command.d.ts.map +1 -1
  105. package/dist/knowledge/project-status-command.js +12 -19
  106. package/dist/knowledge/project-status-command.js.map +1 -1
  107. package/dist/mail/review-command.d.ts +4 -3
  108. package/dist/mail/review-command.d.ts.map +1 -1
  109. package/dist/mail/review-command.js +9 -5
  110. package/dist/mail/review-command.js.map +1 -1
  111. package/dist/mcp/permissions.d.ts +1 -1
  112. package/dist/mcp/permissions.d.ts.map +1 -1
  113. package/dist/mcp/permissions.js +1 -0
  114. package/dist/mcp/permissions.js.map +1 -1
  115. package/dist/reasons.d.ts.map +1 -1
  116. package/dist/reasons.js +6 -0
  117. package/dist/reasons.js.map +1 -1
  118. package/dist/tasks/command.d.ts.map +1 -1
  119. package/dist/tasks/command.js +2 -0
  120. package/dist/tasks/command.js.map +1 -1
  121. package/dist/tasks/list.d.ts.map +1 -1
  122. package/dist/tasks/list.js +2 -0
  123. package/dist/tasks/list.js.map +1 -1
  124. package/dist/tasks/tasks.d.ts +4 -0
  125. package/dist/tasks/tasks.d.ts.map +1 -1
  126. package/dist/tasks/tasks.js +2 -0
  127. package/dist/tasks/tasks.js.map +1 -1
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/package.json +3 -3
  131. package/skills/cli-memo/topics/mail.md +2 -1
  132. package/skills/mail-triage/SKILL.md +24 -3
  133. package/dist/bundle/auto-PZKJQ3FL.js +0 -86
  134. package/dist/bundle/failure-46JTICYP.js +0 -66
  135. package/dist/bundle/server-N6L3LGQO.js +0 -48
  136. package/dist/bundle/server-XU362INX.js +0 -61
  137. package/dist/bundle/store-maintenance-command-B364Q2O4.js +0 -48
  138. package/dist/bundle/update-IWJYYYRI.js +0 -69
  139. /package/dist/bundle/{chunk-QPPNLE7G.js → chunk-3RFXKBZA.js} +0 -0
@@ -6,17 +6,17 @@ import {
6
6
  autoState,
7
7
  lastAutoRun,
8
8
  recordAutoRun
9
- } from "./chunk-RTFU72GD.js";
9
+ } from "./chunk-Y3XTA24Z.js";
10
10
  import {
11
11
  installer,
12
12
  latest,
13
13
  upgradeCommand
14
- } from "./chunk-X3GQJTTF.js";
14
+ } from "./chunk-4VJJEIVC.js";
15
15
  import {
16
16
  mcpOwnerAllowed,
17
17
  readOnlyAvailability,
18
18
  refuseWritesUnderLock
19
- } from "./chunk-MG2JNBUV.js";
19
+ } from "./chunk-IAFUPD2G.js";
20
20
  import {
21
21
  answers,
22
22
  atDetail,
@@ -26,7 +26,7 @@ import {
26
26
  trackAnswers,
27
27
  wholeList,
28
28
  withStore
29
- } from "./chunk-CV5EXF7J.js";
29
+ } from "./chunk-TVHCOWJD.js";
30
30
  import {
31
31
  ATTACHMENT_CHARS,
32
32
  DIALECTS,
@@ -55,15 +55,15 @@ import {
55
55
  showMail,
56
56
  unsetConfigKey,
57
57
  updateConfig
58
- } from "./chunk-HGXTDMKN.js";
58
+ } from "./chunk-ONEW2BND.js";
59
59
  import "./chunk-QP3KNC5D.js";
60
- import "./chunk-W4GV42D5.js";
61
- import "./chunk-QWA3MTHH.js";
62
- import "./chunk-WGX6AEUP.js";
60
+ import "./chunk-H7N5JMQN.js";
61
+ import "./chunk-D22HTXOR.js";
62
+ import "./chunk-DOXKMSML.js";
63
63
  import {
64
64
  errorObject,
65
65
  recognisable
66
- } from "./chunk-CUT72KGN.js";
66
+ } from "./chunk-VE2NDXFO.js";
67
67
  import {
68
68
  DISCOVERY_DESCRIPTIONS,
69
69
  addContractInfo,
@@ -98,29 +98,29 @@ import {
98
98
  tasksCommand,
99
99
  tasksStatsCommand,
100
100
  withSqliteSidecars
101
- } from "./chunk-63JF4E76.js";
102
- import "./chunk-5BVGJBZX.js";
103
- import "./chunk-5JTW3LNF.js";
101
+ } from "./chunk-ZWBLSTFE.js";
102
+ import "./chunk-KG7APWFM.js";
103
+ import "./chunk-DU6LCIHP.js";
104
104
  import {
105
105
  allHitItem,
106
106
  coverageGaps,
107
107
  messageHitItem,
108
108
  noteHitItem,
109
109
  shownOf
110
- } from "./chunk-CGI5EIIA.js";
111
- import "./chunk-XUMYVRBZ.js";
110
+ } from "./chunk-YJMQBJWU.js";
111
+ import "./chunk-JD4EEKNA.js";
112
112
  import {
113
113
  SKILL_TARGETS,
114
114
  skillCommand,
115
115
  skillPath,
116
116
  skillVersion
117
- } from "./chunk-54DA525P.js";
117
+ } from "./chunk-ZE5HUZJV.js";
118
118
  import {
119
119
  modelGateway,
120
120
  storeInfo,
121
121
  storeSummary
122
- } from "./chunk-K3TUIQZ4.js";
123
- import "./chunk-42I4XE3O.js";
122
+ } from "./chunk-7YECAMPV.js";
123
+ import "./chunk-5HVQTBDA.js";
124
124
  import {
125
125
  LIST_QUERY_GUIDE,
126
126
  ORGANIZATIONS_QUERY,
@@ -173,18 +173,18 @@ import {
173
173
  termField,
174
174
  typedQuery,
175
175
  withQuery
176
- } from "./chunk-ARVXP2UJ.js";
176
+ } from "./chunk-MQ7IHK4Z.js";
177
177
  import {
178
178
  readBoundedUtf8File,
179
179
  writeFileAtomic
180
- } from "./chunk-QUQOKNAX.js";
180
+ } from "./chunk-47KEZ3AX.js";
181
181
  import {
182
182
  commandsText,
183
183
  inSection,
184
184
  installHelp
185
- } from "./chunk-4D6BG353.js";
185
+ } from "./chunk-S62WXHPD.js";
186
186
  import "./chunk-HTQTIKWP.js";
187
- import "./chunk-HLJ6IUVF.js";
187
+ import "./chunk-RTPTCTH6.js";
188
188
  import {
189
189
  Command,
190
190
  FETCH,
@@ -214,22 +214,22 @@ import {
214
214
  runsDirFor,
215
215
  settingRows,
216
216
  settingsFor
217
- } from "./chunk-AZGQ7ABE.js";
218
- import "./chunk-X6HXGL5E.js";
219
- import "./chunk-WP3J2FNH.js";
217
+ } from "./chunk-XZ3XUN4R.js";
218
+ import "./chunk-G7TQ5W5Z.js";
219
+ import "./chunk-BWVE7V4A.js";
220
220
  import {
221
221
  isNewer
222
222
  } from "./chunk-I7PL5WX2.js";
223
223
  import "./chunk-YPF6OS37.js";
224
- import "./chunk-A56GDMFH.js";
225
- import "./chunk-L34KLQIU.js";
226
- import "./chunk-NDJUEFV2.js";
227
- import "./chunk-CWHGN6HC.js";
224
+ import "./chunk-XV4E2XGC.js";
225
+ import "./chunk-AQQSOZ57.js";
226
+ import "./chunk-E7NEGYRF.js";
227
+ import "./chunk-26I6JRFH.js";
228
228
  import {
229
229
  releaseLock,
230
230
  takeLock
231
- } from "./chunk-REUXOW2O.js";
232
- import "./chunk-RO4YPDGF.js";
231
+ } from "./chunk-2RDJLWOY.js";
232
+ import "./chunk-ZV2K5I2G.js";
233
233
  import {
234
234
  EVIDENCE_FINDINGS_KIND,
235
235
  MAIL_FINDINGS_KIND,
@@ -260,7 +260,7 @@ import {
260
260
  parseReference,
261
261
  providerNamed,
262
262
  refLabel
263
- } from "./chunk-JTSYAO5V.js";
263
+ } from "./chunk-YZU5HNYY.js";
264
264
  import {
265
265
  FACT_STATUSES,
266
266
  FACT_TYPES,
@@ -293,22 +293,22 @@ import {
293
293
  timezoneOf,
294
294
  validateQuery,
295
295
  walkQuery
296
- } from "./chunk-GKZ65EOY.js";
297
- import "./chunk-2XBDA3XF.js";
298
- import "./chunk-ZHDOELM7.js";
299
- import "./chunk-URPBRYVA.js";
300
- import "./chunk-Q2ZIIXA2.js";
301
- import "./chunk-K3CJHSLS.js";
302
- import "./chunk-2N74ZVI6.js";
303
- import "./chunk-7AMJFTJM.js";
304
- import "./chunk-Q3ZB4JGL.js";
305
- import "./chunk-TFEXCHMC.js";
296
+ } from "./chunk-7PQZBIBH.js";
297
+ import "./chunk-SMAODNHO.js";
298
+ import "./chunk-EVD3X6HS.js";
299
+ import "./chunk-L43BXXBS.js";
300
+ import "./chunk-UW2FRDLZ.js";
301
+ import "./chunk-Y3NJODLW.js";
302
+ import "./chunk-GY27B6XK.js";
303
+ import "./chunk-BN5H2M75.js";
304
+ import "./chunk-RQVC4ETN.js";
305
+ import "./chunk-3W4HD6ZQ.js";
306
306
  import {
307
307
  sharedModelsDirectory
308
- } from "./chunk-FGJKBQCP.js";
308
+ } from "./chunk-6PTJTITL.js";
309
309
  import {
310
310
  storePath
311
- } from "./chunk-RRDXT63A.js";
311
+ } from "./chunk-NPLZ67KU.js";
312
312
  import {
313
313
  provideTerminal,
314
314
  terminalOf
@@ -318,12 +318,12 @@ import {
318
318
  REASONS,
319
319
  STORE_CLIENT,
320
320
  VERSION
321
- } from "./chunk-5OYZNBE7.js";
321
+ } from "./chunk-BRG5MJLL.js";
322
322
  import "./chunk-KV4267S4.js";
323
323
  import "./chunk-LU3WKZBA.js";
324
324
  import "./chunk-D72URWJE.js";
325
- import "./chunk-3G44GDIZ.js";
326
- import "./chunk-NG26I3JV.js";
325
+ import "./chunk-I4SJXEDS.js";
326
+ import "./chunk-NDEA2YAQ.js";
327
327
  import {
328
328
  createDeadline,
329
329
  createRenderer,
@@ -362,7 +362,7 @@ import {
362
362
  errorCodes,
363
363
  isCliError
364
364
  } from "./chunk-EB2IULWB.js";
365
- import "./chunk-K6ZWFP2X.js";
365
+ import "./chunk-GWMA7EU5.js";
366
366
  import {
367
367
  __name
368
368
  } from "./chunk-ZVVMGPBJ.js";
@@ -644,7 +644,7 @@ var collect = /* @__PURE__ */ __name((value, previous = []) => [...previous, val
644
644
  var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sourceOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "readScope");
645
645
  var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
646
646
 
647
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
647
+ // node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
648
648
  var SCORED = "mail_sender_scores";
649
649
  var DAY = 864e5;
650
650
  var RECENT = 2 * 365 * DAY;
@@ -660,7 +660,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
660
660
  return senders;
661
661
  }, "demotedSenders");
662
662
 
663
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mail/sync.js
663
+ // node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/sync.js
664
664
  var DAY2 = 864e5;
665
665
  var EDGE = 2 * DAY2;
666
666
 
@@ -1889,7 +1889,7 @@ import { createHash } from "node:crypto";
1889
1889
  import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
1890
1890
  import { basename, extname, relative, sep } from "node:path";
1891
1891
 
1892
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
1892
+ // node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
1893
1893
  var Proposal = object({
1894
1894
  kind: picklist(["summary", "digest", "fact", "preference"]),
1895
1895
  body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
@@ -1897,10 +1897,10 @@ var Proposal = object({
1897
1897
  });
1898
1898
  var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
1899
1899
 
1900
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1900
+ // node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1901
1901
  var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
1902
1902
 
1903
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1903
+ // node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1904
1904
  var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
1905
1905
 
1906
1906
  // dist/notes/links.js
@@ -4207,6 +4207,10 @@ var EXAMPLES = {
4207
4207
  "memo messages acknowledge --holder mail-triage --cursor 9123.1762090000000 --source email:me@example.com --json",
4208
4208
  "memo messages acknowledge --holder backfill --cursor 870.1762090000000 --source email:personal"
4209
4209
  ],
4210
+ "messages reset": [
4211
+ "memo messages reset --holder mail-triage --last 8 --dry-run --source email:me@example.com",
4212
+ "memo messages reset --holder mail-triage --since-time 2026-11-04T00:00:00Z --source email:work --json"
4213
+ ],
4210
4214
  "mail findings add": [
4211
4215
  "memo mail findings add findings.json --source email:work",
4212
4216
  `memo mail findings add '{"schema_version":1,"key":"mail-triage:9123","extractor":"mail-triage/1","findings":[\u2026]}' --source email:me@example.com --json`,
@@ -4254,7 +4258,8 @@ var EXAMPLES = {
4254
4258
  "tasks status": ["memo tasks status HRB-2"],
4255
4259
  "tasks add": [
4256
4260
  "memo tasks add 'msg:telegram/1/77/42' --account telegram:1 --type request",
4257
- "memo tasks add --project HRB --title 'Draft the budget' --type feature"
4261
+ "memo tasks add --project HRB --title 'Draft the budget' --type feature",
4262
+ "memo tasks add --project INBOX --title 'Reply on Avito to Ivan' --external-id avito:4512345678 --source-url https://www.avito.ru/4512345678"
4258
4263
  ],
4259
4264
  "tasks list": [
4260
4265
  "memo tasks list state:done --source telegram:1",
@@ -4998,12 +5003,22 @@ var orderCommands = /* @__PURE__ */ __name((program, streams, env) => {
4998
5003
  }, "orderCommands");
4999
5004
 
5000
5005
  // dist/findings-input.js
5001
- import { createReadStream } from "node:fs";
5006
+ import { createReadStream, statSync as statSync2 } from "node:fs";
5002
5007
  var FINDINGS_INPUT_HELP = "the findings JSON itself (starts with {), a JSON file, or - for stdin; at most 65536 UTF-8 bytes";
5003
5008
  var readFindingsInput = /* @__PURE__ */ __name((input, stdin) => {
5004
5009
  if (input.trimStart().startsWith("{"))
5005
5010
  return Promise.resolve(input);
5006
- return readBatchInput(input === "-" ? stdin : createReadStream(input));
5011
+ if (input === "-")
5012
+ return readBatchInput(stdin);
5013
+ const file = statSync2(input, { throwIfNoEntry: false });
5014
+ if (!file)
5015
+ throw new CliError("not_found", `no findings file ${input}: give the JSON itself, a file that exists, or -`, {
5016
+ reason: "findings.file-missing",
5017
+ path: input
5018
+ });
5019
+ if (!file.isFile())
5020
+ throw new CliError("validation_error", `${input} is not a file`, { path: input });
5021
+ return readBatchInput(createReadStream(input));
5007
5022
  }, "readFindingsInput");
5008
5023
 
5009
5024
  // dist/findings/command.js
@@ -5441,7 +5456,7 @@ var projectContextText = /* @__PURE__ */ __name((context) => {
5441
5456
 
5442
5457
  // dist/knowledge/messenger-sync.js
5443
5458
  import { spawn } from "node:child_process";
5444
- import { existsSync as existsSync4, readdirSync as readdirSync2, readFileSync as readFileSync5, realpathSync, statSync as statSync2 } from "node:fs";
5459
+ import { existsSync as existsSync4, readdirSync as readdirSync2, readFileSync as readFileSync5, realpathSync, statSync as statSync3 } from "node:fs";
5445
5460
  import { delimiter, join as join4 } from "node:path";
5446
5461
  var STATE = {
5447
5462
  tg: { appName: "tg-cli", envPrefix: "TG" },
@@ -5495,7 +5510,7 @@ var profileFor = /* @__PURE__ */ __name((provider, account2, env, chosen = {}) =
5495
5510
  }, "profileFor");
5496
5511
  var onPath = /* @__PURE__ */ __name((name, env) => (env.PATH ?? "").split(delimiter).filter(Boolean).map((dir) => join4(dir, name)).find((path) => {
5497
5512
  try {
5498
- return statSync2(path).isFile();
5513
+ return statSync3(path).isFile();
5499
5514
  } catch {
5500
5515
  return false;
5501
5516
  }
@@ -5549,7 +5564,7 @@ var binaryOf = /* @__PURE__ */ __name(async (provider, env, run) => {
5549
5564
  const real = realpathSync(short);
5550
5565
  if (real.includes(`/${mark}/`))
5551
5566
  return short;
5552
- return statSync2(real).size < 65536 && readFileSync5(real, "utf8").includes(mark) ? short : void 0;
5567
+ return statSync3(real).size < 65536 && readFileSync5(real, "utf8").includes(mark) ? short : void 0;
5553
5568
  }, "binaryOf");
5554
5569
  var answerOf = /* @__PURE__ */ __name((stdout) => {
5555
5570
  try {
@@ -5771,12 +5786,11 @@ var withFinance = /* @__PURE__ */ __name((row) => ({
5771
5786
  sections: { ...row.sections, finance: "memo_finance" }
5772
5787
  }), "withFinance");
5773
5788
  var titled = /* @__PURE__ */ __name(async (store, found) => {
5774
- const refs = [
5775
- .../* @__PURE__ */ new Set([...found.chats.map((chat) => chat.ref), ...found.items.flatMap((one2) => one2.evidence[0]?.ref ?? [])])
5776
- ];
5777
- const summaries = await store.refs.summaries(refs);
5778
- const chats = found.chats.map((chat) => ({ ...chat, title: summaries.get(chat.ref)?.title ?? chat.title }));
5779
- return { found: { ...found, chats }, titleOf: /* @__PURE__ */ __name((ref) => (ref && summaries.get(ref)?.title) ?? null, "titleOf") };
5789
+ const summaries = await store.refs.summaries(found.chats.map((chat) => chat.ref));
5790
+ return {
5791
+ ...found,
5792
+ chats: found.chats.map((chat) => ({ ...chat, title: summaries.get(chat.ref)?.title ?? chat.title }))
5793
+ };
5780
5794
  }, "titled");
5781
5795
  var linked = /* @__PURE__ */ __name((chat) => {
5782
5796
  const reference2 = parseReference(chat.ref);
@@ -5800,14 +5814,14 @@ var outside = /* @__PURE__ */ __name((blocked) => (step, found) => {
5800
5814
  };
5801
5815
  }, "outside");
5802
5816
  var asAction = /* @__PURE__ */ __name((step) => step.kind === "command" ? { kind: "user_action", step: step.step, why: `${step.why}: ${step.line}`, safe_to_auto_execute: false } : step, "asAction");
5803
- var projectStatusCommand = /* @__PURE__ */ __name((projects, print, env) => answerEntity(annotate(projects.command("status"), { effects: LOCAL_READ, partial: true }), "project_status", projectStatusSchema, { row: withFinance(projectStatusRow(STATUS_SIGNALS)) }).description("where a project stands, from the stored messages of every chat confirmed as the project's or its child projects', in every account those links name (meta.accounts lists them): the last message, who replies next, open questions both ways, promises, amounts with their direction, payments recorded, billed, paid and owed per currency from confirmed invoices and payments (finance), how long each --context-query has been quiet on their side, and how much of each chat is held. Amounts, directions and promises found by words are marked pattern: read the cited message before trusting one. next names at most two chats to read, with the messenger command that reads them. No model call; nothing leaves this machine").summary("where a project stands: whose move, open asks, money, chats to read next").argument("<project>", "an existing project's id, project:<id>, key, exact name or alias").option("--since-time <time>", "how far back: days (60d, at most 730d) or a start date (2026-09-01)", "60d").option("--before-time <time>", "fixed exclusive end: ISO 8601 timestamp with UTC offset; days back count from it").option("--context-query <words>", "words that all appear in one text; reports their last mention per side. Repeat for another", collect, []).option("--sync-profile <tool=profile>", "the messenger profile the next steps name when several are signed in to a chat's account, such as max=default; repeat for another tool", syncProfileOf).option("--purpose <purpose>", "the linked chats' purposes to read, comma-separated: work, sales, support, other, or all; default work", purposeList).addOption(annotateOption(new Option("--compact", "one line per signal, chat and next step, for an agent"), { mcp: false })).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (project, options) => {
5817
+ var projectStatusCommand = /* @__PURE__ */ __name((projects, print, env) => answerEntity(annotate(projects.command("status"), { effects: LOCAL_READ, partial: true }), "project_status", projectStatusSchema, { row: withFinance(projectStatusRow(STATUS_SIGNALS)) }).description("where a project stands, from the stored messages of every chat confirmed as the project's or its child projects', in every account those links name (meta.accounts lists them): the last message, who replies next, open questions both ways, promises, amounts with their direction, payments recorded, billed, paid and owed per currency from confirmed invoices and payments (finance), how long each --context-query has been quiet on their side, and how much of each chat is held. Amounts, directions and promises found by words are marked pattern: read the cited message before trusting one. Others' questions in a group with no role, and others' word-found promises in a group, are counted on the chat's row as unlisted, not listed. next names at most two chats to read, with the messenger command that reads them. No model call; nothing leaves this machine").summary("where a project stands: whose move, open asks, money, chats to read next").argument("<project>", "an existing project's id, project:<id>, key, exact name or alias").option("--since-time <time>", "how far back: days (60d, at most 730d) or a start date (2026-09-01)", "60d").option("--before-time <time>", "fixed exclusive end: ISO 8601 timestamp with UTC offset; days back count from it").option("--context-query <words>", "words that all appear in one text; reports their last mention per side. Repeat for another", collect, []).option("--sync-profile <tool=profile>", "the messenger profile the next steps name when several are signed in to a chat's account, such as max=default; repeat for another tool", syncProfileOf).option("--purpose <purpose>", "the linked chats' purposes to read, comma-separated: work, sales, support, other, or all; default work", purposeList).addOption(annotateOption(new Option("--compact", "one line per signal, chat and next step, for an agent"), { mcp: false })).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (project, options) => {
5804
5818
  if (options.compact && options.json)
5805
5819
  throw new CliError("validation_error", "--compact and --json ask for different output \u2014 pick one", {
5806
5820
  reason: "output.conflict",
5807
5821
  param: "--compact"
5808
5822
  });
5809
5823
  const chosen = options.syncProfile ?? {};
5810
- const { found, titleOf: titleOf3, finance } = await withStore(env, async (store) => {
5824
+ const { found, finance } = await withStore(env, async (store) => {
5811
5825
  const status = await projectStatus(store, {
5812
5826
  project,
5813
5827
  ...projectWindowOf(options.sinceTime),
@@ -5816,7 +5830,7 @@ var projectStatusCommand = /* @__PURE__ */ __name((projects, print, env) => answ
5816
5830
  ...options.purpose ? { purposes: options.purpose } : {}
5817
5831
  });
5818
5832
  const books = await financeOf(store, [status.project.ref, ...status.children.map((child) => child.ref)]);
5819
- return { ...await titled(store, status), finance: books };
5833
+ return { found: await titled(store, status), finance: books };
5820
5834
  });
5821
5835
  const blocked = /* @__PURE__ */ new Set();
5822
5836
  const step = outside(blocked);
@@ -5826,16 +5840,8 @@ var projectStatusCommand = /* @__PURE__ */ __name((projects, print, env) => answ
5826
5840
  line: /* @__PURE__ */ __name((one2) => one2.kind === "command" ? one2.line ?? one2.command : one2.why, "line")
5827
5841
  };
5828
5842
  const { item, next, missing, meta } = projectStatusAnswer(found, hints);
5829
- const lists = item;
5830
- lists.finance = finance;
5831
- for (const { id } of found.signals) {
5832
- const name = id.replaceAll("-", "_");
5833
- const list = lists[name];
5834
- if (list)
5835
- lists[name] = list.map((one2) => ({ ...one2, title: titleOf3(one2.ref) }));
5836
- }
5837
5843
  const gaps = [...missing, ...[...blocked].map((why) => ({ field: "next_command", why }))];
5838
- print(options.json, itemOf(item, {
5844
+ print(options.json, itemOf({ ...item, ...finance.length ? { finance } : {} }, {
5839
5845
  ...next.length ? { next: next.map(asAction) } : {},
5840
5846
  ...gaps.length ? { missing: gaps } : {},
5841
5847
  meta
@@ -6233,13 +6239,16 @@ var mailReviewCommands = /* @__PURE__ */ __name((mail, messages, env) => {
6233
6239
  };
6234
6240
  const shared = mailReadCommands(reads);
6235
6241
  const review = named2(shared, "review");
6236
- const acknowledge = named2(named2(shared, "messages").commands, "acknowledge");
6237
- for (const command of [review, acknowledge])
6242
+ const sharedMessages = named2(shared, "messages").commands;
6243
+ const acknowledge = named2(sharedMessages, "acknowledge");
6244
+ const reset = named2(sharedMessages, "reset");
6245
+ for (const command of [review, acknowledge, reset])
6238
6246
  overrideSharedContract(command, "memo holds several mailboxes and no profile, so --source names the one mailbox; its --json is per command.", (one2) => {
6239
6247
  one2.option("--source <accounts>", MAILBOX_HELP).option("--json", "print JSON; --json=id,title keeps only those fields");
6240
6248
  });
6241
6249
  mail.addCommand(review);
6242
6250
  messages.addCommand(acknowledge);
6251
+ messages.addCommand(reset);
6243
6252
  }, "mailReviewCommands");
6244
6253
 
6245
6254
  // dist/mail/findings-command.js
@@ -6419,10 +6428,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6419
6428
  }).summary("serve this profile's commands to an AI agent").description("serve memo commands over MCP on stdio or authenticated HTTP, limited by saved permissions").option("--permission <key=level>", "tighten one saved permission for this server; repeat for more keys", (value, previous = []) => [...previous, value]).option("--http", "serve on 127.0.0.1 behind an HTTPS tunnel with an owner access-code login").option("--port <port>", `local HTTP port (default ${DEFAULT_PORT}); requires --http`).option("--public-url <url>", "tunnel's HTTPS address without /mcp, or a path of it such as https://<name>.ts.net/memo; requires --http").action(async (options) => {
6420
6429
  if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
6421
6430
  throw new CliError("validation_error", "--port and --public-url require --http");
6422
- const { createMemoServer } = await import("./server-XM4LNODP.js");
6431
+ const { createMemoServer } = await import("./server-ESYNVVQC.js");
6423
6432
  const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
6424
6433
  if (options.http) {
6425
- const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-NUBFFPGF.js");
6434
+ const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-4AFVFHYE.js");
6426
6435
  const publicUrl = publicUrlOf(options.publicUrl, {
6427
6436
  missing: "--http",
6428
6437
  reaches: "the browser apps reach memo",
@@ -6474,7 +6483,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6474
6483
  });
6475
6484
  });
6476
6485
  annotate(mcp2.command("revoke"), { effects: LOCAL_WRITE, mcp: false, examples: ["memo mcp revoke --json"] }).summary("forget every login given to a browser app").description("forget every login `memo mcp serve --http` gave a browser app; each app must log in again").option("--json", "print JSON").action(async function() {
6477
- const { revokeAll } = await import("./mcp-NUBFFPGF.js");
6486
+ const { revokeAll } = await import("./mcp-4AFVFHYE.js");
6478
6487
  revokeAll(httpTokenFile(env));
6479
6488
  out.print(this.opts().json, itemAnswer({ revoked: true }));
6480
6489
  });
@@ -7095,7 +7104,7 @@ var notesCommand = /* @__PURE__ */ __name((...args) => {
7095
7104
  }, "notesCommand");
7096
7105
 
7097
7106
  // dist/notes/folders-command.js
7098
- import { statSync as statSync3 } from "node:fs";
7107
+ import { statSync as statSync4 } from "node:fs";
7099
7108
  import { basename as basename2, resolve as resolve4 } from "node:path";
7100
7109
  var formatOf2 = /* @__PURE__ */ __name((value) => {
7101
7110
  if (!DIALECTS.includes(value))
@@ -7106,7 +7115,7 @@ var directory = /* @__PURE__ */ __name((path) => {
7106
7115
  const at = resolve4(path);
7107
7116
  let isDirectory = false;
7108
7117
  try {
7109
- isDirectory = statSync3(at).isDirectory();
7118
+ isDirectory = statSync4(at).isDirectory();
7110
7119
  } catch {
7111
7120
  }
7112
7121
  if (!isDirectory)
@@ -8274,6 +8283,8 @@ var taskItem = /* @__PURE__ */ __name((task, extra = {}) => {
8274
8283
  })
8275
8284
  } : {},
8276
8285
  source_message: task.source,
8286
+ external_id: task.externalId,
8287
+ source_url: task.sourceUrl,
8277
8288
  priority: task.priority,
8278
8289
  priority_label: task.priorityLabel,
8279
8290
  agent: task.agent,
@@ -8468,7 +8479,9 @@ var fieldsOf2 = /* @__PURE__ */ __name((options) => ({
8468
8479
  ...options.title === void 0 ? {} : { title: options.title },
8469
8480
  ...options.priority === void 0 ? {} : { priority: options.priority },
8470
8481
  ...options.parent === void 0 ? {} : { parent: options.parent },
8471
- ...options.description === void 0 ? {} : { description: options.description }
8482
+ ...options.description === void 0 ? {} : { description: options.description },
8483
+ ...options.externalId === void 0 ? {} : { externalId: options.externalId },
8484
+ ...options.sourceUrl === void 0 ? {} : { sourceUrl: options.sourceUrl }
8472
8485
  }), "fieldsOf");
8473
8486
  var assignAll = /* @__PURE__ */ __name(async (store, env, id, people) => {
8474
8487
  for (const person of people ?? [])
@@ -8618,7 +8631,7 @@ var tasksCommand2 = /* @__PURE__ */ __name((program, streams, env) => {
8618
8631
  taskRelationsCommand(group, streams, env);
8619
8632
  const { print } = answers(program, streams, env);
8620
8633
  const warn = /* @__PURE__ */ __name((text2) => streams.diagnostic(text2), "warn");
8621
- fieldOptions(writeScope(annotate(group.command("add"), { effects: LOCAL_WRITE }))).description("add a task from a message, note or document, or one of your own in a project").argument("[source]", "msg: source locator, note:<id> or document:<id>; leave out for a task in a project").option("--type <type>", "question, request (default), mention or promise from a source; bug, feature or chore (default) in a project", oneOf(TASK_TYPES)).option("--project <project>", "a task without a source: the project's key or project:<id>").option("--assignee <person...>", "who does it: a person's UID").option("--due <time>", "a project task: when it must be done, an ISO 8601 time or 2h, 3d from now", dateOrNone("--due")).option("--status <state>", `a project task: its state from the start, ${TASK_STATES.join(", ")}`, oneOf(TASK_STATES)).option("--agent <agent>", "a project task: the agent working on it, apart from its assignees").option("--into <id>", "link the source to this task instead of opening one that may be the same job").option("--new", "open the task even when one like it is open or was closed in the last 14 days").action(async (source, options) => {
8634
+ fieldOptions(writeScope(annotate(group.command("add"), { effects: LOCAL_WRITE }))).description("add a task from a message, note or document, or one of your own in a project").argument("[source]", "msg: source locator, note:<id> or document:<id>; leave out for a task in a project").option("--type <type>", "question, request (default), mention or promise from a source; bug, feature or chore (default) in a project", oneOf(TASK_TYPES)).option("--project <project>", "a task without a source: the project's key or project:<id>").option("--assignee <person...>", "who does it: a person's UID").option("--due <time>", "a project task: when it must be done, an ISO 8601 time or 2h, 3d from now", dateOrNone("--due")).option("--status <state>", `a project task: its state from the start, ${TASK_STATES.join(", ")}`, oneOf(TASK_STATES)).option("--agent <agent>", "a project task: the agent working on it, apart from its assignees").option("--external-id <service:id>", "its id in an outside service, such as avito:4512345678 for an Avito chat").option("--source-url <url>", "the http or https page it is about, such as the Avito ad or conversation").option("--into <id>", "link the source to this task instead of opening one that may be the same job").option("--new", "open the task even when one like it is open or was closed in the last 14 days").action(async (source, options) => {
8622
8635
  await withStore(env, async (store) => {
8623
8636
  const scope = await scopeOf(store, env, options, warn);
8624
8637
  print(options.json, itemAnswer(await addTask(store, env, source, { ...options, ...scope })));
@@ -2,8 +2,8 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSecret
5
- } from "./chunk-Q2ZIIXA2.js";
6
- import "./chunk-K3CJHSLS.js";
5
+ } from "./chunk-UW2FRDLZ.js";
6
+ import "./chunk-Y3NJODLW.js";
7
7
  import "./chunk-TZ7WDQPD.js";
8
8
  import "./chunk-G2BB5WY5.js";
9
9
  import "./chunk-Y5E2WNWB.js";
@@ -8,7 +8,7 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-WGX6AEUP.js";
11
+ } from "./chunk-DOXKMSML.js";
12
12
  import "./chunk-TZ7WDQPD.js";
13
13
  import "./chunk-G2BB5WY5.js";
14
14
  import "./chunk-Y5E2WNWB.js";
@@ -8,10 +8,10 @@ import {
8
8
  openRemote,
9
9
  remoteKey,
10
10
  remoteModel
11
- } from "./chunk-Q3ZB4JGL.js";
12
- import "./chunk-TFEXCHMC.js";
13
- import "./chunk-FGJKBQCP.js";
14
- import "./chunk-RRDXT63A.js";
11
+ } from "./chunk-RQVC4ETN.js";
12
+ import "./chunk-3W4HD6ZQ.js";
13
+ import "./chunk-6PTJTITL.js";
14
+ import "./chunk-NPLZ67KU.js";
15
15
  import "./chunk-TZ7WDQPD.js";
16
16
  import "./chunk-G2BB5WY5.js";
17
17
  import "./chunk-Y5E2WNWB.js";
@@ -4,9 +4,9 @@ import {
4
4
  defaultThreads,
5
5
  loadModel,
6
6
  truncated
7
- } from "./chunk-TFEXCHMC.js";
8
- import "./chunk-FGJKBQCP.js";
9
- import "./chunk-RRDXT63A.js";
7
+ } from "./chunk-3W4HD6ZQ.js";
8
+ import "./chunk-6PTJTITL.js";
9
+ import "./chunk-NPLZ67KU.js";
10
10
  import "./chunk-TZ7WDQPD.js";
11
11
  import "./chunk-G2BB5WY5.js";
12
12
  import "./chunk-Y5E2WNWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  MCP_PATH,
5
5
  serveOverHttp
6
- } from "./chunk-S3FQQRUM.js";
7
- import "./chunk-5JTW3LNF.js";
8
- import "./chunk-GNY5YLNY.js";
6
+ } from "./chunk-EQR2QVP3.js";
7
+ import "./chunk-DU6LCIHP.js";
8
+ import "./chunk-5OCV4UG5.js";
9
9
  import "./chunk-3X4JM3ZR.js";
10
10
  import "./chunk-H3ZN4YLB.js";
11
- import "./chunk-CWHGN6HC.js";
12
- import "./chunk-REUXOW2O.js";
13
- import "./chunk-RO4YPDGF.js";
11
+ import "./chunk-26I6JRFH.js";
12
+ import "./chunk-2RDJLWOY.js";
13
+ import "./chunk-ZV2K5I2G.js";
14
14
  import "./chunk-TZ7WDQPD.js";
15
15
  import "./chunk-G2BB5WY5.js";
16
16
  import "./chunk-Y5E2WNWB.js";