Add mobile terminal shortcut bar customization (#3012)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-05-29 16:39:52 -07:00
committed by GitHub
co-authored by Orca
parent 431b336f1b
commit 30a09f3bd9
28 changed files with 4103 additions and 2423 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ function resolveRemotePairing(
if (!pairing) {
throw new RuntimeClientError(
'invalid_argument',
'Invalid remote pairing code. Expected an orca://pair#... URL or bare pairing payload.'
'Invalid remote pairing code. Expected an orca://pair?... URL or bare pairing payload.'
)
}
return pairing
+4 -1
View File
@@ -66,7 +66,10 @@ describe('CLI remote WebSocket transport', () => {
deviceToken: runtime.deviceToken,
publicKeyB64: runtime.publicKeyB64
}
const barePayload = encodePairingOffer(offer).split('#')[1]!
const pairingUrl = encodePairingOffer(offer)
const barePayload = new URLSearchParams(pairingUrl.slice(pairingUrl.indexOf('?') + 1)).get(
'code'
)!
const client = new RuntimeClient('/tmp/unused', 5_000, barePayload)
const status = await client.getCliStatus()