@wirecat/cli-memo 0.131.33 → 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 (128) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-I67AQBML.js → all-profiles-6666YYUZ.js} +9 -9
  3. package/dist/bundle/{anthropic-TAN7BXEI.js → anthropic-23OB7KWO.js} +6 -6
  4. package/dist/bundle/{app-server-BB6D3T5A.js → app-server-2S5OS3OH.js} +42 -42
  5. package/dist/bundle/auto-XDBIEURD.js +86 -0
  6. package/dist/bundle/{bun-UQEFISW2.js → bun-BNVO37ZD.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-2QF3TO47.js → bun-sqlite-USZ27VKM.js} +5 -5
  8. package/dist/bundle/{chunk-5M4CW3PM.js → chunk-26PVWAKE.js} +374 -323
  9. package/dist/bundle/{chunk-KJBKP66D.js → chunk-2DTUMEN2.js} +4 -4
  10. package/dist/bundle/{chunk-7OSMWDV3.js → chunk-2PFOLWD3.js} +3 -3
  11. package/dist/bundle/{chunk-TZ7WDQPD.js → chunk-2R2Z2VWL.js} +20 -20
  12. package/dist/bundle/{chunk-EN3D3M3X.js → chunk-2Y4UU4DB.js} +3 -3
  13. package/dist/bundle/{chunk-NAKJLG6G.js → chunk-3ZZ5OCUO.js} +6 -6
  14. package/dist/bundle/{chunk-ABORNS53.js → chunk-4OR4HFSL.js} +8 -8
  15. package/dist/bundle/{chunk-HU2UNNN5.js → chunk-6D47X4KD.js} +1 -1
  16. package/dist/bundle/{chunk-LUX5CPKS.js → chunk-6H6EXCZY.js} +1 -1
  17. package/dist/bundle/{chunk-P7AWDFQW.js → chunk-736NNFPY.js} +1 -1
  18. package/dist/bundle/{chunk-OGOMIZVL.js → chunk-AYIUZUGD.js} +1 -1
  19. package/dist/bundle/{chunk-3DDGDOTM.js → chunk-BHDNHN55.js} +8 -8
  20. package/dist/bundle/{chunk-N75EWKKC.js → chunk-BU4LJSW2.js} +1 -1
  21. package/dist/bundle/{chunk-5DEHFWR4.js → chunk-C2XCIZND.js} +2 -2
  22. package/dist/bundle/{chunk-KV4267S4.js → chunk-CID4MNRQ.js} +1 -1
  23. package/dist/bundle/{chunk-AP3AG2BB.js → chunk-CLHGYKYZ.js} +5 -5
  24. package/dist/bundle/{chunk-RRLIMG4U.js → chunk-CMMKWXFG.js} +35 -35
  25. package/dist/bundle/{chunk-LDEPGWLS.js → chunk-DCBBLYCI.js} +29 -29
  26. package/dist/bundle/{chunk-JCFO4LQL.js → chunk-DMU5PAKY.js} +1 -1
  27. package/dist/bundle/{chunk-BFLYYQZ7.js → chunk-DMUIMBCE.js} +4 -4
  28. package/dist/bundle/{chunk-MI6OKBKQ.js → chunk-DQ66H456.js} +4 -4
  29. package/dist/bundle/{chunk-X5WJDJ7B.js → chunk-DYMUJFDK.js} +14 -14
  30. package/dist/bundle/{chunk-6MDFXQ3P.js → chunk-EIYLAELT.js} +343 -312
  31. package/dist/bundle/{chunk-SN3VTCKM.js → chunk-FXG3SUIQ.js} +13 -13
  32. package/dist/bundle/{chunk-3TEBUFO4.js → chunk-FYT6A3UY.js} +1 -1
  33. package/dist/bundle/{chunk-QMK5MB3I.js → chunk-GAWGZN4F.js} +3 -3
  34. package/dist/bundle/{chunk-LJZAVL4S.js → chunk-GLFFCRRX.js} +2 -2
  35. package/dist/bundle/{chunk-5JAYP233.js → chunk-GNLCVNP7.js} +9 -9
  36. package/dist/bundle/{chunk-SLY3522P.js → chunk-I55VXEI2.js} +4 -4
  37. package/dist/bundle/{chunk-536BN5HJ.js → chunk-ICBWD2OL.js} +1 -1
  38. package/dist/bundle/{chunk-FQ23ENBP.js → chunk-IKDHJLSH.js} +277 -277
  39. package/dist/bundle/{chunk-JOUN3RQQ.js → chunk-JIWQNA2J.js} +168 -184
  40. package/dist/bundle/{chunk-I7PL5WX2.js → chunk-JY34MQW4.js} +4 -4
  41. package/dist/bundle/{chunk-GUCICZ5E.js → chunk-L3SMTWCF.js} +7 -7
  42. package/dist/bundle/{chunk-WSSMVWI6.js → chunk-L7AB7Y4Z.js} +46 -46
  43. package/dist/bundle/{chunk-YGKZOBRU.js → chunk-LBDMVVVW.js} +12 -12
  44. package/dist/bundle/{chunk-YPF6OS37.js → chunk-LER7G4XY.js} +1 -1
  45. package/dist/bundle/{chunk-PI5XHH3B.js → chunk-LQHW4G6G.js} +6 -6
  46. package/dist/bundle/{chunk-DUQGOBGY.js → chunk-ME5RGIHV.js} +11 -11
  47. package/dist/bundle/{chunk-3CVPUL6V.js → chunk-MMRM6ZMM.js} +2 -2
  48. package/dist/bundle/{chunk-S6HHL43A.js → chunk-MNKCFCI7.js} +2 -2
  49. package/dist/bundle/{chunk-BUYST3RY.js → chunk-N2Y6FTPK.js} +2 -2
  50. package/dist/bundle/{chunk-2Y2UWMJX.js → chunk-NYELWBUA.js} +6 -6
  51. package/dist/bundle/{chunk-YBSILL43.js → chunk-OCIE3POS.js} +6 -6
  52. package/dist/bundle/{chunk-BT6ZZUXC.js → chunk-PYQU4GLK.js} +64 -64
  53. package/dist/bundle/{chunk-FZXOHGOA.js → chunk-RUZOQ7QN.js} +4 -4
  54. package/dist/bundle/{chunk-EB2IULWB.js → chunk-RZ54DSVU.js} +2 -2
  55. package/dist/bundle/{chunk-4BDZUM4Z.js → chunk-SKBMXSQ3.js} +2 -2
  56. package/dist/bundle/{chunk-L5XW7SRP.js → chunk-SKVRUW57.js} +2 -2
  57. package/dist/bundle/{chunk-NOBWIWEE.js → chunk-SMJAJWYW.js} +3 -3
  58. package/dist/bundle/{chunk-G2BB5WY5.js → chunk-SN63VOE6.js} +8 -8
  59. package/dist/bundle/{chunk-2S5YZCD4.js → chunk-SRHG24V7.js} +4 -4
  60. package/dist/bundle/{chunk-AFCZMG3T.js → chunk-T3AUEF46.js} +22 -22
  61. package/dist/bundle/{chunk-PVKETTTH.js → chunk-URQ7ZL5K.js} +10 -10
  62. package/dist/bundle/{chunk-MZMKZ3FS.js → chunk-V5N65VRU.js} +9 -9
  63. package/dist/bundle/{chunk-MF2IXW4D.js → chunk-VJSWU4JX.js} +3 -3
  64. package/dist/bundle/{chunk-BSPNSDJR.js → chunk-VMXESPNG.js} +7 -7
  65. package/dist/bundle/{chunk-R37MXUSP.js → chunk-VYYPW7YP.js} +31 -23
  66. package/dist/bundle/{chunk-IT5OORGL.js → chunk-WIK6SGHZ.js} +2 -2
  67. package/dist/bundle/{chunk-UMWPJXNA.js → chunk-WRUD4OYQ.js} +5 -5
  68. package/dist/bundle/{chunk-KTGIARY4.js → chunk-XLKJSFQN.js} +2 -2
  69. package/dist/bundle/{chunk-62H5HS77.js → chunk-XZPE2E3O.js} +8 -8
  70. package/dist/bundle/{chunk-XBIPSSKI.js → chunk-Y5CAKD4X.js} +4 -4
  71. package/dist/bundle/{chunk-KBSN3KOJ.js → chunk-YGW3JZVB.js} +22 -22
  72. package/dist/bundle/command-contract-TBZCPYWZ.js +32 -0
  73. package/dist/bundle/{decode-AC2QFP22.js → decode-RMAOEVTY.js} +5 -5
  74. package/dist/bundle/{dispatch-CU5KGRQL.js → dispatch-MLRETSNQ.js} +8 -8
  75. package/dist/bundle/{echarts-2LGYCSJM.js → echarts-R2MI4OEU.js} +2 -2
  76. package/dist/bundle/{embed-5G5NJRTM.js → embed-BG2XPLWM.js} +6 -6
  77. package/dist/bundle/{embedder-AWGIIEIK.js → embedder-65SA34CZ.js} +9 -9
  78. package/dist/bundle/{entry-J2G7NST5.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-CIE4REGV.js → first-run-ZUQRYWEZ.js} +11 -11
  82. package/dist/bundle/first-screen-O5X3OT77.js +30 -0
  83. package/dist/bundle/{instructions-5236MVDG.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-7746MVI2.js → node-43BSSPFC.js} +2 -2
  88. package/dist/bundle/{node-sqlite-2JD5RF5A.js → node-sqlite-RPWFR6H3.js} +6 -6
  89. package/dist/bundle/{oauth-BUMW77DB.js → oauth-AYAADVSS.js} +7 -7
  90. package/dist/bundle/{open-CXUGW7QC.js → open-XEZ5CPLR.js} +5 -5
  91. package/dist/bundle/{openai-ORFEPFYD.js → openai-SQS7OBEI.js} +10 -10
  92. package/dist/bundle/{process-JXXYNYHP.js → process-HJWMNCUC.js} +1 -1
  93. package/dist/bundle/{program-4RYVZYD2.js → program-RQO3ZNVL.js} +89 -86
  94. package/dist/bundle/{prompt-EHLY4L77.js → prompt-STQZGLH7.js} +5 -5
  95. package/dist/bundle/{recognize-ES7MH57V.js → recognize-HJ6G4OWB.js} +4 -4
  96. package/dist/bundle/{remote-EZ76X2VI.js → remote-HDTQYFBP.js} +7 -7
  97. package/dist/bundle/{rerank-CDIZ6AA6.js → rerank-GBKN7RN4.js} +7 -7
  98. package/dist/bundle/{serve-YRSGBTJY.js → serve-KPTYHWUY.js} +9 -9
  99. package/dist/bundle/{server-MW5247KA.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-S6A5VAWR.js → state-22MNHAQY.js} +6 -6
  103. package/dist/bundle/{store-O5CDNS3U.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/knowledge/project-status-command.d.ts.map +1 -1
  113. package/dist/knowledge/project-status-command.js +12 -19
  114. package/dist/knowledge/project-status-command.js.map +1 -1
  115. package/dist/version.d.ts +1 -1
  116. package/dist/version.js +1 -1
  117. package/package.json +3 -3
  118. package/dist/bundle/auto-6555QOPH.js +0 -86
  119. package/dist/bundle/command-contract-LRGVHRDS.js +0 -32
  120. package/dist/bundle/failure-7SDDOWOC.js +0 -66
  121. package/dist/bundle/first-screen-PLNL6V5J.js +0 -30
  122. package/dist/bundle/mcp-IRYWZZMF.js +0 -90
  123. package/dist/bundle/server-EUYRPM4X.js +0 -48
  124. package/dist/bundle/server-OHIH2CMF.js +0 -61
  125. package/dist/bundle/store-maintenance-command-3OFVJT4R.js +0 -48
  126. package/dist/bundle/update-RC5CLYFY.js +0 -69
  127. /package/dist/bundle/{chunk-JB5P5WSQ.js → chunk-AT5Y62SD.js} +0 -0
  128. /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-GUCICZ5E.js";
9
+ } from "./chunk-L3SMTWCF.js";
10
10
  import {
11
11
  installer,
12
12
  latest,
13
13
  upgradeCommand
14
- } from "./chunk-3DDGDOTM.js";
14
+ } from "./chunk-BHDNHN55.js";
15
15
  import {
16
16
  mcpOwnerAllowed,
17
17
  readOnlyAvailability,
18
18
  refuseWritesUnderLock
19
- } from "./chunk-PI5XHH3B.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-BSPNSDJR.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-RRLIMG4U.js";
58
+ } from "./chunk-CMMKWXFG.js";
59
59
  import "./chunk-QP3KNC5D.js";
