@wirecat/cli-memo 0.131.31 → 0.131.33

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 (147) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-PFCNICOF.js → all-profiles-I67AQBML.js} +5 -5
  3. package/dist/bundle/{anthropic-QLGMYWVZ.js → anthropic-TAN7BXEI.js} +3 -3
  4. package/dist/bundle/{app-server-QD67I7V2.js → app-server-BB6D3T5A.js} +35 -35
  5. package/dist/bundle/auto-6555QOPH.js +86 -0
  6. package/dist/bundle/{bun-JRTUGKIJ.js → bun-UQEFISW2.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-HCZP2CNO.js → bun-sqlite-2QF3TO47.js} +2 -2
  8. package/dist/bundle/{chunk-HLJ6IUVF.js → chunk-2S5YZCD4.js} +2 -2
  9. package/dist/bundle/{chunk-3G44GDIZ.js → chunk-2Y2UWMJX.js} +5 -5
  10. package/dist/bundle/{chunk-GNY5YLNY.js → chunk-3CVPUL6V.js} +2 -2
  11. package/dist/bundle/{chunk-OS55OQ74.js → chunk-3DDGDOTM.js} +5 -5
  12. package/dist/bundle/{chunk-XWIRWBB5.js → chunk-3TEBUFO4.js} +1 -1
  13. package/dist/bundle/{chunk-3OH5DJ6X.js → chunk-4BDZUM4Z.js} +7 -1
  14. package/dist/bundle/{chunk-NG26I3JV.js → chunk-536BN5HJ.js} +1 -1
  15. package/dist/bundle/{chunk-7AMJFTJM.js → chunk-5DEHFWR4.js} +1 -1
  16. package/dist/bundle/{chunk-X6HXGL5E.js → chunk-5JAYP233.js} +7 -7
  17. package/dist/bundle/{chunk-63JF4E76.js → chunk-5M4CW3PM.js} +330 -247
  18. package/dist/bundle/{chunk-4D6BG353.js → chunk-62H5HS77.js} +6 -6
  19. package/dist/bundle/{chunk-ARVXP2UJ.js → chunk-6MDFXQ3P.js} +258 -258
  20. package/dist/bundle/{chunk-W4GV42D5.js → chunk-7OSMWDV3.js} +2 -2
  21. package/dist/bundle/{chunk-ZHDOELM7.js → chunk-ABORNS53.js} +7 -7
  22. package/dist/bundle/{chunk-CGI5EIIA.js → chunk-AFCZMG3T.js} +20 -20
  23. package/dist/bundle/{chunk-S3FQQRUM.js → chunk-AP3AG2BB.js} +4 -4
  24. package/dist/bundle/{chunk-FGJKBQCP.js → chunk-BFLYYQZ7.js} +3 -3
  25. package/dist/bundle/{chunk-5YVU6PXP.js → chunk-BSPNSDJR.js} +4 -4
  26. package/dist/bundle/{chunk-GKZ65EOY.js → chunk-BT6ZZUXC.js} +54 -54
  27. package/dist/bundle/{chunk-NDJUEFV2.js → chunk-BUYST3RY.js} +1 -1
  28. package/dist/bundle/{chunk-L34KLQIU.js → chunk-DUQGOBGY.js} +9 -9
  29. package/dist/bundle/{chunk-Q2ZIIXA2.js → chunk-EN3D3M3X.js} +2 -2
  30. package/dist/bundle/{chunk-JTSYAO5V.js → chunk-FQ23ENBP.js} +350 -280
  31. package/dist/bundle/{chunk-WGX6AEUP.js → chunk-FZXOHGOA.js} +3 -3
  32. package/dist/bundle/{chunk-ZB5ZZWFR.js → chunk-GUCICZ5E.js} +4 -4
  33. package/dist/bundle/{chunk-RO4YPDGF.js → chunk-HU2UNNN5.js} +1 -1
  34. package/dist/bundle/{chunk-RRDXT63A.js → chunk-IT5OORGL.js} +1 -1
  35. package/dist/bundle/{chunk-K6ZWFP2X.js → chunk-JCFO4LQL.js} +1 -1
  36. package/dist/bundle/{chunk-AZGQ7ABE.js → chunk-JOUN3RQQ.js} +165 -151
  37. package/dist/bundle/{chunk-42I4XE3O.js → chunk-KBSN3KOJ.js} +20 -20
  38. package/dist/bundle/{chunk-A56GDMFH.js → chunk-KJBKP66D.js} +3 -3
  39. package/dist/bundle/{chunk-PG4KORTB.js → chunk-KTGIARY4.js} +1 -1
  40. package/dist/bundle/{chunk-XUMYVRBZ.js → chunk-L5XW7SRP.js} +1 -1
  41. package/dist/bundle/{chunk-H24AL555.js → chunk-LDEPGWLS.js} +27 -27
  42. package/dist/bundle/{chunk-FE2SLKUO.js → chunk-LJZAVL4S.js} +2 -2
  43. package/dist/bundle/{chunk-5JTW3LNF.js → chunk-LUX5CPKS.js} +1 -1
  44. package/dist/bundle/{chunk-2N74ZVI6.js → chunk-MF2IXW4D.js} +1 -1
  45. package/dist/bundle/{chunk-CWHGN6HC.js → chunk-MI6OKBKQ.js} +4 -4
  46. package/dist/bundle/{chunk-7JWW4YEK.js → chunk-MZMKZ3FS.js} +8 -8
  47. package/dist/bundle/{chunk-2XBDA3XF.js → chunk-N75EWKKC.js} +1 -1
  48. package/dist/bundle/{chunk-TFEXCHMC.js → chunk-NAKJLG6G.js} +5 -5
  49. package/dist/bundle/{chunk-REUXOW2O.js → chunk-NOBWIWEE.js} +2 -2
  50. package/dist/bundle/{chunk-7MKROF5R.js → chunk-OGOMIZVL.js} +1 -1
  51. package/dist/bundle/{chunk-5BVGJBZX.js → chunk-P7AWDFQW.js} +1 -1
  52. package/dist/bundle/{chunk-MVFINUJS.js → chunk-PI5XHH3B.js} +6 -5
  53. package/dist/bundle/{chunk-QWA3MTHH.js → chunk-PVKETTTH.js} +7 -7
  54. package/dist/bundle/{chunk-Q3ZB4JGL.js → chunk-QMK5MB3I.js} +2 -2
  55. package/dist/bundle/{chunk-USMKR34T.js → chunk-R37MXUSP.js} +11 -11
  56. package/dist/bundle/{chunk-HGXTDMKN.js → chunk-RRLIMG4U.js} +85 -32
  57. package/dist/bundle/{chunk-K3CJHSLS.js → chunk-S6HHL43A.js} +1 -1
  58. package/dist/bundle/{chunk-UXA37BVT.js → chunk-SLY3522P.js} +4 -4
  59. package/dist/bundle/{chunk-QUQOKNAX.js → chunk-SN3VTCKM.js} +12 -12
  60. package/dist/bundle/{chunk-ROT4V3ZT.js → chunk-UMWPJXNA.js} +3 -3
  61. package/dist/bundle/{chunk-K3TUIQZ4.js → chunk-WSSMVWI6.js} +43 -43
  62. package/dist/bundle/{chunk-54DA525P.js → chunk-X5WJDJ7B.js} +14 -9
  63. package/dist/bundle/{chunk-URPBRYVA.js → chunk-YBSILL43.js} +4 -4
  64. package/dist/bundle/{chunk-WP3J2FNH.js → chunk-YGKZOBRU.js} +10 -10
  65. package/dist/bundle/{command-contract-DFXPO5Q7.js → command-contract-LRGVHRDS.js} +11 -11
  66. package/dist/bundle/{decode-7NGILAKQ.js → decode-AC2QFP22.js} +2 -2
  67. package/dist/bundle/{echarts-JERQI2HW.js → echarts-2LGYCSJM.js} +2 -2
  68. package/dist/bundle/{embed-3AO7KZXC.js → embed-5G5NJRTM.js} +3 -3
  69. package/dist/bundle/{embedder-WRQ7TDDB.js → embedder-AWGIIEIK.js} +6 -6
  70. package/dist/bundle/{entry-IBRPU7NO.js → entry-J2G7NST5.js} +4 -4
  71. package/dist/bundle/failure-7SDDOWOC.js +66 -0
  72. package/dist/bundle/{first-run-IJOREEQM.js → first-run-CIE4REGV.js} +5 -5
  73. package/dist/bundle/{first-screen-KYNY6ELY.js → first-screen-PLNL6V5J.js} +12 -12
  74. package/dist/bundle/{instructions-BET2PLGV.js → instructions-5236MVDG.js} +1 -1
  75. package/dist/bundle/{mcp-NUBFFPGF.js → mcp-IRYWZZMF.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-NCSG7QX5.js → node-7746MVI2.js} +2 -2
  78. package/dist/bundle/{node-sqlite-QL4M5RIK.js → node-sqlite-2JD5RF5A.js} +3 -3
  79. package/dist/bundle/{oauth-BGMMED35.js → oauth-BUMW77DB.js} +4 -4
  80. package/dist/bundle/{open-YN3KJMMQ.js → open-CXUGW7QC.js} +2 -2
  81. package/dist/bundle/{openai-CTZUSKUS.js → openai-ORFEPFYD.js} +7 -7
  82. package/dist/bundle/{process-DW237TK4.js → process-JXXYNYHP.js} +1 -1
  83. package/dist/bundle/{program-Q7VXEIJ7.js → program-4RYVZYD2.js} +105 -81
  84. package/dist/bundle/{prompt-EZCCUYCS.js → prompt-EHLY4L77.js} +2 -2
  85. package/dist/bundle/{recognize-XP3LHQD6.js → recognize-ES7MH57V.js} +1 -1
  86. package/dist/bundle/{remote-RLR5ZKKT.js → remote-EZ76X2VI.js} +4 -4
  87. package/dist/bundle/{rerank-P7LE52AC.js → rerank-CDIZ6AA6.js} +4 -4
  88. package/dist/bundle/{serve-UA7RQDNK.js → serve-YRSGBTJY.js} +6 -6
  89. package/dist/bundle/server-EUYRPM4X.js +48 -0
  90. package/dist/bundle/{server-NWCYWOPZ.js → server-MW5247KA.js} +50 -50
  91. package/dist/bundle/server-OHIH2CMF.js +61 -0
  92. package/dist/bundle/{state-72Y55LBR.js → state-S6A5VAWR.js} +3 -3
  93. package/dist/bundle/{store-PED4JCBB.js → store-O5CDNS3U.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-3OFVJT4R.js +48 -0
  95. package/dist/bundle/update-RC5CLYFY.js +69 -0
  96. package/dist/examples.d.ts.map +1 -1
  97. package/dist/examples.js +7 -1
  98. package/dist/examples.js.map +1 -1
  99. package/dist/findings/command.d.ts.map +1 -1
  100. package/dist/findings/command.js +4 -4
  101. package/dist/findings/command.js.map +1 -1
  102. package/dist/findings-input.d.ts +7 -0
  103. package/dist/findings-input.d.ts.map +1 -0
  104. package/dist/findings-input.js +23 -0
  105. package/dist/findings-input.js.map +1 -0
  106. package/dist/knowledge/project-actions-command.d.ts.map +1 -1
  107. package/dist/knowledge/project-actions-command.js +4 -4
  108. package/dist/knowledge/project-actions-command.js.map +1 -1
  109. package/dist/knowledge/project-actions.d.ts +2 -0
  110. package/dist/knowledge/project-actions.d.ts.map +1 -1
  111. package/dist/mail/findings-command.d.ts +1 -1
  112. package/dist/mail/findings-command.d.ts.map +1 -1
  113. package/dist/mail/findings-command.js +5 -6
  114. package/dist/mail/findings-command.js.map +1 -1
  115. package/dist/mail/review-command.d.ts +4 -3
  116. package/dist/mail/review-command.d.ts.map +1 -1
  117. package/dist/mail/review-command.js +9 -5
  118. package/dist/mail/review-command.js.map +1 -1
  119. package/dist/mcp/permissions.d.ts +1 -1
  120. package/dist/mcp/permissions.d.ts.map +1 -1
  121. package/dist/mcp/permissions.js +1 -0
  122. package/dist/mcp/permissions.js.map +1 -1
  123. package/dist/reasons.d.ts.map +1 -1
  124. package/dist/reasons.js +6 -0
  125. package/dist/reasons.js.map +1 -1
  126. package/dist/tasks/command.d.ts.map +1 -1
  127. package/dist/tasks/command.js +2 -0
  128. package/dist/tasks/command.js.map +1 -1
  129. package/dist/tasks/list.d.ts.map +1 -1
  130. package/dist/tasks/list.js +2 -0
  131. package/dist/tasks/list.js.map +1 -1
  132. package/dist/tasks/tasks.d.ts +4 -0
  133. package/dist/tasks/tasks.d.ts.map +1 -1
  134. package/dist/tasks/tasks.js +2 -0
  135. package/dist/tasks/tasks.js.map +1 -1
  136. package/dist/version.d.ts +1 -1
  137. package/dist/version.js +1 -1
  138. package/package.json +3 -3
  139. package/skills/cli-memo/topics/mail.md +2 -1
  140. package/skills/mail-triage/SKILL.md +28 -10
  141. package/dist/bundle/auto-MCSKUSPU.js +0 -86
  142. package/dist/bundle/failure-QBQMSEYX.js +0 -66
  143. package/dist/bundle/server-N6L3LGQO.js +0 -48
  144. package/dist/bundle/server-XU362INX.js +0 -61
  145. package/dist/bundle/store-maintenance-command-B364Q2O4.js +0 -48
  146. package/dist/bundle/update-X2A5CW5A.js +0 -69
  147. /package/dist/bundle/{chunk-QPPNLE7G.js → chunk-JB5P5WSQ.js} +0 -0
@@ -6,17 +6,17 @@ import {
6
6
  autoState,
7
7
  lastAutoRun,
8
8
  recordAutoRun
9
- } from "./chunk-ZB5ZZWFR.js";
9
+ } from "./chunk-GUCICZ5E.js";
10
10
  import {
11
11
  installer,
12
12
  latest,
13
13
  upgradeCommand
14
- } from "./chunk-OS55OQ74.js";
14
+ } from "./chunk-3DDGDOTM.js";
15
15
  import {
16
16
  mcpOwnerAllowed,
17
17
  readOnlyAvailability,
18
18
  refuseWritesUnderLock
19
- } from "./chunk-MVFINUJS.js";
19
+ } from "./chunk-PI5XHH3B.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-5YVU6PXP.js";
29
+ } from "./chunk-BSPNSDJR.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-RRLIMG4U.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-7OSMWDV3.js";
61
+ import "./chunk-PVKETTTH.js";
62
+ import "./chunk-FZXOHGOA.js";
63
63
  import {
64
64
  errorObject,
65
65
  recognisable
66
- } from "./chunk-ROT4V3ZT.js";
66
+ } from "./chunk-UMWPJXNA.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-5M4CW3PM.js";
102
+ import "./chunk-P7AWDFQW.js";
103
+ import "./chunk-LUX5CPKS.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-AFCZMG3T.js";
111
+ import "./chunk-L5XW7SRP.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-X5WJDJ7B.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-WSSMVWI6.js";
123
+ import "./chunk-KBSN3KOJ.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-6MDFXQ3P.js";
177
177
  import {
178
178
  readBoundedUtf8File,
179
179
  writeFileAtomic
180
- } from "./chunk-QUQOKNAX.js";
180
+ } from "./chunk-SN3VTCKM.js";
181
181
  import {
182
182
  commandsText,
183
183
  inSection,
184
184
  installHelp
185
- } from "./chunk-4D6BG353.js";
185
+ } from "./chunk-62H5HS77.js";
186
186
  import "./chunk-HTQTIKWP.js";
