Skip to content

Commit fa8180e

Browse files
joocursoragent
andcommitted
fix(core): stabilize local switching workflows
Route OpenCode through the canonical proxy ingress, keep desktop store normalization durable, and simplify the CLI entrypoint to core/cmd for release and dev builds. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent cc7ded5 commit fa8180e

22 files changed

Lines changed: 218 additions & 35 deletions

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This repository does **not** ship a remote multi-tenant API gateway — no billi
1010

1111
| Directory | Role |
1212
|-----------|------|
13-
| `core/` | Go CLI + local proxy core (`cmd/clovapi`, `internal/proxy`, `internal/apply`, `internal/protocol`) |
13+
| `core/` | Go CLI + local proxy core (`cmd`, `internal/proxy`, `internal/apply`, `internal/protocol`) |
1414
| `npm/` | npm launcher package (`@clovapi/cli`) that installs/calls the core binary |
1515
| `electron/` | Desktop app (Electron + Svelte 5 UI); invokes the same Go binary for proxy/switch |
1616
| `landing/` | Marketing site [clovapi.com](https://clovapi.com) (Next.js) |

core/.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before:
1010

1111
builds:
1212
- id: clovapi
13-
main: ./cmd/clovapi
13+
main: ./cmd
1414
binary: clovapi
1515
env:
1616
- CGO_ENABLED=0

core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For **Claude Code**, env wiring matches community **cc-switch** / **ccswitch**;
2727

2828
```bash
2929
cd core
30-
go build -o clovapi ./cmd/clovapi
30+
go build -o clovapi ./cmd
3131
```
3232

3333
## Install (package managers)

core/README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
```bash
2929
cd core
30-
go build -o clovapi ./cmd/clovapi
30+
go build -o clovapi ./cmd
3131
```
3232

3333
## 包管理器安装

0 commit comments

Comments
 (0)