@wirecat/cli-memo 0.131.73 → 0.131.74

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 (150) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-L5QBYI3V.js → all-profiles-LUGN5BHP.js} +9 -9
  3. package/dist/bundle/{anthropic-XXKHNCQS.js → anthropic-W7JXDZPL.js} +5 -5
  4. package/dist/bundle/{app-server-FDMP3IBP.js → app-server-2LQJZC7Z.js} +50 -49
  5. package/dist/bundle/auto-OCCPDCFY.js +89 -0
  6. package/dist/bundle/{bun-VLN4HBWB.js → bun-S3JZIN4S.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-KJCYXNMS.js → bun-sqlite-X3WQN3CV.js} +5 -5
  8. package/dist/bundle/{chunk-ZTONSM5X.js → chunk-2EZFUIL4.js} +2 -2
  9. package/dist/bundle/{chunk-2BH2RNFR.js → chunk-3BEJUJEL.js} +8 -8
  10. package/dist/bundle/{chunk-SILEPITK.js → chunk-3OVYPDT6.js} +25 -35
  11. package/dist/bundle/{chunk-B7ATMWVO.js → chunk-4KDORB7C.js} +12 -37
  12. package/dist/bundle/{chunk-V3JOIUVB.js → chunk-4O2MYFYC.js} +4 -4
  13. package/dist/bundle/{chunk-I6MGDSYH.js → chunk-4QGUBKN5.js} +6 -6
  14. package/dist/bundle/{chunk-VQUSPMYO.js → chunk-6AOPUQTC.js} +1 -1
  15. package/dist/bundle/chunk-6FTZ53TT.js +18 -0
  16. package/dist/bundle/{chunk-BTVND2RV.js → chunk-6I4DOBSD.js} +13 -13
  17. package/dist/bundle/{chunk-HBP7AQXX.js → chunk-6Q3JHCU7.js} +12 -12
  18. package/dist/bundle/{chunk-WJNLBQSV.js → chunk-AHAW3TOS.js} +544 -586
  19. package/dist/bundle/{chunk-VPR47AG4.js → chunk-BDVM5652.js} +1 -1
  20. package/dist/bundle/{chunk-FMSXN2N6.js → chunk-BNJ2XK7D.js} +1017 -776
  21. package/dist/bundle/{chunk-LG5SQGNM.js → chunk-BR4DCOA5.js} +47 -45
  22. package/dist/bundle/{chunk-MM3OMWST.js → chunk-C6MWOBEL.js} +24 -22
  23. package/dist/bundle/{chunk-2C323QNQ.js → chunk-CWWUZK2U.js} +9 -9
  24. package/dist/bundle/{chunk-LHZ4QBWB.js → chunk-E2PSOSTN.js} +2 -2
  25. package/dist/bundle/{chunk-J7ESMDVV.js → chunk-E74VWHZ2.js} +1 -1
  26. package/dist/bundle/{chunk-KK3ZHBMI.js → chunk-EML43XLJ.js} +2 -2
  27. package/dist/bundle/{chunk-A7QXBRUH.js → chunk-G45BLLDR.js} +4 -4
  28. package/dist/bundle/{chunk-XGXEWKR7.js → chunk-GPXHGG67.js} +12 -12
  29. package/dist/bundle/chunk-GWNLLQBD.js +177 -0
  30. package/dist/bundle/{chunk-BBLT77AO.js → chunk-HEYIBJ5I.js} +12 -12
  31. package/dist/bundle/{chunk-IUEYR3TK.js → chunk-IQIM4UC7.js} +10 -10
  32. package/dist/bundle/{chunk-JABLJBXL.js → chunk-JINEHQ2T.js} +4927 -4920
  33. package/dist/bundle/chunk-KA5MDFLU.js +138 -0
  34. package/dist/bundle/{chunk-IKH4RCJO.js → chunk-KDBAY5JZ.js} +1 -1
  35. package/dist/bundle/{chunk-LJCT7YG6.js → chunk-KEBL3PY4.js} +4 -4
  36. package/dist/bundle/{chunk-C3UOKLIT.js → chunk-KUFOM3SB.js} +2 -2
  37. package/dist/bundle/{chunk-ZIGVDRSI.js → chunk-KYJBGCTC.js} +2 -2
  38. package/dist/bundle/{chunk-R3PK4Y7C.js → chunk-LPGE6ACC.js} +2 -2
  39. package/dist/bundle/{chunk-6ZRBQTKZ.js → chunk-LX3OSTBD.js} +4 -4
  40. package/dist/bundle/{chunk-NMOWIFH3.js → chunk-MPZBV5RL.js} +8 -8
  41. package/dist/bundle/{chunk-H74CWBSY.js → chunk-NR633L2N.js} +4 -4
  42. package/dist/bundle/{chunk-DSU6UR2X.js → chunk-NT5IOEEK.js} +1 -1
  43. package/dist/bundle/{chunk-BOZEBD3I.js → chunk-OOKMABOJ.js} +1443 -832
  44. package/dist/bundle/{chunk-L62FWN3Y.js → chunk-OYKQX4H3.js} +1 -1
  45. package/dist/bundle/{chunk-6OPZTBRR.js → chunk-P6FPRA3P.js} +59 -35
  46. package/dist/bundle/{chunk-QHLEMEF3.js → chunk-QCR5WJ7R.js} +53 -48
  47. package/dist/bundle/{chunk-W6JPIP5C.js → chunk-QKWM4VK4.js} +6 -6
  48. package/dist/bundle/chunk-QYJJBE56.js +109 -0
  49. package/dist/bundle/{chunk-EI2P5E4C.js → chunk-SCYHDYLI.js} +3 -1
  50. package/dist/bundle/{chunk-OGUXOAOH.js → chunk-SIOPF2UG.js} +6 -6
  51. package/dist/bundle/{chunk-RB266FS6.js → chunk-SIQDO5DN.js} +4 -4
  52. package/dist/bundle/{chunk-O5KXCQE4.js → chunk-SJD4KTK2.js} +4 -4
  53. package/dist/bundle/{chunk-PAHBDQ5A.js → chunk-UIAGASGP.js} +6 -6
  54. package/dist/bundle/{chunk-ZI5Y2EUA.js → chunk-UU3OAPGO.js} +7 -7
  55. package/dist/bundle/{chunk-ON7ZROFP.js → chunk-V7BDQIZS.js} +2 -2
  56. package/dist/bundle/{chunk-EH7ACKFW.js → chunk-VB4OLJHK.js} +3 -3
  57. package/dist/bundle/{chunk-JLC2RE4Y.js → chunk-VRL5WRRQ.js} +82 -82
  58. package/dist/bundle/{chunk-HE2F4JII.js → chunk-VYCLOFPC.js} +24 -9
  59. package/dist/bundle/{chunk-UUBV5ATQ.js → chunk-W46O6RJ5.js} +20 -20
  60. package/dist/bundle/{chunk-MLN4DPXN.js → chunk-WBCY7WHV.js} +17 -17
  61. package/dist/bundle/{chunk-JPXDDRBD.js → chunk-WFXRR2JT.js} +11 -11
  62. package/dist/bundle/{chunk-YDGZJK6U.js → chunk-WM7MVKGU.js} +24 -24
  63. package/dist/bundle/{chunk-X35Q5CHE.js → chunk-WZHCQ4VZ.js} +8 -8
  64. package/dist/bundle/{chunk-PF6LXPK5.js → chunk-XMHWGHID.js} +4280 -4278
  65. package/dist/bundle/chunk-XPCTY6XV.js +116 -0
  66. package/dist/bundle/{chunk-E75LK7GD.js → chunk-XPSXVUZG.js} +3 -3
  67. package/dist/bundle/{chunk-XM6ZAPFW.js → chunk-XQ3RZU3J.js} +1 -1
  68. package/dist/bundle/{chunk-LOYI3STE.js → chunk-XQHOMQNZ.js} +4 -4
  69. package/dist/bundle/{chunk-K54MCZWM.js → chunk-YB4KGUXY.js} +3 -3
  70. package/dist/bundle/{chunk-US2HTCJA.js → chunk-YDTGYYOR.js} +4 -4
  71. package/dist/bundle/{chunk-EQLOQOIB.js → chunk-YLYZNPAZ.js} +2 -2
  72. package/dist/bundle/{chunk-IDCYBSML.js → chunk-ZL63GL3Y.js} +3 -3
  73. package/dist/bundle/{chunk-3CANRF2G.js → chunk-ZTZLAGZA.js} +3 -3
  74. package/dist/bundle/{chunk-FSXQLNU4.js → chunk-ZXW5FPH2.js} +1 -1
  75. package/dist/bundle/command-contract-QQG343ZQ.js +32 -0
  76. package/dist/bundle/command-server-entry-XVUPTSSH.js +145 -0
  77. package/dist/bundle/{decode-OS6Y6ICA.js → decode-METZOSMG.js} +5 -5
  78. package/dist/bundle/{dispatch-VJSUBAUM.js → dispatch-PHB2Y6ZL.js} +8 -8
  79. package/dist/bundle/{echarts-JKGDUDYL.js → echarts-EBSP4VCK.js} +2 -2
  80. package/dist/bundle/{embed-UB4LH6MF.js → embed-GVVU7N7W.js} +6 -6
  81. package/dist/bundle/{embedder-TUQBG22Y.js → embedder-6BZOYAXV.js} +9 -9
  82. package/dist/bundle/entry-7EYT2OA3.js +21 -0
  83. package/dist/bundle/{failure-GLF7OMMM.js → failure-OBT7CUVW.js} +2 -2
  84. package/dist/bundle/failure-YQJ43YFG.js +69 -0
  85. package/dist/bundle/{first-run-VNJHZYGS.js → first-run-C7L7IACA.js} +11 -11
  86. package/dist/bundle/first-screen-6T65PQ37.js +30 -0
  87. package/dist/bundle/{instructions-Q6IZQUU7.js → instructions-VDKK3Y5Z.js} +1 -1
  88. package/dist/bundle/{mcp-H2WYFBNW.js → mcp-5275YLID.js} +2 -2
  89. package/dist/bundle/mcp-UCDMODSA.js +90 -0
  90. package/dist/bundle/memo.js +16 -16
  91. package/dist/bundle/{node-ZSSIVKVC.js → node-HWGZYNUX.js} +2 -2
  92. package/dist/bundle/{node-sqlite-AUNJSQQL.js → node-sqlite-PSYENWGS.js} +6 -6
  93. package/dist/bundle/{oauth-2MTJFCMI.js → oauth-TQGMUJK2.js} +7 -7
  94. package/dist/bundle/{open-U7RC27MJ.js → open-KDDJDKCE.js} +5 -5
  95. package/dist/bundle/openai-QPGCUM4T.js +24 -0
  96. package/dist/bundle/{process-UEQX5STY.js → process-APNTXJJE.js} +1 -1
  97. package/dist/bundle/{program-G3F26HW7.js → program-RHPSSKFA.js} +157 -129
  98. package/dist/bundle/{prompt-F23FC5PJ.js → prompt-BMBZCLGF.js} +5 -5
  99. package/dist/bundle/{recognize-ZVEGVD56.js → recognize-3SEY2MAR.js} +4 -4
  100. package/dist/bundle/{remote-CZXQS7PS.js → remote-ODH54UXO.js} +7 -7
  101. package/dist/bundle/{rerank-IRFXSVVO.js → rerank-JQHBNTUK.js} +7 -7
  102. package/dist/bundle/{serve-6CIMU5HP.js → serve-C22ZONSM.js} +9 -9
  103. package/dist/bundle/server-3TQJ47Q6.js +62 -0
  104. package/dist/bundle/{server-H24MAUT2.js → server-FX7RKPL4.js} +70 -66
  105. package/dist/bundle/server-SHHKLBS2.js +48 -0
  106. package/dist/bundle/{state-TRWZWXB5.js → state-M3VGXSV4.js} +6 -6
  107. package/dist/bundle/{store-E4QUOOLX.js → store-K45RFKGF.js} +13 -13
  108. package/dist/bundle/store-maintenance-command-EOTKQ3E5.js +47 -0
  109. package/dist/bundle/update-PW77Y4DM.js +72 -0
  110. package/dist/context/context.d.ts.map +1 -1
  111. package/dist/context/context.js +4 -2
  112. package/dist/context/context.js.map +1 -1
  113. package/dist/contract-overrides/search.d.ts.map +1 -1
  114. package/dist/contract-overrides/search.js +6 -0
  115. package/dist/contract-overrides/search.js.map +1 -1
  116. package/dist/examples.d.ts.map +1 -1
  117. package/dist/examples.js +2 -0
  118. package/dist/examples.js.map +1 -1
  119. package/dist/search/answers.d.ts +6 -1
  120. package/dist/search/answers.d.ts.map +1 -1
  121. package/dist/search/answers.js +17 -1
  122. package/dist/search/answers.js.map +1 -1
  123. package/dist/search/command.d.ts.map +1 -1
  124. package/dist/search/command.js +13 -2
  125. package/dist/search/command.js.map +1 -1
  126. package/dist/search/lane-gates.d.ts +4 -3
  127. package/dist/search/lane-gates.d.ts.map +1 -1
  128. package/dist/search/lane-gates.js +13 -7
  129. package/dist/search/lane-gates.js.map +1 -1
  130. package/dist/search/search.d.ts +5 -1
  131. package/dist/search/search.d.ts.map +1 -1
  132. package/dist/search/search.js +5 -1
  133. package/dist/search/search.js.map +1 -1
  134. package/dist/version.d.ts +1 -1
  135. package/dist/version.js +1 -1
  136. package/package.json +3 -3
  137. package/dist/bundle/auto-YQAECIZA.js +0 -85
  138. package/dist/bundle/chunk-KQTR6YA4.js +0 -262
  139. package/dist/bundle/command-contract-6HJ322BP.js +0 -32
  140. package/dist/bundle/entry-N4NCIQYH.js +0 -18
  141. package/dist/bundle/failure-BJEFFYH3.js +0 -65
  142. package/dist/bundle/first-screen-4XGF2NZ3.js +0 -30
  143. package/dist/bundle/mcp-REIASUJR.js +0 -90
  144. package/dist/bundle/openai-2SJCG6XM.js +0 -23
  145. package/dist/bundle/server-27KXLL4E.js +0 -61
  146. package/dist/bundle/server-TWMUWMFM.js +0 -48
  147. package/dist/bundle/store-maintenance-command-GLHRB2VZ.js +0 -47
  148. package/dist/bundle/update-QQEM73O5.js +0 -68
  149. /package/dist/bundle/{chunk-SYWHHQMC.js → chunk-G5GW3FFJ.js} +0 -0
  150. /package/dist/bundle/{chunk-ZOWQ5B33.js → chunk-IXSUVHW6.js} +0 -0
