@wirecat/cli-memo 0.131.34 → 0.131.35

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 (125) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-GPFKMOBB.js → all-profiles-6666YYUZ.js} +9 -9
  3. package/dist/bundle/{anthropic-ASHT7U76.js → anthropic-23OB7KWO.js} +6 -6
  4. package/dist/bundle/{app-server-D3IL4M6V.js → app-server-2S5OS3OH.js} +42 -42
  5. package/dist/bundle/auto-XDBIEURD.js +86 -0
  6. package/dist/bundle/{bun-EIOFQKTA.js → bun-BNVO37ZD.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-YIX2BVSZ.js → bun-sqlite-USZ27VKM.js} +5 -5
  8. package/dist/bundle/{chunk-ZWBLSTFE.js → chunk-26PVWAKE.js} +255 -255
  9. package/dist/bundle/{chunk-XV4E2XGC.js → chunk-2DTUMEN2.js} +4 -4
  10. package/dist/bundle/{chunk-H7N5JMQN.js → chunk-2PFOLWD3.js} +3 -3
  11. package/dist/bundle/{chunk-TZ7WDQPD.js → chunk-2R2Z2VWL.js} +20 -20
  12. package/dist/bundle/{chunk-UW2FRDLZ.js → chunk-2Y4UU4DB.js} +3 -3
  13. package/dist/bundle/{chunk-3W4HD6ZQ.js → chunk-3ZZ5OCUO.js} +6 -6
  14. package/dist/bundle/{chunk-EVD3X6HS.js → chunk-4OR4HFSL.js} +8 -8
  15. package/dist/bundle/{chunk-ZV2K5I2G.js → chunk-6D47X4KD.js} +1 -1
  16. package/dist/bundle/{chunk-DU6LCIHP.js → chunk-6H6EXCZY.js} +1 -1
  17. package/dist/bundle/{chunk-KG7APWFM.js → chunk-736NNFPY.js} +1 -1
  18. package/dist/bundle/{chunk-C7AXGHGM.js → chunk-AYIUZUGD.js} +1 -1
  19. package/dist/bundle/{chunk-4VJJEIVC.js → chunk-BHDNHN55.js} +8 -8
  20. package/dist/bundle/{chunk-SMAODNHO.js → chunk-BU4LJSW2.js} +1 -1
  21. package/dist/bundle/{chunk-BN5H2M75.js → chunk-C2XCIZND.js} +2 -2
  22. package/dist/bundle/{chunk-KV4267S4.js → chunk-CID4MNRQ.js} +1 -1
  23. package/dist/bundle/{chunk-EQR2QVP3.js → chunk-CLHGYKYZ.js} +5 -5
  24. package/dist/bundle/{chunk-ONEW2BND.js → chunk-CMMKWXFG.js} +35 -35
  25. package/dist/bundle/{chunk-LC5SAWVM.js → chunk-DCBBLYCI.js} +29 -29
  26. package/dist/bundle/{chunk-GWMA7EU5.js → chunk-DMU5PAKY.js} +1 -1
  27. package/dist/bundle/{chunk-6PTJTITL.js → chunk-DMUIMBCE.js} +4 -4
  28. package/dist/bundle/{chunk-26I6JRFH.js → chunk-DQ66H456.js} +4 -4
  29. package/dist/bundle/{chunk-ZE5HUZJV.js → chunk-DYMUJFDK.js} +14 -14
  30. package/dist/bundle/{chunk-MQ7IHK4Z.js → chunk-EIYLAELT.js} +343 -289
  31. package/dist/bundle/{chunk-47KEZ3AX.js → chunk-FXG3SUIQ.js} +13 -13
  32. package/dist/bundle/{chunk-UBUKFDMN.js → chunk-FYT6A3UY.js} +1 -1
  33. package/dist/bundle/{chunk-RQVC4ETN.js → chunk-GAWGZN4F.js} +3 -3
  34. package/dist/bundle/{chunk-CL6MHRXX.js → chunk-GLFFCRRX.js} +2 -2
  35. package/dist/bundle/{chunk-G7TQ5W5Z.js → chunk-GNLCVNP7.js} +9 -9
  36. package/dist/bundle/{chunk-WROCO6RJ.js → chunk-I55VXEI2.js} +4 -4
  37. package/dist/bundle/{chunk-NDEA2YAQ.js → chunk-ICBWD2OL.js} +1 -1
  38. package/dist/bundle/{chunk-YZU5HNYY.js → chunk-IKDHJLSH.js} +277 -277
  39. package/dist/bundle/{chunk-XZ3XUN4R.js → chunk-JIWQNA2J.js} +156 -156
  40. package/dist/bundle/{chunk-I7PL5WX2.js → chunk-JY34MQW4.js} +4 -4
  41. package/dist/bundle/{chunk-Y3XTA24Z.js → chunk-L3SMTWCF.js} +7 -7
  42. package/dist/bundle/{chunk-7YECAMPV.js → chunk-L7AB7Y4Z.js} +46 -46
  43. package/dist/bundle/{chunk-BWVE7V4A.js → chunk-LBDMVVVW.js} +12 -12
  44. package/dist/bundle/{chunk-YPF6OS37.js → chunk-LER7G4XY.js} +1 -1
  45. package/dist/bundle/{chunk-IAFUPD2G.js → chunk-LQHW4G6G.js} +6 -6
  46. package/dist/bundle/{chunk-AQQSOZ57.js → chunk-ME5RGIHV.js} +11 -11
  47. package/dist/bundle/{chunk-5OCV4UG5.js → chunk-MMRM6ZMM.js} +2 -2
  48. package/dist/bundle/{chunk-Y3NJODLW.js → chunk-MNKCFCI7.js} +2 -2
  49. package/dist/bundle/{chunk-E7NEGYRF.js → chunk-N2Y6FTPK.js} +2 -2
  50. package/dist/bundle/{chunk-I4SJXEDS.js → chunk-NYELWBUA.js} +6 -6
  51. package/dist/bundle/{chunk-L43BXXBS.js → chunk-OCIE3POS.js} +6 -6
  52. package/dist/bundle/{chunk-7PQZBIBH.js → chunk-PYQU4GLK.js} +64 -64
  53. package/dist/bundle/{chunk-DOXKMSML.js → chunk-RUZOQ7QN.js} +4 -4
  54. package/dist/bundle/{chunk-EB2IULWB.js → chunk-RZ54DSVU.js} +2 -2
  55. package/dist/bundle/{chunk-BRG5MJLL.js → chunk-SKBMXSQ3.js} +2 -2
  56. package/dist/bundle/{chunk-JD4EEKNA.js → chunk-SKVRUW57.js} +2 -2
  57. package/dist/bundle/{chunk-2RDJLWOY.js → chunk-SMJAJWYW.js} +3 -3
  58. package/dist/bundle/{chunk-G2BB5WY5.js → chunk-SN63VOE6.js} +8 -8
  59. package/dist/bundle/{chunk-RTPTCTH6.js → chunk-SRHG24V7.js} +4 -4
  60. package/dist/bundle/{chunk-YJMQBJWU.js → chunk-T3AUEF46.js} +22 -22
  61. package/dist/bundle/{chunk-D22HTXOR.js → chunk-URQ7ZL5K.js} +10 -10
  62. package/dist/bundle/{chunk-NECGI52P.js → chunk-V5N65VRU.js} +9 -9
  63. package/dist/bundle/{chunk-GY27B6XK.js → chunk-VJSWU4JX.js} +3 -3
  64. package/dist/bundle/{chunk-TVHCOWJD.js → chunk-VMXESPNG.js} +7 -7
  65. package/dist/bundle/{chunk-D5LDALYF.js → chunk-VYYPW7YP.js} +31 -23
  66. package/dist/bundle/{chunk-NPLZ67KU.js → chunk-WIK6SGHZ.js} +2 -2
  67. package/dist/bundle/{chunk-VE2NDXFO.js → chunk-WRUD4OYQ.js} +5 -5
  68. package/dist/bundle/{chunk-EGB2R53R.js → chunk-XLKJSFQN.js} +2 -2
  69. package/dist/bundle/{chunk-S62WXHPD.js → chunk-XZPE2E3O.js} +8 -8
  70. package/dist/bundle/{chunk-XBIPSSKI.js → chunk-Y5CAKD4X.js} +4 -4
  71. package/dist/bundle/{chunk-5HVQTBDA.js → chunk-YGW3JZVB.js} +22 -22
  72. package/dist/bundle/command-contract-TBZCPYWZ.js +32 -0
  73. package/dist/bundle/{decode-BF5RUGSR.js → decode-RMAOEVTY.js} +5 -5
  74. package/dist/bundle/{dispatch-CU5KGRQL.js → dispatch-MLRETSNQ.js} +8 -8
  75. package/dist/bundle/{echarts-ADL7T3Q3.js → echarts-R2MI4OEU.js} +2 -2
  76. package/dist/bundle/{embed-DOTUACTV.js → embed-BG2XPLWM.js} +6 -6
  77. package/dist/bundle/{embedder-TMR4UP7L.js → embedder-65SA34CZ.js} +9 -9
  78. package/dist/bundle/{entry-RPG5J5UQ.js → entry-DX3D4TWF.js} +7 -7
  79. package/dist/bundle/failure-76A5ZD6Y.js +66 -0
  80. package/dist/bundle/{failure-TUXXI6JT.js → failure-UJBGB2GP.js} +2 -2
  81. package/dist/bundle/{first-run-ONCIVD42.js → first-run-ZUQRYWEZ.js} +11 -11
  82. package/dist/bundle/first-screen-O5X3OT77.js +30 -0
  83. package/dist/bundle/{instructions-QVBHRTPG.js → instructions-ZDWGTLMU.js} +1 -1
  84. package/dist/bundle/mcp-B5CUHAKS.js +90 -0
  85. package/dist/bundle/{mcp-PPVOM4SE.js → mcp-YMXA6IH6.js} +2 -2
  86. package/dist/bundle/memo.js +16 -16
  87. package/dist/bundle/{node-6OXRSWHH.js → node-43BSSPFC.js} +2 -2
  88. package/dist/bundle/{node-sqlite-TG4H4T3L.js → node-sqlite-RPWFR6H3.js} +6 -6
  89. package/dist/bundle/{oauth-OXKNZOKZ.js → oauth-AYAADVSS.js} +7 -7
  90. package/dist/bundle/{open-WW3W42QS.js → open-XEZ5CPLR.js} +5 -5
  91. package/dist/bundle/{openai-MNHTZHBT.js → openai-SQS7OBEI.js} +10 -10
  92. package/dist/bundle/{process-TCXURVHD.js → process-HJWMNCUC.js} +1 -1
  93. package/dist/bundle/{program-GYW7IHWQ.js → program-RQO3ZNVL.js} +80 -68
  94. package/dist/bundle/{prompt-TGGJDYAS.js → prompt-STQZGLH7.js} +5 -5
  95. package/dist/bundle/{recognize-WV4MK35T.js → recognize-HJ6G4OWB.js} +4 -4
  96. package/dist/bundle/{remote-RQVV5MFO.js → remote-HDTQYFBP.js} +7 -7
  97. package/dist/bundle/{rerank-OJPVJGX5.js → rerank-GBKN7RN4.js} +7 -7
  98. package/dist/bundle/{serve-KG7HPG5B.js → serve-KPTYHWUY.js} +9 -9
  99. package/dist/bundle/{server-ESYNVVQC.js → server-ASCI46TB.js} +57 -57
  100. package/dist/bundle/server-DJVWUOO7.js +61 -0
  101. package/dist/bundle/server-TEOK5SHM.js +48 -0
  102. package/dist/bundle/{state-G7KN3S6X.js → state-22MNHAQY.js} +6 -6
  103. package/dist/bundle/{store-GI2FLGUI.js → store-R7QBCWWM.js} +13 -13
  104. package/dist/bundle/store-maintenance-command-BZXFY2NT.js +48 -0
  105. package/dist/bundle/update-I5HTAMBY.js +69 -0
  106. package/dist/examples.d.ts.map +1 -1
  107. package/dist/examples.js +5 -1
  108. package/dist/examples.js.map +1 -1
  109. package/dist/knowledge/command.d.ts.map +1 -1
  110. package/dist/knowledge/command.js +23 -8
  111. package/dist/knowledge/command.js.map +1 -1
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +3 -3
  115. package/dist/bundle/auto-BL5FF576.js +0 -86
  116. package/dist/bundle/command-contract-X3I3J4AF.js +0 -32
  117. package/dist/bundle/failure-4CTYFX6P.js +0 -66
  118. package/dist/bundle/first-screen-4LRYED7X.js +0 -30
  119. package/dist/bundle/mcp-4AFVFHYE.js +0 -90
  120. package/dist/bundle/server-TQVOXRHP.js +0 -48
  121. package/dist/bundle/server-YKMBFXQ4.js +0 -61
  122. package/dist/bundle/store-maintenance-command-CQ3KI7LW.js +0 -48
  123. package/dist/bundle/update-NP3I4GCG.js +0 -69
  124. /package/dist/bundle/{chunk-3RFXKBZA.js → chunk-AT5Y62SD.js} +0 -0
  125. /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-QMNLI4NV.js} +0 -0
