@wirecat/hubspot-cli 0.6.0 → 0.8.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 (164) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/contracts/wirecat.json +2 -1
  3. package/dist/bin/hubspot.js +2 -2
  4. package/dist/bundle/agent-NMSIVLX7.js +41 -0
  5. package/dist/bundle/{all-profiles-HFVXPMF6.js → all-profiles-EMBBR5CW.js} +11 -11
  6. package/dist/bundle/{anthropic-VE6WR6IN.js → anthropic-AS2MTXO3.js} +5 -5
  7. package/dist/bundle/{app-server-GZ4DCQK7.js → app-server-WZWKHDLK.js} +70 -68
  8. package/dist/bundle/{bun-2DHMKD34.js → bun-OPDGMZZQ.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-T5XTYL7L.js → bun-sqlite-NBAY7FR2.js} +6 -6
  10. package/dist/bundle/{chunk-AKSWXRIU.js → chunk-2JHVQMVC.js} +1 -1
  11. package/dist/bundle/{chunk-UCGZRZJA.js → chunk-2XBDILVW.js} +1 -1
  12. package/dist/bundle/{chunk-3YTTWJKL.js → chunk-3HC5F3P7.js} +1 -1
  13. package/dist/bundle/{chunk-J4FXBF44.js → chunk-3YM4B2GT.js} +1 -1
  14. package/dist/bundle/{chunk-J76CMNWQ.js → chunk-4N7PP76S.js} +1 -1
  15. package/dist/bundle/{chunk-X2QRCFGJ.js → chunk-4NLZXDXP.js} +4 -4
  16. package/dist/bundle/{chunk-2K5BAY32.js → chunk-5JKTVAXX.js} +19 -19
  17. package/dist/bundle/{chunk-PR7ZDMGF.js → chunk-5XYI75HH.js} +3 -3
  18. package/dist/bundle/{chunk-EB53G4HO.js → chunk-6TD3DCWC.js} +2 -2
  19. package/dist/bundle/{chunk-K4Y2ZWOO.js → chunk-7SV76BVS.js} +3 -3
  20. package/dist/bundle/{chunk-PDVMYIBP.js → chunk-7T5BFWZI.js} +14450 -12008
  21. package/dist/bundle/{chunk-5WDNG4QE.js → chunk-7Z53MLQP.js} +7 -7
  22. package/dist/bundle/{chunk-RLK2EGQD.js → chunk-AINKLKDN.js} +29 -16
  23. package/dist/bundle/{chunk-E27NRLJZ.js → chunk-BGWQIFAS.js} +38 -24
  24. package/dist/bundle/{chunk-MSQGZHKM.js → chunk-CVAHCGE6.js} +27 -26
  25. package/dist/bundle/{chunk-6DABKZYH.js → chunk-D7NSIQBI.js} +125 -64
  26. package/dist/bundle/{chunk-THGAVPRA.js → chunk-D7OZWLJU.js} +11 -11
  27. package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
  28. package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
  29. package/dist/bundle/{chunk-QK5HQUHB.js → chunk-EVUMQKV7.js} +3 -3
  30. package/dist/bundle/{chunk-5O5WYSSO.js → chunk-FRF32QVB.js} +711 -633
  31. package/dist/bundle/{chunk-H4W2OO35.js → chunk-GGMAIIVE.js} +1 -1
  32. package/dist/bundle/{chunk-I75ON7VM.js → chunk-GIMHJ7HA.js} +8 -8
  33. package/dist/bundle/{chunk-5NIIXJV3.js → chunk-GXDD4QWH.js} +2 -2
  34. package/dist/bundle/{chunk-ZERQSELP.js → chunk-H6AH45GE.js} +198 -164
  35. package/dist/bundle/{chunk-DIKUPU3T.js → chunk-HZ3C4WXD.js} +3 -3
  36. package/dist/bundle/{chunk-TXO4CJW3.js → chunk-IA77VHME.js} +13 -9
  37. package/dist/bundle/{chunk-LTU4BQ4S.js → chunk-IA7LLLEI.js} +3 -3
  38. package/dist/bundle/{chunk-3HS7JTPI.js → chunk-IGNMDKP7.js} +14 -14
  39. package/dist/bundle/{chunk-G6LDK6DJ.js → chunk-IPKCM55K.js} +7 -7
  40. package/dist/bundle/{chunk-2I2KBCS6.js → chunk-JBZYHRUN.js} +5 -5
  41. package/dist/bundle/{chunk-M3LRSN6J.js → chunk-JG6LCSEX.js} +13 -13
  42. package/dist/bundle/{chunk-HZIGGAC7.js → chunk-JLXXUEAM.js} +2 -2
  43. package/dist/bundle/{chunk-T4MZJMEJ.js → chunk-JPONKBEQ.js} +23 -23
  44. package/dist/bundle/{chunk-5ILCAAY4.js → chunk-K5QWV6IX.js} +35 -35
  45. package/dist/bundle/{chunk-LHY5XGIR.js → chunk-KNL7CKF6.js} +179 -108
  46. package/dist/bundle/{chunk-JFLKTYH5.js → chunk-KVTNYRDO.js} +6 -6
  47. package/dist/bundle/chunk-KXJ3JEDH.js +2 -0
  48. package/dist/bundle/{chunk-CU76ZACK.js → chunk-L45WN3AR.js} +3 -3
  49. package/dist/bundle/{chunk-2VUIJ5XB.js → chunk-L72WUJAS.js} +2 -2
  50. package/dist/bundle/{chunk-GWXTVO43.js → chunk-LCUWAH4L.js} +7 -7
  51. package/dist/bundle/{chunk-4UEYVM46.js → chunk-LKH3UKLO.js} +4 -4
  52. package/dist/bundle/{chunk-CTN4DW2F.js → chunk-LM3W7YOM.js} +4 -4
  53. package/dist/bundle/{chunk-3TLNO3VM.js → chunk-LZPKBN3C.js} +2 -2
  54. package/dist/bundle/{chunk-EJZIEBAR.js → chunk-LZPSIYRC.js} +8 -8
  55. package/dist/bundle/{chunk-KDW7B7AR.js → chunk-MYXUJCJD.js} +5 -5
  56. package/dist/bundle/{chunk-PZ3QJDTD.js → chunk-NA2B6PYR.js} +5 -5
  57. package/dist/bundle/{chunk-TT75CEYZ.js → chunk-NB7EOAUZ.js} +1 -1
  58. package/dist/bundle/{chunk-XRFYVVFU.js → chunk-NISH4UXM.js} +2 -2
  59. package/dist/bundle/{chunk-VR2CJFVL.js → chunk-NQVMPJAQ.js} +8 -8
  60. package/dist/bundle/{chunk-J2SCELII.js → chunk-NVR6M4TF.js} +16 -16
  61. package/dist/bundle/{chunk-GR4HZBWO.js → chunk-O4AUYEGC.js} +2 -2
  62. package/dist/bundle/{chunk-TRLV5NWZ.js → chunk-OGVSGXPI.js} +640 -506
  63. package/dist/bundle/{chunk-3W5R3XAH.js → chunk-OUYXUGUX.js} +8 -8
  64. package/dist/bundle/chunk-P657KN5N.js +122 -0
  65. package/dist/bundle/{chunk-GHXTNKX2.js → chunk-P7G5HFY3.js} +2 -2
  66. package/dist/bundle/{chunk-BU5CEMUH.js → chunk-PFYPJUWX.js} +19 -15
  67. package/dist/bundle/{chunk-Q6AC7WLD.js → chunk-PLPBEWD4.js} +3 -3
  68. package/dist/bundle/{chunk-HYDXA624.js → chunk-PMQ7GP6X.js} +6 -6
  69. package/dist/bundle/{chunk-JDCFHZNU.js → chunk-Q32ZDGS2.js} +8 -8
  70. package/dist/bundle/{chunk-TAPQZYXY.js → chunk-Q7ICVP25.js} +1 -1
  71. package/dist/bundle/{chunk-WE4JSHIG.js → chunk-QLYSNL47.js} +6 -6
  72. package/dist/bundle/{chunk-H5HBZCEJ.js → chunk-QPPOIWPY.js} +8 -8
  73. package/dist/bundle/{chunk-GEJI27GN.js → chunk-R2C5WDQV.js} +6 -6
  74. package/dist/bundle/{chunk-UVGJL753.js → chunk-RQORQN2V.js} +61 -61
  75. package/dist/bundle/{chunk-YIH2A2PQ.js → chunk-RRTMPSQR.js} +2 -2
  76. package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
  77. package/dist/bundle/{chunk-MJ24YFXZ.js → chunk-TTF5DP4V.js} +7 -7
  78. package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
  79. package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
  80. package/dist/bundle/{chunk-ID4GJFE7.js → chunk-U5CFLBNX.js} +8 -8
  81. package/dist/bundle/{chunk-ZKTYTOF4.js → chunk-UDSL3MUU.js} +8 -8
  82. package/dist/bundle/{chunk-RLNPTES2.js → chunk-V57E7PJQ.js} +4 -4
  83. package/dist/bundle/{chunk-67YPTVGP.js → chunk-V7IF2K3P.js} +3 -3
  84. package/dist/bundle/{chunk-NQOQG7L3.js → chunk-VB7FZOYX.js} +1 -1
  85. package/dist/bundle/{chunk-KKMOKSS5.js → chunk-VNMEE4ZZ.js} +3 -3
  86. package/dist/bundle/{chunk-UZ2CL435.js → chunk-VZ5PPYDG.js} +1 -1
  87. package/dist/bundle/chunk-WOPVBRPV.js +29 -0
  88. package/dist/bundle/{chunk-R26OEZOL.js → chunk-XEQQJBBO.js} +1 -1
  89. package/dist/bundle/chunk-XIKSGUMQ.js +1293 -0
  90. package/dist/bundle/{chunk-YDG5FIQB.js → chunk-XK5BAPHF.js} +7 -7
  91. package/dist/bundle/{chunk-QH47G73D.js → chunk-XQGN2D44.js} +3 -3
  92. package/dist/bundle/{chunk-5VTKBGPW.js → chunk-YKSH7BY2.js} +121 -36
  93. package/dist/bundle/{chunk-BM5F2ZNI.js → chunk-YWDFYQOU.js} +2 -2
  94. package/dist/bundle/{chunk-5IPB5WLB.js → chunk-ZJEENQRH.js} +12 -12
  95. package/dist/bundle/{chunk-24HPBWKZ.js → chunk-ZZOCAZSZ.js} +3 -3
  96. package/dist/bundle/command-contract-BGTXROZA.js +40 -0
  97. package/dist/bundle/{command-server-entry-H6IAJNOF.js → command-server-entry-PDLRF2RV.js} +28 -28
  98. package/dist/bundle/{decode-TR2EC46M.js → decode-26M7XE2B.js} +5 -5
  99. package/dist/bundle/{dispatch-B2EP6DDT.js → dispatch-2FTOHA5D.js} +8 -8
  100. package/dist/bundle/{echarts-7OP7I5B2.js → echarts-O3TNDAXJ.js} +2 -2
  101. package/dist/bundle/{embed-FLGS4LN7.js → embed-XJLEAWXE.js} +6 -6
  102. package/dist/bundle/{embedder-JIXQXCP3.js → embedder-OEL6PXEH.js} +9 -9
  103. package/dist/bundle/{failure-AOACEURF.js → failure-OHIXWTR6.js} +2 -2
  104. package/dist/bundle/{first-run-XJ2NWIK2.js → first-run-J2T4IKK4.js} +12 -12
  105. package/dist/bundle/first-screen-Q5KYFT3R.js +41 -0
  106. package/dist/bundle/hubspot.js +27 -27
  107. package/dist/bundle/{instructions-PYCYV6QE.js → instructions-AMH5RWVJ.js} +1 -1
  108. package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
  109. package/dist/bundle/meeting-combined-5H6VGK6O.js +25 -0
  110. package/dist/bundle/{meeting-model-2PA5WJY5.js → meeting-model-USLGH5SE.js} +11 -11
  111. package/dist/bundle/{meeting-semantic-5IH63QFV.js → meeting-semantic-Q6XYFYUD.js} +6 -6
  112. package/dist/bundle/{node-6GTNIVBM.js → node-EGMCBAO7.js} +2 -2
  113. package/dist/bundle/{node-sqlite-FBCEHPNT.js → node-sqlite-2SWWGW6H.js} +7 -7
  114. package/dist/bundle/{oauth-BFP4SCL5.js → oauth-V5LGTXF2.js} +7 -7
  115. package/dist/bundle/{open-MLU4MHGO.js → open-25EKOTZA.js} +5 -5
  116. package/dist/bundle/{openai-R7WJI6SO.js → openai-CH37GSZS.js} +15 -15
  117. package/dist/bundle/{process-NMNQLJHZ.js → process-SGHEN6MQ.js} +1 -1
  118. package/dist/bundle/{program-Z735HPFG.js → program-G4OZFVUI.js} +212 -117
  119. package/dist/bundle/{prompt-A6RM55Q4.js → prompt-2VSPX5S7.js} +5 -5
  120. package/dist/bundle/public-WB7IWBMR.js +196 -0
  121. package/dist/bundle/{recognize-ORRDV45M.js → recognize-NA5XUFKK.js} +4 -4
  122. package/dist/bundle/{remote-UF3WSC4X.js → remote-NRJOX6XW.js} +9 -9
  123. package/dist/bundle/{rerank-ZSJORUGH.js → rerank-NG3XMFCV.js} +7 -7
  124. package/dist/bundle/{schemas-EXBNVPMI.js → schemas-SKF4MZBJ.js} +1 -1
  125. package/dist/bundle/{serve-4KBJ6SIA.js → serve-MR67OBED.js} +9 -9
  126. package/dist/bundle/server-LFNGSVUQ.js +88 -0
  127. package/dist/bundle/{server-IFK4S6LJ.js → server-NZPHVRS6.js} +62 -60
  128. package/dist/bundle/{source-PBCQAG4C.js → source-P2KVDTJ5.js} +75 -73
  129. package/dist/bundle/{sqlite-runtime-XPDUWOPG.js → sqlite-runtime-V5U6F5EB.js} +6 -6
  130. package/dist/bundle/{state-4M26H7NL.js → state-L4MWAATO.js} +6 -6
  131. package/dist/bundle/store-ARASPKTV.js +34 -0
  132. package/dist/bundle/{store-ICTY3RIF.js → store-JFIZLDKO.js} +22 -22
  133. package/dist/bundle/{store-3W4ZOOIB.js → store-SUHY3G2X.js} +27 -24
  134. package/dist/bundle/store-maintenance-command-L2FXCEGU.js +75 -0
  135. package/dist/bundle/surface-NQK7CQ33.js +74 -0
  136. package/dist/bundle/writer-TYTMOXXA.js +88 -0
  137. package/dist/config.d.ts +5 -38
  138. package/dist/config.d.ts.map +1 -1
  139. package/dist/config.js.map +1 -1
  140. package/dist/crm/records.d.ts.map +1 -1
  141. package/dist/crm/records.js +3 -0
  142. package/dist/crm/records.js.map +1 -1
  143. package/dist/crm/source.js +1 -1
  144. package/dist/crm/source.js.map +1 -1
  145. package/dist/generated/definitions.d.ts +1 -1
  146. package/dist/generated/definitions.d.ts.map +1 -1
  147. package/dist/generated/manifest.d.ts +1 -1
  148. package/dist/generated/manifest.d.ts.map +1 -1
  149. package/dist/generated/manifest.js.map +1 -1
  150. package/dist/version.d.ts +1 -1
  151. package/dist/version.js +1 -1
  152. package/package.json +3 -3
  153. package/skills/hubspot-cli/SKILL.md +10 -3
  154. package/dist/bundle/agent-XB35QVOK.js +0 -40
  155. package/dist/bundle/chunk-HX2BE7DO.js +0 -40
  156. package/dist/bundle/chunk-V7N2K5OT.js +0 -1269
  157. package/dist/bundle/command-contract-5FXCYQUS.js +0 -40
  158. package/dist/bundle/first-screen-U73G5CMM.js +0 -40
  159. package/dist/bundle/meeting-combined-IHTM5H5B.js +0 -25
  160. package/dist/bundle/server-MNUAZWTN.js +0 -86
  161. package/dist/bundle/store-CDY2PW6J.js +0 -34
  162. package/dist/bundle/store-maintenance-command-Y7TC3I43.js +0 -73
  163. package/dist/bundle/surface-4LNDJZD2.js +0 -72
  164. package/dist/bundle/writer-WGHWQTC2.js +0 -86
