@opencode/browse 0.0.18-dev.192 → 0.0.18-dev.193
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/{Runtime-tvxdkp60.mjs → Runtime-r9sev1rq.mjs} +1 -1
- package/dist/{cli-54nftqxr.mjs → cli-ekwkvvmm.mjs} +33 -29
- package/dist/cli.mjs +23 -13
- package/dist/{helpers-yksnc17b.mjs → helpers-3ycvp75a.mjs} +2 -1
- package/dist/{index-kmxtpxxk.mjs → index-xsb9s479.mjs} +2 -2
- package/dist/{legacy-runtime-e6y2jnc6.mjs → legacy-runtime-v1sdjj5h.mjs} +8 -7
- package/dist/log-yek648ak.mjs +9 -0
- package/dist/{main-dyya6jpy.mjs → main-1qwrze1y.mjs} +2 -2
- package/dist/{main-p8jk5985.mjs → main-2p0v71q0.mjs} +39 -37
- package/dist/{main-hh16893t.mjs → main-3g7fdzbh.mjs} +28 -26
- package/dist/{main-de0xhbg0.mjs → main-55a4gpef.mjs} +59 -67
- package/dist/main-693wwz19.mjs +4 -0
- package/dist/main-91vhk5de.mjs +38 -0
- package/dist/{main-4wycvga6.mjs → main-9t32k44b.mjs} +4 -3
- package/dist/{main-d1th6z2h.mjs → main-bv9nawja.mjs} +21 -225
- package/dist/main-cgnkhs2x.mjs +35 -0
- package/dist/{main-w6180mxa.mjs → main-esdgpebk.mjs} +3 -3
- package/dist/{main-z4c819pg.mjs → main-fg5awggs.mjs} +29 -27
- package/dist/{main-4fw36c57.mjs → main-gt2gskrq.mjs} +2 -2
- package/dist/{main-p8q3wrpd.mjs → main-gw77et6v.mjs} +3 -3
- package/dist/{main-t8hspw29.mjs → main-kcw411ep.mjs} +11 -42
- package/dist/{main-h65pjrag.mjs → main-nnfxg7re.mjs} +7 -7
- package/dist/{main-zrjcdksk.mjs → main-pcqtqhgv.mjs} +5 -3
- package/dist/{main-jtgan144.mjs → main-pxs5m0kb.mjs} +10 -8
- package/dist/main-qazf3bhk.mjs +223 -0
- package/dist/{main-q5w61fgh.mjs → main-sf7vaxb6.mjs} +1 -1
- package/dist/{main-t8xtycpr.mjs → main-stf180y1.mjs} +7 -5
- package/dist/{main-p44hff2a.mjs → main-zedq93ez.mjs} +5 -3
- package/dist/{main-c9qxrdzn.mjs → main-zzggnpf4.mjs} +2 -2
- package/dist/{mcp-a2jkny55.mjs → mcp-xfx04fxe.mjs} +125 -121
- package/dist/{migrate-p84kbr3y.mjs → migrate-4rewxqd7.mjs} +8 -7
- package/dist/{relay-e9q9hfc3.mjs → relay-me036e19.mjs} +562 -166
- package/dist/{remove-stored-secrets-c90a5h72.mjs → remove-stored-secrets-ymhge5va.mjs} +1 -1
- package/dist/{runtime-update-jj6pa7vd.mjs → runtime-update-hd2cvy1c.mjs} +12 -10
- package/dist/{setup-p86ywb7k.mjs → setup-0hmbzam5.mjs} +12 -11
- package/dist/{update-rh24h3m1.mjs → update-vnkjbc0e.mjs} +3 -3
- package/dist/{version-1p8wpyzk.mjs → version-jn0h3rmc.mjs} +1 -1
- package/package.json +1 -1
- package/dist/main-wds0wcmt.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./main-
|
|
1
|
+
import"./main-pcqtqhgv.mjs";
|
|
2
2
|
import {
|
|
3
3
|
filter,
|
|
4
4
|
empty,
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
empty3,
|
|
43
43
|
jsonUnsafe,
|
|
44
44
|
layer
|
|
45
|
-
} from "./main-
|
|
45
|
+
} from "./main-3g7fdzbh.mjs";
|
|
46
46
|
import"./main-pmfd055v.mjs";
|
|
47
47
|
import {
|
|
48
48
|
opencodeBrowserVersion2
|
|
49
|
-
} from "./main-
|
|
49
|
+
} from "./main-693wwz19.mjs";
|
|
50
50
|
import {
|
|
51
51
|
autoUpdateStatus
|
|
52
|
-
} from "./main-
|
|
52
|
+
} from "./main-9t32k44b.mjs";
|
|
53
53
|
import {
|
|
54
54
|
SessionContainer,
|
|
55
55
|
SessionsContainer,
|
|
@@ -57,7 +57,8 @@ import {
|
|
|
57
57
|
SessionAdoptResponse,
|
|
58
58
|
TabsCleanupResponse,
|
|
59
59
|
getObject2
|
|
60
|
-
} from "./main-
|
|
60
|
+
} from "./main-kcw411ep.mjs";
|
|
61
|
+
import"./main-91vhk5de.mjs";
|
|
61
62
|
import {
|
|
62
63
|
option,
|
|
63
64
|
String2,
|
|
@@ -68,20 +69,21 @@ import {
|
|
|
68
69
|
olderMcpClientAdvice,
|
|
69
70
|
ensureRelay,
|
|
70
71
|
ensureExtensionConnected
|
|
71
|
-
} from "./main-
|
|
72
|
+
} from "./main-55a4gpef.mjs";
|
|
73
|
+
import"./main-cgnkhs2x.mjs";
|
|
72
74
|
import {
|
|
73
75
|
updateJson2,
|
|
74
76
|
createUpdateWatcher2
|
|
75
|
-
} from "./main-
|
|
77
|
+
} from "./main-gw77et6v.mjs";
|
|
76
78
|
import {
|
|
77
79
|
isStreamSchema,
|
|
78
80
|
getStreamSchemas,
|
|
79
81
|
ClientAbort,
|
|
80
82
|
ServerClient,
|
|
81
|
-
|
|
83
|
+
make,
|
|
82
84
|
exitSchema,
|
|
83
85
|
isWrapper,
|
|
84
|
-
|
|
86
|
+
make2,
|
|
85
87
|
Implementation,
|
|
86
88
|
ClientCapabilities,
|
|
87
89
|
INVALID_REQUEST_ERROR_CODE,
|
|
@@ -150,11 +152,11 @@ import {
|
|
|
150
152
|
toolResultForValue2,
|
|
151
153
|
mcpErrorMessage2,
|
|
152
154
|
toolResult
|
|
153
|
-
} from "./main-
|
|
155
|
+
} from "./main-2p0v71q0.mjs";
|
|
154
156
|
import {
|
|
155
157
|
Clock,
|
|
156
158
|
makeUnsafe,
|
|
157
|
-
|
|
159
|
+
make3,
|
|
158
160
|
type,
|
|
159
161
|
value,
|
|
160
162
|
when,
|
|
@@ -166,15 +168,15 @@ import {
|
|
|
166
168
|
boolean,
|
|
167
169
|
orElse,
|
|
168
170
|
exhaustive
|
|
169
|
-
} from "./main-
|
|
170
|
-
import"./main-
|
|
171
|
+
} from "./main-pxs5m0kb.mjs";
|
|
172
|
+
import"./main-zzggnpf4.mjs";
|
|
171
173
|
import {
|
|
172
174
|
whatBrowseIs,
|
|
173
175
|
inspectActVerify,
|
|
174
176
|
handoffAdvice,
|
|
175
177
|
sessionAdvice
|
|
176
178
|
} from "./main-gexpjhk5.mjs";
|
|
177
|
-
import"./main-
|
|
179
|
+
import"./main-zedq93ez.mjs";
|
|
178
180
|
import {
|
|
179
181
|
Class,
|
|
180
182
|
taggedEnum,
|
|
@@ -223,21 +225,8 @@ import {
|
|
|
223
225
|
toCodecJson,
|
|
224
226
|
Json,
|
|
225
227
|
JsonObject
|
|
226
|
-
} from "./main-
|
|
228
|
+
} from "./main-fg5awggs.mjs";
|
|
227
229
|
import {
|
|
228
|
-
pipeArguments,
|
|
229
|
-
dual,
|
|
230
|
-
identity,
|
|
231
|
-
constant,
|
|
232
|
-
constTrue,
|
|
233
|
-
constVoid,
|
|
234
|
-
flow,
|
|
235
|
-
isString,
|
|
236
|
-
isNullish,
|
|
237
|
-
isObject,
|
|
238
|
-
isReadonlyObject,
|
|
239
|
-
hasProperty,
|
|
240
|
-
isTagged,
|
|
241
230
|
hash,
|
|
242
231
|
equals,
|
|
243
232
|
redact,
|
|
@@ -406,7 +395,22 @@ import {
|
|
|
406
395
|
logError,
|
|
407
396
|
logDebug,
|
|
408
397
|
annotateLogs
|
|
409
|
-
} from "./main-
|
|
398
|
+
} from "./main-bv9nawja.mjs";
|
|
399
|
+
import {
|
|
400
|
+
pipeArguments,
|
|
401
|
+
dual,
|
|
402
|
+
identity,
|
|
403
|
+
constant,
|
|
404
|
+
constTrue,
|
|
405
|
+
constVoid,
|
|
406
|
+
flow,
|
|
407
|
+
isString,
|
|
408
|
+
isNullish,
|
|
409
|
+
isObject,
|
|
410
|
+
isReadonlyObject,
|
|
411
|
+
hasProperty,
|
|
412
|
+
isTagged
|
|
413
|
+
} from "./main-qazf3bhk.mjs";
|
|
410
414
|
|
|
411
415
|
// node_modules/effect/dist/PubSub.js
|
|
412
416
|
var TypeId = "~effect/PubSub";
|
|
@@ -2611,7 +2615,7 @@ var headerMismatch = (message) => ({
|
|
|
2611
2615
|
message
|
|
2612
2616
|
}
|
|
2613
2617
|
});
|
|
2614
|
-
var PingRpcs = /* @__PURE__ */
|
|
2618
|
+
var PingRpcs = /* @__PURE__ */ make2(Ping);
|
|
2615
2619
|
var stateful = (transport) => ({
|
|
2616
2620
|
_tag: "Stateful",
|
|
2617
2621
|
transport
|
|
@@ -3223,14 +3227,14 @@ var ListRootsResult2 = /* @__PURE__ */ Struct({
|
|
|
3223
3227
|
roots: /* @__PURE__ */ ArraySchema(Root)
|
|
3224
3228
|
});
|
|
3225
3229
|
|
|
3226
|
-
class Ping2 extends (/* @__PURE__ */
|
|
3230
|
+
class Ping2 extends (/* @__PURE__ */ make("ping", {
|
|
3227
3231
|
success: ResultMeta,
|
|
3228
3232
|
error: McpError2,
|
|
3229
3233
|
payload: /* @__PURE__ */ UndefinedOr(RequestMeta)
|
|
3230
3234
|
})) {
|
|
3231
3235
|
}
|
|
3232
3236
|
|
|
3233
|
-
class Initialize2 extends (/* @__PURE__ */
|
|
3237
|
+
class Initialize2 extends (/* @__PURE__ */ make("initialize", {
|
|
3234
3238
|
success: InitializeResult,
|
|
3235
3239
|
error: McpError2,
|
|
3236
3240
|
payload: {
|
|
@@ -3242,7 +3246,7 @@ class Initialize2 extends (/* @__PURE__ */ make2("initialize", {
|
|
|
3242
3246
|
})) {
|
|
3243
3247
|
}
|
|
3244
3248
|
|
|
3245
|
-
class Complete extends (/* @__PURE__ */
|
|
3249
|
+
class Complete extends (/* @__PURE__ */ make("completion/complete", {
|
|
3246
3250
|
success: CompleteResult,
|
|
3247
3251
|
error: McpError2,
|
|
3248
3252
|
payload: {
|
|
@@ -3256,7 +3260,7 @@ class Complete extends (/* @__PURE__ */ make2("completion/complete", {
|
|
|
3256
3260
|
})) {
|
|
3257
3261
|
}
|
|
3258
3262
|
|
|
3259
|
-
class SetLevel extends (/* @__PURE__ */
|
|
3263
|
+
class SetLevel extends (/* @__PURE__ */ make("logging/setLevel", {
|
|
3260
3264
|
success: ResultMeta,
|
|
3261
3265
|
error: McpError2,
|
|
3262
3266
|
payload: {
|
|
@@ -3266,7 +3270,7 @@ class SetLevel extends (/* @__PURE__ */ make2("logging/setLevel", {
|
|
|
3266
3270
|
})) {
|
|
3267
3271
|
}
|
|
3268
3272
|
|
|
3269
|
-
class GetPrompt extends (/* @__PURE__ */
|
|
3273
|
+
class GetPrompt extends (/* @__PURE__ */ make("prompts/get", {
|
|
3270
3274
|
success: GetPromptResult,
|
|
3271
3275
|
error: McpError2,
|
|
3272
3276
|
payload: {
|
|
@@ -3277,28 +3281,28 @@ class GetPrompt extends (/* @__PURE__ */ make2("prompts/get", {
|
|
|
3277
3281
|
})) {
|
|
3278
3282
|
}
|
|
3279
3283
|
|
|
3280
|
-
class ListPrompts extends (/* @__PURE__ */
|
|
3284
|
+
class ListPrompts extends (/* @__PURE__ */ make("prompts/list", {
|
|
3281
3285
|
success: ListPromptsResult,
|
|
3282
3286
|
error: McpError2,
|
|
3283
3287
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
3284
3288
|
})) {
|
|
3285
3289
|
}
|
|
3286
3290
|
|
|
3287
|
-
class ListResources extends (/* @__PURE__ */
|
|
3291
|
+
class ListResources extends (/* @__PURE__ */ make("resources/list", {
|
|
3288
3292
|
success: ListResourcesResult,
|
|
3289
3293
|
error: McpError2,
|
|
3290
3294
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
3291
3295
|
})) {
|
|
3292
3296
|
}
|
|
3293
3297
|
|
|
3294
|
-
class ListResourceTemplates extends (/* @__PURE__ */
|
|
3298
|
+
class ListResourceTemplates extends (/* @__PURE__ */ make("resources/templates/list", {
|
|
3295
3299
|
success: ListResourceTemplatesResult,
|
|
3296
3300
|
error: McpError2,
|
|
3297
3301
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
3298
3302
|
})) {
|
|
3299
3303
|
}
|
|
3300
3304
|
|
|
3301
|
-
class ReadResource extends (/* @__PURE__ */
|
|
3305
|
+
class ReadResource extends (/* @__PURE__ */ make("resources/read", {
|
|
3302
3306
|
success: ReadResourceResult,
|
|
3303
3307
|
error: McpError2,
|
|
3304
3308
|
payload: {
|
|
@@ -3308,7 +3312,7 @@ class ReadResource extends (/* @__PURE__ */ make2("resources/read", {
|
|
|
3308
3312
|
})) {
|
|
3309
3313
|
}
|
|
3310
3314
|
|
|
3311
|
-
class Subscribe extends (/* @__PURE__ */
|
|
3315
|
+
class Subscribe extends (/* @__PURE__ */ make("resources/subscribe", {
|
|
3312
3316
|
success: ResultMeta,
|
|
3313
3317
|
error: McpError2,
|
|
3314
3318
|
payload: {
|
|
@@ -3318,7 +3322,7 @@ class Subscribe extends (/* @__PURE__ */ make2("resources/subscribe", {
|
|
|
3318
3322
|
})) {
|
|
3319
3323
|
}
|
|
3320
3324
|
|
|
3321
|
-
class Unsubscribe extends (/* @__PURE__ */
|
|
3325
|
+
class Unsubscribe extends (/* @__PURE__ */ make("resources/unsubscribe", {
|
|
3322
3326
|
success: ResultMeta,
|
|
3323
3327
|
error: McpError2,
|
|
3324
3328
|
payload: {
|
|
@@ -3328,7 +3332,7 @@ class Unsubscribe extends (/* @__PURE__ */ make2("resources/unsubscribe", {
|
|
|
3328
3332
|
})) {
|
|
3329
3333
|
}
|
|
3330
3334
|
|
|
3331
|
-
class CallTool extends (/* @__PURE__ */
|
|
3335
|
+
class CallTool extends (/* @__PURE__ */ make("tools/call", {
|
|
3332
3336
|
success: CallToolResult2,
|
|
3333
3337
|
error: McpError2,
|
|
3334
3338
|
payload: {
|
|
@@ -3339,14 +3343,14 @@ class CallTool extends (/* @__PURE__ */ make2("tools/call", {
|
|
|
3339
3343
|
})) {
|
|
3340
3344
|
}
|
|
3341
3345
|
|
|
3342
|
-
class ListTools extends (/* @__PURE__ */
|
|
3346
|
+
class ListTools extends (/* @__PURE__ */ make("tools/list", {
|
|
3343
3347
|
success: ListToolsResult,
|
|
3344
3348
|
error: McpError2,
|
|
3345
3349
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
3346
3350
|
})) {
|
|
3347
3351
|
}
|
|
3348
3352
|
|
|
3349
|
-
class CreateMessage2 extends (/* @__PURE__ */
|
|
3353
|
+
class CreateMessage2 extends (/* @__PURE__ */ make("sampling/createMessage", {
|
|
3350
3354
|
success: CreateMessageResult,
|
|
3351
3355
|
error: McpError2,
|
|
3352
3356
|
payload: {
|
|
@@ -3363,14 +3367,14 @@ class CreateMessage2 extends (/* @__PURE__ */ make2("sampling/createMessage", {
|
|
|
3363
3367
|
})) {
|
|
3364
3368
|
}
|
|
3365
3369
|
|
|
3366
|
-
class ListRoots2 extends (/* @__PURE__ */
|
|
3370
|
+
class ListRoots2 extends (/* @__PURE__ */ make("roots/list", {
|
|
3367
3371
|
success: ListRootsResult2,
|
|
3368
3372
|
error: McpError2,
|
|
3369
3373
|
payload: /* @__PURE__ */ UndefinedOr(RequestMeta)
|
|
3370
3374
|
})) {
|
|
3371
3375
|
}
|
|
3372
3376
|
|
|
3373
|
-
class CancelledNotification2 extends (/* @__PURE__ */
|
|
3377
|
+
class CancelledNotification2 extends (/* @__PURE__ */ make("notifications/cancelled", {
|
|
3374
3378
|
payload: {
|
|
3375
3379
|
...NotificationMeta.fields,
|
|
3376
3380
|
requestId: RequestId2,
|
|
@@ -3379,7 +3383,7 @@ class CancelledNotification2 extends (/* @__PURE__ */ make2("notifications/cance
|
|
|
3379
3383
|
})) {
|
|
3380
3384
|
}
|
|
3381
3385
|
|
|
3382
|
-
class ProgressNotification2 extends (/* @__PURE__ */
|
|
3386
|
+
class ProgressNotification2 extends (/* @__PURE__ */ make("notifications/progress", {
|
|
3383
3387
|
payload: {
|
|
3384
3388
|
...NotificationMeta.fields,
|
|
3385
3389
|
progressToken: ProgressToken,
|
|
@@ -3389,17 +3393,17 @@ class ProgressNotification2 extends (/* @__PURE__ */ make2("notifications/progre
|
|
|
3389
3393
|
})) {
|
|
3390
3394
|
}
|
|
3391
3395
|
|
|
3392
|
-
class InitializedNotification extends (/* @__PURE__ */
|
|
3396
|
+
class InitializedNotification extends (/* @__PURE__ */ make("notifications/initialized", {
|
|
3393
3397
|
payload: /* @__PURE__ */ UndefinedOr(NotificationMeta)
|
|
3394
3398
|
})) {
|
|
3395
3399
|
}
|
|
3396
3400
|
|
|
3397
|
-
class RootsListChangedNotification extends (/* @__PURE__ */
|
|
3401
|
+
class RootsListChangedNotification extends (/* @__PURE__ */ make("notifications/roots/list_changed", {
|
|
3398
3402
|
payload: /* @__PURE__ */ UndefinedOr(NotificationMeta)
|
|
3399
3403
|
})) {
|
|
3400
3404
|
}
|
|
3401
3405
|
|
|
3402
|
-
class LoggingMessageNotification2 extends (/* @__PURE__ */
|
|
3406
|
+
class LoggingMessageNotification2 extends (/* @__PURE__ */ make("notifications/message", {
|
|
3403
3407
|
payload: {
|
|
3404
3408
|
...NotificationMeta.fields,
|
|
3405
3409
|
level: LoggingLevel2,
|
|
@@ -3409,7 +3413,7 @@ class LoggingMessageNotification2 extends (/* @__PURE__ */ make2("notifications/
|
|
|
3409
3413
|
})) {
|
|
3410
3414
|
}
|
|
3411
3415
|
|
|
3412
|
-
class ResourceUpdatedNotification2 extends (/* @__PURE__ */
|
|
3416
|
+
class ResourceUpdatedNotification2 extends (/* @__PURE__ */ make("notifications/resources/updated", {
|
|
3413
3417
|
payload: {
|
|
3414
3418
|
...NotificationMeta.fields,
|
|
3415
3419
|
uri: String3
|
|
@@ -3417,31 +3421,31 @@ class ResourceUpdatedNotification2 extends (/* @__PURE__ */ make2("notifications
|
|
|
3417
3421
|
})) {
|
|
3418
3422
|
}
|
|
3419
3423
|
|
|
3420
|
-
class ResourceListChangedNotification2 extends (/* @__PURE__ */
|
|
3424
|
+
class ResourceListChangedNotification2 extends (/* @__PURE__ */ make("notifications/resources/list_changed", {
|
|
3421
3425
|
payload: /* @__PURE__ */ UndefinedOr(NotificationMeta)
|
|
3422
3426
|
})) {
|
|
3423
3427
|
}
|
|
3424
3428
|
|
|
3425
|
-
class ToolListChangedNotification2 extends (/* @__PURE__ */
|
|
3429
|
+
class ToolListChangedNotification2 extends (/* @__PURE__ */ make("notifications/tools/list_changed", {
|
|
3426
3430
|
payload: /* @__PURE__ */ UndefinedOr(NotificationMeta)
|
|
3427
3431
|
})) {
|
|
3428
3432
|
}
|
|
3429
3433
|
|
|
3430
|
-
class PromptListChangedNotification2 extends (/* @__PURE__ */
|
|
3434
|
+
class PromptListChangedNotification2 extends (/* @__PURE__ */ make("notifications/prompts/list_changed", {
|
|
3431
3435
|
payload: /* @__PURE__ */ UndefinedOr(NotificationMeta)
|
|
3432
3436
|
})) {
|
|
3433
3437
|
}
|
|
3434
3438
|
|
|
3435
|
-
class ClientRequestRpcs extends (/* @__PURE__ */
|
|
3439
|
+
class ClientRequestRpcs extends (/* @__PURE__ */ make2(Ping2, Initialize2, Complete, SetLevel, GetPrompt, ListPrompts, ListResources, ListResourceTemplates, ReadResource, Subscribe, Unsubscribe, CallTool, ListTools)) {
|
|
3436
3440
|
}
|
|
3437
3441
|
|
|
3438
|
-
class ClientNotificationRpcs extends (/* @__PURE__ */
|
|
3442
|
+
class ClientNotificationRpcs extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification2, InitializedNotification, RootsListChangedNotification)) {
|
|
3439
3443
|
}
|
|
3440
3444
|
|
|
3441
|
-
class ServerRequestRpcs extends (/* @__PURE__ */
|
|
3445
|
+
class ServerRequestRpcs extends (/* @__PURE__ */ make2(Ping2, CreateMessage2, ListRoots2)) {
|
|
3442
3446
|
}
|
|
3443
3447
|
|
|
3444
|
-
class ServerNotificationRpcs2 extends (/* @__PURE__ */
|
|
3448
|
+
class ServerNotificationRpcs2 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification2, LoggingMessageNotification2, ResourceUpdatedNotification2, ResourceListChangedNotification2, ToolListChangedNotification2, PromptListChangedNotification2)) {
|
|
3445
3449
|
}
|
|
3446
3450
|
|
|
3447
3451
|
// node_modules/effect/dist/ai/internal/mcpProtocol/v2024_11_05.js
|
|
@@ -3769,7 +3773,7 @@ var CreateMessageResult2 = /* @__PURE__ */ Struct({
|
|
|
3769
3773
|
stopReason: /* @__PURE__ */ optional3(String3)
|
|
3770
3774
|
});
|
|
3771
3775
|
|
|
3772
|
-
class Initialize3 extends (/* @__PURE__ */
|
|
3776
|
+
class Initialize3 extends (/* @__PURE__ */ make("initialize", {
|
|
3773
3777
|
success: InitializeResult2,
|
|
3774
3778
|
error: McpError2,
|
|
3775
3779
|
payload: {
|
|
@@ -3781,7 +3785,7 @@ class Initialize3 extends (/* @__PURE__ */ make2("initialize", {
|
|
|
3781
3785
|
})) {
|
|
3782
3786
|
}
|
|
3783
3787
|
|
|
3784
|
-
class GetPrompt2 extends (/* @__PURE__ */
|
|
3788
|
+
class GetPrompt2 extends (/* @__PURE__ */ make("prompts/get", {
|
|
3785
3789
|
success: GetPromptResult2,
|
|
3786
3790
|
error: McpError2,
|
|
3787
3791
|
payload: {
|
|
@@ -3792,14 +3796,14 @@ class GetPrompt2 extends (/* @__PURE__ */ make2("prompts/get", {
|
|
|
3792
3796
|
})) {
|
|
3793
3797
|
}
|
|
3794
3798
|
|
|
3795
|
-
class ListTools2 extends (/* @__PURE__ */
|
|
3799
|
+
class ListTools2 extends (/* @__PURE__ */ make("tools/list", {
|
|
3796
3800
|
success: ListToolsResult2,
|
|
3797
3801
|
error: McpError2,
|
|
3798
3802
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
3799
3803
|
})) {
|
|
3800
3804
|
}
|
|
3801
3805
|
|
|
3802
|
-
class CallTool2 extends (/* @__PURE__ */
|
|
3806
|
+
class CallTool2 extends (/* @__PURE__ */ make("tools/call", {
|
|
3803
3807
|
success: CallToolResult3,
|
|
3804
3808
|
error: McpError2,
|
|
3805
3809
|
payload: {
|
|
@@ -3810,7 +3814,7 @@ class CallTool2 extends (/* @__PURE__ */ make2("tools/call", {
|
|
|
3810
3814
|
})) {
|
|
3811
3815
|
}
|
|
3812
3816
|
|
|
3813
|
-
class CreateMessage3 extends (/* @__PURE__ */
|
|
3817
|
+
class CreateMessage3 extends (/* @__PURE__ */ make("sampling/createMessage", {
|
|
3814
3818
|
success: CreateMessageResult2,
|
|
3815
3819
|
error: McpError2,
|
|
3816
3820
|
payload: {
|
|
@@ -3827,7 +3831,7 @@ class CreateMessage3 extends (/* @__PURE__ */ make2("sampling/createMessage", {
|
|
|
3827
3831
|
})) {
|
|
3828
3832
|
}
|
|
3829
3833
|
|
|
3830
|
-
class ProgressNotification3 extends (/* @__PURE__ */
|
|
3834
|
+
class ProgressNotification3 extends (/* @__PURE__ */ make("notifications/progress", {
|
|
3831
3835
|
payload: {
|
|
3832
3836
|
...NotificationMeta.fields,
|
|
3833
3837
|
progressToken: ProgressToken,
|
|
@@ -3838,16 +3842,16 @@ class ProgressNotification3 extends (/* @__PURE__ */ make2("notifications/progre
|
|
|
3838
3842
|
})) {
|
|
3839
3843
|
}
|
|
3840
3844
|
|
|
3841
|
-
class ClientRequestRpcs3 extends (/* @__PURE__ */
|
|
3845
|
+
class ClientRequestRpcs3 extends (/* @__PURE__ */ make2(Ping2, Initialize3, Complete, SetLevel, GetPrompt2, ListPrompts, ListResources, ListResourceTemplates, ReadResource, Subscribe, Unsubscribe, CallTool2, ListTools2)) {
|
|
3842
3846
|
}
|
|
3843
3847
|
|
|
3844
|
-
class ClientNotificationRpcs2 extends (/* @__PURE__ */
|
|
3848
|
+
class ClientNotificationRpcs2 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification3, InitializedNotification, RootsListChangedNotification)) {
|
|
3845
3849
|
}
|
|
3846
3850
|
|
|
3847
|
-
class ServerRequestRpcs2 extends (/* @__PURE__ */
|
|
3851
|
+
class ServerRequestRpcs2 extends (/* @__PURE__ */ make2(Ping2, CreateMessage3, ListRoots2)) {
|
|
3848
3852
|
}
|
|
3849
3853
|
|
|
3850
|
-
class ServerNotificationRpcs3 extends (/* @__PURE__ */
|
|
3854
|
+
class ServerNotificationRpcs3 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification3, LoggingMessageNotification2, ResourceUpdatedNotification2, ResourceListChangedNotification2, ToolListChangedNotification2, PromptListChangedNotification2)) {
|
|
3851
3855
|
}
|
|
3852
3856
|
|
|
3853
3857
|
// node_modules/effect/dist/ai/internal/mcpProtocol/v2025_03_26.js
|
|
@@ -4230,7 +4234,7 @@ var InitializeResult3 = /* @__PURE__ */ Struct({
|
|
|
4230
4234
|
instructions: /* @__PURE__ */ optional4(String3)
|
|
4231
4235
|
});
|
|
4232
4236
|
|
|
4233
|
-
class Initialize4 extends (/* @__PURE__ */
|
|
4237
|
+
class Initialize4 extends (/* @__PURE__ */ make("initialize", {
|
|
4234
4238
|
success: InitializeResult3,
|
|
4235
4239
|
error: McpError2,
|
|
4236
4240
|
payload: {
|
|
@@ -4269,7 +4273,7 @@ var CreateMessageResult3 = /* @__PURE__ */ Struct({
|
|
|
4269
4273
|
stopReason: /* @__PURE__ */ optional4(String3)
|
|
4270
4274
|
});
|
|
4271
4275
|
|
|
4272
|
-
class CreateMessage4 extends (/* @__PURE__ */
|
|
4276
|
+
class CreateMessage4 extends (/* @__PURE__ */ make("sampling/createMessage", {
|
|
4273
4277
|
success: CreateMessageResult3,
|
|
4274
4278
|
error: McpError2,
|
|
4275
4279
|
payload: {
|
|
@@ -4295,7 +4299,7 @@ var ResourceTemplateReference = /* @__PURE__ */ Struct({
|
|
|
4295
4299
|
});
|
|
4296
4300
|
var CompleteResult2 = CompleteResult;
|
|
4297
4301
|
|
|
4298
|
-
class Complete2 extends (/* @__PURE__ */
|
|
4302
|
+
class Complete2 extends (/* @__PURE__ */ make("completion/complete", {
|
|
4299
4303
|
success: CompleteResult2,
|
|
4300
4304
|
error: McpError2,
|
|
4301
4305
|
payload: {
|
|
@@ -4337,21 +4341,21 @@ var ListToolsResult3 = /* @__PURE__ */ Struct({
|
|
|
4337
4341
|
tools: /* @__PURE__ */ ArraySchema(Tool4)
|
|
4338
4342
|
});
|
|
4339
4343
|
|
|
4340
|
-
class ListResources2 extends (/* @__PURE__ */
|
|
4344
|
+
class ListResources2 extends (/* @__PURE__ */ make("resources/list", {
|
|
4341
4345
|
success: ListResourcesResult2,
|
|
4342
4346
|
error: McpError2,
|
|
4343
4347
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
4344
4348
|
})) {
|
|
4345
4349
|
}
|
|
4346
4350
|
|
|
4347
|
-
class ListResourceTemplates2 extends (/* @__PURE__ */
|
|
4351
|
+
class ListResourceTemplates2 extends (/* @__PURE__ */ make("resources/templates/list", {
|
|
4348
4352
|
success: ListResourceTemplatesResult2,
|
|
4349
4353
|
error: McpError2,
|
|
4350
4354
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
4351
4355
|
})) {
|
|
4352
4356
|
}
|
|
4353
4357
|
|
|
4354
|
-
class ReadResource2 extends (/* @__PURE__ */
|
|
4358
|
+
class ReadResource2 extends (/* @__PURE__ */ make("resources/read", {
|
|
4355
4359
|
success: ReadResourceResult2,
|
|
4356
4360
|
error: McpError2,
|
|
4357
4361
|
payload: {
|
|
@@ -4361,14 +4365,14 @@ class ReadResource2 extends (/* @__PURE__ */ make2("resources/read", {
|
|
|
4361
4365
|
})) {
|
|
4362
4366
|
}
|
|
4363
4367
|
|
|
4364
|
-
class ListPrompts2 extends (/* @__PURE__ */
|
|
4368
|
+
class ListPrompts2 extends (/* @__PURE__ */ make("prompts/list", {
|
|
4365
4369
|
success: ListPromptsResult2,
|
|
4366
4370
|
error: McpError2,
|
|
4367
4371
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
4368
4372
|
})) {
|
|
4369
4373
|
}
|
|
4370
4374
|
|
|
4371
|
-
class GetPrompt3 extends (/* @__PURE__ */
|
|
4375
|
+
class GetPrompt3 extends (/* @__PURE__ */ make("prompts/get", {
|
|
4372
4376
|
success: GetPromptResult3,
|
|
4373
4377
|
error: McpError2,
|
|
4374
4378
|
payload: {
|
|
@@ -4379,14 +4383,14 @@ class GetPrompt3 extends (/* @__PURE__ */ make2("prompts/get", {
|
|
|
4379
4383
|
})) {
|
|
4380
4384
|
}
|
|
4381
4385
|
|
|
4382
|
-
class ListTools3 extends (/* @__PURE__ */
|
|
4386
|
+
class ListTools3 extends (/* @__PURE__ */ make("tools/list", {
|
|
4383
4387
|
success: ListToolsResult3,
|
|
4384
4388
|
error: McpError2,
|
|
4385
4389
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
4386
4390
|
})) {
|
|
4387
4391
|
}
|
|
4388
4392
|
|
|
4389
|
-
class CallTool3 extends (/* @__PURE__ */
|
|
4393
|
+
class CallTool3 extends (/* @__PURE__ */ make("tools/call", {
|
|
4390
4394
|
success: CallToolResult4,
|
|
4391
4395
|
error: McpError2,
|
|
4392
4396
|
payload: {
|
|
@@ -4435,7 +4439,7 @@ var RequestedSchema = /* @__PURE__ */ Struct({
|
|
|
4435
4439
|
required: /* @__PURE__ */ optional4(/* @__PURE__ */ ArraySchema(String3))
|
|
4436
4440
|
});
|
|
4437
4441
|
|
|
4438
|
-
class Elicit2 extends (/* @__PURE__ */
|
|
4442
|
+
class Elicit2 extends (/* @__PURE__ */ make("elicitation/create", {
|
|
4439
4443
|
success: ElicitResult,
|
|
4440
4444
|
error: McpError2,
|
|
4441
4445
|
payload: {
|
|
@@ -4446,16 +4450,16 @@ class Elicit2 extends (/* @__PURE__ */ make2("elicitation/create", {
|
|
|
4446
4450
|
})) {
|
|
4447
4451
|
}
|
|
4448
4452
|
|
|
4449
|
-
class ClientRequestRpcs5 extends (/* @__PURE__ */
|
|
4453
|
+
class ClientRequestRpcs5 extends (/* @__PURE__ */ make2(Ping2, Initialize4, Complete2, SetLevel, GetPrompt3, ListPrompts2, ListResources2, ListResourceTemplates2, ReadResource2, Subscribe, Unsubscribe, CallTool3, ListTools3)) {
|
|
4450
4454
|
}
|
|
4451
4455
|
|
|
4452
|
-
class ClientNotificationRpcs3 extends (/* @__PURE__ */
|
|
4456
|
+
class ClientNotificationRpcs3 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification3, InitializedNotification, RootsListChangedNotification)) {
|
|
4453
4457
|
}
|
|
4454
4458
|
|
|
4455
|
-
class ServerRequestRpcs3 extends (/* @__PURE__ */
|
|
4459
|
+
class ServerRequestRpcs3 extends (/* @__PURE__ */ make2(Ping2, CreateMessage4, ListRoots2, Elicit2)) {
|
|
4456
4460
|
}
|
|
4457
4461
|
|
|
4458
|
-
class ServerNotificationRpcs4 extends (/* @__PURE__ */
|
|
4462
|
+
class ServerNotificationRpcs4 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification3, LoggingMessageNotification2, ResourceUpdatedNotification2, ResourceListChangedNotification2, ToolListChangedNotification2, PromptListChangedNotification2)) {
|
|
4459
4463
|
}
|
|
4460
4464
|
|
|
4461
4465
|
// node_modules/effect/dist/ai/internal/mcpProtocol/v2025_06_18.js
|
|
@@ -4827,7 +4831,7 @@ var CallToolResult5 = /* @__PURE__ */ Struct({
|
|
|
4827
4831
|
content: /* @__PURE__ */ ArraySchema(ContentBlock2)
|
|
4828
4832
|
});
|
|
4829
4833
|
|
|
4830
|
-
class CallTool4 extends (/* @__PURE__ */
|
|
4834
|
+
class CallTool4 extends (/* @__PURE__ */ make("tools/call", {
|
|
4831
4835
|
success: CallToolResult5,
|
|
4832
4836
|
error: McpError2,
|
|
4833
4837
|
payload: CallTool3.payloadSchema
|
|
@@ -4864,7 +4868,7 @@ var CreateMessageResult4 = /* @__PURE__ */ Struct({
|
|
|
4864
4868
|
stopReason: /* @__PURE__ */ optional5(String3)
|
|
4865
4869
|
});
|
|
4866
4870
|
|
|
4867
|
-
class CreateMessage5 extends (/* @__PURE__ */
|
|
4871
|
+
class CreateMessage5 extends (/* @__PURE__ */ make("sampling/createMessage", {
|
|
4868
4872
|
success: CreateMessageResult4,
|
|
4869
4873
|
error: McpError2,
|
|
4870
4874
|
payload: {
|
|
@@ -4885,7 +4889,7 @@ var ListRootsResult3 = /* @__PURE__ */ Struct({
|
|
|
4885
4889
|
roots: /* @__PURE__ */ ArraySchema(Root2)
|
|
4886
4890
|
});
|
|
4887
4891
|
|
|
4888
|
-
class ListRoots3 extends (/* @__PURE__ */
|
|
4892
|
+
class ListRoots3 extends (/* @__PURE__ */ make("roots/list", {
|
|
4889
4893
|
success: ListRootsResult3,
|
|
4890
4894
|
error: McpError2,
|
|
4891
4895
|
payload: /* @__PURE__ */ UndefinedOr(RequestMeta)
|
|
@@ -4993,14 +4997,14 @@ var ElicitResult2 = /* @__PURE__ */ Struct({
|
|
|
4993
4997
|
content: /* @__PURE__ */ optional5(/* @__PURE__ */ Record(String3, /* @__PURE__ */ Union([String3, Finite, Boolean3, /* @__PURE__ */ ArraySchema(String3)])))
|
|
4994
4998
|
});
|
|
4995
4999
|
|
|
4996
|
-
class Elicit3 extends (/* @__PURE__ */
|
|
5000
|
+
class Elicit3 extends (/* @__PURE__ */ make("elicitation/create", {
|
|
4997
5001
|
success: ElicitResult2,
|
|
4998
5002
|
error: McpError2,
|
|
4999
5003
|
payload: ElicitRequestParams
|
|
5000
5004
|
})) {
|
|
5001
5005
|
}
|
|
5002
5006
|
|
|
5003
|
-
class ElicitationCompleteNotification extends (/* @__PURE__ */
|
|
5007
|
+
class ElicitationCompleteNotification extends (/* @__PURE__ */ make("notifications/elicitation/complete", {
|
|
5004
5008
|
payload: {
|
|
5005
5009
|
elicitationId: String3
|
|
5006
5010
|
}
|
|
@@ -5011,7 +5015,7 @@ var InitializeResult4 = /* @__PURE__ */ Struct({
|
|
|
5011
5015
|
serverInfo: Implementation4
|
|
5012
5016
|
});
|
|
5013
5017
|
|
|
5014
|
-
class Initialize5 extends (/* @__PURE__ */
|
|
5018
|
+
class Initialize5 extends (/* @__PURE__ */ make("initialize", {
|
|
5015
5019
|
success: InitializeResult4,
|
|
5016
5020
|
error: McpError2,
|
|
5017
5021
|
payload: {
|
|
@@ -5042,28 +5046,28 @@ var ListToolsResult4 = /* @__PURE__ */ Struct({
|
|
|
5042
5046
|
tools: /* @__PURE__ */ ArraySchema(Tool5)
|
|
5043
5047
|
});
|
|
5044
5048
|
|
|
5045
|
-
class ListResources3 extends (/* @__PURE__ */
|
|
5049
|
+
class ListResources3 extends (/* @__PURE__ */ make("resources/list", {
|
|
5046
5050
|
success: ListResourcesResult3,
|
|
5047
5051
|
error: McpError2,
|
|
5048
5052
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
5049
5053
|
})) {
|
|
5050
5054
|
}
|
|
5051
5055
|
|
|
5052
|
-
class ListResourceTemplates3 extends (/* @__PURE__ */
|
|
5056
|
+
class ListResourceTemplates3 extends (/* @__PURE__ */ make("resources/templates/list", {
|
|
5053
5057
|
success: ListResourceTemplatesResult3,
|
|
5054
5058
|
error: McpError2,
|
|
5055
5059
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
5056
5060
|
})) {
|
|
5057
5061
|
}
|
|
5058
5062
|
|
|
5059
|
-
class ListPrompts3 extends (/* @__PURE__ */
|
|
5063
|
+
class ListPrompts3 extends (/* @__PURE__ */ make("prompts/list", {
|
|
5060
5064
|
success: ListPromptsResult3,
|
|
5061
5065
|
error: McpError2,
|
|
5062
5066
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
5063
5067
|
})) {
|
|
5064
5068
|
}
|
|
5065
5069
|
|
|
5066
|
-
class GetPrompt4 extends (/* @__PURE__ */
|
|
5070
|
+
class GetPrompt4 extends (/* @__PURE__ */ make("prompts/get", {
|
|
5067
5071
|
success: GetPromptResult4,
|
|
5068
5072
|
error: McpError2,
|
|
5069
5073
|
payload: {
|
|
@@ -5074,23 +5078,23 @@ class GetPrompt4 extends (/* @__PURE__ */ make2("prompts/get", {
|
|
|
5074
5078
|
})) {
|
|
5075
5079
|
}
|
|
5076
5080
|
|
|
5077
|
-
class ListTools4 extends (/* @__PURE__ */
|
|
5081
|
+
class ListTools4 extends (/* @__PURE__ */ make("tools/list", {
|
|
5078
5082
|
success: ListToolsResult4,
|
|
5079
5083
|
error: McpError2,
|
|
5080
5084
|
payload: /* @__PURE__ */ UndefinedOr(PaginatedRequest)
|
|
5081
5085
|
})) {
|
|
5082
5086
|
}
|
|
5083
5087
|
|
|
5084
|
-
class ClientRequestRpcs7 extends (/* @__PURE__ */
|
|
5088
|
+
class ClientRequestRpcs7 extends (/* @__PURE__ */ make2(Ping2, Initialize5, Complete2, SetLevel, GetPrompt4, ListPrompts3, ListResources3, ListResourceTemplates3, ReadResource2, Subscribe, Unsubscribe, CallTool4, ListTools4)) {
|
|
5085
5089
|
}
|
|
5086
5090
|
|
|
5087
|
-
class ClientNotificationRpcs4 extends (/* @__PURE__ */
|
|
5091
|
+
class ClientNotificationRpcs4 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification3, InitializedNotification, RootsListChangedNotification)) {
|
|
5088
5092
|
}
|
|
5089
5093
|
|
|
5090
|
-
class ServerRequestRpcs4 extends (/* @__PURE__ */
|
|
5094
|
+
class ServerRequestRpcs4 extends (/* @__PURE__ */ make2(Ping2, CreateMessage5, ListRoots3, Elicit3)) {
|
|
5091
5095
|
}
|
|
5092
5096
|
|
|
5093
|
-
class ServerNotificationRpcs5 extends (/* @__PURE__ */
|
|
5097
|
+
class ServerNotificationRpcs5 extends (/* @__PURE__ */ make2(CancelledNotification2, ProgressNotification3, LoggingMessageNotification2, ResourceUpdatedNotification2, ResourceListChangedNotification2, ToolListChangedNotification2, PromptListChangedNotification2, ElicitationCompleteNotification)) {
|
|
5094
5098
|
}
|
|
5095
5099
|
|
|
5096
5100
|
// node_modules/effect/dist/ai/internal/mcpProtocol/v2025_11_25.js
|
|
@@ -5649,7 +5653,7 @@ var DiscoverResult = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
5649
5653
|
instructions: /* @__PURE__ */ optional6(String3)
|
|
5650
5654
|
}), [JsonObject]);
|
|
5651
5655
|
|
|
5652
|
-
class Discover extends (/* @__PURE__ */
|
|
5656
|
+
class Discover extends (/* @__PURE__ */ make("server/discover", {
|
|
5653
5657
|
success: DiscoverResult,
|
|
5654
5658
|
error: McpError3,
|
|
5655
5659
|
payload: RequestParams
|
|
@@ -5661,7 +5665,7 @@ var ListResourcesResult4 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct
|
|
|
5661
5665
|
resources: /* @__PURE__ */ ArraySchema(Resource4)
|
|
5662
5666
|
}), [JsonObject]);
|
|
5663
5667
|
|
|
5664
|
-
class ListResources4 extends (/* @__PURE__ */
|
|
5668
|
+
class ListResources4 extends (/* @__PURE__ */ make("resources/list", {
|
|
5665
5669
|
success: ListResourcesResult4,
|
|
5666
5670
|
error: McpError3,
|
|
5667
5671
|
payload: PaginatedRequestParams
|
|
@@ -5673,7 +5677,7 @@ var ListResourceTemplatesResult4 = /* @__PURE__ */ StructWithRest(/* @__PURE__ *
|
|
|
5673
5677
|
resourceTemplates: /* @__PURE__ */ ArraySchema(ResourceTemplate4)
|
|
5674
5678
|
}), [JsonObject]);
|
|
5675
5679
|
|
|
5676
|
-
class ListResourceTemplates4 extends (/* @__PURE__ */
|
|
5680
|
+
class ListResourceTemplates4 extends (/* @__PURE__ */ make("resources/templates/list", {
|
|
5677
5681
|
success: ListResourceTemplatesResult4,
|
|
5678
5682
|
error: McpError3,
|
|
5679
5683
|
payload: PaginatedRequestParams
|
|
@@ -5684,7 +5688,7 @@ var ReadResourceResult3 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct(
|
|
|
5684
5688
|
contents: /* @__PURE__ */ ArraySchema(ResourceContents3)
|
|
5685
5689
|
}), [JsonObject]);
|
|
5686
5690
|
|
|
5687
|
-
class ReadResource3 extends (/* @__PURE__ */
|
|
5691
|
+
class ReadResource3 extends (/* @__PURE__ */ make("resources/read", {
|
|
5688
5692
|
success: /* @__PURE__ */ Union([ReadResourceResult3, InputRequiredResult]),
|
|
5689
5693
|
error: McpError3,
|
|
5690
5694
|
payload: {
|
|
@@ -5699,7 +5703,7 @@ var ListPromptsResult4 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
5699
5703
|
prompts: /* @__PURE__ */ ArraySchema(Prompt5)
|
|
5700
5704
|
}), [JsonObject]);
|
|
5701
5705
|
|
|
5702
|
-
class ListPrompts4 extends (/* @__PURE__ */
|
|
5706
|
+
class ListPrompts4 extends (/* @__PURE__ */ make("prompts/list", {
|
|
5703
5707
|
success: ListPromptsResult4,
|
|
5704
5708
|
error: McpError3,
|
|
5705
5709
|
payload: PaginatedRequestParams
|
|
@@ -5711,7 +5715,7 @@ var GetPromptResult5 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
5711
5715
|
messages: /* @__PURE__ */ ArraySchema(PromptMessage5)
|
|
5712
5716
|
}), [JsonObject]);
|
|
5713
5717
|
|
|
5714
|
-
class GetPrompt5 extends (/* @__PURE__ */
|
|
5718
|
+
class GetPrompt5 extends (/* @__PURE__ */ make("prompts/get", {
|
|
5715
5719
|
success: /* @__PURE__ */ Union([GetPromptResult5, InputRequiredResult]),
|
|
5716
5720
|
error: McpError3,
|
|
5717
5721
|
payload: {
|
|
@@ -5727,7 +5731,7 @@ var ListToolsResult5 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
5727
5731
|
tools: /* @__PURE__ */ ArraySchema(Tool6)
|
|
5728
5732
|
}), [JsonObject]);
|
|
5729
5733
|
|
|
5730
|
-
class ListTools5 extends (/* @__PURE__ */
|
|
5734
|
+
class ListTools5 extends (/* @__PURE__ */ make("tools/list", {
|
|
5731
5735
|
success: ListToolsResult5,
|
|
5732
5736
|
error: McpError3,
|
|
5733
5737
|
payload: PaginatedRequestParams
|
|
@@ -5740,7 +5744,7 @@ var CallToolResult6 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
5740
5744
|
isError: /* @__PURE__ */ optional6(Boolean3)
|
|
5741
5745
|
}), [JsonObject]);
|
|
5742
5746
|
|
|
5743
|
-
class CallTool5 extends (/* @__PURE__ */
|
|
5747
|
+
class CallTool5 extends (/* @__PURE__ */ make("tools/call", {
|
|
5744
5748
|
success: /* @__PURE__ */ Union([CallToolResult6, InputRequiredResult]),
|
|
5745
5749
|
error: McpError3,
|
|
5746
5750
|
payload: {
|
|
@@ -5761,7 +5765,7 @@ var CompleteResult3 = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
5761
5765
|
})
|
|
5762
5766
|
}), [JsonObject]);
|
|
5763
5767
|
|
|
5764
|
-
class Complete3 extends (/* @__PURE__ */
|
|
5768
|
+
class Complete3 extends (/* @__PURE__ */ make("completion/complete", {
|
|
5765
5769
|
success: CompleteResult3,
|
|
5766
5770
|
error: McpError3,
|
|
5767
5771
|
payload: {
|
|
@@ -5792,7 +5796,7 @@ var SubscriptionsListenResult = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ S
|
|
|
5792
5796
|
resultType: /* @__PURE__ */ Literal("complete")
|
|
5793
5797
|
}), [JsonObject]);
|
|
5794
5798
|
|
|
5795
|
-
class SubscriptionsListen extends (/* @__PURE__ */
|
|
5799
|
+
class SubscriptionsListen extends (/* @__PURE__ */ make("subscriptions/listen", {
|
|
5796
5800
|
success: SubscriptionsListenResult,
|
|
5797
5801
|
error: McpError3,
|
|
5798
5802
|
payload: {
|
|
@@ -5802,7 +5806,7 @@ class SubscriptionsListen extends (/* @__PURE__ */ make2("subscriptions/listen",
|
|
|
5802
5806
|
})) {
|
|
5803
5807
|
}
|
|
5804
5808
|
|
|
5805
|
-
class CancelledNotification3 extends (/* @__PURE__ */
|
|
5809
|
+
class CancelledNotification3 extends (/* @__PURE__ */ make("notifications/cancelled", {
|
|
5806
5810
|
payload: {
|
|
5807
5811
|
...NotificationParams.fields,
|
|
5808
5812
|
requestId: RequestId3,
|
|
@@ -5811,7 +5815,7 @@ class CancelledNotification3 extends (/* @__PURE__ */ make2("notifications/cance
|
|
|
5811
5815
|
})) {
|
|
5812
5816
|
}
|
|
5813
5817
|
|
|
5814
|
-
class ProgressNotification4 extends (/* @__PURE__ */
|
|
5818
|
+
class ProgressNotification4 extends (/* @__PURE__ */ make("notifications/progress", {
|
|
5815
5819
|
payload: {
|
|
5816
5820
|
...NotificationParams.fields,
|
|
5817
5821
|
progressToken: ProgressToken2,
|
|
@@ -5822,7 +5826,7 @@ class ProgressNotification4 extends (/* @__PURE__ */ make2("notifications/progre
|
|
|
5822
5826
|
})) {
|
|
5823
5827
|
}
|
|
5824
5828
|
|
|
5825
|
-
class LoggingMessageNotification3 extends (/* @__PURE__ */
|
|
5829
|
+
class LoggingMessageNotification3 extends (/* @__PURE__ */ make("notifications/message", {
|
|
5826
5830
|
payload: {
|
|
5827
5831
|
...NotificationParams.fields,
|
|
5828
5832
|
level: LoggingLevel3,
|
|
@@ -5832,7 +5836,7 @@ class LoggingMessageNotification3 extends (/* @__PURE__ */ make2("notifications/
|
|
|
5832
5836
|
})) {
|
|
5833
5837
|
}
|
|
5834
5838
|
|
|
5835
|
-
class ResourceUpdatedNotification3 extends (/* @__PURE__ */
|
|
5839
|
+
class ResourceUpdatedNotification3 extends (/* @__PURE__ */ make("notifications/resources/updated", {
|
|
5836
5840
|
payload: {
|
|
5837
5841
|
...NotificationParams.fields,
|
|
5838
5842
|
uri: String3
|
|
@@ -5840,22 +5844,22 @@ class ResourceUpdatedNotification3 extends (/* @__PURE__ */ make2("notifications
|
|
|
5840
5844
|
})) {
|
|
5841
5845
|
}
|
|
5842
5846
|
|
|
5843
|
-
class ResourceListChangedNotification3 extends (/* @__PURE__ */
|
|
5847
|
+
class ResourceListChangedNotification3 extends (/* @__PURE__ */ make("notifications/resources/list_changed", {
|
|
5844
5848
|
payload: /* @__PURE__ */ UndefinedOr(NotificationParams)
|
|
5845
5849
|
})) {
|
|
5846
5850
|
}
|
|
5847
5851
|
|
|
5848
|
-
class ToolListChangedNotification3 extends (/* @__PURE__ */
|
|
5852
|
+
class ToolListChangedNotification3 extends (/* @__PURE__ */ make("notifications/tools/list_changed", {
|
|
5849
5853
|
payload: /* @__PURE__ */ UndefinedOr(NotificationParams)
|
|
5850
5854
|
})) {
|
|
5851
5855
|
}
|
|
5852
5856
|
|
|
5853
|
-
class PromptListChangedNotification3 extends (/* @__PURE__ */
|
|
5857
|
+
class PromptListChangedNotification3 extends (/* @__PURE__ */ make("notifications/prompts/list_changed", {
|
|
5854
5858
|
payload: /* @__PURE__ */ UndefinedOr(NotificationParams)
|
|
5855
5859
|
})) {
|
|
5856
5860
|
}
|
|
5857
5861
|
|
|
5858
|
-
class SubscriptionsAcknowledgedNotification extends (/* @__PURE__ */
|
|
5862
|
+
class SubscriptionsAcknowledgedNotification extends (/* @__PURE__ */ make("notifications/subscriptions/acknowledged", {
|
|
5859
5863
|
payload: {
|
|
5860
5864
|
...NotificationParams.fields,
|
|
5861
5865
|
notifications: SubscriptionFilter
|
|
@@ -5863,19 +5867,19 @@ class SubscriptionsAcknowledgedNotification extends (/* @__PURE__ */ make2("noti
|
|
|
5863
5867
|
})) {
|
|
5864
5868
|
}
|
|
5865
5869
|
|
|
5866
|
-
class ClientRequestRpcs9 extends (/* @__PURE__ */
|
|
5870
|
+
class ClientRequestRpcs9 extends (/* @__PURE__ */ make2(Discover, Complete3, GetPrompt5, ListPrompts4, ListResources4, ListResourceTemplates4, ReadResource3, SubscriptionsListen, CallTool5, ListTools5)) {
|
|
5867
5871
|
}
|
|
5868
5872
|
|
|
5869
|
-
class ClientNotificationRpcs5 extends (/* @__PURE__ */
|
|
5873
|
+
class ClientNotificationRpcs5 extends (/* @__PURE__ */ make2(CancelledNotification3)) {
|
|
5870
5874
|
}
|
|
5871
5875
|
|
|
5872
5876
|
class ClientRpcs5 extends (/* @__PURE__ */ ClientRequestRpcs9.merge(ClientNotificationRpcs5)) {
|
|
5873
5877
|
}
|
|
5874
5878
|
|
|
5875
|
-
class ServerRequestRpcs5 extends (/* @__PURE__ */
|
|
5879
|
+
class ServerRequestRpcs5 extends (/* @__PURE__ */ make2()) {
|
|
5876
5880
|
}
|
|
5877
5881
|
|
|
5878
|
-
class ServerNotificationRpcs6 extends (/* @__PURE__ */
|
|
5882
|
+
class ServerNotificationRpcs6 extends (/* @__PURE__ */ make2(CancelledNotification3, ProgressNotification4, LoggingMessageNotification3, ResourceUpdatedNotification3, ResourceListChangedNotification3, ToolListChangedNotification3, PromptListChangedNotification3, SubscriptionsAcknowledgedNotification)) {
|
|
5879
5883
|
}
|
|
5880
5884
|
|
|
5881
5885
|
// node_modules/effect/dist/ai/internal/mcpProtocol/v2026_07_28.js
|
|
@@ -7258,7 +7262,7 @@ var makeNoSerialization2 = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
7258
7262
|
const services = yield* context2();
|
|
7259
7263
|
const scope = get2(services, Scope);
|
|
7260
7264
|
const trackFiber = runIn(forkUnsafe(scope, "parallel"));
|
|
7261
|
-
const concurrencySemaphore = concurrency === "unbounded" ? undefined : yield*
|
|
7265
|
+
const concurrencySemaphore = concurrency === "unbounded" ? undefined : yield* make3(concurrency);
|
|
7262
7266
|
const clients = new Map;
|
|
7263
7267
|
let isShutdown = false;
|
|
7264
7268
|
const shutdownLatch = makeUnsafe2(false);
|