@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.
- package/lib/engine-login.ts +7 -1
- package/package.json +1 -1
package/lib/engine-login.ts
CHANGED
|
@@ -433,7 +433,13 @@ export class EngineLoginManager {
|
|
|
433
433
|
}
|
|
434
434
|
operation.inputUsed = true;
|
|
435
435
|
operation.outputTail = "";
|
|
436
|
-
|
|
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;
|