@wirecat/notion-cli 0.6.0 → 0.7.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 (186) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/bin/notion.js +2 -2
  3. package/dist/bundle/agent-AILW4JPO.js +42 -0
  4. package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-CKOACXTW.js} +11 -11
  5. package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-DWBBVTU3.js} +5 -5
  6. package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-BHFYNCDE.js} +72 -72
  7. package/dist/bundle/{bun-2FLR4IV4.js → bun-ICK2XT7J.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-LU5V5Y4A.js} +6 -6
  9. package/dist/bundle/{chunk-4RFR4J2O.js → chunk-2OZVCNU5.js} +2 -2
  10. package/dist/bundle/{chunk-6EJCI47L.js → chunk-2RNJ2JP3.js} +4 -4
  11. package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-364ET7LV.js} +1 -1
  12. package/dist/bundle/{chunk-WAGADES3.js → chunk-3AKMIKND.js} +17 -17
  13. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-3DGHBXH2.js} +1 -1
  14. package/dist/bundle/{chunk-VH7526NL.js → chunk-3KOJNZH3.js} +3 -3
  15. package/dist/bundle/{chunk-T37TAXVL.js → chunk-3T3OAYL4.js} +2 -2
  16. package/dist/bundle/{chunk-XYQVVW4R.js → chunk-3YXYA6HB.js} +1 -1
  17. package/dist/bundle/{chunk-3MYN2RMG.js → chunk-3ZSUVFR7.js} +8 -8
  18. package/dist/bundle/{chunk-STTO2MSY.js → chunk-46JBCXLI.js} +6 -6
  19. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-4FHKSSXQ.js} +2 -2
  20. package/dist/bundle/{chunk-RD7BKTWV.js → chunk-5NFIUY2P.js} +4 -4
  21. package/dist/bundle/{chunk-3UX4VJWD.js → chunk-63SW4UXG.js} +3 -4
  22. package/dist/bundle/{chunk-2XUV7HNE.js → chunk-64IK7JFO.js} +2 -2
  23. package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-6MQSBWWF.js} +1 -1
  24. package/dist/bundle/{chunk-SAPP2LEH.js → chunk-6UZ5D2WP.js} +7 -7
  25. package/dist/bundle/{chunk-CL3YNUCC.js → chunk-7COTHS6G.js} +6 -6
  26. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-A3RJ6FD5.js} +21 -8
  27. package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-ADCAWRRX.js} +48 -48
  28. package/dist/bundle/{chunk-IJVTN5L3.js → chunk-ALAPDLCP.js} +2 -2
  29. package/dist/bundle/{chunk-DGMTSDKB.js → chunk-B6DJQBZI.js} +5 -5
  30. package/dist/bundle/{chunk-BAXNAOOL.js → chunk-BFCRGLOF.js} +3 -3
  31. package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-BFHPT67P.js} +655 -565
  32. package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-BQ6CXCLP.js} +8 -8
  33. package/dist/bundle/{chunk-BEV5LO4D.js → chunk-BXXHUO7Y.js} +13 -13
  34. package/dist/bundle/{chunk-W2VQDIU5.js → chunk-DCSPCOPB.js} +9 -9
  35. package/dist/bundle/{chunk-KB35BVTG.js → chunk-EMIJVLOA.js} +2 -2
  36. package/dist/bundle/{chunk-FMMYBVCH.js → chunk-EUF5JNPG.js} +1 -1
  37. package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-EWXMIKZN.js} +28 -28
  38. package/dist/bundle/{chunk-LC6WE6JS.js → chunk-FHYV4VWY.js} +14 -7
  39. package/dist/bundle/{chunk-GPRJXJC7.js → chunk-FNESLLZS.js} +15 -1
  40. package/dist/bundle/{chunk-JFSVAOA7.js → chunk-FO3XY2Y2.js} +2 -2
  41. package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-HJDQTM3T.js} +8 -8
  42. package/dist/bundle/{chunk-FV4WTZCU.js → chunk-HOO53OYK.js} +16 -16
  43. package/dist/bundle/{chunk-T6XIBULH.js → chunk-HSVKU4OJ.js} +45 -31
  44. package/dist/bundle/{chunk-OEQNP56V.js → chunk-IEY7KS6Q.js} +1 -1
  45. package/dist/bundle/{chunk-QGGRFRMP.js → chunk-ITW26OBI.js} +38 -38
  46. package/dist/bundle/{chunk-IURYZSG3.js → chunk-ITWINZ6R.js} +12 -12
  47. package/dist/bundle/{chunk-WAU5LSHP.js → chunk-IYZWHCZJ.js} +90 -11
  48. package/dist/bundle/{chunk-YUDVRFXN.js → chunk-J3DZVB67.js} +1 -1
  49. package/dist/bundle/{chunk-GCAJW4SR.js → chunk-JEZJFQQW.js} +1 -1
  50. package/dist/bundle/{chunk-AE4VW4NB.js → chunk-JPGN473W.js} +3 -3
  51. package/dist/bundle/{chunk-NSR43UEW.js → chunk-JVRBW5LH.js} +5 -5
  52. package/dist/bundle/{chunk-DIU2QJJF.js → chunk-KBY42GKW.js} +23 -23
  53. package/dist/bundle/{chunk-WGZH2M64.js → chunk-KWBLDSRV.js} +16 -3
  54. package/dist/bundle/{chunk-P27NDZQR.js → chunk-LBRTLZHI.js} +171 -157
  55. package/dist/bundle/{chunk-WB2KSQIP.js → chunk-LEPPRULN.js} +20 -6
  56. package/dist/bundle/{chunk-ERN53B3Z.js → chunk-LVAFTQ45.js} +18 -18
  57. package/dist/bundle/{chunk-PHKED7AG.js → chunk-MB4HXDBT.js} +5 -5
  58. package/dist/bundle/{chunk-BQBC2WIG.js → chunk-N3NJPHZB.js} +1 -1
  59. package/dist/bundle/{chunk-DHVVXQEL.js → chunk-NCCRLAAI.js} +3 -3
  60. package/dist/bundle/{chunk-HOVHE3A3.js → chunk-NV7NNL5T.js} +7 -7
  61. package/dist/bundle/{chunk-TFT4FVRU.js → chunk-OALFRUMI.js} +2 -2
  62. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-OCGNOJYD.js} +1 -1
  63. package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OFMCU3BH.js} +5 -5
  64. package/dist/bundle/{chunk-FRB2L7OE.js → chunk-OP2BH55P.js} +3 -3
  65. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-OS4WPXPZ.js} +4 -4
  66. package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-OW5HW3TD.js} +6 -6
  67. package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-PDVXG3T3.js} +6 -6
  68. package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-PSMRUOII.js} +3 -3
  69. package/dist/bundle/{chunk-EHW45LLT.js → chunk-QK52ARAU.js} +3 -3
  70. package/dist/bundle/{chunk-AZLDR36U.js → chunk-QMNEDK7Z.js} +3 -3
  71. package/dist/bundle/{chunk-RXU5T5NM.js → chunk-R4JV3VLU.js} +12 -12
  72. package/dist/bundle/{chunk-5XPHFV7H.js → chunk-REOBWSGV.js} +8 -8
  73. package/dist/bundle/{chunk-LECMHK2F.js → chunk-RNVYNPXT.js} +1 -1
  74. package/dist/bundle/{chunk-JVESLS7B.js → chunk-RXGX2CZX.js} +63 -63
  75. package/dist/bundle/{chunk-KNCPBX5P.js → chunk-S35UJBFZ.js} +19 -19
  76. package/dist/bundle/{chunk-LQVDFD65.js → chunk-S5P7THM5.js} +2 -2
  77. package/dist/bundle/{chunk-A42T4YX7.js → chunk-SRVTGI3M.js} +2 -2
  78. package/dist/bundle/{chunk-CHPWBQUK.js → chunk-TWY543BS.js} +1 -1
  79. package/dist/bundle/{chunk-EZMG5QXB.js → chunk-UO4O6WQ4.js} +8 -8
  80. package/dist/bundle/{chunk-KGAUINBO.js → chunk-UQVUXG7H.js} +10 -10
  81. package/dist/bundle/{chunk-GUIQJUJV.js → chunk-UYEDQGMI.js} +6 -6
  82. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VRBEYOJL.js} +1 -1
  83. package/dist/bundle/{chunk-YDDI4QIT.js → chunk-VXKD533R.js} +575 -447
  84. package/dist/bundle/{chunk-KZJQPJK5.js → chunk-VYZ2J7DT.js} +4 -4
  85. package/dist/bundle/{chunk-G4ZU73SD.js → chunk-WJFQMOVM.js} +75 -60
  86. package/dist/bundle/{chunk-YXYZAWWW.js → chunk-WUNEJRLJ.js} +6 -6
  87. package/dist/bundle/{chunk-HHEWTLAT.js → chunk-X5LUHN62.js} +2 -2
  88. package/dist/bundle/{chunk-UOC52GCB.js → chunk-X737FHZP.js} +4 -4
  89. package/dist/bundle/{chunk-K5IC4FZN.js → chunk-YSF5JBRA.js} +1 -1
  90. package/dist/bundle/{chunk-SEAGUFBX.js → chunk-ZGUUP2T3.js} +12 -12
  91. package/dist/bundle/{chunk-QEJFBORC.js → chunk-ZMKAI3F3.js} +3 -3
  92. package/dist/bundle/command-contract-C2CF4QAH.js +41 -0
  93. package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-F3B2KSPO.js} +29 -29
  94. package/dist/bundle/{decode-I64PF2RM.js → decode-FDHFF7GC.js} +5 -5
  95. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-IXKG5Z5Y.js} +8 -8
  96. package/dist/bundle/{echarts-YRRVLEX3.js → echarts-PGJPVPA4.js} +2 -2
  97. package/dist/bundle/{embed-BLXLKMK2.js → embed-U6X7CNNK.js} +6 -6
  98. package/dist/bundle/{embedder-JYGF6R7I.js → embedder-3ROL6ROQ.js} +9 -9
  99. package/dist/bundle/{failure-I6AAF5R5.js → failure-IYMRXM2X.js} +2 -2
  100. package/dist/bundle/{first-run-YLDOZGY6.js → first-run-PNVNHGR7.js} +12 -12
  101. package/dist/bundle/first-screen-DEDD64YH.js +41 -0
  102. package/dist/bundle/{instructions-AG7SRWTR.js → instructions-MJQWRI2D.js} +1 -1
  103. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-JNHOSK4L.js} +2 -2
  104. package/dist/bundle/meeting-combined-HEC25QPY.js +25 -0
  105. package/dist/bundle/meeting-model-R7QPDNZZ.js +27 -0
  106. package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-7WPLMBNT.js} +6 -6
  107. package/dist/bundle/{node-GJQYN4FT.js → node-3UXNV3CD.js} +2 -2
  108. package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-ULWDWM3I.js} +7 -7
  109. package/dist/bundle/notes-search-7PE3E3C7.js +64 -0
  110. package/dist/bundle/notion.js +13 -13
  111. package/dist/bundle/{oauth-N67CH2TK.js → oauth-LNUZMA72.js} +7 -7
  112. package/dist/bundle/{open-JGXVHIKO.js → open-HGHC35M4.js} +5 -5
  113. package/dist/bundle/{openai-PFQJTF4H.js → openai-ISSP57MV.js} +18 -18
  114. package/dist/bundle/{process-MEKCZMX3.js → process-PB2WCOR2.js} +1 -1
  115. package/dist/bundle/{program-DUJYLJH5.js → program-GASBJRMG.js} +1987 -1245
  116. package/dist/bundle/{prompt-FW44QDHD.js → prompt-3VGQVX2B.js} +5 -5
  117. package/dist/bundle/{recognize-62TDQ6A7.js → recognize-7Q2P3NME.js} +4 -4
  118. package/dist/bundle/{remote-7ONFD7GG.js → remote-BBAWKVIT.js} +11 -11
  119. package/dist/bundle/{rerank-YOHQQJS4.js → rerank-H4PUS4HV.js} +7 -7
  120. package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-TTVUADHT.js} +1 -1
  121. package/dist/bundle/{serve-ZCXGT5RB.js → serve-FZNSKY7R.js} +9 -9
  122. package/dist/bundle/{server-RQ74M637.js → server-BRRNDW6L.js} +64 -64
  123. package/dist/bundle/server-CQJ4LKAZ.js +90 -0
  124. package/dist/bundle/{services-FWBRZ57M.js → services-PEU557KZ.js} +51 -51
  125. package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-4IZJ4YUM.js} +6 -6
  126. package/dist/bundle/{state-GDDFO62Y.js → state-MX3JVT5Q.js} +6 -6
  127. package/dist/bundle/{store-D2LRIWEI.js → store-JUT34REM.js} +23 -23
  128. package/dist/bundle/{store-KQCLR57N.js → store-PP4BPADZ.js} +21 -21
  129. package/dist/bundle/store-maintenance-command-GRFTJBSB.js +77 -0
  130. package/dist/bundle/surface-FPWES3NY.js +76 -0
  131. package/dist/commands/api.d.ts.map +1 -1
  132. package/dist/commands/api.js +3 -25
  133. package/dist/commands/api.js.map +1 -1
  134. package/dist/commands/library.d.ts.map +1 -1
  135. package/dist/commands/library.js +8 -6
  136. package/dist/commands/library.js.map +1 -1
  137. package/dist/context.d.ts +11 -3
  138. package/dist/context.d.ts.map +1 -1
  139. package/dist/context.js +20 -7
  140. package/dist/context.js.map +1 -1
  141. package/dist/generated/wirecat-config.d.ts +13 -0
  142. package/dist/generated/wirecat-config.d.ts.map +1 -0
  143. package/dist/generated/wirecat-config.js +82 -0
  144. package/dist/generated/wirecat-config.js.map +1 -0
  145. package/dist/library.d.ts +0 -5
  146. package/dist/library.d.ts.map +1 -1
  147. package/dist/library.js +0 -13
  148. package/dist/library.js.map +1 -1
  149. package/dist/notion/client.d.ts +2 -6
  150. package/dist/notion/client.d.ts.map +1 -1
  151. package/dist/notion/client.js +7 -8
  152. package/dist/notion/client.js.map +1 -1
  153. package/dist/notion/errors.d.ts +5 -0
  154. package/dist/notion/errors.d.ts.map +1 -1
  155. package/dist/notion/errors.js +21 -1
  156. package/dist/notion/errors.js.map +1 -1
  157. package/dist/notion/port.d.ts +10 -0
  158. package/dist/notion/port.d.ts.map +1 -1
  159. package/dist/notion/port.js +19 -0
  160. package/dist/notion/port.js.map +1 -1
  161. package/dist/sync/files.d.ts +3 -3
  162. package/dist/sync/files.d.ts.map +1 -1
  163. package/dist/sync/from-config.d.ts +13 -0
  164. package/dist/sync/from-config.d.ts.map +1 -0
  165. package/dist/sync/from-config.js +32 -0
  166. package/dist/sync/from-config.js.map +1 -0
  167. package/dist/sync/source.d.ts +2 -1
  168. package/dist/sync/source.d.ts.map +1 -1
  169. package/dist/sync/source.js +4 -20
  170. package/dist/sync/source.js.map +1 -1
  171. package/dist/sync/users.d.ts +1 -11
  172. package/dist/sync/users.d.ts.map +1 -1
  173. package/dist/sync/users.js +0 -33
  174. package/dist/sync/users.js.map +1 -1
  175. package/dist/version.d.ts +1 -1
  176. package/dist/version.js +1 -1
  177. package/package.json +7 -7
  178. package/dist/bundle/agent-ILG6AH7S.js +0 -42
  179. package/dist/bundle/command-contract-L2FASWD6.js +0 -41
  180. package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
  181. package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
  182. package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
  183. package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
  184. package/dist/bundle/server-XMZF57WM.js +0 -90
  185. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
  186. package/dist/bundle/surface-K4TPIQW7.js +0 -76
