Skip to content

v0.7.10

Choose a tag to compare

@vheins vheins released this 09 Sep 10:05
· 14 commits to main since this release

v0.7.10 — fix(discovery): populate limit.context/output

Changes

  • fix(discovery): populate limit.context/limit.output so context usage % is not stuck at 0 (#2)
  • hardened validation: numeric token limits normalized through a single toPositiveInt path — invalid/zero/negative values never produce a limit
  • refactor: split monolithic src/plugin.ts (485 lines) into cache.ts, capabilities.ts, discovery.ts, types.ts, utils.ts (<500 lines/file)
  • test: add test-limit.mjs regression suite — top-level fallback, nested-capability precedence, invalid-value rejection, models.dev catalog flow (5/5 minimal + 9/9 limit, all passing)

Artifacts