@@ -6,18 +6,18 @@ import {
6
6
  autoState,
7
7
  lastAutoRun,
8
8
  recordAutoRun
9
- } from "./chunk-2C323QNQ.js";
9
+ } from "./chunk-CWWUZK2U.js";
10
10
  import {
11
11
  installer,
12
12
  latest,
13
13
  upgradeCommand
14
- } from "./chunk-HBP7AQXX.js";
14
+ } from "./chunk-6Q3JHCU7.js";
15
15
  import {
16
16
  mcpOwnerAllowed,
17
17
  memoLevels,
18
18
  readOnlyAvailability,
19
19
  refuseWritesUnderLock
20
- } from "./chunk-2BH2RNFR.js";
20
+ } from "./chunk-3BEJUJEL.js";
21
21
  import {
22
22
  answers,
23
23
  atDetail,
@@ -29,7 +29,7 @@ import {
29
29
  trackAnswers,
30
30
  wholeList,
31
31
  withStore
32
- } from "./chunk-BBLT77AO.js";
32
+ } from "./chunk-HEYIBJ5I.js";
33
33
  import {
34
34
  ATTACHMENT_CHARS,
35
35
  DIALECTS,
@@ -61,15 +61,15 @@ import {
61
61
  showMail,
62
62
  unsetConfigKey,
63
63
  updateConfig
64
- } from "./chunk-QHLEMEF3.js";
64
+ } from "./chunk-QCR5WJ7R.js";
65
65
  import "./chunk-QP3KNC5D.js";
