From d24a40f2f66999f36ab4d0e26cfe88c38d12e64e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 18 Mar 2026 08:50:57 +0200 Subject: feat(ai): add opencode as default AI tool for releases and showcases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace amp with opencode (local Ollama gpt-oss:120b) as the default AI tool. Opencode is tried first in both release notes generation and showcase summaries, with amp as the first fallback in the chain: opencode → amp → hexai → claude → aichat. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- internal/cmd/sync.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/cmd/sync.go') diff --git a/internal/cmd/sync.go b/internal/cmd/sync.go index 5681ccc..75d8c88 100644 --- a/internal/cmd/sync.go +++ b/internal/cmd/sync.go @@ -47,8 +47,8 @@ var syncRepoCmd = &cobra.Command{ # Sync without AI-generated release notes gitsyncer sync repo myproject --no-ai-release-notes - # Auto-create releases using amp for AI notes -gitsyncer sync repo myproject --auto-create-releases --ai-tool amp`, + # Auto-create releases using opencode for AI notes (default) +gitsyncer sync repo myproject --auto-create-releases --ai-tool opencode`, Run: func(cmd *cobra.Command, args []string) { flags := buildFlags() flags.SyncRepo = args[0] @@ -194,7 +194,7 @@ func init() { syncCmd.PersistentFlags().BoolVar(&noReleases, "no-releases", false, "skip release checking after sync") syncCmd.PersistentFlags().BoolVar(&autoCreate, "auto-create-releases", false, "automatically create releases without confirmation") syncCmd.PersistentFlags().BoolVar(&noAIReleaseNotes, "no-ai-release-notes", false, "disable AI-generated release notes (AI notes are enabled by default)") - syncCmd.PersistentFlags().StringVar(&syncAITool, "ai-tool", "amp", "AI tool to use for release notes when auto-creating (amp, claude, aichat, or hexai; amp is tried first if available)") + syncCmd.PersistentFlags().StringVar(&syncAITool, "ai-tool", "opencode", "AI tool to use for release notes when auto-creating (opencode, amp, claude, aichat, or hexai; opencode is tried first if available)") syncCmd.PersistentFlags().BoolVarP(&syncForce, "force", "f", false, "force sync even if normal sync interval checks would skip a repository") syncCmd.PersistentFlags().BoolVar(&throttle, "throttle", false, "throttle syncing based on local repo activity") } -- cgit v1.2.3