@@ -2,33 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  stdinFieldOf
5
- } from "./chunk-TAPQZYXY.js";
5
+ } from "./chunk-Q7ICVP25.js";
6
6
  import {
7
7
  commandPathOf
8
- } from "./chunk-2I2KBCS6.js";
8
+ } from "./chunk-JBZYHRUN.js";
9
9
  import {
10
10
  commandServerRequest,
11
11
  metaOf
12
- } from "./chunk-ZERQSELP.js";
12
+ } from "./chunk-H6AH45GE.js";
13
13
  import {
14
14
  errorObjectOf,
15
15
  renderError
16
- } from "./chunk-H5HBZCEJ.js";
16
+ } from "./chunk-QPPOIWPY.js";
17
17
  import {
18
18
  CliError
19
- } from "./chunk-AP3CWDRK.js";
19
+ } from "./chunk-S6JG4YUH.js";
20
20
  import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/command-server.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server.js
25
25
  import { createInterface } from "node:readline";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
28
28
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
29
29
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/command-server.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server.js
32
32
  var COMMAND_SERVER_PROTOCOL = 1;
33
33
  var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
34
34
  var COMMAND_SERVER_CONCURRENT = 8;
@@ -0,0 +1,122 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ check,
5
+ custom,
6
+ pipe,
7
+ transform
8
+ } from "./chunk-S4UUN6LD.js";
9
+ import {
10
+ __name
11
+ } from "./chunk-ZVVMGPBJ.js";
12
+
13
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/names.js
14
+ var pascal = /* @__PURE__ */ __name((text) => text.split(/[^A-Za-z0-9]+/).filter(Boolean).map((word) => word[0]?.toUpperCase() + word.slice(1)).join(""), "pascal");
15
+ var GLOBALS = /* @__PURE__ */ new Set([
16
+ "Array",
17
+ "BigInt",
18
+ "Boolean",
19
+ "Date",
20
+ "Error",
21
+ "Function",
22
+ "Intl",
23
+ "JSON",
24
+ "Map",
25
+ "Math",
26
+ "Number",
27
+ "Object",
28
+ "Partial",
29
+ "Promise",
30
+ "Proxy",
31
+ "Record",
32
+ "Reflect",
33
+ "RegExp",
34
+ "Required",
35
+ "Set",
36
+ "String",
37
+ "Symbol",
38
+ "URL",
39
+ "WeakMap",
40
+ "WeakSet"
41
+ ]);
42
+ var identifier = /* @__PURE__ */ __name((id) => {
43
+ const name = pascal(id);
44
+ if (!/^[A-Za-z]/.test(name))
45
+ return `Schema${name}`;
46
+ return GLOBALS.has(name) ? `Api${name}` : name;
47
+ }, "identifier");
48
+
49
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/selection.js
50
+ var graphqlDocument = /* @__PURE__ */ __name((binding, selection = binding.selection) => {
51
+ const variables = Object.entries(binding.variables);
52
+ const declared = variables.length ? `(${variables.map(([name, type]) => `$${name}: ${type}`).join(", ")})` : "";
53
+ const passed = variables.length ? `(${variables.map(([name]) => `${name}: $${name}`).join(", ")})` : "";
54
+ const inner = selection.trim() ? ` { ${selection.trim()} }` : "";
55
+ return `${binding.operation} ${binding.field[0]?.toUpperCase()}${binding.field.slice(1)}${declared} { ${binding.field}${passed}${inner} }`;
56
+ }, "graphqlDocument");
57
+
58
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/sign-in.js
59
+ var BEARER = { in: "header", name: "authorization", value: /* @__PURE__ */ __name((token) => `Bearer ${token}`, "value") };
60
+ var signInPlace = /* @__PURE__ */ __name((scheme) => {
61
+ if (scheme.type === "apiKey") {
62
+ if (!scheme.name || scheme.in !== "header" && scheme.in !== "query")
63
+ return void 0;
64
+ return {
65
+ in: scheme.in,
66
+ name: scheme.in === "header" ? scheme.name.toLowerCase() : scheme.name,
67
+ value: /* @__PURE__ */ __name((token) => token, "value")
68
+ };
69
+ }
70
+ if (scheme.type === "http") {
71
+ if (!scheme.scheme || /^bearer$/i.test(scheme.scheme))
72
+ return BEARER;
73
+ if (/^basic$/i.test(scheme.scheme))
74
+ return {
75
+ in: "header",
76
+ name: "authorization",
77
+ value: /* @__PURE__ */ __name((token) => `Basic ${Buffer.from(token).toString("base64")}`, "value"),
78
+ basic: true
79
+ };
80
+ if (/^digest$/i.test(scheme.scheme))
81
+ return void 0;
82
+ return { in: "header", name: "authorization", value: /* @__PURE__ */ __name((token) => `${scheme.scheme} ${token}`, "value") };
83
+ }
84
+ return scheme.type === "oauth2" || scheme.type === "openIdConnect" ? BEARER : void 0;
85
+ }, "signInPlace");
86
+ var signInRequirements = /* @__PURE__ */ __name((operation, document) => {
87
+ const requirements = operation.security ?? document;
88
+ return requirements?.some((one) => Object.keys(one).length > 0) ? requirements : void 0;
89
+ }, "signInRequirements");
90
+
91
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
92
+ var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
93
+ var INTEGER = /^-?\d+$/;
94
+ var INT64_MIN = -(2n ** 63n);
95
+ var INT64_MAX = 2n ** 63n - 1n;
96
+ var digitsOf = /* @__PURE__ */ __name((input) => {
97
+ if (isLossless(input))
98
+ return INTEGER.test(input.value) ? input.value : void 0;
99
+ if (typeof input === "bigint")
100
+ return input.toString();
101
+ if (typeof input === "number" && Number.isSafeInteger(input))
102
+ return String(input);
103
+ return void 0;
104
+ }, "digitsOf");
105
+ var inRange = /* @__PURE__ */ __name((value, { minimum, maximum }) => (minimum === void 0 || value >= minimum) && (maximum === void 0 || value <= maximum), "inRange");
106
+ var int64 = /* @__PURE__ */ __name((range = {}) => pipe(custom((input) => digitsOf(input) !== void 0, "expected an integer"), transform((input) => digitsOf(input)), check((digits) => {
107
+ const value = BigInt(digits);
108
+ return value >= INT64_MIN && value <= INT64_MAX && inRange(value, range);
109
+ }, "integer out of range")), "int64");
110
+ var integer = /* @__PURE__ */ __name((range = {}) => pipe(custom((input) => {
111
+ const digits = digitsOf(input);
112
+ return digits !== void 0 && Number.isSafeInteger(Number(digits));
113
+ }, "expected an integer within \xB12^53"), transform((input) => Number(digitsOf(input))), check((value) => inRange(value, range), "integer out of range")), "integer");
114
+
115
+ export {
116
+ identifier,
117
+ graphqlDocument,
118
+ signInPlace,
119
+ signInRequirements,
120
+ int64,
121
+ integer
122
+ };
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-RLNPTES2.js";
11
+ } from "./chunk-V57E7PJQ.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -1,5 +1,9 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ helpOptionOf,
5
+ rejectUnknownOption
6
+ } from "./chunk-WOPVBRPV.js";
3
7
  import {
4
8
  Command,
5
9
  InvalidArgumentError,
@@ -8,10 +12,10 @@ import {
8
12
  annotateOption,
9
13
  listOf,
10
14
  sharedCommand
11
- } from "./chunk-ZERQSELP.js";
15
+ } from "./chunk-H6AH45GE.js";
12
16
  import {
13
17
  readMoment
14
- } from "./chunk-CU76ZACK.js";
18
+ } from "./chunk-L45WN3AR.js";
15
19
  import {
16
20
  BACKENDS,
17
21
  EVENT_QUERY,
@@ -51,15 +55,15 @@ import {
51
55
  validateMeetingHitSearch,
52
56
  validateMeetingPassage,
53
57
  validateQuery
54
- } from "./chunk-UVGJL753.js";
58
+ } from "./chunk-RQORQN2V.js";
55
59
  import {
56
60
  CliError
57
- } from "./chunk-AP3CWDRK.js";
61
+ } from "./chunk-S6JG4YUH.js";
58
62
  import {
59
63
  __name
60
64
  } from "./chunk-ZVVMGPBJ.js";
