@wirecat/tg-cli 0.125.0 → 0.127.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 (97) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-H2LTOLOA.js → adapter-EZFS2UR6.js} +43 -43
  3. package/dist/bundle/{all-profiles-75HGEFL7.js → all-profiles-TNIUBQK6.js} +6 -6
  4. package/dist/bundle/{anthropic-N54MKE4C.js → anthropic-NGIS5LTL.js} +2 -2
  5. package/dist/bundle/{app-server-3N5INKKI.js → app-server-RPU76G7D.js} +42 -38
  6. package/dist/bundle/{bot-api-V65KTEAH.js → bot-api-QJ6U6BLG.js} +44 -44
  7. package/dist/bundle/{bot-history-TT2EAHEE.js → bot-history-THULK2C6.js} +12 -12
  8. package/dist/bundle/{bun-LN4J7PA7.js → bun-QLSLLP27.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-6PDBFBUI.js → bun-sqlite-SH5245ZY.js} +3 -3
  10. package/dist/bundle/{chunk-RZ7KBWDQ.js → chunk-2R6ZSE3O.js} +2 -2
  11. package/dist/bundle/{chunk-E4HDE5DN.js → chunk-3CV5TBBR.js} +2 -2
  12. package/dist/bundle/{chunk-PCC7GWOS.js → chunk-3I3TGKVG.js} +3 -3
  13. package/dist/bundle/{chunk-6Y6SSZ34.js → chunk-3WI53AA4.js} +129 -83
  14. package/dist/bundle/{chunk-DYOZ7CUV.js → chunk-45URY64S.js} +1 -1
  15. package/dist/bundle/{chunk-S4SOS27T.js → chunk-4CQ3PV3V.js} +7 -7
  16. package/dist/bundle/{chunk-OG2ONSH6.js → chunk-4FFKCC7Y.js} +16 -16
  17. package/dist/bundle/{chunk-UTNK2PFE.js → chunk-4MKRKW6V.js} +12 -12
  18. package/dist/bundle/{chunk-FSP74THJ.js → chunk-5AOFOJQA.js} +4 -4
  19. package/dist/bundle/{chunk-7OBSIDBJ.js → chunk-5FDYMMEQ.js} +2 -2
  20. package/dist/bundle/{chunk-4TCBRKWQ.js → chunk-5KZKVKWU.js} +6 -6
  21. package/dist/bundle/{chunk-37SZHAEA.js → chunk-5SN6KFPC.js} +51 -50
  22. package/dist/bundle/{chunk-CNEJQQMD.js → chunk-7GE6KMLB.js} +11 -11
  23. package/dist/bundle/{chunk-77Z3OGAT.js → chunk-APSMQIA4.js} +2 -2
  24. package/dist/bundle/{chunk-BLNMM3AX.js → chunk-BNM6KNUQ.js} +1 -1
  25. package/dist/bundle/{chunk-GUPMDMFM.js → chunk-BWHVHPAQ.js} +5 -5
  26. package/dist/bundle/{chunk-VZDAVZYX.js → chunk-CXWAKV2O.js} +5 -5
  27. package/dist/bundle/{chunk-AMPHPP4P.js → chunk-DNNYE6PS.js} +13 -13
  28. package/dist/bundle/{chunk-X6436BYW.js → chunk-EGNQSWPH.js} +1 -1
  29. package/dist/bundle/{chunk-FUYCAROL.js → chunk-ERUB3KU3.js} +322 -11
  30. package/dist/bundle/{chunk-TVQBOIWC.js → chunk-FD44T7HC.js} +1 -1
  31. package/dist/bundle/{chunk-SGHF75RQ.js → chunk-FSDLSEZA.js} +1 -1
  32. package/dist/bundle/{chunk-WH4T44L3.js → chunk-GHVRCLJI.js} +1 -1
  33. package/dist/bundle/{chunk-JB4BO5XZ.js → chunk-H7GAFD4N.js} +1 -1
  34. package/dist/bundle/{chunk-JC6HMPL7.js → chunk-HPM47WO3.js} +4686 -3968
  35. package/dist/bundle/{chunk-3GILMKQ2.js → chunk-IWJ5OLU6.js} +2 -2
  36. package/dist/bundle/{chunk-QVK7NF3A.js → chunk-J6FHZXNS.js} +32 -28
  37. package/dist/bundle/{chunk-RX5GU7GQ.js → chunk-JF7D2Y4K.js} +1129 -879
  38. package/dist/bundle/{chunk-JCNKGZQG.js → chunk-JFQZ6BWI.js} +16 -16
  39. package/dist/bundle/{chunk-ZX5OSZHH.js → chunk-JWEKUAVZ.js} +10 -10
  40. package/dist/bundle/{chunk-QYT6HDCL.js → chunk-K4VO7S6Q.js} +1 -1
  41. package/dist/bundle/{chunk-DNCOELTM.js → chunk-LOG65WHO.js} +1 -1
  42. package/dist/bundle/{chunk-GRDVBJCR.js → chunk-MTU3UP5U.js} +1 -1
  43. package/dist/bundle/{chunk-DI3RJ3MJ.js → chunk-NBN5OYXH.js} +3 -3
  44. package/dist/bundle/{chunk-TAFH5K5D.js → chunk-P5NJECXX.js} +411 -295
  45. package/dist/bundle/{chunk-JKF7LZBU.js → chunk-QPVCFSVU.js} +5 -5
  46. package/dist/bundle/{chunk-UG66U2T7.js → chunk-R52ZZZKZ.js} +23 -13
  47. package/dist/bundle/{chunk-INZAZMUF.js → chunk-S3XUJPPL.js} +9 -4
  48. package/dist/bundle/{chunk-6HLB73UN.js → chunk-SN52ZGFN.js} +2 -2
  49. package/dist/bundle/{chunk-FHPEUAHQ.js → chunk-TGKTIDYS.js} +168 -399
  50. package/dist/bundle/{chunk-VG3EQJYV.js → chunk-UIQMBOXU.js} +31 -2
  51. package/dist/bundle/{chunk-EIGV2JKX.js → chunk-UW34Z7J3.js} +1 -1
  52. package/dist/bundle/{chunk-XTNOBJRP.js → chunk-UY2TRFYN.js} +10 -10
  53. package/dist/bundle/{chunk-VHD4V64E.js → chunk-VMV5CMLH.js} +1 -1
  54. package/dist/bundle/{chunk-MK4IKICN.js → chunk-X4ECHJNG.js} +2 -2
  55. package/dist/bundle/{chunk-IN3NAFUN.js → chunk-XUAVZ6YX.js} +7 -7
  56. package/dist/bundle/{chunk-NTHALPDT.js → chunk-Y62I2T36.js} +2 -1
  57. package/dist/bundle/{chunk-B252D7V4.js → chunk-Y65BQJOY.js} +4 -6
  58. package/dist/bundle/{chunk-4KIOWSDL.js → chunk-Y7UA7HGL.js} +2 -2
  59. package/dist/bundle/{chunk-HHG5FR5H.js → chunk-YIPOWJPN.js} +1 -1
  60. package/dist/bundle/{chunk-VUBSGQ2O.js → chunk-YZGIQY2R.js} +24 -22
  61. package/dist/bundle/{chunk-AI2J3WJT.js → chunk-ZIPUVOGT.js} +1 -1
  62. package/dist/bundle/{chunk-LU2CHHPC.js → chunk-ZSS3BH6Z.js} +2 -2
  63. package/dist/bundle/{command-contract-JP6SCP7U.js → command-contract-DY6Y4TES.js} +13 -13
  64. package/dist/bundle/{command-server-entry-BLSFT3T6.js → command-server-entry-UG2CLYXI.js} +20 -20
  65. package/dist/bundle/{decode-NNLEQU7B.js → decode-3NEUZJ2N.js} +2 -2
  66. package/dist/bundle/{echarts-XAZHGDOM.js → echarts-CN6ZVAJZ.js} +2 -2
  67. package/dist/bundle/{embed-Q7ZCVSCO.js → embed-M4EHIKA5.js} +3 -3
  68. package/dist/bundle/{embedder-MVS3PVWQ.js → embedder-K2XL2UB4.js} +6 -6
  69. package/dist/bundle/{entry-XN3ZZAOK.js → entry-6M55YL2H.js} +6 -6
  70. package/dist/bundle/{first-run-G4EFTONI.js → first-run-TLJILIOF.js} +5 -5
  71. package/dist/bundle/{first-screen-RIDJEPC3.js → first-screen-WME7ILW2.js} +14 -14
  72. package/dist/bundle/{instructions-QDHYYZBU.js → instructions-QLC2AXAB.js} +1 -1
  73. package/dist/bundle/{node-3Y7OVY2U.js → node-BAA3T4CH.js} +2 -2
  74. package/dist/bundle/{node-sqlite-R2SBROJM.js → node-sqlite-FNYVHQCO.js} +4 -4
  75. package/dist/bundle/{oauth-WSPWMWTV.js → oauth-32T5KL5E.js} +4 -4
  76. package/dist/bundle/{open-VFLF4HRQ.js → open-4VQ6FUEI.js} +2 -2
  77. package/dist/bundle/{openai-DFCKZZDV.js → openai-HDOKCN3Z.js} +12 -12
  78. package/dist/bundle/{process-VZKFAGNP.js → process-GOUBIWKC.js} +1 -1
  79. package/dist/bundle/{program-2LB3CUZX.js → program-QFXJL2R5.js} +46 -46
  80. package/dist/bundle/{prompt-RVLA2PEY.js → prompt-YYODWYFO.js} +2 -2
  81. package/dist/bundle/{recognize-LEKNA3G5.js → recognize-7ZULX5HL.js} +1 -1
  82. package/dist/bundle/{remote-WG5V2I2G.js → remote-TUG7M5Y5.js} +6 -6
  83. package/dist/bundle/{rerank-ONAEQVJ6.js → rerank-D2EZWG66.js} +4 -4
  84. package/dist/bundle/{serve-BL2X6FZG.js → serve-MP3GA2XX.js} +6 -6
  85. package/dist/bundle/{server-3LSC4BMK.js → server-D277L3H3.js} +31 -29
  86. package/dist/bundle/server-GEP7QXGI.js +62 -0
  87. package/dist/bundle/{sqlite-runtime-RQXPRH6C.js → sqlite-runtime-XHZXEOLY.js} +3 -3
  88. package/dist/bundle/{state-O7LRA526.js → state-YI3W6HGO.js} +3 -3
  89. package/dist/bundle/{store-HMJUPK45.js → store-C4RFPYPK.js} +9 -9
  90. package/dist/bundle/{store-7C4UAND2.js → store-CIZPJFWE.js} +15 -11
  91. package/dist/bundle/store-maintenance-command-JNDYWFD2.js +52 -0
  92. package/dist/bundle/tg.js +3 -3
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +2 -2
  96. package/dist/bundle/server-7EYEEGJT.js +0 -62
  97. package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +0 -52
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-6Y6SSZ34.js";
8
+ } from "./chunk-3WI53AA4.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -18,7 +18,7 @@ import {
18
18
  unknown