@@ -6,17 +6,17 @@ import {
6
6
  autoState,
7
7
  lastAutoRun,
8
8
  recordAutoRun
9
- } from "./chunk-Y3XTA24Z.js";
9
+ } from "./chunk-L3SMTWCF.js";
10
10
  import {
11
11
  installer,
12
12
  latest,
13
13
  upgradeCommand
14
- } from "./chunk-4VJJEIVC.js";
14
+ } from "./chunk-BHDNHN55.js";
15
15
  import {
16
16
  mcpOwnerAllowed,
17
17
  readOnlyAvailability,
18
18
  refuseWritesUnderLock
19
- } from "./chunk-IAFUPD2G.js";
19
+ } from "./chunk-LQHW4G6G.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-TVHCOWJD.js";
29
+ } from "./chunk-VMXESPNG.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-ONEW2BND.js";
58
+ } from "./chunk-CMMKWXFG.js";
59
59
  import "./chunk-QP3KNC5D.js";
60
- import "./chunk-H7N5JMQN.js";
61
- import "./chunk-D22HTXOR.js";
62
- import "./chunk-DOXKMSML.js";
60
+ import "./chunk-2PFOLWD3.js";
61
+ import "./chunk-URQ7ZL5K.js";
62
+ import "./chunk-RUZOQ7QN.js";
63
63
  import {
64
64
  errorObject,
65
65
  recognisable
66
- } from "./chunk-VE2NDXFO.js";
66
+ } from "./chunk-WRUD4OYQ.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-ZWBLSTFE.js";
102
- import "./chunk-KG7APWFM.js";
103
- import "./chunk-DU6LCIHP.js";
101
+ } from "./chunk-26PVWAKE.js";
102
+ import "./chunk-736NNFPY.js";
103
+ import "./chunk-6H6EXCZY.js";
104
104
  import {
105
105
  allHitItem,
106
106
  coverageGaps,
107
107
  messageHitItem,
108
108
  noteHitItem,
109
109
  shownOf
110
- } from "./chunk-YJMQBJWU.js";
111
- import "./chunk-JD4EEKNA.js";
110
+ } from "./chunk-T3AUEF46.js";
111
+ import "./chunk-SKVRUW57.js";
112
112
  import {
113
113
  SKILL_TARGETS,
114
114
  skillCommand,
115
115
  skillPath,
116
116
  skillVersion
117
- } from "./chunk-ZE5HUZJV.js";
117
+ } from "./chunk-DYMUJFDK.js";
118
118
  import {
119
119
  modelGateway,
120
120
  storeInfo,
121
121
  storeSummary
122
- } from "./chunk-7YECAMPV.js";
123
- import "./chunk-5HVQTBDA.js";
122
+ } from "./chunk-L7AB7Y4Z.js";
123
+ import "./chunk-YGW3JZVB.js";
124
124
  import {
125
125
  LIST_QUERY_GUIDE,
126
126
  ORGANIZATIONS_QUERY,
@@ -154,6 +154,7 @@ import {
154
154
  previewProjectAnnotationSnapshot,
155
155
  projectStatus,
156
156
  proposalRegistry,
157
+ proposeOrganization,
157
158
  purposeList,
158
159
  purposesOf,
159
160
  queryHelp,
@@ -173,18 +174,18 @@ import {
173
174
  termField,
174
175
  typedQuery,
175
176
  withQuery
176
- } from "./chunk-MQ7IHK4Z.js";
177
+ } from "./chunk-EIYLAELT.js";
177
178
  import {
178
179
  readBoundedUtf8File,
179
180
  writeFileAtomic
180
- } from "./chunk-47KEZ3AX.js";
181
+ } from "./chunk-FXG3SUIQ.js";
181
182
  import {
182
183
  commandsText,
183
184
  inSection,
184
185
  installHelp
185
- } from "./chunk-S62WXHPD.js";
186
+ } from "./chunk-XZPE2E3O.js";
186
187
  import "./chunk-HTQTIKWP.js";
