Skip to content

wirefox 0.3.2

Latest

Choose a tag to compare

@ARO-FIA ARO-FIA released this 24 Nov 09:32
· 1 commit to main since this release

wirefox 0.3.2

Patch release focused on hardening.

Fixed

  • openai() now defaults to https://api.openai.com/v1 instead of https://openai.com, so the adapter works without an explicit base URL.
  • Malformed JSON in tool call arguments no longer rejects the whole run. The adapter records the parse failure and the agent returns it to the model as a structured tool error, so the loop can recover.
  • Hardened the OpenAI adapter response handling: non-2xx responses include status and body, empty or missing choices throw a clear error, malformed JSON bodies are reported as such, finish_reason of length and content_filter throw descriptive errors, multiple choices use the choice with index 0, and tool calls with a missing function name are rejected with a clear message.
  • createAgent() now validates the tools it receives. Duplicate names, missing names, missing parameters, and raw tool objects without an execute function are rejected with a clear TypeError instead of failing later in the loop.

Packaging and metadata

  • Version aligned to 0.3.2 across package.json, jsr.json, and the previously stale package-lock.json.
  • repository.url now points to https://github.com/ARO-FIA/wirefox, matching the README.
  • Added engines.node set to >=20.
  • Publish workflow now installs, builds, publishes to npm with provenance through OIDC, then publishes to JSR.

Upgrade

npm install wirefox@0.3.2