19
19
  } from "./chunk-XS5C5TQ7.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,
@@ -12,10 +12,10 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-VUBSGQ2O.js";
15
+ } from "./chunk-YZGIQY2R.js";
16
16
  import {
17
17
  answeredWire
18
- } from "./chunk-AI2J3WJT.js";
18
+ } from "./chunk-ZIPUVOGT.js";
19
19
  import {
20
20
  BinaryResource,
21
21
  Picture,
@@ -36,30 +36,30 @@ import {
36
36
  tool,
37
37
  toolKey,
38
38
  toolsFromCommands
39
- } from "./chunk-OG2ONSH6.js";
39
+ } from "./chunk-4FFKCC7Y.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-UG66U2T7.js";
43
+ } from "./chunk-R52ZZZKZ.js";
44
44
  import {
45
45
  StdioServerTransport,
46
46
  callerOf,
47
47
  callingAgent,
48
48
  serveStdio
49
- } from "./chunk-MK4IKICN.js";
49
+ } from "./chunk-X4ECHJNG.js";
50
50
  import {
51
51
  instructions
52
- } from "./chunk-DNCOELTM.js";
52
+ } from "./chunk-LOG65WHO.js";
53
53
  import {
54
54
  McpServer,
55
55
  ResourceTemplate
56
56
  } from "./chunk-5D4AEUVA.js";
