Repository navigation
Fix Windows agent hook Unicode prompts - #2100
Merged
nwparker merged 1 commit intoMay 16, 2026
Merged
Conversation
nwparker
added a commit
that referenced
this pull request
Aug 20, 2026
…erpreter The Antigravity drift was invisible to per-agent tests. The shared builder took only `(source)` and could not add the extra form field Antigravity needs, so it forked a private copy of the then-correct PowerShell command (#2100); when the shared builder moved to curl (#6402) every caller was fixed for free and the copy silently was not. Assert the violated invariant across all ten batch-script agents at once, and generate under a mocked win32 platform so the POSIX CI legs guard it too. Verified to fail on the pre-fix script, naming the offending file.
Merged
9 tasks done
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 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.
Fixes #1920
Summary
application/json; charset=utf-8.Screenshots
Reproduction: corrupted sidebar agent prompt before the hook encoding fix.
Fixed: the same sidebar row with the Chinese prompt preserved.
Verification
pnpm exec vitest run --config config/vitest.config.ts src/main/agent-hooks/installer-utils.test.ts src/shared/agent-hook-listener.test.ts src/main/agent-hooks/remote-hook-service-installers.test.tspnpm run typecheck:nodepnpm exec oxlint src/main/agent-hooks/installer-utils.ts src/main/agent-hooks/installer-utils.test.ts src/main/claude/hook-service.ts src/main/codex/hook-service.ts src/main/cursor/hook-service.ts src/main/droid/hook-service.ts src/main/gemini/hook-service.ts src/main/grok/hook-service.tspnpm exec oxfmt --check src/main/agent-hooks/installer-utils.ts src/main/agent-hooks/installer-utils.test.ts src/main/claude/hook-service.ts src/main/codex/hook-service.ts src/main/cursor/hook-service.ts src/main/droid/hook-service.ts src/main/gemini/hook-service.ts src/main/grok/hook-service.ts$electron: injected a live inline agent row in the sidebar, captured the corrupted?prompt state, updated the row to a Chinese prompt, verifieddocument.body.innerTextcontained请总结这260个字符的内容01:0, and captured the fixed state.