@@ -6,19 +6,19 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  failureContext
9
- } from "./chunk-WAU5LSHP.js";
9
+ } from "./chunk-IYZWHCZJ.js";
10
10
  import {
11
11
  refuseLacking
12
- } from "./chunk-TFT4FVRU.js";
12
+ } from "./chunk-OALFRUMI.js";
13
13
  import {
14
14
  MAX_BUFFERED_INPUT
15
- } from "./chunk-IJVTN5L3.js";
15
+ } from "./chunk-ALAPDLCP.js";
16
16
  import {
17
17
  callerOf
18
- } from "./chunk-JFSVAOA7.js";
18
+ } from "./chunk-FO3XY2Y2.js";
19
19
  import {
20
20
  servicesFor
21
- } from "./chunk-YYQ5GKAI.js";
21
+ } from "./chunk-BFHPT67P.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -35,27 +35,27 @@ import {
35
35
  refuseStoreChange,
36
36
  sealed,
37
37
  startRecording
38
- } from "./chunk-P27NDZQR.js";
38
+ } from "./chunk-LBRTLZHI.js";
39
39
  import {
40
40
  currentCaller,
41
41
  keepsSuccess,
42
42
  runContextOf,
43
43
  withCaller
44
- } from "./chunk-6YOMPW7Y.js";
44
+ } from "./chunk-BQ6CXCLP.js";
45
45
  import {
46
46
  onlineDeps,
47
47
  storeModeDeps
48
- } from "./chunk-ZDYEOE7L.js";
48
+ } from "./chunk-ADCAWRRX.js";
49
49
  import {
50
50
  inRun,
51
51
  newRunId
52
- } from "./chunk-BEV5LO4D.js";
52
+ } from "./chunk-BXXHUO7Y.js";
53
53
  import {
54
54
  storeDamaged
55
- } from "./chunk-LQVDFD65.js";
55
+ } from "./chunk-S5P7THM5.js";
56
56
  import {
57
57
  traceIdOf
58
- } from "./chunk-KNCPBX5P.js";
58
+ } from "./chunk-S35UJBFZ.js";
59
59
  import {
60
60
  errorObjectOf,
61
61
  itemEnvelopeSchema,
@@ -63,7 +63,7 @@ import {
63
63
  mcpErrorResult,
64
64
  toJsonSchema,
65
65
  toStandardJsonSchema
66
- } from "./chunk-3LMW7U7F.js";
66
+ } from "./chunk-A3RJ6FD5.js";
67
67
  import {
68
68
  array,
69
69
  boolean,
@@ -88,15 +88,15 @@ import {
88
88
  import {
89
89
  CliError,
90
90
  errorCodes
91
- } from "./chunk-HM6AMYHR.js";
91
+ } from "./chunk-4FHKSSXQ.js";
92
92
  import {
93
93
  __name
94
94
  } from "./chunk-ZVVMGPBJ.js";
95
95
 
96
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/surface.js
96
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/surface.js
97
97
  import { randomUUID } from "node:crypto";
98
98
 
99
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/tool.js
99
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tool.js
100
100
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
101
101
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
102
102
  var message = pipe(
@@ -355,7 +355,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
355
355
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
356
356
  }, "failed");
