Source: opencode
Section: utils
Priority: optional
Maintainer: Parrot Security <team@parrotsec.org>
Build-Depends: debhelper-compat (= 13), curl, ca-certificates, unzip
Standards-Version: 4.7.2
Rules-Requires-Root: no
Homepage: https://opencode.ai
Vcs-Browser: https://github.com/anomalyco/opencode
Vcs-Git: https://github.com/anomalyco/opencode.git

Package: opencode
Architecture: amd64 arm64
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: git, xdg-utils
Description: open source AI coding agent for the terminal
 opencode is an open-source AI coding agent. It provides an interactive
 terminal UI (TUI), a headless server, and a scriptable CLI that can read,
 edit and run code, manage sessions, and talk to many LLM providers
 (OpenAI, Anthropic, Google, Bedrock, OpenRouter, ...).
 .
 The program is built with the Bun toolchain and is shipped as a
 self-contained compiled binary (the Bun runtime and all JavaScript
 dependencies are embedded), so it has no Node.js runtime dependency.
 .
 The package includes the embedded web UI. The desktop launcher starts
 `opencode serve` (the `web` command was renamed upstream), which runs the
 local API and web server and prints its URL so the UI can be opened in
 the browser. The interactive terminal UI and all other commands remain
 available by running `opencode` from a terminal.
 .
 Build note: opencode is built from source with Bun (not packaged in
 Debian). The Bun toolchain, the npm dependencies (pinned by the upstream
 bun.lock) and the models.dev provider catalog snapshot (upstream ships it
 as a committed file; the build refreshes it best-effort) are fetched from
 the network at build time, so the build requires a network-enabled build
 worker and will not run on an offline buildd. The program also refreshes
 the catalog live at runtime, so users on networked machines always see
 the current model list.
