Skip to main content

Module classifier

Module classifier 

Source
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§

AgentType
Agent type selector for the shim classifier.
ScreenVerdict
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.