@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/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_http = require('./http-xSfxBa8A.cjs');
1
+ const require_http = require('./http-BYBRKvD4.cjs');
2
2
 
3
3
  exports.HttpTransportHandler = require_http.HttpTransportHandler;
4
4
  exports.SseTransportHandler = require_http.SseTransportHandler;
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-D9BDXhHn.mjs";
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 };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agiflowai/one-mcp",
3
3
  "description": "One MCP server package",
4
- "version": "0.2.6",
4
+ "version": "0.3.0",
5
5
  "license": "AGPL-3.0",
6
6
  "keywords": [
7
7
  "mcp",