codebase-snapshot 0.9.9 → 0.9.14

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.
package/dist/mcp.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ export { G as GenerateSummary, W as WorkerResults, g as generateInWorker } from './generate-worker-D_mUjgXw.cjs';
1
2
  import { Readable, Writable } from 'node:stream';
2
3
 
3
4
  /**
@@ -100,72 +101,6 @@ interface InputSchema extends JsonSchema {
100
101
  properties: Record<string, JsonSchema>;
101
102
  }
102
103
 
103
- type ProtocolEra = "legacy" | "modern";
104
- /** Per-connection state. The modern era has no session, so this stays empty until legacy init. */
105
- interface SessionState {
106
- /** Which era the connection committed to, or null before the first decisive request. */
107
- era: ProtocolEra | null;
108
- /** The revision in force. Null in legacy until `initialize` has been negotiated. */
109
- protocolVersion: string | null;
110
- /** True once `initialize` has been answered, which is the legacy lifecycle's gate. */
111
- ready: boolean;
112
- }
113
- declare function createSession(): SessionState;
114
- /** The modern request metadata, when a request carries it at all. */
115
- interface ModernMeta {
116
- version: string;
117
- clientCapabilities: JsonObject;
118
- clientInfo: JsonObject | null;
119
- }
120
- type MetaInspection = {
121
- kind: "absent";
122
- } | {
123
- kind: "incomplete";
124
- missing: string;
125
- } | {
126
- kind: "present";
127
- meta: ModernMeta;
128
- };
129
- /**
130
- * Reads `_meta` from a request.
131
- *
132
- * `absent` and `incomplete` are different answers: a request with no `_meta` at all is a legacy
133
- * client, while a request with `_meta` that lacks a required key is a modern client making a
134
- * mistake — and telling those two apart is what keeps the legacy era from being rejected for a
135
- * field it never had.
136
- */
137
- declare function inspectModernMeta(params: JsonObject | undefined): MetaInspection;
138
- type EraDecision = {
139
- kind: "era";
140
- era: ProtocolEra;
141
- version: string | null;
142
- } | {
143
- kind: "error";
144
- code: number;
145
- message: string;
146
- data?: unknown;
147
- };
148
- /**
149
- * Decides which era a request belongs to, and whether its version is acceptable.
150
- *
151
- * Once a connection commits to an era it stays committed. A legacy client that suddenly sends
152
- * modern `_meta` is confused rather than clever, and silently switching would answer half a
153
- * session in each shape.
154
- */
155
- declare function classifyRequest(method: string, params: JsonObject | undefined, session: SessionState): EraDecision;
156
- interface LegacyNegotiation {
157
- version: string;
158
- /** False when the client asked for something we cannot speak and was negotiated down. */
159
- matched: boolean;
160
- }
161
- /**
162
- * Legacy version negotiation: echo a supported request, otherwise answer with our best.
163
- *
164
- * A client that asked for a modern revision here gets the newest *legacy* revision, not an error:
165
- * under this lifecycle the server's answer is the offer, and the client decides.
166
- */
167
- declare function negotiateLegacyVersion(requested: unknown): LegacyNegotiation;
168
-
169
104
  /**
170
105
  * The capability records the MCP server serves.
171
106
  *
@@ -187,7 +122,7 @@ interface ToolContext {
187
122
  * Client-facing hints.
188
123
  *
189
124
  * `readOnlyHint` is the one that changes behaviour rather than appearance: clients use it to
190
- * auto-approve a call. Six of the seven tools never touch the filesystem, so they are marked
125
+ * auto-approve a call. Seven of the eight tools never touch the filesystem, so they are marked
191
126
  * read-only and only `snapshot_generate` prompts.
192
127
  */
