feat: host authenticated Claude Code in workspace PTY - #22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problema e resultado
A TUI
workspacesó simulava Claude. Agoraworkspace --claude --project <dir> --state <private-dir>hospeda o binário Claude Code original em PTY, usando o login já feito na CLI oficial. Teclado, colagem e redimensionamento chegam ao processo;--resumereabre o último ID nativo do projeto. A Memory Bee guarda somente IDs e códigos de saída em estado privado, sem tokens ou transcrição.Validação
cargo build --lockedcargo fmt --all -- --checkcargo clippy --locked --all-targets -- -D warningscargo test --lockedpython3 scripts/check_claude_native_pty.py(CLI falsa: argumentos, diretório, entrada, retomada, estado privado, recusa sem TTY, restauração)python3 scripts/check_dashboard_pty.pypython3 scripts/check_workspace_pty.pyepython3 scripts/check_bundle.pyno venv de validaçãogit diff --check/exit, sem prompt de modelo.Autorrevisão; sem revisão independente. O ensaio humano de conversa, ferramentas, permissões e retomada real está no item 51 de
docs/MANUAL_TESTS.md.Limites
Este é o primeiro recorte nativo Claude, com a interface original dentro da moldura Bee. Exportação integrada, interface própria de conversa, perfis isolados e Codex real permanecem pendentes; o lançamento completo continua condicionado aos dois agentes.