Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 0 additions & 69 deletions .github/workflows/release.yml

This file was deleted.

28 changes: 17 additions & 11 deletions config/clawde.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
# clawde configuration file
# Generated during install — edit with `clawde config`
#
# Only the keys marked [active] below change clawde's behaviour today. Keys
# marked [reserved] are written for forward compatibility but are not read yet;
# editing them has no effect until a release wires them up.

[proxy]
# CCProxy settings
# [active] CCProxy listen address. Read by `clawde start` / `status`.
port = 8080
host = "127.0.0.1"

[claude]
# Authentication method: "oauth" or "cli_token"
# [reserved] Authentication is always the browser OAuth flow via `clawde auth`
# today. auth_method / cli_token_path are not consumed yet.
auth_method = "oauth"
# Path to existing Claude CLI token (used when auth_method = "cli_token")
cli_token_path = ""

[opencode]
# OpenCode provider config
provider_name = "clawde"
# Auto-start services on boot
# [active] auto_start controls whether the installer sets up boot/login
# auto-start of the proxy (systemd user service / scheduled task).
auto_start = false
# NOTE: the OpenCode provider itself (id "ccproxy-claude", baseURL, apiKey) is
# defined in opencode.json by the installer, not here — that file is the single
# source of truth for provider wiring.

[models]
# Which models to expose from Claude Work plan
# "all" = discover dynamically, or specify a list
# [reserved] Model exposure is currently fixed by the provider entry in
# opencode.json; this key is not consumed yet.
expose = "all"

[logging]
# Log directory (defaults to platform-specific)
# Linux/WSL: ~/.local/share/clawde/logs
# Windows: %APPDATA%\clawde\logs
# [reserved] Logs always go to the platform log dir (Linux/WSL:
# ~/.local/share/clawde/logs, Windows: %LOCALAPPDATA%\clawde\logs). level /
# rotation_days are not consumed yet.
level = "info"
rotation_days = 7
20 changes: 12 additions & 8 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ clawde/
├── docs/
│ └── ARCHITECTURE.md # This file
└── .github/
└── workflows/
└── release.yml # Build + publish releases
└── workflows/ # CI (lint / script checks)
```

## Install flow
Expand Down Expand Up @@ -85,10 +84,15 @@ clawde/

Custom OpenCode agent modes are developed in the OpenCode fork (`ClintonSarkar/opencode`), not in this repo. clawde installs the binary from that fork's releases, so any agent modes you add there are automatically available to clawde users.

## Release workflow
## Updates

GitHub Actions in this repo:
1. Triggered on tag push (e.g., `v0.1.0`)
2. Downloads/builds OpenCode binary for linux-x64, linux-arm64, windows-x64
3. Publishes as GitHub release assets
4. Users get updates via `clawde update`
This repo does **not** publish its own release artifacts. Updates flow through
`clawde update`, which:
1. Self-updates the `clawde` CLI script from `raw.githubusercontent.com/.../main`
(hash-compared; backed up before replacing).
2. Upgrades OpenCode via the binary's own `opencode upgrade`.
3. Pulls the latest CCProxy binary from the `ClintonSarkar/ccproxy-api` fork's
GitHub releases.

The OpenCode binary itself comes from the `ClintonSarkar/opencode` fork's
releases (see External dependencies above), not from this repo.