@wirecat/drive-cli 0.51.0 → 0.52.1

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 (157) hide show
  1. package/README.md +2 -2
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-H3APJWSO.js → all-profiles-CYW6XBBS.js} +8 -8
  4. package/dist/bundle/{anthropic-P7DXFYFE.js → anthropic-KW6KU36Y.js} +5 -5
  5. package/dist/bundle/{app-server-IQUR7ZC2.js → app-server-TCJZ333E.js} +53 -52
  6. package/dist/bundle/{bun-LZUEW2ML.js → bun-7SYKSCLA.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-6LUE7UA6.js → bun-sqlite-RI7DR6RZ.js} +4 -4
  8. package/dist/bundle/{chunk-7ZNM6KXP.js → chunk-234MHU76.js} +7 -7
  9. package/dist/bundle/{chunk-U7DPS46V.js → chunk-2623YE5I.js} +107 -96
  10. package/dist/bundle/{chunk-UW7VXKKZ.js → chunk-2AUXBJRX.js} +19 -19
  11. package/dist/bundle/{chunk-OQVJQSEH.js → chunk-2UIMEMWU.js} +3 -3
  12. package/dist/bundle/{chunk-NO34DAIB.js → chunk-33NVQGUY.js} +6 -6
  13. package/dist/bundle/{chunk-D3UFQC7K.js → chunk-43QVYW3K.js} +49 -49
  14. package/dist/bundle/{chunk-POFLDSTX.js → chunk-54O62JWP.js} +10 -10
  15. package/dist/bundle/{chunk-HBRTKJ3J.js → chunk-5PLJKSG4.js} +7 -7
  16. package/dist/bundle/{chunk-PRBPVOW4.js → chunk-6DHQTUB2.js} +1 -1
  17. package/dist/bundle/{chunk-BVDAP3FQ.js → chunk-725OHXKR.js} +9 -9
  18. package/dist/bundle/chunk-7SH4JHYW.js +379 -0
  19. package/dist/bundle/{chunk-FCZ762RV.js → chunk-7XKAVMCF.js} +8 -8
  20. package/dist/bundle/{chunk-PNUS224S.js → chunk-7YMDL4JQ.js} +8 -6
  21. package/dist/bundle/{chunk-FV5WG4WU.js → chunk-A4UNTWAX.js} +29 -25
  22. package/dist/bundle/{chunk-I7EP3VPJ.js → chunk-ALJWBGD5.js} +1 -1
  23. package/dist/bundle/{chunk-U3OS6V6S.js → chunk-BBYD2FA3.js} +1 -1
  24. package/dist/bundle/{chunk-CX7HQ6KK.js → chunk-BSSCTWWK.js} +12 -12
  25. package/dist/bundle/{chunk-HYT3FJVB.js → chunk-C6Z25IBJ.js} +49 -24
  26. package/dist/bundle/{chunk-XCXUP76D.js → chunk-CB7SBYLO.js} +27 -27
  27. package/dist/bundle/{chunk-YXHMEFL7.js → chunk-CITFEQ6S.js} +1 -1
  28. package/dist/bundle/{chunk-Y73IZWRI.js → chunk-CKBHR7QO.js} +1 -1
  29. package/dist/bundle/{chunk-AKW5MNQP.js → chunk-CM7GAXGD.js} +5 -5
  30. package/dist/bundle/{chunk-OKSS7YUN.js → chunk-DLAFGSTN.js} +1 -1
  31. package/dist/bundle/{chunk-MPTD5P53.js → chunk-DO4PDQY5.js} +2 -2
  32. package/dist/bundle/{chunk-P3T2SZW2.js → chunk-EKFEY3KP.js} +2 -2
  33. package/dist/bundle/{chunk-ZKAAFY4C.js → chunk-F7UUZATI.js} +11 -11
  34. package/dist/bundle/{chunk-XBENRRBS.js → chunk-FCJAHD4R.js} +2 -2
  35. package/dist/bundle/{chunk-5C7RKU7O.js → chunk-FDWYPONW.js} +46 -34
  36. package/dist/bundle/{chunk-TVJU245P.js → chunk-FG4XXZZE.js} +2 -2
  37. package/dist/bundle/{chunk-BMI5VCR4.js → chunk-FJW3DDCF.js} +5 -5
  38. package/dist/bundle/{chunk-LZKPT7GY.js → chunk-G6QF5KWF.js} +35 -35
  39. package/dist/bundle/{chunk-K6JSVXDN.js → chunk-G7DCVJ4F.js} +5 -5
  40. package/dist/bundle/{chunk-J2S7QDOP.js → chunk-GJN5B5JK.js} +16 -16
  41. package/dist/bundle/{chunk-Q5CLTK5R.js → chunk-GR5GGZKH.js} +3 -3
  42. package/dist/bundle/{chunk-SZWQFR5X.js → chunk-GVCN3GLZ.js} +16 -4
  43. package/dist/bundle/{chunk-CT6Z6Z64.js → chunk-H47W2J6S.js} +523 -778
  44. package/dist/bundle/{chunk-HGWMX7BM.js → chunk-HQVJK5E7.js} +44 -22
  45. package/dist/bundle/{chunk-35IHF562.js → chunk-HX7Y2ASG.js} +350 -281
  46. package/dist/bundle/{chunk-7LYVWMKD.js → chunk-I7UH5CTA.js} +8 -8
  47. package/dist/bundle/{chunk-YVQJPLPU.js → chunk-IDUNJCFO.js} +2 -2
  48. package/dist/bundle/{chunk-WACVI3CS.js → chunk-IEXPOEEO.js} +24 -24
  49. package/dist/bundle/{chunk-6FXFYXTR.js → chunk-IWFBAWZK.js} +15 -15
  50. package/dist/bundle/{chunk-3KTDFSSK.js → chunk-JEOYFKUK.js} +2 -2
  51. package/dist/bundle/{chunk-4GFAOETW.js → chunk-KYVXMEBC.js} +3 -3
  52. package/dist/bundle/{chunk-PT6XDCOY.js → chunk-LJAX6YCF.js} +2 -2
  53. package/dist/bundle/{chunk-XXLTVVMT.js → chunk-LONV6HIK.js} +20 -20
  54. package/dist/bundle/{chunk-G75FZQAZ.js → chunk-NHBUTCNR.js} +10 -10
  55. package/dist/bundle/{chunk-OASIFIXM.js → chunk-NPSZPUK6.js} +2 -2
  56. package/dist/bundle/{chunk-Z3GWVRW3.js → chunk-NSIFQ5OP.js} +1 -1
  57. package/dist/bundle/{chunk-WX2NQO2D.js → chunk-NYOPEHEU.js} +1 -1
  58. package/dist/bundle/{chunk-TSZJXI4N.js → chunk-O6IOL6RX.js} +21 -21
  59. package/dist/bundle/{chunk-YLC4JVQZ.js → chunk-PAXKALHV.js} +5 -5
  60. package/dist/bundle/{chunk-AUW45JPI.js → chunk-PDGECM5D.js} +7 -7
  61. package/dist/bundle/{chunk-NRWDEBJB.js → chunk-PEOCBV2Z.js} +8 -8
  62. package/dist/bundle/{chunk-VCPS7Q2W.js → chunk-PQJYM5ES.js} +3 -3
  63. package/dist/bundle/{chunk-TEH76MZK.js → chunk-PQYVPCJ2.js} +26 -26
  64. package/dist/bundle/{chunk-WYWXOIGT.js → chunk-PSNHPFSK.js} +1 -1
  65. package/dist/bundle/{chunk-Y4YBW5S4.js → chunk-Q765VPZY.js} +2 -2
  66. package/dist/bundle/{chunk-D222O57O.js → chunk-QYUHS6DE.js} +6 -6
  67. package/dist/bundle/{chunk-YOABRW2M.js → chunk-R276546S.js} +1 -1
  68. package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
  69. package/dist/bundle/{chunk-VH4GVA2N.js → chunk-UR32UWTQ.js} +2 -2
  70. package/dist/bundle/{chunk-Z6KTSXE3.js → chunk-VJZST5RD.js} +2 -2
  71. package/dist/bundle/{chunk-LLMHJE5Q.js → chunk-VSOLLTYT.js} +2 -2
  72. package/dist/bundle/{chunk-PQGIV36R.js → chunk-VZ2I62HN.js} +2 -2
  73. package/dist/bundle/{chunk-DEVPGI27.js → chunk-W7IK7E4B.js} +17 -17
  74. package/dist/bundle/{chunk-NVHPYKYC.js → chunk-WBTVGFXI.js} +11 -11
  75. package/dist/bundle/{chunk-2TPENYCK.js → chunk-WLFUBNFX.js} +4 -4
  76. package/dist/bundle/{chunk-SRONUWOM.js → chunk-WQJBAWQP.js} +515 -344
  77. package/dist/bundle/{chunk-K3EK4MTU.js → chunk-WQRGA75U.js} +15 -3
  78. package/dist/bundle/{chunk-XE2GEE3E.js → chunk-WUX7AUOQ.js} +26 -26
  79. package/dist/bundle/{chunk-JI5KFKTL.js → chunk-XOLQSCMF.js} +6 -6
  80. package/dist/bundle/{chunk-EY4CUQW2.js → chunk-YKZ4IPLB.js} +26 -9
  81. package/dist/bundle/{chunk-GK2VUKQY.js → chunk-YNFELLNQ.js} +2 -2
  82. package/dist/bundle/{chunk-F3PPSIKI.js → chunk-YVPHJHIL.js} +3 -3
  83. package/dist/bundle/{chunk-4YG2FZ53.js → chunk-Z47LOJUS.js} +7 -7
  84. package/dist/bundle/{chunk-DDD3FS6G.js → chunk-ZDLIO76S.js} +2 -2
  85. package/dist/bundle/{chunk-UMY4IQE2.js → chunk-ZNZUZGSV.js} +54 -47
  86. package/dist/bundle/{chunk-UM4E2OFL.js → chunk-ZSXRDF6I.js} +1 -1
  87. package/dist/bundle/{chunk-N33EOINW.js → chunk-ZWSG7OCA.js} +4 -4
  88. package/dist/bundle/command-contract-I2YB5IXI.js +38 -0
  89. package/dist/bundle/{decode-4EENADOV.js → decode-EDN2ARXZ.js} +19 -17
  90. package/dist/bundle/drive.js +7 -7
  91. package/dist/bundle/{echarts-ZFC37XW7.js → echarts-GXY34GHA.js} +2 -2
  92. package/dist/bundle/{embed-UZMNP26C.js → embed-3GSQIQXE.js} +5 -5
  93. package/dist/bundle/{embedder-7VDWDBKF.js → embedder-6ULWRG3R.js} +8 -8
  94. package/dist/bundle/{entry-JJKCHVIK.js → entry-IPRJLFHO.js} +6 -6
  95. package/dist/bundle/failure-IXS2ZHA5.js +37 -0
  96. package/dist/bundle/{first-run-FJTEUJBF.js → first-run-FGHGWHC2.js} +9 -9
  97. package/dist/bundle/first-screen-M62KTPZG.js +36 -0
  98. package/dist/bundle/{google-JBJASYKY.js → google-BD3ZNFVJ.js} +9 -9
  99. package/dist/bundle/google-api-BDUWZMRV.js +83 -0
  100. package/dist/bundle/{identity-XE73ALJH.js → identity-U7IHZEMR.js} +2 -2
  101. package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
  102. package/dist/bundle/{login-BD2WQT5F.js → login-7HRYPZMM.js} +71 -66
  103. package/dist/bundle/{mcp-G6U2Q63E.js → mcp-F67RATLF.js} +82 -81
  104. package/dist/bundle/mcp-JZSYPQA4.js +96 -0
  105. package/dist/bundle/{mcp-ZYZ4DFW2.js → mcp-WSGVVZWI.js} +2 -2
  106. package/dist/bundle/{node-CYM7VXFR.js → node-ZYWB7IET.js} +2 -2
  107. package/dist/bundle/{node-sqlite-RK4MHW57.js → node-sqlite-J3OODPYK.js} +4 -4
  108. package/dist/bundle/{oauth-CQXQRHJR.js → oauth-L4VTCBLF.js} +6 -6
  109. package/dist/bundle/{open-WSE4NBD2.js → open-SGUN7ZVF.js} +3 -3
  110. package/dist/bundle/openai-RLVISEDH.js +251 -0
  111. package/dist/bundle/{process-7HHZZZLA.js → process-ZXO2MWRJ.js} +1 -1
  112. package/dist/bundle/{program-ZMQYZNV5.js → program-YVLXSKZV.js} +104 -102
  113. package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
  114. package/dist/bundle/{reasons-366PI7OV.js → reasons-J57GSRWN.js} +3 -3
  115. package/dist/bundle/{recognize-AZKGPCAS.js → recognize-ORX2UBQW.js} +5 -3
  116. package/dist/bundle/{remote-EYSK3XKD.js → remote-AGIJY73X.js} +6 -6
  117. package/dist/bundle/{rerank-LOW6VIDF.js → rerank-R6PE44M5.js} +6 -6
  118. package/dist/bundle/{serve-UJ52HGA7.js → serve-VOBAQHAQ.js} +8 -8
  119. package/dist/bundle/server-24PS4M7U.js +70 -0
  120. package/dist/bundle/server-G6HFZ2CK.js +57 -0
  121. package/dist/bundle/{services-B4QUSCFN.js → services-HZFTTZSF.js} +35 -28
  122. package/dist/bundle/{sqlite-runtime-GEURBVK5.js → sqlite-runtime-DTGPR2T2.js} +4 -4
  123. package/dist/bundle/{state-OJNSKOXO.js → state-WG3JKJM3.js} +5 -5
  124. package/dist/bundle/{store-62SBP45X.js → store-33VHIMEO.js} +14 -14
  125. package/dist/bundle/{store-FTS2HVVB.js → store-EV72MT5U.js} +16 -16
  126. package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +58 -0
  127. package/dist/bundle/tokens-XMOGQFI6.js +102 -0
  128. package/dist/commands/session.d.ts.map +1 -1
  129. package/dist/commands/session.js +2 -1
  130. package/dist/commands/session.js.map +1 -1
  131. package/dist/knowledge-query.d.ts +1 -1
  132. package/dist/login.d.ts.map +1 -1
  133. package/dist/login.js +7 -3
  134. package/dist/login.js.map +1 -1
  135. package/dist/reasons.js +1 -1
  136. package/dist/reasons.js.map +1 -1
  137. package/dist/store.d.ts.map +1 -1
  138. package/dist/store.js +1 -0
  139. package/dist/store.js.map +1 -1
  140. package/dist/tokens.d.ts +0 -2
  141. package/dist/tokens.d.ts.map +1 -1
  142. package/dist/tokens.js +12 -13
  143. package/dist/tokens.js.map +1 -1
  144. package/dist/version.d.ts +1 -1
  145. package/dist/version.js +1 -1
  146. package/package.json +3 -3
  147. package/dist/bundle/command-contract-R6CGYG7L.js +0 -38
  148. package/dist/bundle/failure-VBQBKCD5.js +0 -37
  149. package/dist/bundle/first-screen-NSPQWNMQ.js +0 -36
  150. package/dist/bundle/google-api-2FKF4UUN.js +0 -82
  151. package/dist/bundle/mcp-H3XD47NW.js +0 -95
  152. package/dist/bundle/server-CA2VLY25.js +0 -56
  153. package/dist/bundle/server-TW75RDEP.js +0 -69
  154. package/dist/bundle/store-maintenance-command-FQMB3R4E.js +0 -57
  155. package/dist/bundle/tokens-JALZUGEM.js +0 -103
  156. /package/dist/bundle/{chunk-2WNDZFGG.js → chunk-62EDJKGP.js} +0 -0
  157. /package/dist/bundle/{chunk-UO5O3665.js → chunk-FQRJWVEB.js} +0 -0
