fix(claude-adapter): add modern Claude Code banner tokens to ready_tokens
This commit is contained in:
@@ -60,7 +60,7 @@ done
|
|||||||
|
|
||||||
# Central TUI dialog and readiness validation tokens (OP-6)
|
# Central TUI dialog and readiness validation tokens (OP-6)
|
||||||
_MAM_DIALOG_TOKENS='Do you trust the files|Yes, proceed|No, exit|Allow this|Press Enter to continue|browser to authenticate|Use arrow keys|Esc to cancel|Resuming the full session|Resume from summary'
|
_MAM_DIALOG_TOKENS='Do you trust the files|Yes, proceed|No, exit|Allow this|Press Enter to continue|browser to authenticate|Use arrow keys|Esc to cancel|Resuming the full session|Resume from summary'
|
||||||
_MAM_READY_TOKENS_CLAUDE='Anthropic|Assistant|Chat|Welcome'
|
_MAM_READY_TOKENS_CLAUDE='Anthropic|Assistant|Chat|Welcome|Claude Code|Opus|Sonnet|Haiku'
|
||||||
|
|
||||||
# Workspace-relative defaults with environment overrides (Phase Z)
|
# Workspace-relative defaults with environment overrides (Phase Z)
|
||||||
HOME_DIR="${HOME_DIR:-$HOME}"
|
HOME_DIR="${HOME_DIR:-$HOME}"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class ClaudeAgentAdapter(BaseAgentAdapter):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def ready_tokens(self) -> str:
|
def ready_tokens(self) -> str:
|
||||||
return 'Anthropic|Assistant|Chat|Welcome'
|
return 'Anthropic|Assistant|Chat|Welcome|Claude Code|Opus|Sonnet|Haiku'
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def exit_key(self) -> str:
|
def exit_key(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user