chore: post-merge cleanup for agent integration fixes (#33644)

Post-merge cleanup after the agent-integration fixes: remove the unreachable Windows hook-script stdin drain epilogue; Windows statusline exits instead of draining outside an Orca pane; Codex CLI fork uses the \\?\-aware rollout path; WSL browser-network relay falls back to orcad's pinned Node (shared launcher revision stamp); stranded sleep records only drop for their own worktree; renames (hidden probe cwd, local Windows ConPTY helper).
This commit is contained in:
Neil
2026-10-25 15:30:00 -07:00
committed by GitHub
parent f53e7b016a
commit c6769fc9be
37 changed files with 161 additions and 137 deletions
@@ -3,8 +3,7 @@ import { buildWindowsAgentHookPostCommand } from '../agent-hooks/installer-utils
import {
buildPosixHookPayloadCapture,
buildPosixHookSpoolLines,
buildWindowsHookEnvironmentGuardLines,
buildWindowsHookStdinDrainEpilogue
buildWindowsHookEnvironmentGuardLines
} from '../agent-hooks/hook-stdin-contract'
export type CommandCodeManagedScriptTarget = 'local' | 'posix'
@@ -36,7 +35,6 @@ export function buildCommandCodeManagedScript(
'if not "%ORCA_AGENT_HOOK_TOKEN%"=="" exit /b 0',
'for /f "tokens=2 delims==" %%P in (\'findstr /b /c:"set ORCA_AGENT_HOOK_PORT=" "%~1" 2^>nul\') do if "%%P"=="%ORCA_AGENT_HOOK_PORT%" call "%~1" 2>nul',
'exit /b 0',
...buildWindowsHookStdinDrainEpilogue(),
''
].join('\r\n')
}