feat: port official and community platform fixes - #5
Merged
Conversation
Port 23 vendor-neutral upstream fixes and document all accepted and deferred PRs in UPSTREAM_PORTS.md.
Avoid duplicating SSE files already present in KKM and adapt structured MCP results to the current v2 agent/mcp type layout.
|
❌ Nix build failed |
Reuse existing SSE regression coverage and import the transcript output cap helper used by the port.
Update snapshots and coercion assertions for the accepted behavior, tolerate legacy session test doubles, and defer MoonshotAI#2541 until KKM has the required kaos wait/read lifecycle.
Update the remaining llm.request inline snapshot hashes after the Edit safety tool description changed.
This was referenced Aug 5, 2026
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.
Summary
Selective vendor-neutral port from MoonshotAI/kimi-code:
/fork, resumed profile/tool bindings, colon-containing question IDs, MCP structured results/meta filtering, and OAuth persistence/redirect fixes.mcpCore-dependent work, including fix(agent-core): preserve Bash stdout after process exit MoonshotAI/kimi-code#2541, is recorded for later instead of partially importing an incompatible architecture.Traceability
Every included PR, pinned head SHA, compatibility adaptation, and deferred candidate is recorded in
UPSTREAM_PORTS.mdunder “Batch 2026-08-04”.Validation
Do not merge until the latest commit passes both CI and Nix Build.