66
- import "./chunk-K54MCZWM.js";
67
- import "./chunk-B7ATMWVO.js";
68
- import "./chunk-H74CWBSY.js";
66
+ import "./chunk-YB4KGUXY.js";
67
+ import "./chunk-4KDORB7C.js";
68
+ import "./chunk-NR633L2N.js";
69
69
  import {
70
70
  errorObject,
71
71
  recognisable
72
- } from "./chunk-XGXEWKR7.js";
72
+ } from "./chunk-GPXHGG67.js";
73
73
  import {
74
74
  AGENT_INPUT_MAX_CHARS,
75
75
  DISCOVERY_DESCRIPTIONS,
@@ -119,32 +119,34 @@ import {
119
119
  tasksStatsCommand,
120
120
  templatesCommand,
121
121
  withSqliteSidecars
122
- } from "./chunk-FMSXN2N6.js";
123
- import "./chunk-J7ESMDVV.js";
124
- import "./chunk-VPR47AG4.js";
122
+ } from "./chunk-BNJ2XK7D.js";
123
+ import "./chunk-E74VWHZ2.js";
124
+ import "./chunk-KA5MDFLU.js";
125
+ import "./chunk-BDVM5652.js";
125
126
  import {
126
127
  allHitItem,
127
128
  coverageGaps,
128
129
  messageHitItem,
129
130
  noteHitItem,
130
131
  shownOf
131
- } from "./chunk-SILEPITK.js";
132
- import "./chunk-EQLOQOIB.js";
132
+ } from "./chunk-3OVYPDT6.js";
133
+ import "./chunk-YLYZNPAZ.js";
133
134
  import {
134
135
  REASONS as REASONS2,
135
136
  SKILL_TARGETS,
136
137
  skillCommand,
137
138
  skillPath,
138
139
  skillVersion
139
- } from "./chunk-MM3OMWST.js";
140
+ } from "./chunk-C6MWOBEL.js";
141
+ import "./chunk-LX3OSTBD.js";
140
142
  import {
141
143
  recoveryNotes,
142
144
  storeInfo,
143
145
  storeRecoveryCheck,
144
146
  storeRecoveryRun,
145
147
  storeSummary
146
- } from "./chunk-JLC2RE4Y.js";
147
- import "./chunk-YDGZJK6U.js";
148
+ } from "./chunk-VRL5WRRQ.js";
149
+ import "./chunk-WM7MVKGU.js";
148
150
  import {
149
151
  LIST_QUERY_GUIDE,
150
152
  RESOURCES_SEARCHED,
@@ -167,6 +169,7 @@ import {
167
169
  gatherStoredProject,
168
170
  groupGuardOf,
169
171
  groupLockOf,
172
+ harderRanking,
170
173
  importEngine,
171
174
  inGroupOf,
172
175
  ingest,
@@ -192,7 +195,6 @@ import {
192
195
  parseProposalIds,
193
196
  personBusiness,
194
197
  personContext,
195
- pickPerson,
196
198
  previewProjectAnnotationSnapshot,
197
199
  projectStatus,
198
200
  proposalRegistry,
@@ -220,18 +222,91 @@ import {
220
222
  timeLimit,
221
223
  typedQuery,
222
224
  withQuery
223
- } from "./chunk-WJNLBQSV.js";
225
+ } from "./chunk-AHAW3TOS.js";
224
226
  import {
225
227
  readBoundedUtf8File,
226
228
  writeFileAtomic
227
- } from "./chunk-BTVND2RV.js";
229
+ } from "./chunk-6I4DOBSD.js";
230
+ import {
231
+ releaseLock,
232
+ servingProfiles,
233
+ takeLock
234
+ } from "./chunk-ZL63GL3Y.js";
235
+ import "./chunk-ZTZLAGZA.js";
228
236
  import {
229
237
  commandsText,
230
238
  inSection,
231
239
  installHelp
232
- } from "./chunk-X35Q5CHE.js";
240
+ } from "./chunk-WZHCQ4VZ.js";
233
241
  import "./chunk-HTQTIKWP.js";