187
- import "./chunk-RTPTCTH6.js";
188
+ import "./chunk-SRHG24V7.js";
188
189
  import {
189
190
  Command,
190
191
  FETCH,
@@ -214,22 +215,22 @@ import {
214
215
  runsDirFor,
215
216
  settingRows,
216
217
  settingsFor
217
- } from "./chunk-XZ3XUN4R.js";
218
- import "./chunk-G7TQ5W5Z.js";
219
- import "./chunk-BWVE7V4A.js";
218
+ } from "./chunk-JIWQNA2J.js";
219
+ import "./chunk-GNLCVNP7.js";
220
+ import "./chunk-LBDMVVVW.js";
220
221
  import {
221
222
  isNewer
222
- } from "./chunk-I7PL5WX2.js";
223
- import "./chunk-YPF6OS37.js";
224
- import "./chunk-XV4E2XGC.js";
225
- import "./chunk-AQQSOZ57.js";
226
- import "./chunk-E7NEGYRF.js";
227
- import "./chunk-26I6JRFH.js";
223
+ } from "./chunk-JY34MQW4.js";
224
+ import "./chunk-LER7G4XY.js";
225
+ import "./chunk-2DTUMEN2.js";
226
+ import "./chunk-ME5RGIHV.js";
227
+ import "./chunk-N2Y6FTPK.js";
228
+ import "./chunk-DQ66H456.js";
228
229
  import {
229
230
  releaseLock,
230
231
  takeLock
231
- } from "./chunk-2RDJLWOY.js";
232
- import "./chunk-ZV2K5I2G.js";
232
+ } from "./chunk-SMJAJWYW.js";
233
+ import "./chunk-6D47X4KD.js";
233
234
  import {
234
235
  EVIDENCE_FINDINGS_KIND,
235
236
  MAIL_FINDINGS_KIND,
@@ -260,7 +261,7 @@ import {
260
261
  parseReference,
261
262
  providerNamed,
262
263
  refLabel
263
- } from "./chunk-YZU5HNYY.js";
264
+ } from "./chunk-IKDHJLSH.js";
264
265
  import {
265
266
  FACT_STATUSES,
266
267
  FACT_TYPES,
@@ -293,22 +294,22 @@ import {
293
294
  timezoneOf,
294
295
  validateQuery,
295
296
  walkQuery
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";
297
+ } from "./chunk-PYQU4GLK.js";
298
+ import "./chunk-BU4LJSW2.js";
299
+ import "./chunk-4OR4HFSL.js";
300
+ import "./chunk-OCIE3POS.js";
301
+ import "./chunk-2Y4UU4DB.js";
302
+ import "./chunk-MNKCFCI7.js";
303
+ import "./chunk-VJSWU4JX.js";
304
+ import "./chunk-C2XCIZND.js";
305
+ import "./chunk-GAWGZN4F.js";
306
+ import "./chunk-3ZZ5OCUO.js";
306
307
  import {
307
308
  sharedModelsDirectory
308
- } from "./chunk-6PTJTITL.js";
309
+ } from "./chunk-DMUIMBCE.js";
309
310
  import {
310
311
  storePath
311
- } from "./chunk-NPLZ67KU.js";
312
+ } from "./chunk-WIK6SGHZ.js";
312
313
  import {
313
314
  provideTerminal,
314
315
  terminalOf
@@ -318,12 +319,12 @@ import {
318
319
  REASONS,
319
320
  STORE_CLIENT,
320
321
  VERSION
321
- } from "./chunk-BRG5MJLL.js";
322
- import "./chunk-KV4267S4.js";
323
- import "./chunk-LU3WKZBA.js";
322
+ } from "./chunk-SKBMXSQ3.js";
323
+ import "./chunk-CID4MNRQ.js";
324
+ import "./chunk-AT5Y62SD.js";
324
325
  import "./chunk-D72URWJE.js";
