Files
ai-kit/.github
CatoandClaude Opus 5 d3cfbe096b feat: v0.7.0 — release the call, and prove the engine RUNS (#33)
Merging #32 gave this package an HTTP client but published nothing: the
version stayed at 0.6.2, so no consumer could reach it. This releases it.

It also closes the gap that a shared engine makes dangerous. Every check in
this repo was hermetic — `test/` drives an injected fetch, `check-catalog`
asks whether ids still EXIST — so all of them could be green while the
package could not complete one real turn. That was survivable while two repos
imported it. It stops being survivable when one engine sits behind every app,
because then its bugs arrive everywhere simultaneously.

scripts/smoke.mjs makes a real generation against the live free tier. It
earned its place on first run, finding two things no hermetic test could:

  - `maxTokens: 16` made groq/openai/gpt-oss-20b return 200 with EMPTY
    content. The chain leads with REASONING models, which spend the budget
    thinking before emitting a visible token — so a small budget makes a
    healthy model indistinguishable from a dead one, walks the entire chain,
    and reports every link broken. Documented on CompleteOptions.maxTokens
    where a consumer will actually hit it, and the smoke now asks for 256.
  - A single-quoted value in a .env inlines its QUOTES into the key, and
    OpenRouter answers that with "Missing Authentication header" — which
    reads as a missing key rather than a malformed one.

Scheduled, never a PR gate: it calls other people's servers, so as a required
check it would redden pull requests for a vendor's 500 and train everyone to
ignore red. The `|| status=$?` in the workflow is load-bearing — Actions runs
steps under `bash -e`, so a bare failing command aborts before its exit code
can be read, and the "no keys" branch would be unreachable.

Both scheduled jobs refuse to pass while blind: a probe that looked at nothing
has told us nothing, and green would be a lie.

Verified: catalog check run live — all 7 default pins present at their vendor,
confirmed both locally and in Actions ("7 id(s) confirmed present"). Smoke run
live — groq/openai/gpt-oss-120b answered "blue" in 878ms. verify green:
format + lint + typecheck + build + 91 tests.


Claude-Session: https://claude.ai/code/session_01NHDLTKGirKU7He8q2YR2y4

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-05 09:49:55 -07:00
..