@opencode/browse 0.0.17-dev.148 → 0.0.17-dev.150
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-qfc1eg1n.mjs +16 -0
- package/dist/{Undici-mxpvn7gy.mjs → Undici-xgvbtsb1.mjs} +1 -1
- package/dist/{cli-mnatacxh.mjs → cli-nxa4be03.mjs} +69 -65
- package/dist/cli.mjs +30 -13
- package/dist/{helpers-p5ccdp6m.mjs → helpers-gnxbvn63.mjs} +2 -2
- package/dist/{index-6gkr235e.mjs → index-7d47yfra.mjs} +2 -1
- package/dist/{main-vfezh1ps.mjs → main-10w7c97b.mjs} +69 -67
- package/dist/main-37phhnge.mjs +4 -0
- package/dist/{main-xearn98x.mjs → main-3s4j1k2p.mjs} +71 -69
- package/dist/{main-er120rjm.mjs → main-4074weqb.mjs} +2 -2
- package/dist/{main-0dj0x4v6.mjs → main-4gtznd5c.mjs} +53 -27
- package/dist/{main-azpzpy0x.mjs → main-4h7rfhhr.mjs} +1 -1
- package/dist/main-9bk4pprj.mjs +64 -0
- package/dist/{main-9t2s5ptx.mjs → main-bc8cjey0.mjs} +32 -77
- package/dist/main-j98fzrvv.mjs +68 -0
- package/dist/{main-njy3y27f.mjs → main-ksfgzap6.mjs} +2 -2
- package/dist/{main-1mdsf5xe.mjs → main-md18jc5k.mjs} +3 -3
- package/dist/{main-r5tqkv4q.mjs → main-pw38k92k.mjs} +7 -5
- package/dist/{main-ken6azcs.mjs → main-qazf3bhk.mjs} +1 -68
- package/dist/main-v6hzbxjd.mjs +5547 -0
- package/dist/{main-nmyajqdg.mjs → main-vc68m0bh.mjs} +3 -3
- package/dist/{main-q495p3mp.mjs → main-x17fgxar.mjs} +2 -2
- package/dist/main-xycdhwqs.mjs +5196 -0
- package/dist/{main-zqsvbh95.mjs → main-z06ajk37.mjs} +2 -2
- package/dist/{main-687c47zw.mjs → main-zawbkazp.mjs} +4 -4
- package/dist/{mcp-kzwj8kxh.mjs → mcp-hq2ebg2s.mjs} +151 -148
- package/dist/{migrate-zh7f23ky.mjs → migrate-n3f5q6qj.mjs} +5 -5
- package/dist/{relay-ega4yy44.mjs → relay-wxnp7mgw.mjs} +53 -51
- package/dist/{runtime-update-6qna94mr.mjs → runtime-update-hewr1tyf.mjs} +8 -7
- package/dist/{setup-wz32kw2e.mjs → setup-q0vwkvd0.mjs} +8 -8
- package/dist/{supervisor-6e6rq4q3.mjs → supervisor-7hmg5qra.mjs} +26 -8
- package/dist/{update-1kdp2x13.mjs → update-y5bgqv5w.mjs} +3 -3
- package/dist/{version-x9pnjwap.mjs → version-x703dhvw.mjs} +1 -1
- package/package.json +1 -1
- package/dist/main-8e96v2gf.mjs +0 -4
- package/dist/main-yf5j8g79.mjs +0 -10662
|
@@ -12,44 +12,19 @@ import {
|
|
|
12
12
|
parseTargetSelection2,
|
|
13
13
|
getObject2,
|
|
14
14
|
getString2
|
|
15
|
-
} from "./main-
|
|
15
|
+
} from "./main-3s4j1k2p.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isStream,
|
|
18
18
|
provideContext
|
|
19
|
-
} from "./main-
|
|
19
|
+
} from "./main-bc8cjey0.mjs";
|
|
20
20
|
import {
|
|
21
|
-
getStackTraceLimit,
|
|
22
|
-
setStackTraceLimit,
|
|
23
|
-
none,
|
|
24
|
-
some,
|
|
25
|
-
isSome,
|
|
26
|
-
fromUndefinedOr,
|
|
27
|
-
flatMap,
|
|
28
|
-
Service2,
|
|
29
|
-
makeUnsafe3,
|
|
30
|
-
empty4,
|
|
31
|
-
make9,
|
|
32
|
-
add,
|
|
33
|
-
getOrUndefinedUnsafe,
|
|
34
|
-
merge2,
|
|
35
21
|
TaggedError,
|
|
36
|
-
StackTrace,
|
|
37
|
-
effectContext,
|
|
38
|
-
isEffect,
|
|
39
|
-
succeed6,
|
|
40
|
-
sync2,
|
|
41
|
-
gen,
|
|
42
|
-
fail6,
|
|
43
|
-
context2,
|
|
44
|
-
contextWith,
|
|
45
|
-
provide3,
|
|
46
|
-
fnUntraced,
|
|
47
22
|
passthrough,
|
|
48
23
|
transformOptional,
|
|
49
24
|
withDefault2,
|
|
50
25
|
declare,
|
|
51
26
|
encodeUnknownOption,
|
|
52
|
-
|
|
27
|
+
make8,
|
|
53
28
|
isSchema,
|
|
54
29
|
optionalKey,
|
|
55
30
|
optional,
|
|
@@ -82,12 +57,39 @@ import {
|
|
|
82
57
|
Defect,
|
|
83
58
|
Uint8ArrayFromBase64,
|
|
84
59
|
Exit,
|
|
85
|
-
|
|
60
|
+
Class2,
|
|
86
61
|
Error3,
|
|
87
62
|
toJsonSchemaDocument,
|
|
88
63
|
Json,
|
|
89
64
|
JsonObject
|
|
90
|
-
} from "./main-
|
|
65
|
+
} from "./main-v6hzbxjd.mjs";
|
|
66
|
+
import {
|
|
67
|
+
getStackTraceLimit,
|
|
68
|
+
setStackTraceLimit,
|
|
69
|
+
none,
|
|
70
|
+
some,
|
|
71
|
+
isSome,
|
|
72
|
+
fromUndefinedOr,
|
|
73
|
+
flatMap,
|
|
74
|
+
Service2,
|
|
75
|
+
makeUnsafe3,
|
|
76
|
+
empty4,
|
|
77
|
+
make10,
|
|
78
|
+
add,
|
|
79
|
+
getOrUndefinedUnsafe,
|
|
80
|
+
merge2,
|
|
81
|
+
StackTrace,
|
|
82
|
+
effectContext,
|
|
83
|
+
isEffect,
|
|
84
|
+
succeed6,
|
|
85
|
+
sync2,
|
|
86
|
+
gen,
|
|
87
|
+
fail6,
|
|
88
|
+
context2,
|
|
89
|
+
contextWith,
|
|
90
|
+
provide3,
|
|
91
|
+
fnUntraced
|
|
92
|
+
} from "./main-xycdhwqs.mjs";
|
|
91
93
|
import {
|
|
92
94
|
pipeArguments,
|
|
93
95
|
identity,
|
|
@@ -98,10 +100,10 @@ import {
|
|
|
98
100
|
isNumber,
|
|
99
101
|
isBoolean,
|
|
100
102
|
hasProperty
|
|
101
|
-
} from "./main-
|
|
103
|
+
} from "./main-qazf3bhk.mjs";
|
|
102
104
|
import {
|
|
103
105
|
cliCommand
|
|
104
|
-
} from "./main-
|
|
106
|
+
} from "./main-md18jc5k.mjs";
|
|
105
107
|
|
|
106
108
|
// node_modules/effect/dist/PrimaryKey.js
|
|
107
109
|
var symbol = "~effect/PrimaryKey";
|
|
@@ -118,7 +120,7 @@ function getStreamSchemas(schema) {
|
|
|
118
120
|
}
|
|
119
121
|
var schema = /* @__PURE__ */ declare(isStream);
|
|
120
122
|
function Stream(success, error) {
|
|
121
|
-
return
|
|
123
|
+
return make8(schema.ast, {
|
|
122
124
|
[StreamSchemaTypeId]: StreamSchemaTypeId,
|
|
123
125
|
success,
|
|
124
126
|
error
|
|
@@ -243,7 +245,7 @@ var make = (tag, options) => {
|
|
|
243
245
|
const defectSchema = options?.defect ?? Defect();
|
|
244
246
|
let payloadSchema;
|
|
245
247
|
if (options?.primaryKey) {
|
|
246
|
-
payloadSchema = class Payload extends
|
|
248
|
+
payloadSchema = class Payload extends Class2(`effect/rpc/Rpc/${tag}`)(options.payload) {
|
|
247
249
|
[symbol]() {
|
|
248
250
|
return options.primaryKey(this);
|
|
249
251
|
}
|
|
@@ -397,7 +399,7 @@ var RpcGroupProto = {
|
|
|
397
399
|
});
|
|
398
400
|
},
|
|
399
401
|
annotateRpcs(service, value) {
|
|
400
|
-
return this.annotateRpcsMerge(
|
|
402
|
+
return this.annotateRpcsMerge(make10(service, value));
|
|
401
403
|
},
|
|
402
404
|
annotateMerge(context) {
|
|
403
405
|
return makeProto2({
|
|
@@ -506,7 +508,7 @@ class Annotations extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
506
508
|
}))) {
|
|
507
509
|
}
|
|
508
510
|
|
|
509
|
-
class Icon extends (/* @__PURE__ */
|
|
511
|
+
class Icon extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/Icon")({
|
|
510
512
|
src: String3,
|
|
511
513
|
mimeType: /* @__PURE__ */ optional2(String3),
|
|
512
514
|
sizes: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(String3)),
|
|
@@ -524,7 +526,7 @@ class Implementation extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
524
526
|
}))) {
|
|
525
527
|
}
|
|
526
528
|
|
|
527
|
-
class ClientCapabilities extends (/* @__PURE__ */
|
|
529
|
+
class ClientCapabilities extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ClientCapabilities")({
|
|
528
530
|
experimental: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(String3, /* @__PURE__ */ Struct({}))),
|
|
529
531
|
extensions: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(/* @__PURE__ */ TemplateLiteral([String3, "/", String3]), Json)),
|
|
530
532
|
roots: /* @__PURE__ */ optional2(/* @__PURE__ */ Struct({
|
|
@@ -559,7 +561,7 @@ class ServerCapabilities extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struc
|
|
|
559
561
|
}))) {
|
|
560
562
|
}
|
|
561
563
|
|
|
562
|
-
class McpErrorBase extends (/* @__PURE__ */
|
|
564
|
+
class McpErrorBase extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/McpErrorBase")({
|
|
563
565
|
code: Int2,
|
|
564
566
|
message: String3,
|
|
565
567
|
data: /* @__PURE__ */ optional2(Any)
|
|
@@ -658,7 +660,7 @@ class ProgressNotification extends (/* @__PURE__ */ make("notifications/progress
|
|
|
658
660
|
})) {
|
|
659
661
|
}
|
|
660
662
|
|
|
661
|
-
class Resource extends (/* @__PURE__ */
|
|
663
|
+
class Resource extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/Resource")({
|
|
662
664
|
uri: String3,
|
|
663
665
|
name: String3,
|
|
664
666
|
title: /* @__PURE__ */ optional2(String3),
|
|
@@ -671,7 +673,7 @@ class Resource extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/Resource")(
|
|
|
671
673
|
})) {
|
|
672
674
|
}
|
|
673
675
|
|
|
674
|
-
class ResourceTemplate extends (/* @__PURE__ */
|
|
676
|
+
class ResourceTemplate extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ResourceTemplate")({
|
|
675
677
|
uriTemplate: String3,
|
|
676
678
|
name: String3,
|
|
677
679
|
title: /* @__PURE__ */ optional2(String3),
|
|
@@ -702,12 +704,12 @@ class BlobResourceContents extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Str
|
|
|
702
704
|
}))) {
|
|
703
705
|
}
|
|
704
706
|
|
|
705
|
-
class ListResourcesResult extends (/* @__PURE__ */
|
|
707
|
+
class ListResourcesResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ListResourcesResult")({
|
|
706
708
|
...PaginatedResultMeta.fields,
|
|
707
709
|
resources: /* @__PURE__ */ ArraySchema(Resource)
|
|
708
710
|
})) {
|
|
709
711
|
}
|
|
710
|
-
class ListResourceTemplatesResult extends (/* @__PURE__ */
|
|
712
|
+
class ListResourceTemplatesResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ListResourceTemplatesResult")({
|
|
711
713
|
...PaginatedResultMeta.fields,
|
|
712
714
|
resourceTemplates: /* @__PURE__ */ ArraySchema(ResourceTemplate)
|
|
713
715
|
})) {
|
|
@@ -769,7 +771,7 @@ class PromptArgument extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
769
771
|
}))) {
|
|
770
772
|
}
|
|
771
773
|
|
|
772
|
-
class Prompt extends (/* @__PURE__ */
|
|
774
|
+
class Prompt extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/Prompt")({
|
|
773
775
|
name: String3,
|
|
774
776
|
title: /* @__PURE__ */ optional2(String3),
|
|
775
777
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -826,12 +828,12 @@ class PromptMessage extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
826
828
|
}))) {
|
|
827
829
|
}
|
|
828
830
|
|
|
829
|
-
class ListPromptsResult extends (/* @__PURE__ */
|
|
831
|
+
class ListPromptsResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ListPromptsResult")({
|
|
830
832
|
...PaginatedResultMeta.fields,
|
|
831
833
|
prompts: /* @__PURE__ */ ArraySchema(Prompt)
|
|
832
834
|
})) {
|
|
833
835
|
}
|
|
834
|
-
class GetPromptResult extends (/* @__PURE__ */
|
|
836
|
+
class GetPromptResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/GetPromptResult")({
|
|
835
837
|
...ResultMeta.fields,
|
|
836
838
|
messages: /* @__PURE__ */ ArraySchema(PromptMessage),
|
|
837
839
|
description: /* @__PURE__ */ optional2(String3)
|
|
@@ -870,7 +872,7 @@ var ToolJson = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
|
|
|
870
872
|
}), [JsonObject]);
|
|
871
873
|
var ToolOutputJson = JsonObject;
|
|
872
874
|
|
|
873
|
-
class Tool extends (/* @__PURE__ */
|
|
875
|
+
class Tool extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/Tool")({
|
|
874
876
|
name: String3,
|
|
875
877
|
title: /* @__PURE__ */ optional2(String3),
|
|
876
878
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -882,12 +884,12 @@ class Tool extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/Tool")({
|
|
|
882
884
|
})) {
|
|
883
885
|
}
|
|
884
886
|
|
|
885
|
-
class ListToolsResult extends (/* @__PURE__ */
|
|
887
|
+
class ListToolsResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ListToolsResult")({
|
|
886
888
|
...PaginatedResultMeta.fields,
|
|
887
889
|
tools: /* @__PURE__ */ ArraySchema(Tool)
|
|
888
890
|
})) {
|
|
889
891
|
}
|
|
890
|
-
class CallToolResult extends (/* @__PURE__ */
|
|
892
|
+
class CallToolResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/CallToolResult")({
|
|
891
893
|
...ResultMeta.fields,
|
|
892
894
|
content: /* @__PURE__ */ ArraySchema(ContentBlock),
|
|
893
895
|
structuredContent: /* @__PURE__ */ optional2(Json),
|
|
@@ -932,7 +934,7 @@ class LoggingMessageNotification extends (/* @__PURE__ */ make("notifications/me
|
|
|
932
934
|
})) {
|
|
933
935
|
}
|
|
934
936
|
|
|
935
|
-
class ToolUseContent extends (/* @__PURE__ */
|
|
937
|
+
class ToolUseContent extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ToolUseContent")({
|
|
936
938
|
type: /* @__PURE__ */ tag2("tool_use"),
|
|
937
939
|
id: String3,
|
|
938
940
|
name: String3,
|
|
@@ -941,7 +943,7 @@ class ToolUseContent extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/ToolU
|
|
|
941
943
|
})) {
|
|
942
944
|
}
|
|
943
945
|
|
|
944
|
-
class ToolResultContent extends (/* @__PURE__ */
|
|
946
|
+
class ToolResultContent extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ToolResultContent")({
|
|
945
947
|
type: /* @__PURE__ */ tag2("tool_result"),
|
|
946
948
|
toolUseId: String3,
|
|
947
949
|
content: /* @__PURE__ */ ArraySchema(ContentBlock),
|
|
@@ -959,7 +961,7 @@ class SamplingMessage extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
959
961
|
}))) {
|
|
960
962
|
}
|
|
961
963
|
|
|
962
|
-
class ToolChoice extends (/* @__PURE__ */
|
|
964
|
+
class ToolChoice extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ToolChoice")({
|
|
963
965
|
mode: /* @__PURE__ */ optional2(/* @__PURE__ */ Literals(["auto", "required", "none"]))
|
|
964
966
|
})) {
|
|
965
967
|
}
|
|
@@ -969,7 +971,7 @@ class ModelHint extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
969
971
|
}))) {
|
|
970
972
|
}
|
|
971
973
|
|
|
972
|
-
class ModelPreferences extends (/* @__PURE__ */
|
|
974
|
+
class ModelPreferences extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ModelPreferences")({
|
|
973
975
|
hints: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(ModelHint)),
|
|
974
976
|
costPriority: /* @__PURE__ */ optional2(/* @__PURE__ */ Finite.check(/* @__PURE__ */ isBetween({
|
|
975
977
|
minimum: 0,
|
|
@@ -986,7 +988,7 @@ class ModelPreferences extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/Mod
|
|
|
986
988
|
})) {
|
|
987
989
|
}
|
|
988
990
|
|
|
989
|
-
class CreateMessageResult extends (/* @__PURE__ */
|
|
991
|
+
class CreateMessageResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/CreateMessageResult")({
|
|
990
992
|
role: Role,
|
|
991
993
|
content: /* @__PURE__ */ Union([SamplingMessageContentBlock, /* @__PURE__ */ ArraySchema(SamplingMessageContentBlock)]),
|
|
992
994
|
_meta: /* @__PURE__ */ optional2(JsonObject),
|
|
@@ -1028,14 +1030,14 @@ class CompleteResult extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
|
|
|
1028
1030
|
}
|
|
1029
1031
|
});
|
|
1030
1032
|
}
|
|
1031
|
-
class Root extends (/* @__PURE__ */
|
|
1033
|
+
class Root extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/Root")({
|
|
1032
1034
|
uri: String3,
|
|
1033
1035
|
name: /* @__PURE__ */ optional2(String3),
|
|
1034
1036
|
_meta: /* @__PURE__ */ optional2(JsonObject)
|
|
1035
1037
|
})) {
|
|
1036
1038
|
}
|
|
1037
1039
|
|
|
1038
|
-
class ListRootsResult extends (/* @__PURE__ */
|
|
1040
|
+
class ListRootsResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ListRootsResult")({
|
|
1039
1041
|
roots: /* @__PURE__ */ ArraySchema(Root)
|
|
1040
1042
|
})) {
|
|
1041
1043
|
}
|
|
@@ -1046,7 +1048,7 @@ class ListRoots extends (/* @__PURE__ */ make("roots/list", {
|
|
|
1046
1048
|
payload: /* @__PURE__ */ UndefinedOr(RequestMeta)
|
|
1047
1049
|
})) {
|
|
1048
1050
|
}
|
|
1049
|
-
class ElicitationString extends (/* @__PURE__ */
|
|
1051
|
+
class ElicitationString extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitationString")({
|
|
1050
1052
|
type: /* @__PURE__ */ tag2("string"),
|
|
1051
1053
|
title: /* @__PURE__ */ optional2(String3),
|
|
1052
1054
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1057,7 +1059,7 @@ class ElicitationString extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/El
|
|
|
1057
1059
|
})) {
|
|
1058
1060
|
}
|
|
1059
1061
|
|
|
1060
|
-
class ElicitationNumber extends (/* @__PURE__ */
|
|
1062
|
+
class ElicitationNumber extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitationNumber")({
|
|
1061
1063
|
type: /* @__PURE__ */ Literals(["number", "integer"]),
|
|
1062
1064
|
title: /* @__PURE__ */ optional2(String3),
|
|
1063
1065
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1067,7 +1069,7 @@ class ElicitationNumber extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/El
|
|
|
1067
1069
|
})) {
|
|
1068
1070
|
}
|
|
1069
1071
|
|
|
1070
|
-
class ElicitationBoolean extends (/* @__PURE__ */
|
|
1072
|
+
class ElicitationBoolean extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitationBoolean")({
|
|
1071
1073
|
type: /* @__PURE__ */ tag2("boolean"),
|
|
1072
1074
|
title: /* @__PURE__ */ optional2(String3),
|
|
1073
1075
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1075,7 +1077,7 @@ class ElicitationBoolean extends (/* @__PURE__ */ Class3("@effect/ai/McpSchema/E
|
|
|
1075
1077
|
})) {
|
|
1076
1078
|
}
|
|
1077
1079
|
|
|
1078
|
-
class UntitledSingleSelectEnum extends (/* @__PURE__ */
|
|
1080
|
+
class UntitledSingleSelectEnum extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/UntitledSingleSelectEnum")({
|
|
1079
1081
|
type: /* @__PURE__ */ tag2("string"),
|
|
1080
1082
|
title: /* @__PURE__ */ optional2(String3),
|
|
1081
1083
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1084,7 +1086,7 @@ class UntitledSingleSelectEnum extends (/* @__PURE__ */ Class3("@effect/ai/McpSc
|
|
|
1084
1086
|
})) {
|
|
1085
1087
|
}
|
|
1086
1088
|
|
|
1087
|
-
class TitledSingleSelectEnum extends (/* @__PURE__ */
|
|
1089
|
+
class TitledSingleSelectEnum extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/TitledSingleSelectEnum")({
|
|
1088
1090
|
type: /* @__PURE__ */ tag2("string"),
|
|
1089
1091
|
title: /* @__PURE__ */ optional2(String3),
|
|
1090
1092
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1097,7 +1099,7 @@ class TitledSingleSelectEnum extends (/* @__PURE__ */ Class3("@effect/ai/McpSche
|
|
|
1097
1099
|
}
|
|
1098
1100
|
var SingleSelectEnum = /* @__PURE__ */ Union([UntitledSingleSelectEnum, TitledSingleSelectEnum]);
|
|
1099
1101
|
|
|
1100
|
-
class UntitledMultiSelectEnum extends (/* @__PURE__ */
|
|
1102
|
+
class UntitledMultiSelectEnum extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/UntitledMultiSelectEnum")({
|
|
1101
1103
|
type: /* @__PURE__ */ tag2("array"),
|
|
1102
1104
|
title: /* @__PURE__ */ optional2(String3),
|
|
1103
1105
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1111,7 +1113,7 @@ class UntitledMultiSelectEnum extends (/* @__PURE__ */ Class3("@effect/ai/McpSch
|
|
|
1111
1113
|
})) {
|
|
1112
1114
|
}
|
|
1113
1115
|
|
|
1114
|
-
class TitledMultiSelectEnum extends (/* @__PURE__ */
|
|
1116
|
+
class TitledMultiSelectEnum extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/TitledMultiSelectEnum")({
|
|
1115
1117
|
type: /* @__PURE__ */ tag2("array"),
|
|
1116
1118
|
title: /* @__PURE__ */ optional2(String3),
|
|
1117
1119
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1128,7 +1130,7 @@ class TitledMultiSelectEnum extends (/* @__PURE__ */ Class3("@effect/ai/McpSchem
|
|
|
1128
1130
|
}
|
|
1129
1131
|
var MultiSelectEnum = /* @__PURE__ */ Union([UntitledMultiSelectEnum, TitledMultiSelectEnum]);
|
|
1130
1132
|
|
|
1131
|
-
class LegacyTitledEnum extends (/* @__PURE__ */
|
|
1133
|
+
class LegacyTitledEnum extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/LegacyTitledEnum")({
|
|
1132
1134
|
type: /* @__PURE__ */ tag2("string"),
|
|
1133
1135
|
title: /* @__PURE__ */ optional2(String3),
|
|
1134
1136
|
description: /* @__PURE__ */ optional2(String3),
|
|
@@ -1146,7 +1148,7 @@ var ElicitationForm = /* @__PURE__ */ Struct({
|
|
|
1146
1148
|
required: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(String3))
|
|
1147
1149
|
});
|
|
1148
1150
|
|
|
1149
|
-
class ElicitRequestFormParams extends (/* @__PURE__ */
|
|
1151
|
+
class ElicitRequestFormParams extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitRequestFormParams")({
|
|
1150
1152
|
...RequestMeta.fields,
|
|
1151
1153
|
mode: /* @__PURE__ */ optional2(/* @__PURE__ */ Literal("form")),
|
|
1152
1154
|
message: String3,
|
|
@@ -1154,7 +1156,7 @@ class ElicitRequestFormParams extends (/* @__PURE__ */ Class3("@effect/ai/McpSch
|
|
|
1154
1156
|
})) {
|
|
1155
1157
|
}
|
|
1156
1158
|
|
|
1157
|
-
class ElicitRequestURLParams extends (/* @__PURE__ */
|
|
1159
|
+
class ElicitRequestURLParams extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitRequestURLParams")({
|
|
1158
1160
|
...RequestMeta.fields,
|
|
1159
1161
|
mode: /* @__PURE__ */ Literal("url"),
|
|
1160
1162
|
message: String3,
|
|
@@ -1164,14 +1166,14 @@ class ElicitRequestURLParams extends (/* @__PURE__ */ Class3("@effect/ai/McpSche
|
|
|
1164
1166
|
}
|
|
1165
1167
|
var ElicitRequestParams = /* @__PURE__ */ Union([ElicitRequestFormParams, ElicitRequestURLParams]);
|
|
1166
1168
|
|
|
1167
|
-
class ElicitAcceptResult extends (/* @__PURE__ */
|
|
1169
|
+
class ElicitAcceptResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitAcceptResult")({
|
|
1168
1170
|
...ResultMeta.fields,
|
|
1169
1171
|
action: /* @__PURE__ */ Literal("accept"),
|
|
1170
1172
|
content: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(String3, /* @__PURE__ */ Union([String3, Finite, Boolean3, /* @__PURE__ */ ArraySchema(String3)])))
|
|
1171
1173
|
})) {
|
|
1172
1174
|
}
|
|
1173
1175
|
|
|
1174
|
-
class ElicitDeclineResult extends (/* @__PURE__ */
|
|
1176
|
+
class ElicitDeclineResult extends (/* @__PURE__ */ Class2("@effect/ai/McpSchema/ElicitDeclineResult")({
|
|
1175
1177
|
...ResultMeta.fields,
|
|
1176
1178
|
action: /* @__PURE__ */ Literals(["cancel", "decline"])
|
|
1177
1179
|
})) {
|