@@ -12,13 +12,13 @@ import {
12
12
  registerPrompts,
13
13
  stdinFieldOf,
14
14
  syncsFirst
15
- } from "./chunk-FV5WG4WU.js";
15
+ } from "./chunk-A4UNTWAX.js";
16
16
  import {
17
17
  mcpUrlOf
18
- } from "./chunk-MPTD5P53.js";
18
+ } from "./chunk-DO4PDQY5.js";
19
19
  import {
20
20
  answeredWire
21
- } from "./chunk-YXHMEFL7.js";
21
+ } from "./chunk-CITFEQ6S.js";
22
22
  import {
23
23
  BinaryResource,
24
24
  Picture,
@@ -39,44 +39,44 @@ import {
39
39
  tool,
40
40
  toolKey,
41
41
  toolsFromCommands
42
- } from "./chunk-TEH76MZK.js";
42
+ } from "./chunk-PQYVPCJ2.js";
43
43
  import {
44
44
  agentJson,
45
45
  skillResource
46
- } from "./chunk-6FXFYXTR.js";
46
+ } from "./chunk-IWFBAWZK.js";
47
47
  import {
48
48
  StdioServerTransport,
49
49
  callerOf,
50
50
  serveStdio
51
- } from "./chunk-XBENRRBS.js";
51
+ } from "./chunk-FCJAHD4R.js";
52
52
  import {
53
53
  instructions
54
- } from "./chunk-UM4E2OFL.js";
54
+ } from "./chunk-ZSXRDF6I.js";
55
55
  import {
56
56
  McpServer,
57
57
  ResourceTemplate
58
58
  } from "./chunk-5FONRUG6.js";
