Skip to content

Commit a1d625e

Browse files
committed
messages cleanup
1 parent 86b60ea commit a1d625e

2 files changed

Lines changed: 32 additions & 31 deletions

File tree

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
<p align="center">
2-
<a href="https://axoncode.ai">
2+
<a href="https://opencode.ai">
33
<picture>
44
<source srcset="packages/web/src/assets/logo-ornate-dark.svg" media="(prefers-color-scheme: dark)">
55
<source srcset="packages/web/src/assets/logo-ornate-light.svg" media="(prefers-color-scheme: light)">
6-
<img src="packages/web/src/assets/logo-ornate-light.svg" alt="axoncode logo">
6+
<img src="packages/web/src/assets/logo-ornate-light.svg" alt="opencode logo">
77
</picture>
88
</a>
99
</p>
1010
<p align="center">AI coding agent, built for the terminal.</p>
1111
<p align="center">
12-
<a href="https://axoncode.ai/discord"><img alt="Discord" src="https://img.shields.io/discord/1391832426048651334?style=flat-square&label=discord" /></a>
13-
<a href="https://www.npmjs.com/package/axoncode-ai"><img alt="npm" src="https://img.shields.io/npm/v/axoncode-ai?style=flat-square" /></a>
14-
<a href="https://github.com/sst/axoncode/actions/workflows/publish.yml"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/sst/axoncode/publish.yml?style=flat-square&branch=dev" /></a>
12+
<a href="https://opencode.ai/discord"><img alt="Discord" src="https://img.shields.io/discord/1391832426048651334?style=flat-square&label=discord" /></a>
13+
<a href="https://www.npmjs.com/package/opencode-ai"><img alt="npm" src="https://img.shields.io/npm/v/opencode-ai?style=flat-square" /></a>
14+
<a href="https://github.com/sst/opencode/actions/workflows/publish.yml"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/sst/opencode/publish.yml?style=flat-square&branch=dev" /></a>
1515
</p>
1616