234
- import "./chunk-A7QXBRUH.js";
242
+ import "./chunk-WBCY7WHV.js";
243
+ import {
244
+ isNewer
245
+ } from "./chunk-KEBL3PY4.js";
246
+ import "./chunk-OYKQX4H3.js";
247
+ import "./chunk-GWNLLQBD.js";
248
+ import "./chunk-XPSXVUZG.js";
249
+ import "./chunk-E2PSOSTN.js";
250
+ import {
251
+ EVIDENCE_FINDINGS_KIND,
252
+ MAIL_FINDINGS_KIND,
253
+ MAX_FILE_BYTES,
254
+ MAX_TEXT_CHARS,
255
+ MENTION_QUERY,
256
+ ORGANIZATIONS_QUERY,
257
+ ORGANIZATION_KINDS,
258
+ PROJECTS_QUERY,
259
+ PROJECT_ANNOTATIONS_MAX_BYTES,
260
+ PROJECT_TASK_FIELDS,
261
+ PROJECT_TYPES,
262
+ PROPOSAL_STATUSES,
263
+ QUOTE_LIMIT,
264
+ RECORDS_SCHEMA_VERSION,
265
+ REMINDERS_QUERY,
266
+ SCOPES,
267
+ TASK_RELATION_KINDS,
268
+ TASK_ROLES,
269
+ TASK_SORTS,
270
+ addedSourceKeyOf,
271
+ assertMayDecide,
272
+ contextEvidenceFingerprint,
273
+ decodeProjectAnnotationSnapshot,
274
+ envelopeOfText,
275
+ isGoogleDocumentHost,
276
+ mailFindingFieldsHelp,
277
+ mailOwnText,
278
+ openOf,
279
+ openStore,
280
+ parseMergeId,
281
+ pickPerson,
282
+ plainQuery,
283
+ quoteKept,
284
+ refLabel,
285
+ storedProfilesFor,
286
+ writesWithOf
287
+ } from "./chunk-OOKMABOJ.js";
288
+ import "./chunk-MPZBV5RL.js";
289
+ import "./chunk-XQ3RZU3J.js";
290
+ import "./chunk-SJD4KTK2.js";
291
+ import "./chunk-SIOPF2UG.js";
292
+ import {
293
+ provideTerminal,
294
+ terminalOf
295
+ } from "./chunk-BPGYTJNB.js";
296
+ import {
297
+ APP,
298
+ REASONS,
299
+ STORE_CLIENT,
300
+ VERSION
301
+ } from "./chunk-EML43XLJ.js";
302
+ import "./chunk-NT5IOEEK.js";
303
+ import "./chunk-D72URWJE.js";
304
+ import "./chunk-XPCTY6XV.js";
305
+ import "./chunk-6FTZ53TT.js";
306
+ import "./chunk-QYJJBE56.js";
307
+ import "./chunk-UIAGASGP.js";
308
+ import "./chunk-SCYHDYLI.js";
309
+ import "./chunk-G45BLLDR.js";
235
310
  import {
236
311
  Command,
237
312
  DEFAULT_TEXT_MODEL,
@@ -271,60 +346,11 @@ import {
271
346
  snakeKeys,
272
347
  textModels,
273
348
  textModelsFile
274
- } from "./chunk-PF6LXPK5.js";
275
- import "./chunk-ZI5Y2EUA.js";
276
- import "./chunk-MLN4DPXN.js";
277
- import {
278
- isNewer
279
- } from "./chunk-LJCT7YG6.js";
280
- import "./chunk-L62FWN3Y.js";
281
- import "./chunk-LOYI3STE.js";
282
- import "./chunk-KQTR6YA4.js";
283
- import "./chunk-C3UOKLIT.js";
284
- import "./chunk-6ZRBQTKZ.js";
285
- import {
286
- releaseLock,
287
- servingProfiles,
288
- takeLock
289
- } from "./chunk-IDCYBSML.js";
290
- import "./chunk-VQUSPMYO.js";
291
- import {
292
- EVIDENCE_FINDINGS_KIND,
293
- MAIL_FINDINGS_KIND,
294
- MAX_FILE_BYTES,
295
- MAX_TEXT_CHARS,
296
- MENTION_QUERY,
297
- ORGANIZATIONS_QUERY,
298
- ORGANIZATION_KINDS,
299
- PROJECTS_QUERY,
300
- PROJECT_ANNOTATIONS_MAX_BYTES,
301
- PROJECT_TASK_FIELDS,
302
- PROJECT_TYPES,
303
- PROPOSAL_STATUSES,
304
- QUOTE_LIMIT,
305
- RECORDS_SCHEMA_VERSION,
306
- REMINDERS_QUERY,
307
- SCOPES,
308
- TASK_RELATION_KINDS,
309
- TASK_ROLES,
310
- TASK_SORTS,
311
- addedSourceKeyOf,
312
- assertMayDecide,
313
- contextEvidenceFingerprint,
314
- decodeProjectAnnotationSnapshot,
315
- envelopeOfText,
316
- isGoogleDocumentHost,
317
- mailFindingFieldsHelp,
318
- mailOwnText,
319
- openOf,
320
- openStore,
321
- parseMergeId,
322
- plainQuery,
323
- quoteKept,
324
- refLabel,
325
- storedProfilesFor,
326
- writesWithOf
327
- } from "./chunk-BOZEBD3I.js";
349
+ } from "./chunk-XMHWGHID.js";
350
+ import "./chunk-UU3OAPGO.js";
351
+ import "./chunk-6AOPUQTC.js";
352
+ import "./chunk-XQHOMQNZ.js";
353
+ import "./chunk-KUFOM3SB.js";
328
354
  import {
329
355
  CATALOG_KINDS,
330
356
  CATEGORIES,
@@ -397,36 +423,16 @@ import {
397
423
  timezoneOf,
398
424
  validateQuery,
399
425
  walkQuery
400
- } from "./chunk-JABLJBXL.js";
401
- import "./chunk-EH7ACKFW.js";
402
- import "./chunk-NMOWIFH3.js";
403
- import "./chunk-I6MGDSYH.js";
404
- import "./chunk-E75LK7GD.js";
405
- import "./chunk-LHZ4QBWB.js";
406
- import "./chunk-O5KXCQE4.js";
407
- import "./chunk-3CANRF2G.js";
408
- import "./chunk-OGUXOAOH.js";
426
+ } from "./chunk-JINEHQ2T.js";
427
+ import "./chunk-VB4OLJHK.js";
428
+ import "./chunk-4QGUBKN5.js";
409
429
  import {
410
430
  sharedModelsDirectory
411
- } from "./chunk-RB266FS6.js";
431
+ } from "./chunk-SIQDO5DN.js";
412
432
  import {
413
433
  storePath
414
- } from "./chunk-R3PK4Y7C.js";
415
- import {
416
- provideTerminal,
417
- terminalOf
418
- } from "./chunk-BPGYTJNB.js";
419
- import {
420
- APP,
421
- REASONS,
422
- STORE_CLIENT,
423
- VERSION
424
- } from "./chunk-KK3ZHBMI.js";
425
- import "./chunk-DSU6UR2X.js";
426
- import "./chunk-SYWHHQMC.js";
427
- import "./chunk-D72URWJE.js";
428
- import "./chunk-PAHBDQ5A.js";
429
- import "./chunk-EI2P5E4C.js";
434
+ } from "./chunk-LPGE6ACC.js";
435
+ import "./chunk-G5GW3FFJ.js";
430
436
  import {
431
437
  Credentials,
432
438
  configFilePath,
@@ -439,7 +445,7 @@ import {
439
445
  projectFields,
440
446
  readBatchInput,
441
447
  resolvePaths
442
- } from "./chunk-UUBV5ATQ.js";
448
+ } from "./chunk-W46O6RJ5.js";
443
449
  import {
444
450
  MAX_NEXT_STEPS,
445
451
  array,
@@ -461,14 +467,13 @@ import {
461
467
  trim,
462
468
  union,
463
469
  unknown
464
- } from "./chunk-HE2F4JII.js";
470
+ } from "./chunk-VYCLOFPC.js";
465
471
  import "./chunk-Y5E2WNWB.js";