57
57
  import {
58
58
  mcpHttpMarker
59
- } from "./chunk-FSP74THJ.js";
59
+ } from "./chunk-5AOFOJQA.js";
60
60
  import {
61
61
  connectedFor
62
- } from "./chunk-AMPHPP4P.js";
62
+ } from "./chunk-DNNYE6PS.js";
63
63
  import {
64
64
  capability,
65
65
  dateWindow,
@@ -69,25 +69,26 @@ import {
69
69
  servicesFor,
70
70
  storedDeps,
71
71
  wholeList
72
- } from "./chunk-TAFH5K5D.js";
72
+ } from "./chunk-P5NJECXX.js";
73
73
  import {
74
74
  warmEmbedders
75
- } from "./chunk-JKF7LZBU.js";
75
+ } from "./chunk-QPVCFSVU.js";
76
76
  import {
77
77
  stdinFieldOf
78
- } from "./chunk-WH4T44L3.js";
78
+ } from "./chunk-GHVRCLJI.js";
79
79
  import {
80
80
  openStore,
81
81
  pdfPreviewLimits
82
- } from "./chunk-JC6HMPL7.js";
82
+ } from "./chunk-HPM47WO3.js";
83
83
  import {
84
84
  findCommand
85
- } from "./chunk-7OBSIDBJ.js";
85
+ } from "./chunk-5FDYMMEQ.js";
86
86
  import {
87
87
  DEFAULT_OUTPUT_BYTES,
88
88
  changesAuthorityAt,
89
89
  describeProgram,
90
90
  environmentOf,
91
+ fetchesOnlyAt,
91
92
  itemOf,
92
93
  judgedTargets,
93
94
  levelFor,
@@ -97,20 +98,20 @@ import {
97
98
  rootOf2 as rootOf,
98
99
  sealed,
99
100
  snakeKeys
100
- } from "./chunk-FHPEUAHQ.js";
101
+ } from "./chunk-TGKTIDYS.js";
101
102
  import {
102
103
  withCaller
103
- } from "./chunk-4TCBRKWQ.js";
104
+ } from "./chunk-5KZKVKWU.js";
104
105
  import {
105
106
  readOnlyLockOf
106
- } from "./chunk-DYOZ7CUV.js";
107
+ } from "./chunk-45URY64S.js";
107
108
  import {
108
109
  timezoneOf,
109
110
  typedCommand
110
- } from "./chunk-6Y6SSZ34.js";
111
+ } from "./chunk-3WI53AA4.js";
111
112
  import {
112
113
  isCliFailure
113
- } from "./chunk-77Z3OGAT.js";
114
+ } from "./chunk-APSMQIA4.js";
114
115
  import {
115
116
  description,
116
117
  integer,
@@ -135,10 +136,10 @@ import {
135
136
  __name
136
137
  } from "./chunk-ZVVMGPBJ.js";
137
138
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/server.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/server.js
139
140
  import { randomUUID } from "node:crypto";
140
141
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
142
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
142
143
  var agentLog = /* @__PURE__ */ __name((open) => {
143
144
  let held;
144
145
  return {
@@ -157,7 +158,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
157
158
  };
158
159
  }, "agentLog");
159
160
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/resources.js
161
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/resources.js
161
162
  var LISTED = 100;
162
163
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
163
164
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -195,7 +196,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
195
196
  });
