summaryrefslogtreecommitdiff
path: root/internal/showcase/showcase.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-19 21:10:30 +0200
committerPaul Buetow <paul@buetow.org>2026-03-19 21:10:30 +0200
commita694dd751eb16d47b0956facd5594ef575c9dce4 (patch)
tree7be0801d61f1daf17a5e96b6e38c16556f458ce9 /internal/showcase/showcase.go
parentb1faeca09f1cd98a64e5c7c17db990b19803750a (diff)
chore(release): bump version to 0.15.8v0.15.8
Remove aichat support from release notes and showcase AI tool chains. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/showcase/showcase.go')
-rw-r--r--internal/showcase/showcase.go23
1 files changed, 3 insertions, 20 deletions
diff --git a/internal/showcase/showcase.go b/internal/showcase/showcase.go
index 24662e9..25f28f9 100644
--- a/internal/showcase/showcase.go
+++ b/internal/showcase/showcase.go
@@ -216,7 +216,7 @@ func findReadmeContent(repoPath string) ([]byte, string, bool) {
func selectSummaryTool(aiTool string) string {
switch aiTool {
case "opencode", "":
- // Default chain: opencode → amp → hexai → claude → aichat
+ // Default chain: opencode → amp → hexai → claude
if _, err := exec.LookPath("opencode"); err == nil {
return "opencode"
}
@@ -229,11 +229,8 @@ func selectSummaryTool(aiTool string) string {
if _, err := exec.LookPath("claude"); err == nil {
return "claude"
}
- if _, err := exec.LookPath("aichat"); err == nil {
- return "aichat"
- }
case "amp":
- // Explicit amp: amp → hexai → claude → aichat
+ // Explicit amp: amp → hexai → claude
if _, err := exec.LookPath("amp"); err == nil {
return "amp"
}
@@ -243,9 +240,6 @@ func selectSummaryTool(aiTool string) string {
if _, err := exec.LookPath("claude"); err == nil {
return "claude"
}
- if _, err := exec.LookPath("aichat"); err == nil {
- return "aichat"
- }
case "claude", "claude-code":
if _, err := exec.LookPath("claude"); err == nil {
return "claude"
@@ -253,10 +247,7 @@ func selectSummaryTool(aiTool string) string {
if _, err := exec.LookPath("hexai"); err == nil {
return "hexai"
}
- if _, err := exec.LookPath("aichat"); err == nil {
- return "aichat"
- }
- case "hexai", "aichat":
+ case "hexai":
if _, err := exec.LookPath(aiTool); err == nil {
return aiTool
}
@@ -297,14 +288,6 @@ func runSummaryTool(selectedTool, prompt, repoPath, readmeFile string, readmeCon
cmd = exec.Command("hexai", prompt)
cmd.Stdin = strings.NewReader(string(readmeContent))
}
- case "aichat":
- fmt.Printf("Running aichat command:\n")
- if readmeFound {
- fmt.Printf(" echo <README content> | aichat \"%s\"\n", prompt)
- fmt.Printf(" Using %s as input\n", readmeFile)
- cmd = exec.Command("aichat", prompt)
- cmd.Stdin = strings.NewReader(string(readmeContent))
- }
}
if cmd == nil {