193
128
  interface ToolAnnotations {
@@ -278,6 +213,72 @@ interface McpServerInfo {
278
213
  websiteUrl: string;
279
214
  }
280
215
 
216
+ type ProtocolEra = "legacy" | "modern";
217
+ /** Per-connection state. The modern era has no session, so this stays empty until legacy init. */
218
+ interface SessionState {
219
+ /** Which era the connection committed to, or null before the first decisive request. */
220
+ era: ProtocolEra | null;
221
+ /** The revision in force. Null in legacy until `initialize` has been negotiated. */
222
+ protocolVersion: string | null;
223
+ /** True once `initialize` has been answered, which is the legacy lifecycle's gate. */
224
+ ready: boolean;
225
+ }
226
+ declare function createSession(): SessionState;
227
+ /** The modern request metadata, when a request carries it at all. */
228
+ interface ModernMeta {
229
+ version: string;
230
+ clientCapabilities: JsonObject;
231
+ clientInfo: JsonObject | null;
232
+ }
233
+ type MetaInspection = {
234
+ kind: "absent";
235
+ } | {
236
+ kind: "incomplete";
237
+ missing: string;
238
+ } | {
239
+ kind: "present";
240
+ meta: ModernMeta;
241
+ };
242
+ /**
243
+ * Reads `_meta` from a request.
244
+ *
245
+ * `absent` and `incomplete` are different answers: a request with no `_meta` at all is a legacy
246
+ * client, while a request with `_meta` that lacks a required key is a modern client making a
247
+ * mistake — and telling those two apart is what keeps the legacy era from being rejected for a
248
+ * field it never had.
249
+ */
250
+ declare function inspectModernMeta(params: JsonObject | undefined): MetaInspection;
251
+ type EraDecision = {
252
+ kind: "era";
253
+ era: ProtocolEra;
254
+ version: string | null;
255
+ } | {
256
+ kind: "error";
257
+ code: number;
258
+ message: string;
259
+ data?: unknown;
260
+ };
261
+ /**
262
+ * Decides which era a request belongs to, and whether its version is acceptable.
263
+ *
264
+ * Once a connection commits to an era it stays committed. A legacy client that suddenly sends
265
+ * modern `_meta` is confused rather than clever, and silently switching would answer half a
266
+ * session in each shape.
267
+ */
268
+ declare function classifyRequest(method: string, params: JsonObject | undefined, session: SessionState): EraDecision;
269
+ interface LegacyNegotiation {
270
+ version: string;
271
+ /** False when the client asked for something we cannot speak and was negotiated down. */
272
+ matched: boolean;
273
+ }
274
+ /**
275
+ * Legacy version negotiation: echo a supported request, otherwise answer with our best.
276
+ *
277
+ * A client that asked for a modern revision here gets the newest *legacy* revision, not an error:
278
+ * under this lifecycle the server's answer is the offer, and the client decides.
279
+ */
280
+ declare function negotiateLegacyVersion(requested: unknown): LegacyNegotiation;
281
+
281
282
  interface McpServerOptions {
282
283
  info: McpServerInfo;
283
284
  instructions: string;
@@ -297,6 +298,73 @@ declare function createMcpServer(options: McpServerOptions): McpServer;
297
298
  /** Every tool this server exposes, in the order a first-time caller should read them. */
298
299
  declare function buildTools(): McpTool[];
299
300
 
301
+ /**
302
+ * Reads one file's section back out of a rendered part.
303
+ *
304
+ * `snapshot_read` must not open the working tree. The snapshot is the contract: sensitive files
305
+ * are excluded from it, secret-shaped strings inside ordinary files are redacted on the way in,
306
+ * and a large file is emitted as a bounded preview. Reading the source directly would hand the
307
+ * model the `.env` the snapshot deliberately skipped and the credential it masked — so the read
308
+ * goes through the artifact instead.
309
+ *
310
+ * The format it parses is written by `renderFileSection`, and the parser is deliberately tied to
311
+ * that shape rather than to a regex over the whole document: a file's *content* may legitimately
312
+ * contain a line that looks like `### FILE: something`, and only fence tracking tells the two
313
+ * apart. Content fences are four or more backticks (`fenceForContent` never emits three), which
314
+ * is what makes "the next line equal to this exact fence" an unambiguous terminator.
315
+ */
316
+ interface PartSection {
317
+ /** The path as rendered in the `### FILE:` heading. */
318
+ path: string;
319
+ /** The `<a id="…">` anchor from the line above the heading, when present. */
320
+ anchor: string | null;
321
+ /** The file body, without its fence. Redacted and possibly a bounded preview. */
322
+ body: string;
323
+ /** `full`, `preview` or `signatures`. */
324
+ inclusion: string | null;
325
+ includedLines: number | null;
326
+ }
327
+ /** Splits a part into one section per emitted file. */
328
+ declare function parsePartSections(partText: string): PartSection[];
329
+ /**
330
+ * Finds the section for one file.
331
+ *
332
+ * The **anchor** is the identifier, not the heading. `anchorForPath` hashes the real
333
+ * `relativePath`, so it is exact and injective; the heading is the display form, and for a path
334
+ * with a control character (escaped as `\uXXXX`) or one longer than 300 characters (capped from
335
+ * the middle) it is not the path at all. The old fallback for those cases was the content
336
+ * SHA-256, which the part no longer carries — and which could never disambiguate two files with
337
+ * the same content, the exact case that needs it.
338
+ *
339
+ * The heading comparison is kept as a second chance, for a snapshot written before the anchor
340
+ * was read, or a part whose anchor line was edited by hand.
341
+ */
342
+ declare function findSection(sections: readonly PartSection[], relativePath: string): PartSection | null;
343
+ interface Window {
344
+ text: string;
345
+ fromLine: number;
346
+ returnedLines: number;
347
+ totalLines: number;
348
+ truncated: boolean;
349
+ nextFromLine: number | null;
350
+ /**
351
+ * True when `fromLine` is beyond the last line of the body.
352
+ *
353
+ * The start used to be clamped to the last line, so asking for line 9,000 of a 40-line file
354
+ * returned line 40 with a header that read `Lines 40–40 of 40` — a wrong answer dressed as a
355
+ * right one. The caller is told the request was out of range instead.
356
+ */
357
+ pastEnd: boolean;
358
+ }
359
+ /**
360
+ * Cuts a line window out of a body.
361
+ *
362
+ * Windows are the whole point of this module: a part holds hundreds of kilobytes, and the only
363
+ * safe default for a tool that returns content is "as little as answers the question". `next` is
364
+ * an explicit pointer rather than an instruction to keep reading, so an agent decides.
365
+ */
366
+ declare function windowText(body: string, fromLine: number, lineCount: number): Window;
367
+
300
368
  declare function buildPrompts(): McpPrompt[];
301
369
 
302
370
  declare function buildResourceProvider(): ResourceProvider;
@@ -409,4 +477,4 @@ declare function validateArguments(schema: InputSchema, value: unknown): string[
409
477
  */
410
478
  declare function coerceNumericStrings(schema: InputSchema, value: JsonObject): JsonObject;
411
479
 
412
- export { ERROR_CODES, type JsonRpcResponse, type JsonSchema, LEGACY_PROTOCOL_VERSIONS, type LineReaderOptions, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, type McpPrompt, type McpResourceContents, type McpResourceDescriptor, type McpResourceTemplate, type McpServer, type McpServerInfo, type McpServerOptions, type McpTool, type MessageWriter, type ProtocolEra, type ResourceProvider, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, type ServerOptions, type SessionState, type ToolAnnotations, type ToolContext, type ToolOutcome, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, inspectModernMeta, negotiateLegacyVersion, runStdioServer, validateArguments };
480
+ export { ERROR_CODES, type JsonRpcResponse, type JsonSchema, LEGACY_PROTOCOL_VERSIONS, type LineReaderOptions, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, type McpPrompt, type McpResourceContents, type McpResourceDescriptor, type McpResourceTemplate, type McpServer, type McpServerInfo, type McpServerOptions, type McpTool, type MessageWriter, type PartSection, type ProtocolEra, type ResourceProvider, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, type ServerOptions, type SessionState, type ToolAnnotations, type ToolContext, type ToolOutcome, type Window, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, inspectModernMeta, negotiateLegacyVersion, parsePartSections, runStdioServer, validateArguments, windowText };
package/dist/mcp.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { G as GenerateSummary, W as WorkerResults, g as generateInWorker } from './generate-worker-D_mUjgXw.js';
1
2
  import { Readable, Writable } from 'node:stream';
2
3
 
3
4
  /**
@@ -100,72 +101,6 @@ interface InputSchema extends JsonSchema {
100
101
  properties: Record<string, JsonSchema>;
101
102
  }
102
103
 
103
- type ProtocolEra = "legacy" | "modern";
104
- /** Per-connection state. The modern era has no session, so this stays empty until legacy init. */
105
- interface SessionState {
106
- /** Which era the connection committed to, or null before the first decisive request. */
107
- era: ProtocolEra | null;
108
- /** The revision in force. Null in legacy until `initialize` has been negotiated. */
109
- protocolVersion: string | null;
110
- /** True once `initialize` has been answered, which is the legacy lifecycle's gate. */
111
- ready: boolean;
112
- }
113
- declare function createSession(): SessionState;
114
- /** The modern request metadata, when a request carries it at all. */
115
- interface ModernMeta {
116
- version: string;
117
- clientCapabilities: JsonObject;
118
- clientInfo: JsonObject | null;
119
- }
120
- type MetaInspection = {
121
- kind: "absent";
122
- } | {
123
- kind: "incomplete";
124
- missing: string;
125
- } | {
126
- kind: "present";
127
- meta: ModernMeta;
128
- };
129
- /**
130
- * Reads `_meta` from a request.
131
- *
132
- * `absent` and `incomplete` are different answers: a request with no `_meta` at all is a legacy
133
- * client, while a request with `_meta` that lacks a required key is a modern client making a
134
- * mistake — and telling those two apart is what keeps the legacy era from being rejected for a
135
- * field it never had.
136
- */
137
- declare function inspectModernMeta(params: JsonObject | undefined): MetaInspection;
138
- type EraDecision = {
139
- kind: "era";
140
- era: ProtocolEra;
141
- version: string | null;
142
- } | {
143
- kind: "error";
144
- code: number;
145
- message: string;
146
- data?: unknown;
147
- };
148
- /**
149
- * Decides which era a request belongs to, and whether its version is acceptable.
150
- *
151
- * Once a connection commits to an era it stays committed. A legacy client that suddenly sends
152
- * modern `_meta` is confused rather than clever, and silently switching would answer half a
153
- * session in each shape.
154
- */
155
- declare function classifyRequest(method: string, params: JsonObject | undefined, session: SessionState): EraDecision;
156
- interface LegacyNegotiation {
157
- version: string;
158
- /** False when the client asked for something we cannot speak and was negotiated down. */
159
- matched: boolean;
160
- }
161
- /**
162
- * Legacy version negotiation: echo a supported request, otherwise answer with our best.
163
- *
164
- * A client that asked for a modern revision here gets the newest *legacy* revision, not an error:
165
- * under this lifecycle the server's answer is the offer, and the client decides.
166
- */
167
- declare function negotiateLegacyVersion(requested: unknown): LegacyNegotiation;
168
-
169
104
  /**
170
105
  * The capability records the MCP server serves.
171
106
  *
@@ -187,7 +122,7 @@ interface ToolContext {
187
122
  * Client-facing hints.
188
123
  *
189
124
  * `readOnlyHint` is the one that changes behaviour rather than appearance: clients use it to
190
- * auto-approve a call. Six of the seven tools never touch the filesystem, so they are marked
125
+ * auto-approve a call. Seven of the eight tools never touch the filesystem, so they are marked
191
126
  * read-only and only `snapshot_generate` prompts.
192
127
  */
193
128
  interface ToolAnnotations {
@@ -278,6 +213,72 @@ interface McpServerInfo {
278
213
  websiteUrl: string;
279
214
  }
280
215
 
216
+ type ProtocolEra = "legacy" | "modern";
217
+ /** Per-connection state. The modern era has no session, so this stays empty until legacy init. */
218
+ interface SessionState {
219
+ /** Which era the connection committed to, or null before the first decisive request. */
220
+ era: ProtocolEra | null;
221
+ /** The revision in force. Null in legacy until `initialize` has been negotiated. */
222
+ protocolVersion: string | null;
223
+ /** True once `initialize` has been answered, which is the legacy lifecycle's gate. */
224
+ ready: boolean;
225
+ }
226
+ declare function createSession(): SessionState;
227
+ /** The modern request metadata, when a request carries it at all. */
228
+ interface ModernMeta {
229
+ version: string;
230
+ clientCapabilities: JsonObject;
231
+ clientInfo: JsonObject | null;
232
+ }
233
+ type MetaInspection = {
234
+ kind: "absent";
235
+ } | {
236
+ kind: "incomplete";
237
+ missing: string;
238
+ } | {
239
+ kind: "present";
240
+ meta: ModernMeta;
241
+ };
242
+ /**
243
+ * Reads `_meta` from a request.
244
+ *
245
+ * `absent` and `incomplete` are different answers: a request with no `_meta` at all is a legacy
246
+ * client, while a request with `_meta` that lacks a required key is a modern client making a
247
+ * mistake — and telling those two apart is what keeps the legacy era from being rejected for a
248
+ * field it never had.
249
+ */
250
+ declare function inspectModernMeta(params: JsonObject | undefined): MetaInspection;
251
+ type EraDecision = {
252
+ kind: "era";
253
+ era: ProtocolEra;
254
+ version: string | null;
255
+ } | {
256
+ kind: "error";
257
+ code: number;
258
+ message: string;
259
+ data?: unknown;
260
+ };
261
+ /**
262
+ * Decides which era a request belongs to, and whether its version is acceptable.
263
+ *
264
+ * Once a connection commits to an era it stays committed. A legacy client that suddenly sends
265
+ * modern `_meta` is confused rather than clever, and silently switching would answer half a
266
+ * session in each shape.
267
+ */
268
+ declare function classifyRequest(method: string, params: JsonObject | undefined, session: SessionState): EraDecision;
269
+ interface LegacyNegotiation {
270
+ version: string;
271
+ /** False when the client asked for something we cannot speak and was negotiated down. */
272
+ matched: boolean;
273
+ }
274
+ /**
275
+ * Legacy version negotiation: echo a supported request, otherwise answer with our best.
276
+ *
277
+ * A client that asked for a modern revision here gets the newest *legacy* revision, not an error:
278
+ * under this lifecycle the server's answer is the offer, and the client decides.
279
+ */
280
+ declare function negotiateLegacyVersion(requested: unknown): LegacyNegotiation;
281
+
281
282
  interface McpServerOptions {
282
283
  info: McpServerInfo;
283
284
  instructions: string;
@@ -297,6 +298,73 @@ declare function createMcpServer(options: McpServerOptions): McpServer;
297
298
  /** Every tool this server exposes, in the order a first-time caller should read them. */
298
299
  declare function buildTools(): McpTool[];
299
300
 
301
+ /**
302
+ * Reads one file's section back out of a rendered part.
303
+ *
304
+ * `snapshot_read` must not open the working tree. The snapshot is the contract: sensitive files
305
+ * are excluded from it, secret-shaped strings inside ordinary files are redacted on the way in,
306
+ * and a large file is emitted as a bounded preview. Reading the source directly would hand the
307
+ * model the `.env` the snapshot deliberately skipped and the credential it masked — so the read
308
+ * goes through the artifact instead.
309
+ *
310
+ * The format it parses is written by `renderFileSection`, and the parser is deliberately tied to
311
+ * that shape rather than to a regex over the whole document: a file's *content* may legitimately
312
+ * contain a line that looks like `### FILE: something`, and only fence tracking tells the two
313
+ * apart. Content fences are four or more backticks (`fenceForContent` never emits three), which
314
+ * is what makes "the next line equal to this exact fence" an unambiguous terminator.
315
+ */
316
+ interface PartSection {
317
+ /** The path as rendered in the `### FILE:` heading. */
318
+ path: string;
319
+ /** The `<a id="…">` anchor from the line above the heading, when present. */
320
+ anchor: string | null;
321
+ /** The file body, without its fence. Redacted and possibly a bounded preview. */
322
+ body: string;
323
+ /** `full`, `preview` or `signatures`. */
324
+ inclusion: string | null;
325
+ includedLines: number | null;
326
+ }
327
+ /** Splits a part into one section per emitted file. */
328
+ declare function parsePartSections(partText: string): PartSection[];
329
+ /**
330
+ * Finds the section for one file.
331
+ *
332
+ * The **anchor** is the identifier, not the heading. `anchorForPath` hashes the real
333
+ * `relativePath`, so it is exact and injective; the heading is the display form, and for a path
334
+ * with a control character (escaped as `\uXXXX`) or one longer than 300 characters (capped from
335
+ * the middle) it is not the path at all. The old fallback for those cases was the content
336
+ * SHA-256, which the part no longer carries — and which could never disambiguate two files with
337
+ * the same content, the exact case that needs it.
338
+ *
339
+ * The heading comparison is kept as a second chance, for a snapshot written before the anchor
340
+ * was read, or a part whose anchor line was edited by hand.
341
+ */
342
+ declare function findSection(sections: readonly PartSection[], relativePath: string): PartSection | null;
343
+ interface Window {
344
+ text: string;
345
+ fromLine: number;
346
+ returnedLines: number;
347
+ totalLines: number;
348
+ truncated: boolean;
349
+ nextFromLine: number | null;
350
+ /**
351
+ * True when `fromLine` is beyond the last line of the body.
352
+ *
353
+ * The start used to be clamped to the last line, so asking for line 9,000 of a 40-line file
354
+ * returned line 40 with a header that read `Lines 40–40 of 40` — a wrong answer dressed as a
355
+ * right one. The caller is told the request was out of range instead.
356
+ */
357
+ pastEnd: boolean;
358
+ }
359
+ /**
360
+ * Cuts a line window out of a body.
361
+ *
362
+ * Windows are the whole point of this module: a part holds hundreds of kilobytes, and the only
363
+ * safe default for a tool that returns content is "as little as answers the question". `next` is
364
+ * an explicit pointer rather than an instruction to keep reading, so an agent decides.
365
+ */
366
+ declare function windowText(body: string, fromLine: number, lineCount: number): Window;
367
+
300
368
  declare function buildPrompts(): McpPrompt[];
301
369
 
302
370
  declare function buildResourceProvider(): ResourceProvider;
@@ -409,4 +477,4 @@ declare function validateArguments(schema: InputSchema, value: unknown): string[
409
477
  */
410
478
  declare function coerceNumericStrings(schema: InputSchema, value: JsonObject): JsonObject;
411
479
 
412
- export { ERROR_CODES, type JsonRpcResponse, type JsonSchema, LEGACY_PROTOCOL_VERSIONS, type LineReaderOptions, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, type McpPrompt, type McpResourceContents, type McpResourceDescriptor, type McpResourceTemplate, type McpServer, type McpServerInfo, type McpServerOptions, type McpTool, type MessageWriter, type ProtocolEra, type ResourceProvider, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, type ServerOptions, type SessionState, type ToolAnnotations, type ToolContext, type ToolOutcome, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, inspectModernMeta, negotiateLegacyVersion, runStdioServer, validateArguments };
480
+ export { ERROR_CODES, type JsonRpcResponse, type JsonSchema, LEGACY_PROTOCOL_VERSIONS, type LineReaderOptions, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, type McpPrompt, type McpResourceContents, type McpResourceDescriptor, type McpResourceTemplate, type McpServer, type McpServerInfo, type McpServerOptions, type McpTool, type MessageWriter, type PartSection, type ProtocolEra, type ResourceProvider, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, type ServerOptions, type SessionState, type ToolAnnotations, type ToolContext, type ToolOutcome, type Window, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, inspectModernMeta, negotiateLegacyVersion, parsePartSections, runStdioServer, validateArguments, windowText };
package/dist/mcp.js CHANGED
@@ -1,4 +1,2 @@
1
- export { ERROR_CODES, LEGACY_PROTOCOL_VERSIONS, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, inspectModernMeta, negotiateLegacyVersion, runStdioServer, validateArguments } from './chunk-HQBEQ67K.js';
2
- import './chunk-KUVFTJHK.js';
3
- //# sourceMappingURL=mcp.js.map
4
- //# sourceMappingURL=mcp.js.map
1
+ export { ERROR_CODES, LEGACY_PROTOCOL_VERSIONS, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, inspectModernMeta, negotiateLegacyVersion, parsePartSections, runStdioServer, validateArguments, windowText } from './chunk-J4W74N4Y.js';
2
+ export { generateInWorker } from './chunk-DUZK5VL2.js';