Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
24 lines
813 B
TypeScript
24 lines
813 B
TypeScript
export type PairedWebClientOptions = {
|
|
disableRemoteTerminalStallRecovery?: boolean
|
|
terminalParkingDelayMs?: number
|
|
terminalRetentionLimit?: number
|
|
waitForWorkspace?: boolean
|
|
}
|
|
|
|
export function createPairedWebClientUrl(
|
|
offerUrl: string,
|
|
options: PairedWebClientOptions
|
|
): string {
|
|
const clientUrl = new URL(offerUrl)
|
|
if (options.disableRemoteTerminalStallRecovery) {
|
|
clientUrl.searchParams.set('orcaE2EDisableRemoteTerminalStallRecovery', '1')
|
|
}
|
|
if (options.terminalParkingDelayMs !== undefined) {
|
|
clientUrl.searchParams.set('orcaE2ETerminalParkingDelayMs', `${options.terminalParkingDelayMs}`)
|
|
}
|
|
if (options.terminalRetentionLimit !== undefined) {
|
|
clientUrl.searchParams.set('orcaE2ETerminalRetentionLimit', `${options.terminalRetentionLimit}`)
|
|
}
|
|
return clientUrl.href
|
|
}
|