Skip to content

Commit 1b47032

Browse files
authored
app: rename to tinker (#168)
* Rename app to tinker * Update name
1 parent ae8957e commit 1b47032

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+152
-166
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: go version
2828

2929
- name: Install dependencies
30-
run: go install github.com/honganh1206/clue
30+
run: go install github.com/honganh1206/tinker
3131
#
3232
# - name: Check formatting
3333
# run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ AGENT.md
3232

3333
dist/
3434
refs/
35+
bin/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ list/conversations:
1414
go run ./main.go conversation -l
1515
build:
1616
$(eval VERSION := $(shell cat VERSION))
17-
go build -ldflags="-s -X 'github.com/honganh1206/clue/cmd.Version=$(VERSION)'" -o bin/clue main.go
17+
go build -ldflags="-s -X 'github.com/honganh1206/tinker/cmd.Version=$(VERSION)'" -o bin/tinker main.go
1818
coverage:
1919
go test ./... -coverprofile=coverage.out
2020
go tool cover -html=coverage.out

README.md

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
[![justforfunnoreally.dev badge](https://img.shields.io/badge/justforfunnoreally-dev-9ff)](https://justforfunnoreally.dev)
22

3-
<div class="title-block" style="text-align: center;" align="center">
4-
5-
# Clue - Simple AI Coding Agent in Go
6-
7-
<p><img title="clue logo" src="assets/images/clue-logo.svg" width="320" height="320"></p>
8-
9-
</div>
10-
11-
If this proves to be helpful to anyone, consider it my thanks to the open-source community :)
12-
13-
(Important) Read through this wonderful article on [how to build an agent by Thorsten Ball](https://ampcode.com/how-to-build-an-agent) and follow along if possible
3+
# Tinker
144

155
## Dependencies
166

@@ -28,32 +18,32 @@ export GOOGLE_API_KEY="your-api-key-here"
2818
2. Run the installation script for the latest version (Linux only at the moment):
2919

3020
```bash
31-
curl -fsSL https://raw.githubusercontent.com/honganh1206/clue/main/scripts/install.sh | sudo -E bash
21+
curl -fsSL https://raw.githubusercontent.com/honganh1206/tinker/main/scripts/install.sh | sudo -E bash
3222
```
3323

3424
## MCP
3525

36-
To add MCP servers to clue:
26+
To add MCP servers to tinker:
3727

3828
```sh
39-
clue mcp --server-cmd "my-server:npx @modelcontextprotocol/server-everything"
29+
tinker mcp --server-cmd "my-server:npx @modelcontextprotocol/server-everything"
4030
```
4131

4232
## Breaking Changes
4333

44-
> **⚠️ WARNING**: If you have a running clue daemon from a previous version, you must purge it before installing the new version:
34+
> **⚠️ WARNING**: If you have a running tinker daemon from a previous version, you must purge it before installing the new version:
4535
4636
1. Disable the systemd service:
4737

4838
```bash
49-
sudo systemctl disable clue
50-
sudo systemctl stop clue
39+
sudo systemctl disable tinker
40+
sudo systemctl stop tinker
5141
```
5242

53-
2. Identify the clue process:
43+
2. Identify the tinker process:
5444

5545
```bash
56-
ps aux | grep clue
46+
ps aux | grep tinker
5747
```
5848

5949
3. Kill the process entirely (replace `<PID>` with the actual process ID):
@@ -65,11 +55,11 @@ kill -9 <PID>
6555
4. Remove the service file:
6656

6757
```bash
68-
sudo rm /etc/systemd/system/clue.service
58+
sudo rm /etc/systemd/system/tinker.service
6959
sudo systemctl daemon-reload
7060
```
7161

72-
5. Move the existing `conversation.db` from `~/.local/.clue` to `~/.clue` and rename the database to `clue.db`
62+
5. Move the existing `conversation.db` from `~/.local/.tinker` to `~/.tinker` and rename the database to `tinker.db`
7363

7464
## Development
7565

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.3
1+
0.2.4

agent/agent.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import (
77
"strings"
88
"sync"
99

10-
"github.com/honganh1206/clue/inference"
11-
"github.com/honganh1206/clue/mcp"
12-
"github.com/honganh1206/clue/message"
13-
"github.com/honganh1206/clue/server/api"
14-
"github.com/honganh1206/clue/server/data"
15-
"github.com/honganh1206/clue/tools"
16-
"github.com/honganh1206/clue/ui"
10+
"github.com/honganh1206/tinker/inference"
11+
"github.com/honganh1206/tinker/mcp"
12+
"github.com/honganh1206/tinker/message"
13+
"github.com/honganh1206/tinker/server/api"
14+
"github.com/honganh1206/tinker/server/data"
15+
"github.com/honganh1206/tinker/tools"
16+
"github.com/honganh1206/tinker/ui"
1717
)
1818

1919
type PlanUpdateCallback func(*data.Plan)

agent/agent_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/mock"
1212

13-
"github.com/honganh1206/clue/mcp"
14-
"github.com/honganh1206/clue/message"
15-
"github.com/honganh1206/clue/server/api"
16-
"github.com/honganh1206/clue/server/data"
17-
"github.com/honganh1206/clue/tools"
13+
"github.com/honganh1206/tinker/mcp"
14+
"github.com/honganh1206/tinker/message"
15+
"github.com/honganh1206/tinker/server/api"
16+
"github.com/honganh1206/tinker/server/data"
17+
"github.com/honganh1206/tinker/tools"
1818
)
1919

2020
// Mock implementations

agent/mcp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"os"
77

8-
"github.com/honganh1206/clue/mcp"
9-
"github.com/honganh1206/clue/tools"
8+
"github.com/honganh1206/tinker/mcp"
9+
"github.com/honganh1206/tinker/tools"
1010
)
1111

1212
func (a *Agent) RegisterMCPServers() {

agent/subagent.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"encoding/json"
66
"fmt"
77

8-
"github.com/honganh1206/clue/inference"
9-
"github.com/honganh1206/clue/message"
10-
"github.com/honganh1206/clue/tools"
8+
"github.com/honganh1206/tinker/inference"
9+
"github.com/honganh1206/tinker/message"
10+
"github.com/honganh1206/tinker/tools"
1111
)
1212

1313
// Subagent is a lightweight agent for executing sub-tasks like finder

agent/subagent_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/mock"
1212

13-
"github.com/honganh1206/clue/message"
14-
"github.com/honganh1206/clue/tools"
13+
"github.com/honganh1206/tinker/message"
14+
"github.com/honganh1206/tinker/tools"
1515
)
1616

1717
// Test helpers for subagent

0 commit comments

Comments
 (0)