61
65
 
62
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/moment.js
66
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/moment.js
63
67
  var read = /* @__PURE__ */ __name((reference, flag, now, at) => {
64
68
  const found = readMoment(reference, flag, { ...at, now });
65
69
  if (found === void 0)
@@ -88,7 +92,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
88
92
  };
89
93
  }, "dateWindow");
90
94
 
91
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
95
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
92
96
  var REMOTE_READ = { remote: "read", local: "read" };
93
97
  var REMOTE_WRITE = { remote: "write", local: "write" };
94
98
  var minutes = /* @__PURE__ */ __name((text) => {
@@ -193,18 +197,18 @@ var addMeetingManagementCommands = /* @__PURE__ */ __name((group, deps) => {
193
197
  }).description("the invitation text the service writes for a meeting"))).action(async (id, _flags, command) => inRun(command, async () => print({ item: { ...await management.invitation(id, signalled()), untrusted: ["invitation"] } }, command)));
194
198
  }, "addMeetingManagementCommands");
195
199
 
196
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
200
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
197
201
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
198
202
  command.allowUnknownOption();
199
203
  const parse = command.parseOptions.bind(command);
200
204
  command.parseOptions = (args) => {
201
205
  const parsed = parse(args);
202
206
  const end = parsed.unknown.indexOf("--");
203
- const help = command._getHelpOption();
207
+ const help = helpOptionOf(command);
204
208
  const typo = parsed.unknown.slice(0, end < 0 ? void 0 : end).find((word) => word.startsWith("--") && !help?.is(word));
205
209
  if (typo !== void 0) {
206
210
  command.allowUnknownOption(false);
207
- command.unknownOption(typo);
211
+ rejectUnknownOption(command, typo);
208
212
  }
209
213
  if (end >= 0)
210
214
  parsed.unknown.splice(end, 1);
@@ -213,7 +217,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
213
217
  return command;
214
218
  }, "queryWordsAfterOptions");
