Expand description
State classifiers: determine agent state from virtual screen content.
Each agent type (Claude, Codex, Kiro, Generic) has different prompt patterns, spinner indicators, and context exhaustion messages.
Enums§
- Agent
Type - Agent type selector for the shim classifier.
- Screen
Verdict - What the classifier thinks the agent is doing.
Functions§
- classify
- Classify screen content based on agent type.
- detect_
claude_ dialog - Legacy alias for backward compatibility in tests.
- detect_
startup_ dialog - Detect known startup dialogs that should be auto-dismissed by the shim. Works for Claude, Codex, and other agents that show trust prompts.