187
- import "./chunk-HLJ6IUVF.js";
187
+ import "./chunk-2S5YZCD4.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-JOUN3RQQ.js";
218
+ import "./chunk-5JAYP233.js";
219
+ import "./chunk-YGKZOBRU.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-KJBKP66D.js";
225
+ import "./chunk-DUQGOBGY.js";
226
+ import "./chunk-BUYST3RY.js";
227
+ import "./chunk-MI6OKBKQ.js";
228
228
  import {
229
229
  releaseLock,
230
230
  takeLock
231
- } from "./chunk-REUXOW2O.js";
232
- import "./chunk-RO4YPDGF.js";
231
+ } from "./chunk-NOBWIWEE.js";
232
+ import "./chunk-HU2UNNN5.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-FQ23ENBP.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-BT6ZZUXC.js";
297
+ import "./chunk-N75EWKKC.js";
298
+ import "./chunk-ABORNS53.js";
299
+ import "./chunk-YBSILL43.js";
300
+ import "./chunk-EN3D3M3X.js";
301
+ import "./chunk-S6HHL43A.js";
302
+ import "./chunk-MF2IXW4D.js";
303
+ import "./chunk-5DEHFWR4.js";
304
+ import "./chunk-QMK5MB3I.js";
305
+ import "./chunk-NAKJLG6G.js";
306
306
  import {
307
307
  sharedModelsDirectory
308
- } from "./chunk-FGJKBQCP.js";
308
+ } from "./chunk-BFLYYQZ7.js";
309
309
  import {
310
310
  storePath
311
- } from "./chunk-RRDXT63A.js";
311
+ } from "./chunk-IT5OORGL.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-3OH5DJ6X.js";
321
+ } from "./chunk-4BDZUM4Z.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-2Y2UWMJX.js";
326
+ import "./chunk-536BN5HJ.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-JCFO4LQL.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.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/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.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/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.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/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.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/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.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/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,9 +4207,13 @@ 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
- "memo mail findings add - --source email:me@example.com --json",
4216
+ `memo mail findings add '{"schema_version":1,"key":"mail-triage:9123","extractor":"mail-triage/1","findings":[\u2026]}' --source email:me@example.com --json`,
4213
4217
  "memo mail findings add run-2026-11-02.json --source email:personal --json=id,status"
