@wirecat/drive-cli 0.57.0 → 0.58.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 (124) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bin/drive.js.map +1 -1
  3. package/dist/bundle/{all-profiles-7LSZ3CC3.js → all-profiles-ANDWOJDL.js} +10 -6
  4. package/dist/bundle/{anthropic-3QRM4QXB.js → anthropic-EZPZUWGS.js} +10 -6
  5. package/dist/bundle/{app-server-WWNMUHID.js → app-server-67WL423B.js} +57 -51
  6. package/dist/bundle/{bun-sqlite-GSLSN3OT.js → bun-sqlite-A5ZKTIYC.js} +7 -3
  7. package/dist/bundle/{chunk-L4BBK7UX.js → chunk-2TASMYGM.js} +4 -2
  8. package/dist/bundle/{chunk-VTJF2L5E.js → chunk-34XHR5FL.js} +5 -5
  9. package/dist/bundle/{chunk-JIGMCW4C.js → chunk-3GXNODTB.js} +3 -3
  10. package/dist/bundle/chunk-3RG27IWA.js +201 -0
  11. package/dist/bundle/{chunk-KHNDZNQA.js → chunk-4EEOJ54H.js} +40 -36
  12. package/dist/bundle/{chunk-Q3TMNETS.js → chunk-4GZLX2ME.js} +27 -21
  13. package/dist/bundle/{chunk-B3TPS7BW.js → chunk-4ICWGMHN.js} +6 -4
  14. package/dist/bundle/{chunk-4F2VRJZE.js → chunk-4UU4ONKY.js} +31 -23
  15. package/dist/bundle/{chunk-IJ2S53WJ.js → chunk-5NPFHWLP.js} +7 -7
  16. package/dist/bundle/{chunk-566W4Q6L.js → chunk-6SARLV3Z.js} +1 -1
  17. package/dist/bundle/{chunk-AKPFH3KC.js → chunk-6THTUYPT.js} +1 -1
  18. package/dist/bundle/{chunk-GKHUHRSL.js → chunk-7AL57FCK.js} +1 -1
  19. package/dist/bundle/{chunk-SRNXTXJN.js → chunk-7VFD3UJQ.js} +1 -1
  20. package/dist/bundle/{chunk-CGCQNYB3.js → chunk-7VUHY5LP.js} +1 -1
  21. package/dist/bundle/{chunk-TZHCS5MG.js → chunk-7YUZAEBG.js} +1 -1
  22. package/dist/bundle/{chunk-JUKVJ7M2.js → chunk-A4DHPOFQ.js} +7 -5
  23. package/dist/bundle/chunk-A7FMNTCK.js +166 -0
  24. package/dist/bundle/{chunk-2QLLKDE5.js → chunk-AFZ33AC7.js} +47 -43
  25. package/dist/bundle/{chunk-XGNADVIA.js → chunk-ALTG7BZQ.js} +14 -215
  26. package/dist/bundle/chunk-ASPIEEXN.js +34 -0
  27. package/dist/bundle/{chunk-WJOKTIOJ.js → chunk-BAEIAQWH.js} +1 -1
  28. package/dist/bundle/{chunk-W6FYYQ2J.js → chunk-BKM2CGG2.js} +2 -2
  29. package/dist/bundle/{chunk-G34Y5RAC.js → chunk-BLJVCJZU.js} +5 -5
  30. package/dist/bundle/{chunk-7SNS443B.js → chunk-D72FL3L3.js} +1 -1
  31. package/dist/bundle/{chunk-OYNSFQ7K.js → chunk-D72URWJE.js} +1 -39
  32. package/dist/bundle/{chunk-B64EY2SC.js → chunk-ED5JNYN5.js} +27 -27
  33. package/dist/bundle/{chunk-64E6QXXQ.js → chunk-ESF2B22R.js} +7 -7
  34. package/dist/bundle/{chunk-5KNIVHP6.js → chunk-FD7A6745.js} +6 -19
  35. package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
  36. package/dist/bundle/{chunk-TKVSJV5P.js → chunk-GDRO4YMH.js} +5 -3
  37. package/dist/bundle/{chunk-KYNTSA6K.js → chunk-I4VUHZSD.js} +5 -5
  38. package/dist/bundle/{chunk-O5KDIVGE.js → chunk-IBJOO5FG.js} +17 -15
  39. package/dist/bundle/{chunk-J2HGHSLX.js → chunk-IH4UCM5K.js} +3 -3
  40. package/dist/bundle/chunk-ITD7WI23.js +45 -0
  41. package/dist/bundle/{chunk-EN7OZ5JH.js → chunk-IXXQZCNK.js} +13 -11
  42. package/dist/bundle/{chunk-R5GJZPRF.js → chunk-J36Z6BDZ.js} +6 -4
  43. package/dist/bundle/{chunk-6CFSDU56.js → chunk-JEMKSWVI.js} +15 -13
  44. package/dist/bundle/chunk-JZ67M3HR.js +46 -0
  45. package/dist/bundle/{chunk-WJPVGXKA.js → chunk-KCBHOYNZ.js} +3 -3
  46. package/dist/bundle/{chunk-QAT6UXZZ.js → chunk-MBNKNWOG.js} +43 -39
  47. package/dist/bundle/{chunk-AHBUTDS7.js → chunk-NKL5XXOM.js} +1 -1
  48. package/dist/bundle/chunk-NYINLKWT.js +23 -0
  49. package/dist/bundle/{chunk-GIQFBXQN.js → chunk-O3K46QRL.js} +5 -120
  50. package/dist/bundle/{chunk-NLLWLCUZ.js → chunk-OG5ERX4S.js} +2 -2
  51. package/dist/bundle/{chunk-RAEKC6TV.js → chunk-OUQVZTF5.js} +7 -5
  52. package/dist/bundle/{chunk-W5FOPSJZ.js → chunk-OZEJA67C.js} +6 -4
  53. package/dist/bundle/{chunk-4UQLL6RJ.js → chunk-P5MCZ635.js} +2 -2
  54. package/dist/bundle/{chunk-YZ6SYLDC.js → chunk-PYPLD7JO.js} +1 -1
  55. package/dist/bundle/{chunk-6ZA4NR5H.js → chunk-QVIJMV22.js} +2 -2
  56. package/dist/bundle/chunk-RRHC5SBB.js +106 -0
  57. package/dist/bundle/{chunk-WBYCUBYM.js → chunk-SPVPKHBQ.js} +25 -23
  58. package/dist/bundle/{chunk-XJVK7ETL.js → chunk-SWFA36F3.js} +5 -3
  59. package/dist/bundle/{chunk-HNUSPNUQ.js → chunk-TCJRJ3TE.js} +1 -1
  60. package/dist/bundle/{chunk-TR5656OS.js → chunk-TIXIB32T.js} +16 -12
  61. package/dist/bundle/{chunk-KM4Y55ZE.js → chunk-TMW526H3.js} +4 -4
  62. package/dist/bundle/{chunk-WAVJWGUC.js → chunk-TNX77VPM.js} +35 -33
  63. package/dist/bundle/{chunk-EE7R457T.js → chunk-UBZ2LH7N.js} +229 -221
  64. package/dist/bundle/{chunk-2ULJW5BA.js → chunk-UMJLXAJI.js} +1 -1
  65. package/dist/bundle/{chunk-ELIYJXIY.js → chunk-UTDL7MKT.js} +1 -1
  66. package/dist/bundle/{chunk-ISK4K7UE.js → chunk-VXI67T7U.js} +1 -1
  67. package/dist/bundle/{chunk-LBFFI6FE.js → chunk-W6KMNO3C.js} +9 -7
  68. package/dist/bundle/{chunk-RB674T6L.js → chunk-WICYDOVL.js} +15 -11
  69. package/dist/bundle/{chunk-UKMFPBAO.js → chunk-X4F3M6L6.js} +3 -3
  70. package/dist/bundle/{chunk-373WJIHE.js → chunk-X5XWUQNU.js} +1 -1
  71. package/dist/bundle/{chunk-CD736BG3.js → chunk-XQMMB6ST.js} +1 -1
  72. package/dist/bundle/{chunk-3BXSLNWW.js → chunk-Y6M2G7JK.js} +12 -10
  73. package/dist/bundle/{chunk-OZJMZSFB.js → chunk-YHRJUZ3O.js} +2 -2
  74. package/dist/bundle/{chunk-JLKNUFL2.js → chunk-Z5GDNCTJ.js} +1 -1
  75. package/dist/bundle/command-contract-ZCXFT764.js +39 -0
  76. package/dist/bundle/{decode-5MHMPYKE.js → decode-2R6DTGRX.js} +9 -5
  77. package/dist/bundle/dispatch-DEXAEMIN.js +412 -0
  78. package/dist/bundle/drive.js +40 -22
  79. package/dist/bundle/{embed-TF66ODAR.js → embed-RJJWOLKN.js} +9 -5
  80. package/dist/bundle/{embedder-EDWOIAC2.js → embedder-DWYS5JYJ.js} +11 -7
  81. package/dist/bundle/entry-E6H7IUPV.js +21 -0
  82. package/dist/bundle/failure-GBZ4L5QO.js +26 -0
  83. package/dist/bundle/first-run-DI2JIG44.js +30 -0
  84. package/dist/bundle/first-screen-X5N4TCKD.js +37 -0
  85. package/dist/bundle/{google-A4F2WFO4.js → google-L776ETP4.js} +13 -9
  86. package/dist/bundle/{google-api-ZXGQOJUI.js → google-api-AI5ZJJ2M.js} +54 -48
  87. package/dist/bundle/grants-HKGYAWL6.js +104 -0
  88. package/dist/bundle/{identity-4IO7WGG4.js → identity-MDLWK2TX.js} +5 -3
  89. package/dist/bundle/{login-A4QHJ5DA.js → login-6HHQLRHY.js} +60 -54
  90. package/dist/bundle/{mcp-VVMPUDSL.js → mcp-ZZUYI44D.js} +4 -2
  91. package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
  92. package/dist/bundle/{node-sqlite-AFQTE4XZ.js → node-sqlite-AVNHGMVL.js} +7 -3
  93. package/dist/bundle/{oauth-46XBJBML.js → oauth-UVU52X57.js} +9 -5
  94. package/dist/bundle/{open-WJCRBIP7.js → open-BXPLXJC2.js} +7 -3
  95. package/dist/bundle/{openai-3TIBDWZA.js → openai-CRO5GDBY.js} +14 -10
  96. package/dist/bundle/{program-AHZH65IT.js → program-4DWVWSGQ.js} +135 -127
  97. package/dist/bundle/prompt-AFWVGRDG.js +17 -0
  98. package/dist/bundle/{reasons-VHCVYH54.js → reasons-IHPNUP5W.js} +4 -2
  99. package/dist/bundle/{recognize-4EAKIMON.js → recognize-NAISVA56.js} +7 -3
  100. package/dist/bundle/{remote-HX3JP4EH.js → remote-KCUHG5HV.js} +10 -6
  101. package/dist/bundle/{rerank-BW3A4PUU.js → rerank-Q3POCDSK.js} +9 -5
  102. package/dist/bundle/{serve-YYOOLIBS.js → serve-5CUOYLSG.js} +10 -6
  103. package/dist/bundle/server-FTLPSLRU.js +69 -0
  104. package/dist/bundle/{server-G6XTEEFI.js → server-FXW3GARV.js} +42 -36
  105. package/dist/bundle/{services-OAPILZOW.js → services-PEYBXZ3R.js} +30 -24
  106. package/dist/bundle/{sqlite-runtime-GTXDK4PE.js → sqlite-runtime-YMPWN5PM.js} +8 -4
  107. package/dist/bundle/start-PFWEF44R.js +138 -0
  108. package/dist/bundle/{state-XG335LGZ.js → state-5TQ7IOJH.js} +8 -4
  109. package/dist/bundle/{store-N53SJOPS.js → store-E2VWY4O6.js} +18 -14
  110. package/dist/bundle/{store-7KOXJNQP.js → store-P4OYYFW5.js} +15 -11
  111. package/dist/bundle/store-maintenance-command-MWVERNK7.js +58 -0
  112. package/dist/bundle/tokens-OVG4CJO4.js +102 -0
  113. package/dist/version.d.ts +1 -1
  114. package/dist/version.js +1 -1
  115. package/package.json +3 -2
  116. package/dist/bundle/command-contract-XIACCAZL.js +0 -35
  117. package/dist/bundle/entry-CWYCQ53A.js +0 -17
  118. package/dist/bundle/first-run-YIH7EHJI.js +0 -24
  119. package/dist/bundle/first-screen-THH3XD5Y.js +0 -33
  120. package/dist/bundle/grants-3Z7DG3W3.js +0 -98
  121. package/dist/bundle/prompt-FFGBIT4A.js +0 -13
  122. package/dist/bundle/server-YKYEUIJT.js +0 -63
  123. package/dist/bundle/store-maintenance-command-W3TI52X2.js +0 -52
  124. package/dist/bundle/tokens-P7TEHKDD.js +0 -96
