blob: 8b4ba28a651281daf15f5d3a08479524fbcbc7dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Package hexaiaction provides core types and constants for hexai-tmux-action.
package hexaiaction
type ActionKind string
const (
ActionSkip ActionKind = "skip"
ActionRewrite ActionKind = "rewrite"
ActionDiagnostics ActionKind = "diagnostics"
ActionDocument ActionKind = "document"
ActionGoTest ActionKind = "gotest"
ActionSimplify ActionKind = "simplify"
// ActionCustom represents a configured custom action from the submenu.
ActionCustom ActionKind = "custom"
// ActionCustomPrompt is the free-form prompt opened in the editor (hotkey 'p').
ActionCustomPrompt ActionKind = "custom_prompt"
)
// InputParts represents parsed stdin input for actions.
type InputParts struct {
Selection string
Diagnostics []string
}
|