Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

opencode-1.18.18-1.1 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: opencode Distribution: openSUSE Tumbleweed
Version: 1.18.18 Vendor: openSUSE
Release: 1.1 Build date: Sat Aug 15 08:48:52 2026
Group: Unspecified Build host: reproducible
Size: 111346933 Source RPM: opencode-1.18.18-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://opencode.ai
Summary: AI coding agent for the terminal
opencode is an AI coding agent that runs in the terminal. It works with a
range of model providers, reads and edits files in a project, runs commands,
and keeps a session history.

This build is the command line client only. The optional web interface is not
included.

It also does not update itself, install npm packages into your home
directory, or download syntax highlighting grammars from GitHub, all of which
upstream does by default. README.SUSE-maint lists the environment variables
that turn each of them back on.

Provides

Requires

License

0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BlueOak-1.0.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC0-1.0 AND ISC AND MIT

Changelog

* Sat Aug 15 2026 Martin Pluskal <mpluskal@suse.com>
  - Update to version 1.18.18:
    * Model and provider handling: pick the Kimi system prompt for
      the official Moonshot and Kimi providers, route the Muse family
      to the Meta system prompt, fix the xhigh reasoning effort for
      xai models, pass reasoning effort through for groq, mistral and
      xai, correct the sampling defaults for DeepSeek V4 Flash and
      add reasoning effort support for the Merge Gateway provider.
    * Sessions: compaction keeps recent turns whole and writes
      summaries that smaller models follow, and automatic retries are
      now capped and jittered rather than repeated immediately.
    * Attachments: PDFs can be sent to GitHub Copilot models that
      advertise PDF vision.
    * Configuration: unknown top-level fields are ignored instead of
      failing the whole configuration file.
  - Harden opencode_vendor, which is shipped as a source. None of the
    three changes the binary that gets built:
    * Install with bun --cpu and --os set to all platforms. Bun 1.4
      resolves optionalDependencies for the host alone, so on aarch64
      the x86_64 native packages are missing. A plain run stops on
      the keep list check, but --retrace rewrites that list from what
      the install produced, so it would have quietly written 505
      entries instead of 508 and left the x86_64 build to find out.
    * Keep node_modules, dist and ts-dist out of the slimmed source
      tarball wherever they are nested, not only at the top of each
      workspace package; a --retrace run leaves a compiled executable
      in packages/opencode/dist.
    * Ship the patches/ directory, which the root package.json and
      bun.lock reference by path for 17 patched dependencies. The
      build never reads it, since the dependency tarball already
      carries the patched result, but it is the record of how
      third-party code inside the executable was changed.
  - Bring README.SUSE-maint up to date: the licence audit is recorded
    as redone for this version, the patched dependencies are
    described, and opencode-relax-bun-version.patch is described as
    what it is, a forward guard that the bun in Factory does not
    currently trip.
* Sun Aug 09 2026 Martin Pluskal <mpluskal@suse.com>
  - New package: an AI coding agent for the terminal, built with bun
    build --compile into a single executable.
  - Ship the command line client only. --skip-embed-web-ui leaves out the
    browser interface, which needs another 101 npm packages and embeds the
    Inter and JetBrains Mono fonts, neither of which carries a licence.
  - The npm dependency tree and a slimmed source tree are vendored, since
    bun build --compile needs the whole tree on disk and OBS has no network.
    opencode_vendor regenerates both; see README.SUSE-maint.
  - Build the OpenTUI native library from the distribution's own opentui
    package rather than using the prebuilt one from npm.
  - Add opencode-relax-bun-version.patch: upstream's build script refuses to
    run on any bun but the exact one it pins, and a distribution ships one bun.
  - Add opencode-no-self-update.patch: opencode overwrites its own executable
    on startup if it detects how it was installed. Updates come from zypper.
    The patch also covers the explicit `opencode upgrade` command, which for
    a file in /usr/bin stops to ask whether to install anyway and so never
    returns when no terminal is attached to answer.
    Set OPENCODE_ENABLE_AUTOUPDATE=1 for upstream behaviour.
  - Add opencode-no-runtime-npm-install.patch: opencode installs npm packages
    into the user's home directory, unprompted, on every start. Set
    OPENCODE_ALLOW_NPM_INSTALL=1 for upstream behaviour.
  - Add opencode-no-grammar-download.patch: 29 of the 34 syntax highlighting
    grammars are downloaded from GitHub on first use and loaded as code. The
    five shipped as real assets still work. Set
    OPENCODE_ALLOW_GRAMMAR_DOWNLOAD=1 for upstream behaviour.

Files

/usr/bin/opencode
/usr/share/doc/packages/opencode
/usr/share/doc/packages/opencode/README.SUSE-maint
/usr/share/doc/packages/opencode/README.md
/usr/share/licenses/opencode
/usr/share/licenses/opencode/LICENSE
/usr/share/licenses/opencode/LICENSE.caniuse-lite


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Aug 17 23:45:55 2026