@http-forge/core 0.6.36-beta.3 → 0.6.37

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.
Files changed (2) hide show
  1. package/README.md +12 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,6 +45,14 @@
45
45
  - Load testing and performance monitoring
46
46
  - Automated integration test suites
47
47
 
48
+ ### Latest platform capabilities
49
+
50
+ - API discovery from source code for six frameworks with provenance and confidence scoring.
51
+ - Workflow generation for auth and CRUD chains, along with `.suite.json` and runnable `.flow.js` artifacts.
52
+ - Drift detection and 3-way merge logic that can regenerate stale suite content while preserving intentional edits.
53
+ - Intent-to-API design via `ApiArchitectService.designFromIntent`, turning plain-English requirements into OpenAPI, collection, suite, flow, and docs outputs.
54
+ - AI context assembly from `.http-forge/knowledge`, request docs, and test results for grounded MCP and Copilot automation.
55
+
48
56
  ## 🧭 Quick Navigation
49
57
 
50
58
  - Pick the right entry point: [Start Here](#-start-here)
@@ -230,8 +238,11 @@ Behavior notes:
230
238
  - `switch` nodes support `cases[]` and optional `default`.
231
239
  - `for` nodes prefer `loopCondition` for loop evaluation (legacy `condition` remains backward compatible).
232
240
  - Suite progress starts from a simple request-count estimate and adjusts totals live as branch and loop decisions resolve.
241
+ - **Alias parity:** condition expressions (`if`/`switch`/`for`/`while`) and script bodies both expose `pm`/`ctx`/`hf` interchangeably (`hf.variables.get("__i") < 100` === `pm.variables.get("__i") < 100` === `ctx.variables.get("__i") < 100`). The performance-test helper `TestSuiteService.createTempSuiteFromRequest` uses `hf` by default.
242
+
243
+ Flow scripts run through the same script session runtime as request scripts, so you can use `pm.variables.set/get`, `pm.environment`, and `pm.globals` (or the `ctx`/`hf` aliases) consistently.
233
244
 
234
- Flow scripts run through the same script session runtime as request scripts, so you can use `pm.variables.set/get`, `pm.environment`, and `pm.globals` consistently.
245
+ > Performance loop: `ITestSuiteService.createTempSuiteFromRequest()` wraps a single request in a `for` node with `init: hf.variables.set("__i",0)`, `loopCondition: hf.variables.get("__i") < 100`, `update: hf.variables.set("__i", hf.variables.get("__i")+1)`, `maxIterations: 100`. Edit `loopCondition`/`maxIterations` to tune load; prepend a login request above the `for` node to reuse auth.
235
246
 
236
247
  ```json
237
248
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@http-forge/core",
3
- "version": "0.6.36-beta.3",
3
+ "version": "0.6.37",
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",