60
- import "./chunk-7OSMWDV3.js";
61
- import "./chunk-PVKETTTH.js";
62
- import "./chunk-FZXOHGOA.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-UMWPJXNA.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-5M4CW3PM.js";
102
- import "./chunk-P7AWDFQW.js";
103
- import "./chunk-LUX5CPKS.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-AFCZMG3T.js";
111
- import "./chunk-L5XW7SRP.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-X5WJDJ7B.js";
117
+ } from "./chunk-DYMUJFDK.js";
118
118
  import {
119
119
  modelGateway,
120
120
  storeInfo,
121
121
  storeSummary
122
- } from "./chunk-WSSMVWI6.js";
123
- import "./chunk-KBSN3KOJ.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-6MDFXQ3P.js";
177
+ } from "./chunk-EIYLAELT.js";
177
178
  import {
178
179
  readBoundedUtf8File,
179
180
  writeFileAtomic
180
- } from "./chunk-SN3VTCKM.js";
181
+ } from "./chunk-FXG3SUIQ.js";
181
182
  import {
182
183
  commandsText,
183
184
  inSection,
184
185
  installHelp
185
- } from "./chunk-62H5HS77.js";
186
+ } from "./chunk-XZPE2E3O.js";
186
187
  import "./chunk-HTQTIKWP.js";