59
59
  import {
60
60
  mcpHttpMarker
61
- } from "./chunk-SRIPLP7N.js";
61
+ } from "./chunk-RNSP57TC.js";
62
62
  import {
63
63
  connectedFor,
64
64
  guardFor
65
- } from "./chunk-XCXUP76D.js";
65
+ } from "./chunk-CB7SBYLO.js";
66
66
  import {
67
67
  lackedNeed,
68
68
  wholeList
69
- } from "./chunk-UW7VXKKZ.js";
69
+ } from "./chunk-2AUXBJRX.js";
70
70
  import {
71
71
  capability,
72
72
  dateWindow,
73
73
  imageSize,
74
74
  servicesFor,
75
75
  storedDeps
76
- } from "./chunk-CT6Z6Z64.js";
76
+ } from "./chunk-H47W2J6S.js";
77
77
  import {
78
78
  findCommand
79
- } from "./chunk-HBRTKJ3J.js";
79
+ } from "./chunk-5PLJKSG4.js";
80
80
  import {
81
81
  DEFAULT_OUTPUT_BYTES,
82
82
  changesAuthorityAt,
@@ -88,42 +88,42 @@ import {
88
88
  rootOf2 as rootOf,
89
89
  sealed,
90
90
  snakeKeys
91
- } from "./chunk-5C7RKU7O.js";
91
+ } from "./chunk-FDWYPONW.js";
92
92
  import {
93
93
  withCaller
94
- } from "./chunk-NRWDEBJB.js";
94
+ } from "./chunk-PEOCBV2Z.js";
95
95
  import {
96
96
  describeProgram
97
- } from "./chunk-BVDAP3FQ.js";
97
+ } from "./chunk-725OHXKR.js";
98
98
  import {
99
99
  typedCommand
100
- } from "./chunk-XXLTVVMT.js";
100
+ } from "./chunk-LONV6HIK.js";
101
101
  import {
102
102
  isCliFailure
103
- } from "./chunk-LLMHJE5Q.js";
103
+ } from "./chunk-VSOLLTYT.js";
104
104
  import {
105
105
  levelFor,
106
106
  readKeysForCommand
107
- } from "./chunk-Y4YBW5S4.js";
107
+ } from "./chunk-Q765VPZY.js";
108
108
  import {
109
109
  readOnlyLockOf
110
- } from "./chunk-DDD3FS6G.js";
110
+ } from "./chunk-ZDLIO76S.js";
111
111
  import {
112
112
  warmEmbedders
113
- } from "./chunk-AKW5MNQP.js";
113
+ } from "./chunk-CM7GAXGD.js";
114
114
  import {
115
115
  openStore
116
- } from "./chunk-SRONUWOM.js";
116
+ } from "./chunk-WQJBAWQP.js";
117
117
  import {
118
118
  pdfPreviewLimits
119
- } from "./chunk-3KTDFSSK.js";
119
+ } from "./chunk-JEOYFKUK.js";
120
120
  import {
121
121
  timezoneOf
122
- } from "./chunk-G75FZQAZ.js";
122
+ } from "./chunk-NHBUTCNR.js";
123
123
  import {
124
124
  mcpErrorResult,
125
125
  visibleControls
126
- } from "./chunk-HGWMX7BM.js";
126
+ } from "./chunk-HQVJK5E7.js";
127
127
  import {
128
128
  CliError,
129
129
  description,
@@ -139,15 +139,15 @@ import {
139
139
  regex,
140
140
  strictObject,
141
141
  string
142
- } from "./chunk-EY4CUQW2.js";
142
+ } from "./chunk-YKZ4IPLB.js";
143
143
  import {
144
144
  __name
145
145
  } from "./chunk-ZVVMGPBJ.js";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/server.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/server.js
