summaryrefslogtreecommitdiff
path: root/internal/cmd/showcase.go
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/cmd/showcase.go
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/cmd/showcase.go')
-rw-r--r--internal/cmd/showcase.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/cmd/showcase.go b/internal/cmd/showcase.go
index a590756..c48dee1 100644
--- a/internal/cmd/showcase.go
+++ b/internal/cmd/showcase.go
@@ -22,7 +22,7 @@ var showcaseCmd = &cobra.Command{
Short: "Generate AI-powered project showcase",
Long: `Generate a comprehensive showcase of all your projects using AI.
This feature creates a formatted document with project summaries, statistics,
-and code snippets. By default uses amp, with fallback to hexai, claude, and aichat.`,
+and code snippets. By default uses opencode (local Ollama), with fallback to amp, hexai, claude, and aichat.`,
Example: ` # Generate showcase with cached summaries
gitsyncer showcase
@@ -39,7 +39,7 @@ and code snippets. By default uses amp, with fallback to hexai, claude, and aich
gitsyncer showcase --exclude "test-.*"
# Use a specific AI tool
- gitsyncer showcase --ai-tool amp`,
+ gitsyncer showcase --ai-tool opencode`,
Run: func(cmd *cobra.Command, args []string) {
flags := buildFlags()
flags.Showcase = true
@@ -63,6 +63,6 @@ func init() {
showcaseCmd.Flags().StringVarP(&outputPath, "output", "o", "", "custom output path (default: ~/git/foo.zone-content/gemtext/about/showcase.gmi.tpl)")
showcaseCmd.Flags().StringVar(&outputFormat, "format", "gemtext", "output format: gemtext, markdown, html")
showcaseCmd.Flags().StringVar(&excludePattern, "exclude", "", "exclude repos matching pattern")
- showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "amp", "AI tool for summaries: amp, hexai, claude, claude-code, or aichat (default tries amp→hexai→claude→aichat)")
+ showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "opencode", "AI tool for summaries: opencode, amp, hexai, claude, claude-code, or aichat (default tries opencode→amp→hexai→claude→aichat)")
showcaseCmd.Flags().StringVar(&showcaseRepo, "repo", "", "only generate showcase for a single repository")
}