@wirecat/drive-cli 0.57.0 → 0.59.0

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 (167) hide show
  1. package/dist/bin/drive.js +6 -2
  2. package/dist/bin/drive.js.map +1 -1
  3. package/dist/bundle/{all-profiles-7LSZ3CC3.js → all-profiles-CVISDGMF.js} +14 -9
  4. package/dist/bundle/{anthropic-3QRM4QXB.js → anthropic-WLNQC23G.js} +11 -7
  5. package/dist/bundle/{app-server-WWNMUHID.js → app-server-P2VOONXF.js} +61 -53
  6. package/dist/bundle/{bun-NIIYUR5F.js → bun-CDFBNTKV.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-GSLSN3OT.js → bun-sqlite-MNZICITP.js} +8 -4
  8. package/dist/bundle/chunk-2AXA5SKP.js +23 -0
  9. package/dist/bundle/{chunk-EFEI724Z.js → chunk-36B7AIGP.js} +1 -1
  10. package/dist/bundle/{chunk-Q3TMNETS.js → chunk-3KJTJDDT.js} +52 -39
  11. package/dist/bundle/{chunk-4F2VRJZE.js → chunk-3KNZADHJ.js} +5080 -626
  12. package/dist/bundle/{chunk-GIQFBXQN.js → chunk-3U22QTU6.js} +12 -125
  13. package/dist/bundle/chunk-3VSUT6BD.js +35 -0
  14. package/dist/bundle/{chunk-U2RSVKR5.js → chunk-5C7K6XIT.js} +1 -1
  15. package/dist/bundle/{chunk-6CFSDU56.js → chunk-6C6255U6.js} +16 -14
  16. package/dist/bundle/{chunk-EE7R457T.js → chunk-6CQO2FIN.js} +1569 -739
  17. package/dist/bundle/{chunk-KHNDZNQA.js → chunk-7QTVIZII.js} +5410 -3002
  18. package/dist/bundle/{chunk-HNUSPNUQ.js → chunk-A6EG7ZDS.js} +13 -13
  19. package/dist/bundle/{chunk-WBYCUBYM.js → chunk-A6SLYOP2.js} +49 -42
  20. package/dist/bundle/{chunk-TR5656OS.js → chunk-AD62XJKO.js} +162 -106
  21. package/dist/bundle/{chunk-TKVSJV5P.js → chunk-B5GBJ35N.js} +6 -4
  22. package/dist/bundle/{chunk-LSSIVBQI.js → chunk-BSGOM3BD.js} +1 -1
  23. package/dist/bundle/{chunk-XGNADVIA.js → chunk-CBM2XAEZ.js} +28 -229
  24. package/dist/bundle/{chunk-OYNSFQ7K.js → chunk-D72URWJE.js} +1 -39
  25. package/dist/bundle/{chunk-L4BBK7UX.js → chunk-DI5Z4SH5.js} +5 -3
  26. package/dist/bundle/chunk-EBLA7GXY.js +45 -0
  27. package/dist/bundle/{chunk-4UQLL6RJ.js → chunk-EHEZSV6I.js} +11 -88
  28. package/dist/bundle/{chunk-6ZA4NR5H.js → chunk-EORMZCVF.js} +3 -3
  29. package/dist/bundle/{chunk-W5FOPSJZ.js → chunk-EVETU3TF.js} +10 -8
  30. package/dist/bundle/{chunk-TZHCS5MG.js → chunk-F3FOL42A.js} +2 -2
  31. package/dist/bundle/{chunk-2QLLKDE5.js → chunk-FICVPYE4.js} +206 -73
  32. package/dist/bundle/{chunk-AKPFH3KC.js → chunk-FVQCM7IQ.js} +1 -1
  33. package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
  34. package/dist/bundle/{chunk-WAVJWGUC.js → chunk-GI5JBGXH.js} +4611 -1530
  35. package/dist/bundle/{chunk-SRNXTXJN.js → chunk-GJ4ZCIOP.js} +3 -3
  36. package/dist/bundle/{chunk-GKHUHRSL.js → chunk-GT5KTGCN.js} +4 -4
  37. package/dist/bundle/{chunk-WJOKTIOJ.js → chunk-H2BKXPBL.js} +2 -2
  38. package/dist/bundle/chunk-HIOJRPCT.js +93 -0
  39. package/dist/bundle/chunk-HIP43OGZ.js +34 -0
  40. package/dist/bundle/{chunk-2ULJW5BA.js → chunk-HMZAMHKN.js} +2 -2
  41. package/dist/bundle/{chunk-64E6QXXQ.js → chunk-HWLLVLAB.js} +10 -10
  42. package/dist/bundle/{chunk-373WJIHE.js → chunk-IADOBOKB.js} +2 -2
  43. package/dist/bundle/{chunk-B3TPS7BW.js → chunk-IBZ3IBO4.js} +9 -7
  44. package/dist/bundle/{chunk-QAT6UXZZ.js → chunk-IGF6EXBR.js} +53 -48
  45. package/dist/bundle/{chunk-KYNTSA6K.js → chunk-II7LST64.js} +5 -5
  46. package/dist/bundle/{chunk-JLKNUFL2.js → chunk-IIP43FQJ.js} +2 -2
  47. package/dist/bundle/{chunk-ELIYJXIY.js → chunk-JSDVK3JA.js} +2 -2
  48. package/dist/bundle/{chunk-UKMFPBAO.js → chunk-JW2CVCUH.js} +4 -4
  49. package/dist/bundle/{chunk-O5KDIVGE.js → chunk-K4LXGZTE.js} +23 -21
  50. package/dist/bundle/{chunk-RB674T6L.js → chunk-KFZUODXB.js} +76 -20
  51. package/dist/bundle/chunk-KPRGTTJH.js +34 -0
  52. package/dist/bundle/{chunk-XJVK7ETL.js → chunk-L5SE2XZP.js} +23 -15
  53. package/dist/bundle/{chunk-OOR6PEHV.js → chunk-LJ7E4HLQ.js} +1 -1
  54. package/dist/bundle/{chunk-VTJF2L5E.js → chunk-LPHMAQJQ.js} +16 -16
  55. package/dist/bundle/{chunk-566W4Q6L.js → chunk-M6I2SQN7.js} +4 -4
  56. package/dist/bundle/{chunk-NLLWLCUZ.js → chunk-MEAPA4EZ.js} +2 -2
  57. package/dist/bundle/{chunk-J2HGHSLX.js → chunk-MKCNUI72.js} +4 -4
  58. package/dist/bundle/{chunk-CD736BG3.js → chunk-MUUHUHWC.js} +2 -1
  59. package/dist/bundle/{chunk-AHBUTDS7.js → chunk-OKXSTWKW.js} +8 -8
  60. package/dist/bundle/{chunk-W6FYYQ2J.js → chunk-OMMEQJOB.js} +3 -3
  61. package/dist/bundle/{chunk-EFX6FIDM.js → chunk-OZH4ALTI.js} +1 -1
  62. package/dist/bundle/{chunk-KM4Y55ZE.js → chunk-P3ZTW2ZM.js} +7 -7
  63. package/dist/bundle/{chunk-5KNIVHP6.js → chunk-P7WPYKSB.js} +7 -20
  64. package/dist/bundle/{chunk-RAEKC6TV.js → chunk-PAEVBAM3.js} +9 -42
  65. package/dist/bundle/{chunk-LBFFI6FE.js → chunk-PGKIOSN3.js} +9 -7
  66. package/dist/bundle/{chunk-WJPVGXKA.js → chunk-QTM7USFA.js} +8 -13
  67. package/dist/bundle/{chunk-EN7OZ5JH.js → chunk-TFH5X46A.js} +37 -22
  68. package/dist/bundle/{chunk-OZJMZSFB.js → chunk-TI55J3BA.js} +6 -4
  69. package/dist/bundle/{chunk-R5GJZPRF.js → chunk-TJXPJ3A5.js} +572 -366
  70. package/dist/bundle/chunk-UQPKAY6I.js +106 -0
  71. package/dist/bundle/{chunk-JUKVJ7M2.js → chunk-UWVNRPT7.js} +56 -40
  72. package/dist/bundle/chunk-V36RIXFA.js +201 -0
  73. package/dist/bundle/{chunk-JIGMCW4C.js → chunk-V42KAPU3.js} +6 -6
  74. package/dist/bundle/{chunk-7SNS443B.js → chunk-VT6GZAF4.js} +35 -35
  75. package/dist/bundle/{chunk-ISK4K7UE.js → chunk-VVCZS42A.js} +1 -1
  76. package/dist/bundle/chunk-W62CON5K.js +166 -0
  77. package/dist/bundle/{chunk-YZ6SYLDC.js → chunk-XCOCPXCM.js} +2 -2
  78. package/dist/bundle/{chunk-G34Y5RAC.js → chunk-YADXWQHV.js} +29 -29
  79. package/dist/bundle/{chunk-AL7MY7MW.js → chunk-YU3PTU3D.js} +1 -1
  80. package/dist/bundle/{chunk-IJ2S53WJ.js → chunk-YV4ABH6J.js} +7 -7
  81. package/dist/bundle/{chunk-B64EY2SC.js → chunk-ZSMCJKGP.js} +42 -41
  82. package/dist/bundle/chunk-ZYCLPJ7U.js +46 -0
  83. package/dist/bundle/command-contract-LQDNHZJU.js +39 -0
  84. package/dist/bundle/{decode-5MHMPYKE.js → decode-XTOMXMGN.js} +10 -6
  85. package/dist/bundle/dispatch-T6TW2JJB.js +412 -0
  86. package/dist/bundle/drive.js +40 -22
  87. package/dist/bundle/{echarts-CLB22SZS.js → echarts-RKKIOYVV.js} +2 -2
  88. package/dist/bundle/{embed-TF66ODAR.js → embed-STHKKA6G.js} +9 -5
  89. package/dist/bundle/{embedder-EDWOIAC2.js → embedder-3XZEWHRO.js} +14 -10
  90. package/dist/bundle/entry-CNOYSSSD.js +22 -0
  91. package/dist/bundle/failure-DNQYXP2T.js +26 -0
  92. package/dist/bundle/first-run-F2SI24PK.js +30 -0
  93. package/dist/bundle/first-screen-TYYF6VXY.js +37 -0
  94. package/dist/bundle/{google-A4F2WFO4.js → google-BYNSAIQI.js} +13 -9
  95. package/dist/bundle/{google-api-ZXGQOJUI.js → google-api-4VTZH7OP.js} +59 -52
  96. package/dist/bundle/grants-EUQXSICG.js +105 -0
  97. package/dist/bundle/{identity-4IO7WGG4.js → identity-ARDPFYV5.js} +6 -4
  98. package/dist/bundle/{instructions-BXZZNAMS.js → instructions-N3OH5X2Y.js} +1 -1
  99. package/dist/bundle/{login-A4QHJ5DA.js → login-4VQEC7VI.js} +65 -58
  100. package/dist/bundle/{mcp-VVMPUDSL.js → mcp-WBHKX5E3.js} +5 -3
  101. package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
  102. package/dist/bundle/{node-R6ZNQ3NT.js → node-YU5JBNAA.js} +2 -2
  103. package/dist/bundle/{node-sqlite-AFQTE4XZ.js → node-sqlite-3C6PSBIW.js} +14 -4
  104. package/dist/bundle/oauth-D6NJFPYU.js +22 -0
  105. package/dist/bundle/{open-WJCRBIP7.js → open-M2V2VYXO.js} +8 -3
  106. package/dist/bundle/{openai-3TIBDWZA.js → openai-ST2IWNUX.js} +18 -14
  107. package/dist/bundle/{process-P36JP33R.js → process-PYNNBBTV.js} +1 -1
  108. package/dist/bundle/{program-AHZH65IT.js → program-Q4VWV2MR.js} +193 -147
  109. package/dist/bundle/prompt-MFIOJMAF.js +17 -0
  110. package/dist/bundle/{reasons-VHCVYH54.js → reasons-LOQ5J73F.js} +5 -3
  111. package/dist/bundle/{recognize-4EAKIMON.js → recognize-FBLMWXNE.js} +7 -3
  112. package/dist/bundle/{remote-HX3JP4EH.js → remote-XC3OXE4T.js} +10 -6
  113. package/dist/bundle/{rerank-BW3A4PUU.js → rerank-2XMKKF4S.js} +10 -6
  114. package/dist/bundle/{serve-YYOOLIBS.js → serve-Q2BQHNZB.js} +15 -10
  115. package/dist/bundle/{server-G6XTEEFI.js → server-42HPV3AH.js} +46 -39
  116. package/dist/bundle/server-EWZYN323.js +70 -0
  117. package/dist/bundle/{services-OAPILZOW.js → services-WU22S2MU.js} +100 -26
  118. package/dist/bundle/{sqlite-runtime-GTXDK4PE.js → sqlite-runtime-CSO6K6B2.js} +9 -4
  119. package/dist/bundle/start-TZWKM4AH.js +138 -0
  120. package/dist/bundle/{state-XG335LGZ.js → state-FLUT7U7R.js} +9 -5
  121. package/dist/bundle/{store-N53SJOPS.js → store-HDWMJ44E.js} +42 -17
  122. package/dist/bundle/{store-7KOXJNQP.js → store-TG6622NG.js} +20 -12
  123. package/dist/bundle/store-maintenance-command-RHWRUREJ.js +60 -0
  124. package/dist/bundle/tokens-TXYURU4S.js +103 -0
  125. package/dist/commands/documents.d.ts +1 -0
  126. package/dist/commands/documents.d.ts.map +1 -1
  127. package/dist/commands/documents.js +14 -1
  128. package/dist/commands/documents.js.map +1 -1
  129. package/dist/commands/knowledge.d.ts +4 -0
  130. package/dist/commands/knowledge.d.ts.map +1 -1
  131. package/dist/commands/knowledge.js +8 -7
  132. package/dist/commands/knowledge.js.map +1 -1
  133. package/dist/contract-overrides.js +5 -5
  134. package/dist/contract-overrides.js.map +1 -1
  135. package/dist/knowledge-query.d.ts +2 -0
  136. package/dist/knowledge-query.d.ts.map +1 -1
  137. package/dist/program.d.ts.map +1 -1
  138. package/dist/program.js +8 -3
  139. package/dist/program.js.map +1 -1
  140. package/dist/provider-json.d.ts +2 -0
  141. package/dist/provider-json.d.ts.map +1 -1
  142. package/dist/provider-json.js +13 -0
  143. package/dist/provider-json.js.map +1 -1
  144. package/dist/reasons.d.ts.map +1 -1
  145. package/dist/reasons.js +1 -0
  146. package/dist/reasons.js.map +1 -1
  147. package/dist/store.d.ts +2 -0
  148. package/dist/store.d.ts.map +1 -1
  149. package/dist/store.js +9 -0
  150. package/dist/store.js.map +1 -1
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +5 -4
  154. package/skills/drive-cli/SKILL.md +2 -1
  155. package/dist/bundle/chunk-3BXSLNWW.js +0 -3607
  156. package/dist/bundle/chunk-CGCQNYB3.js +0 -18
  157. package/dist/bundle/command-contract-XIACCAZL.js +0 -35
  158. package/dist/bundle/entry-CWYCQ53A.js +0 -17
  159. package/dist/bundle/first-run-YIH7EHJI.js +0 -24
  160. package/dist/bundle/first-screen-THH3XD5Y.js +0 -33
  161. package/dist/bundle/grants-3Z7DG3W3.js +0 -98
  162. package/dist/bundle/oauth-46XBJBML.js +0 -18
  163. package/dist/bundle/prompt-FFGBIT4A.js +0 -13
  164. package/dist/bundle/server-YKYEUIJT.js +0 -63
  165. package/dist/bundle/store-maintenance-command-W3TI52X2.js +0 -52
  166. package/dist/bundle/tokens-P7TEHKDD.js +0 -96
  167. /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-LK2E2ELG.js} +0 -0
