MCPcopy Create free account
hub / github.com/codehamr/codehamr / phase

TypeAlias phase

internal/tui/model.go:34–34  ·  view source on GitHub ↗

phase is the turn state machine and single source of truth: idle = no turn; thinking = awaiting the model, no tokens yet; streaming = content flowing; running = a tool is executing.

Source from the content-addressed store, hash-verified

32// thinking = awaiting the model, no tokens yet; streaming = content flowing;
33// running = a tool is executing.
34type phase int
35
36const (
37 phaseIdle phase = iota

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected