<commit_before>package plugins

import (
	"time"

	"github.com/checkr/codeflow/server/agent"
)

func init() {
	agent.RegisterApi(Project{})
	agent.RegisterApi(GitPing{})
	agent.RegisterApi(GitCommit{})
	agent.RegisterApi(GitStatus{})
	agent.RegisterApi(GitSync{})
	agent.RegisterApi(Release{})
	agent.RegisterApi(DockerBuild{})
	agent.RegisterApi(DockerDeploy{})
	agent.RegisterApi(LoadBalancer{})
	agent.RegisterApi(WebsocketMsg{})
	agent.RegisterApi(HeartBeat{})
}

type State string

const (
	Waiting  State = "waiting"
	Running        = "running"
	Fetching       = "fetching"
	Building       = "building"
	Pushing        = "pushing"
	Complete       = "complete"
	Failed         = "failed"
	Deleting       = "deleting"
	Deleted        = "deleted"
)

type Type string

const (
	File         Type = "file"
	Env               = "env"
	ProtectedEnv      = "protected-env"
	Build             = "build"
	Internal          = "internal"
	External          = "external"<commit_msg>Add Route53 event to agent registry<commit_after>package plugins

import (
	"time"

	"github.com/checkr/codeflow/server/agent"
)

func init() {
	agent.RegisterApi(Project{})
	agent.RegisterApi(GitPing{})
	agent.RegisterApi(GitCommit{})
	agent.RegisterApi(GitStatus{})
	agent.RegisterApi(GitSync{})
	agent.RegisterApi(Release{})
	agent.RegisterApi(DockerBuild{})
	agent.RegisterApi(DockerDeploy{})
	agent.RegisterApi(LoadBalancer{})
	agent.RegisterApi(WebsocketMsg{})
	agent.RegisterApi(HeartBeat{})
	agent.RegisterApi(Route53{})
}

type State string

const (
	Waiting  State = "waiting"
	Running        = "running"
	Fetching       = "fetching"
	Building       = "building"
	Pushing        = "pushing"
	Complete       = "complete"
	Failed         = "failed"
	Deleting       = "deleting"
	Deleted        = "deleted"
)

type Type string

const (
	File         Type = "file"
	Env               = "env"
	ProtectedEnv      = "protected-env"
	Build             = "build"
	Internal          = "internal"
	External          = "external"
{'fraction_non_alphanumeric': 0.12437562437562437, 'fraction_numerical': 0.001998001998001998, 'mean_word_length': 3.0628803245436105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7519042', 'n_tokens_mistral': 667, 'n_tokens_neox': 660, 'n_words': 121}