package app

import webhookdomain "github.com/codex-k8s/kodex/libs/go/domain/webhook"

const (
	promptTemplateKindWork       = "work"
	promptTemplateKindRevise     = "revise"
	promptTemplateKindDiscussion = "discussion"
	promptTemplateSourceSeed     = "repo_seed"

	modelGPT54           = "gpt-5.4"
	modelGPT53Codex      = "gpt-5.3-codex"
	modelGPT53CodexSpark = "gpt-5.3-codex-spark"
	modelGPT52Codex      = "gpt-5.2-codex"

	runtimeModeFullEnv  = "full-env"
	runtimeModeCodeOnly = "code-only"

	stateInReviewLabelDefault = webhookdomain.DefaultStateInReviewLabel
)

func normalizeTriggerKind(value string) string {
	return string(webhookdomain.NormalizeTriggerKind(value))
}

func isReviseTriggerKind(value string) bool {
	return webhookdomain.IsReviseTriggerKind(webhookdomain.NormalizeTriggerKind(value))
}