325
- import "./chunk-I4SJXEDS.js";
326
- import "./chunk-NDEA2YAQ.js";
326
+ import "./chunk-NYELWBUA.js";
327
+ import "./chunk-ICBWD2OL.js";
327
328
  import {
328
329
  createDeadline,
329
330
  createRenderer,
@@ -333,7 +334,7 @@ import {
333
334
  projectFields,
334
335
  readBatchInput,
335
336
  resolvePaths
336
- } from "./chunk-TZ7WDQPD.js";
337
+ } from "./chunk-2R2Z2VWL.js";
337
338
  import {
338
339
  MAX_NEXT_STEPS,
339
340
  array,
@@ -355,14 +356,14 @@ import {
355
356
  trim,
356
357
  union,
357
358
  unknown
358
- } from "./chunk-G2BB5WY5.js";
359
+ } from "./chunk-SN63VOE6.js";
359
360
  import "./chunk-Y5E2WNWB.js";
360
361
  import {
361
362
  CliError,
362
363
  errorCodes,
363
364
  isCliError
364
- } from "./chunk-EB2IULWB.js";
365
- import "./chunk-GWMA7EU5.js";
365
+ } from "./chunk-RZ54DSVU.js";
366
+ import "./chunk-DMU5PAKY.js";
366
367
  import {
367
368
  __name
368
369
  } from "./chunk-ZVVMGPBJ.js";