357
357
 
358
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/surface.js
358
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/surface.js
359
359
  var MATCHES = 8;
360
360
  var ANSWER = answerSchema();
361
361
  var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
@@ -2,34 +2,34 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandAvailability
5
- } from "./chunk-AE4VW4NB.js";
5
+ } from "./chunk-JPGN473W.js";
6
6
  import {
7
7
  lentConnection
8
- } from "./chunk-GUIQJUJV.js";
8
+ } from "./chunk-UYEDQGMI.js";
9
9
  import {
10
10
  QUERY_ARGUMENT
11
- } from "./chunk-RXU5T5NM.js";
11
+ } from "./chunk-R4JV3VLU.js";
12
12
  import {
13
13
  authorityAllowed,
14
14
  botApiAllowed,
15
15
  changesMessenger,
16
16
  flatten
17
- } from "./chunk-P27NDZQR.js";
17
+ } from "./chunk-LBRTLZHI.js";
18
18
  import {
19
19
  currentCaller
20
- } from "./chunk-6YOMPW7Y.js";
20
+ } from "./chunk-BQ6CXCLP.js";
21
21
  import {
22
22
  enclosingTraceId,
23
23
  inRun,
24
24
  newRunId,
25
25
  traceOf
26
- } from "./chunk-BEV5LO4D.js";
26
+ } from "./chunk-BXXHUO7Y.js";
27
27
  import {
28
28
  queryDescription
29
- } from "./chunk-JVESLS7B.js";
29
+ } from "./chunk-RXGX2CZX.js";
30
30
  import {
31
31
  captureStreams
32
- } from "./chunk-KNCPBX5P.js";
32
+ } from "./chunk-S35UJBFZ.js";
33
33
  import {
34
34
  COMPACT_FLAG,
35
35
  SNAKE_CASE,
@@ -39,7 +39,7 @@ import {
39
39
  text,
40
40
  word,
41
41
  writes
42
- } from "./chunk-3LMW7U7F.js";
42
+ } from "./chunk-A3RJ6FD5.js";
43
43
  import {
44
44
  array,
45
45
  boolean,
@@ -63,15 +63,15 @@ import {
63
63
  } from "./chunk-S4UUN6LD.js";
64
64
  import {
65
65
  CliError
66
- } from "./chunk-HM6AMYHR.js";
66
+ } from "./chunk-4FHKSSXQ.js";
67
67
  import {
68
68
  __name
69
69
  } from "./chunk-ZVVMGPBJ.js";
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/agent.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/agent.js
72
72
  import { Readable } from "node:stream";
