Releases: VoltAgent/voltagent
@voltagent/[email protected]
Patch Changes
-
#696
69bc5bfThanks @fav-devs! - Add hostname configuration option to honoServer() to support IPv6 and dual-stack networking.The honoServer() function now accepts a
hostnameoption that allows configuring which network interface the server binds to. This fixes deployment issues on platforms like Railway that require IPv6 binding for private networking.Example usage:
import { honoServer } from "@voltagent/server-hono"; new VoltAgent({ agents, server: honoServer({ port: 8080, hostname: "::", // Binds to IPv6/dual-stack }), });
Options:
"0.0.0.0"- Binds to all IPv4 interfaces (default, maintains backward compatibility)"::"- Binds to all IPv6 interfaces (dual-stack on most systems)"localhost"or"127.0.0.1"- Only localhost access
Fixes #694
@voltagent/[email protected]
Patch Changes
-
#695
66a1bffThanks @omeraplak! - feat: add hostname configuration support to honoServer - #694The Problem
The
honoServer()function hardcodedhostname: "0.0.0.0"which prevented binding to IPv6 addresses. This caused deployment issues on platforms like Railway that require IPv6 or dual-stack binding for private networking.The Solution
Added a
hostnameconfiguration option toHonoServerConfigthat allows users to specify which network interface to bind to. The default remains"0.0.0.0"for backward compatibility.Usage Examples
Default behavior (IPv4 only):
new VoltAgent({ agents: { myAgent }, server: honoServer({ port: 3141, }), }); // Binds to 0.0.0.0 (all IPv4 interfaces)
IPv6 dual-stack (recommended for Railway, Fly.io):
new VoltAgent({ agents: { myAgent }, server: honoServer({ port: 3141, hostname: "::", // Binds to both IPv4 and IPv6 }), });
Localhost only:
new VoltAgent({ agents: { myAgent }, server: honoServer({ port: 3141, hostname: "127.0.0.1", // Local development only }), });
Environment-based configuration:
new VoltAgent({ agents: { myAgent }, server: honoServer({ port: parseInt(process.env.PORT || "3141"), hostname: process.env.HOSTNAME || "::", // Default to dual-stack }), });
This change is fully backward compatible and enables VoltAgent to work seamlessly on modern cloud platforms with IPv6 networking.
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
- Updated dependencies [
f9aa8b8]:- @voltagent/[email protected]
@voltagent/[email protected]
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76