misc/opencode 2.1.0_1 FreeBSD
AI coding agent for the terminal
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
79af26979d- License
- MIT
- Categories
- misc
Description
OpenCode is an open-source, model-agnostic AI coding agent that runs in the terminal. It combines a full-screen TUI and a scriptable CLI with a client/server architecture, LSP awareness, and multi-session support, and can talk to dozens of model providers or local models.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/opencode | 2.1.0_1 |
| MidnightBSD | ai/opencode | 1.18.5 |
Install
Binary package:
pkg install opencode
From the ports tree:
cd /usr/ports/misc/opencode/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= opencode>0:misc/opencode
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 2.0.32 | - | - | - |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | 2.0.32 | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 2.0.32 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${LOCALBASE}/bin/bun: lang/bun${LOCALBASE}/bin/zig: lang/zig${LOCALBASE}/bin/node: www/node24
Runtime 1
rg: textproc/ripgrep
Fetch 3
${LOCALBASE}/bin/bun: lang/bun${LOCALBASE}/bin/zig: lang/zig${LOCALBASE}/share/certs/ca-root-nss.crt: security/ca_root_nss
The full lists below include those, and their dependencies in turn.
Build dependencies 40
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- databases/sqlite3
- devel/gettext-runtime
- devel/googletest
- devel/icu
- devel/libada
- devel/libedit
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/llvm21
- devel/pkgconf
- devel/readline
- devel/simdjson
- devel/uvwasi
- dns/c-ares
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/hdr_histogram
- lang/bun
- lang/python312
- lang/rust
- lang/tcl86
- lang/zig
- math/libtommath
- math/mpdecimal
- net/libngtcp2
- print/indexinfo
- security/ca_root_nss
- security/libssh2
- textproc/expat2
- www/corepack
- www/libnghttp2
- www/libnghttp3
- www/llhttp
- www/nbytes
- www/node24
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- python:build cargo
- Service scripts
- none
Files
distinfo 376
| File | Size | SHA256 |
|---|---|---|
| opencode/fff-bun-0.10.5.tgz | 83121 | 16afa70bcb078c9b28378545396298f73a67fc10e7ff7bba4f9ff1d0462c27f0 |
| opencode/rust/crates/ahash-0.8.12.crate | 43413 | 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 |
| opencode/rust/crates/aho-corasick-1.1.4.crate | 184015 | ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 |
| opencode/rust/crates/android_system_properties-0.1.5.crate | 5243 | 819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311 |
| opencode/rust/crates/anes-0.1.6.crate | 23857 | 4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299 |
| opencode/rust/crates/anstream-1.0.0.crate | 28916 | 824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d |
| opencode/rust/crates/anstyle-1.0.14.crate | 17787 | 940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000 |
| opencode/rust/crates/anstyle-parse-1.0.0.crate | 22042 | 52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e |
| opencode/rust/crates/anstyle-query-1.1.5.crate | 10264 | 40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc |
| opencode/rust/crates/anstyle-wincon-3.0.11.crate | 12638 | 291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d |
| opencode/rust/crates/anyhow-1.0.103.crate | 48746 | 2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3 |
| opencode/rust/crates/anyhow-1.0.104.crate | 48819 | 330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470 |
| opencode/rust/crates/arrayref-0.3.9.crate | 9186 | 76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb |
| opencode/rust/crates/arrayvec-0.7.6.crate | 31237 | 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50 |
| opencode/rust/crates/async-trait-0.1.89.crate | 32171 | 9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb |
| opencode/rust/crates/autocfg-1.5.0.crate | 18729 | c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 |
| opencode/rust/crates/base64-0.22.1.crate | 81597 | 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 |
| opencode/rust/crates/bincode-1.3.3.crate | 28958 | b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad |
| opencode/rust/crates/bindgen-0.72.1.crate | 246071 | 993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895 |
| opencode/rust/crates/bitflags-1.3.2.crate | 23021 | bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a |
Master sites 1
- https://registry.npmjs.org/@ff-labs/fff-bun/-/:fffbun
Commit history 4
| Date | Commit | Credits | Log message |
|---|---|---|---|
79af26979d |
Oleksii Samorukov | misc/opencode: fix chdir on ZFS in the daemon mode Reported by: [email protected] |
|
12d8f60fab |
Oleksii Samorukov | misc/opencode: update to 2.1.0 | |
af06162613 |
Oleksii Samorukov | misc/opencode: fix zig terminal CPU flags | |
5a631398ec |
Oleksii Samorukov | misc/opencode: New port: AI coding agent for the terminal OpenCode is an open-source, model-agnostic AI coding agent that runs in
the terminal. It combines a full-screen TUI and a scriptable CLI with
a client/server architecture, LSP awareness and multi-session support.
Tested on arm64 and amd64. |