Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

All notable changes to this project will be documented in this file.

## 0.2.0 — 2026-05-06

### Changed

- `createRouterFromTools` now throws at construction when no tool is reachable as
an entry point (every tool listed under another tool's `nextAllowed`). The
previous behaviour silently produced a router that would throw on every call.
- Adjacency entries with duplicate names in `nextAllowed` are now de-duplicated
(preserving first-seen order). `printRouterGraph` no longer emits duplicates.
- `legalNextFor(null)` now returns entry tools in insertion order, matching
`nextTools(router, null)`.

### Fixed

- Replaced `as never` cast in `router.ts` with a properly typed cast.
- `.gitignore` now ignores `.env` / `.env.*` (with `!.env.example`).

## 0.1.0 — 2026-05-04

Initial public release. Treated as a pre-1.0 calling card; a 1.0.0 cut
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toolroute",
"version": "0.1.0",
"version": "0.2.0",
"description": "Vercel AI SDK companion that turns tool definitions into a typed routing graph.",
"license": "MIT",
"type": "module",
Expand Down
Loading