@executor-js/plugin-mcp 1.5.3 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/api/group.d.ts +127 -0
  2. package/dist/api/handlers.d.ts +7 -0
  3. package/dist/api/handlers.test.d.ts +1 -0
  4. package/dist/api/index.d.ts +162 -0
  5. package/dist/{chunk-2TXHTMKM.js → chunk-HSJWIVME.js} +3 -3
  6. package/dist/chunk-HSJWIVME.js.map +1 -0
  7. package/dist/core.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/promise.d.ts +2 -0
  10. package/dist/react/AddMcpSource.d.ts +8 -0
  11. package/dist/react/EditMcpSource.d.ts +4 -0
  12. package/dist/react/McpAccountsPanel.d.ts +6 -0
  13. package/dist/react/McpRemoteSourceFields.d.ts +20 -0
  14. package/dist/react/McpSignInButton.d.ts +5 -0
  15. package/dist/react/atoms.d.ts +175 -0
  16. package/dist/react/auth-method-config.d.ts +8 -0
  17. package/dist/react/auth-method-config.test.d.ts +1 -0
  18. package/dist/react/client.d.ts +123 -0
  19. package/dist/react/index.d.ts +4 -0
  20. package/dist/react/plugin-client.d.ts +9 -0
  21. package/dist/react/source-plugin.d.ts +14 -0
  22. package/dist/sdk/connection.d.ts +19 -0
  23. package/dist/sdk/describe-auth-methods.test.d.ts +1 -0
  24. package/dist/sdk/discover.d.ts +9 -0
  25. package/dist/sdk/elicitation.test.d.ts +1 -0
  26. package/dist/sdk/errors.d.ts +25 -0
  27. package/dist/sdk/index.d.ts +4 -0
  28. package/dist/sdk/invoke.d.ts +15 -0
  29. package/dist/sdk/manifest.d.ts +27 -0
  30. package/dist/sdk/owner-isolation.test.d.ts +1 -0
  31. package/dist/sdk/plugin.d.ts +151 -0
  32. package/dist/sdk/plugin.test.d.ts +1 -0
  33. package/dist/sdk/presets.d.ts +23 -0
  34. package/dist/sdk/probe-shape-real-servers.live.test.d.ts +1 -0
  35. package/dist/sdk/probe-shape.d.ts +53 -0
  36. package/dist/sdk/probe-shape.test.d.ts +1 -0
  37. package/dist/sdk/stdio-connector.d.ts +8 -0
  38. package/dist/sdk/testing-fixtures.test.d.ts +1 -0
  39. package/dist/sdk/types.d.ts +110 -0
  40. package/dist/testing/index.d.ts +1 -0
  41. package/dist/testing/server.d.ts +76 -0
  42. package/package.json +3 -3
  43. package/dist/chunk-2TXHTMKM.js.map +0 -1