@@ -1,5 +1,11 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ d
5
+ } from "./chunk-SBZB7HMU.js";
6
+ import {
7
+ listen
8
+ } from "./chunk-AL7MY7MW.js";
3
9
  import {
4
10
  CHART_SIZE,
5
11
  MEMBERS_UNRECORDED,
@@ -42,7 +48,7 @@ import {
42
48
  syncRequest,
43
49
  syncsFirst,
44
50
  taskStatsAnswer
45
- } from "./chunk-WBYCUBYM.js";
51
+ } from "./chunk-SPVPKHBQ.js";
46
52
  import {
47
53
  INPUT_FIELD_REASONS,
48
54
  UNTRUSTED_NEUTRAL,
@@ -55,22 +61,7 @@ import {
55
61
  skillStatus,
56
62
  skillVersion,
57
63
  withVersion
58
- } from "./chunk-RB674T6L.js";
59
- import {
60
- d
61
- } from "./chunk-SBZB7HMU.js";
62
- import {
63
- listen
64
- } from "./chunk-AL7MY7MW.js";
65
- import {
66
- httpLaunchFile,
67
- httpLockFile,
68
- httpLogFile,
69
- mcpHttpMarker,
70
- readHttpLaunch,
71
- readHttpLock,
72
- signedInClients
73
- } from "./chunk-GKHUHRSL.js";
64
+ } from "./chunk-WICYDOVL.js";
74
65
  import {
75
66
  DAY_MS,
76
67
  DRY_RUN_DAYS,
@@ -110,7 +101,7 @@ import {
110
101
  writeRepliesFile,
111
102
  writeRepliesState,
112
103
  writeReplyConsent
113
- } from "./chunk-2QLLKDE5.js";
104
+ } from "./chunk-AFZ33AC7.js";
114
105
  import {
115
106
  DEFAULT_PACE,
116
107
  FloodMemory,
@@ -131,7 +122,7 @@ import {
131
122
  sendsPathFor,
132
123
  terminalAsker,
133
124
  unknownPermissionIssues
134
- } from "./chunk-B64EY2SC.js";
125
+ } from "./chunk-ED5JNYN5.js";
135
126
  import {
136
127
  LIST_QUERY_GUIDE,
137
128
  RELAY_PROTOCOL,
@@ -183,138 +174,11 @@ import {
183
174
  withPage,
184
175
  withPaging,
185
176
  withQuery
186
- } from "./chunk-EN7OZ5JH.js";
187
- import {
188
- lockPath,
189
- readLock
190
- } from "./chunk-SRNXTXJN.js";
191
- import {
192
- ADMIN_RIGHTS,
193
- AGENDA_QUERY,
194
- ARRIVAL_WINDOW,
195
- ATTACHMENT_QUERY,
196
- AUDIT_BUDGET,
197
- AUDIT_MIN_SCORE,
198
- AUDIT_PAGE,
199
- BATCH_SIZE,
200
- CHAT_KINDS,
201
- CHAT_MESSAGES,
202
- CHECK_READS,
203
- CLAIM_LEASE_MS,
204
- CONTEXT_BYTES,
205
- CONTEXT_MESSAGES,
206
- CONVERSATION_QUERY,
207
- DELETE_AT_ONCE,
208
- EVENTS_DAYS,
209
- FETCHING,
210
- FOLDER_KINDS,
211
- FOLDER_SKIPS,
212
- GAP_BOUNDS,
213
- GROUP_SETTINGS,
214
- MAX_ACTIONS,
215
- MEDIA_KINDS,
216
- MEETING_PREPARATION_LIMITS,
217
- ModerationRules,
218
- OFFLINE,
219
- RANKING_SELECTION_BYTES,
220
- REFRESH_BOUNDS,
221
- REGISTRIES,
222
- REVIEW_DAYS,
223
- RULE_KEYS,
224
- SCOPES,
225
- TAGGING_QUERY,
226
- TASK_PAIR_QUERY,
227
- TASK_QUERY,
228
- TIMELINE_ITEMS,
229
- TRACKED_DAYS,
230
- UNANSWERED_HOURS,
231
- agendaItem,
232
- aheadOf,
233
- applyTaskRulesSinceLastPass,
234
- applyTaskRulesToChats,
235
- archiveMedia,
236
- batchProgress,
237
- capability,
238
- chatCoverage,
239
- chatReferenceOf,
240
- checkMediaArchive,
241
- closedStateOf,
242
- communicationFields,
243
- conversationItem,
244
- dateWindow,
245
- defaultRules,
246
- describe,
247
- downloadImageModel,
248
- downloadMessage,
249
- downloadRerankModel,
250
- downloadTextModel,
251
- fetchInto,
252
- gatherStoredProject,
253
- isAdminSelection,
254
- isRetentionSelection,
255
- keyOf,
256
- kindsOf,
257
- mergeBatches,
258
- messageLinkTarget,
259
- moderateWith,
260
- moderationPathFor,
261
- momentOf,
262
- moveMediaArchive,
263
- newOperationId,
264
- newSendId,
265
- patiently,
266
- phoneOf,
267
- pickChat,
268
- pickPerson,
269
- pinDurationOf,
270
- pinLengthHelp,
271
- readAttachments,
272
- readEvidencePacket,
273
- readMail,
274
- readRankingSelection,
275
- readStickerFile,
276
- readUpload,
277
- refusedPlace,
278
- registriesCover,
279
- reviewStart,
280
- saveFiles,
281
- savedSearchItem,
282
- searchNotesOf,
283
- searchStore,
284
- sendAsCheck,
285
- sendTime,
286
- servicesFor,
287
- storedChatId,
288
- storedDeps,
289
- syncsOneChat,
290
- taskLinkKindOf,
291
- taskTypeOf,
292
- threadIdOf,
293
- typedSendAs,
294
- typesText,
295
- upgradePackage,
296
- validateCatchUpBounds,
297
- validateFormattedText,
298
- validateMediaSince,
299
- validateMeetingPreparationRequest,
300
- validatePreparationCommunications,
301
- withoutPhone,
302
- wrongAccount
303
- } from "./chunk-KHNDZNQA.js";
304
- import {
305
- acquireLock,
306
- readBoundedUtf8File,
307
- syncDirectory,
308
- writeFileAtomic
309
- } from "./chunk-HNUSPNUQ.js";
310
- import {
311
- engineHint,
312
- engineStates
313
- } from "./chunk-G34Y5RAC.js";
177
+ } from "./chunk-IXXQZCNK.js";
314
178
  import {
315
179
  commandsText,
316
180
  installHelp
317
- } from "./chunk-W5FOPSJZ.js";
181
+ } from "./chunk-OZEJA67C.js";
318
182
  import {
319
183
  SCHEMA_DIALECT,
320
184
  answerEntity,
@@ -323,7 +187,7 @@ import {
323
187
  commandContract,
324
188
  commandPathOf,
325
189
  findCommand
326
- } from "./chunk-RAEKC6TV.js";
190
+ } from "./chunk-OUQVZTF5.js";
327
191
  import {
328
192
  ENTITIES,
329
193
  accountProfile,
@@ -375,7 +239,7 @@ import {
375
239
  topicIcon,
376
240
  tracedJob,
377
241
  updateJob
378
- } from "./chunk-3BXSLNWW.js";
242
+ } from "./chunk-Y6M2G7JK.js";
379
243
  import {
380
244
  Argument,
381
245
  Command,
@@ -469,7 +333,7 @@ import {
469
333
  wasSettled,
470
334
  withLines,
471
335
  withoutProviderRefs
472
- } from "./chunk-4F2VRJZE.js";
336
+ } from "./chunk-4UU4ONKY.js";
473
337
  import {
474
338
  agentOf,
475
339
  keepsSuccess,
@@ -477,11 +341,159 @@ import {
477
341
  providerErrorKey,
478
342
  runContextOf,
479
343
  secretInput
480
- } from "./chunk-4UQLL6RJ.js";
344
+ } from "./chunk-P5MCZ635.js";
345
+ import {
346
+ setupAtStart
347
+ } from "./chunk-JEMKSWVI.js";
348
+ import {
349
+ logParsedArgv,
350
+ logVersion
351
+ } from "./chunk-ESF2B22R.js";
352
+ import {
353
+ envName,
354
+ readOnlyLockOf,
355
+ readOnlyRefusal
356
+ } from "./chunk-Z5GDNCTJ.js";
357
+ import {
358
+ httpLaunchFile,
359
+ httpLockFile,
360
+ httpLogFile,
361
+ mcpHttpMarker,
362
+ readHttpLaunch,
363
+ readHttpLock,
364
+ signedInClients
365
+ } from "./chunk-7AL57FCK.js";
366
+ import {
367
+ lockPath,
368
+ readLock
369
+ } from "./chunk-7VFD3UJQ.js";
481
370
  import {
482
371
  alive,
483
372
  carries
484
373
  } from "./chunk-U2RSVKR5.js";
