@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
@@ -1,9 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- AUDIT_MIN_SCORE,
5
- throughWrapper
6
- } from "./chunk-KHNDZNQA.js";
7
3
  import {
8
4
  Command,
9
5
  InvalidArgumentError,
@@ -16,13 +12,17 @@ import {
16
12
  renderAnswer,
17
13
  sharedCommand,
18
14
  snakeKeys
19
- } from "./chunk-4F2VRJZE.js";
15
+ } from "./chunk-3KNZADHJ.js";
20
16
  import {
21
17
  readOnlyLockOf
22
- } from "./chunk-JLKNUFL2.js";
18
+ } from "./chunk-IIP43FQJ.js";
19
+ import {
20
+ AUDIT_MIN_SCORE,
21
+ throughWrapper
22
+ } from "./chunk-7QTVIZII.js";
23
23
  import {
24
24
  formatReference
25
- } from "./chunk-WAVJWGUC.js";
25
+ } from "./chunk-GI5JBGXH.js";
26
26
  import {
27
27
  EVENT_QUERY,
28
28
  MEETING_PROJECT_EVIDENCE_QUERY,
@@ -45,7 +45,7 @@ import {
45
45
  readMeetingProjectEvidence,
46
46
  validateMeetingHitSearch,
47
47
  validateMeetingPassage
48
- } from "./chunk-R5GJZPRF.js";
48
+ } from "./chunk-TJXPJ3A5.js";
49
49
  import {
50
50
  OPERATORS_BY_TYPE,
51
51
  dateRange,
@@ -58,9 +58,8 @@ import {
58
58
  timezoneOf,
59
59
  validateQuery,
60
60
  zonedMoment
61
- } from "./chunk-XJVK7ETL.js";
61
+ } from "./chunk-L5SE2XZP.js";
62
62
  import {
63
- CliError,
64
63
  array,
65
64
  boolean,
66
65
  check,
@@ -69,12 +68,15 @@ import {
69
68
  safeParse,
70
69
  strictObject,
71
70
  string
72
- } from "./chunk-GIQFBXQN.js";
71
+ } from "./chunk-3U22QTU6.js";
72
+ import {
73
+ CliError
74
+ } from "./chunk-EBLA7GXY.js";
73
75
  import {
74
76
  __name
75
77
  } from "./chunk-ZVVMGPBJ.js";
76
78
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
79
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
78
80
  var COMMAND_NEEDS = {
79
81
  "account update": ["updateProfile", "change the profile"],
80
82
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -124,7 +126,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
124
126
  return group;
125
127
  }, "hideNever");
126
128
 
127
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
129
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
128
130
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
129
131
  command.allowUnknownOption();
130
132
  const parse = command.parseOptions.bind(command);
@@ -144,7 +146,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
144
146
  return command;
145
147
  }, "queryWordsAfterOptions");
146
148
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
149
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
148
150
  var count = /* @__PURE__ */ __name((value) => {
149
151
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
150
152
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -186,7 +188,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
186
188
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
187
189
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
188
190
 
189
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
191
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
190
192
  var integer = /* @__PURE__ */ __name((value) => {
191
193
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
192
194
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -209,7 +211,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
209
211
  }, "addMeetingProjectEvidenceCommandDefinition");
210
212
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
211
213
 
212
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
214
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
213
215
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
214
216
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
215
217
  const zone = timezoneOf();
@@ -295,7 +297,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
295
297
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
296
298
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
297
299
 
298
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
300
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
299
301
  var integer3 = /* @__PURE__ */ __name((text) => {
300
302
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
301
303
  throw new InvalidArgumentError("expected a positive integer");
@@ -398,6 +400,18 @@ ${deps.importHelp}`);
398
400
  throw new MeetingError("validation_error", "file account differs from selected account");
399
401
  print(await importFiles(files, deps.store, deps.now?.()), command);
400
402
  });
403
+ output(annotate(group.command("repair"), {
404
+ effects: LOCAL_WRITE,
405
+ output: { entity: "meeting_repair" }
406
+ }).description("preview filling in what older builds left out of stored transcripts (their language); --yes stores it")).option("--yes", "store the detected languages; otherwise only preview").action(async (opts, command) => {
407
+ if (!deps.store.fillTranscriptLanguages)
408
+ throw new MeetingError("configuration_error", "this store cannot fill transcript languages");
409
+ print(await deps.store.fillTranscriptLanguages({
410
+ accountId: deps.accountId,
411
+ apply: opts.yes === true,
412
+ now: deps.now?.() ?? Date.now()
413
+ }), command);
414
+ });
401
415
  const eventList = queryWordsAfterOptions(annotate(program.command("events").description("the owner's stored events"), {
402
416
  effects: { remote: "none", local: "none" }
403
417
  }).command("list")).description("list stored events").argument("[query...]", "event id, origin or time fields that narrow the list").addHelpText("after", `
@@ -415,7 +429,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
415
429
  }, "addMeetingCommandsDefinition");
416
430
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
417
431
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/list-query.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/list-query.js
419
433
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
420
434
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
421
435
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -548,7 +562,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
548
562
  var queryHelp = /* @__PURE__ */ __name((registry) => `
549
563
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
550
564
 
551
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/paging.js
565
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/paging.js
552
566
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
553
567
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
554
568
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -557,7 +571,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
557
571
  var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
558
572
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
559
573
 
560
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
574
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
561
575
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
562
576
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
563
577
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -819,7 +833,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
819
833
  ...createdAt === void 0 ? {} : { created_at: createdAt }
820
834
  }), "sessionAnswer");
821
835
 
822
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/background/relay.js
836
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/background/relay.js
823
837
  import { createHash } from "node:crypto";
824
838
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
825
839
  import { createConnection, createServer } from "node:net";
@@ -1040,7 +1054,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
1040
1054
  }, () => finish({ error: stopped() }));
1041
1055
  }), "relayCommand");
1042
1056
 
1043
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1057
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1044
1058
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
1045
1059
  close: /* @__PURE__ */ __name(async () => {
1046
1060
  }, "close"),
@@ -1149,6 +1163,7 @@ export {
1149
1163
  pageOf,
1150
1164
  pagedList,
1151
1165
  nativeTerms,
1166
+ nativeTermLists,
1152
1167
  queryTerms,
1153
1168
  timeBounds,
1154
1169
  searchText,
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-CGCQNYB3.js";
5
+ } from "./chunk-3VSUT6BD.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-GIQFBXQN.js";
8
+ } from "./chunk-EBLA7GXY.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -20,6 +20,7 @@ var MODELS = [
20
20
  id: "gigaam-v3",
21
21
  title: "GigaAM v3, with punctuation",
22
22
  languages: "Russian \u2014 the best of the three for Russian",
23
+ language: "ru",
23
24
  featureDim: 64,
24
25
  files: [
25
26
  {
@@ -57,6 +58,7 @@ var MODELS = [
57
58
  id: "gigaam-v3-ctc",
58
59
  title: "GigaAM v3 CTC, with punctuation \u2014 a little faster",
59
60
  languages: "Russian \u2014 a little faster, rougher with capital letters",
61
+ language: "ru",
60
62
  featureDim: 64,
61
63
  files: [
62
64
  {
@@ -135,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
135
137
  return model;
136
138
  }, "speechModel");
137
139
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/speech/install.js
139
141
  import { createHash, randomUUID } from "node:crypto";
140
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
141
143
  import { rename, rm } from "node:fs/promises";