feat: render Claude hooks in hidden Bee workspace - #24
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
O modo Claude anterior exibia a tela nativa dentro da moldura Bee, em desacordo com a direção aprovada. Este PR mantém o Claude Code interativo em PTY oculto e desenha uma conversa e decisões de permissão na TUI da Memory Bee por meio de hooks e socket Unix privado. A moldura anterior permanece em
--claude-terminalpara diagnóstico.Escopo
PermissionRequestexige decisão explícita e nega em falha ou timeout.Ctrl+CeCtrl+Qnegam uma permissão pendente antes de interromper ou sair; teclas não decisórias não concedem acesso.Validação e revisão
cargo fmt --all -- --checkcargo test --locked(fora do sandbox para permitir socket Unix)cargo clippy --locked --all-targets -- -D warningscargo build --lockedpython3 scripts/check_claude_native_pty.pypython3 scripts/check_claude_hidden_pty.py(fora do sandbox)git diff --checkAutorrevisão; nenhuma revisão independente. Um ensaio anterior com Claude instalado mostrou uma resposta curta na Bee. O teste de Bash real foi inconclusivo.
Limitações
Prompts nativos de login/confiança sem hook podem ficar invisíveis. Permissões e ferramentas reais, histórico completo na tela, exportação integrada, perfis isolados e Codex real ainda exigem validação e implementação. Esta entrega é experimental e não libera o lançamento conjunto.