148
148
  import { randomUUID } from "node:crypto";
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
151
151
  var agentLog = /* @__PURE__ */ __name((open) => {
152
152
  let held;
153
153
  return {
@@ -166,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
166
166
  };
167
167
  }, "agentLog");
168
168
 
169
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/resources.js
169
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/resources.js
170
170
  var LISTED = 100;
171
171
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
172
172
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -204,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
204
204
  });
205
205
  }, "registerResources");
206
206
 
207
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/session.js
207
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/session.js
208
208
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
209
209
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
210
210
  var MessengerSession = class {
@@ -279,7 +279,7 @@ var MessengerSession = class {
279
279
  }
280
280
  };
281
281
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
282
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
283
283
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
284
284
  const _command = messenger.app.command;
285
285
  return {
@@ -333,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
333
333
  };
334
334
  }, "attachmentsTools");
335
335
 
336
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
336
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
337
337
  var PHOTO_LIMIT = 512 * 1024;
338
338
  var IMAGE_TYPES = [
339
339
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -387,7 +387,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
387
387
  return new Uint8Array(Buffer.concat(chunks));
388
388
  }, "readUpTo");
389
389
 
390
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
390
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
391
391
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
392
392
  stats_charts: tool({
393
393
  title: "A chart from a chat's statistics",
@@ -424,14 +424,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
424
424
  })