187
- import "./chunk-2S5YZCD4.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-JOUN3RQQ.js";
218
- import "./chunk-5JAYP233.js";
219
- import "./chunk-YGKZOBRU.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-KJBKP66D.js";
225
- import "./chunk-DUQGOBGY.js";
226
- import "./chunk-BUYST3RY.js";
227
- import "./chunk-MI6OKBKQ.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-NOBWIWEE.js";
232
- import "./chunk-HU2UNNN5.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-FQ23ENBP.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-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";
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-BFLYYQZ7.js";
309
+ } from "./chunk-DMUIMBCE.js";
309
310
  import {
310
311
  storePath
311
- } from "./chunk-IT5OORGL.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-4BDZUM4Z.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-2Y2UWMJX.js";
326
- import "./chunk-536BN5HJ.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-JCFO4LQL.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.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
+ // 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.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
+ // 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.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
+ // 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.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
+ // 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.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
+ // 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"],
@@ -5786,12 +5791,11 @@ var withFinance = /* @__PURE__ */ __name((row) => ({
5786
5791
  sections: { ...row.sections, finance: "memo_finance" }
5787
5792
  }), "withFinance");
5788
5793
  var titled = /* @__PURE__ */ __name(async (store, found) => {
5789
- const refs = [
5790
- .../* @__PURE__ */ new Set([...found.chats.map((chat) => chat.ref), ...found.items.flatMap((one2) => one2.evidence[0]?.ref ?? [])])
5791
- ];
5792
- const summaries = await store.refs.summaries(refs);
5793
- const chats = found.chats.map((chat) => ({ ...chat, title: summaries.get(chat.ref)?.title ?? chat.title }));
5794
- return { found: { ...found, chats }, titleOf: /* @__PURE__ */ __name((ref) => (ref && summaries.get(ref)?.title) ?? null, "titleOf") };
5794
+ const summaries = await store.refs.summaries(found.chats.map((chat) => chat.ref));
5795
+ return {
5796
+ ...found,
5797
+ chats: found.chats.map((chat) => ({ ...chat, title: summaries.get(chat.ref)?.title ?? chat.title }))
5798
+ };
5795
5799
  }, "titled");
