farai 0.3.7 → 0.3.8

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.
@@ -772,7 +772,6 @@ async def proxy_replay_correlated(
772
772
  if not isinstance(headers, dict) or not all(isinstance(key, str) and isinstance(value, str) for key, value in headers.items()):
773
773
  return json.dumps({"ok": False, "error": "headers_json must encode a string-to-string object."})
774
774
 
775
- # Upstream treats None as "reuse the captured body"; an empty string omits it.
776
775
  resolved_body = "" if body == "__omit__" else body
777
776
  variables = getattr(server.controller, "session_variables", {})
778
777
  resolver = getattr(server, "_resolve_template", None)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "farai",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "AI Harness for Security Assessments",
@@ -48,7 +48,7 @@
48
48
  "test": "bun test ./test/*.test.ts ./test/*.test.tsx",
49
49
  "verify": "bun run typecheck && bun run test && bun run test:package",
50
50
  "release:check": "bun run verify && bun audit",
51
- "eval:smoke": "bun run test/evals/smoke.ts",
51
+ "eval:smoke": "bun run src/cli/index.ts eval",
52
52
  "prepare": "bun run scripts/prepare-package.ts",
53
53
  "prepublishOnly": "bun run verify",
54
54
  "prepack": "bun run build",