@executor-js/plugin-mcp 0.0.2 → 0.1.0
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 +6 -6
- package/dist/{chunk-DJANY5EU.js → chunk-C2GNZGFJ.js} +456 -159
- package/dist/chunk-C2GNZGFJ.js.map +1 -0
- package/dist/core.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/atoms.d.ts +7 -7
- package/dist/react/client.d.ts +7 -340
- package/dist/react/plugin-client.d.ts +2 -0
- package/dist/react/source-plugin.d.ts +1 -1
- package/dist/sdk/binding-store.d.ts +4 -0
- package/dist/sdk/manifest.d.ts +2 -0
- package/dist/sdk/plugin.d.ts +132 -2
- package/dist/sdk/test-utils.d.ts +16 -0
- package/dist/sdk/types.d.ts +15 -0
- package/package.json +4 -4
- package/dist/chunk-DJANY5EU.js.map +0 -1
package/dist/api/group.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const McpGroup: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.
|
|
|
22
22
|
readonly namespace: Schema.String;
|
|
23
23
|
readonly toolCount: Schema.NullOr<Schema.Number>;
|
|
24
24
|
readonly serverName: Schema.NullOr<Schema.String>;
|
|
25
|
-
}>>, HttpApiEndpoint.Json<typeof
|
|
25
|
+
}>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"addSource", "POST", "/scopes/:scopeId/mcp/sources", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
26
26
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
27
27
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Union<readonly [Schema.Struct<{
|
|
28
28
|
readonly transport: Schema.Literal<"remote">;
|
|
@@ -65,22 +65,22 @@ export declare const McpGroup: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.
|
|
|
65
65
|
}>]>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
66
66
|
readonly toolCount: Schema.Number;
|
|
67
67
|
readonly namespace: Schema.String;
|
|
68
|
-
}>>, HttpApiEndpoint.Json<typeof
|
|
68
|
+
}>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"removeSource", "POST", "/scopes/:scopeId/mcp/sources/remove", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
69
69
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
70
70
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
71
71
|
readonly namespace: Schema.String;
|
|
72
72
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
73
73
|
readonly removed: Schema.Boolean;
|
|
74
|
-
}>>, HttpApiEndpoint.Json<typeof
|
|
74
|
+
}>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSource", "POST", "/scopes/:scopeId/mcp/sources/refresh", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
75
75
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
76
76
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
77
77
|
readonly namespace: Schema.String;
|
|
78
78
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
79
79
|
readonly toolCount: Schema.Number;
|
|
80
|
-
}>>, HttpApiEndpoint.Json<typeof
|
|
80
|
+
}>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSource", "GET", "/scopes/:scopeId/mcp/sources/:namespace", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
81
81
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
82
82
|
namespace: Schema.String;
|
|
83
|
-
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.NullOr<typeof McpStoredSourceSchema>>, HttpApiEndpoint.Json<typeof
|
|
83
|
+
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.NullOr<typeof McpStoredSourceSchema>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateSource", "PATCH", "/scopes/:scopeId/mcp/sources/:namespace", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
84
84
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
85
85
|
namespace: Schema.String;
|
|
86
86
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
@@ -112,4 +112,4 @@ export declare const McpGroup: HttpApiGroup.HttpApiGroup<"mcp", HttpApiEndpoint.
|
|
|
112
112
|
}>]>>;
|
|
113
113
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
114
114
|
readonly updated: Schema.Boolean;
|
|
115
|
-
}>>, HttpApiEndpoint.Json<typeof
|
|
115
|
+
}>>, HttpApiEndpoint.Json<typeof InternalError | typeof McpConnectionError | typeof McpToolDiscoveryError>, never, never>, false>;
|