@http-forge/core 0.6.36-beta.1 → 0.6.36-beta.2
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* instead of VS Code APIs.
|
|
9
9
|
*/
|
|
10
10
|
import { IFileWatcherFactory, INotificationService } from '../../types/platform';
|
|
11
|
-
import type { EnvironmentsConfig, HttpForgeConfig, IConfigService, McpConfig, ProxyConfig, RequestConfig, RunnerConfig, ScriptsConfig, StorageConfig } from './config.interface';
|
|
11
|
+
import type { DiscoveryConfig, EnvironmentsConfig, HttpForgeConfig, IConfigService, McpConfig, ProxyConfig, RequestConfig, RunnerConfig, ScriptsConfig, StorageConfig } from './config.interface';
|
|
12
12
|
/**
|
|
13
13
|
* Configuration Service Implementation
|
|
14
14
|
*
|
|
@@ -53,6 +53,7 @@ export declare class ConfigService implements IConfigService {
|
|
|
53
53
|
*/
|
|
54
54
|
getRestClientMergeGlobals(): boolean;
|
|
55
55
|
getProxyConfig(): ProxyConfig | null;
|
|
56
|
+
getDiscoveryConfig(): DiscoveryConfig;
|
|
56
57
|
getMcpConfig(): McpConfig;
|
|
57
58
|
/**
|
|
58
59
|
* Resolve a path relative to workspace
|
|
@@ -119,6 +119,19 @@ export interface RestClientExportConfig {
|
|
|
119
119
|
/** When exporting environments, merge global variables into each environment file */
|
|
120
120
|
mergeGlobals?: boolean;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Discovery configuration
|
|
124
|
+
*/
|
|
125
|
+
export interface DiscoveryConfig {
|
|
126
|
+
/** Absolute or workspace-relative path to a custom seed loader module. */
|
|
127
|
+
customSeedLoaderModulePath?: string;
|
|
128
|
+
/** Custom framework hints for discovery. Defaults to ['auto']. */
|
|
129
|
+
frameworks?: string[];
|
|
130
|
+
/** Custom request/response context properties to search for during component analysis. */
|
|
131
|
+
contextProperties?: string[];
|
|
132
|
+
/** When true, skip component dependency analysis during discovery. */
|
|
133
|
+
skipComponentAnalysis?: boolean;
|
|
134
|
+
}
|
|
122
135
|
/**
|
|
123
136
|
* MCP Server CORS configuration
|
|
124
137
|
*/
|
|
@@ -260,6 +273,8 @@ export interface HttpForgeConfig {
|
|
|
260
273
|
proxy?: ProxyConfig | null;
|
|
261
274
|
/** Cloud secret provider configuration (optional) */
|
|
262
275
|
secrets?: SecretsConfig;
|
|
276
|
+
/** Discovery configuration (optional) */
|
|
277
|
+
discovery?: DiscoveryConfig;
|
|
263
278
|
}
|
|
264
279
|
/**
|
|
265
280
|
* Configuration service interface
|
|
@@ -277,6 +292,8 @@ export interface IConfigService {
|
|
|
277
292
|
getRunnerConfig(): RunnerConfig;
|
|
278
293
|
/** Get environments configuration */
|
|
279
294
|
getEnvironmentsConfig(): EnvironmentsConfig;
|
|
295
|
+
/** Get discovery configuration */
|
|
296
|
+
getDiscoveryConfig(): DiscoveryConfig;
|
|
280
297
|
/** Get proxy configuration */
|
|
281
298
|
getProxyConfig(): ProxyConfig | null;
|
|
282
299
|
/** Get MCP server project-level configuration (always returns resolved defaults) */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Config Services
|
|
3
3
|
*/
|
|
4
|
-
export type { EnvironmentsConfig, HttpForgeConfig, IConfigService, McpConfig, McpCorsConfig, McpToolMode, ProxyConfig, RequestConfig, RestClientExportConfig, RunnerConfig, ScriptsConfig, StorageConfig } from './config.interface';
|
|
4
|
+
export type { DiscoveryConfig, EnvironmentsConfig, HttpForgeConfig, IConfigService, McpConfig, McpCorsConfig, McpToolMode, ProxyConfig, RequestConfig, RestClientExportConfig, RunnerConfig, ScriptsConfig, StorageConfig } from './config.interface';
|
|
5
5
|
export { CONFIG_FILES, DEFAULT_CONFIG, ROOT_DIRECTORIES } from './default-config';
|
|
6
6
|
export { ConfigService } from './config-service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@http-forge/core",
|
|
3
|
-
"version": "0.6.36-beta.
|
|
3
|
+
"version": "0.6.36-beta.2",
|
|
4
4
|
"description": "Headless Postman-compatible API testing engine for Node.js, CI/CD, OpenAPI workflows, and HTTP Forge automation",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|