@agiflowai/one-mcp 0.2.6 → 0.3.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/README.md +87 -5
- package/dist/cli.cjs +474 -11
- package/dist/cli.mjs +475 -12
- package/dist/{http-xSfxBa8A.cjs → http-BYBRKvD4.cjs} +454 -185
- package/dist/{http-D9BDXhHn.mjs → http-Bi2N9PUM.mjs} +456 -187
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -133,6 +133,8 @@ type McpServerTransportConfig = McpStdioConfig | McpHttpConfig | McpSseConfig;
|
|
|
133
133
|
* @property prompts - Optional prompts configuration for skill conversion
|
|
134
134
|
* @property transport - The transport type (stdio, http, or sse)
|
|
135
135
|
* @property config - Transport-specific configuration options
|
|
136
|
+
* @property timeout - Optional connection timeout in milliseconds (default: 30000)
|
|
137
|
+
* @property disabled - Whether this server is disabled and should not be started
|
|
136
138
|
*/
|
|
137
139
|
interface McpServerConfig {
|
|
138
140
|
name: string;
|
|
@@ -142,6 +144,8 @@ interface McpServerConfig {
|
|
|
142
144
|
prompts?: Record<string, PromptConfig>;
|
|
143
145
|
transport: McpServerTransportType;
|
|
144
146
|
config: McpServerTransportConfig;
|
|
147
|
+
timeout?: number;
|
|
148
|
+
disabled?: boolean;
|
|
145
149
|
}
|
|
146
150
|
/**
|
|
147
151
|
* Skills configuration
|
package/dist/index.d.mts
CHANGED
|
@@ -133,6 +133,8 @@ type McpServerTransportConfig = McpStdioConfig | McpHttpConfig | McpSseConfig;
|
|
|
133
133
|
* @property prompts - Optional prompts configuration for skill conversion
|
|
134
134
|
* @property transport - The transport type (stdio, http, or sse)
|
|
135
135
|
* @property config - Transport-specific configuration options
|
|
136
|
+
* @property timeout - Optional connection timeout in milliseconds (default: 30000)
|
|
137
|
+
* @property disabled - Whether this server is disabled and should not be started
|
|
136
138
|
*/
|
|
137
139
|
interface McpServerConfig {
|
|
138
140
|
name: string;
|
|
@@ -142,6 +144,8 @@ interface McpServerConfig {
|
|
|
142
144
|
prompts?: Record<string, PromptConfig>;
|
|
143
145
|
transport: McpServerTransportType;
|
|
144
146
|
config: McpServerTransportConfig;
|
|
147
|
+
timeout?: number;
|
|
148
|
+
disabled?: boolean;
|
|
145
149
|
}
|
|
146
150
|
/**
|
|
147
151
|
* Skills configuration
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as createServer, n as SseTransportHandler, r as StdioTransportHandler, t as HttpTransportHandler } from "./http-
|
|
1
|
+
import { i as createServer, n as SseTransportHandler, r as StdioTransportHandler, t as HttpTransportHandler } from "./http-Bi2N9PUM.mjs";
|
|
2
2
|
|
|
3
3
|
export { HttpTransportHandler, SseTransportHandler, StdioTransportHandler, createServer };
|