@@ -3,25 +3,39 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AGENDA_DEFAULTS,
5
5
  BATCH_SIZE,
6
+ BUILT_IN_PURPOSES,
7
+ BUILT_IN_PURPOSE_CONFIG,
6
8
  CATCH_UP_BOUNDS,
7
9
  CONTEXT_BYTES,
8
10
  CONTEXT_MESSAGES,
11
+ DEFAULT_LIMIT,
12
+ DEFAULT_PURPOSES,
13
+ DEFAULT_THRESHOLD,
9
14
  DELETE_AT_ONCE,
10
15
  EVENTS_DAYS,
16
+ FACT_SUMMARIES,
11
17
  GAP_BOUNDS,
18
+ LINK_PURPOSE,
12
19
  MEETING_PREPARATION_LIMITS,
13
20
  MONEY_DONE,
14
21
  MONEY_REQUEST,
15
22
  MONEY_WORDS,
16
23
  OFFLINE,
24
+ PERSON_SCORERS,
25
+ PERSON_THRESHOLD,
17
26
  PREPARE_BYTES,
18
27
  PROMISE,
19
28
  RANK_WITHIN,
20
29
  RESOURCES_SEARCHED,
21
30
  RESOURCES_SEARCHED_WITH_MEETINGS,
31
+ SCAN_BOT,
22
32
  SCOPES,