17-
[![axoncode Terminal UI](packages/web/src/assets/lander/screenshot.png)](https://axoncode.ai)
17+
[![opencode Terminal UI](packages/web/src/assets/lander/screenshot.png)](https://opencode.ai)
1818

1919
---
2020

2121
### Installation
2222

2323
```bash
2424
# YOLO
25-
curl -fsSL https://axoncode.ai/install | bash
25+
curl -fsSL https://opencode.ai/install | bash
2626

2727
# Package managers
28-
npm i -g axoncode-ai@latest # or bun/pnpm/yarn
29-
brew install sst/tap/axoncode # macOS and Linux
30-
paru -S axoncode-bin # Arch Linux
28+
npm i -g opencode-ai@latest # or bun/pnpm/yarn
29+
brew install sst/tap/opencode # macOS and Linux
30+
paru -S opencode-bin # Arch Linux
3131
```
3232

3333
> [!TIP]
@@ -37,24 +37,24 @@ paru -S axoncode-bin # Arch Linux
3737

3838
The install script respects the following priority order for the installation path:
3939

40-
1. `$axoncode_INSTALL_DIR` - Custom installation directory
40+
1. `$opencode_INSTALL_DIR` - Custom installation directory
4141
2. `$XDG_BIN_DIR` - XDG Base Directory Specification compliant path
4242
3. `$HOME/bin` - Standard user binary directory (if exists or can be created)
43-
4. `$HOME/.axoncode/bin` - Default fallback
43+
4. `$HOME/.opencode/bin` - Default fallback
4444

4545
```bash
4646
# Examples
47-
axoncode_INSTALL_DIR=/usr/local/bin curl -fsSL https://axoncode.ai/install | bash
48-
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://axoncode.ai/install | bash
47+
opencode_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
48+
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
4949
```
5050

5151
### Documentation
5252

53-
For more info on how to configure axoncode [**head over to our docs**](https://axoncode.ai/docs).
53+
For more info on how to configure opencode [**head over to our docs**](https://opencode.ai/docs).
5454

5555
### Contributing
5656

57-
axoncode is an opinionated tool so any fundamental feature needs to go through a
57+
opencode is an opinionated tool so any fundamental feature needs to go through a
5858
design process with the core team.
5959

6060
> [!IMPORTANT]
@@ -74,7 +74,7 @@ Take a look at the git history to see what kind of PRs we end up merging.
7474
> [!NOTE]
7575
> If you do not follow the above guidelines we might close your PR.
7676
77-
To run axoncode locally you need.
77+
To run opencode locally you need.
7878

7979
- Bun
8080
- Golang 1.24.x
@@ -88,7 +88,7 @@ $ bun dev
8888

8989
#### Development Notes
9090

91-
**API Client**: After making changes to the TypeScript API endpoints in `packages/axoncode/src/server/server.ts`, you will need the axoncode team to generate a new stainless sdk for the clients.
91+
**API Client**: After making changes to the TypeScript API endpoints in `packages/opencode/src/server/server.ts`, you will need the opencode team to generate a new stainless sdk for the clients.
9292

9393
### FAQ
9494

@@ -97,14 +97,14 @@ $ bun dev
9797
It's very similar to Claude Code in terms of capability. Here are the key differences:
9898

9999
- 100% open source
100-
- Not coupled to any provider. Although Anthropic is recommended, axoncode can be used with OpenAI, Google or even local models. As models evolve the gaps between them will close and pricing will drop so being provider-agnostic is important.
101-
- A focus on TUI. axoncode is built by neovim users and the creators of [terminal.shop](https://terminal.shop); we are going to push the limits of what's possible in the terminal.
102-
- A client/server architecture. This for example can allow axoncode to run on your computer, while you can drive it remotely from a mobile app. Meaning that the TUI frontend is just one of the possible clients.
100+
- Not coupled to any provider. Although Anthropic is recommended, opencode can be used with OpenAI, Google or even local models. As models evolve the gaps between them will close and pricing will drop so being provider-agnostic is important.
101+
- A focus on TUI. opencode is built by neovim users and the creators of [terminal.shop](https://terminal.shop); we are going to push the limits of what's possible in the terminal.
102+
- A client/server architecture. This for example can allow opencode to run on your computer, while you can drive it remotely from a mobile app. Meaning that the TUI frontend is just one of the possible clients.
103103

104104
#### What's the other repo?
105105

106106
The other confusingly named repo has no relation to this one. You can [read the story behind it here](https://x.com/thdxr/status/1933561254481666466).
107107

108108
---
109109

110-
**Join our community** [Discord](https://discord.gg/axoncode) | [X.com](https://x.com/axoncode)
110+
**Join our community** [Discord](https://discord.gg/opencode) | [X.com](https://x.com/opencode)

packages/tui/internal/components/chat/messages.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -950,15 +950,16 @@ func (m *messagesComponent) renderHeader() string {
950950
}
951951

952952
var items []layout.FlexItem
953-
if shareEnabled {
954-
share := base("/share") + muted(" to create a shareable link")
955-
if m.app.Session.Share.URL != "" {
956-
share = muted(m.app.Session.Share.URL + " /unshare")
957-
}
958-
items = []layout.FlexItem{{View: share}, {View: sessionInfo}}
959-
} else {
960-
items = []layout.FlexItem{{View: headerText}, {View: sessionInfo}}
961-
}
953+
items = []layout.FlexItem{{}, {View: sessionInfo}}
954+
// if shareEnabled {
955+
// share := base("/share") + muted(" to create a shareable link")
956+
// if m.app.Session.Share.URL != "" {
957+
// share = muted(m.app.Session.Share.URL + " /unshare")
958+
// }
959+
// items = []layout.FlexItem{{View: share}, {View: sessionInfo}}
960+
// } else {
961+
// items = []layout.FlexItem{{View: headerText}, {View: sessionInfo}}
962+
// }
962963

963964
headerRow := layout.Render(
964965
layout.FlexOptions{

0 commit comments

Comments
 (0)