@http-forge/core 0.5.3 → 0.6.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 +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +282 -280
- package/dist/index.mjs +283 -281
- package/dist/infrastructure/collection/collection-service.d.ts +2 -0
- package/dist/infrastructure/execution/collection-request-executor-interfaces.d.ts +13 -2
- package/dist/runtime/mcp-collection-utils.d.ts +22 -0
- package/dist/runtime/mcp-dispatcher.d.ts +47 -0
- package/dist/runtime/mcp-run-store.d.ts +43 -0
- package/dist/runtime/mcp-tool-builder.d.ts +29 -0
- package/dist/runtime/mcp-tool-schemas.d.ts +30 -0
- package/dist/types/collection.d.ts +14 -1
- package/dist/types/environment-config.d.ts +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -691,7 +691,7 @@ interface McpConfig {
|
|
|
691
691
|
maxRequestsPerCall: number; // Safety cap per collection/suite call (default: 500; min 1, max 10000)
|
|
692
692
|
toolMode: 'flat' | 'drilldown' | 'auto'; // How tools are exposed (default: 'auto')
|
|
693
693
|
drilldownThreshold: number; // 'auto' switches to drill-down above this request-tool count (default: 100; min 10, max 500)
|
|
694
|
-
toolPageSize: number; // Max tools per tools/list page (default:
|
|
694
|
+
toolPageSize: number; // Max tools per tools/list page (default: 200; 0 = no pagination; min 10, max 1000)
|
|
695
695
|
cors: {
|
|
696
696
|
allowedOrigins: string[]; // CORS origins (default: ["http://localhost","http://127.0.0.1"])
|
|
697
697
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,14 @@ export { ForgeContainer } from './container';
|
|
|
20
20
|
export type { ForgeContainerOptions, StorageFormat } from './container';
|
|
21
21
|
export { getServiceContainer, registerCoreServices, ServiceContainer, ServiceIdentifiers } from './di';
|
|
22
22
|
export type { PlatformAdapters, ServiceIdentifier } from './di';
|
|
23
|
+
export { countRequests, enumerateFolders, flattenRequests } from './runtime/mcp-collection-utils';
|
|
24
|
+
export type { FlatRequest } from './runtime/mcp-collection-utils';
|
|
25
|
+
export { CACHE_BUSTING_TOOLS, dispatchGenericTool } from './runtime/mcp-dispatcher';
|
|
26
|
+
export type { McpDispatchServices, McpRunCallbacks } from './runtime/mcp-dispatcher';
|
|
27
|
+
export { McpRunStore } from './runtime/mcp-run-store';
|
|
28
|
+
export type { McpRunRecord } from './runtime/mcp-run-store';
|
|
29
|
+
export { buildMcpToolList, decodeCursor, dedupeToolsByName, encodeCursor } from './runtime/mcp-tool-builder';
|
|
30
|
+
export type { McpTool } from './runtime/mcp-tool-builder';
|
|
23
31
|
export { buildCollectionToolDescription, buildCollectionToolName, buildFolderToolDescription, buildFolderToolName, buildRequestToolDescription, buildRequestToolName, buildSuiteToolDescription, buildSuiteToolName, mcpToolSegment, mcpToolToken, parseMcpToolName, resolveFolderToken, resolveToken } from './runtime/mcp-tool-name';
|
|
24
32
|
export type { McpToolKind, ParsedMcpToolName } from './runtime/mcp-tool-name';
|
|
25
33
|
export { buildGenericTools, COLLECTION_INPUT_SCHEMA, FOLDER_INPUT_SCHEMA, GENERIC_TOOL_NAMES, REQUEST_INPUT_SCHEMA, SUITE_INPUT_SCHEMA } from './runtime/mcp-tool-schemas';
|