425
425
  }), "statsTools");
426
426
 
427
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/tools.js
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/tools.js
428
428
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
429
429
  ...messagesPhotoTools(messenger),
430
430
  ...attachmentsTools(messenger),
431
431
  ...statsTools(messenger)
432
432
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
433
433
 
434
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/server.js
434
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/server.js
435
435
  var PER_RUN = /* @__PURE__ */ new Set([
436
436
  "streams",
437
437
  "stdin",
@@ -755,7 +755,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
755
755
  }, "serveOverStdio");
756
756
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
757
757
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
758
- const { serveOverHttp } = await import("./serve-UJ52HGA7.js");
758
+ const { serveOverHttp } = await import("./serve-VOBAQHAQ.js");
759
759
  const appName = messenger.app.command;
760
760
  const appEnvPrefix = messenger.app.envPrefix;
761
761
  const listening = await serveOverHttp(build, {
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-PRBPVOW4.js";
5
+ } from "./chunk-6DHQTUB2.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-GK2VUKQY.js";
8
+ } from "./chunk-YNFELLNQ.js";
9
9
  import {
10
10
  WebStandardStreamableHTTPServerTransport,
11
11
  createMcpHandler,
@@ -20,15 +20,15 @@ import {
20
20
  calledTools,
21
21
  httpActivityFile,
22
22
  httpLock
23
- } from "./chunk-SRIPLP7N.js";
23
+ } from "./chunk-RNSP57TC.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-EY4CUQW2.js";
26
+ } from "./chunk-YKZ4IPLB.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
32
32
  import { randomUUID } from "node:crypto";
