-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
171 lines (151 loc) · 3.69 KB
/
Copy path.goreleaser.yaml
File metadata and controls
171 lines (151 loc) · 3.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# GoReleaser configuration for Terminal Agent
# Documentation: https://goreleaser.com
version: 2
project_name: terminal-agent
before:
hooks:
- go mod tidy
- go mod download
builds:
- id: agent
main: ./cmd/agent
binary: agent
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
- id: agent-gui
main: ./cmd/agent-gui
binary: agent-gui
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
archives:
- id: agent
ids:
- agent
formats:
- tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
- id: agent-gui
ids:
- agent-gui
formats:
- tar.gz
name_template: >-
{{ .ProjectName }}-gui_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
use: github
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- Merge pull request
- Merge branch
groups:
- title: "New Features"
regexp: "^feat"
order: 0
- title: "Bug Fixes"
regexp: "^fix"
order: 1
- title: "Performance Improvements"
regexp: "^perf"
order: 2
- title: "Refactoring"
regexp: "^refactor"
order: 3
- title: "Other Changes"
order: 999
release:
github:
owner: laszukdawid
name: terminal-agent
draft: false
prerelease: auto
mode: replace
name_template: "{{.ProjectName}} v{{.Version}}"
# Snapcraft package configuration
#snapcrafts:
# - id: terminal-agent
# ids:
# - agent
# name: terminal-agent
# title: Terminal Agent
# publish: true
# summary: LLM-powered assistant for your terminal.
# description: |
# Terminal Agent is a CLI-first AI assistant for asking questions, running supervised terminal workflows, and switching between hosted model APIs and local runtimes.
# grade: stable
# confinement: classic
# license: Apache-2.0
# base: core22
# channel_templates:
# - stable
# apps:
# terminal-agent:
# command: agent
# aliases:
# - agent
# Homebrew Tap configuration
homebrew_casks:
- name: terminal-agent
ids:
- agent
binaries:
- agent
repository:
owner: laszukdawid
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
homepage: "https://github.com/laszukdawid/terminal-agent"
description: "An LLM Agent to help you from and within the terminal"
caveats: |
To get started with Terminal Agent:
1. Set up your API key for your preferred provider:
export OPENAI_API_KEY=your-key-here
# or
export ANTHROPIC_API_KEY=your-key-here
2. Configure your provider:
agent config set provider openai
agent config set model gpt-4o-mini
3. Start asking questions:
agent ask "What is a file descriptor?"
For more information, visit:
https://laszukdawid.github.io/terminal-agent/
Pro tip: Set up an alias for quick access:
alias aa="agent ask"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
skip_upload: auto