@wirecat/zoom-cli 0.66.0 → 0.68.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 (207) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answer-entities.d.ts +18 -0
  4. package/dist/answer-entities.d.ts.map +1 -1
  5. package/dist/answer-entities.js +12 -0
  6. package/dist/answer-entities.js.map +1 -1
  7. package/dist/answer-policy.d.ts.map +1 -1
  8. package/dist/answer-policy.js +2 -1
  9. package/dist/answer-policy.js.map +1 -1
  10. package/dist/answers.d.ts +4 -4
  11. package/dist/bin/main.js +3 -2
  12. package/dist/bin/main.js.map +1 -1
  13. package/dist/bin/zm.js +2 -2
  14. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-R66UM3HM.js} +12 -11
  15. package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
  16. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-4ZI2BPLG.js} +7 -7
  17. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-64O5IQI5.js} +61 -57
  18. package/dist/bundle/{bun-O4WHGL2F.js → bun-HUHQD76Z.js} +2 -2
  19. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-VOVHPTIF.js} +6 -6
  20. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-2OSBCYJT.js} +39 -26
  21. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-2T6XHWDX.js} +2 -2
  22. package/dist/bundle/chunk-32FPA7P2.js +35 -0
  23. package/dist/bundle/{chunk-NO24PJNW.js → chunk-355PHJYX.js} +1 -1
  24. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3BRV2YU2.js} +3 -3
  25. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-474WF55M.js} +95 -48
  26. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-4TLPOY22.js} +12 -12
  27. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-4YFJYSSK.js} +205 -59
  28. package/dist/bundle/chunk-5JAYUG3X.js +261 -0
  29. package/dist/bundle/{chunk-5HPALDUO.js → chunk-65T3PU75.js} +3 -2
  30. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6CJ7NHIP.js} +13 -13
  31. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-6T3P226D.js} +4 -4
  32. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-6TJ62LZQ.js} +22 -14
  33. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-6XO7RTJY.js} +129 -9
  34. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-77I67HWF.js} +8 -8
  35. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-77KFLU5F.js} +3 -3
  36. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-7AUP2WT3.js} +3 -3
  37. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7DUYFITC.js} +25 -23
  38. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-7QNJICKZ.js} +30 -26
  39. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-A63ZFOQJ.js} +18 -4
  40. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-AJ7CMUGD.js} +1396 -326
  41. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-AVEIQMHZ.js} +4 -2
  42. package/dist/bundle/chunk-AYEVBAGO.js +178 -0
  43. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-B6JMVB6R.js} +22 -23
  44. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-BL36NSV5.js} +3 -3
  45. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-BOAMDYLY.js} +4 -4
  46. package/dist/bundle/chunk-BSM43OMN.js +31 -0
  47. package/dist/bundle/{chunk-67RNZGAG.js → chunk-DGNPJGD3.js} +16 -10
  48. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-DVA6MQWK.js} +1 -1
  49. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-DWSUSWAX.js} +98 -13
  50. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-EH5QGQFR.js} +3 -3
  51. package/dist/bundle/chunk-EJDV5IIF.js +93 -0
  52. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-EWIBLDQQ.js} +8 -8
  53. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-EZRPSZJS.js} +3 -3
  54. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-FBLUKCIR.js} +1 -1
  55. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-FEM2JQN2.js} +2 -1
  56. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-FMQS7HCC.js} +12 -12
  57. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-FNQASORM.js} +2 -2
  58. package/dist/bundle/{chunk-GKXFL35E.js → chunk-GOXDBCDM.js} +728 -130
  59. package/dist/bundle/{chunk-U3ZUT557.js → chunk-HXOAPH47.js} +1 -1
  60. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-JO4YADNV.js} +7 -7
  61. package/dist/bundle/{chunk-5A26IBAR.js → chunk-JRCYFCPL.js} +30 -28
  62. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-K67V24AT.js} +5 -5
  63. package/dist/bundle/{chunk-BXSAROQP.js → chunk-KAPJQGHE.js} +2 -2
  64. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-KNE6VFHZ.js} +97 -38
  65. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-KUB2U5NT.js} +6 -6
  66. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-L4WVLRXM.js} +4 -4
  67. package/dist/bundle/{chunk-756RS4PH.js → chunk-LBOSTBAY.js} +2541 -1355
  68. package/dist/bundle/{chunk-62GOOZO3.js → chunk-LV7QRR5S.js} +6 -6
  69. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-LYWUG43B.js} +33 -33
  70. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NRRI37NJ.js} +28 -9
  71. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-NUJMJQXV.js} +281 -10
  72. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-OE7EIP5L.js} +1 -1
  73. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-P2TISY3R.js} +1 -1
  74. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-P3ASN72F.js} +1 -1
  75. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-PIHBD3YS.js} +16 -6
  76. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-PUTGTW6W.js} +4 -2
  77. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-QXTREL2M.js} +3 -3
  78. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-R7LFGEDE.js} +2 -2
  79. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-RGJ7OWHU.js} +4 -4
  80. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-RP3U3J53.js} +10 -89
  81. package/dist/bundle/{chunk-JX3V35A5.js → chunk-RRYUD2EF.js} +3 -3
  82. package/dist/bundle/{chunk-XFUID5NY.js → chunk-SRP6SFFD.js} +2 -2
  83. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-SSPSNSC5.js} +1 -1
  84. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-TDGZMC6K.js} +510 -318
  85. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-TN3FH2GQ.js} +11 -11
  86. package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
  87. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-TZUKDM72.js} +72 -20
  88. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-UDJTRFRV.js} +1 -1
  89. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-US5C3WAY.js} +63 -53
  90. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-UU5PLDRA.js} +2 -2
  91. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-VLD7Y4SY.js} +7 -7
  92. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-VW6BF6M7.js} +1 -1
  93. package/dist/bundle/chunk-W42BJ65M.js +37 -0
  94. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-Y5LP5SHV.js} +15 -12
  95. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-YJY3W2ZT.js} +232 -88
  96. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-YOAEZSDG.js} +2 -2
  97. package/dist/bundle/{chunk-IKQ73INC.js → chunk-YQRNFG2E.js} +15849 -1674
  98. package/dist/bundle/{chunk-RO44LANT.js → chunk-YTF2WPV4.js} +1880 -778
  99. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-ZRD3NDOX.js} +2 -2
  100. package/dist/bundle/{cli-HWQIL2AC.js → cli-VQJ7ZRYR.js} +124 -69
  101. package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
  102. package/dist/bundle/config-YGLLR77A.js +90 -0
  103. package/dist/bundle/{decode-XPAPPUGE.js → decode-L3ENO2XH.js} +6 -6
  104. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-5MGDLOK4.js} +9 -9
  105. package/dist/bundle/{dist-LDIUQBM7.js → dist-WQLS7U23.js} +66 -17
  106. package/dist/bundle/{echarts-FMACRZQC.js → echarts-5LLJ6JXC.js} +2 -2
  107. package/dist/bundle/{embed-LK45GRQ7.js → embed-37MYTCU7.js} +7 -7
  108. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-GNGHVJAO.js} +10 -10
  109. package/dist/bundle/{failure-7OULAOWQ.js → failure-CR64C4XA.js} +3 -3
  110. package/dist/bundle/{first-run-J5FG773Q.js → first-run-NR5JKYP3.js} +12 -12
  111. package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
  112. package/dist/bundle/{folders-RHPUVMDI.js → folders-VU4IN35Y.js} +5 -5
  113. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-P72XX4AK.js} +1 -1
  114. package/dist/bundle/{main-FJHE5YHU.js → main-QYFCYSTW.js} +23 -24
  115. package/dist/bundle/{mcp-MNI62HHE.js → mcp-M4QN2E7R.js} +2 -2
  116. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-66UQINKI.js} +37 -7
  117. package/dist/bundle/{node-4SNKUPXT.js → node-ZB4RNICS.js} +2 -2
  118. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-XPRKBDF3.js} +7 -7
  119. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-WJRDUU5J.js} +8 -8
  120. package/dist/bundle/{open-OVCASRSJ.js → open-S2YSIEOW.js} +6 -6
  121. package/dist/bundle/openai-CRNZFNZD.js +25 -0
  122. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-6COFGPUL.js} +6 -6
  123. package/dist/bundle/{process-HQZOTT6U.js → process-XNN4WG6N.js} +1 -1
  124. package/dist/bundle/{program-A546WC4F.js → program-BRPJKRCX.js} +181 -205
  125. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-7RQOL25I.js} +6 -6
  126. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-N5WADGQB.js} +5 -5
  127. package/dist/bundle/{remote-VAYVTJBS.js → remote-WHYV35IF.js} +8 -8
  128. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-FBMZVWSH.js} +8 -8
  129. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-TOCHREH2.js} +59 -57
  130. package/dist/bundle/{serve-KGHEDUHB.js → serve-4BABX4WS.js} +10 -10
  131. package/dist/bundle/{server-ZYTSMDTP.js → server-CDVI6LOB.js} +47 -46
  132. package/dist/bundle/server-XOFQKFVO.js +72 -0
  133. package/dist/bundle/{services-ZHMZC2OQ.js → services-PIY33I7R.js} +59 -32
  134. package/dist/bundle/{speech-7CJEFKM3.js → speech-LS5Q4FL2.js} +14 -14
  135. package/dist/bundle/{state-U6KSYVOH.js → state-YUX5R2R7.js} +7 -7
  136. package/dist/bundle/{store-DJE3LAEG.js → store-BD7HAXAA.js} +22 -17
  137. package/dist/bundle/{store-WS4CQGYU.js → store-ERMGBF2B.js} +59 -30
  138. package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
  139. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
  140. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-O53PIORL.js} +7 -7
  141. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-QKNEP2GJ.js} +7 -7
  142. package/dist/bundle/zm.js +9 -10
  143. package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
  144. package/dist/commands.d.ts.map +1 -1
  145. package/dist/commands.js +1 -0
  146. package/dist/commands.js.map +1 -1
  147. package/dist/config.d.ts +9 -0
  148. package/dist/config.d.ts.map +1 -1
  149. package/dist/config.js +48 -10
  150. package/dist/config.js.map +1 -1
  151. package/dist/identity.d.ts +1 -0
  152. package/dist/identity.d.ts.map +1 -1
  153. package/dist/identity.js +11 -0
  154. package/dist/identity.js.map +1 -1
  155. package/dist/meeting-source.d.ts.map +1 -1
  156. package/dist/meeting-source.js +2 -1
  157. package/dist/meeting-source.js.map +1 -1
  158. package/dist/meeting-stats-commands.d.ts +4 -2
  159. package/dist/meeting-stats-commands.d.ts.map +1 -1
  160. package/dist/meeting-stats-commands.js +27 -2
  161. package/dist/meeting-stats-commands.js.map +1 -1
  162. package/dist/program-bindings.d.ts.map +1 -1
  163. package/dist/program-bindings.js +10 -4
  164. package/dist/program-bindings.js.map +1 -1
  165. package/dist/recording-schedule-setup.d.ts.map +1 -1
  166. package/dist/recording-schedule-setup.js +5 -5
  167. package/dist/recording-schedule-setup.js.map +1 -1
  168. package/dist/run.d.ts.map +1 -1
  169. package/dist/run.js +2 -6
  170. package/dist/run.js.map +1 -1
  171. package/dist/setup-commands.d.ts +7 -1
  172. package/dist/setup-commands.d.ts.map +1 -1
  173. package/dist/setup-commands.js +45 -8
  174. package/dist/setup-commands.js.map +1 -1
  175. package/dist/store-commands.d.ts.map +1 -1
  176. package/dist/store-commands.js +6 -0
  177. package/dist/store-commands.js.map +1 -1
  178. package/dist/store-connection.d.ts +2 -1
  179. package/dist/store-connection.d.ts.map +1 -1
  180. package/dist/store-connection.js +4 -0
  181. package/dist/store-connection.js.map +1 -1
  182. package/dist/version.d.ts +1 -1
  183. package/dist/version.js +1 -1
  184. package/dist/watch-service.d.ts +1 -1
  185. package/dist/watch-service.d.ts.map +1 -1
  186. package/dist/watch-service.js +5 -3
  187. package/dist/watch-service.js.map +1 -1
  188. package/dist/zoom-app.d.ts +49 -0
  189. package/dist/zoom-app.d.ts.map +1 -0
  190. package/dist/zoom-app.js +83 -0
  191. package/dist/zoom-app.js.map +1 -0
  192. package/package.json +4 -3
  193. package/skills/zoom-cli/SKILL.md +4 -1
  194. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  195. package/dist/bundle/chunk-2T5BOLBS.js +0 -132
  196. package/dist/bundle/chunk-HKQWV3KT.js +0 -31
  197. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  198. package/dist/bundle/chunk-P2SYZNM4.js +0 -19
  199. package/dist/bundle/chunk-TN7K66PU.js +0 -9
  200. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  201. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  202. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  203. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  204. package/dist/bundle/server-IDNSJXF3.js +0 -71
  205. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  206. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  207. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-VOXIGICJ.js} +0 -0