196
197
  }, "registerResources");
197
198
 
198
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/session.js
199
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/session.js
199
200
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
200
201
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
201
202
  var MessengerSession = class {
@@ -270,7 +271,7 @@ var MessengerSession = class {
270
271
  }
271
272
  };
272
273
 
273
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
274
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
274
275
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
275
276
  const _command = messenger.app.command;
276
277
  return {
@@ -324,7 +325,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
324
325
  };
325
326
  }, "attachmentsTools");
326
327
 
327
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
328
329
  var PHOTO_LIMIT = 512 * 1024;
329
330
  var IMAGE_TYPES = [
330
331
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -378,7 +379,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
378
379
  return new Uint8Array(Buffer.concat(chunks));
379
380
  }, "readUpTo");
380
381
 
381
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
382
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
382
383
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
383
384
  stats_charts: tool({
384
385
  title: "A chart from a chat's statistics",
@@ -415,14 +416,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
415
416
  })
416
417
  }), "statsTools");
417
418
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/tools.js
419
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/tools.js
419
420
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
420
421
  ...messagesPhotoTools(messenger),
421
422
  ...attachmentsTools(messenger),
422
423
  ...statsTools(messenger)
423
424
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
424
425
 
425
- // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/server.js
426
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._7ae9f69690019eb17dc9f8442c19cb73/node_modules/@wirecat/cli-core/dist/mcp/server.js
426
427
  var PER_RUN = /* @__PURE__ */ new Set([
427
428
  "streams",
428
429
  "stdin",
@@ -473,6 +474,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
473
474
  }
474
475
  }, "keyOf");
475
476
  const authority = changesAuthorityAt(root);
477
+ const fetches = fetchesOnlyAt(root);
476
478
  const stdin = /* @__PURE__ */ __name((path) => {
477
479
  try {
478
480
  return stdinFieldOf(findCommand(root, path));
@@ -493,6 +495,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
493
495
  keyOf,
494
496
  authority,
495
497
  fetchOnly: readsOverMcpAt(root),
498
+ fetches,
496
499
  offline: true,
497
500
  stdin
498
501
  }).map((one) => "sync_first" in one.input.entries && !syncAllowed(one.path) ? {
@@ -573,6 +576,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
573
576
  overrides,
574
577
  keyOf,
575
578
  authority,
579
+ fetches,
576
580
  stdin,
577
581
  connection,
578
582
  environment: agentEnvironment,
@@ -746,7 +750,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
746
750
  }, "serveOverStdio");
747
751
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
748
752
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
749
- const { serveOverHttp } = await import("./serve-BL2X6FZG.js");
753
+ const { serveOverHttp } = await import("./serve-MP3GA2XX.js");
750
754
  const appName = messenger.app.command;
751
755
  const appEnvPrefix = messenger.app.envPrefix;
752
756
  const listening = await serveOverHttp(build, {