(t0)
| 378 | setLoginWithCodex: (value: boolean) => void; |
| 379 | }; |
| 380 | function OAuthStatusMessage(t0) { |
| 381 | const $ = _c(52); |
| 382 | const { |
| 383 | oauthStatus, |
| 384 | mode, |
| 385 | startingMessage, |
| 386 | forcedMethodMessage, |
| 387 | showPastePrompt, |
| 388 | pastedCode, |
| 389 | setPastedCode, |
| 390 | cursorOffset, |
| 391 | setCursorOffset, |
| 392 | textInputColumns, |
| 393 | handleSubmitCode, |
| 394 | setOAuthStatus, |
| 395 | setLoginWithClaudeAi, |
| 396 | setLoginWithCodex |
| 397 | } = t0; |
| 398 | switch (oauthStatus.state) { |
| 399 | case "idle": |
| 400 | { |
| 401 | const t1 = startingMessage ? startingMessage : "Claude Code can be used with your Claude subscription or billed based on API usage through your Console account."; |
| 402 | let t2; |
| 403 | if ($[0] !== t1) { |
| 404 | t2 = <Text bold={true}>{t1}</Text>; |
| 405 | $[0] = t1; |
| 406 | $[1] = t2; |
| 407 | } else { |
| 408 | t2 = $[1]; |
| 409 | } |
| 410 | let t3; |
| 411 | if ($[2] === Symbol.for("react.memo_cache_sentinel")) { |
| 412 | t3 = <Text>Select login method:</Text>; |
| 413 | $[2] = t3; |
| 414 | } else { |
| 415 | t3 = $[2]; |
| 416 | } |
| 417 | let t4; |
| 418 | if ($[3] === Symbol.for("react.memo_cache_sentinel")) { |
| 419 | t4 = { |
| 420 | label: <Text>Claude account with subscription ·{" "}<Text dimColor={true}>Pro, Max, Team, or Enterprise</Text>{false && <Text>{"\n"}<Text color="warning">[ANT-ONLY]</Text>{" "}<Text dimColor={true}>Please use this option unless you need to login to a special org for accessing sensitive data (e.g. customer data, HIPI data) with the Console option</Text></Text>}{"\n"}</Text>, |
| 421 | value: "claudeai" |
| 422 | }; |
| 423 | $[3] = t4; |
| 424 | } else { |
| 425 | t4 = $[3]; |
| 426 | } |
| 427 | let t5; |
| 428 | if ($[4] === Symbol.for("react.memo_cache_sentinel")) { |
| 429 | t5 = { |
| 430 | label: <Text>Anthropic Console account ·{" "}<Text dimColor={true}>API usage billing</Text>{"\n"}</Text>, |
| 431 | value: "console" |
| 432 | }; |
| 433 | $[4] = t5; |
| 434 | } else { |
| 435 | t5 = $[4]; |
| 436 | } |
| 437 | let t6; |
nothing calls this directly
no test coverage detected