Documentation
¶
Overview ¶
Package agentactivity classifies live agent terminal observations without depending on tmux, Bubble Tea, or persistent conversation storage.
Index ¶
- Constants
- type Observation
- type Region
- type Result
- func Detect(ob Observation) Result
- func DetectAmp(ob Observation) Result
- func DetectAntigravity(ob Observation) Result
- func DetectClaude(ob Observation) Result
- func DetectCodex(ob Observation) Result
- func DetectCopilot(ob Observation) Result
- func DetectCursor(ob Observation) Result
- func DetectGrok(ob Observation) Result
- func DetectOpenCode(ob Observation) Result
- func DetectPi(ob Observation) Result
- func Evaluate(ob Observation, rules []Rule) Result
- type Rule
- type State
- type Tracker
Constants ¶
const IdleDebounce = 400 * time.Millisecond
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observation ¶
type Result ¶
type Result struct {
State State
Evidence string
VisibleIdle bool
VisibleWorking bool
VisibleBlocker bool
SkipStateUpdate bool
// FallbackIdle distinguishes provider-owned explicit idle evidence from the
// conservative no-match policy for a positively identified live process.
// Fallback idle may establish/display idle, but cannot announce completion.
FallbackIdle bool
}
func Detect ¶
func Detect(ob Observation) Result
Detect dispatches an observation to the expected provider probe. Keeping dispatch here lets the workspace poll remain product-neutral while each provider owns its evidence table.
func DetectAmp ¶
func DetectAmp(ob Observation) Result
func DetectAntigravity ¶
func DetectAntigravity(ob Observation) Result
func DetectClaude ¶
func DetectClaude(ob Observation) Result
func DetectCodex ¶
func DetectCodex(ob Observation) Result
DetectCodex requires live process identity before evaluating Codex-owned UI. tmux commonly reports "node" for the npm-installed Codex launcher.
func DetectCopilot ¶
func DetectCopilot(ob Observation) Result
func DetectCursor ¶
func DetectCursor(ob Observation) Result
func DetectGrok ¶
func DetectGrok(ob Observation) Result
func DetectOpenCode ¶
func DetectOpenCode(ob Observation) Result
func DetectPi ¶
func DetectPi(ob Observation) Result
func Evaluate ¶
func Evaluate(ob Observation, rules []Rule) Result
Evaluate applies rules in caller-supplied priority order. Rules are kept deliberately small: provider files own their evidence and ordering.