33
33
  var MCP_PATH = "/mcp";
34
34
  var AS_METADATA = "/.well-known/oauth-authorization-server";
@@ -1,57 +1,57 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- operations
5
- } from "./chunk-F3PPSIKI.js";
6
3
  import {
7
4
  fileId,
8
5
  inspectConfig,
9
6
  paths,
10
7
  profileName,
11
8
  refusal
12
- } from "./chunk-YLC4JVQZ.js";
9
+ } from "./chunk-PAXKALHV.js";
10
+ import {
11
+ operations
12
+ } from "./chunk-YVPHJHIL.js";
13
13
  import {
14
14
  DRIVE_APP
15
- } from "./chunk-WX2NQO2D.js";
15
+ } from "./chunk-NYOPEHEU.js";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-U3OS6V6S.js";
18
+ } from "./chunk-BBYD2FA3.js";
19
19
  import {
20
20
  RecipientList,
21
21
  SendJournal,
22
22
  sendGuard
23
- } from "./chunk-XCXUP76D.js";
23
+ } from "./chunk-CB7SBYLO.js";
24
24
  import {
25
25
  newOperationId
26
- } from "./chunk-CT6Z6Z64.js";
26
+ } from "./chunk-H47W2J6S.js";
27
27
  import {
28
28
  profileFree
29
- } from "./chunk-5C7RKU7O.js";
29
+ } from "./chunk-FDWYPONW.js";
30
30
  import {
31
31
  annotate,
32
32
  commandsDocument,
33
33
  describeProgram,
34
34
  flatten
35
- } from "./chunk-BVDAP3FQ.js";
35
+ } from "./chunk-725OHXKR.js";
36
36
  import {
37
37
  guardedWrite
38
- } from "./chunk-XXLTVVMT.js";
38
+ } from "./chunk-LONV6HIK.js";
39
39
  import {
40
40
  CEILING_KEY,
41
41
  LEVELS,
42
42
  layerPermissions,
43
43
  levelFor
44
- } from "./chunk-Y4YBW5S4.js";
44
+ } from "./chunk-Q765VPZY.js";
45
45
  import {
46
46
  setupPermissionCeiling
47
- } from "./chunk-2TPENYCK.js";
47
+ } from "./chunk-WLFUBNFX.js";
48
48
  import {
49
49
  readOnlyLockOf,
50
50
  readOnlyRefusal
51
- } from "./chunk-DDD3FS6G.js";
51
+ } from "./chunk-ZDLIO76S.js";
52
52
  import {
53
53
  writeSecurely
54
- } from "./chunk-HGWMX7BM.js";
54
+ } from "./chunk-HQVJK5E7.js";
55
55
  import {
56
56
  CliError,
57
57
  array,
@@ -70,7 +70,7 @@ import {
70
70
  string,
71
71
  unknown,
72
72
  writes
73
- } from "./chunk-EY4CUQW2.js";
73
+ } from "./chunk-YKZ4IPLB.js";
74
74
  import {
75
75
  __name
76
76
  } from "./chunk-ZVVMGPBJ.js";
