@wirecat/zoom-cli 0.73.0 → 0.75.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 (137) hide show
  1. package/contracts/wirecat.json +5 -4
  2. package/dist/bin/zm.js +2 -2
  3. package/dist/bundle/{all-profiles-V47CUJFK.js → all-profiles-WFLKFKJC.js} +19 -29
  4. package/dist/bundle/answer-policy-XCKC2LLN.js +110 -0
  5. package/dist/bundle/{anthropic-SID7Z3QN.js → anthropic-H45W4P22.js} +2 -2
  6. package/dist/bundle/{app-server-KCMUSY4A.js → app-server-I4FPLBIX.js} +49 -66
  7. package/dist/bundle/{bun-PWMM6L45.js → bun-V5QLYBZU.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-3TLKUN5A.js → bun-sqlite-X2YZPHDS.js} +3 -3
  9. package/dist/bundle/{chunk-PGPHEC2X.js → chunk-2Q4CB4EI.js} +1 -1
  10. package/dist/bundle/{chunk-PACLT6IW.js → chunk-3U3W6YY5.js} +69 -68
  11. package/dist/bundle/{chunk-QVJMFZFW.js → chunk-3URYKAJP.js} +1 -1
  12. package/dist/bundle/{chunk-UYBLNGZ2.js → chunk-3YKAFLXY.js} +1 -1
  13. package/dist/bundle/{chunk-IKNOTHG2.js → chunk-3YRPDNWK.js} +544 -142
  14. package/dist/bundle/{chunk-CMWFYZ45.js → chunk-4J5GJJ2I.js} +1 -1
  15. package/dist/bundle/{chunk-Y3IH7EZC.js → chunk-4XDWV6VJ.js} +16 -16
  16. package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-4YNUQGDP.js} +1 -1
  17. package/dist/bundle/{chunk-35CYSRGJ.js → chunk-532H3KT3.js} +2 -2
  18. package/dist/bundle/{chunk-TI2OANJZ.js → chunk-6XNTELM5.js} +1 -1
  19. package/dist/bundle/chunk-7ZVWV33Z.js +707 -0
  20. package/dist/bundle/{chunk-ERQRY6WZ.js → chunk-A3Q3PG54.js} +1 -1
  21. package/dist/bundle/{chunk-JQF4LM3V.js → chunk-AVCYD4WQ.js} +20 -19
  22. package/dist/bundle/{chunk-P4FU6R3Z.js → chunk-B6Q53CVA.js} +7 -7
  23. package/dist/bundle/{chunk-KSNJK4QM.js → chunk-BY2YPKZZ.js} +12 -12
  24. package/dist/bundle/{chunk-L6YSKCC3.js → chunk-C5WQ57AB.js} +1 -1
  25. package/dist/bundle/{chunk-AIEMFRBU.js → chunk-CAQ5GW3A.js} +1 -1
  26. package/dist/bundle/{chunk-G2TSDMTA.js → chunk-DQBLDZ7M.js} +3 -3
  27. package/dist/bundle/{chunk-ILDGZBZD.js → chunk-DUPFAY35.js} +6 -6
  28. package/dist/bundle/{chunk-GCZMYDKU.js → chunk-ELD5AC7Q.js} +2 -2
  29. package/dist/bundle/{chunk-CIUJEQH4.js → chunk-EOZAJGB4.js} +11 -12
  30. package/dist/bundle/{chunk-VJVYGTPM.js → chunk-F6RB5FHZ.js} +1 -1
  31. package/dist/bundle/{chunk-LVDTSCIN.js → chunk-F7K2V6OA.js} +10 -10
  32. package/dist/bundle/{chunk-4LFFDUUW.js → chunk-FBYGBR4Q.js} +3 -3
  33. package/dist/bundle/{chunk-6AO2RSYH.js → chunk-GPVSGZ4R.js} +1608 -1096
  34. package/dist/bundle/{chunk-2NQPB6MT.js → chunk-GU4FVTJV.js} +17 -1
  35. package/dist/bundle/{chunk-6NI4FE5G.js → chunk-HKPNQL52.js} +3 -3
  36. package/dist/bundle/{chunk-KUL7S5Y3.js → chunk-IDGWBKMH.js} +10 -10
  37. package/dist/bundle/{chunk-QS6DWXDB.js → chunk-IMDTC4MD.js} +34 -20
  38. package/dist/bundle/{chunk-LSVQCI6V.js → chunk-IO3BQ6JU.js} +22 -22
  39. package/dist/bundle/{chunk-V5Q2QKYM.js → chunk-IW245Q5B.js} +23 -25
  40. package/dist/bundle/{chunk-DPSTOVKC.js → chunk-JDTZCZ5K.js} +2 -2
  41. package/dist/bundle/{chunk-JIS34MLC.js → chunk-JTYWSXJG.js} +7 -7
  42. package/dist/bundle/{chunk-K5JFX5TK.js → chunk-K5E5MB4C.js} +18 -18
  43. package/dist/bundle/{chunk-VPPNYUQM.js → chunk-L5UILROP.js} +322 -11
  44. package/dist/bundle/{chunk-DYLYH7VE.js → chunk-LRCSDAYK.js} +3 -3
  45. package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-MHXZ62CU.js} +1 -1
  46. package/dist/bundle/{chunk-OKOJEBHK.js → chunk-MNVT7EJS.js} +2 -2
  47. package/dist/bundle/{chunk-HAMDPWEZ.js → chunk-NE4GYKQA.js} +5 -5
  48. package/dist/bundle/{chunk-PKON63JH.js → chunk-NL6AZ6S2.js} +1 -1
  49. package/dist/bundle/{chunk-N3SOTKXC.js → chunk-NQLL4KRN.js} +5 -5
  50. package/dist/bundle/{chunk-XLY7V2LB.js → chunk-NQQVNLO6.js} +10 -10
  51. package/dist/bundle/{chunk-44YVZIA4.js → chunk-NU4FSSMN.js} +2 -2
  52. package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-OUM4ZO53.js} +1 -1
  53. package/dist/bundle/{chunk-OU5OXA6Q.js → chunk-P4ZQQLZF.js} +1772 -718
  54. package/dist/bundle/{chunk-OMLVWOEF.js → chunk-P6MQ6FS4.js} +184 -16
  55. package/dist/bundle/{chunk-NBA2V6LB.js → chunk-PCJRHC5Y.js} +7 -7
  56. package/dist/bundle/{chunk-G3SIY4MQ.js → chunk-PPM7UTCT.js} +22 -21
  57. package/dist/bundle/{chunk-3ADFJ3UP.js → chunk-PX4IMYVB.js} +2 -2
  58. package/dist/bundle/{chunk-FJMRDRPN.js → chunk-QBKKTTA3.js} +1155 -484
  59. package/dist/bundle/{chunk-ZX4QWTMQ.js → chunk-QEO3XTIE.js} +37 -29
  60. package/dist/bundle/{chunk-FZLJ2G7A.js → chunk-QXQUANWE.js} +4 -4
  61. package/dist/bundle/{chunk-MG2CCAVG.js → chunk-RABCFGT3.js} +2 -2
  62. package/dist/bundle/{chunk-SYIOT45G.js → chunk-RBYVQE3S.js} +4 -4
  63. package/dist/bundle/{chunk-6WUTUCKH.js → chunk-RKI4BGWG.js} +2 -2
  64. package/dist/bundle/{chunk-EXWZCI5G.js → chunk-SEJBS7SI.js} +1 -1
  65. package/dist/bundle/{chunk-LQYMN36C.js → chunk-SR5X7YKB.js} +1 -1
  66. package/dist/bundle/{chunk-KK2IVZUQ.js → chunk-T25PR26L.js} +5 -5
  67. package/dist/bundle/{chunk-ZAIE3G5I.js → chunk-T4FMXDDV.js} +2 -2
  68. package/dist/bundle/{chunk-SO52EJ2W.js → chunk-TSHUBGN4.js} +2 -2
  69. package/dist/bundle/{chunk-OFA22L4G.js → chunk-V3UK6E5B.js} +4 -4
  70. package/dist/bundle/{chunk-Q43KX56Z.js → chunk-VLK3X53X.js} +2 -2
  71. package/dist/bundle/{chunk-Z5XCU4S7.js → chunk-VPSQZ2YR.js} +44 -52
  72. package/dist/bundle/{chunk-QWGEOQHA.js → chunk-VUPWDCYV.js} +1 -1
  73. package/dist/bundle/{chunk-K7EMVFJ7.js → chunk-W2AC2RAG.js} +13 -13
  74. package/dist/bundle/{chunk-UIKVP23D.js → chunk-WQOGHND4.js} +1 -1
  75. package/dist/bundle/{chunk-ETQNHS3A.js → chunk-WUWF4EXZ.js} +6 -6
  76. package/dist/bundle/{chunk-HO3GBTIT.js → chunk-XCJGDPMN.js} +1547 -917
  77. package/dist/bundle/{chunk-2VYEGKQ3.js → chunk-XUHQ7DVT.js} +1 -1
  78. package/dist/bundle/{chunk-IE7YBRUO.js → chunk-Y5J5CAG2.js} +1 -1
  79. package/dist/bundle/{chunk-MOKEB656.js → chunk-ZBYKCVSV.js} +1 -1
  80. package/dist/bundle/{chunk-CQBLPBZU.js → chunk-ZVVRRMLW.js} +98 -6
  81. package/dist/bundle/{cli-4ZYJ6OZE.js → cli-NPRYCWFH.js} +112 -83
  82. package/dist/bundle/command-contract-OJYRKQHR.js +41 -0
  83. package/dist/bundle/{command-server-entry-CASONRIJ.js → command-server-entry-BV4SUPUI.js} +24 -26
  84. package/dist/bundle/config-UMEV24OE.js +97 -0
  85. package/dist/bundle/{decode-KEFCVGEB.js → decode-PRMKCHHC.js} +2 -2
  86. package/dist/bundle/{dist-GCQ7KCKN.js → dist-HGLDGKUW.js} +18 -15
  87. package/dist/bundle/{echarts-SDZA2SWG.js → echarts-QIXLXS3G.js} +2 -2
  88. package/dist/bundle/{embed-43VJEPM6.js → embed-OZN2BIJY.js} +3 -3
  89. package/dist/bundle/{embedder-Q4ZHAGRP.js → embedder-RBDHO6Z6.js} +6 -6
  90. package/dist/bundle/{first-run-CPOLQVNA.js → first-run-HNCD7U3B.js} +6 -6
  91. package/dist/bundle/first-screen-374BBMO6.js +39 -0
  92. package/dist/bundle/{instructions-7T6JJIFS.js → instructions-MD2RZT5Z.js} +1 -1
  93. package/dist/bundle/{main-NA3QVPXS.js → main-FPMCCRIQ.js} +15 -15
  94. package/dist/bundle/{meetings-7CVIQJTA.js → meetings-WYCVHAIP.js} +17 -1
  95. package/dist/bundle/{node-BZDMUFTW.js → node-IEVT2FSJ.js} +2 -2
  96. package/dist/bundle/{node-sqlite-QHGB23B4.js → node-sqlite-O4C6IWSM.js} +4 -4
  97. package/dist/bundle/{oauth-BMEMCM2I.js → oauth-6VXOUXSE.js} +4 -4
  98. package/dist/bundle/{open-JGU2NRJP.js → open-AMUIWV3Y.js} +2 -2
  99. package/dist/bundle/{openai-VTXXFNCS.js → openai-MEDN6FSK.js} +10 -10
  100. package/dist/bundle/{process-756VBE7E.js → process-6Q23D3TO.js} +1 -1
  101. package/dist/bundle/{program-XM6CDIJ2.js → program-CF2NKA2A.js} +84 -87
  102. package/dist/bundle/{prompt-2IPFXJ4B.js → prompt-N3UZE4ZR.js} +2 -2
  103. package/dist/bundle/{recognize-672E2RIB.js → recognize-I5F3K3CZ.js} +1 -1
  104. package/dist/bundle/{remote-YLHRVPDS.js → remote-CJF5KMMY.js} +6 -6
  105. package/dist/bundle/{rerank-NBXQG3OS.js → rerank-6WLY6MKY.js} +4 -4
  106. package/dist/bundle/{run-log-3WITBT2F.js → run-log-FKF4ZX4M.js} +55 -57
  107. package/dist/bundle/{serve-FNLOUMYP.js → serve-FOQJ3WMX.js} +6 -6
  108. package/dist/bundle/server-BAGY5HEZ.js +74 -0
  109. package/dist/bundle/{server-7ZB5AK5H.js → server-OEEGRSQD.js} +47 -47
  110. package/dist/bundle/{services-Z4UWN64R.js → services-Q6SFESMS.js} +43 -28
  111. package/dist/bundle/{speech-XSYVCKR3.js → speech-PBVEIG4N.js} +12 -12
  112. package/dist/bundle/{sqlite-runtime-GAPXJNWU.js → sqlite-runtime-IWR65V6I.js} +3 -3
  113. package/dist/bundle/{state-QSA53EF5.js → state-G54C2N6U.js} +3 -3
  114. package/dist/bundle/{store-NOF5EYUC.js → store-7EWMPTTW.js} +20 -16
  115. package/dist/bundle/{store-EKI4OAJH.js → store-D5OLXIFW.js} +14 -14
  116. package/dist/bundle/store-connection-34747SCC.js +90 -0
  117. package/dist/bundle/store-maintenance-command-QBO67F7Z.js +65 -0
  118. package/dist/bundle/{tokens-WJQYQ3FK.js → tokens-J7TFHLEG.js} +4 -4
  119. package/dist/bundle/zm.js +2 -2
  120. package/dist/bundle/{zoom-app-Y7RMWLVU.js → zoom-app-SULPMVN4.js} +2 -2
  121. package/dist/recording-schedule-commands.d.ts.map +1 -1
  122. package/dist/recording-schedule-commands.js +2 -2
  123. package/dist/recording-schedule-commands.js.map +1 -1
  124. package/dist/version.d.ts +1 -1
  125. package/dist/version.js +1 -1
  126. package/package.json +2 -2
  127. package/dist/bundle/answer-policy-W6H72X2R.js +0 -112
  128. package/dist/bundle/chunk-2BAZRRJP.js +0 -1239
  129. package/dist/bundle/chunk-KQD4ZVNC.js +0 -153
  130. package/dist/bundle/chunk-R5FTCNLJ.js +0 -76
  131. package/dist/bundle/chunk-USIMMGWS.js +0 -997
  132. package/dist/bundle/command-contract-FJDDCHYP.js +0 -43
  133. package/dist/bundle/config-4DZHX2WX.js +0 -99
  134. package/dist/bundle/first-screen-XYESRGWW.js +0 -41
  135. package/dist/bundle/server-GGRGD4SH.js +0 -77
  136. package/dist/bundle/store-connection-2OZQGEIO.js +0 -92
  137. package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +0 -67
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
8
8
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
9
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
10
 
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/http/time-limit.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/http/time-limit.js
8
8
  var timeLimit = /* @__PURE__ */ __name((ms) => {
9
9
  const controller = new AbortController();
10
10
  const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  import { readFileSync } from "node:fs";
12
12
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
13
13
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -18,7 +18,7 @@ import {
18
18
  isJSONRPCRequest,
19
19
  isJSONRPCResultResponse,
20
20
  modernOnlyStrictRejection,
21
- process,
21
+ process as process2,
22
22
  requestMetaOf,
23
23
  serializeMessage,
24
24
  serverIdentityOf,
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-ILDGZBZD.js";
32
+ } from "./chunk-DUPFAY35.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -43,7 +43,7 @@ var StdioServerTransport = class {
43
43
  _readBuffer;
44
44
  _started = false;
45
45
  _closed = false;
46
- constructor(_stdin = process.stdin, _stdout = process.stdout, options) {
46
+ constructor(_stdin = process2.stdin, _stdout = process2.stdout, options) {
47
47
  this._stdin = _stdin;
48
48
  this._stdout = _stdout;
49
49
  this._readBuffer = new ReadBuffer({ maxBufferSize: options?.maxBufferSize });
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -567,7 +567,7 @@ var callerOf = /* @__PURE__ */ __name((ctx, tool, source) => {
567
567
  const meta = ctx?.mcpReq?._meta;
568
568
  const requestId = ctx?.mcpReq?.id;
569
569
  const initialized = source.client?.();
570
- const proxied = initialized?.name === PROXY_CLIENT_NAME ? passedOn(meta?.[CALLER_META_KEY], tool) : void 0;
570
+ const proxied = initialized?.name === PROXY_CLIENT_NAME && !ctx?.http ? passedOn(meta?.[CALLER_META_KEY], tool) : void 0;
571
571
  if (proxied)
572
572
  return proxied;
573
573
  const client = clientFrom(meta?.[CLIENT_INFO_META_KEY]) ?? clientFrom(initialized);
@@ -629,11 +629,103 @@ var passedOn = /* @__PURE__ */ __name((value, tool) => {
629
629
  };
630
630
  }, "passedOn");
631
631
 
632
+ // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
633
+ import { PassThrough, Writable } from "node:stream";
634
+ var lineReader = /* @__PURE__ */ __name((onMessage) => {
635
+ let rest = "";
636
+ return (chunk) => {
637
+ const lines = (rest + chunk.toString()).split("\n");
638
+ rest = lines.pop() ?? "";
639
+ for (const line of lines) {
640
+ try {
641
+ const message = JSON.parse(line);
642
+ if (message !== null && typeof message === "object")
643
+ onMessage(message);
644
+ } catch {
645
+ }
646
+ }
647
+ };
648
+ }, "lineReader");
649
+ var answeredWire = /* @__PURE__ */ __name((source, sink) => {
650
+ const asked = /* @__PURE__ */ new Set();
651
+ let settle;
652
+ const input = new PassThrough();
653
+ const answeredOne = /* @__PURE__ */ __name((id) => {
654
+ asked.delete(JSON.stringify(id));
655
+ if (asked.size === 0)
656
+ settle?.();
657
+ }, "answeredOne");
658
+ const onData = lineReader(({ jsonrpc, id, method, params }) => {
659
+ if (jsonrpc !== "2.0" || typeof method !== "string")
660
+ return;
661
+ if (method === "notifications/cancelled")
662
+ answeredOne(params?.requestId);
663
+ else if (id !== void 0)
664
+ asked.add(JSON.stringify(id));
665
+ });
666
+ const output = new Writable({
667
+ write: /* @__PURE__ */ __name((chunk, _encoding, done) => {
668
+ noteAnswer(chunk);
669
+ sink.write(chunk, done);
670
+ }, "write")
671
+ });
672
+ const noteAnswer = lineReader(({ id, method }) => {
673
+ if (id !== void 0 && method === void 0)
674
+ answeredOne(id);
675
+ });
676
+ const forward = /* @__PURE__ */ __name((chunk) => {
677
+ onData(chunk);
678
+ input.write(chunk);
679
+ }, "forward");
680
+ source.on("data", forward);
681
+ const ended = new Promise((resolve) => {
682
+ source.once("end", resolve);
683
+ source.once("close", resolve);
684
+ });
685
+ return {
686
+ input,
687
+ output,
688
+ /**
689
+ * Until the client's stdin ended and everything it asked was answered, or until a stop: `signal` for a session
690
+ * relayed on other streams, SIGINT or SIGTERM for this process's own. A stop never waits for answers.
691
+ */
692
+ finished: /* @__PURE__ */ __name((signal) => new Promise((resolve) => {
693
+ const stop = /* @__PURE__ */ __name(() => {
694
+ process.off("SIGINT", stop);
695
+ process.off("SIGTERM", stop);
696
+ resolve();
697
+ }, "stop");
698
+ if (signal) {
699
+ if (signal.aborted)
700
+ return resolve();
701
+ signal.addEventListener("abort", stop, { once: true });
702
+ } else {
703
+ process.once("SIGINT", stop);
704
+ process.once("SIGTERM", stop);
705
+ }
706
+ ended.then(() => {
707
+ if (asked.size === 0)
708
+ stop();
709
+ else
710
+ settle = stop;
711
+ });
712
+ }), "finished"),
713
+ /** Lets go of the real stdin, so it no longer holds the process open. */
714
+ release: /* @__PURE__ */ __name(() => {
715
+ source.off("data", forward);
716
+ if (source.listenerCount("data") === 0)
717
+ source.pause();
718
+ input.end();
719
+ }, "release")
720
+ };
721
+ }, "answeredWire");
722
+
632
723
  export {
633
724
  StdioServerTransport,
634
725
  serveStdio,
635
726
  callingAgent,
636
727
  CALLER_META_KEY,
637
728
  PROXY_CLIENT_NAME,
638
- callerOf
729
+ callerOf,
730
+ answeredWire
639
731
  };
@@ -8,8 +8,13 @@ import {
8
8
  CONTRACT,
9
9
  DISCOVERY_DESCRIPTIONS,
10
10
  DOCTOR_DEEP_OPTION,
11
+ DOCUMENTS_LIST_QUERY,
11
12
  HARNESSES,
13
+ LISTING_ENTITIES,
12
14
  MCP_HTTP_DEFAULT_PORT,
15
+ MEETINGS_AHEAD_DAYS,
16
+ MEETINGS_LIST_QUERY,
17
+ MEETINGS_RECENT_DAYS,
13
18
  MEMO_SCENARIOS,
14
19
  MODEL_CATALOGUE_QUERY,
15
20
  PROVIDER_LOG_BYTES,
@@ -45,6 +50,7 @@ import {
45
50
  appDoctorCommand,
46
51
  appDoctorReport,
47
52
  appMcpCommand,
53
+ askBeforeWrite,
48
54
  attachmentsCommand,
49
55
  backfillScheduleRun,
50
56
  baseStagesCommand,
@@ -90,6 +96,10 @@ import {
90
96
  describeWhen,
91
97
  doctorCommand,
92
98
  doctorReportsCommand,
99
+ documentEntry,
100
+ documentEntryDetails,
101
+ documentListRequest,
102
+ documentSource,
93
103
  editCommand,
94
104
  entityFields,
95
105
  evaluateAgent,
@@ -108,6 +118,8 @@ import {
108
118
  harnessInfo,
109
119
  harnessOfArgv,
110
120
  harnessesOn,
121
+ httpApiExecutor,
122
+ httpApiRequest,
111
123
  httpTokenFile,
112
124
  imagesCommand,
113
125
  inSection,
@@ -125,7 +137,10 @@ import {
125
137
  mayRevoke,
126
138
  mcpCommand,
127
139
  mcpServerCommand,
140
+ meetingEntry,
141
+ meetingEntryDetails,
128
142
  meetingEvidenceItem,
143
+ meetingListRequest,
129
144
  meetingPersonContextItem,
130
145
  meetingPreparationAnswer,
131
146
  meetingPreparationInput,
@@ -230,16 +245,16 @@ import {
230
245
  writeNewFile,
231
246
  writeProviderWarning,
232
247
  writeSchedule
233
- } from "./chunk-6AO2RSYH.js";
248
+ } from "./chunk-GPVSGZ4R.js";
234
249
  import {
235
250
  openBrowser,
236
251
  startCli
237
- } from "./chunk-LVDTSCIN.js";
252
+ } from "./chunk-F7K2V6OA.js";
238
253
  import {
239
254
  privateFiles,
240
255
  withSqliteSidecars
241
- } from "./chunk-L6YSKCC3.js";
242
- import "./chunk-TI2OANJZ.js";
256
+ } from "./chunk-C5WQ57AB.js";
257
+ import "./chunk-6XNTELM5.js";
243
258
  import {
244
259
  allAnswer,
245
260
  allHitItem,
@@ -249,10 +264,10 @@ import {
249
264
  refuseOffline,
250
265
  registerLinkConversationsPrompt,
251
266
  shownOf
252
- } from "./chunk-ZX4QWTMQ.js";
267
+ } from "./chunk-QEO3XTIE.js";
253
268
  import {
254
269
  botInstructions
255
- } from "./chunk-EXWZCI5G.js";
270
+ } from "./chunk-SEJBS7SI.js";
256
271
  import {
257
272
  UNTRUSTED,
258
273
  UNTRUSTED_INSTRUCTION,
@@ -260,7 +275,7 @@ import {
260
275
  agentBody,
261
276
  agentJson,
262
277
  agentResult
263
- } from "./chunk-CIUJEQH4.js";
278
+ } from "./chunk-EOZAJGB4.js";
264
279
  import {
265
280
  DAY_MS,
266
281
  FIRST_FETCH_MS,
@@ -290,7 +305,7 @@ import {
290
305
  storeRecoveryRun,
291
306
  storeSummary,
292
307
  watchOutdated
293
- } from "./chunk-PACLT6IW.js";
308
+ } from "./chunk-3U3W6YY5.js";
294
309
  import {
295
310
  commandPathKey,
296
311
  commandPermissions,
@@ -303,31 +318,13 @@ import {
303
318
  terminalAsker,
304
319
  unknownPermissionIssues,
305
320
  unknownPermissionKeys
306
- } from "./chunk-G3SIY4MQ.js";
321
+ } from "./chunk-PPM7UTCT.js";
307
322
  import {
308
323
  COMMAND_NEEDS,
309
- LIST_QUERY_GUIDE,
310
- commandPath,
311
- listQuery,
312
- nativeField,
313
- nativeTermLists,
314
- nativeTerms,
315
- negatableOf,
316
- pageOf,
317
- pagedList,
318
324
  positiveCount,
319
- queryArgument,
320
- queryHelp,
321
- queryTerms,
322
- searchText,
323
- termField,
324
- timeBounds,
325
- typedQuery,
326
- unfilteredQuery,
327
325
  window,
328
- withPaging,
329
- withQuery
330
- } from "./chunk-2BAZRRJP.js";
326
+ withPaging
327
+ } from "./chunk-7ZVWV33Z.js";
331
328
  import {
332
329
  WIRECAT_TOOLS,
333
330
  commandHelp,
@@ -337,53 +334,71 @@ import {
337
334
  firstScreen,
338
335
  installHelp,
339
336
  nextUsually
340
- } from "./chunk-FZLJ2G7A.js";
337
+ } from "./chunk-QXQUANWE.js";
341
338
  import {
342
339
  askSetupQuestions,
343
340
  asksAtStart,
344
341
  setupAtStart,
345
342
  systemLanguage
346
- } from "./chunk-XLY7V2LB.js";
347
- import "./chunk-Q43KX56Z.js";
343
+ } from "./chunk-NQQVNLO6.js";
344
+ import "./chunk-VLK3X53X.js";
348
345
  import {
349
346
  failureContext
350
- } from "./chunk-2NQPB6MT.js";
351
- import "./chunk-PKON63JH.js";
347
+ } from "./chunk-GU4FVTJV.js";
348
+ import "./chunk-NL6AZ6S2.js";
352
349
  import "./chunk-HTQTIKWP.js";
353
- import "./chunk-OFA22L4G.js";
350
+ import "./chunk-V3UK6E5B.js";
354
351
  import {
355
352
  servingProfiles
356
- } from "./chunk-3ADFJ3UP.js";
353
+ } from "./chunk-PX4IMYVB.js";
357
354
  import {
358
355
  INBOX_CHATS,
356
+ LIST_QUERY_GUIDE,
359
357
  REVIEW_CHATS,
360
358
  TASK_PAIR_QUERY,
361
359
  TASK_QUERY,
360
+ commandPath,
362
361
  dateWindow,
362
+ listQuery,
363
363
  momentOf,
364
+ nativeField,
365
+ nativeTermLists,
366
+ nativeTerms,
367
+ negatableOf,
364
368
  newIn,
365
369
  openRequestTask,
370
+ pageOf,
371
+ pagedList,
372
+ queryArgument,
373
+ queryHelp,
374
+ queryTerms,
366
375
  reviewIn,
376
+ searchText,
377
+ termField,
378
+ timeBounds,
379
+ typedQuery,
367
380
  unanswered,
381
+ unfilteredQuery,
368
382
  unreadIn,
383
+ withQuery,
369
384
  withoutPhone
370
- } from "./chunk-OU5OXA6Q.js";
371
- import "./chunk-IE7YBRUO.js";
372
- import "./chunk-K7EMVFJ7.js";
385
+ } from "./chunk-P4ZQQLZF.js";
386
+ import "./chunk-Y5J5CAG2.js";
387
+ import "./chunk-W2AC2RAG.js";
373
388
  import "./chunk-FT7X74RT.js";
374
389
  import "./chunk-FIVFP53N.js";
375
- import "./chunk-ETQNHS3A.js";
376
- import "./chunk-35CYSRGJ.js";
377
- import "./chunk-JIS34MLC.js";
378
- import "./chunk-Y3IH7EZC.js";
379
- import "./chunk-HAMDPWEZ.js";
380
- import "./chunk-KK2IVZUQ.js";
381
- import "./chunk-2VYEGKQ3.js";
382
- import "./chunk-PJ3FKBXG.js";
390
+ import "./chunk-WUWF4EXZ.js";
391
+ import "./chunk-532H3KT3.js";
392
+ import "./chunk-JTYWSXJG.js";
393
+ import "./chunk-4XDWV6VJ.js";
394
+ import "./chunk-NE4GYKQA.js";
395
+ import "./chunk-T25PR26L.js";
396
+ import "./chunk-XUHQ7DVT.js";
397
+ import "./chunk-MHXZ62CU.js";
383
398
  import {
384
399
  SCHEMA_DIALECT,
385
400
  commandContract
386
- } from "./chunk-G2TSDMTA.js";
401
+ } from "./chunk-DQBLDZ7M.js";
387
402
  import {
388
403
  AI_ENTRIES,
389
404
  AI_SETTING_KEYS,
@@ -458,6 +473,7 @@ import {
458
473
  outputFor,
459
474
  overrideSharedContract,
460
475
  ownerOnlyOption,
476
+ parseDuration,
461
477
  personContext,
462
478
  plain,
463
479
  previewFlag,
@@ -506,44 +522,41 @@ import {
506
522
  withSettingDefaults,
507
523
  withoutSetting,
508
524
  writesFileOnlyWith,
509
- writesNewFileOnlyWith
510
- } from "./chunk-FJMRDRPN.js";
525
+ writesNewFileOnlyWith,
526
+ writesOwnerFiles
527
+ } from "./chunk-QBKKTTA3.js";
528
+ import {
529
+ envName,
530
+ readOnlyLockOf,
531
+ readOnlyRefusal
532
+ } from "./chunk-ZBYKCVSV.js";
511
533
  import {
512
534
  providerErrorKey,
513
535
  renderEvent,
514
536
  runContextOf,
515
537
  secretInput
516
- } from "./chunk-ILDGZBZD.js";
538
+ } from "./chunk-DUPFAY35.js";
517
539
  import {
518
540
  readSetupAnswers,
519
541
  setupPermissionCeiling
520
- } from "./chunk-6NI4FE5G.js";
542
+ } from "./chunk-HKPNQL52.js";
521
543
  import {
522
544
  fieldsOf,
523
545
  projectFields
524
- } from "./chunk-KQD4ZVNC.js";
525
- import "./chunk-UIKVP23D.js";
526
- import {
527
- parseDuration
528
- } from "./chunk-USIMMGWS.js";
529
- import {
530
- envName,
531
- readOnlyLockOf,
532
- readOnlyRefusal
533
- } from "./chunk-MOKEB656.js";
534
- import "./chunk-OMLVWOEF.js";
535
- import "./chunk-LQYMN36C.js";
546
+ } from "./chunk-P6MQ6FS4.js";
547
+ import "./chunk-WQOGHND4.js";
548
+ import "./chunk-SR5X7YKB.js";
536
549
  import "./chunk-MAE5UGRQ.js";
537
- import "./chunk-6WUTUCKH.js";
538
- import "./chunk-4LFFDUUW.js";
539
- import "./chunk-ZAIE3G5I.js";
550
+ import "./chunk-RKI4BGWG.js";
551
+ import "./chunk-FBYGBR4Q.js";
552
+ import "./chunk-T4FMXDDV.js";
540
553
  import {
541
554
  MAX_BUFFERED_INPUT,
542
555
  MAX_SECRET_INPUT,
543
556
  bufferedInput,
544
557
  inputPolicy,
545
558
  provideInputPolicy
546
- } from "./chunk-PGPHEC2X.js";
559
+ } from "./chunk-2Q4CB4EI.js";
547
560
  import {
548
561
  PROFILE_PLACEHOLDER,
549
562
  mailFindingFieldsHelp,
@@ -552,12 +565,12 @@ import {
552
565
  refLabel,
553
566
  storedProfilesFor,
554
567
  writesWithOf
555
- } from "./chunk-HO3GBTIT.js";
568
+ } from "./chunk-XCJGDPMN.js";
556
569
  import {
557
570
  LANGUAGES
558
- } from "./chunk-NBA2V6LB.js";
559
- import "./chunk-K5JFX5TK.js";
560
- import "./chunk-KHBZ4OEP.js";
571
+ } from "./chunk-PCJRHC5Y.js";
572
+ import "./chunk-K5E5MB4C.js";
573
+ import "./chunk-4YNUQGDP.js";
561
574
  import {
562
575
  KEEP_RUNS_FOR_DAYS,
563
576
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
@@ -575,25 +588,25 @@ import {
575
588
  startRun,
576
589
  useAsProcessRun,
577
590
  withAttempt
578
- } from "./chunk-LSVQCI6V.js";
591
+ } from "./chunk-IO3BQ6JU.js";
579
592
  import {
580
593
  isCliFailure,
581
594
  isCommanderFailure,
582
595
  storeDamaged
583
- } from "./chunk-UYBLNGZ2.js";
584
- import "./chunk-QS6DWXDB.js";
585
- import "./chunk-QWGEOQHA.js";
586
- import "./chunk-VPPNYUQM.js";
587
- import "./chunk-QVJMFZFW.js";
596
+ } from "./chunk-3YKAFLXY.js";
597
+ import "./chunk-IMDTC4MD.js";
598
+ import "./chunk-VUPWDCYV.js";
599
+ import "./chunk-L5UILROP.js";
600
+ import "./chunk-3URYKAJP.js";
588
601
  import "./chunk-M4OP5ASJ.js";
