@runuai/host 0.9.48 → 0.9.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -433,7 +433,13 @@ export class EngineLoginManager {
433
433
  }
434
434
  operation.inputUsed = true;
435
435
  operation.outputTail = "";
436
- const value = `${text}\n`;
436
+ // CARRIAGE RETURN, not newline: `claude setup-token` is an Ink raw-mode
437
+ // TUI whose code prompt submits only on \r. A trailing \n types the code
438
+ // and then sits forever — reproduced live 2026-08-20 (fake code + \n →
439
+ // masked input, no response; the same code + \r → immediate "OAuth
440
+ // error: Invalid code"). Every cloud-pane Claude login ever attempted
441
+ // hung on exactly this.
442
+ const value = `${text}\r`;
437
443
  if (!operation.process) {
438
444
  operation.pendingInput = value;
439
445
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runuai/host",
3
- "version": "0.9.48",
3
+ "version": "0.9.49",
4
4
  "description": "Uai host — runs ephemeral AI tasks in containers on a machine you control.",
5
5
  "license": "MIT",
6
6
  "author": "Uai Tech <team@runuai.com>",