@@ -5,13 +5,13 @@ import {
5
5
  operations,
6
6
  validateApiParams,
7
7
  validateRequest
8
- } from "./chunk-F3PPSIKI.js";
8
+ } from "./chunk-YVPHJHIL.js";
9
9
  import {
10
10
  googleError
11
- } from "./chunk-YOABRW2M.js";
11
+ } from "./chunk-R276546S.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-EY4CUQW2.js";
14
+ } from "./chunk-YKZ4IPLB.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,6 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  array,
5
+ boolean,
5
6
  integer,
6
7
  isoTime,
7
8
  isoTimestamp,
@@ -17,9 +18,9 @@ import {
17
18
  strictObject,
18
19
  string,
19
20
  unknown
20
- } from "./chunk-EY4CUQW2.js";
21
+ } from "./chunk-YKZ4IPLB.js";
21
22
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/fields.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/fields.js
23
24
  var text = string();
24
25
  var id = pipe(string(), minLength(1));
25
26
  var time = isoTime;
@@ -27,13 +28,23 @@ var zonedTime = pipe(string(), isoTimestamp("an ISO 8601 time with a zone"));
27
28
  var count = pipe(number(), integer(), minValue(0));
28
29
  var untrusted = optional(array(text));
29
30
  var providerMetadata = optional(record(string(), unknown()));
31
+ var evidenceSource = strictObject({
32
+ ref: nullable(reference),
33
+ kind: text,
34
+ title: nullable(text),
35
+ sender: nullable(text),
36
+ at: nullable(time),
37
+ excerpt: nullable(text),
38
+ tool: nullable(text),
39
+ missing: boolean()
40
+ });
30
41
  var author = strictObject({
31
42
  type: picklist(["person", "bot"]),
32
43
  id,
33
44
  name: nullable(text)
34
45
  });
35
46
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/note.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/note.js
37
48
  var link = {
38
49
  target_text: nullable(text),
39
50
  kind: text,
@@ -74,7 +85,7 @@ var note = strictObject({
74
85
  backlinks: optional(array(strictObject({ from: reference, ...link })))
75
86
  });
76
87
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
88
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
78
89
  var organization = strictObject({
79
90
  id,
80
91
  ref: reference,
@@ -112,6 +123,7 @@ export {
112
123
  count,
113
124
  untrusted,
114
125
  providerMetadata,
126
+ evidenceSource,
115
127
  author,
116
128
  note,
117
129
  organization,