5796
5800
  var linked = /* @__PURE__ */ __name((chat) => {
5797
5801
  const reference2 = parseReference(chat.ref);
@@ -5815,14 +5819,14 @@ var outside = /* @__PURE__ */ __name((blocked) => (step, found) => {
5815
5819
  };
5816
5820
  }, "outside");
5817
5821
  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");
5818
- 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) => {
5822
+ 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) => {
5819
5823
  if (options.compact && options.json)
5820
5824
  throw new CliError("validation_error", "--compact and --json ask for different output \u2014 pick one", {
5821
5825
  reason: "output.conflict",
5822
5826
  param: "--compact"
5823
5827
  });
5824
5828
  const chosen = options.syncProfile ?? {};
5825
- const { found, titleOf: titleOf3, finance } = await withStore(env, async (store) => {
5829
+ const { found, finance } = await withStore(env, async (store) => {
5826
5830
  const status = await projectStatus(store, {
5827
5831
  project,
5828
5832
  ...projectWindowOf(options.sinceTime),
@@ -5831,7 +5835,7 @@ var projectStatusCommand = /* @__PURE__ */ __name((projects, print, env) => answ
5831
5835
  ...options.purpose ? { purposes: options.purpose } : {}
5832
5836
  });
5833
5837
  const books = await financeOf(store, [status.project.ref, ...status.children.map((child) => child.ref)]);
5834
- return { ...await titled(store, status), finance: books };
5838
+ return { found: await titled(store, status), finance: books };
5835
5839
  });
5836
5840
  const blocked = /* @__PURE__ */ new Set();
5837
5841
  const step = outside(blocked);
@@ -5841,16 +5845,8 @@ var projectStatusCommand = /* @__PURE__ */ __name((projects, print, env) => answ
5841
5845
  line: /* @__PURE__ */ __name((one2) => one2.kind === "command" ? one2.line ?? one2.command : one2.why, "line")
5842
5846
  };
5843
5847
  const { item, next, missing, meta } = projectStatusAnswer(found, hints);
5844
- const lists = item;
5845
- lists.finance = finance;
5846
- for (const { id } of found.signals) {
5847
- const name = id.replaceAll("-", "_");
5848
- const list = lists[name];
5849
- if (list)
5850
- lists[name] = list.map((one2) => ({ ...one2, title: titleOf3(one2.ref) }));
5851
- }
5852
5848
  const gaps = [...missing, ...[...blocked].map((why) => ({ field: "next_command", why }))];
5853
- print(options.json, itemOf(item, {
5849
+ print(options.json, itemOf({ ...item, ...finance.length ? { finance } : {} }, {
5854
5850
  ...next.length ? { next: next.map(asAction) } : {},
5855
5851
  ...gaps.length ? { missing: gaps } : {},
5856
5852
  meta
@@ -6075,11 +6071,18 @@ var knowledgeCommands = /* @__PURE__ */ __name((program, streams, env) => {
6075
6071
  };
6076
6072
  }, "contextOf");
6077
6073
  const organizations = program.command("organizations").description("companies, teams, families and communities of yours");
6078
- 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({
6079
- kind: options.kind,
6080
- name,
6081
- ...options.scope === void 0 ? {} : { scope: options.scope }
6082
- })));
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
+ }));
6083
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) => {
6084
6087
  const query = listQuery(typedQuery(words), ORGANIZATIONS_QUERY, "organizations list");
6085
6088
  return ownedList("organizations list", options, (store) => store.knowledge.organizations(query));
@@ -6437,10 +6440,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6437
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) => {
6438
6441
  if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
6439
6442
  throw new CliError("validation_error", "--port and --public-url require --http");
6440
- const { createMemoServer } = await import("./server-MW5247KA.js");
6443
+ const { createMemoServer } = await import("./server-ASCI46TB.js");
6441
6444
  const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
6442
6445
  if (options.http) {
6443
- const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-IRYWZZMF.js");
6446
+ const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-B5CUHAKS.js");
6444
6447
  const publicUrl = publicUrlOf(options.publicUrl, {
6445
6448
  missing: "--http",
6446
6449
  reaches: "the browser apps reach memo",
@@ -6492,7 +6495,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
6492
6495
  });
6493
6496
  });
6494
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() {
6495
- const { revokeAll } = await import("./mcp-IRYWZZMF.js");
6498
+ const { revokeAll } = await import("./mcp-B5CUHAKS.js");
6496
6499
  revokeAll(httpTokenFile(env));
6497
6500
  out.print(this.opts().json, itemAnswer({ revoked: true }));
6498
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-EN3D3M3X.js";
6
- import "./chunk-S6HHL43A.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-FZXOHGOA.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-QMK5MB3I.js";
12
- import "./chunk-NAKJLG6G.js";
13
- import "./chunk-BFLYYQZ7.js";
14
- import "./chunk-IT5OORGL.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-NAKJLG6G.js";
8
- import "./chunk-BFLYYQZ7.js";
9
- import "./chunk-IT5OORGL.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.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
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-AP3AG2BB.js";
7
- import "./chunk-LUX5CPKS.js";
8
- import "./chunk-3CVPUL6V.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-MI6OKBKQ.js";
12
- import "./chunk-NOBWIWEE.js";
13
- import "./chunk-HU2UNNN5.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,