215
219
 
216
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
220
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
217
221
  var count = /* @__PURE__ */ __name((value) => {
218
222
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
219
223
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -255,7 +259,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
255
259
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
256
260
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
257
261
 
258
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
262
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
259
263
  var integer = /* @__PURE__ */ __name((value) => {
260
264
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
261
265
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -278,7 +282,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
278
282
  }, "addMeetingProjectEvidenceCommandDefinition");
279
283
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
280
284
 
281
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
285
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
282
286
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
283
287
  const { since, until, meta } = dateWindow(end ? { untilTime: value, names: [flag, flag] } : { sinceTime: value, names: [flag, flag] });
284
288
  if (meta.timezone)
@@ -357,7 +361,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
357
361
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
358
362
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
359
363
 
360
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
364
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
361
365
  var EVENT_UNTRUSTED = ["title", "description", "location"];
362
366
  var integer3 = /* @__PURE__ */ __name((text) => {
363
367
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
@@ -543,7 +547,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
543
547
  }, "addMeetingCommandsDefinition");
544
548
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
545
549
 
546
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/list-query.js
550
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/list-query.js
547
551
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
548
552
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
549
553
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -690,7 +694,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
690
694
  var queryHelp = /* @__PURE__ */ __name((registry) => `
691
695
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
692
696
 
693
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/ports/messenger.js
697
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/ports/messenger.js
694
698
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
695
699
  get: /* @__PURE__ */ __name((own, key) => {
696
700
  if (key in own)
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-UVGJL753.js";
5
+ } from "./chunk-RQORQN2V.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-AP3CWDRK.js";
8
+ } from "./chunk-S6JG4YUH.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-H4W2OO35.js";
5
+ } from "./chunk-GGMAIIVE.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-AP3CWDRK.js";
8
+ } from "./chunk-S6JG4YUH.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-T5XTYL7L.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-NBAY7FR2.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-FBCEHPNT.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-2SWWGW6H.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,18 +4,18 @@ import {
4
4
  PLAIN_HTTP_REFUSED,
5
5
  modelAddressAllowed,
6
6
  onThisComputer
7
- } from "./chunk-5WDNG4QE.js";
7
+ } from "./chunk-7Z53MLQP.js";
8
8
  import {
9
9
  unit
10
- } from "./chunk-JFLKTYH5.js";
10
+ } from "./chunk-KVTNYRDO.js";
11
11
  import {
12
12
  readSharedSection,
13
13
  sharedConfigPath,
14
14
  writeSharedSection
15
- } from "./chunk-MJ24YFXZ.js";
15
+ } from "./chunk-TTF5DP4V.js";
16
16
  import {
17
17
  storePath
18
- } from "./chunk-2VUIJ5XB.js";
18
+ } from "./chunk-L72WUJAS.js";
19
19
  import {
20
20
  boolean,
21
21
  isoTimestamp,
@@ -26,15 +26,15 @@ import {
26
26
  } from "./chunk-S4UUN6LD.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-AP3CWDRK.js";
29
+ } from "./chunk-S6JG4YUH.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
35
35
  import { setTimeout } from "node:timers/promises";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/models/local-only.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/models/local-only.js
38
38
  var SECTION = "local_only";
39
39
  var Setting = strictObject({
40
40
  on: boolean(),
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
68
68
  refuseOffComputer(env, address, what);
69
69
  }, "refuseModelAddress");
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
72
72
  var OPENAI_URL = "https://api.openai.com/v1";
73
73
  var OPENAI_MODELS = {
74
74
  "text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
8
8
  var fields = /* @__PURE__ */ new WeakMap();
9
9
  var readsStdin = /* @__PURE__ */ __name((command, field) => {
10
10
  fields.set(command, field);
@@ -5,31 +5,31 @@ import {
5
5
  isNewer,
6
6
  readNoticeState,
7
7
  writeUpdateState
8
- } from "./chunk-DIKUPU3T.js";
8
+ } from "./chunk-HZ3C4WXD.js";
9
9
  import {
10
10
  executableEnvironment,
11
11
  executableOnPath
12
- } from "./chunk-3WG4MTQI.js";
12
+ } from "./chunk-TY7NDMFY.js";
13
13
  import {
14
14
  Command,
15
15
  Option,
16
16
  annotate
17
- } from "./chunk-ZERQSELP.js";
17
+ } from "./chunk-H6AH45GE.js";
18
18
  import {
19
19
  require_cross_spawn
20
20
  } from "./chunk-D72URWJE.js";
21
21
  import {
22
22
  refuseOwnerHomeInTests
23
- } from "./chunk-2K5BAY32.js";
23
+ } from "./chunk-5JKTVAXX.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-AP3CWDRK.js";
26
+ } from "./chunk-S6JG4YUH.js";
27
27
  import {
28
28
  __name,
29
29
  __toESM
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
32
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
33
33
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
34
34
  import { homedir } from "node:os";
35
35
  import { basename, dirname, join, relative, resolve, sep } from "node:path";
@@ -29,12 +29,12 @@ import {
29
29
  errorCodes,
30
30
  isCliError,
31
31
  visibleControls
32
- } from "./chunk-AP3CWDRK.js";
32
+ } from "./chunk-S6JG4YUH.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
37
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
38
38
  var EXIT_CODES = {
39
39
  validation_error: 2,
40
40
  configuration_error: 3,
@@ -55,7 +55,7 @@ var EXIT_CODES = {
55
55
  var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
56
56
  var GENERIC_FAILURE = 1;
57
57
 
58
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
58
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
59
59
  var EFFECT_LEVELS = ["none", "read", "write"];
60
60
  var effectsSchema = strictObject({
61
61
  remote: picklist(EFFECT_LEVELS),
@@ -692,7 +692,7 @@ function toStandardJsonSchema(schema) {
692
692
  }
693
693
  __name(toStandardJsonSchema, "toStandardJsonSchema");
694
694
 
695
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
695
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
696
696
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
697
697
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
698
698
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -734,7 +734,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
734
734
  return String(value);
735
735
  }), "fill");
736
736
 
737
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
737
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
738
738
  var MAX_NEXT_STEPS = 2;
739
739
  var COMPACT_FLAG = "--compact";
740
740
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -879,7 +879,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
879
879
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
880
880
  ].join("\n"), "jsonlOf");
881
881
 
882
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
882
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
883
883
  var CRASH_CODE = "internal_error";
884
884
  var CRASH_REASON = "command.crashed";
885
885
  var errorObjectSchema = strictObject({
@@ -978,7 +978,7 @@ var BASE_REASONS = defineReasons([
978
978
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
979
979
  ]);
980
980
 
981
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
981
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
982
982
  var SAME_COMMAND = "*";
983
983
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
984
984
  var stepSchema = union([
@@ -1057,7 +1057,7 @@ var STEPS = defineSteps([
1057
1057
  }
1058
1058
  ]);
1059
1059
 
1060
- // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
1060
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
1061
1061
  var recognise = /* @__PURE__ */ __name((failure) => {
1062
1062
  if (isCliError(failure))
1063
1063
  return failure;
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  textModel,
5
5
  vectorModelKey
6
- } from "./chunk-PZ3QJDTD.js";
6
+ } from "./chunk-NA2B6PYR.js";
7
7
  import {
8
8
  OPENAI_URL,
9
9
  openRemote,
10
10
  remoteKey,
11
11
  remoteModel
12
- } from "./chunk-JDCFHZNU.js";
12
+ } from "./chunk-Q32ZDGS2.js";
13
13
  import {
14
14
  endpointFetch
15
- } from "./chunk-5WDNG4QE.js";
15
+ } from "./chunk-7Z53MLQP.js";
16
16
  import {
17
17
  isTextModelInstalled,
18
18
  openEmbedder,
19
19
  textModelsDirectory
20
- } from "./chunk-JFLKTYH5.js";
20
+ } from "./chunk-KVTNYRDO.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-AP3CWDRK.js";
23
+ } from "./chunk-S6JG4YUH.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
29
29
  var integer = /* @__PURE__ */ __name((value, name, max) => {
30
30
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
31
31
  throw new CliError("validation_error", `Invalid ${name}`);