4214
4218
  ],
4215
4219
  "mail findings show": [
@@ -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",
@@ -4997,8 +5002,26 @@ var orderCommands = /* @__PURE__ */ __name((program, streams, env) => {
4997
5002
  });
4998
5003
  }, "orderCommands");
4999
5004
 
5005
+ // dist/findings-input.js
5006
+ import { createReadStream, statSync as statSync2 } from "node:fs";
5007
+ var FINDINGS_INPUT_HELP = "the findings JSON itself (starts with {), a JSON file, or - for stdin; at most 65536 UTF-8 bytes";
5008
+ var readFindingsInput = /* @__PURE__ */ __name((input, stdin) => {
5009
+ if (input.trimStart().startsWith("{"))
5010
+ return Promise.resolve(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));
5022
+ }, "readFindingsInput");
5023
+
5000
5024
  // dist/findings/command.js
5001
- import { createReadStream } from "node:fs";
5002
5025
  var FINDINGS_QUERY = {
5003
5026
  entity: "meeting_findings",
5004
5027
  backend: "native",
@@ -5012,8 +5035,8 @@ var findingsCommand = /* @__PURE__ */ __name((program, streams, env) => {
5012
5035
  const acting = /* @__PURE__ */ __name((store, given) => writeAccount(store, env, given, warn), "acting");
5013
5036
  const options = /* @__PURE__ */ __name((command) => sourceOptions(command, MEETING_ACCOUNT_HELP).option("--json", "print JSON; --json=id,status keeps only those fields"), "options");
5014
5037
  const writes = /* @__PURE__ */ __name((command) => writeOptions(command, MEETING_WRITE_HELP).option("--json", "print JSON; --json=id,status keeps only those fields"), "writes");
5015
- writes(annotate(group.command("add"), { effects: LOCAL_WRITE, output: { entity: "meeting_findings" } })).description("stage cited findings; facts and tasks wait for owner confirmation").argument("<file>", "JSON proposal file, or - for stdin; at most 65536 UTF-8 bytes").addHelpText("after", "\nInput: schema_version 1, key, extractor, findings. Every finding names id, kind, project and evidence (reference and fingerprint). Facts name type and statement; tasks name type, title, reason and commitment (explicit or inferred). At most 16 findings, each with 1\u20138 exact cues from Zoom evidence. Optional due_at is a real ISO timestamp with timezone and requires due_evidence; optional assignee is a person reference and requires assignee_evidence. Both support lists cite this finding's cue references.\n").action(async (file, given) => {
5016
- const text2 = await readBatchInput(file === "-" ? environmentOf(program).stdin ?? process.stdin : createReadStream(file));
5038
+ writes(annotate(group.command("add"), { effects: LOCAL_WRITE, output: { entity: "meeting_findings" } })).description("stage cited findings; facts and tasks wait for owner confirmation").argument("<file>", FINDINGS_INPUT_HELP).addHelpText("after", "\nInput: schema_version 1, key, extractor, findings. Every finding names id, kind, project and evidence (reference and fingerprint). Facts name type and statement; tasks name type, title, reason and commitment (explicit or inferred). At most 16 findings, each with 1\u20138 exact cues from Zoom evidence. Optional due_at is a real ISO timestamp with timezone and requires due_evidence; optional assignee is a person reference and requires assignee_evidence. Both support lists cite this finding's cue references.\n").action(async (file, given) => {
5039
+ const text2 = await readFindingsInput(file, environmentOf(program).stdin ?? process.stdin);
5017
5040
  const input = parseMeetingFindingsJson(text2);
5018
5041
  const author = await whoRuns(program, env, { question: "" });
5019
5042
  const agent = author === "owner" ? { bot: "memo-findings" } : author;
@@ -5163,9 +5186,6 @@ var meetingProjectsCommand = /* @__PURE__ */ __name((projects, streams, env) =>
5163
5186
  })), true));
5164
5187
  }, "meetingProjectsCommand");
5165
5188
 
5166
- // dist/knowledge/project-actions-command.js
5167
- import { createReadStream as createReadStream2 } from "node:fs";
5168
-
5169
5189
  // dist/knowledge/project-actions.js
5170
5190
  var evidenceContext = /* @__PURE__ */ __name(async (store, ref, fingerprint, words, window) => {
5171
5191
  const record2 = await store.contextRecords?.read(ref);
@@ -5254,8 +5274,8 @@ var json3 = /* @__PURE__ */ __name((command) => command.option("--json", "print
5254
5274
  var projectActionsCommand = /* @__PURE__ */ __name((projects, streams, env) => {
5255
5275
  const group = projects.command("actions").description("cited key documents and findings an agent proposed for a project, with the evidence to decide them").summary("an agent's proposals for a project, and deciding them");
5256
5276
  const { run } = answers(projects, streams, env);
5257
- json3(annotate(group.command("add"), { effects: LOCAL_WRITE })).description("stage an agent's cited facts and follow-ups about one project for review").argument("<file>", "JSON findings file, or - for stdin; at most 65536 UTF-8 bytes").addHelpText("after", "\nInput: schema_version 1, key, extractor, findings. Every finding names id, kind and evidence: 1\u20138 msg:, document: or note: references with the fingerprint projects evidence or notes show gives. A fact may name a project and a subject (person:, organization:, task: or project:), or neither; a task names its project. Facts name type and statement; tasks name type, title, reason and commitment (explicit or inferred). A due_at or assignee needs due_evidence or assignee_evidence citing this finding's references. A payment names payment {amount, currency, direction to_us|from_us, state paid|expected|cancelled, counterparty, paid_at}: an expected one becomes an invoice and needs a person: or organization: counterparty; a paid or cancelled one names in supersedes the invoice: it settles or voids. At most one project per batch. The same key and input returns the same batch; actions confirm and reject decide it by its id.\n").action(async (file, given, command) => {
5258
- const input = parseEvidenceFindingsJson(await readBatchInput(file === "-" ? environmentOf(projects).stdin ?? process.stdin : createReadStream2(file)));
5277
+ json3(annotate(group.command("add"), { effects: LOCAL_WRITE })).description("stage an agent's cited facts and follow-ups about one project for review").argument("<file>", FINDINGS_INPUT_HELP).addHelpText("after", "\nInput: schema_version 1, key, extractor, findings. Every finding names id, kind and evidence: 1\u20138 msg:, document: or note: references with the fingerprint projects evidence or notes show gives. A fact may name a project and a subject (person:, organization:, task: or project:), or neither; a task names its project. Facts name type and statement; tasks name type, title, reason and commitment (explicit or inferred). A due_at or assignee needs due_evidence or assignee_evidence citing this finding's references. A payment names payment {amount, currency, direction to_us|from_us, state paid|expected|cancelled, counterparty, paid_at}: an expected one becomes an invoice and needs a person: or organization: counterparty; a paid or cancelled one names in supersedes the invoice: it settles or voids. At most one project per batch. The same key and input returns the same batch; actions confirm and reject decide it by its id.\n").action(async (file, given, command) => {
5278
+ const input = parseEvidenceFindingsJson(await readFindingsInput(file, environmentOf(projects).stdin ?? process.stdin));
5259
5279
  const author = await whoRuns(command, env, { question: "" });
5260
5280
  if (author === "owner")
5261
5281
  throw new CliError("validation_error", "findings are an agent's proposals; record your own with memo facts add");
@@ -5436,7 +5456,7 @@ var projectContextText = /* @__PURE__ */ __name((context) => {
5436
5456
 
5437
5457
  // dist/knowledge/messenger-sync.js
5438
5458
  import { spawn } from "node:child_process";
5439
- 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";
5440
5460
  import { delimiter, join as join4 } from "node:path";
5441
5461
  var STATE = {
5442
5462
  tg: { appName: "tg-cli", envPrefix: "TG" },
@@ -5490,7 +5510,7 @@ var profileFor = /* @__PURE__ */ __name((provider, account2, env, chosen = {}) =
5490
5510
  }, "profileFor");
5491
5511
  var onPath = /* @__PURE__ */ __name((name, env) => (env.PATH ?? "").split(delimiter).filter(Boolean).map((dir) => join4(dir, name)).find((path) => {
5492
5512
  try {
5493
- return statSync2(path).isFile();
5513
+ return statSync3(path).isFile();
5494
5514
  } catch {
5495
5515
  return false;
5496
5516
  }
@@ -5544,7 +5564,7 @@ var binaryOf = /* @__PURE__ */ __name(async (provider, env, run) => {
5544
5564
  const real = realpathSync(short);
5545
5565
  if (real.includes(`/${mark}/`))
5546
5566
  return short;
5547
- 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;
5548
5568
  }, "binaryOf");
5549
5569
  var answerOf = /* @__PURE__ */ __name((stdout) => {
5550
5570
  try {
@@ -6200,9 +6220,6 @@ var knowledgeCommands = /* @__PURE__ */ __name((program, streams, env) => {
6200
6220
  writeScope(annotate(reminders.command("update"), { effects: LOCAL_WRITE }).description("move a reminder to another time").argument("<id>", "the reminder's id")).requiredOption("--at-time <time>", "the new time: an ISO 8601 time with its UTC offset").requiredOption("--revision <n>", "the reminder's current revision, as reminders list gives it", positive).action((id, options) => act(options, async (store, key) => itemAnswer(await store.knowledge.snoozeReminder(key, id, options.atTime, options.revision))));
6201
6221
  }, "knowledgeCommands");
6202
6222
 
6203
- // dist/mail/findings-command.js
6204
- import { createReadStream as createReadStream3 } from "node:fs";
6205
-
6206
6223
  // dist/mail/review-command.js
6207
6224
  var MAILBOX_HELP = `the one mailbox: ${MAIL_SOURCES}; may be left out when the store holds one mailbox`;
6208
6225
  var oneMailboxOf = /* @__PURE__ */ __name(async (store, env, source) => {
@@ -6231,13 +6248,16 @@ var mailReviewCommands = /* @__PURE__ */ __name((mail, messages, env) => {
6231
6248
  };
6232
6249
  const shared = mailReadCommands(reads);
6233
6250
  const review = named2(shared, "review");
6234
- const acknowledge = named2(named2(shared, "messages").commands, "acknowledge");
6235
- for (const command of [review, acknowledge])
6251
+ const sharedMessages = named2(shared, "messages").commands;
6252
+ const acknowledge = named2(sharedMessages, "acknowledge");
6253
+ const reset = named2(sharedMessages, "reset");
6254
+ for (const command of [review, acknowledge, reset])
6236
6255
  overrideSharedContract(command, "memo holds several mailboxes and no profile, so --source names the one mailbox; its --json is per command.", (one2) => {
6237
6256
  one2.option("--source <accounts>", MAILBOX_HELP).option("--json", "print JSON; --json=id,title keeps only those fields");
6238
6257
  });
6239
6258
  mail.addCommand(review);
6240
6259
  messages.addCommand(acknowledge);
6260
+ messages.addCommand(reset);
6241
6261
  }, "mailReviewCommands");
6242
6262
 
6243
6263
  // dist/mail/findings-command.js
@@ -6248,8 +6268,8 @@ var FINDINGS_QUERY2 = {
6248
6268
  };
6249
6269
  var INPUT_HELP = `
6250
6270
  Input: schema_version 1, key, extractor, findings. key is <holder>:<through id>, the id in the cursor
6251
- \`mail review --holder\` gave (mail-triage:9123456); the same key and file give the same batch, the same key with
6252
- another file is refused. 1\u201330 findings, at most 5 from one sender; each cites 1\u20138 msg:email/\u2026 references with the
6271
+ \`mail review --holder\` gave (mail-triage:9123456); the same key and input give the same batch, the same key with
6272
+ another input is refused. 1\u201330 findings, at most 5 from one sender; each cites 1\u20138 msg:email/\u2026 references with the
6253
6273
  fingerprint review gave, and at least one email of this mailbox.
6254
6274
  Kinds: task (type bug|feature|chore, title, reason, commitment explicit|inferred, optional project, due_at with
6255
6275
  due_evidence, assignee with assignee_evidence; no project means the mailbox's inbox project) \xB7 task_update (task,
@@ -6269,8 +6289,8 @@ var json4 = /* @__PURE__ */ __name((command) => command.option("--json", "print
6269
6289
  var mailFindingsCommand = /* @__PURE__ */ __name((program, mail, streams, env) => {
6270
6290
  const { run } = answers(program, streams, env);
6271
6291
  const findings = mail.command("findings").description("cited tasks, task updates, facts, memories, links, contacts, invoices, payments and orders an agent read in new mail").summary("what an agent read in new mail, cited, waiting for the owner");
6272
- json4(proposesOnly(annotate(findings.command("add"), { effects: LOCAL_WRITE, output: { entity: "mail_findings" } }))).description("stage one mailbox's findings for the owner; nothing is created until the owner confirms").summary("stage one mailbox's findings; the owner confirms them").argument("<file>", "JSON findings file, or - for stdin; at most 65536 UTF-8 bytes").option("--source <accounts>", MAILBOX_HELP).addHelpText("after", INPUT_HELP).action(async (file, given) => {
6273
- const text2 = await readBatchInput(file === "-" ? environmentOf(program).stdin ?? process.stdin : createReadStream3(file));
6292
+ json4(proposesOnly(annotate(findings.command("add"), { effects: LOCAL_WRITE, output: { entity: "mail_findings" } }))).description("stage one mailbox's findings for the owner; nothing is created until the owner confirms").summary("stage one mailbox's findings; the owner confirms them").argument("<file>", FINDINGS_INPUT_HELP).option("--source <accounts>", MAILBOX_HELP).addHelpText("after", INPUT_HELP).action(async (file, given) => {
6293
+ const text2 = await readFindingsInput(file, environmentOf(program).stdin ?? process.stdin);
6274
6294
  const input = parseMailFindingsJson(text2);
6275
6295
  const author = await whoRuns(program, env, { question: "" });
6276
6296
  const agent = author === "owner" ? { bot: "memo-mail-findings" } : author;
@@ -6417,10 +6437,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6417
6437
  }).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) => {
6418
6438
  if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
6419
6439
  throw new CliError("validation_error", "--port and --public-url require --http");
6420
- const { createMemoServer } = await import("./server-NWCYWOPZ.js");
6440
+ const { createMemoServer } = await import("./server-MW5247KA.js");
6421
6441
  const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
6422
6442
  if (options.http) {
6423
- const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-NUBFFPGF.js");
6443
+ const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-IRYWZZMF.js");
6424
6444
  const publicUrl = publicUrlOf(options.publicUrl, {
6425
6445
  missing: "--http",
6426
6446
  reaches: "the browser apps reach memo",
@@ -6472,7 +6492,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6472
6492
  });
6473
6493
  });
6474
6494
  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() {
6475
- const { revokeAll } = await import("./mcp-NUBFFPGF.js");
6495
+ const { revokeAll } = await import("./mcp-IRYWZZMF.js");
6476
6496
  revokeAll(httpTokenFile(env));
6477
6497
  out.print(this.opts().json, itemAnswer({ revoked: true }));
6478
6498
  });
@@ -7093,7 +7113,7 @@ var notesCommand = /* @__PURE__ */ __name((...args) => {
7093
7113
  }, "notesCommand");
7094
7114
 
7095
7115
  // dist/notes/folders-command.js
7096
- import { statSync as statSync3 } from "node:fs";
7116
+ import { statSync as statSync4 } from "node:fs";
7097
7117
  import { basename as basename2, resolve as resolve4 } from "node:path";
7098
7118
  var formatOf2 = /* @__PURE__ */ __name((value) => {
7099
7119
  if (!DIALECTS.includes(value))
@@ -7104,7 +7124,7 @@ var directory = /* @__PURE__ */ __name((path) => {
7104
7124
  const at = resolve4(path);
7105
7125
  let isDirectory = false;
7106
7126
  try {
7107
- isDirectory = statSync3(at).isDirectory();
7127
+ isDirectory = statSync4(at).isDirectory();
7108
7128
  } catch {
7109
7129
  }
7110
7130
  if (!isDirectory)
@@ -8272,6 +8292,8 @@ var taskItem = /* @__PURE__ */ __name((task, extra = {}) => {
8272
8292
  })
8273
8293
  } : {},
8274
8294
  source_message: task.source,
8295
+ external_id: task.externalId,
8296
+ source_url: task.sourceUrl,
8275
8297
  priority: task.priority,
8276
8298
  priority_label: task.priorityLabel,
8277
8299
  agent: task.agent,
@@ -8466,7 +8488,9 @@ var fieldsOf2 = /* @__PURE__ */ __name((options) => ({
8466
8488
  ...options.title === void 0 ? {} : { title: options.title },
8467
8489
  ...options.priority === void 0 ? {} : { priority: options.priority },
8468
8490
  ...options.parent === void 0 ? {} : { parent: options.parent },
8469
- ...options.description === void 0 ? {} : { description: options.description }
8491
+ ...options.description === void 0 ? {} : { description: options.description },
8492
+ ...options.externalId === void 0 ? {} : { externalId: options.externalId },
8493
+ ...options.sourceUrl === void 0 ? {} : { sourceUrl: options.sourceUrl }
8470
8494
  }), "fieldsOf");
8471
8495
  var assignAll = /* @__PURE__ */ __name(async (store, env, id, people) => {
8472
8496
  for (const person of people ?? [])
@@ -8616,7 +8640,7 @@ var tasksCommand2 = /* @__PURE__ */ __name((program, streams, env) => {
8616
8640
  taskRelationsCommand(group, streams, env);
8617
8641
  const { print } = answers(program, streams, env);
8618
8642
  const warn = /* @__PURE__ */ __name((text2) => streams.diagnostic(text2), "warn");
8619
- 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) => {
8643
+ 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) => {
8620
8644
  await withStore(env, async (store) => {
8621
8645
  const scope = await scopeOf(store, env, options, warn);
8622
8646
  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-EN3D3M3X.js";
6
+ import "./chunk-S6HHL43A.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-FZXOHGOA.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-QMK5MB3I.js";
12
+ import "./chunk-NAKJLG6G.js";
13
+ import "./chunk-BFLYYQZ7.js";
14
+ import "./chunk-IT5OORGL.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-NAKJLG6G.js";
8
+ import "./chunk-BFLYYQZ7.js";
9
+ import "./chunk-IT5OORGL.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.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/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-AP3AG2BB.js";
7
+ import "./chunk-LUX5CPKS.js";
8
+ import "./chunk-3CVPUL6V.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-MI6OKBKQ.js";
12
+ import "./chunk-NOBWIWEE.js";
13
+ import "./chunk-HU2UNNN5.js";
14
14
  import "./chunk-TZ7WDQPD.js";
15
15
  import "./chunk-G2BB5WY5.js";
16
16
  import "./chunk-Y5E2WNWB.js";
@@ -0,0 +1,48 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ createBotServer,
5
+ serveBotOverStdio
6
+ } from "./chunk-MZMKZ3FS.js";
7
+ import "./chunk-P7AWDFQW.js";
8
+ import "./chunk-R37MXUSP.js";
9
+ import "./chunk-X5WJDJ7B.js";
10
+ import "./chunk-LJZAVL4S.js";
11
+ import "./chunk-MM5NVP7F.js";
12
+ import "./chunk-3X4JM3ZR.js";
13
+ import "./chunk-H3ZN4YLB.js";
14
+ import "./chunk-6MDFXQ3P.js";
15
+ import "./chunk-SN3VTCKM.js";
16
+ import "./chunk-JOUN3RQQ.js";
17
+ import "./chunk-5JAYP233.js";
18
+ import "./chunk-I7PL5WX2.js";
19
+ import "./chunk-YPF6OS37.js";
20
+ import "./chunk-KJBKP66D.js";
21
+ import "./chunk-BUYST3RY.js";
22
+ import "./chunk-HU2UNNN5.js";
23
+ import "./chunk-FQ23ENBP.js";
24
+ import "./chunk-BT6ZZUXC.js";
25
+ import "./chunk-N75EWKKC.js";
26
+ import "./chunk-ABORNS53.js";
27
+ import "./chunk-YBSILL43.js";
28
+ import "./chunk-S6HHL43A.js";
29
+ import "./chunk-5DEHFWR4.js";
30
+ import "./chunk-QMK5MB3I.js";
31
+ import "./chunk-NAKJLG6G.js";
32
+ import "./chunk-BFLYYQZ7.js";
33
+ import "./chunk-IT5OORGL.js";
34
+ import "./chunk-KV4267S4.js";
35
+ import "./chunk-LU3WKZBA.js";
36
+ import "./chunk-D72URWJE.js";
37
+ import "./chunk-2Y2UWMJX.js";
38
+ import "./chunk-536BN5HJ.js";
39
+ import "./chunk-TZ7WDQPD.js";
40
+ import "./chunk-G2BB5WY5.js";
41
+ import "./chunk-Y5E2WNWB.js";
42
+ import "./chunk-EB2IULWB.js";
43
+ import "./chunk-JCFO4LQL.js";
44
+ import "./chunk-ZVVMGPBJ.js";
45
+ export {
46
+ createBotServer,
47
+ serveBotOverStdio
48
+ };