Repository navigation
chore(release): pin bundled K-brain to v0.107.21 - #1233
Merged
Merged
Conversation
This was referenced Nov 5, 2026
xiaozhou26
force-pushed
the
chore/pin-kbrain-0.107.21
branch
from
November 5, 2026 18:38
ec760ee to
2191309
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.
Closes #1232
Pins the bundled K-brain to v0.107.21, built from
9efe547. Since v0.107.20 it includes:mechanism: "low-integrity"). Online sandboxed runs work on Windows without WSL2: writes are limited to the workspace and a fenced temp dir,.git/hooks,.git/config,.k-brain/and.liveagent/stay read-only, and credential dirs plus the K-brain data dir are unreadable (read_masking: true,path_protection: true). Offline runs still fail closed on Windows (network_control: false), so the selector keeps "Sandbox (offline)" disabled with K-brain's reason.mechanism: "landlock",read_masking: false,path_protection: false). The selector already switches to the no-read-masking description for that case.run_sandboxgainspath_protection..git/hooks,.git/configandcore.hooksPath; bubblewrap hides container/D-Bus sockets.sandbox.envKeepallows exceptions). LiveAgent's ownK_BRAIN_BACKEND_TOKEN,LIVEAGENT_HOMEandLIVEAGENT_KBRAIN_PROXYare unaffected.sandbox_denialontool.result, and a[sandbox] …hint line in the result text.exit_code,timed_out,duration_msontool.result, andpreview(unified diff) on editpermission.requested.questiontool can ask up to 4 questions at once;question.requested.questionskeeps the existing shape, so the current card renders them.All new fields are optional; no client change is required.
Verification
node --test scripts/release/prepare-kbrain.test.mjs scripts/release/verify-kbrain-packaging.test.mjs: 11 pass.No UI change, so there is no screenshot.