The open source coding agent.
TypeScript
update mainter email
Kujtim Hoxhaf879a94c9567
diff --git a/.goreleaser.yml b/.goreleaser.ymlindex eabfb9d11cb..4a42bc94b02 100644--- a/.goreleaser.yml+++ b/.goreleaser.yml@@ -32,9 +32,9 @@ snapshot:aurs:- name: opencodehomepage: "https://github.com/opencode-ai/opencode"- description: "Deploy anything"+ description: "terminal based agent that can build anything"maintainers:- - "opencode <[email protected]>"+ - "kujtimiihoxha <[email protected]>"license: "MIT"private_key: "{{ .Env.AUR_KEY }}"git_url: "ssh://[email protected]/opencode-bin.git"@@ -49,7 +49,7 @@ brews:owner: opencode-ainame: homebrew-tapnfpms:- - maintainer: opencode+ - maintainer: kujtimiihoxhadescription: terminal based agent that can build anythingformats:- debdiff --git a/cmd/root.go b/cmd/root.goindex 8777acb8232..c2c1d9d84f6 100644--- a/cmd/root.go+++ b/cmd/root.go@@ -15,6 +15,7 @@ import ("github.com/kujtimiihoxha/opencode/internal/logging""github.com/kujtimiihoxha/opencode/internal/pubsub""github.com/kujtimiihoxha/opencode/internal/tui"+ "github.com/kujtimiihoxha/opencode/internal/version"zone "github.com/lrstanley/bubblezone""github.com/spf13/cobra")@@ -31,6 +32,10 @@ to assist developers in writing, debugging, and understanding code directly fromcmd.Help()return nil}+ if cmd.Flag("version").Changed {+ fmt.Println(version.Version)+ return nil+ }// Load the configdebug, _ := cmd.Flags().GetBool("debug")@@ -247,6 +252,7 @@ func Execute() {func init() {rootCmd.Flags().BoolP("help", "h", false, "Help")+ rootCmd.Flags().BoolP("version", "v", false, "Version")rootCmd.Flags().BoolP("debug", "d", false, "Debug")rootCmd.Flags().StringP("cwd", "c", "", "Current working directory")}