@@ -644,7 +645,7 @@ var collect = /* @__PURE__ */ __name((value, previous = []) => [...previous, val
644
645
  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
646
  var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
646
647
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
648
649
  var SCORED = "mail_sender_scores";
649
650
  var DAY = 864e5;
650
651
  var RECENT = 2 * 365 * DAY;
@@ -660,7 +661,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
660
661
  return senders;
661
662
  }, "demotedSenders");
662
663
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mail/sync.js
664
665
  var DAY2 = 864e5;
665
666
  var EDGE = 2 * DAY2;
666
667
 
@@ -1889,7 +1890,7 @@ import { createHash } from "node:crypto";
1889
1890
  import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
1890
1891
  import { basename, extname, relative, sep } from "node:path";
1891
1892
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
1893
1894
  var Proposal = object({
1894
1895
  kind: picklist(["summary", "digest", "fact", "preference"]),
1895
1896
  body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
@@ -1897,10 +1898,10 @@ var Proposal = object({
1897
1898
  });
1898
1899
  var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
1899
1900
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1901
1902
  var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
1902
1903
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1904
1905
  var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
1905
1906
 
1906
1907
  // dist/notes/links.js
@@ -4290,7 +4291,11 @@ var EXAMPLES = {
4290
4291
  "memo tasks update 1a2b3c4d --due 2d --title 'Send the revised budget' --account telegram:1"
4291
4292
  ],
4292
4293
  "tasks assign": ["memo tasks assign 7 person:3", "memo tasks assign HRB-1 person:3 --clear --revision 4"],
4293
- "organizations add": ["memo organizations add 'Harbour Studio' --kind company --scope work"],
4294
+ "organizations add": [
4295
+ "memo organizations add 'Harbour Studio' --kind company --scope work",
4296
+ "memo organizations add 'Harbour Dairy' --kind company --reason 'named in the March invoice'"
4297
+ ],
4298
+ "organizations show": ["memo organizations show organization:1"],
4294
4299
  "organizations list": ["memo organizations list --json"],
4295
4300
  "organizations context": ["memo organizations context organization:1"],
4296
4301
  "projects meetings list": ["memo projects meetings list HRB --source zoom:me@example.com"],
@@ -6066,11 +6071,18 @@ var knowledgeCommands = /* @__PURE__ */ __name((program, streams, env) => {
6066
6071
  };
6067
6072
  }, "contextOf");
6068
6073
  const organizations = program.command("organizations").description("companies, teams, families and communities of yours");
6069
- annotate(organizations.command("add"), { effects: LOCAL_WRITE, literal_after_dashes: true }).description("add an organization of yours: a company, team, family or community").argument("<name>", "the organization's name").requiredOption("--kind <kind>", ORGANIZATION_KINDS.join(", "), oneOf(ORGANIZATION_KINDS)).option("--scope <scope>", SCOPES.join(", "), oneOf(SCOPES)).option("--json", "print JSON; --json=id,title keeps only those fields").action((name, options) => owned(options, (store) => store.knowledge.addOrganization({
6070
- kind: options.kind,
6071
- name,
6072
- ...options.scope === void 0 ? {} : { scope: options.scope }
6073
- })));
6074
+ byOption(annotate(organizations.command("add"), { effects: LOCAL_WRITE, literal_after_dashes: true }).description("add an organization of yours: a company, team, family or community; an agent's waits for you in memo review").summary("add an organization; an agent's waits for your review").argument("<name>", "the organization's name").requiredOption("--kind <kind>", ORGANIZATION_KINDS.join(", "), oneOf(ORGANIZATION_KINDS)).option("--scope <scope>", SCOPES.join(", "), oneOf(SCOPES)).option("--reason <text>", "why the organization belongs in the store, in a sentence").option("--json", "print JSON; --json=id,title keeps only those fields")).action(async (name, options, command) => {
6075
+ const by = await whoRuns(command, env, { asOwner: options.asOwner, question: `add ${name} as you, the owner?` });
6076
+ const input = { kind: options.kind, name, ...options.scope === void 0 ? {} : { scope: options.scope } };
6077
+ return owned(options, (store) => by === "owner" ? store.knowledge.addOrganization(input) : proposeOrganization(store, input, { bot: by.bot }, options.reason));
6078
+ });
6079
+ annotate(organizations.command("show"), { effects: LOCAL_READ }).description("one organization by its id or organization:<id>, without its relationships, notes and tags").summary("one organization").argument("<organization>", "its id or organization:<id>").option("--json", "print JSON; --json=id,title keeps only those fields").action((reference2, options) => owned(options, async (store) => {
6080
+ const wanted = reference2.replace(/^organization:/, "");
6081
+ const found = (await store.knowledge.organizations()).find((organization) => organization.id === wanted);
6082
+ if (found === void 0)
6083
+ throw new CliError("not_found", `no organization ${reference2}; memo organizations list shows them`);
6084
+ return found;
6085
+ }));
6074
6086
  withQuery(annotate(organizations.command("list"), { effects: LOCAL_READ }), ORGANIZATIONS_QUERY).description("your organizations").option("--json", "print JSON; --json=id,title keeps only those fields").action((words, options) => {
6075
6087
  const query = listQuery(typedQuery(words), ORGANIZATIONS_QUERY, "organizations list");
6076
6088
  return ownedList("organizations list", options, (store) => store.knowledge.organizations(query));
@@ -6428,10 +6440,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6428
6440
  }).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) => {
6429
6441
  if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
6430
6442
  throw new CliError("validation_error", "--port and --public-url require --http");
6431
- const { createMemoServer } = await import("./server-ESYNVVQC.js");
6443
+ const { createMemoServer } = await import("./server-ASCI46TB.js");
6432
6444
  const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
6433
6445
  if (options.http) {
6434
- const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-4AFVFHYE.js");
6446
+ const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-B5CUHAKS.js");
6435
6447
  const publicUrl = publicUrlOf(options.publicUrl, {
6436
6448
  missing: "--http",
6437
6449
  reaches: "the browser apps reach memo",
@@ -6483,7 +6495,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6483
6495
  });
6484
6496
  });
