summaryrefslogtreecommitdiff
path: root/internal/cli
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-18 08:50:57 +0200
committerPaul Buetow <paul@buetow.org>2026-03-18 08:50:57 +0200
commitd24a40f2f66999f36ab4d0e26cfe88c38d12e64e (patch)
treec283fab3cca9eeb7b2c8cd56abf502fc9b4215ba /internal/cli
parentc0064e540e07225b5ff3a208b3b1c7dbb3f10841 (diff)
feat(ai): add opencode as default AI tool for releases and showcasesv0.15.6
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) <noreply@anthropic.com>
Diffstat (limited to 'internal/cli')
-rw-r--r--internal/cli/flags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cli/flags.go b/internal/cli/flags.go
index 8c69797..4e5e617 100644
--- a/internal/cli/flags.go
+++ b/internal/cli/flags.go
@@ -66,13 +66,13 @@ func ParseFlags() *Flags {
flag.BoolVar(&f.Clean, "clean", false, "delete all repositories in work directory (with confirmation)")
flag.StringVar(&f.DeleteRepo, "delete-repo", "", "delete specified repository from all configured organizations (with confirmation)")
flag.BoolVar(&f.Backup, "backup", false, "enable syncing to backup locations")
- flag.BoolVar(&f.Showcase, "showcase", false, "generate project showcase using AI (amp by default) after syncing")
+ flag.BoolVar(&f.Showcase, "showcase", false, "generate project showcase using AI (opencode by default) after syncing")
flag.BoolVar(&f.Force, "force", false, "force operations even when cache or sync interval checks would skip work")
flag.BoolVar(&f.BatchRun, "batch-run", false, "enable --full and --showcase (runs only once per week)")
flag.BoolVar(&f.CheckReleases, "check-releases", false, "manually check for version tags without releases and create them (with confirmation)")
flag.BoolVar(&f.NoCheckReleases, "no-check-releases", false, "disable automatic release checking after sync operations")
flag.BoolVar(&f.AutoCreateReleases, "auto-create-releases", false, "automatically create releases without confirmation prompts")
- flag.BoolVar(&f.AIReleaseNotes, "ai-release-notes", false, "generate release notes using AI (amp by default) based on git diff")
+ flag.BoolVar(&f.AIReleaseNotes, "ai-release-notes", false, "generate release notes using AI (opencode by default) based on git diff")
flag.BoolVar(&f.UpdateReleases, "update-releases", false, "update existing releases with new AI-generated notes")
flag.BoolVar(&f.Throttle, "throttle", false, "enable throttled syncing based on local activity")