466
472
  import {
467
473
  CliError,
468
474
  errorCodes,
469
475
  isCliError
470
- } from "./chunk-ZTONSM5X.js";
471
- import "./chunk-XM6ZAPFW.js";
476
+ } from "./chunk-2EZFUIL4.js";
472
477
  import {
473
478
  __name
474
479
  } from "./chunk-ZVVMGPBJ.js";
@@ -848,7 +853,7 @@ var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sou
848
853
  var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
849
854
  var jsonOption = /* @__PURE__ */ __name((command, fields = "ref,title") => command.option("--json", `print JSON; --json=${fields} keeps only those fields`), "jsonOption");
850
855
 
851
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
856
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
852
857
  var SCORED = "mail_sender_scores";
853
858
  var DAY = 864e5;
854
859
  var RECENT = 2 * 365 * DAY;
@@ -864,7 +869,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
864
869
  return senders;
865
870
  }, "demotedSenders");
866
871
 
867
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/mail/sync.js
872
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mail/sync.js
868
873
  var DAY2 = 864e5;
869
874
  var EDGE = 2 * DAY2;
870
875
 
@@ -2001,10 +2006,11 @@ var groupScoped = /* @__PURE__ */ __name(async (store, env, only) => {
2001
2006
  }))
2002
2007
  };
2003
2008
  }, "groupScoped");