73
73
 
74
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
74
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
75
75
  var LINT_SEVERITIES = ["high", "medium", "low"];
76
76
  var lintRuleSchema = strictObject({
77
77
  id: word,
@@ -217,7 +217,7 @@ var overrideSchema = strictObject({
217
217
  });
218
218
  var overridesSchema = array(overrideSchema);
219
219
 
220
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
220
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
221
221
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
222
222
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
223
223
  var AUDIT_RULES = defineAuditRules([
@@ -359,6 +359,7 @@ var PARITY_GROUPS = defineParityGroups([
359
359
  // recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
360
360
  // amo-cli, hubspot-cli and attio-cli share them too, and their CRM commands are compared with b24 in `crm` below.
361
361
  // wordpress-cli shares only these roots: it is the first content CLI, so its posts commands have no group yet.
362
+ // linear-cli shares only these roots too: it is the first tracker CLI, so its issues commands have no group yet.
362
363
  // notion-cli joins here until its documents commands ship; then it moves next to drive. ydisk joins here too: in "all"
363
364
  // its search and notes differ from the messengers' and memo's as drive's do, and a documents group of drive, notion
364
365
  // and ydisk differs in 39 paths (session, folders browse, summaries; measured on the published CLIs 2026-11-17).
@@ -379,13 +380,14 @@ var PARITY_GROUPS = defineParityGroups([
379
380
  "hubspot",
380
381
  "attio",
381
382
  "ydisk",
382
- "wordpress"
383
+ "wordpress",
384
+ "linear"
383
385
  ],
384
386
  covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
385
387
  differences: [...MEMO_HAS_NO_PROFILES, ...MEMO_MCP_SUMMARIES, MEMO_DOCTOR_DEEP]
386
388
  },
387
- // The CRM CLIs on cli-core's shared CRM commands. amo-cli (amoCRM and Kommo) is not on npm yet and hubspot-cli is
388
- // not in the family packages, so `audit --family` skips them, as beeline. Only b24 and hubspot have `leads` (amoCRM
389
+ // The CRM CLIs on cli-core's shared CRM commands. hubspot-cli is not in the family packages, so `audit --family`
390
+ // skips it, as beeline. Only b24 and hubspot have `leads` (amoCRM
389
391
  // has no lead apart from a deal), only b24 has `products` (amo leaves them for later) and `deals delete` (amoCRM's
390
392
  // API v4 cannot delete a lead, https://www.amocrm.ru/developers/content/crm_platform/leads-api), and hubspot writes
391
393
  // no deals yet; a list of roots does not compare presence, so these need no difference. `people`, `organizations`,
@@ -420,7 +422,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
420
422
  { path: ["upgrade"], meaning: "updates the CLI" }
421
423
  ]);
422
424
 
423
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
425
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
424
426
  var fieldRuleSchema = strictObject({ id: word, rule: text });
425
427
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
426
428
  var FIELD_RULES = defineFieldRules([
@@ -436,7 +438,7 @@ var FIELD_RULES = defineFieldRules([
436
438
  }
437
439
  ]);
438
440
 
439
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
441
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
440
442
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
441
443
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
442
444
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -458,7 +460,7 @@ var IDENTIFIERS = defineIdentifiers([
458
460
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
459
461
  ]);
460
462
 
461
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
463
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
462
464
  var ACCOUNT_FLAGS = [
463
465
  {
464
466
  name: "--client-id",
@@ -495,7 +497,7 @@ var ACCOUNT_FLAGS = [
495
497
  { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
496
498
  ];
497
499
 
498
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
500
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
499
501
  var CALENDAR_FLAGS = [
500
502
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
501
503
  {
@@ -583,7 +585,7 @@ var CALENDAR_FLAGS = [
583
585
  }
584
586
  ];
585
587
 
586
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
588
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
587
589
  var CONTENT_FLAGS = [
588
590
  { name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
589
591
  {
@@ -601,7 +603,7 @@ var CONTENT_FLAGS = [
601
603
  }
602
604
  ];
603
605
 
604
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
606
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
605
607
  var CRM_FLAGS = [
606
608
  {
607
609
  name: "--email",
@@ -765,7 +767,7 @@ var CRM_FLAGS = [
765
767
  }
766
768
  ];
767
769
 
768
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
770
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
769
771
  var HOW_FLAGS = [
770
772
  {
771
773
  name: "--limit",
@@ -1758,7 +1760,7 @@ var HOW_FLAGS = [
1758
1760
  }
1759
1761
  ];
1760
1762
 
1761
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1763
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1762
1764
  var KNOWLEDGE_FLAGS = [
1763
1765
  {
1764
1766
  name: "--accept-terms",
@@ -1817,7 +1819,7 @@ var KNOWLEDGE_FLAGS = [
1817
1819
  }
1818
1820
  ];
1819
1821
 
1820
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1822
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1821
1823
  var MAIL_FLAGS = [
1822
1824
  {
1823
1825
  name: "--cc",
@@ -1847,7 +1849,7 @@ var MAIL_FLAGS = [
1847
1849
  }
1848
1850
  ];
1849
1851
 
1850
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1852
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1851
1853
  var PRIVACY_FLAGS = [
1852
1854
  {
1853
1855
  name: "--about-text",
@@ -1908,7 +1910,7 @@ var PRIVACY_FLAGS = [
1908
1910
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1909
1911
  ];
1910
1912
 
1911
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1913
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1912
1914
  var SCHEDULE_FLAGS = [
1913
1915
  {
1914
1916
  name: "--locale",
@@ -1941,7 +1943,18 @@ var SCHEDULE_FLAGS = [
1941
1943
  }
1942
1944
  ];
1943
1945
 
1944
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1946
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-search.js
1947
+ var SEARCH_FLAGS = [
1948
+ {
1949
+ name: "--like",
1950
+ value: "<text>",
1951
+ role: "query",
1952
+ type: "string",
1953
+ meaning: "a made-up example of the text sought, such as a reply that would answer the question, searched by meaning beside the query"
1954
+ }
1955
+ ];
1956
+
1957
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1945
1958
  var WHAT_FLAGS = [
1946
1959
  {
1947
1960
  name: "--analysis-provider",
@@ -2938,7 +2951,7 @@ var WHAT_FLAGS = [
2938
2951
  }
2939
2952
  ];
2940
2953
 
2941
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2954
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2942
2955
  var FLAG_TYPES = [
2943
2956
  "switch",
2944
2957
  "count",
@@ -3373,11 +3386,12 @@ var VOCABULARY = defineVocabulary({
3373
3386
  ...KNOWLEDGE_FLAGS,
3374
3387
  ...CRM_FLAGS,
3375
3388
  ...SCHEDULE_FLAGS,
3376
- ...CONTENT_FLAGS
3389
+ ...CONTENT_FLAGS,
3390
+ ...SEARCH_FLAGS
3377
3391
  ]
3378
3392
  });
3379
3393
 
3380
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3394
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3381
3395
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3382
3396
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3383
3397
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -535,7 +535,7 @@ function toError(value) {
535
535
  }
536
536
  __name(toError, "toError");
537
537
 
538
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
538
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
539
539
  import { PassThrough, Writable } from "node:stream";
540
540
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
541
541
  let rest = "";
@@ -12,16 +12,16 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-Q7EIL6VU.js";
15
+ } from "./chunk-EWXMIKZN.js";
16
16
  import {
17
17
  stdinFieldOf
18
- } from "./chunk-LECMHK2F.js";
18
+ } from "./chunk-RNVYNPXT.js";
19
19
  import {
20
20
  skillResources
21
- } from "./chunk-CL3YNUCC.js";
21
+ } from "./chunk-7COTHS6G.js";
22
22
  import {
23
23
  instructions
24
- } from "./chunk-GCAJW4SR.js";
24
+ } from "./chunk-JEZJFQQW.js";
25
25
  import {
26
26
  BinaryResource,
27
27
  Picture,
@@ -40,35 +40,35 @@ import {
40
40
  tierOf,
41
41
  tool,
42
42
  toolKey
43
- } from "./chunk-FV4WTZCU.js";
43
+ } from "./chunk-HOO53OYK.js";
44
44
  import {
45
45
  agentJson
46
- } from "./chunk-WAU5LSHP.js";
46
+ } from "./chunk-IYZWHCZJ.js";
47
47
  import {
48
48
  StdioServerTransport,
49
49
  answeredWire,
50
50
  serveStdio
51
- } from "./chunk-OEQNP56V.js";
51
+ } from "./chunk-IEY7KS6Q.js";
52
52
  import {
53
53
  connectedFor
54
- } from "./chunk-ERN53B3Z.js";
54
+ } from "./chunk-LVAFTQ45.js";
55
55
  import {
56
56
  wholeList
57
- } from "./chunk-7L2XOKDZ.js";
57
+ } from "./chunk-HJDQTM3T.js";
58
58
  import {
59
59
  lackedNeed
60
- } from "./chunk-TFT4FVRU.js";
60
+ } from "./chunk-OALFRUMI.js";
61
61
  import {
62
62
  findCommand
63
- } from "./chunk-6EJCI47L.js";
63
+ } from "./chunk-2RNJ2JP3.js";
64
64
  import {
65
65
  runCommandForAgent,
66
66
  toolsFromCommands
67
- } from "./chunk-T6XIBULH.js";
67
+ } from "./chunk-HSVKU4OJ.js";
68
68
  import {
69
69
  callerOf,
70
70
  callingAgent
71
- } from "./chunk-JFSVAOA7.js";
71
+ } from "./chunk-FO3XY2Y2.js";
72
72
  import {
73
73
  McpServer,
74
74
  ResourceTemplate
@@ -77,10 +77,10 @@ import {
77
77
  guardFor,
78
78
  imageSize,
79
79
  servicesFor
80
- } from "./chunk-YYQ5GKAI.js";
80
+ } from "./chunk-BFHPT67P.js";
81
81
  import {
82
82
  dateWindow
83
- } from "./chunk-RXU5T5NM.js";
83
+ } from "./chunk-R4JV3VLU.js";
84
84
  import {
85
85
  DEFAULT_OUTPUT_BYTES,
86
86
  changesAuthorityAt,
@@ -97,42 +97,42 @@ import {
97
97
  rootOf2 as rootOf,
98
98
  sealed,
99
99
  snakeKeys
100
- } from "./chunk-P27NDZQR.js";
100
+ } from "./chunk-LBRTLZHI.js";
101
101
  import {
102
102
  withCaller
103
- } from "./chunk-6YOMPW7Y.js";
103
+ } from "./chunk-BQ6CXCLP.js";
104
104
  import {
105
105
  storedDeps
106
- } from "./chunk-ZDYEOE7L.js";
106
+ } from "./chunk-ADCAWRRX.js";
107
107
  import {
108
108
  capability
109
- } from "./chunk-KB35BVTG.js";
109
+ } from "./chunk-EMIJVLOA.js";
110
110
  import {
111
111
  readOnlyLockOf
112
- } from "./chunk-3MYN2RMG.js";
112
+ } from "./chunk-3ZSUVFR7.js";
113
113
  import {
114
114
  mcpHttpMarker
115
- } from "./chunk-UOC52GCB.js";
115
+ } from "./chunk-X737FHZP.js";
116
116
  import {
117
117
  openStore,
118
118
  pdfPreviewLimits
119
- } from "./chunk-YDDI4QIT.js";
119
+ } from "./chunk-VXKD533R.js";
120
120
  import {
121
121
  typedCommand
122
- } from "./chunk-BEV5LO4D.js";
122
+ } from "./chunk-BXXHUO7Y.js";
123
123
  import {
124
124
  isCliFailure
125
- } from "./chunk-LQVDFD65.js";
125
+ } from "./chunk-S5P7THM5.js";
126
126
  import {
127
127
  timezoneOf
128
- } from "./chunk-JVESLS7B.js";
128
+ } from "./chunk-RXGX2CZX.js";
129
129
  import {
130
130
  warmEmbedders
131
- } from "./chunk-STTO2MSY.js";
131
+ } from "./chunk-46JBCXLI.js";
132
132
  import {
133
133
  errorObjectOf,
134
134
  mcpErrorResult
135
- } from "./chunk-3LMW7U7F.js";
135
+ } from "./chunk-A3RJ6FD5.js";
136
136
  import {
137
137
  description,
138
138
  integer,
@@ -151,15 +151,15 @@ import {
151
151
  import {
152
152
  CliError,
153
153
  visibleControls
154
- } from "./chunk-HM6AMYHR.js";
154
+ } from "./chunk-4FHKSSXQ.js";
155
155
  import {
156
156
  __name
157
157
  } from "./chunk-ZVVMGPBJ.js";
158
158
 
159
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/server.js
159
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/server.js
160
160
  import { randomUUID } from "node:crypto";
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
163
163
  var agentLog = /* @__PURE__ */ __name((open) => {
164
164
  let held;
165
165
  return {
@@ -178,7 +178,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
178
178
  };
179
179
  }, "agentLog");
180
180
 
181
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/resources.js
181
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/resources.js
182
182
  var LISTED = 100;
183
183
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
184
184
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -216,7 +216,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
216
216
  });
