@http-forge/core 0.3.1 → 0.3.3

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 CHANGED
@@ -42,6 +42,16 @@ Or using the tarball:
42
42
  npm install ./http-forge-core-0.1.0.tgz
43
43
  ```
44
44
 
45
+ ## Runtime APIs (Headless + MCP)
46
+
47
+ For current programmatic runtime APIs, see [RUNTIME-API.md](RUNTIME-API.md):
48
+ - `runRequest(options)`
49
+ - `runCollection(options)`
50
+ - `runSuite(options)`
51
+ - `createMcpRuntime(options)`
52
+
53
+ This covers direct execution, embeddable MCP runtime lifecycle, response include options, and report behavior.
54
+
45
55
  ## ⚡ Quick Start
46
56
 
47
57
  ### Basic Usage
@@ -18,12 +18,13 @@ import type { IConsoleService } from '../types/console-service';
18
18
  import type { IHttpClient } from '../types/platform';
19
19
  import type { ServiceIdentifier } from './service-identifiers';
20
20
  import type { IOAuth2TokenManager } from '../infrastructure/auth/interfaces';
21
- import type { ICollectionService } from '../types/collection';
22
21
  import type { IConfigService } from '../infrastructure/config';
23
- import type { IEnvironmentConfigService } from '../types/environment-config';
24
22
  import type { IGraphQLSchemaService } from '../infrastructure/graphql/graphql-schema-service';
25
23
  import type { IDataFileParser } from '../infrastructure/platform/data-file-parser';
26
24
  import type { ICookieJar } from '../infrastructure/script/interfaces';
25
+ import type { ITestSuiteService } from '../infrastructure/test-suite/interfaces';
26
+ import type { ICollectionService } from '../types/collection';
27
+ import type { IEnvironmentConfigService } from '../types/environment-config';
27
28
  /**
28
29
  * Factory function type for creating services
29
30
  */
@@ -89,6 +90,7 @@ export declare class ServiceContainer {
89
90
  get persistentCookieJar(): ICookieJar;
90
91
  get oauth2TokenManager(): IOAuth2TokenManager;
91
92
  get graphqlSchemaService(): IGraphQLSchemaService;
93
+ get testSuite(): ITestSuiteService;
92
94
  }
93
95
  /**
94
96
  * Convenience function to get the service container instance
@@ -13,6 +13,7 @@ export declare const ServiceIdentifiers: {
13
13
  readonly HttpClient: symbol;
14
14
  readonly Cookie: symbol;
15
15
  readonly RequestHistory: symbol;
16
+ readonly TestSuite: symbol;
16
17
  readonly UrlBuilder: symbol;
17
18
  readonly RequestPreprocessor: symbol;
18
19
  readonly RequestPreparer: symbol;
package/dist/index.d.ts CHANGED
@@ -20,6 +20,10 @@ 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 { createMcpRuntime, runCollection, runRequest, runSuite } from './runtime/runtime-contracts';
24
+ export type { McpRuntimeHandle, McpRuntimeOptions, RunCollectionOptions, RunRequestOptions, RunSuiteOptions } from './runtime/runtime-contracts';
25
+ export { bootstrapNodeRuntime, createNodeContainer } from './runtime/node-bootstrap';
26
+ export type { NodeBootstrapOptions } from './runtime/node-bootstrap';
23
27
  export * from './types/console-service';
24
28
  export * from './types/platform';
25
29
  export * from './types/types';