2004
- var searchEverywhere = /* @__PURE__ */ __name(async (store, env, { text: text3, limit, only, crmKinds, source, exact, timezone, plainOrder, shows }) => {
2009
+ var searchEverywhere = /* @__PURE__ */ __name(async (store, env, { text: text3, limit, only, crmKinds, source, exact, timezone, plainOrder, shows, harder }) => {
2005
2010
  const accounts = await scopedAccounts(store, env);
2006
2011
  const group = await groupScoped(store, env, only);
2007
2012
  const messenger2 = { app: { ...APP, command: "tg" }, hintCommand: "memo" };
2013
+ const harderSkipped = harder && shows !== void 0 ? "a permission hides some kinds here, so no hit was sent to the model" : void 0;
2008
2014
  const ask = /* @__PURE__ */ __name((offset) => searchAll(store, MEMO, {
2009
2015
  text: text3,
2010
2016
  limit,
@@ -2017,7 +2023,8 @@ var searchEverywhere = /* @__PURE__ */ __name(async (store, env, { text: text3,
2017
2023
  meetingScopes: ["personal", "work"],
2018
2024
  ...only?.includes("meetings") ? { meetingsAsked: true } : {},
2019
2025
  ...exact ? { exact: true } : {},
2020
- ...timezone === void 0 ? {} : { timezone }
2026
+ ...timezone === void 0 ? {} : { timezone },
2027
+ ...harder && harderSkipped === void 0 ? { harder: { app: APP } } : {}
2021
2028
  }, messenger2, (query) => searchStore(store, MEMO, query, messenger2), meaningLane({ env, store: /* @__PURE__ */ __name(async () => store, "store"), messenger: { app: { command: "memo" } } })), "ask");
2022
2029
  const searched = shows === void 0 ? await ask() : await allowedPage(ask, limit, shows);
2023
2030
  const found = group === void 0 ? searched : { ...searched, skipped: [...group.skipped, ...searched.skipped] };
@@ -2034,7 +2041,8 @@ var searchEverywhere = /* @__PURE__ */ __name(async (store, env, { text: text3,
2034
2041
  ...found,
2035
2042
  items: lowerSuspicious(found.items, (item) => suspicious.has(item.ref)),
2036
2043
  tasks: tasks.slice(0, limit),
2037
- tasksIncomplete: tasksIncomplete || tasks.length > limit
2044
+ tasksIncomplete: tasksIncomplete || tasks.length > limit,
2045
+ ...harderSkipped === void 0 ? {} : { harderSkipped }
2038
2046
  };
2039
2047
  }, "searchEverywhere");
2040
2048
  var suspiciousRefs = /* @__PURE__ */ __name(async (store, items) => {
@@ -2299,7 +2307,7 @@ import { createHash } from "node:crypto";
2299
2307
  import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
2300
2308
  import { basename, extname, relative, sep } from "node:path";
2301
2309
 
2302
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
2310
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
2303
2311
  var Proposal = object({
2304
2312
  kind: picklist(["summary", "digest", "fact", "preference"]),
2305
2313
  body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
@@ -2307,13 +2315,13 @@ var Proposal = object({
2307
2315
  });
2308
2316
  var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
2309
2317
 
2310
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
2318
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
2311
2319
  var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
2312
2320
 
2313
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
2321
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
2314
2322
  var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
2315
2323
 
2316
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/fetch/addresses.js
2324
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/fetch/addresses.js
2317
2325
  import { isIP } from "node:net";
2318
2326
  var within3 = /* @__PURE__ */ __name((address, [prefix, bits]) => {
2319
2327
  for (let bit = 0; bit < bits; bit++) {
@@ -2384,7 +2392,7 @@ var isPublicAddress = /* @__PURE__ */ __name((address) => {
2384
2392
  return within3(bytes, [[32], 3]) && !V6_PRIVATE.some((prefix) => within3(bytes, prefix));
2385
2393
  }, "isPublicAddress");
2386
2394
 
2387
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/fetch/page.js
2395
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/fetch/page.js
2388
2396
  import { lookup as dnsLookup } from "node:dns/promises";
2389
2397
  import { request as httpRequest } from "node:http";
2390
2398
  import { request as httpsRequest } from "node:https";
@@ -3142,12 +3150,13 @@ var withNotesAndTasks = /* @__PURE__ */ __name(async (store, env, { messages, ev
3142
3150
  notRead.push({ source: "events", reason: "no calendar in the store \u2014 gcal <profile> sync" });
3143
3151
  const tasks = await personTasks(store, messages.person, accounts, limit);
3144
3152
  const incoming = await store.notes.links({ to: person });
3145
- const relationships = (await store.knowledge.listRelations({
3153
+ const listed2 = await store.knowledge.listRelations({
3146
3154
  about: person,
3147
3155
  ...scope === void 0 ? {} : { accounts: scope },
3148
3156
  ...deniedKinds.length ? { deniedKinds: [...deniedKinds] } : {},
3149
3157
  limit: 500
3150
- })).items.filter((one2) => isUsable(one2.standing));
3158
+ });
3159
+ const relationships = listed2.items.filter((one2) => isUsable(one2.standing) && !(one2.provenance && SOURCE_REPORTS.has(one2.provenance)));
3151
3160
  const files = await reportedFiles(store, incoming, limit);
3152
3161
  const { subject: _, name: __, ...notes2 } = linked2;
3153
3162
  return {
@@ -4319,6 +4328,12 @@ var search = [
4319
4328
  takes_value: false,
4320
4329
  mandatory: false
4321
4330
  },
4331
+ {
4332
+ flags: "--harder",
4333
+ description: "a hosted model reorders the first 30 hits; sends the question and those hits to the provider you chose with memo models search-consents set <provider> --yes, only after that",
4334
+ takes_value: false,
4335
+ mandatory: false
4336
+ },
4322
4337
  {
4323
4338
  flags: "--project <project>",
4324
4339
  description: "rank the key documents of this project (id, project:<id>, key, exact name or alias) first; nothing is left out",
@@ -5816,7 +5831,7 @@ var doctorCommand = /* @__PURE__ */ __name((...args) => {
5816
5831
  }, SHELL_OVERRIDES.doctor);
5817
5832
  }, "doctorCommand");
5818
5833
 
5819
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/calendar/sync.js
5834
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/calendar/sync.js
5820
5835
  var DAY6 = 864e5;
5821
5836
  var SLOTS_EVERY = 7 * DAY6;
5822
5837
  var isWindow = /* @__PURE__ */ __name((value) => typeof value?.from === "number" && typeof value.to === "number", "isWindow");
@@ -5896,10 +5911,10 @@ var calendarStatus = /* @__PURE__ */ __name(async (store, accountId, { profile,
5896
5911
  return { items, page: 1, limit: Math.max(1, items.length), hasMore: false };
5897
5912
  }, "calendarStatus");
5898
5913
 
5899
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/calendar/feeds.js
5914
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/calendar/feeds.js
5900
5915
  var FEED_LIMITS = { maxBytes: 10 * 1024 * 1024, timeoutMs: 3e4, redirects: 5 };
5901
5916
 
5902
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/calendar/reads.js
5917
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/calendar/reads.js
5903
5918
  var LIST = "events list";
5904
5919
  var EVENT_TYPES = [
5905
5920
  "default",
@@ -5976,7 +5991,7 @@ var accountsMeta = /* @__PURE__ */ __name(async (store, accounts, skipped, now)
5976
5991
  };
5977
5992
  }, "accountsMeta");
5978
5993
 
5979
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/calendar/writer.js
5994
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/calendar/writer.js
5980
5995
  var EVENTS_NOTIFY_KEY = "events.notify";
5981
5996
  var EVENTS_DELETE_SERIES_KEY = "events.delete.series";
5982
5997
  var EVENTS_REMIND_HOOK_KEY = "events.remind.hook";
@@ -6670,6 +6685,8 @@ var EXAMPLES = {
6670
6685
  "memo digest brief edit --undo"
6671
6686
  ],
6672
6687
  "digest brief reset": ["memo digest brief reset"],
6688
+ "schedule pause": ["memo schedule pause digest"],
6689
+ "schedule resume": ["memo schedule resume digest"],
6673
6690
  "schedule remove": ["memo schedule remove digest"],
6674
6691
  "schedule exec": ["memo schedule exec ~/.local/state/cli-memo/schedules/digest/schedule.json"],
6675
6692
  "templates list": ["memo templates list", "memo templates list channel:telegram source:stored --json"],
@@ -10243,10 +10260,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
10243
10260
  }).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) => {
10244
10261
  if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
10245
10262
  throw new CliError("validation_error", "--port and --public-url require --http");
10246
- const { createMemoServer } = await import("./server-H24MAUT2.js");
10263
+ const { createMemoServer } = await import("./server-FX7RKPL4.js");
10247
10264
  const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
10248
10265
  if (options.http) {
10249
- const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-REIASUJR.js");
10266
+ const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-UCDMODSA.js");
10250
10267
  const publicUrl = publicUrlOf(options.publicUrl, {
10251
10268
  missing: "--http",
10252
10269
  reaches: "the browser apps reach memo",
@@ -10298,7 +10315,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
10298
10315
  });
10299
10316
  });
10300
10317
  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() {
10301
- const { revokeAll } = await import("./mcp-REIASUJR.js");
10318
+ const { revokeAll } = await import("./mcp-UCDMODSA.js");
10302
10319
  revokeAll(httpTokenFile(env));
10303
10320
  out.print(this.opts().json, itemAnswer({ revoked: true }));
10304
10321
  });
@@ -12310,6 +12327,7 @@ var meetingsMissed = /* @__PURE__ */ __name((found) => [
12310
12327
  // A kind `--source` named no account of was left out on purpose: `meta.issues` lists it, `missing` does not.
12311
12328
  ...found.skipped.filter(({ resource, source, code }) => resource === void 0 ? kindIn(source.split(":")[0] ?? "") === "meetings" : resource === "meetings" && code !== "not_found").map(({ resource, source, reason }) => ({ field: "items", why: `${source ?? resource} not searched: ${reason}` }))
12312
12329
  ], "meetingsMissed");
12330
+ var harderNote = /* @__PURE__ */ __name((found) => found.harderSkipped !== void 0 ? `not reordered by the model: ${found.harderSkipped}` : found.harder === void 0 ? void 0 : found.harder.applied ? `reordered by ${found.harder.provider} ${found.harder.model} (${found.harder.sent} hits sent, ${found.harder.cost_usd === null ? "cost unknown" : `$${found.harder.cost_usd}`}, ${found.harder.ms} ms)` : `not reordered by the model: ${found.harder.reason}`, "harderNote");
12313
12331
  var allAnswer = /* @__PURE__ */ __name((found, limit, exact = false, leftOut = []) => {
12314
12332
  const archive = coverageGaps({ coverage: found.coverage }, found.items.length);
12315
12333
  const next = found.items.flatMap((item) => {
@@ -12348,9 +12366,13 @@ var allAnswer = /* @__PURE__ */ __name((found, limit, exact = false, leftOut = [
12348
12366
  field: "items",
12349
12367
  why: `every word must be in one record, and nothing in ${found.searched.join(", ")} holds ${found.unmatched.map((word) => `"${word}"`).join(", ")}`
12350
12368
  }
12351
- ] : []
12369
+ ] : [],
12370
+ ...found.harder && !found.harder.applied || found.harderSkipped !== void 0 ? [{ field: "order", why: harderNote(found) }] : []
12352
12371
  ],
12353
- meta: metaOf2(found.accounts, found.skipped, archive.missing.length > 0)
12372
+ meta: {
12373
+ ...metaOf2(found.accounts, found.skipped, archive.missing.length > 0),
12374
+ ...found.harder ? { ranking: harderRanking(found.harder) } : {}
12375
+ }
12354
12376
  });
12355
12377
  }, "allAnswer");
12356
12378
  var kindAnswer = /* @__PURE__ */ __name((kind, found, limit, level, query = "") => {
@@ -12491,7 +12513,7 @@ var searchCommandDefinition = /* @__PURE__ */ __name((program, streams, env) =>
12491
12513
  throw new InvalidArgumentError("at most 100");
12492
12514
  return limit;
12493
12515
  }, 20).option("--exact", "words as written; skip meaning search").option("--timezone <zone>", "IANA timezone for calendar date boundaries").option("--json", "print JSON; --json=id,title keeps only those fields"), "queryOptions");
12494
- queryOptions(annotate(group.command("all"), { effects: LOCAL_READ, output: { entity: "hit" } }).description("messages, mail, notes, calendar events, deals, leads, business data and meeting passages from every meeting account, ranked together; not people, memories, projects or decisions. A kind you know reads better with its own search, with all its fields").summary("messages, mail, notes, events, deals and meetings ranked together")).option("--only <resources>", `${ONLY.join(",")}, separated by commas`, onlyOf2).option("--source <accounts>", "only these accounts, separated by commas: provider:account as a hit shows it, a provider, a kind or group:<name>; each resource reads the ones of its kind, and one it names none of is left out").option("--plain-order", "best first by the words alone, without moving mail from suspicious senders down").option("--project <project>", PROJECT_ORDER_HELP).addHelpText("after", `
12516
+ queryOptions(annotate(group.command("all"), { effects: LOCAL_READ, output: { entity: "hit" } }).description("messages, mail, notes, calendar events, deals, leads, business data and meeting passages from every meeting account, ranked together; not people, memories, projects or decisions. A kind you know reads better with its own search, with all its fields").summary("messages, mail, notes, events, deals and meetings ranked together")).option("--only <resources>", `${ONLY.join(",")}, separated by commas`, onlyOf2).option("--source <accounts>", "only these accounts, separated by commas: provider:account as a hit shows it, a provider, a kind or group:<name>; each resource reads the ones of its kind, and one it names none of is left out").option("--plain-order", "best first by the words alone, without moving mail from suspicious senders down").option("--harder", "a hosted model reorders the first 30 hits; sends the question and those hits to the provider you chose with memo models search-consents set <provider> --yes, only after that").option("--project <project>", PROJECT_ORDER_HELP).addHelpText("after", `
12495
12517
  content: narrows a search to the text of files, transcript: to voice transcripts, filename: to file names \u2014 memo search all 'content:invoice'.
12496
12518
  Calendar events come from every calendar gcal stored; an event's title, description and place are written by whoever sent the invitation.
12497
12519
  crm finds deals and leads by the words of their title only.
@@ -12505,7 +12527,8 @@ business finds invoices, payments, orders, contracts, subscriptions, products an
12505
12527
  reason: "search.all-denied"
12506
12528
  });
12507
12529
  const leftOut = denied ? [denied] : [];
12508
- const gate = lanesFor(command, wanted);
12530
+ const owner = await whoRuns(command, env, { question: "search all" }) === "owner";
12531
+ const gate = lanesFor(command, wanted, owner ? [] : deniedCrm(command, env));
12509
12532
  const answer = await withStore(env, async (store) => {
12510
12533
  const found = await searchEverywhere(store, env, {
12511
12534
  text: words.join(" "),
@@ -12516,6 +12539,7 @@ business finds invoices, payments, orders, contracts, subscriptions, products an
12516
12539
  ...options.source === void 0 ? {} : { source: options.source },
12517
12540
  ...options.exact ? { exact: true } : {},
12518
12541
  ...options.plainOrder ? { plainOrder: true } : {},
12542
+ ...options.harder ? { harder: true } : {},
12519
12543
  ...options.timezone === void 0 ? {} : { timezone: options.timezone }
12520
12544
  });
12521
12545
  return {
@@ -12541,6 +12565,10 @@ business finds invoices, payments, orders, contracts, subscriptions, products an
12541
12565
  `);
12542
12566
  if (answer.messages?.meaningSkipped)
12543
12567
  streams.diagnostic(`${messagesMeaningNote(answer.messages.meaningSkipped)}
12568
+ `);
12569
+ const harder = harderNote(answer);
12570
+ if (harder)
12571
+ streams.diagnostic(`${harder}
12544
12572
  `);
12545
12573
  }
12546
12574
  print(options.json, allAnswer(answer, options.limit, options.exact, leftOut), [
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  pasteHint,
5
5
  readSecret
6
- } from "./chunk-E75LK7GD.js";
7
- import "./chunk-LHZ4QBWB.js";
8
- import "./chunk-UUBV5ATQ.js";
9
- import "./chunk-HE2F4JII.js";
6
+ } from "./chunk-XPSXVUZG.js";
7
+ import "./chunk-E2PSOSTN.js";
8
+ import "./chunk-W46O6RJ5.js";
9
+ import "./chunk-VYCLOFPC.js";
10
10
  import "./chunk-Y5E2WNWB.js";
11
- import "./chunk-ZTONSM5X.js";
11
+ import "./chunk-2EZFUIL4.js";
12
12
  import "./chunk-ZVVMGPBJ.js";
13
13
  export {
14
14
  pasteHint,
@@ -8,11 +8,11 @@ import {
8
8
  openRecognizer,
9
9
  openSpeechCutter,
10
10
  toModelRate
11
- } from "./chunk-H74CWBSY.js";
12
- import "./chunk-UUBV5ATQ.js";
13
- import "./chunk-HE2F4JII.js";
11
+ } from "./chunk-NR633L2N.js";
12
+ import "./chunk-W46O6RJ5.js";
13
+ import "./chunk-VYCLOFPC.js";
14
14
  import "./chunk-Y5E2WNWB.js";
15
- import "./chunk-ZTONSM5X.js";
15
+ import "./chunk-2EZFUIL4.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-3CANRF2G.js";
12
- import "./chunk-OGUXOAOH.js";
13
- import "./chunk-RB266FS6.js";
14
- import "./chunk-R3PK4Y7C.js";
15
- import "./chunk-UUBV5ATQ.js";
16
- import "./chunk-HE2F4JII.js";
11
+ } from "./chunk-ZTZLAGZA.js";
12
+ import "./chunk-SIOPF2UG.js";
13
+ import "./chunk-SIQDO5DN.js";
14
+ import "./chunk-LPGE6ACC.js";
15
+ import "./chunk-W46O6RJ5.js";
16
+ import "./chunk-VYCLOFPC.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
- import "./chunk-ZTONSM5X.js";
18
+ import "./chunk-2EZFUIL4.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-OGUXOAOH.js";
8
- import "./chunk-RB266FS6.js";
9
- import "./chunk-R3PK4Y7C.js";
10
- import "./chunk-UUBV5ATQ.js";
11
- import "./chunk-HE2F4JII.js";
7
+ } from "./chunk-SIOPF2UG.js";
8
+ import "./chunk-SIQDO5DN.js";
9
+ import "./chunk-LPGE6ACC.js";
10
+ import "./chunk-W46O6RJ5.js";
11
+ import "./chunk-VYCLOFPC.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
- import "./chunk-ZTONSM5X.js";
13
+ import "./chunk-2EZFUIL4.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/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");