@@ -2,25 +2,25 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-L7IK4FOA.js";
5
+ } from "./chunk-32FPA7P2.js";
6
6
  import {
7
7
  resolvePaths
8
- } from "./chunk-TFDVFD4N.js";
8
+ } from "./chunk-KNE6VFHZ.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-S6S3KVJI.js";
11
+ } from "./chunk-FEM2JQN2.js";
12
12
  import {
13
13
  singleLine
14
- } from "./chunk-UYV2JGLQ.js";
14
+ } from "./chunk-OE7EIP5L.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/shared-config.js
20
20
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
21
21
  import { dirname, join, resolve } from "node:path";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
24
24
  var DEFAULT_TASK_CATEGORIES = [
25
25
  {
26
26
  name: "taxes",
@@ -775,7 +775,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
775
775
  }
776
776
  }, "storedTaskCategories");
777
777
 
778
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
778
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/shared-config.js
779
779
  var SECTION = "task_categories";
780
780
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
781
781
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -0,0 +1,37 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __name
5
+ } from "./chunk-ZVVMGPBJ.js";
6
+
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
8
+ import { existsSync, statSync } from "node:fs";
9
+ var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
10
+ var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
11
+ if (platform === "win32")
12
+ return { checked: false, reason: "Windows has no Unix file modes" };
13
+ const problems = [];
14
+ const check = /* @__PURE__ */ __name((path, want, folder) => {
15
+ if (!existsSync(path))
16
+ return;
17
+ const stat = statSync(path);
18
+ if (stat.isDirectory() !== folder)
19
+ return;
20
+ const mode = stat.mode & 511;
21
+ if ((mode & 63) === 0)
22
+ return;
23
+ const octal = /* @__PURE__ */ __name((value) => `0${value.toString(8)}`, "octal");
24
+ problems.push({ path, mode: octal(mode), want: octal(want), fix: `chmod ${want.toString(8)} ${shellQuoted(path)}` });
25
+ }, "check");
26
+ for (const file of files)
27
+ check(file, 384, false);
28
+ for (const dir of dirs)
29
+ check(dir, 448, true);
30
+ return { checked: true, ok: problems.length === 0, problems };
31
+ }, "privateFiles");
32
+ var withSqliteSidecars = /* @__PURE__ */ __name((path) => [path, `${path}-wal`, `${path}-shm`], "withSqliteSidecars");
33
+
34
+ export {
35
+ privateFiles,
36
+ withSqliteSidecars
37
+ };
@@ -3,28 +3,28 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-Z6U3MEGJ.js";
6
+ } from "./chunk-AVEIQMHZ.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-62GOOZO3.js";
10
+ } from "./chunk-LV7QRR5S.js";
11
11
  import {
12
12
  catchCrashes
13
- } from "./chunk-N67BLTBV.js";
13
+ } from "./chunk-NRRI37NJ.js";
14
14
  import {
15
15
  importFrom
16
16
  } from "./chunk-Y5E2WNWB.js";
