feat(adaptation): enhance platform detection and cache path handling …#376
Open
mikij wants to merge 2 commits intomksglu:nextfrom
Open
feat(adaptation): enhance platform detection and cache path handling …#376mikij wants to merge 2 commits intomksglu:nextfrom
mikij wants to merge 2 commits intomksglu:nextfrom
Conversation
ccdd4b3 to
8dbb2c4
Compare
Contributor
Author
|
@mksglu this is test run result from main |
862e570 to
23fdc97
Compare
Contributor
Author
…for OpenCode/KiloCode
f9a0908 to
5406a20
Compare
…jection for OpenCode/KiloCode Extract tool-naming and routing-block logic into dedicated source modules (src/tool-naming.ts, src/routing-block.ts) and update OpenCode adapter to enable sessionStart and canInjectSessionContext capabilities. Implement experimental.chat.messages.transform hook to automatically inject context window protection routing block into user messages, replacing the previous static hook approach. Update hook files to import from build outputs.
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.


…for OpenCode/KiloCode
What / Why / How
context-mode upgrade local) which copies current git branch instead of cloning latest GH published version.This fails in doctor:
Addition:
Affected platforms
Test plan
Checklist
npm testpassesnpm run typecheckpassesnextbranch (unless hotfix)Cross-platform notes
Our CI runs on Ubuntu, macOS, and Windows.
path.join()/path.resolve(), never hardcode/separatorsreadFileSync(0)breaks on Windowsos.tmpdir(), never hardcode/tmp