6485
6497
  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() {
6486
- const { revokeAll } = await import("./mcp-4AFVFHYE.js");
6498
+ const { revokeAll } = await import("./mcp-B5CUHAKS.js");
6487
6499
  revokeAll(httpTokenFile(env));
6488
6500
  out.print(this.opts().json, itemAnswer({ revoked: true }));
6489
6501
  });
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSecret
5
- } from "./chunk-UW2FRDLZ.js";
6
- import "./chunk-Y3NJODLW.js";
7
- import "./chunk-TZ7WDQPD.js";
8
- import "./chunk-G2BB5WY5.js";
5
+ } from "./chunk-2Y4UU4DB.js";
6
+ import "./chunk-MNKCFCI7.js";
7
+ import "./chunk-2R2Z2VWL.js";
8
+ import "./chunk-SN63VOE6.js";
9
9
  import "./chunk-Y5E2WNWB.js";
10
- import "./chunk-EB2IULWB.js";
10
+ import "./chunk-RZ54DSVU.js";
11
11
  import "./chunk-ZVVMGPBJ.js";
12
12
  export {
13
13
  readSecret
@@ -8,11 +8,11 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-DOXKMSML.js";
12
- import "./chunk-TZ7WDQPD.js";
13
- import "./chunk-G2BB5WY5.js";
11
+ } from "./chunk-RUZOQ7QN.js";
12
+ import "./chunk-2R2Z2VWL.js";
13
+ import "./chunk-SN63VOE6.js";
14
14
  import "./chunk-Y5E2WNWB.js";
15
- import "./chunk-EB2IULWB.js";
15
+ import "./chunk-RZ54DSVU.js";
16
16
  import "./chunk-ZVVMGPBJ.js";
17
17
  export {
18
18
  SAMPLE_RATE,
@@ -8,14 +8,14 @@ import {
8
8
  openRemote,
9
9
  remoteKey,
10
10
  remoteModel
11
- } from "./chunk-RQVC4ETN.js";
12
- import "./chunk-3W4HD6ZQ.js";
13
- import "./chunk-6PTJTITL.js";
14
- import "./chunk-NPLZ67KU.js";
15
- import "./chunk-TZ7WDQPD.js";
16
- import "./chunk-G2BB5WY5.js";
11
+ } from "./chunk-GAWGZN4F.js";
12
+ import "./chunk-3ZZ5OCUO.js";
13
+ import "./chunk-DMUIMBCE.js";
14
+ import "./chunk-WIK6SGHZ.js";
15
+ import "./chunk-2R2Z2VWL.js";
16
+ import "./chunk-SN63VOE6.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
- import "./chunk-EB2IULWB.js";
18
+ import "./chunk-RZ54DSVU.js";
19
19
  import "./chunk-ZVVMGPBJ.js";
