summaryrefslogtreecommitdiff
path: root/internal/hexaiaction/types.go
blob: 708c433b97c7901ac0fa46a43ae7ad61f3ff349c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package hexaiaction

// Summary: Core types and constants for hexai-tmux-action.

type ActionKind string

const (
    ActionSkip        ActionKind = "skip"
    ActionRewrite     ActionKind = "rewrite"
    ActionDiagnostics ActionKind = "diagnostics"
    ActionDocument    ActionKind = "document"
    ActionGoTest      ActionKind = "gotest"
    ActionSimplify    ActionKind = "simplify"
)

// InputParts represents parsed stdin input for actions.
type InputParts struct {
	Selection   string
	Diagnostics []string
}