217
217
  }, "registerResources");
218
218
 
219
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/session.js
219
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/session.js
220
220
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
221
221
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
222
222
  var MessengerSession = class {
@@ -291,7 +291,7 @@ var MessengerSession = class {
291
291
  }
292
292
  };
293
293
 
294
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
294
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
295
295
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
296
296
  const _command = messenger.app.command;
297
297
  return {
@@ -345,7 +345,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
345
345
  };
346
346
  }, "attachmentsTools");
347
347
 
348
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
348
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
349
349
  var PHOTO_LIMIT = 512 * 1024;
350
350
  var IMAGE_TYPES = [
351
351
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -401,7 +401,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
401
401
  return new Uint8Array(Buffer.concat(chunks));
402
402
  }, "readUpTo");
403
403
 
404
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
404
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
405
405
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
406
406
  stats_charts: tool({
407
407
  title: "A chart from a chat's statistics",
@@ -438,14 +438,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
438
438
  })
439
439
  }), "statsTools");
440
440
 
441
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/tools.js
441
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/tools.js
442
442
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
443
443
  ...messagesPhotoTools(messenger),
444
444
  ...attachmentsTools(messenger),
445
445
  ...statsTools(messenger)
446
446
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
447
447
 
448
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/mcp/server.js
448
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/server.js
449
449
  var PER_RUN = /* @__PURE__ */ new Set([
450
450
  "streams",
451
451
  "stdin",
@@ -761,7 +761,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
761
761
  }, "serveOverStdio");
762
762
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
763
763
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
764
- const { serveOverHttp } = await import("./serve-ZCXGT5RB.js");
764
+ const { serveOverHttp } = await import("./serve-FZNSKY7R.js");
765
765
  const appName = messenger.app.command;
766
766
  const appEnvPrefix = messenger.app.envPrefix;
767
767
  const listening = await serveOverHttp(build, {