33
+ SCORERS,
23
34
  SERVER_BOUNDS,
24
35
  SERVER_SEARCH_KEY,
36
+ STATUS_CHATS,
37
+ STATUS_SIGNALS,
38
+ STATUS_WINDOW,
25
39
  SYNC_BOUNDS,
26
40
  SYNC_KEY,
27
41
  THREAD_BOUNDS,
@@ -33,6 +47,7 @@ import {
33
47
  accountsOfKind,
34
48
  adminService,
35
49
  adminStatisticsService,
50
+ aliasHits,
36
51
  applyMeetingEmbedding,
37
52
  applyTaskRulesSinceLastPass,
38
53
  applyTaskRulesToStored,
@@ -45,9 +60,12 @@ import {
45
60
  catchUpSearch,
46
61
  chatCoverage,
47
62
  chatIdIn,
63
+ chatSenders,
64
+ chatTitle,
48
65
  chatsService,
49
66
  checkMediaArchive,
50
67
  closedStateOf,
68
+ combinedScore,
51
69
  conversationsService,
52
70
  countersService,
53
71
  createContextEvidenceReader,
@@ -62,10 +80,12 @@ import {
62
80
  documentPassage,
63
81
  downloadImageModel,
64
82
  downloadTextModel,
83
+ emailDomain,
65
84
  embedEvents,
66
85
  embedMail,
67
86
  embedNotes,
68
87
  embeddingsService,
88
+ emptyProposalRegistry,
69
89
  excerpt,
70
90
  findEvidenceMentions,
71
91
  foldersService,
@@ -76,12 +96,16 @@ import {
76
96
  gatherStoredProject,
77
97
  identityIn,
78
98
  inboxService,
99
+ ingest,
79
100
  linkPeople,
80
101
  linkedChatsOf,
81
102
  listContextOf,
103
+ mailThread,
82
104
  meaningLane,
83
105
  meetingEmbeddingModel,
84
106
  meetingSearchesService,
107
+ memberChats,
108
+ memberDialog,
85
109
  messagesService,
86
110
  metadataService,
87
111
  moderationService,
@@ -91,6 +115,7 @@ import {
91
115
  onlineDeps,
92
116
  openMeetingEmbedder,
93
117
  openPictureEmbedderFor,
118
+ parseProposalIds,
94
119
  peopleService,
95
120
  personContext,
96
121
  personMeetingContext,
@@ -99,9 +124,14 @@ import {
99
124
  phoneOf,
100
125
  prepareEvidencePacket,
101
126
  privatePeopleService,
127
+ projectStatus,
128
+ proposalRegistry,
102
129
  proposalSource,
103
130
  proposeMeetingEmbedding,
104
131
  proposeMeetingTask,
132
+ purposeList,
133
+ purposeRead,
134
+ purposesOf,
105
135
  questions,
106
136
  rankingsService,
107
137
  readEvidencePacket,
@@ -122,6 +152,7 @@ import {
122
152
  retentionService,
123
153
  savePicture,
124
154
  savedSearchItem,
155
+ scanProjectLinks,
125
156
  searchAll,
126
157
  searchAllIncludingMeetings,
127
158
  searchAllWithMeetings,
@@ -137,6 +168,7 @@ import {
137
168
  servicesFor,
138
169
  storeOnlyDeps,
139
170
  storeQuery,
171
+ storedChatCount,
140
172
  storedChatId,
141
173
  storedDeps,
142
174
  storedMessageNeighbours,
@@ -150,20 +182,20 @@ import {
150
182
  upgradePackage,
151
183
  validateCatchUp,
152
184
  validateMeetingPreparationRequest
153
- } from "./chunk-KHNDZNQA.js";
154
- import "./chunk-HNUSPNUQ.js";
155
- import "./chunk-G34Y5RAC.js";
156
- import "./chunk-VTJF2L5E.js";
157
- import "./chunk-TR5656OS.js";
158
- import "./chunk-2ULJW5BA.js";
159
- import "./chunk-7SNS443B.js";
160
- import "./chunk-5KNIVHP6.js";
161
- import "./chunk-OYNSFQ7K.js";
162
- import "./chunk-ELIYJXIY.js";
163
- import "./chunk-6ZA4NR5H.js";
164
- import "./chunk-KM4Y55ZE.js";
185
+ } from "./chunk-7QTVIZII.js";
186
+ import "./chunk-YADXWQHV.js";
187
+ import "./chunk-A6EG7ZDS.js";
188
+ import "./chunk-AD62XJKO.js";
189
+ import "./chunk-HMZAMHKN.js";
190
+ import "./chunk-P7WPYKSB.js";
191
+ import "./chunk-ZYCLPJ7U.js";
192
+ import "./chunk-JSDVK3JA.js";
193
+ import "./chunk-EORMZCVF.js";
194
+ import "./chunk-P3ZTW2ZM.js";
165
195
  import "./chunk-5DPV7X27.js";
166
- import "./chunk-OZJMZSFB.js";
196
+ import "./chunk-TI55J3BA.js";
197
+ import "./chunk-LPHMAQJQ.js";
198
+ import "./chunk-VT6GZAF4.js";
167
199
  import {
168
200
  FIELD_VERSION,
169
201
  QUERY_FIELDS,
@@ -175,39 +207,57 @@ import {
175
207
  contextEvidenceFingerprint,
176
208
  entriesOfList,
177
209
  validateAst
178
- } from "./chunk-WAVJWGUC.js";
179
- import "./chunk-373WJIHE.js";
210
+ } from "./chunk-GI5JBGXH.js";
211
+ import "./chunk-IADOBOKB.js";
180
212
  import {
181
213
  TASK_KINDS,
182
214
  TASK_ORIGINS,
183
- meetingHitContextLimits
184
- } from "./chunk-R5GJZPRF.js";
185
- import "./chunk-XJVK7ETL.js";
186
- import "./chunk-HPXYN7F3.js";
187
- import "./chunk-AHBUTDS7.js";
188
- import "./chunk-B3TPS7BW.js";
189
- import "./chunk-CGCQNYB3.js";
190
- import "./chunk-WJPVGXKA.js";
191
- import "./chunk-XGNADVIA.js";
192
- import "./chunk-GIQFBXQN.js";
215
+ meetingHitContextLimits,
216
+ paymentTitle
217
+ } from "./chunk-TJXPJ3A5.js";
218
+ import "./chunk-L5SE2XZP.js";
219
+ import "./chunk-HIOJRPCT.js";
220
+ import "./chunk-OKXSTWKW.js";
221
+ import "./chunk-IBZ3IBO4.js";
222
+ import "./chunk-3VSUT6BD.js";
223
+ import "./chunk-QTM7USFA.js";
224
+ import "./chunk-BSGOM3BD.js";
225
+ import "./chunk-D72URWJE.js";
226
+ import "./chunk-2AXA5SKP.js";
227
+ import "./chunk-LK2E2ELG.js";
228
+ import "./chunk-KPRGTTJH.js";
229
+ import "./chunk-CBM2XAEZ.js";
230
+ import "./chunk-V36RIXFA.js";
193
231
  import "./chunk-Y5E2WNWB.js";
194
- import "./chunk-LSSIVBQI.js";
232
+ import "./chunk-HIP43OGZ.js";
233
+ import "./chunk-UQPKAY6I.js";
234
+ import "./chunk-3U22QTU6.js";
235
+ import "./chunk-EBLA7GXY.js";
195
236
  import "./chunk-ZVVMGPBJ.js";
196
237
  export {
197
238
  AGENDA_DEFAULTS,
198
239
  BATCH_SIZE,
240
+ BUILT_IN_PURPOSES,
241
+ BUILT_IN_PURPOSE_CONFIG,
199
242
  CATCH_UP_BOUNDS,
200
243
  CONTEXT_BYTES,
201
244
  CONTEXT_MESSAGES,
245
+ DEFAULT_LIMIT as DEFAULT_LINK_SCAN_LIMIT,
246
+ DEFAULT_THRESHOLD as DEFAULT_LINK_SCAN_THRESHOLD,
247
+ DEFAULT_PURPOSES,
202
248
  DELETE_AT_ONCE,
203
249
  EVENTS_DAYS,
250
+ FACT_SUMMARIES,
204
251
  FIELD_VERSION,
205
252
  GAP_BOUNDS,
253
+ LINK_PURPOSE,
206
254
  MEETING_PREPARATION_LIMITS,
207
255
  MONEY_DONE,
208
256
  MONEY_REQUEST,
209
257
  MONEY_WORDS,
210
258
  OFFLINE,
259
+ PERSON_THRESHOLD as PERSON_LINK_SCAN_THRESHOLD,
260
+ PERSON_SCORERS,
211
261
  PREPARE_BYTES,
212
262
  PROMISE,
213
263
  QUERY_FIELDS,
@@ -217,9 +267,14 @@ export {
217
267
  RANK_WITHIN,
218
268
  RESOURCES_SEARCHED,
219
269
  RESOURCES_SEARCHED_WITH_MEETINGS,
270
+ SCAN_BOT,
220
271
  SCOPES,
272
+ SCORERS,
221
273
  SERVER_BOUNDS,
222
274
  SERVER_SEARCH_KEY,
275
+ STATUS_CHATS,
276
+ STATUS_SIGNALS,
277
+ STATUS_WINDOW,
223
278
  SYNC_BOUNDS,
224
279
  SYNC_KEY,
225
280
  TASK_KINDS,
@@ -233,6 +288,7 @@ export {
233
288
  accountsOfKind,
234
289
  adminService,
235
290
  adminStatisticsService,
291
+ aliasHits,
236
292
  amountOf,
237
293
  amountsOf,
238
294
  applyMeetingEmbedding,
@@ -247,9 +303,12 @@ export {
247
303
  catchUpSearch,
248
304
  chatCoverage,
249
305
  chatIdIn,
306
+ chatSenders,
307
+ chatTitle,
250
308
  chatsService,
251
309
  checkMediaArchive,
252
310
  closedStateOf,
311
+ combinedScore,
253
312
  contextEvidenceFingerprint,
254
313
  conversationsService,
255
314
  countersService,
@@ -265,10 +324,12 @@ export {
265
324
  documentPassage,
266
325
  downloadImageModel,
267
326
  downloadTextModel,
327
+ emailDomain,
268
328
  embedEvents,
269
329
  embedMail,
270
330
  embedNotes,
271
331
  embeddingsService,
332
+ emptyProposalRegistry,
272
333
  entriesOfList,
273
334
  excerpt,
274
335
  findEvidenceMentions,
@@ -280,13 +341,17 @@ export {
280
341
  gatherStoredProject,
281
342
  identityIn,
282
343
  inboxService,
344
+ ingest,
283
345
  linkPeople,
284
346
  linkedChatsOf,
285
347
  listContextOf,
348
+ mailThread,
286
349
  meaningLane,
287
350
  meetingEmbeddingModel,
288
351
  meetingHitContextLimits,
289
352
  meetingSearchesService,
353
+ memberChats,
354
+ memberDialog,
290
355
  messagesService,
291
356
  metadataService,
292
357
  moderationService,
@@ -296,6 +361,8 @@ export {
296
361
  onlineDeps,
297
362
  openMeetingEmbedder,
298
363
  openPictureEmbedderFor,
364
+ parseProposalIds,
365
+ paymentTitle,
299
366
  peopleService,
300
367
  personContext,
301
368
  personMeetingContext,
@@ -304,9 +371,14 @@ export {
304
371
  phoneOf,
305
372
  prepareEvidencePacket,
306
373
  privatePeopleService,
374
+ projectStatus,
375
+ proposalRegistry,
307
376
  proposalSource,
308
377
  proposeMeetingEmbedding,
309
378
  proposeMeetingTask,
379
+ purposeList,
380
+ purposeRead,
381
+ purposesOf,
310
382
  questions,
311
383
  rankingsService,
312
384
  readEvidencePacket,
@@ -327,6 +399,7 @@ export {
327
399
  retentionService,
328
400
  savePicture,
329
401
  savedSearchItem,
402
+ scanProjectLinks,
330
403
  searchAll,
331
404
  searchAllIncludingMeetings,
332
405
  searchAllWithMeetings,
@@ -342,6 +415,7 @@ export {
342
415
  servicesFor,
343
416
  storeOnlyDeps,
344
417
  storeQuery,
418
+ storedChatCount,
345
419
  storedChatId,
346
420
  storedDeps,
347
421
  storedMessageNeighbours,
@@ -4,11 +4,16 @@ import {
4
4
  ensureSqlite,
5
5
  nodeRuntime,
6
6
  relay
7
- } from "./chunk-WJOKTIOJ.js";
8
- import "./chunk-WJPVGXKA.js";
9
- import "./chunk-XGNADVIA.js";
10
- import "./chunk-GIQFBXQN.js";
7
+ } from "./chunk-H2BKXPBL.js";
8
+ import "./chunk-QTM7USFA.js";
9
+ import "./chunk-KPRGTTJH.js";
10
+ import "./chunk-CBM2XAEZ.js";
11
+ import "./chunk-V36RIXFA.js";
11
12
  import "./chunk-Y5E2WNWB.js";
13
+ import "./chunk-HIP43OGZ.js";
14
+ import "./chunk-UQPKAY6I.js";
15
+ import "./chunk-3U22QTU6.js";
16
+ import "./chunk-EBLA7GXY.js";
12
17
  import "./chunk-ZVVMGPBJ.js";
13
18
  export {
14
19
  ensureSqlite,
@@ -0,0 +1,138 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ installerOf
5
+ } from "./chunk-2AXA5SKP.js";
6
+ import {
7
+ DESCRIBE_FLAG,
8
+ DISPATCH_FLAG,
9
+ PROGRAM_PREFIX,
10
+ SHIM_FORMAT,
11
+ describeAnswer,
12
+ exists,
13
+ fileState,
14
+ shimFiles,
15
+ writeShim
16
+ } from "./chunk-W62CON5K.js";
17
+ import "./chunk-Y5E2WNWB.js";
18
+ import "./chunk-HIP43OGZ.js";
19
+ import {
20
+ __name
21
+ } from "./chunk-ZVVMGPBJ.js";
22
+
23
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
24
+ import { fileURLToPath } from "node:url";
25
+
26
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
27
+ import { readFileSync } from "node:fs";
28
+ import { basename, dirname, join, resolve } from "node:path";
29
+ var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
30
+ var pnpmHome = /* @__PURE__ */ __name((path, env) => {
31
+ const home = env.PNPM_HOME;
32
+ return home && path.startsWith(`${posix(home).replace(/\/+$/, "")}/`) ? home : void 0;
33
+ }, "pnpmHome");
34
+ var layoutFolders = /* @__PURE__ */ __name((script, env) => {
35
+ const path = posix(script);
36
+ const home = pnpmHome(path, env);
37
+ if (home)
38
+ return [join(home, "bin"), home];
39
+ switch (installerOf(script)) {
40
+ case "bun":
41
+ return [`${path.slice(0, path.indexOf("/install/global/node_modules/"))}/bin`];
42
+ case "npm": {
43
+ const root = path.slice(0, path.indexOf("/node_modules/"));
44
+ return [basename(root) === "lib" ? join(dirname(root), "bin") : root];
45
+ }
46
+ default:
47
+ return [];
48
+ }
49
+ }, "layoutFolders");
50
+ var binFolder = /* @__PURE__ */ __name(({ name, argv1, script, env, platform }) => {
51
+ if (!["npm", "pnpm", "bun"].includes(installerOf(script)) && !pnpmHome(posix(script), env))
52
+ return void 0;
53
+ const extensions = platform === "win32" ? [".cmd", ".exe"] : [""];
54
+ const candidates = [argv1 ? dirname(argv1) : void 0, ...layoutFolders(script, env)];
55
+ for (const dir of new Set(candidates)) {
56
+ if (dir === void 0 || basename(dir) === ".bin")
57
+ continue;
58
+ for (const extension of extensions) {
59
+ const program = `${PROGRAM_PREFIX}${name}${extension}`;
60
+ if (exists(join(dir, program)))
61
+ return { dir, program };
62
+ }
63
+ }
64
+ return void 0;
65
+ }, "binFolder");
66
+ var installed = /* @__PURE__ */ __name((dir, program) => {
67
+ if (!exists(join(dir, program)))
68
+ return false;
69
+ if (!program.toLowerCase().endsWith(".exe"))
70
+ return true;
71
+ let script;
72
+ try {
73
+ script = readFileSync(join(dir, `${program.slice(0, -4)}.bunx`)).toString("utf16le").split('"')[0] ?? "";
74
+ } catch {
75
+ return true;
76
+ }
77
+ if (script === "" || exists(resolve(dir, script)))
78
+ return true;
79
+ const at = posix(script).lastIndexOf("/install/global/node_modules/");
80
+ return at < 0 || exists(join(dirname(dir), posix(script).slice(at + 1)));
81
+ }, "installed");
82
+ var NAME = "wcat";
83
+ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
84
+ try {
85
+ const mine = shimFiles("launcher", { dir, name: NAME, target: program, platform });
86
+ const states = mine.map((file) => fileState(file.path));
87
+ if (states.some((one) => one.state === "foreign"))
88
+ return "foreign";
89
+ const ours = states.flatMap((one) => one.state === "ours" ? [one] : []);
90
+ if (ours.some(({ mark }) => mark.format > SHIM_FORMAT))
91
+ return "newer";
92
+ if (ours.some(({ mark }) => mark.kind !== "launcher"))
93
+ return "foreign";
94
+ const current = ours.find(({ mark }) => installed(dir, mark.target))?.mark.target;
95
+ const wanted = shimFiles("launcher", { dir, name: NAME, target: current ?? program, platform });
96
+ const stale = wanted.filter((file, at) => {
97
+ const state = states[at];
98
+ return state?.state !== "ours" || state.text !== file.text;
99
+ });
100
+ if (stale.length === 0)
101
+ return "kept";
102
+ for (const file of stale)
103
+ writeShim(file);
104
+ return "written";
105
+ } catch {
106
+ return "failed";
107
+ }
108
+ }, "ensureLauncher");
109
+
110
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
111
+ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
112
+ const argv = io.argv ?? process.argv;
113
+ const env = io.env ?? process.env;
114
+ const platform = io.platform ?? process.platform;
115
+ const stdout = io.stdout ?? process.stdout;
116
+ const [first, ...rest] = argv.slice(2);
117
+ if (first === DESCRIBE_FLAG) {
118
+ stdout.write(`${JSON.stringify(describeAnswer(tool))}
119
+ `);
120
+ return { code: 0 };
121
+ }
122
+ if (first === DISPATCH_FLAG) {
123
+ const { runWcat } = await import("./dispatch-T6TW2JJB.js");
124
+ const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
125
+ return { code };
126
+ }
127
+ const folder = binFolder({
128
+ name: tool.command,
129
+ argv1: argv[1],
130
+ script: io.script ?? fileURLToPath(new URL("wcat/start.js", import.meta.resolve("@wirecat/cli-base")).href),
131
+ env,
132
+ platform
133
+ });
134
+ return folder ? { launcher: ensureLauncher({ ...folder, platform }) } : {};
135
+ }, "wcatStart");
136
+ export {
137
+ wcatStart
138
+ };
@@ -12,12 +12,16 @@ import {
12
12
  readHttpLock,
13
13
  readStored,
14
14
  signedInClients
15
- } from "./chunk-GKHUHRSL.js";
16
- import "./chunk-SRNXTXJN.js";
17
- import "./chunk-U2RSVKR5.js";
18
- import "./chunk-XGNADVIA.js";
19
- import "./chunk-GIQFBXQN.js";
15
+ } from "./chunk-GT5KTGCN.js";
16
+ import "./chunk-GJ4ZCIOP.js";
17
+ import "./chunk-5C7K6XIT.js";
18
+ import "./chunk-CBM2XAEZ.js";
19
+ import "./chunk-V36RIXFA.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
+ import "./chunk-HIP43OGZ.js";
22
+ import "./chunk-UQPKAY6I.js";
23
+ import "./chunk-3U22QTU6.js";
24
+ import "./chunk-EBLA7GXY.js";
21
25
  import "./chunk-ZVVMGPBJ.js";
22
26
  export {
23
27
  ACCESS_SECONDS,
@@ -8,18 +8,20 @@ import {
8
8
  previewDocumentTransfer,
9
9
  previewProjectAnnotationSnapshot,
10
10
  snapshotProjectAnnotations
11
- } from "./chunk-VTJF2L5E.js";
11
+ } from "./chunk-LPHMAQJQ.js";
12
12
  import {
13
13
  note,
14
14
  organization,
15
15
  project,
16
16
  reminder
17
- } from "./chunk-7SNS443B.js";
17
+ } from "./chunk-VT6GZAF4.js";
18
18
  import {
19
19
  CATALOG_QUERY,
20
+ DEFAULT_DECISION_POLICY,
20
21
  EVENT_FIELDS,
21
22
  EVIDENCE_FINDINGS_KIND,
22
23
  IMPORTED_DOCUMENT_QUERY,
24
+ MAIL_FINDINGS_KIND,
23
25
  MENTION_QUERY,
24
26
  MENTION_STATUSES,
25
27
  MIGRATIONS,
@@ -36,12 +38,14 @@ import {
36
38
  TASK_RELATION_KINDS,
37
39
  TASK_ROLES,
38
40
  TASK_SORTS,
41
+ assertMayDecide,
39
42
  backfillNormalized,
40
43
  certaintyOf,
41
44
  createTagRedirectIndex,
42
45
  decodeProjectAnnotationSnapshot,
43
46
  decodeProjectAnnotations,
44
47
  fillSearchIndex,
48
+ mayDecide,
45
49
  migrate,
46
50
  openStore,
47
51
  pendingNormalization,
@@ -50,12 +54,13 @@ import {
50
54
  projectAnnotationSnapshotFingerprint,
51
55
  projectAnnotationSnapshotSchema,
52
56
  projectAnnotationsFingerprint,
57
+ proposerOfAction,
53
58
  resetAttachmentWords,
54
59
  resetSearchIndex,
55
60
  searchIndexState,
56
61
  validateEvidenceFindings
57
- } from "./chunk-WAVJWGUC.js";
58
- import "./chunk-373WJIHE.js";
62
+ } from "./chunk-GI5JBGXH.js";
63
+ import "./chunk-IADOBOKB.js";
59
64
  import {
60
65
  CLOSED_STATES,
61
66
  FACT_STATUSES,
@@ -63,39 +68,52 @@ import {
63
68
  MEMORY_KINDS,
64
69
  MEMORY_SCOPES,
65
70
  MEMORY_STATUSES,
71
+ PAYMENT_DIRECTIONS,
72
+ PAYMENT_STATES,
66
73
  PRIORITY_LABELS,
67
74
  TASK_STATES,
68
75
  TASK_TYPES,
69
76
  WORK_TASK_TYPES,
70
77
  isClosedState,
78
+ paymentTitle,
71
79
  priorityLabel,
72
80
  priorityOf,
73
- priorityOption
74
- } from "./chunk-R5GJZPRF.js";
75
- import "./chunk-XJVK7ETL.js";
76
- import "./chunk-HPXYN7F3.js";
77
- import "./chunk-AHBUTDS7.js";
78
- import "./chunk-B3TPS7BW.js";
81
+ priorityOption,
82
+ validatePayment
83
+ } from "./chunk-TJXPJ3A5.js";
84
+ import "./chunk-L5SE2XZP.js";
85
+ import "./chunk-HIOJRPCT.js";
86
+ import "./chunk-OKXSTWKW.js";
87
+ import "./chunk-IBZ3IBO4.js";
79
88
  import {
80
89
  storePath
81
- } from "./chunk-CGCQNYB3.js";
90
+ } from "./chunk-3VSUT6BD.js";
82
91
  import {
83
- PRAGMAS,
84
92
  openCache
85
- } from "./chunk-WJPVGXKA.js";
86
- import "./chunk-XGNADVIA.js";
87
- import "./chunk-GIQFBXQN.js";
93
+ } from "./chunk-QTM7USFA.js";
94
+ import "./chunk-BSGOM3BD.js";
95
+ import "./chunk-LK2E2ELG.js";
96
+ import {
97
+ PRAGMAS
98
+ } from "./chunk-KPRGTTJH.js";
99
+ import "./chunk-CBM2XAEZ.js";
100
+ import "./chunk-V36RIXFA.js";
88
101
  import "./chunk-Y5E2WNWB.js";
89
- import "./chunk-LSSIVBQI.js";
102
+ import "./chunk-HIP43OGZ.js";
103
+ import "./chunk-UQPKAY6I.js";
104
+ import "./chunk-3U22QTU6.js";
105
+ import "./chunk-EBLA7GXY.js";
90
106
  import "./chunk-ZVVMGPBJ.js";
91
107
  export {
92
108
  CATALOG_QUERY,
93
109
  CLOSED_STATES,
110
+ DEFAULT_DECISION_POLICY,
94
111
  EVENT_FIELDS,
95
112
  EVIDENCE_FINDINGS_KIND,
96
113
  FACT_STATUSES,
97
114
  FACT_TYPES,
98
115
  IMPORTED_DOCUMENT_QUERY,
116
+ MAIL_FINDINGS_KIND,
99
117
  MEMORY_KINDS,
100
118
  MEMORY_SCOPES,
101
119
  MEMORY_STATUSES,
@@ -106,6 +124,8 @@ export {
106
124
  ORGANIZATIONS_QUERY,
107
125
  ORGANIZATION_KINDS,
108
126
  OTHER_SOURCES,
127
+ PAYMENT_DIRECTIONS,
128
+ PAYMENT_STATES,
109
129
  PRAGMAS,
110
130
  PRIORITY_LABELS,
111
131
  PROJECTS_QUERY,
@@ -124,6 +144,7 @@ export {
124
144
  TASK_TYPES,
125
145
  WORK_TASK_TYPES,
126
146
  applyDocumentTransfer,
147
+ assertMayDecide,
127
148
  backfillNormalized,
128
149
  certaintyOf,
129
150
  createTagRedirectIndex,
@@ -131,11 +152,13 @@ export {
131
152
  decodeProjectAnnotations,
132
153
  fillSearchIndex,
133
154
  isClosedState,
155
+ mayDecide,
134
156
  migrate,
135
157
  note,
136
158
  openCache,
137
159
  openStore,
138
160
  organization,
161
+ paymentTitle,
139
162
  pendingNormalization,
140
163
  planProjectAnnotationSnapshot,
141
164
  planProjectAnnotations,
@@ -148,11 +171,13 @@ export {
148
171
  projectAnnotationSnapshotFingerprint,
149
172
  projectAnnotationSnapshotSchema,
150
173
  projectAnnotationsFingerprint,
174
+ proposerOfAction,
151
175
  reminder,
152
176
  resetAttachmentWords,
153
177
  resetSearchIndex,
154
178
  searchIndexState,
155
179
  snapshotProjectAnnotations,
156
180
  storePath,
157
- validateEvidenceFindings
181
+ validateEvidenceFindings,
182
+ validatePayment
158
183
  };