@@ -0,0 +1,127 @@
1
+ import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
2
+ import { Schema } from "effect";
3
+ import { InternalError, IntegrationAlreadyExistsError } from "@executor-js/sdk/shared";
4
+ import { McpConnectionError, McpToolDiscoveryError } from "../sdk/errors";
5
+ export declare const McpGroup: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.HttpApiEndpoint<"probeEndpoint", "POST", "/mcp/probe", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
6
+ readonly endpoint: Schema.String;
7
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
8
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
9
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
10
+ readonly connected: Schema.Boolean;
11
+ readonly requiresAuthentication: Schema.Boolean;
12
+ readonly requiresOAuth: Schema.Boolean;
13
+ readonly supportsDynamicRegistration: Schema.Boolean;
14
+ readonly name: Schema.String;
15
+ readonly slug: Schema.String;
16
+ readonly toolCount: Schema.NullOr<Schema.Number>;
17
+ readonly serverName: Schema.NullOr<Schema.String>;
18
+ }>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"addServer", "POST", "/mcp/servers", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Union<readonly [Schema.Struct<{
19
+ readonly transport: Schema.optional<Schema.Literal<"remote">>;
20
+ readonly name: Schema.String;
21
+ readonly endpoint: Schema.String;
22
+ readonly remoteTransport: Schema.optional<Schema.Literals<readonly ["streamable-http", "sse", "auto"]>>;
23
+ readonly slug: Schema.optional<Schema.String>;
24
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
25
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
26
+ readonly auth: Schema.optional<Schema.Union<readonly [Schema.Struct<{
27
+ readonly kind: Schema.Literal<"none">;
28
+ }>, Schema.Struct<{
29
+ readonly kind: Schema.Literal<"header">;
30
+ readonly headerName: Schema.String;
31
+ readonly prefix: Schema.optional<Schema.String>;
32
+ }>, Schema.Struct<{
33
+ readonly kind: Schema.Literal<"oauth2">;
34
+ }>]>>;
35
+ }>, Schema.Struct<{
36
+ readonly transport: Schema.Literal<"stdio">;
37
+ readonly name: Schema.String;
38
+ readonly command: Schema.String;
39
+ readonly args: Schema.optional<Schema.$Array<Schema.String>>;
40
+ readonly env: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
41
+ readonly cwd: Schema.optional<Schema.String>;
42
+ readonly slug: Schema.optional<Schema.String>;
43
+ }>]>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
44
+ readonly slug: Schema.String;
45
+ }>>, HttpApiEndpoint.Json<typeof IntegrationAlreadyExistsError | typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"removeServer", "DELETE", "/mcp/servers/:slug", HttpApiEndpoint.StringTree<Schema.Struct<{
46
+ slug: Schema.brand<Schema.String, "IntegrationSlug">;
47
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
48
+ readonly removed: Schema.Boolean;
49
+ }>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getServer", "GET", "/mcp/servers/:slug", HttpApiEndpoint.StringTree<Schema.Struct<{
50
+ slug: Schema.brand<Schema.String, "IntegrationSlug">;
51
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.NullOr<Schema.Struct<{
52
+ readonly slug: Schema.brand<Schema.String, "IntegrationSlug">;
53
+ readonly description: Schema.String;
54
+ readonly kind: Schema.String;
55
+ readonly canRemove: Schema.Boolean;
56
+ readonly canRefresh: Schema.Boolean;
57
+ readonly config: Schema.Union<readonly [Schema.Struct<{
58
+ readonly transport: Schema.Literal<"remote">;
59
+ readonly endpoint: Schema.String;
60
+ readonly remoteTransport: Schema.withConstructorDefault<Schema.optionalKey<Schema.Literals<readonly ["streamable-http", "sse", "auto"]>>>;
61
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
62
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
63
+ readonly auth: Schema.Union<readonly [Schema.Struct<{
64
+ readonly kind: Schema.Literal<"none">;
65
+ }>, Schema.Struct<{
66
+ readonly kind: Schema.Literal<"header">;
67
+ readonly headerName: Schema.String;
68
+ readonly prefix: Schema.optional<Schema.String>;
69
+ }>, Schema.Struct<{
70
+ readonly kind: Schema.Literal<"oauth2">;
71
+ }>]>;
72
+ }>, Schema.Struct<{
73
+ readonly transport: Schema.Literal<"stdio">;
74
+ readonly command: Schema.String;
75
+ readonly args: Schema.optional<Schema.$Array<Schema.String>>;
76
+ readonly env: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
77
+ readonly cwd: Schema.optional<Schema.String>;
78
+ }>]>;
79
+ }>>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"configureServer", "POST", "/mcp/servers/:slug/config", HttpApiEndpoint.StringTree<Schema.Struct<{
80
+ slug: Schema.brand<Schema.String, "IntegrationSlug">;
81
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
82
+ readonly config: Schema.Union<readonly [Schema.Struct<{
83
+ readonly transport: Schema.Literal<"remote">;
84
+ readonly endpoint: Schema.String;
85
+ readonly remoteTransport: Schema.withConstructorDefault<Schema.optionalKey<Schema.Literals<readonly ["streamable-http", "sse", "auto"]>>>;
86
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
87
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
88
+ readonly auth: Schema.Union<readonly [Schema.Struct<{
89
+ readonly kind: Schema.Literal<"none">;
90
+ }>, Schema.Struct<{
91
+ readonly kind: Schema.Literal<"header">;
92
+ readonly headerName: Schema.String;
93
+ readonly prefix: Schema.optional<Schema.String>;
94
+ }>, Schema.Struct<{
95
+ readonly kind: Schema.Literal<"oauth2">;
96
+ }>]>;
97
+ }>, Schema.Struct<{
98
+ readonly transport: Schema.Literal<"stdio">;
99
+ readonly command: Schema.String;
100
+ readonly args: Schema.optional<Schema.$Array<Schema.String>>;
101
+ readonly env: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
102
+ readonly cwd: Schema.optional<Schema.String>;
103
+ }>]>;
104
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
105
+ readonly config: Schema.Union<readonly [Schema.Struct<{
106
+ readonly transport: Schema.Literal<"remote">;
107
+ readonly endpoint: Schema.String;
108
+ readonly remoteTransport: Schema.withConstructorDefault<Schema.optionalKey<Schema.Literals<readonly ["streamable-http", "sse", "auto"]>>>;
109
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
110
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
111
+ readonly auth: Schema.Union<readonly [Schema.Struct<{
112
+ readonly kind: Schema.Literal<"none">;
113
+ }>, Schema.Struct<{
114
+ readonly kind: Schema.Literal<"header">;
115
+ readonly headerName: Schema.String;
116
+ readonly prefix: Schema.optional<Schema.String>;
117
+ }>, Schema.Struct<{
118
+ readonly kind: Schema.Literal<"oauth2">;
119
+ }>]>;
120
+ }>, Schema.Struct<{
121
+ readonly transport: Schema.Literal<"stdio">;
122
+ readonly command: Schema.String;
123
+ readonly args: Schema.optional<Schema.$Array<Schema.String>>;
124
+ readonly env: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
125
+ readonly cwd: Schema.optional<Schema.String>;
126
+ }>]>;
127
+ }>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never>, false>;
@@ -0,0 +1,7 @@
1
+ import { Context } from "effect";
2
+ import type { McpPluginExtension } from "../sdk/plugin";
3
+ declare const McpExtensionService_base: Context.ServiceClass<McpExtensionService, "McpExtensionService", McpPluginExtension>;
4
+ export declare class McpExtensionService extends McpExtensionService_base {
5
+ }
6
+ export declare const McpHandlers: import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "mcp">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", McpExtensionService>>;
7
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,162 @@
1
+ import { type McpPluginOptions } from "../sdk/plugin";
2
+ import { McpExtensionService } from "./handlers";
3
+ export { McpGroup } from "./group";
4
+ export { McpHandlers, McpExtensionService } from "./handlers";
5
+ export declare const mcpHttpPlugin: import("@executor-js/sdk/core").ConfiguredPlugin<"mcp", {
6
+ probeEndpoint: (input: string | import("../promise").McpProbeEndpointInput) => import("effect/Effect").Effect<{
7
+ connected: true;
8
+ requiresAuthentication: false;
9
+ requiresOAuth: false;
10
+ supportsDynamicRegistration: false;
11
+ name: string;
12
+ slug: string;
13
+ toolCount: number;
14
+ serverName: string | null;
15
+ } | {
16
+ connected: false;
17
+ requiresAuthentication: true;
18
+ requiresOAuth: true;
19
+ supportsDynamicRegistration: boolean;
20
+ name: string;
21
+ slug: string;
22
+ toolCount: null;
23
+ serverName: null;
24
+ } | {
25
+ connected: false;
26
+ requiresAuthentication: true;
27
+ requiresOAuth: false;
28
+ supportsDynamicRegistration: false;
29
+ name: string;
30
+ slug: string;
31
+ toolCount: null;
32
+ serverName: null;
33
+ }, import("../sdk").McpConnectionError, never>;
34
+ addServer: (input: import("../promise").McpServerInput) => import("effect/Effect").Effect<{
35
+ slug: string;
36
+ }, import("@executor-js/sdk/core").StorageFailure | import("@executor-js/sdk/core").IntegrationAlreadyExistsError, never>;
37
+ removeServer: (slug: string) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
38
+ getServer: (slug: string) => import("effect/Effect").Effect<import("@executor-js/sdk/core").IntegrationRecord | null, import("@executor-js/sdk/core").StorageFailure, never>;
39
+ configureServer: (slug: string, config: import("../sdk").McpIntegrationConfig) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
40
+ }, {}, McpPluginOptions, typeof McpExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "mcp">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", McpExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"mcp", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"probeEndpoint", "POST", "/mcp/probe", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
41
+ readonly endpoint: import("effect/Schema").String;
42
+ readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
43
+ readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
44
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
45
+ readonly connected: import("effect/Schema").Boolean;
46
+ readonly requiresAuthentication: import("effect/Schema").Boolean;
47
+ readonly requiresOAuth: import("effect/Schema").Boolean;
48
+ readonly supportsDynamicRegistration: import("effect/Schema").Boolean;
49
+ readonly name: import("effect/Schema").String;
50
+ readonly slug: import("effect/Schema").String;
51
+ readonly toolCount: import("effect/Schema").NullOr<import("effect/Schema").Number>;
52
+ readonly serverName: import("effect/Schema").NullOr<import("effect/Schema").String>;
53
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"addServer", "POST", "/mcp/servers", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
54
+ readonly transport: import("effect/Schema").optional<import("effect/Schema").Literal<"remote">>;
55
+ readonly name: import("effect/Schema").String;
56
+ readonly endpoint: import("effect/Schema").String;
57
+ readonly remoteTransport: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>;
58
+ readonly slug: import("effect/Schema").optional<import("effect/Schema").String>;
59
+ readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
60
+ readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
61
+ readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
62
+ readonly kind: import("effect/Schema").Literal<"none">;
63
+ }>, import("effect/Schema").Struct<{
64
+ readonly kind: import("effect/Schema").Literal<"header">;
65
+ readonly headerName: import("effect/Schema").String;
66
+ readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
67
+ }>, import("effect/Schema").Struct<{
68
+ readonly kind: import("effect/Schema").Literal<"oauth2">;
69
+ }>]>>;
70
+ }>, import("effect/Schema").Struct<{
71
+ readonly transport: import("effect/Schema").Literal<"stdio">;
72
+ readonly name: import("effect/Schema").String;
73
+ readonly command: import("effect/Schema").String;
74
+ readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
75
+ readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
76
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
77
+ readonly slug: import("effect/Schema").optional<import("effect/Schema").String>;
78
+ }>]>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
79
+ readonly slug: import("effect/Schema").String;
80
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk/core").IntegrationAlreadyExistsError | typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"removeServer", "DELETE", "/mcp/servers/:slug", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
81
+ slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
82
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
83
+ readonly removed: import("effect/Schema").Boolean;
84
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getServer", "GET", "/mcp/servers/:slug", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
85
+ slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
86
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
87
+ readonly slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
88
+ readonly description: import("effect/Schema").String;
89
+ readonly kind: import("effect/Schema").String;
90
+ readonly canRemove: import("effect/Schema").Boolean;
91
+ readonly canRefresh: import("effect/Schema").Boolean;
92
+ readonly config: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
93
+ readonly transport: import("effect/Schema").Literal<"remote">;
94
+ readonly endpoint: import("effect/Schema").String;
95
+ readonly remoteTransport: import("effect/Schema").withConstructorDefault<import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>>;
96
+ readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
97
+ readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
98
+ readonly auth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
99
+ readonly kind: import("effect/Schema").Literal<"none">;
100
+ }>, import("effect/Schema").Struct<{
101
+ readonly kind: import("effect/Schema").Literal<"header">;
102
+ readonly headerName: import("effect/Schema").String;
103
+ readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
104
+ }>, import("effect/Schema").Struct<{
105
+ readonly kind: import("effect/Schema").Literal<"oauth2">;
106
+ }>]>;
107
+ }>, import("effect/Schema").Struct<{
108
+ readonly transport: import("effect/Schema").Literal<"stdio">;
109
+ readonly command: import("effect/Schema").String;
110
+ readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
111
+ readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
112
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
113
+ }>]>;
114
+ }>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"configureServer", "POST", "/mcp/servers/:slug/config", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
115
+ slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
116
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
117
+ readonly config: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
118
+ readonly transport: import("effect/Schema").Literal<"remote">;
119
+ readonly endpoint: import("effect/Schema").String;
120
+ readonly remoteTransport: import("effect/Schema").withConstructorDefault<import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>>;
121
+ readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
122
+ readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
123
+ readonly auth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
124
+ readonly kind: import("effect/Schema").Literal<"none">;
125
+ }>, import("effect/Schema").Struct<{
126
+ readonly kind: import("effect/Schema").Literal<"header">;
127
+ readonly headerName: import("effect/Schema").String;
128
+ readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
129
+ }>, import("effect/Schema").Struct<{
130
+ readonly kind: import("effect/Schema").Literal<"oauth2">;
131
+ }>]>;
132
+ }>, import("effect/Schema").Struct<{
133
+ readonly transport: import("effect/Schema").Literal<"stdio">;
134
+ readonly command: import("effect/Schema").String;
135
+ readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
136
+ readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
137
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
138
+ }>]>;
139
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
140
+ readonly config: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
141
+ readonly transport: import("effect/Schema").Literal<"remote">;
142
+ readonly endpoint: import("effect/Schema").String;
143
+ readonly remoteTransport: import("effect/Schema").withConstructorDefault<import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>>;
144
+ readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
145
+ readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
146
+ readonly auth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
147
+ readonly kind: import("effect/Schema").Literal<"none">;
148
+ }>, import("effect/Schema").Struct<{
149
+ readonly kind: import("effect/Schema").Literal<"header">;
150
+ readonly headerName: import("effect/Schema").String;
151
+ readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
152
+ }>, import("effect/Schema").Struct<{
153
+ readonly kind: import("effect/Schema").Literal<"oauth2">;
154
+ }>]>;
155
+ }>, import("effect/Schema").Struct<{
156
+ readonly transport: import("effect/Schema").Literal<"stdio">;
157
+ readonly command: import("effect/Schema").String;
158
+ readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
159
+ readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
160
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
161
+ }>]>;
162
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never>, false>>;
@@ -99,7 +99,7 @@ import {
99
99
  tool,
100
100
  ToolResult,
101
101
  ToolName
102
- } from "@executor-js/sdk";
102
+ } from "@executor-js/sdk/core";
103
103
 
104
104
  // src/sdk/connection.ts
105
105
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
@@ -242,7 +242,7 @@ import {
242
242
  ElicitationId,
243
243
  FormElicitation,
244
244
  UrlElicitation
245
- } from "@executor-js/sdk";
245
+ } from "@executor-js/sdk/core";
246
246
  var ArgsRecord = Schema2.Record(Schema2.String, Schema2.Unknown);
247
247
  var decodeArgsRecord = Schema2.decodeUnknownOption(ArgsRecord);
248
248
  var argsRecord = (value) => Option2.getOrElse(decodeArgsRecord(value), () => ({}));
@@ -1295,4 +1295,4 @@ export {
1295
1295
  userFacingProbeMessage,
1296
1296
  mcpPlugin
1297
1297
  };
1298
- //# sourceMappingURL=chunk-2TXHTMKM.js.map
1298
+ //# sourceMappingURL=chunk-HSJWIVME.js.map