GeezerVison is showing github.com — chore: rename · jpr5/opencode@2391e33
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: README.md +5-3Lines changed: 5 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -35,7 +35,7 @@ curl -fsSL https://opencode.ai/install | VERSION=0.1.0 bash | 35 | 35 | ### Using Homebrew (macOS and Linux) | 36 | 36 |
| 37 | 37 | ```bash | 38 | | -brew install opencode-ai/tap/opencode | | 38 | +brew install sst/tap/opencode | 39 | 39 | ``` | 40 | 40 |
| 41 | 41 | ### Using AUR (Arch Linux) | @@ -51,7 +51,7 @@ paru -S opencode-bin | 51 | 51 | ### Using Go | 52 | 52 |
| 53 | 53 | ```bash | 54 | | -go install github.com/opencode-ai/opencode@latest | | 54 | +go install github.com/sst/opencode@latest | 55 | 55 | ``` | 56 | 56 |
| 57 | 57 | ## Configuration | @@ -396,9 +396,11 @@ OpenCode supports custom commands that can be created by users to quickly send p | 396 | 396 | Custom commands are predefined prompts stored as Markdown files in one of three locations: | 397 | 397 |
| 398 | 398 | 1. **User Commands** (prefixed with `user:`): | | 399 | + | 399 | 400 | ``` | 400 | 401 | $XDG_CONFIG_HOME/opencode/commands/ | 401 | 402 | ``` | | 403 | + | 402 | 404 | (typically `~/.config/opencode/commands/` on Linux/macOS) | 403 | 405 |
| 404 | 406 | or | @@ -541,7 +543,7 @@ While the LSP client implementation supports the full LSP protocol (including co | 541 | 543 |
| 542 | 544 | ```bash | 543 | 545 | # Clone the repository | 544 | | -git clone https://github.com/opencode-ai/opencode.git | | 546 | +git clone https://github.com/sst/opencode.git | 545 | 547 | cd opencode | 546 | 548 |
| 547 | 549 | # Build | |
Collapse file Copy file name to clipboardExpand all lines: cmd/root.go +9-9Lines changed: 9 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -11,16 +11,16 @@ import ( | 11 | 11 |
| 12 | 12 | tea "github.com/charmbracelet/bubbletea" | 13 | 13 | zone "github.com/lrstanley/bubblezone" | 14 | | - "github.com/opencode-ai/opencode/internal/app" | 15 | | - "github.com/opencode-ai/opencode/internal/config" | 16 | | - "github.com/opencode-ai/opencode/internal/db" | 17 | | - "github.com/opencode-ai/opencode/internal/llm/agent" | 18 | | - "github.com/opencode-ai/opencode/internal/logging" | 19 | | - "github.com/opencode-ai/opencode/internal/lsp/discovery" | 20 | | - "github.com/opencode-ai/opencode/internal/pubsub" | 21 | | - "github.com/opencode-ai/opencode/internal/tui" | 22 | | - "github.com/opencode-ai/opencode/internal/version" | 23 | 14 | "github.com/spf13/cobra" | | 15 | + "github.com/sst/opencode/internal/app" | | 16 | + "github.com/sst/opencode/internal/config" | | 17 | + "github.com/sst/opencode/internal/db" | | 18 | + "github.com/sst/opencode/internal/llm/agent" | | 19 | + "github.com/sst/opencode/internal/logging" | | 20 | + "github.com/sst/opencode/internal/lsp/discovery" | | 21 | + "github.com/sst/opencode/internal/pubsub" | | 22 | + "github.com/sst/opencode/internal/tui" | | 23 | + "github.com/sst/opencode/internal/version" | 24 | 24 | ) | 25 | 25 |
| 26 | 26 | var rootCmd = &cobra.Command{ | |
Collapse file Copy file name to clipboardExpand all lines: cmd/schema/main.go +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | "fmt" | 6 | 6 | "os" | 7 | 7 |
| 8 | | - "github.com/opencode-ai/opencode/internal/config" | 9 | | - "github.com/opencode-ai/opencode/internal/llm/models" | | 8 | + "github.com/sst/opencode/internal/config" | | 9 | + "github.com/sst/opencode/internal/llm/models" | 10 | 10 | ) | 11 | 11 |
| 12 | 12 | // JSONSchemaType represents a JSON Schema type | |
Collapse file Copy file name to clipboardExpand all lines: go.mod +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -module github.com/opencode-ai/opencode | | 1 | +module github.com/sst/opencode | 2 | 2 |
| 3 | 3 | go 1.24.0 | 4 | 4 |
| |
Collapse file Copy file name to clipboardExpand all lines: install +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,15 +40,15 @@ INSTALL_DIR=$HOME/.opencode/bin | 40 | 40 | mkdir -p "$INSTALL_DIR" | 41 | 41 |
| 42 | 42 | if [ -z "$requested_version" ]; then | 43 | | - url="https://github.com/opencode-ai/opencode/releases/latest/download/$filename" | 44 | | - specific_version=$(curl -s https://api.github.com/repos/opencode-ai/opencode/releases/latest | awk -F'"' '/"tag_name": "/ {gsub(/^v/, "", $4); print $4}') | | 43 | + url="https://github.com/sst/opencode/releases/latest/download/$filename" | | 44 | + specific_version=$(curl -s https://api.github.com/repos/sst/opencode/releases/latest | awk -F'"' '/"tag_name": "/ {gsub(/^v/, "", $4); print $4}') | 45 | 45 |
| 46 | 46 | if [[ $? -ne 0 ]]; then | 47 | 47 | echo "${RED}Failed to fetch version information${NC}" | 48 | 48 | exit 1 | 49 | 49 | fi | 50 | 50 | else | 51 | | - url="https://github.com/opencode-ai/opencode/releases/download/v${requested_version}/$filename" | | 51 | + url="https://github.com/sst/opencode/releases/download/v${requested_version}/$filename" | 52 | 52 | specific_version=$requested_version | 53 | 53 | fi | 54 | 54 |
| |
Collapse file Copy file name to clipboardExpand all lines: internal/app/app.go +10-10Lines changed: 10 additions & 10 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,16 +9,16 @@ import ( | 9 | 9 |
| 10 | 10 | "log/slog" | 11 | 11 |
| 12 | | - "github.com/opencode-ai/opencode/internal/config" | 13 | | - "github.com/opencode-ai/opencode/internal/history" | 14 | | - "github.com/opencode-ai/opencode/internal/llm/agent" | 15 | | - "github.com/opencode-ai/opencode/internal/logging" | 16 | | - "github.com/opencode-ai/opencode/internal/lsp" | 17 | | - "github.com/opencode-ai/opencode/internal/message" | 18 | | - "github.com/opencode-ai/opencode/internal/permission" | 19 | | - "github.com/opencode-ai/opencode/internal/session" | 20 | | - "github.com/opencode-ai/opencode/internal/status" | 21 | | - "github.com/opencode-ai/opencode/internal/tui/theme" | | 12 | + "github.com/sst/opencode/internal/config" | | 13 | + "github.com/sst/opencode/internal/history" | | 14 | + "github.com/sst/opencode/internal/llm/agent" | | 15 | + "github.com/sst/opencode/internal/logging" | | 16 | + "github.com/sst/opencode/internal/lsp" | | 17 | + "github.com/sst/opencode/internal/message" | | 18 | + "github.com/sst/opencode/internal/permission" | | 19 | + "github.com/sst/opencode/internal/session" | | 20 | + "github.com/sst/opencode/internal/status" | | 21 | + "github.com/sst/opencode/internal/tui/theme" | 22 | 22 | ) | 23 | 23 |
| 24 | 24 | type App struct { | |
Collapse file Copy file name to clipboardExpand all lines: internal/app/lsp.go +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -6,10 +6,10 @@ import ( | 6 | 6 |
| 7 | 7 | "log/slog" | 8 | 8 |
| 9 | | - "github.com/opencode-ai/opencode/internal/config" | 10 | | - "github.com/opencode-ai/opencode/internal/logging" | 11 | | - "github.com/opencode-ai/opencode/internal/lsp" | 12 | | - "github.com/opencode-ai/opencode/internal/lsp/watcher" | | 9 | + "github.com/sst/opencode/internal/config" | | 10 | + "github.com/sst/opencode/internal/logging" | | 11 | + "github.com/sst/opencode/internal/lsp" | | 12 | + "github.com/sst/opencode/internal/lsp/watcher" | 13 | 13 | ) | 14 | 14 |
| 15 | 15 | func (app *App) initLSPClients(ctx context.Context) { | |
Collapse file Copy file name to clipboardExpand all lines: internal/config/config.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,8 +10,8 @@ import ( | 10 | 10 | "path/filepath" | 11 | 11 | "strings" | 12 | 12 |
| 13 | | - "github.com/opencode-ai/opencode/internal/llm/models" | 14 | 13 | "github.com/spf13/viper" | | 14 | + "github.com/sst/opencode/internal/llm/models" | 15 | 15 | ) | 16 | 16 |
| 17 | 17 | // MCPType defines the type of MCP (Model Control Protocol) server. | |
Collapse file Copy file name to clipboardExpand all lines: internal/db/connect.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 9 | 9 | _ "github.com/ncruces/go-sqlite3/driver" | 10 | 10 | _ "github.com/ncruces/go-sqlite3/embed" | 11 | 11 |
| 12 | | - "github.com/opencode-ai/opencode/internal/config" | | 12 | + "github.com/sst/opencode/internal/config" | 13 | 13 | "log/slog" | 14 | 14 |
| 15 | 15 | "github.com/pressly/goose/v3" | |
Collapse file Copy file name to clipboardExpand all lines: internal/diff/diff.go +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,9 +15,9 @@ import ( | 15 | 15 | "github.com/aymanbagabas/go-udiff" | 16 | 16 | "github.com/charmbracelet/lipgloss" | 17 | 17 | "github.com/charmbracelet/x/ansi" | 18 | | - "github.com/opencode-ai/opencode/internal/config" | 19 | | - "github.com/opencode-ai/opencode/internal/tui/theme" | 20 | 18 | "github.com/sergi/go-diff/diffmatchpatch" | | 19 | + "github.com/sst/opencode/internal/config" | | 20 | + "github.com/sst/opencode/internal/tui/theme" | 21 | 21 | ) | 22 | 22 |
| 23 | 23 | // ------------------------------------------------------------------------- | @@ -648,7 +648,7 @@ func applyHighlighting(content string, segments []Segment, segmentType LineType, | 648 | 648 | r, g, b, _ = bgColor.RGBA() | 649 | 649 | sb.WriteString(fmt.Sprintf("%d;%d;%dm", r>>8, g>>8, b>>8)) | 650 | 650 | sb.WriteString(char) | 651 | | - | | 651 | + | 652 | 652 | // Full reset of all attributes to ensure clean state | 653 | 653 | sb.WriteString("\x1b[0m") | 654 | 654 |
| |
|