8 deps updated (2 minor, 6 patch); 1 type fix#178
Open
ask-bonk[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All done. Here's the full summary:
Dependency Update Summary
All 121 tests pass.
tsc --noEmitis clean (after one fix — see below).Updated Packages
@opencode-ai/sdk@opencode-ai/plugin@clack/promptsaihonowrangleroxlint@types/nodeAll other dependencies were already at their latest compatible versions.
Type Fix Required:
hono4.12.18 → 4.12.21Root cause: Hono 4.12.21 tightened the generic constraint on
MiddlewareHandler, causing a type mismatch when abearerAuthmiddleware instance is constructed dynamically at runtime and called directly asauth(c, next). Without an explicit type parameter,bearerAuth({ token })inferredMiddlewareHandler<Env>(using the bareEnvshape), which no longer matched the outer handler'sContext<{ Bindings: Env }, "*", any>.Fix (
src/index.ts:153): Added the explicit genericbearerAuth<{ Bindings: Env }>({ token: secret })so the constructed middleware's context type aligns with the enclosing handler's type. No runtime behavior changed.Triggered by scheduled workflow
github run