@executor-js/plugin-mcp 0.0.1-beta.6 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/group.d.ts +25 -27
- package/dist/api/handlers.test.d.ts +1 -0
- package/dist/{chunk-NJ4CITCV.js → chunk-X3JTTDWJ.js} +270 -218
- package/dist/chunk-X3JTTDWJ.js.map +1 -0
- package/dist/core.js +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk/binding-store.d.ts +9 -7
- package/dist/sdk/oauth.d.ts +21 -17
- package/dist/sdk/plugin.d.ts +1 -0
- package/package.json +7 -7
- package/dist/chunk-NJ4CITCV.js.map +0 -1
package/dist/api/group.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "@effect/platform";
|
|
2
|
+
import { Schema } from "effect";
|
|
2
3
|
import { McpStoredSourceSchema } from "../sdk/stored-source";
|
|
3
4
|
export { HttpApiSchema };
|
|
5
|
+
declare const McpApiError_base: Schema.TaggedErrorClass<McpApiError, "McpApiError", {
|
|
6
|
+
readonly _tag: Schema.tag<"McpApiError">;
|
|
7
|
+
} & {
|
|
8
|
+
message: typeof Schema.String;
|
|
9
|
+
}>;
|
|
10
|
+
export declare class McpApiError extends McpApiError_base {
|
|
11
|
+
}
|
|
12
|
+
declare const McpInternalError_base: Schema.TaggedErrorClass<McpInternalError, "McpInternalError", {
|
|
13
|
+
readonly _tag: Schema.tag<"McpInternalError">;
|
|
14
|
+
} & {
|
|
15
|
+
message: typeof Schema.String;
|
|
16
|
+
}>;
|
|
17
|
+
export declare class McpInternalError extends McpInternalError_base {
|
|
18
|
+
}
|
|
4
19
|
declare const McpGroup_base: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.HttpApiEndpoint<"probeEndpoint", "POST", {
|
|
5
20
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
6
21
|
}, never, {
|
|
@@ -12,9 +27,7 @@ declare const McpGroup_base: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.Ht
|
|
|
12
27
|
readonly requiresOAuth: boolean;
|
|
13
28
|
readonly toolCount: number | null;
|
|
14
29
|
readonly serverName: string | null;
|
|
15
|
-
}, {
|
|
16
|
-
readonly message: string;
|
|
17
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"addSource", "POST", {
|
|
30
|
+
}, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"addSource", "POST", {
|
|
18
31
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
19
32
|
}, never, {
|
|
20
33
|
readonly name: string;
|
|
@@ -56,25 +69,19 @@ declare const McpGroup_base: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.Ht
|
|
|
56
69
|
}, never, {
|
|
57
70
|
readonly namespace: string;
|
|
58
71
|
readonly toolCount: number;
|
|
59
|
-
}, {
|
|
60
|
-
readonly message: string;
|
|
61
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"removeSource", "POST", {
|
|
72
|
+
}, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"removeSource", "POST", {
|
|
62
73
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
63
74
|
}, never, {
|
|
64
75
|
readonly namespace: string;
|
|
65
76
|
}, never, {
|
|
66
77
|
readonly removed: boolean;
|
|
67
|
-
}, {
|
|
68
|
-
readonly message: string;
|
|
69
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSource", "POST", {
|
|
78
|
+
}, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSource", "POST", {
|
|
70
79
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
71
80
|
}, never, {
|
|
72
81
|
readonly namespace: string;
|
|
73
82
|
}, never, {
|
|
74
83
|
readonly toolCount: number;
|
|
75
|
-
}, {
|
|
76
|
-
readonly message: string;
|
|
77
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"startOAuth", "POST", {
|
|
84
|
+
}, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"startOAuth", "POST", {
|
|
78
85
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
79
86
|
}, never, {
|
|
80
87
|
readonly endpoint: string;
|
|
@@ -85,9 +92,7 @@ declare const McpGroup_base: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.Ht
|
|
|
85
92
|
}, never, {
|
|
86
93
|
readonly sessionId: string;
|
|
87
94
|
readonly authorizationUrl: string;
|
|
88
|
-
}, {
|
|
89
|
-
readonly message: string;
|
|
90
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"completeOAuth", "POST", {
|
|
95
|
+
}, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"completeOAuth", "POST", {
|
|
91
96
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
92
97
|
}, never, {
|
|
93
98
|
readonly error?: string | undefined;
|
|
@@ -99,24 +104,19 @@ declare const McpGroup_base: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.Ht
|
|
|
99
104
|
readonly refreshTokenSecretId: string | null;
|
|
100
105
|
readonly tokenType: string;
|
|
101
106
|
readonly expiresAt: number | null;
|
|
102
|
-
}, {
|
|
103
|
-
readonly message: string;
|
|
104
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthCallback", "GET", never, {
|
|
107
|
+
}, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthCallback", "GET", never, {
|
|
105
108
|
readonly error?: string | undefined;
|
|
106
109
|
readonly code?: string | undefined;
|
|
107
110
|
readonly state: string;
|
|
108
111
|
readonly error_description?: string | undefined;
|
|
109
|
-
}, never, never, string, {
|
|
110
|
-
readonly message: string;
|
|
111
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSource", "GET", {
|
|
112
|
+
}, never, never, string, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSource", "GET", {
|
|
112
113
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
113
114
|
readonly namespace: string;
|
|
114
|
-
}, never, never, never, McpStoredSourceSchema | null, {
|
|
115
|
-
readonly message: string;
|
|
116
|
-
}, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateSource", "PATCH", {
|
|
115
|
+
}, never, never, never, McpStoredSourceSchema | null, McpApiError | McpInternalError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateSource", "PATCH", {
|
|
117
116
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
118
117
|
readonly namespace: string;
|
|
119
118
|
}, never, {
|
|
119
|
+
readonly name?: string | undefined;
|
|
120
120
|
readonly endpoint?: string | undefined;
|
|
121
121
|
readonly queryParams?: {
|
|
122
122
|
readonly [x: string]: string;
|
|
@@ -141,8 +141,6 @@ declare const McpGroup_base: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.Ht
|
|
|
141
141
|
} | undefined;
|
|
142
142
|
}, never, {
|
|
143
143
|
readonly updated: boolean;
|
|
144
|
-
},
|
|
145
|
-
readonly message: string;
|
|
146
|
-
}, never, never>, never, never, false>;
|
|
144
|
+
}, McpApiError | McpInternalError, never, never>, never, never, false>;
|
|
147
145
|
export declare class McpGroup extends McpGroup_base {
|
|
148
146
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|