Commit graph

12 commits

Author SHA1 Message Date
Dax Raad
4673bfbaa0 feat(cli): log startup info
Emit a log entry on CLI startup with version, channel, and local flag
so every CLI process is visible in opencode.log from the start.
2026-06-27 13:45:42 -04:00
Dax Raad
7edd6c3a1d feat(cli): use installation version and document API debugging
- Replace hardcoded "local" version string with InstallationVersion
- Document DESCRIPTION
  Make a request to the running server

USAGE
  opencode api [flags] <operation | method path...>

ARGUMENTS
  operation | method path... stringOpenAPI operation ID, or an HTTP method followed by a path

FLAGS
  --data, -d string      Request body
  --header, -H string    Request header in name:value form
  --param key=value      OpenAPI path or query parameter

GLOBAL FLAGS
  --help, -h                                                          Show help information
  --version, -v                                                       Show version information
  --completions <bash|zsh|fish|sh>                                    Print shell completion script (choices: bash, zsh, fish, sh)
  --log-level <all|trace|debug|info|warn|warning|error|fatal|none>    Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none) server/API debugging command in AGENTS.md
2026-06-27 13:18:22 -04:00
Dax Raad
5df049d081 feat(cli): add self-update service
Check the npm registry (at most once per 24h, file-locked) for newer
@opencode-ai/cli releases and act on a host-level autoupdate policy read
from config. Apply patch updates automatically, confirm minor updates
interactively, and never auto-update across majors. Skip local installs
and honor the disable flag. Wired into the default TUI command
(interactive) and serve (background).
2026-06-27 00:51:45 -04:00
Dax Raad
e6f660fecf feat(tui): add v2 terminal interface 2026-06-26 14:38:25 -04:00
Dax Raad
784eea3911 feat(cli): add API request command 2026-06-23 23:35:20 -04:00
Dax
fe0c4f8c74
refactor(server): canonicalize service API (#31049) 2026-06-07 03:27:28 +00:00
Dax
1ff19103a2
feat(core): add command registry (#30624) 2026-06-04 02:57:43 -04:00
Dax
83452558f7
refactor(core): move v1 schemas into core (#30473) 2026-06-03 02:42:13 +00:00
Dax
7f571d36ea
refactor(core): move database schema ownership (#29068)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-30 21:08:38 -04:00
Dax Raad
9b915e70bd v2: default agents 2026-05-30 18:57:42 -04:00
opencode-agent[bot]
0d2508ffd5 chore: generate 2026-05-30 04:51:39 +00:00
Dax Raad
181e58f50a feat(cli): add effect cli scaffold 2026-05-30 00:49:52 -04:00