589
602
  import "./chunk-D72URWJE.js";
590
- import "./chunk-ERQRY6WZ.js";
591
- import "./chunk-OKOJEBHK.js";
592
- import "./chunk-N3SOTKXC.js";
593
- import "./chunk-ZVQDOKDY.js";
603
+ import "./chunk-A3Q3PG54.js";
604
+ import "./chunk-MNVT7EJS.js";
605
+ import "./chunk-NQLL4KRN.js";
606
+ import "./chunk-OUM4ZO53.js";
594
607
  import {
595
608
  MEETING_RESULT_ENTITIES
596
- } from "./chunk-IKNOTHG2.js";
609
+ } from "./chunk-3YRPDNWK.js";
597
610
  import "./chunk-3HTJBGNP.js";
598
611
  import "./chunk-XWBPP2HX.js";
599
612
  import "./chunk-HNWDEDMU.js";
@@ -617,6 +630,7 @@ export {
617
630
  DEFAULT_CONFIG,
618
631
  DISCOVERY_DESCRIPTIONS,
619
632
  DOCTOR_DEEP_OPTION,
633
+ DOCUMENTS_LIST_QUERY,
620
634
  FETCH,
621
635
  FIRST_FETCH_MS,
622
636
  GENERIC_ROW,
@@ -625,6 +639,7 @@ export {
625
639
  KEEP_RUNS_FOR_DAYS,
626
640
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
627
641
  LANGUAGES,
642
+ LISTING_ENTITIES,
628
643
  LIST_QUERY_GUIDE,
629
644
  LOCAL_READ,
630
645
  LOCAL_WRITE,
@@ -632,6 +647,9 @@ export {
632
647
  MAX_BUFFERED_INPUT,
633
648
  MAX_SECRET_INPUT,
634
649
  MCP_HTTP_DEFAULT_PORT,
650
+ MEETINGS_AHEAD_DAYS,
651
+ MEETINGS_LIST_QUERY,
652
+ MEETINGS_RECENT_DAYS,
635
653
  MEETING_RESULT_ENTITIES,
636
654
  MEMO_SCENARIOS,
637
655
  MODEL_CATALOGUE_QUERY,
@@ -703,6 +721,7 @@ export {
703
721
  appDoctorReport,
704
722
  appMcpCommand,
705
723
  asFirstWord,
724
+ askBeforeWrite,
706
725
  askSetupQuestions,
707
726
  asksAtStart,
708
727
  assertSharedContracts,
@@ -782,6 +801,10 @@ export {
782
801
  doctorCommand,
783
802
  reportFileName as doctorReportFileName,
784
803
  doctorReportsCommand,
804
+ documentEntry,
805
+ documentEntryDetails,
806
+ documentListRequest,
807
+ documentSource,
785
808
  editCommand,
786
809
  ensureDefaultConfig,
787
810
  entityFields,
@@ -816,6 +839,8 @@ export {
816
839
  harnessOfArgv,
817
840
  harnessesOn,
818
841
  hasSharedContract,
842
+ httpApiExecutor,
843
+ httpApiRequest,
819
844
  httpTokenFile,
820
845
  imagesCommand,
821
846
  inCommandRun,
@@ -859,7 +884,10 @@ export {
859
884
  mayRevoke,
860
885
  mcpCommand,
861
886
  mcpServerCommand,
887
+ meetingEntry,
888
+ meetingEntryDetails,
862
889
  meetingEvidenceItem,
890
+ meetingListRequest,
863
891
  meetingPersonContextItem,
864
892
  meetingPreparationAnswer,
865
893
  meetingPreparationInput,
@@ -1106,5 +1134,6 @@ export {
1106
1134
  writeSchedule,
1107
1135
  writesFileOnlyWith,
1108
1136
  writesNewFileOnlyWith,
1137
+ writesOwnerFiles,
1109
1138
  writesWithOf
1110
1139
  };
@@ -0,0 +1,41 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-DQBLDZ7M.js";
10
+ import "./chunk-QBKKTTA3.js";
11
+ import "./chunk-ZBYKCVSV.js";
12
+ import "./chunk-DUPFAY35.js";
13
+ import "./chunk-HKPNQL52.js";
14
+ import "./chunk-P6MQ6FS4.js";
15
+ import "./chunk-WQOGHND4.js";
16
+ import "./chunk-SR5X7YKB.js";
17
+ import "./chunk-MAE5UGRQ.js";
18
+ import "./chunk-RKI4BGWG.js";
19
+ import "./chunk-FBYGBR4Q.js";
20
+ import "./chunk-IO3BQ6JU.js";
21
+ import "./chunk-3YKAFLXY.js";
22
+ import "./chunk-IMDTC4MD.js";
23
+ import "./chunk-VUPWDCYV.js";
24
+ import "./chunk-L5UILROP.js";
25
+ import "./chunk-A3Q3PG54.js";
26
+ import "./chunk-3YRPDNWK.js";
27
+ import "./chunk-3HTJBGNP.js";
28
+ import "./chunk-XWBPP2HX.js";
29
+ import "./chunk-HNWDEDMU.js";
30
+ import "./chunk-4RJL32PF.js";
31
+ import "./chunk-Y5E2WNWB.js";
32
+ import "./chunk-EA2OB75T.js";
33
+ import "./chunk-HCZYJMBP.js";
34
+ import "./chunk-ZVVMGPBJ.js";
35
+ export {
36
+ SCHEMA_DIALECT,
37
+ commandContract,
38
+ commandPathOf,
39
+ findCommand,
40
+ outputOf
41
+ };