HN.zip

OpenCode 2.0

143 points by gmays - 35 comments
denysvitali [3 hidden]5 mins ago
Their installer (curl | sh) was taking so long yesterday for me.

It turns out it's incredibly slow... because of the progress bar rendering. This is insane. The installer took 6 minutes to reach 10%:

curl -fsSL https://opencode.ai/v2/install | bash

Managed to fix it by running this instead:

curl -fsSL https://opencode.ai/v2/install | bash 2>&1 | cat

himata4113 [3 hidden]5 mins ago
Isn't that an issue with your terminal? Why is stdout so slow?
EagleEdge [3 hidden]5 mins ago
They need DHH!
solarkraft [3 hidden]5 mins ago
It's good.

Many of the annoyances from V1 are gone. Skills and plugins reload automatically (finally). Tasks can be backgrounded (though I think this doesn't happen automatically yet). There's a built-in skill for editing the configuration (finally I can retire mine). The front-end got some love. Apparently they re-architected the loop around Effect. Sub-sessions can be communicated with better. Configuration is loaded from the folder the session is created in rather than where the server was started.

In general, this update largely takes OpenCode into the current age. Just in time to stop my early switching away efforts.

archerjax [3 hidden]5 mins ago
Is this related to https://opencode.ai/?
kibae [3 hidden]5 mins ago
Anomaly is the company behind OpenCode (https://github.com/anomalyco/opencode)
kbrannigan [3 hidden]5 mins ago
With websites i went back to 90s styles. Hyper dense in information. Anything clickable is a link. A button is for Write actions.

Interactive element are distinct from text.

If webpage page is an interactive canvas , make the canvas the main thing ad text as support.

If you start mixing the two idk..

afruitpie [3 hidden]5 mins ago
Native apps connecting to the OpenCode server is a great way to run sessions on remote hosts!

I wish Claude Code would adopt the same model. The desktop app deploys a separate engine that restarts and clobbers long-running sessions upon reconnect (Remote Control is their recommended solution but requires a Claude.ai account).

I’ve been vibe coding a native macOS Claude Code app that spawns a server that wraps Claude Code on remote hosts, but the UX and features are always lagging behind.

avereveard [3 hidden]5 mins ago
Claude code agents have a protocol that's usable for the same purpose it just listen locally but it's usable i have my own claw-like that has options for claude, codex, and pi (my subscription, wife subscription, and i got a yearly sub on glm when it was cheap)
my002 [3 hidden]5 mins ago
I really hope we don't get a slew of WebGL-intensive sites.
0x696C6961 [3 hidden]5 mins ago
I can hardly scroll this page on my pixel 6.
MatthiasPortzel [3 hidden]5 mins ago
For me the distinguishing feature of OpenCode is the web ui/desktop app. I’m using OpenCode because it’s the only open-source agent-harness I’ve tried that runs outside of a TUI. I like terminals but not TUIs and especially not for prose-based interactions like prompting.

But that’s a shallow moat, and the rest of the features here are not particularly interesting to me. I don’t have a use for plugins or a model-server proxy (I can connect other tools directly to the model provider).

unrented7977 [3 hidden]5 mins ago
Wait, but OpenCode got renamed to Crush and the original dev went on to that new project. Where did this come from? Is this a fork? Who is behind it?
kzsh [3 hidden]5 mins ago
Someone from Opencode went to Crush, but Opencode continued.

EDIT: as a rewrite, owning the name. but not code.

https://x.com/thdxr/status/1933561254481666466

incrediblers [3 hidden]5 mins ago
TIL - there was business in TUIs that actually warranted “acquisitions”. Always considered developing them a hobby…
bayindirh [3 hidden]5 mins ago
A well written TUI, esp with keyboard shortcuts is a power multiplier. One of the biggest bus companies in my country used real terminals well into 2000s, and continued to use the same TUI inside a terminal emulator then.

It was efficient, bug free and fast after that many years of polish and refinement, it became one of the defining pillars of the experience. Imagine doing something and that thing can be reproduced reliably by muscle memory. You can trust that system.

Trading consoles are basically TUIs which can be driven with their specialized keyboards at great speeds and reproducibility, as well.

chrysoprace [3 hidden]5 mins ago
I don't think that's the case. This is from anomalyco, the company who made sst.dev. Crush is from Charm. I think OpenCode may have originally been written in Go but nowadays their codebase is TypeScript.
nater5000 [3 hidden]5 mins ago
Based on this post, it sounds like a ton of great improvements.

I've only used OpenCode a bit, but I found it was sufficient for the workloads I was throwing at it. It wasn't quite enough to beat out Codex or Claude Code as my go-to choice, though. Perhaps I'll give this version a shot and see if they've gotten it over the hump.

dsauerbrun [3 hidden]5 mins ago
out of curiosity, how or what do you use codex/claude code for that beats opencode?
vadepaysa [3 hidden]5 mins ago
I love opencode, but not this website. so difficult to use.
nfriedly [3 hidden]5 mins ago
I've been using OpenCode 2.0 indirectly via OpenChamber 2.0 and I've been very happy with it.

Once I got past the initial hurdle of having to upgrade my server and clients all at once, everything has been smooth sailing.

montroser [3 hidden]5 mins ago
OpenCode is a beast. Does it still try to take a disk snapshot of my working directory, even when it contains hundreds of millions of files? Does it still eat all of my memory? Does it still have a super-gigantic system prompt that wastes a solid percentage of my context window before I've even begun?

I switched to pi some months ago, and I have no complaints. It just does what it says, with no shenanigans. They updated the rendering approach recently so scrollback is nice and smooth now.

dormento [3 hidden]5 mins ago
My notebook took up flight and launched itself through the window and died trying to render this site.
kingds [3 hidden]5 mins ago
it feels like a clear improvement across the board but a heads up: i got bitten by upgrading - since all tool calls now go through the background process, the sandbox that i use to wrap the TUI process quietly became useless. took me a day or two to realize that web fetches, etc. which should have been blocked were succeeding.
mawadev [3 hidden]5 mins ago
The site took a minute to load in completely and when I scrolled to the bottom I couldn't read the SDK text, it was literally cut off, kinda resembling the current state of coding very accurately lmao
suprjami [3 hidden]5 mins ago
2.0 is a big disappointment so far.

Several basic things don't work, like hiding the sidebar.

With 3.2k open GitHub issues there's no point reporting anything.

LaurensBER [3 hidden]5 mins ago
Interesting and I'll definitely give this a try, the client/server and plugin system do look very powerful.

However, I've been using OMP in combination with Tern (the terminal) lately and it's an incredibly smooth operation. It's hard to find a decent terminal on Windows (corporate device) but this is the best I've found so far.

361994752 [3 hidden]5 mins ago
The background task / subagent feature and the ability to specify a model when starting a subagent are so far my favorite improvements. Small things but make huge QoL difference in everyday development.
oblongsquare69 [3 hidden]5 mins ago
I enjoy this program, and 2.0 is a great improvement.
markerz [3 hidden]5 mins ago
This game is quite interestingly fun despite how basic it is.
aniceperson [3 hidden]5 mins ago
having a daemon PID helps for web gui, but may bite in unexpected ways under extensive parallization.
0xbadcafebee [3 hidden]5 mins ago
Same OpenCode team who ignore bug reports, don't respond on their discord, don't have modern CI/CD test suites (often shipping regressions), don't have bots to triage bug reports or PRs, and have what might be the worst open model subscription service available today.

OpenCode users: switching to Pi takes about 5 minutes, and customizing it to work just like OpenCode takes another 30 minutes. Better design, better devs, better community.

emerongi [3 hidden]5 mins ago
I had no clue you have to scroll down.
keyle [3 hidden]5 mins ago
I was annoyed that it takes just as much ram if not more than 1.0
tontinton [3 hidden]5 mins ago
Everyone copies https//maki.sh. I've been the first!