20
20
  export {
21
21
  DEFAULT_OPENAI_MODEL,
@@ -4,18 +4,18 @@ import {
4
4
  defaultThreads,
5
5
  loadModel,
6
6
  truncated
7
- } from "./chunk-3W4HD6ZQ.js";
8
- import "./chunk-6PTJTITL.js";
9
- import "./chunk-NPLZ67KU.js";
10
- import "./chunk-TZ7WDQPD.js";
11
- import "./chunk-G2BB5WY5.js";
7
+ } from "./chunk-3ZZ5OCUO.js";
8
+ import "./chunk-DMUIMBCE.js";
9
+ import "./chunk-WIK6SGHZ.js";
10
+ import "./chunk-2R2Z2VWL.js";
11
+ import "./chunk-SN63VOE6.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
- import "./chunk-EB2IULWB.js";
13
+ import "./chunk-RZ54DSVU.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
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
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/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,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  MCP_PATH,
5
5
  serveOverHttp
6
- } from "./chunk-EQR2QVP3.js";
7
- import "./chunk-DU6LCIHP.js";
8
- import "./chunk-5OCV4UG5.js";
6
+ } from "./chunk-CLHGYKYZ.js";
7
+ import "./chunk-6H6EXCZY.js";
8
+ import "./chunk-MMRM6ZMM.js";
9
9
  import "./chunk-3X4JM3ZR.js";
10
10
  import "./chunk-H3ZN4YLB.js";
11
- import "./chunk-26I6JRFH.js";
12
- import "./chunk-2RDJLWOY.js";
13
- import "./chunk-ZV2K5I2G.js";
14
- import "./chunk-TZ7WDQPD.js";
15
- import "./chunk-G2BB5WY5.js";
11
+ import "./chunk-DQ66H456.js";
12
+ import "./chunk-SMJAJWYW.js";
13
+ import "./chunk-6D47X4KD.js";
14
+ import "./chunk-2R2Z2VWL.js";
15
+ import "./chunk-SN63VOE6.js";
16
16
  import "./chunk-Y5E2WNWB.js";
17
- import "./chunk-EB2IULWB.js";
17
+ import "./chunk-RZ54DSVU.js";
18
18
  import "./chunk-ZVVMGPBJ.js";
19
19
  export {
20
20
  MCP_PATH,
@@ -1,56 +1,56 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import "./chunk-3RFXKBZA.js";
3
+ import "./chunk-QMNLI4NV.js";
4
4
  import {
5
5
  OWNER_PERMISSIONS,
6
6
  memoLevels,
7
7
  readOnly,
8
8
  refuseUnknownPermissions
9
- } from "./chunk-IAFUPD2G.js";
9
+ } from "./chunk-LQHW4G6G.js";
10
10
  import {
11
11
  itemAnswer
12
- } from "./chunk-TVHCOWJD.js";
13
- import "./chunk-ONEW2BND.js";
12
+ } from "./chunk-VMXESPNG.js";
13
+ import "./chunk-CMMKWXFG.js";
14
14
  import "./chunk-QP3KNC5D.js";
15
- import "./chunk-NECGI52P.js";
15
+ import "./chunk-V5N65VRU.js";
16
16
  import {
17
17
  errorObject,
18
18
  mcpFailure,
19
19
  throwParseFailures
20
- } from "./chunk-VE2NDXFO.js";
21
- import "./chunk-ZWBLSTFE.js";
22
- import "./chunk-KG7APWFM.js";
23
- import "./chunk-EQR2QVP3.js";
24
- import "./chunk-DU6LCIHP.js";
25
- import "./chunk-5OCV4UG5.js";
20
+ } from "./chunk-WRUD4OYQ.js";
21
+ import "./chunk-26PVWAKE.js";
22
+ import "./chunk-736NNFPY.js";
23
+ import "./chunk-CLHGYKYZ.js";
24
+ import "./chunk-6H6EXCZY.js";
25
+ import "./chunk-MMRM6ZMM.js";
26
26
  import {
27
27
  registerCommands,
28
28
  runCommandForAgent,
29
29
  toolsFromCommands
30
- } from "./chunk-D5LDALYF.js";
31
- import "./chunk-YJMQBJWU.js";
32
- import "./chunk-JD4EEKNA.js";
30
+ } from "./chunk-VYYPW7YP.js";
31
+ import "./chunk-T3AUEF46.js";
32
+ import "./chunk-SKVRUW57.js";
33
33
  import {
34
34
  UNTRUSTED_INSTRUCTION,
35
35
  agentResult
36
- } from "./chunk-ZE5HUZJV.js";
37
- import "./chunk-WROCO6RJ.js";
38
- import "./chunk-C7AXGHGM.js";
36
+ } from "./chunk-DYMUJFDK.js";
37
+ import "./chunk-I55VXEI2.js";
38
+ import "./chunk-AYIUZUGD.js";
39
39
  import {
40
40
  callingAgent
41
- } from "./chunk-CL6MHRXX.js";
41
+ } from "./chunk-GLFFCRRX.js";
42
42
  import "./chunk-MM5NVP7F.js";
43
43
  import "./chunk-3X4JM3ZR.js";
44
44
  import {
45
45
  McpServer
46
46
  } from "./chunk-H3ZN4YLB.js";