17
17
  import {
18
18
  CliError
19
- } from "./chunk-S6S3KVJI.js";
19
+ } from "./chunk-FEM2JQN2.js";
20
20
  import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/entry.js
25
25
  import { spawn as spawn2 } from "node:child_process";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
28
28
  import { spawn, spawnSync } from "node:child_process";
29
29
  import { readFileSync } from "node:fs";
30
30
  import { dirname } from "node:path";
@@ -112,7 +112,7 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
112
112
  });
113
113
  }), "relay");
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
116
116
  import { appendFileSync } from "node:fs";
117
117
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
118
118
  const words = [];
@@ -136,7 +136,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
136
136
  `);
137
137
  }, "logVersion");
138
138
 
139
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/entry.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/entry.js
140
140
  var processIo = /* @__PURE__ */ __name(() => ({
141
141
  argv: process.argv,
142
142
  env: process.env,
@@ -190,8 +190,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
190
190
  if (command.optsWithGlobals().dryRun === true)
191
191
  return;
192
192
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
193
- import("./first-run-J5FG773Q.js"),
194
- import("./command-contract-CQFJXWX6.js")
193
+ import("./first-run-NR5JKYP3.js"),
194
+ import("./command-contract-JPUWWYIV.js")
195
195
  ]);
196
196
  await setupAtStart({
197
197
  command: entry.app.command,
@@ -206,7 +206,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
206
206
  ask: /* @__PURE__ */ __name(async (question, command) => {
207
207
  if (headless(command) || io.stdin.isTTY !== true)
208
208
  return false;
209
- const { readSecret } = await import("./prompt-CYBKP7S5.js");
209
+ const { readSecret } = await import("./prompt-7RQOL25I.js");
210
210
  const answer = await readSecret(`${question} [y/N] `, {
211
211
  input: io.stdin,
212
212
  output: io.stderr,
@@ -215,7 +215,10 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
215
215
  });
216
216
  return /^(y|yes)$/i.test(answer.trim());
217
217
  }, "ask"),
218
- openBrowser: /* @__PURE__ */ __name((url, browser) => openBrowser(url, browser, io), "openBrowser"),
218
+ openBrowser: /* @__PURE__ */ __name(async (url, browser, command) => {
219
+ if (!headless(command))
220
+ await openBrowser(url, browser, io);
221
+ }, "openBrowser"),
219
222
  outputClosed: /* @__PURE__ */ __name(() => closed, "outputClosed")
220
223
  };
221
224
  let code;