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

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

type ActionKind string

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

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