374
+ import {
375
+ ADMIN_RIGHTS,
376
+ AGENDA_QUERY,
377
+ ARRIVAL_WINDOW,
378
+ ATTACHMENT_QUERY,
379
+ AUDIT_BUDGET,
380
+ AUDIT_MIN_SCORE,
381
+ AUDIT_PAGE,
382
+ BATCH_SIZE,
383
+ CHAT_KINDS,
384
+ CHAT_MESSAGES,
385
+ CHECK_READS,
386
+ CLAIM_LEASE_MS,
387
+ CONTEXT_BYTES,
388
+ CONTEXT_MESSAGES,
389
+ CONVERSATION_QUERY,
390
+ DELETE_AT_ONCE,
391
+ EVENTS_DAYS,
392
+ FETCHING,
393
+ FOLDER_KINDS,
394
+ FOLDER_SKIPS,
395
+ GAP_BOUNDS,
396
+ GROUP_SETTINGS,
397
+ MAX_ACTIONS,
398
+ MEDIA_KINDS,
399
+ MEETING_PREPARATION_LIMITS,
400
+ ModerationRules,
401
+ OFFLINE,
402
+ RANKING_SELECTION_BYTES,
403
+ REFRESH_BOUNDS,
404
+ REGISTRIES,
405
+ REVIEW_DAYS,
406
+ RULE_KEYS,
407
+ SCOPES,
408
+ TAGGING_QUERY,
409
+ TASK_PAIR_QUERY,
410
+ TASK_QUERY,
411
+ TIMELINE_ITEMS,
412
+ TRACKED_DAYS,
413
+ UNANSWERED_HOURS,
414
+ agendaItem,
415
+ aheadOf,
416
+ applyTaskRulesSinceLastPass,
417
+ applyTaskRulesToChats,
418
+ archiveMedia,
419
+ batchProgress,
420
+ capability,
421
+ chatCoverage,
422
+ chatReferenceOf,
423
+ checkMediaArchive,
424
+ closedStateOf,
425
+ communicationFields,
426
+ conversationItem,
427
+ dateWindow,
428
+ defaultRules,
429
+ describe,
430
+ downloadImageModel,
431
+ downloadMessage,
432
+ downloadRerankModel,
433
+ downloadTextModel,
434
+ fetchInto,
435
+ gatherStoredProject,
436
+ isAdminSelection,
437
+ isRetentionSelection,
438
+ keyOf,
439
+ kindsOf,
440
+ mergeBatches,
441
+ messageLinkTarget,
442
+ moderateWith,
443
+ moderationPathFor,
444
+ momentOf,
445
+ moveMediaArchive,
446
+ newOperationId,
447
+ newSendId,
448
+ patiently,
449
+ phoneOf,
450
+ pickChat,
451
+ pickPerson,
452
+ pinDurationOf,
453
+ pinLengthHelp,
454
+ readAttachments,
455
+ readEvidencePacket,
456
+ readMail,
457
+ readRankingSelection,
458
+ readStickerFile,
459
+ readUpload,
460
+ refusedPlace,
461
+ registriesCover,
462
+ reviewStart,
463
+ saveFiles,
464
+ savedSearchItem,
465
+ searchNotesOf,
466
+ searchStore,
467
+ sendAsCheck,
468
+ sendTime,
469
+ servicesFor,
470
+ storedChatId,
471
+ storedDeps,
472
+ syncsOneChat,
473
+ taskLinkKindOf,
474
+ taskTypeOf,
475
+ threadIdOf,
476
+ typedSendAs,
477
+ typesText,
478
+ upgradePackage,
479
+ validateCatchUpBounds,
480
+ validateFormattedText,
481
+ validateMediaSince,
482
+ validateMeetingPreparationRequest,
483
+ validatePreparationCommunications,
484
+ withoutPhone,
485
+ wrongAccount
486
+ } from "./chunk-4EEOJ54H.js";
487
+ import {
488
+ engineHint,
489
+ engineStates
490
+ } from "./chunk-BLJVCJZU.js";
491
+ import {
492
+ acquireLock,
493
+ readBoundedUtf8File,
494
+ syncDirectory,
495
+ writeFileAtomic
496
+ } from "./chunk-TCJRJ3TE.js";
485
497
  import {
486
498
  AUTHORITY_KEY,
487
499
  BOT_API_KEY,
@@ -518,49 +530,23 @@ import {
518
530
  sentIds,
519
531
  typedCommand,
520
532
  useAsProcessRun
521
- } from "./chunk-TR5656OS.js";
533
+ } from "./chunk-TIXIB32T.js";
522
534
  import {
523
535
  isCliFailure,
524
536
  isCommanderFailure
525
- } from "./chunk-2ULJW5BA.js";
537
+ } from "./chunk-UMJLXAJI.js";
526
538
  import {
527
- note,
528
- zonedTime
529
- } from "./chunk-7SNS443B.js";
530
- import {
531
- setupAtStart
532
- } from "./chunk-6CFSDU56.js";
533
- import {
534
- installerOf,
535
539
  isNewer,
536
540
  latestVersion
537
- } from "./chunk-5KNIVHP6.js";
538
- import {
539
- logParsedArgv,
540
- logVersion
541
- } from "./chunk-64E6QXXQ.js";
542
- import {
543
- envName,
544
- readOnlyLockOf,
545
- readOnlyRefusal
546
- } from "./chunk-JLKNUFL2.js";
547
- import {
548
- readSecret
549
- } from "./chunk-W6FYYQ2J.js";
550
- import {
551
- MAX_BUFFERED_INPUT,
552
- MAX_SECRET_INPUT,
553
- bufferedInput,
554
- provideInputPolicy
555
- } from "./chunk-TZHCS5MG.js";
541
+ } from "./chunk-FD7A6745.js";
556
542
  import {
557
543
  isLocal,
558
544
  remoteModel
559
- } from "./chunk-6ZA4NR5H.js";
545
+ } from "./chunk-QVIJMV22.js";
560
546
  import {
561
547
  isTextModelInstalled,
562
548
  textModelsDirectory
563
- } from "./chunk-KM4Y55ZE.js";
549
+ } from "./chunk-TMW526H3.js";
564
550
  import {
565
551
  DEFAULT_ORDER,
566
552
  OPENAI_TRANSCRIBE_MODEL,
@@ -574,7 +560,11 @@ import {
574
560
  orderedModels,
575
561
  speechModel,
576
562
  vadPath
577
- } from "./chunk-OZJMZSFB.js";
563
+ } from "./chunk-YHRJUZ3O.js";
564
+ import {
565
+ note,
566
+ zonedTime
567
+ } from "./chunk-D72FL3L3.js";
578
568
  import {
579
569
  ACCOUNT_GROUPS_SETTING,
580
570
  AUTHOR_MEASURES,
@@ -608,10 +598,10 @@ import {
608
598
  savedTaskCategories,
609
599
  stemmersOrigin,
610
600
  titlePart
611
- } from "./chunk-WAVJWGUC.js";
601
+ } from "./chunk-TNX77VPM.js";
612
602
  import {
613
603
  ATTACHMENT_LIMIT_ENV
614
- } from "./chunk-373WJIHE.js";
604
+ } from "./chunk-X5XWUQNU.js";
615
605
  import {
616
606
  PRIORITY_LABELS,
617
607
  SAVE_HELP,
@@ -623,7 +613,7 @@ import {
623
613
  priorityOption,
624
614
  validateMeetingChange,
625
615
  validateMeetingSeriesInventoryCursor
626
- } from "./chunk-R5GJZPRF.js";
616
+ } from "./chunk-J36Z6BDZ.js";
627
617
  import {
628
618
  dateEndpoint,
629
619
  defineQuery,
@@ -635,11 +625,11 @@ import {
635
625
  timezoneOf,
636
626
  validateQuery,
637
627
  walkQuery
638
- } from "./chunk-XJVK7ETL.js";
628
+ } from "./chunk-SWFA36F3.js";
639
629
  import {
640
630
  DEFAULT_STEMMERS,
641
631
  parseStemmers
642
- } from "./chunk-AHBUTDS7.js";
632
+ } from "./chunk-NKL5XXOM.js";
643
633
  import {
644
634
  DEFAULT_TASK_CATEGORIES,
645
635
  applyTaskCategoryEdits,
@@ -650,46 +640,59 @@ import {
650
640
  unlistedNote,
651
641
  withTaskCategory,
652
642
  writeTaskCategoryEdits
653
- } from "./chunk-B3TPS7BW.js";
643
+ } from "./chunk-4ICWGMHN.js";
654
644
  import {
655
645
  storePath
656
- } from "./chunk-CGCQNYB3.js";
646
+ } from "./chunk-7VUHY5LP.js";
657
647
  import {
658
648
  openCache
659
- } from "./chunk-WJPVGXKA.js";
649
+ } from "./chunk-KCBHOYNZ.js";
650
+ import {
651
+ readSecret
652
+ } from "./chunk-BKM2CGG2.js";
653
+ import {
654
+ MAX_BUFFERED_INPUT,
655
+ MAX_SECRET_INPUT,
656
+ bufferedInput,
657
+ provideInputPolicy
658
+ } from "./chunk-7YUZAEBG.js";
659
+ import {
660
+ installerOf
661
+ } from "./chunk-NYINLKWT.js";
660
662
  import {
661
663
  BATCH_LIMITS,
662
664
  Credentials,
663
- EXIT_CODES,
664
- GENERIC_FAILURE,
665
665
  configFilePath,
666
- errorObjectOf,
667
- errorRecordOf,
668
- exitCodeFor,
669
- exitCodeOfError,
670
666
  isMovedRun,
671
667
  loadConfigFile,
672
668
  pathsAreOverridden,
673
669
  prepareBatch,
674
670
  processStreams,
675
- renderError,
676
671
  resolvePaths,
677
672
  runBatch,
678
673
  saveConfigFile,
679
- singleLine,
680
- visibleControls,
681
674
  writeSecurely
682
- } from "./chunk-XGNADVIA.js";
675
+ } from "./chunk-ALTG7BZQ.js";
676
+ import {
677
+ EXIT_CODES,
678
+ GENERIC_FAILURE,
679
+ errorObjectOf,
680
+ errorRecordOf,
681
+ exitCodeFor,
682
+ exitCodeOfError,
683
+ renderError
684
+ } from "./chunk-3RG27IWA.js";
685
+ import {
686
+ singleLine,
687
+ visibleControls
688
+ } from "./chunk-ASPIEEXN.js";
683
689
  import {
684
690
  CRASH_CODE,
685
- CliError,
686
691
  array,
687
692
  boolean,
688
- errorCodes,
689
693
  errorObjectSchema,
690
694
  getDotPath,
691
695
  integer,
692
- isCliError,
693
696
  isoTimestamp,
694
697
  itemEnvelopeSchema,
695
698
  jsonSchemaOf,
@@ -709,7 +712,12 @@ import {
709
712
  string,
710
713
  union,
711
714
  writes
712
- } from "./chunk-GIQFBXQN.js";
715
+ } from "./chunk-O3K46QRL.js";
716
+ import {
717
+ CliError,
718
+ errorCodes,
719
+ isCliError
720
+ } from "./chunk-ITD7WI23.js";
713
721
  import {
714
722
  __name
715
723
  } from "./chunk-ZVVMGPBJ.js";
@@ -2798,11 +2806,11 @@ var messengerHost = /* @__PURE__ */ __name((messenger) => ({
2798
2806
  context: /* @__PURE__ */ __name((self, options) => messengerContext(self, messenger, options), "context"),
2799
2807
  permissionExample: "messages.send=deny",
2800
2808
  serveStdio: /* @__PURE__ */ __name(async (self, context) => {
2801
- const { serveOverStdio } = await import("./server-YKYEUIJT.js");
2809
+ const { serveOverStdio } = await import("./server-FTLPSLRU.js");
2802
2810
  await serveOverStdio(self, context, messenger, {});
2803
2811
  }, "serveStdio"),
2804
2812
  serveHttp: /* @__PURE__ */ __name(async (self, context, http) => {
2805
- const { serveOverHttpUntilStopped } = await import("./server-YKYEUIJT.js");
2813
+ const { serveOverHttpUntilStopped } = await import("./server-FTLPSLRU.js");
2806
2814
  await serveOverHttpUntilStopped(self, context, messenger, {}, http);
2807
2815
  }, "serveHttp"),
2808
2816
  instructions: /* @__PURE__ */ __name(async (profiles) => {
@@ -2862,7 +2870,7 @@ var mcpGroup = /* @__PURE__ */ __name((host) => {
2862
2870
  }).summary("forget every login given to a browser app").description("forget every login `mcp serve --http` gave a browser app, of this profile or of the server `--profiles` names; each app must log in again")).action(async function() {
2863
2871
  const context = host.context(this, { needsProfile: false });
2864
2872
  const served = servedProfiles(this, host, context, this.opts().profiles, "mcp revoke", "whose browser logins to forget");
2865
- const { revokeAll } = await import("./oauth-46XBJBML.js");
2873
+ const { revokeAll } = await import("./oauth-UVU52X57.js");
2866
2874
  revokeAll(httpTokenFile(app, "set" in served ? served.set.key : served.profile, context.env));
2867
2875
  renderAnswer(this, context, itemOf("set" in served ? { revoked: true, profile: null, profiles: served.set.option } : { revoked: true, profile: served.profile }));
2868
2876
  }));
@@ -2940,7 +2948,7 @@ var mcpGroup = /* @__PURE__ */ __name((host) => {
2940
2948
  const [name, entry] = Object.entries(configuration.config.mcpServers)[0] ?? [];
2941
2949
  if (!name || !entry)
2942
2950
  throw new CliError("validation_error", "the MCP entry is empty");
2943
- const { installStdioEntry, probeStdio } = await import("./mcp-VVMPUDSL.js");
2951
+ const { installStdioEntry, probeStdio } = await import("./mcp-ZZUYI44D.js");
2944
2952
  try {
2945
2953
  const server = entry;
2946
2954
  const { potentialWrites } = await probeStdio(server);
@@ -2968,7 +2976,7 @@ var mcpGroup = /* @__PURE__ */ __name((host) => {
2968
2976
  const entry = Object.values(configuration.config.mcpServers)[0];
2969
2977
  if (!entry)
2970
2978
  throw new CliError("validation_error", "the MCP entry is empty");
2971
- const { probeStdio } = await import("./mcp-VVMPUDSL.js");
2979
+ const { probeStdio } = await import("./mcp-ZZUYI44D.js");
2972
2980
  const stderr = stderrTail();
2973
2981
  try {
2974
2982
  const { tools, potentialWrites } = await probeStdio(entry, {
@@ -3032,8 +3040,8 @@ var serveProfiles = /* @__PURE__ */ __name(async (self, context, host, flags, se
3032
3040
  reaches: `the browser apps reach ${app.command}`,
3033
3041
  path: true
3034
3042
  });
3035
- const { serveAllProfilesOverHttp } = await import("./all-profiles-7LSZ3CC3.js");
3036
- const { mcpHttpMarker: mcpHttpMarker2 } = await import("./state-XG335LGZ.js");
3043
+ const { serveAllProfilesOverHttp } = await import("./all-profiles-ANDWOJDL.js");
3044
+ const { mcpHttpMarker: mcpHttpMarker2 } = await import("./state-5TQ7IOJH.js");
3037
3045
  const port = portOf(flags.port, DEFAULT_PORT);
3038
3046
  const listening = await serveAllProfilesOverHttp(options, {
3039
3047
  publicUrl,
@@ -3055,7 +3063,7 @@ var serveProfiles = /* @__PURE__ */ __name(async (self, context, host, flags, se
3055
3063
  await listening.close();
3056
3064
  return;
3057
3065
  }
3058
- const { serveAllProfilesOverStdio } = await import("./all-profiles-7LSZ3CC3.js");
3066
+ const { serveAllProfilesOverStdio } = await import("./all-profiles-ANDWOJDL.js");
3059
3067
  context.renderer.note(`serving ${profileSetLabel(set)} over MCP on stdin and stdout`);
3060
3068
  const { stdin, stdout, signal } = environmentOf(self);
3061
3069
  await serveAllProfilesOverStdio(options, {
@@ -3160,12 +3168,12 @@ var appMcpCommand = /* @__PURE__ */ __name((app, configuration, options) => {
3160
3168
  permissionExample: options.permissionExample,
3161
3169
  serveStdio: /* @__PURE__ */ __name(async (self, context) => {
3162
3170
  checked2(self, context);
3163
- const { serveAppOverStdio } = await import("./app-server-WWNMUHID.js");
3171
+ const { serveAppOverStdio } = await import("./app-server-67WL423B.js");
3164
3172
  await serveAppOverStdio(self, context, server());
3165
3173
  }, "serveStdio"),
3166
3174
  serveHttp: /* @__PURE__ */ __name(async (self, context, http) => {
3167
3175
  checked2(self, context);
3168
- const { serveAppOverHttp } = await import("./app-server-WWNMUHID.js");
3176
+ const { serveAppOverHttp } = await import("./app-server-67WL423B.js");
3169
3177
  await serveAppOverHttp(self, context, server(), http);
3170
3178
  }, "serveHttp"),
3171
3179
  instructions: /* @__PURE__ */ __name(async (profiles) => {
@@ -5241,7 +5249,7 @@ var botMcpCommand = /* @__PURE__ */ __name((bot) => {
5241
5249
  const mcp = bot.mcp;
5242
5250
  if (!mcp)
5243
5251
  throw new Error("bot mcp is mounted only with BotMessenger.mcp");
5244
- const [{ serveBotOverStdio }, run2] = await Promise.all([import("./server-G6XTEEFI.js"), mcp.program()]);
5252
+ const [{ serveBotOverStdio }, run2] = await Promise.all([import("./server-FXW3GARV.js"), mcp.program()]);
5245
5253
  await serveBotOverStdio({
5246
5254
  bot,
5247
5255
  program: { run: run2, commands: describeProgram(rootOf2(this)) },
@@ -12048,12 +12056,12 @@ var hearOnline = /* @__PURE__ */ __name(async (messenger, connection, chat2, mes
12048
12056
  }, "hearOnline");
12049
12057
  var hearLocally = /* @__PURE__ */ __name(async (bytes, messageId, choice) => {
12050
12058
  const { model: model2, directory, open, ffmpeg } = choice;
12051
- const { decodeAudio } = await import("./decode-5MHMPYKE.js");
12059
+ const { decodeAudio } = await import("./decode-2R6DTGRX.js");
12052
12060
  const { samples, rate } = await decodeAudio(bytes, ffmpeg);
12053
12061
  if (choice.with === "openai") {
12054
12062
  if (choice.refusal)
12055
12063
  throw choice.refusal;
12056
- const { transcribeOpenAI } = await import("./openai-3TIBDWZA.js");
12064
+ const { transcribeOpenAI } = await import("./openai-CRO5GDBY.js");
12057
12065
  const transcribeModel = choice.transcribeModel ?? OPENAI_TRANSCRIBE_MODEL;
12058
12066
  const pieces = await transcribeOpenAI({ samples, rate }, {
12059
12067
  apiKey: choice.apiKey ?? "",
@@ -12072,7 +12080,7 @@ var hearLocally = /* @__PURE__ */ __name(async (bytes, messageId, choice) => {
12072
12080
  model: transcribeModel
12073
12081
  };
12074
12082
  }
12075
- const { openRecognizer, toModelRate } = await import("./recognize-4EAKIMON.js");
12083
+ const { openRecognizer, toModelRate } = await import("./recognize-NAISVA56.js");
12076
12084
  const recognizer = (open ?? openRecognizer)(model2, modelPath(directory, model2), vadPath(directory));
12077
12085
  try {
12078
12086
  return {
@@ -12249,7 +12257,7 @@ var downloadAudioModel = /* @__PURE__ */ __name(async (command, messenger, id3)
12249
12257
  await install(model2, directory, { progress: /* @__PURE__ */ __name((line7) => context.renderer.note(line7), "progress") });
12250
12258
  }
12251
12259
  context.renderer.note(`${model2.id}: loading it once to check it works`);
12252
- const { openRecognizer, SAMPLE_RATE } = await import("./recognize-4EAKIMON.js");
12260
+ const { openRecognizer, SAMPLE_RATE } = await import("./recognize-NAISVA56.js");
12253
12261
  const recognizer = openRecognizer(model2, modelPath(directory, model2), vadPath(directory));
12254
12262
  try {
12255
12263
  recognizer.recognize(new Float32Array(SAMPLE_RATE));
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  errorCodes
5
- } from "./chunk-GIQFBXQN.js";
5
+ } from "./chunk-ITD7WI23.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-GIQFBXQN.js";
5
+ } from "./chunk-ITD7WI23.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";