Files
orca/config/scripts/remote-agent-session-repro-writable-shell.mjs
T
Antonio LourencoandOrcaWin fde063618b fix(remote): create paired agent sessions without host focus (#10193)
* fix(remote): create paired agent sessions without host focus

* test(remote): assert structured resume request

* test(remote): preserve provider-separated resume coverage

* test(remote): assert paired agent focus authority

* fix(remote): separate agent host creation from viewer focus

* test(remote): harden agent-session authority validation

* test(remote): validate retired pane identity

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-07-23 20:20:00 -07:00

15 lines
359 B
JavaScript

#!/usr/bin/env node
import { appendFileSync } from 'node:fs'
const markerPath = process.argv[2]
if (!markerPath) {
process.exit(2)
}
process.stdin.setEncoding('utf8')
process.stdin.on('data', (data) => appendFileSync(markerPath, data))
setInterval(() => {}, 1_000)
process.on('SIGTERM', () => process.exit(0))
process.on('SIGINT', () => process.exit(0))