chore(deps)(deps-dev): bump the next-minor-patch group across 1 directory with 3 updates#22
Open
dependabot[bot] wants to merge 1 commit into
Conversation
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
nopperabbo
added a commit
that referenced
this pull request
May 15, 2026
When the upstream Kiro stream is severed mid-output AFTER visible content has reached the client, kiroxy can no longer go back and emit a JSON error envelope without violating the SSE protocol (message_start + content_block_start already on the wire). Without a clean close, clients (claude-code, opencode, claude-code-router) sit forever waiting for a message_stop event that never arrives. This commit adds SSEWriter.TruncatedFinish(reason) which: - Closes any active content block. - Emits a synthetic message_delta with stop_reason="max_tokens" (preserving any non-end_turn upstream stop reason if one was already recorded on the accumulator) plus the usage map. - Emits message_stop so the client can finalize. - Logs slog.Warn 'stream truncated, finalizing as max_tokens' with the original upstream_reason so operators can diagnose root cause. Wired in handleStreamingResponse: the streamErr+Started+IsPromoted case now calls TruncatedFinish instead of writeStreamingOrJSONError — no more half-closed streams when upstream cuts off long thinking. Stop reason choice rationale: 'max_tokens' is the closest Anthropic-compatible signal; clients already handle it with a 'response was truncated, ask continue to resume' UX. 'end_turn' would falsely suggest the response was complete. References hank9999/kiro.rs issues #22 and #49 documenting the exact 'session stuck' / 'Write Failed' user pain point. Tests: - TestSSEWriter_TruncatedFinish_EmitsMaxTokens: synthesizes a 2-delta visible stream then truncates, asserts message_stop + max_tokens stop_reason + no error event leaked into the wire. - TestSSEWriter_TruncatedFinish_PreservesUpstreamStopReason: pre-populates accumulator with stop_sequence then truncates, asserts upstream signal wins over the max_tokens default. Also adds two TROUBLESHOOTING.md sections: - 'MCP servers / mcp_servers field' explaining why kiroxy does not support Anthropic's mcp-client-2025-11-20 beta (Kiro upstream is not Anthropic; it has no MCP semantics; kiroxy.proxies pass it through as a no-op). Suggests claude-code-router, claude-code stdio, or tracking the future kiroxy-native MCP roadmap as workarounds. - 'Stream truncated mid-output' documenting the new TruncatedFinish behavior + the WARN log shape so operators can grep for it. go build / vet / test ./... all green (32 packages).
33e90ce to
9297d78
Compare
…tory with 3 updates Bumps the next-minor-patch group with 3 updates in the /internal/server/next/client directory: [@tsconfig/svelte](https://github.com/tsconfig/bases/tree/HEAD/bases), [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) and [svelte-check](https://github.com/sveltejs/language-tools). Updates `@tsconfig/svelte` from 5.0.4 to 5.0.8 - [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases) Updates `svelte` from 5.15.0 to 5.55.9 - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md) - [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.55.9/packages/svelte) Updates `svelte-check` from 4.1.1 to 4.4.8 - [Release notes](https://github.com/sveltejs/language-tools/releases) - [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.1.1...svelte-check@4.4.8) --- updated-dependencies: - dependency-name: "@tsconfig/svelte" dependency-version: 5.0.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: next-minor-patch - dependency-name: svelte dependency-version: 5.55.7 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: next-minor-patch - dependency-name: svelte-check dependency-version: 4.4.8 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: next-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
9297d78 to
c27085f
Compare
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.
Bumps the next-minor-patch group with 3 updates in the /internal/server/next/client directory: @tsconfig/svelte, svelte and svelte-check.
Updates
@tsconfig/sveltefrom 5.0.4 to 5.0.8Commits
Updates
sveltefrom 5.15.0 to 5.55.9Release notes
Sourced from svelte's releases.
... (truncated)
Changelog
Sourced from svelte's changelog.
... (truncated)
Commits
b65a3f3Version Packages (#18240)ef319edchore: bump acorn-typescript/esrap (#18248)d654db8fix: avoid false-positive batch invariant error (#18246)000c594fix:{#await await ...}and async dependencies fixes (#18243)a5df661fix: avoid unnecessary stringify in server attributes (#18232)f9440dcVersion Packages (#18239)ca3f35bfix(print): handle svelte:body and fix keyframe percentage double-printing (#...2bc3592fix: use named symbols everywhere (#18238)dc1f037fix: don't run teardown effects when deriveds are unfreezed (#18227)1e899cbfix: execute uninitialized derived even if it's destroyed (#18228)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for svelte since your current version.
Updates
svelte-checkfrom 4.1.1 to 4.4.8Release notes
Sourced from svelte-check's releases.
... (truncated)
Commits
0070c6fVersion Packages (#3015)29e2894feat: typescript 6.0 support (#2985)d99bb34Version Packages (#2999)35428aefix: flush stdout/stderr before exit in svelte-check (#3014)a553963fix: report diagnostics in tsconfig.json (#3005)4c306ebfix: prevent incorrect $types imports being injected in update import (#3010)31488f9fix: properly place svelte-ignore comment in quickfix when\<script module>...5be821dfix: prevent duplicate diagnostics (#3000)8b103bafix: hoist self-referenced props interface (#2998)26571cfVersion Packages (#2977)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for svelte-check since your current version.