Repository navigation
Releases
Releases · ARO-FIA/wirefox
wirefox 0.3.2
wirefox 0.3.2
Patch release focused on hardening.
Fixed
openai()now defaults tohttps://api.openai.com/v1instead ofhttps://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
choicesthrow a clear error, malformed JSON bodies are reported as such,finish_reasonoflengthandcontent_filterthrow 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, missingparameters, and raw tool objects without anexecutefunction are rejected with a clearTypeErrorinstead of failing later in the loop.
Packaging and metadata
- Version aligned to 0.3.2 across
package.json,jsr.json, and the previously stalepackage-lock.json. repository.urlnow points tohttps://github.com/ARO-FIA/wirefox, matching the README.- Added
engines.nodeset to>=20. - Publish workflow now installs, builds, publishes to npm with provenance through OIDC, then publishes to JSR.
Upgrade
npm install wirefox@0.3.2Mini Update: Added More Doc Comments v0.3.1
Mini Update: More Doc Comments Added
JSDoc comments added.
This was meant to be part of update 0.3.0 but did not get pushed with the rest of the update
V0.3.0
V0.2.0-beta.0
What's New
- JavaScript & TypeScript Parity: Added runtime schema and argument validation to
defineTool(),createAgent(), and tool execution loops so plain JavaScript projects get immediate, descriptive error handling alongside TypeScript. - Lifecycle Hooks: Added optional
onStepandonToolCallcallbacks (supporting both sync and async functions) toAgentConfig.
Install
npm install wirefox@beta