47
- import "./chunk-7YECAMPV.js";
48
- import "./chunk-5HVQTBDA.js";
49
- import "./chunk-MQ7IHK4Z.js";
50
- import "./chunk-47KEZ3AX.js";
51
- import "./chunk-S62WXHPD.js";
47
+ import "./chunk-L7AB7Y4Z.js";
48
+ import "./chunk-YGW3JZVB.js";
49
+ import "./chunk-EIYLAELT.js";
50
+ import "./chunk-FXG3SUIQ.js";
51
+ import "./chunk-XZPE2E3O.js";
52
52
  import "./chunk-HTQTIKWP.js";
53
- import "./chunk-RTPTCTH6.js";
53
+ import "./chunk-SRHG24V7.js";
54
54
  import {
55
55
  changesAuthorityAt,
56
56
  describeProgram,
@@ -59,57 +59,57 @@ import {
59
59
  inRun,
60
60
  provide,
61
61
  sealed
62
- } from "./chunk-XZ3XUN4R.js";
63
- import "./chunk-G7TQ5W5Z.js";
64
- import "./chunk-BWVE7V4A.js";
65
- import "./chunk-I7PL5WX2.js";
66
- import "./chunk-YPF6OS37.js";
67
- import "./chunk-XV4E2XGC.js";
68
- import "./chunk-AQQSOZ57.js";
69
- import "./chunk-E7NEGYRF.js";
70
- import "./chunk-26I6JRFH.js";
71
- import "./chunk-2RDJLWOY.js";
72
- import "./chunk-ZV2K5I2G.js";
62
+ } from "./chunk-JIWQNA2J.js";
63
+ import "./chunk-GNLCVNP7.js";
64
+ import "./chunk-LBDMVVVW.js";
65
+ import "./chunk-JY34MQW4.js";
66
+ import "./chunk-LER7G4XY.js";
67
+ import "./chunk-2DTUMEN2.js";
68
+ import "./chunk-ME5RGIHV.js";
69
+ import "./chunk-N2Y6FTPK.js";
70
+ import "./chunk-DQ66H456.js";
71
+ import "./chunk-SMJAJWYW.js";
72
+ import "./chunk-6D47X4KD.js";
73
73
  import {
74
74
  openStore
75
- } from "./chunk-YZU5HNYY.js";
76
- import "./chunk-7PQZBIBH.js";
77
- import "./chunk-SMAODNHO.js";
78
- import "./chunk-EVD3X6HS.js";
79
- import "./chunk-L43BXXBS.js";
80
- import "./chunk-UW2FRDLZ.js";
81
- import "./chunk-Y3NJODLW.js";
82
- import "./chunk-GY27B6XK.js";
83
- import "./chunk-BN5H2M75.js";
84
- import "./chunk-RQVC4ETN.js";
85
- import "./chunk-3W4HD6ZQ.js";
86
- import "./chunk-6PTJTITL.js";
87
- import "./chunk-NPLZ67KU.js";
75
+ } from "./chunk-IKDHJLSH.js";
76
+ import "./chunk-PYQU4GLK.js";
77
+ import "./chunk-BU4LJSW2.js";
78
+ import "./chunk-4OR4HFSL.js";
79
+ import "./chunk-OCIE3POS.js";
80
+ import "./chunk-2Y4UU4DB.js";
81
+ import "./chunk-MNKCFCI7.js";
82
+ import "./chunk-VJSWU4JX.js";
83
+ import "./chunk-C2XCIZND.js";
84
+ import "./chunk-GAWGZN4F.js";
85
+ import "./chunk-3ZZ5OCUO.js";
86
+ import "./chunk-DMUIMBCE.js";
87
+ import "./chunk-WIK6SGHZ.js";
88
88
  import "./chunk-BPGYTJNB.js";
89
89
  import {
90
90
  APP,
91
91
  STORE_CLIENT,
92
92
  VERSION
93
- } from "./chunk-BRG5MJLL.js";
94
- import "./chunk-KV4267S4.js";
95
- import "./chunk-LU3WKZBA.js";
93
+ } from "./chunk-SKBMXSQ3.js";
94
+ import "./chunk-CID4MNRQ.js";
95
+ import "./chunk-AT5Y62SD.js";
96
96
  import "./chunk-D72URWJE.js";
97
- import "./chunk-I4SJXEDS.js";
98
- import "./chunk-NDEA2YAQ.js";
97
+ import "./chunk-NYELWBUA.js";
98
+ import "./chunk-ICBWD2OL.js";
99
99
  import {
100
100
  captureStreams
101
- } from "./chunk-TZ7WDQPD.js";
101
+ } from "./chunk-2R2Z2VWL.js";
102
102
  import {
103
103
  mcpErrorResult,
104
104
  object,
105
105
  parse,
106
106
  strictObject
107
- } from "./chunk-G2BB5WY5.js";
107
+ } from "./chunk-SN63VOE6.js";
108
108
  import "./chunk-Y5E2WNWB.js";
109
109
  import {
110
110
  CliError
111
- } from "./chunk-EB2IULWB.js";
112
- import "./chunk-GWMA7EU5.js";
111
+ } from "./chunk-RZ54DSVU.js";
112
+ import "./chunk-DMU5PAKY.js";
113
113
  import {
114
114
  __name
115
115
  } from "./chunk-ZVVMGPBJ.js";