mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
* 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>
15 lines
359 B
JavaScript
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))
|