Repository navigation
fix: integrate Windows sandbox, ripgrep search, DSH web tools, and SSE keepalive - #161
Open
phantom5099 wants to merge 1 commit into
Open
phantom5099 wants to merge 1 commit into
phantom5099 wants to merge 1 commit into
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.
Summary
Fixes three critical tool reliability failures plus error visibility and SSE connection stability:
@codingcode/process-sandbox):@codingcode/process-sandbox(see feat: implement cross-platform process sandbox process-sandbox#1) supporting Linuxbwrap, macOSsandbox-exec, and Windows Restricted Token + NTFS Capability SID ACL (koffi).packages/codingcode/sandboxandpackages/codingcode/bashto acceptpartialOS enforcement (Windows ACL) while still failing closed ondisabled, propagate restrictedenv, and clean up private sandbox temp directories.search_filesandsearch_code(@vscode/ripgrep):globby(which hung indefinitely on nested pnpm workspacenode_modulessymlinks) and statefulRegExp('gi').test()with streaming@vscode/ripgrep(rg --filesandrg --json), including--no-config, early stop atmax_results, 15s timeout, andAbortSignalcancellation.@codingcode/webarchitecture:cn.bing.com/www.baidu.comHTML scraping that suffered from anti-bot decoy SERP poisoning.WebService(concurrency semaphore + signal/timeout composition), DeepSeek Tools API provider (POST /v1/tools/search&/fetch), and direct HTTP fetch provider, configured viaconfig.yaml(websection).SANDBOX_*failures todenied(tools.ts); keep them as structurederrorresults.""to the model ondenied(agent.ts); record[Denied] <reason>.已拒绝vs执行失败inToolSummary.tsxand always show the reason/output when expanded.cli.ts) and merge 15s SSE comment keepalive frames (: keep-alive\n\n) inhandler.ts.koffi,@vscode/ripgrep,@codingcode/process-sandbox) inbundle.mjsandelectron-builder.yml, and allow their build scripts inpnpm-workspace.yaml.Dependency Note
@codingcode/process-sandboxcurrently referencesgithub:phantom5099/process-sandbox#feat/initial-sandbox-implementationuntil feat: implement cross-platform process sandbox process-sandbox#1 is merged intomain/ tagged.Verification
pnpm install(from GitHub ref +preparebuild),pnpm run typecheck(tsc -b), andpnpm --filter @codingcode/app run bundleall pass.read-onlyecho succeeds & blocks workspace write;workspace-writeallows workspace write & blocks outside write).search_code371ms,search_files45ms.tools+approval(145/145),agent(30/30),server+sdk(86/86),desktop(217/217).