News for hackers. Stuff that matters.

thdxr

Re:Annoying and alarming things about OpenCode on Monday July 20, 2026 @10:47AM (#48979628)
not too much actionable here. most of the more glaring issues are already fixed in our upcoming v2 if you'd like to try beta: https://x.com/thdxr/status/2075636594640376165

some things mention are outdated - particularly the tool call pruning feature. this has been disabled by default for a while specifically because of complaints like this

when we looked through our data it's not so clear cut that it's net negative https://x.com/thdxr/status/2048268697790300343

also i'm pretty excited about our new system prompt approach - can define each component in a way that avoids busting the cache when they change. eg that midnight issue: https://x.com/thdxr/status/2070721003924103651

providers (anthropic is the first) are supporting this as a native concept

Re:Rift: Better Alternative to Git Worktrees on Monday June 01, 2026 @10:40AM (#48357455)
this is a 1 day old vibe coded experiment where i'm exploring some ideas
Re:OpenCode – The open source AI coding agent on Saturday March 21, 2026 @08:21AM (#47466371)
API support was never removed
Re:OpenCode – The open source AI coding agent on Saturday March 21, 2026 @08:16AM (#47466341)
this isn't true

it will use whatever small model there is in your provider

we had a fallback where we provided free small models if your provider did not have one (gpt nano)

some configs fell back to this unexpectedly which upset people so we removed it

Re:Anthropic tries to hide Claude's AI actions. Devs hate it on Monday February 16, 2026 @09:18AM (#47035253)
we are going to implement this
Re:Remote Code Execution in OpenCode, update now on Monday January 12, 2026 @02:56PM (#46593380)
the email they found was from a different repo and not monitored. this is ultimately our fault for not having a proper SECURITY.md on our main repository

the issue that was reported was fixed as soon as we heard about it - going through the process of learning about the CVE process, etc now and setting everything up correctly. we get 100s of issues reported to us daily across various mediums and we're figuring out how to manage this

i can't really say much beyond this is my own inexperience showing

Re:Remote Code Execution in OpenCode, update now on Monday January 12, 2026 @02:15PM (#46592871)
hey maintainer here

we've done a poor job handling these security reports, usage has grown rapidly and we're overwhelmed with issues

we're meeting with some people this week to advise us on how to handle this better, get a bug bounty program funded and have some audits done

Re:opencode: AI coding agent, built for the terminal on Monday July 07, 2025 @10:28PM (#44496429)
curious why /clear instead of making a new session?

and nothing expires out from the session until you get near the context window max - at which point we do a compaction process

Re:opencode: AI coding agent, built for the terminal on Monday July 07, 2025 @10:26PM (#44496423)
we actually do heavily use prompt caching now
Re:opencode: AI coding agent, built for the terminal on Sunday July 06, 2025 @07:04PM (#44484945)
it's implemented in the backend, will expose in frontend soon
Re:opencode: AI coding agent, built for the terminal on Sunday July 06, 2025 @07:02PM (#44484932)
hey one of the authors here

we're a little over a month into development and have a lot on our roadmap

the cli is client/server model - the TUI is our initial focus but the goal is to build alternative frontends, mobile, web, desktop, etc

we think of our task as building a very good code review tool - you'll see more of that side in the following weeks

can answer any questions here

Re:opencode: AI coding agent, built for the terminal on Sunday July 06, 2025 @07:00PM (#44484912)
author here - right now it's all the same prompts as claude code

but we're going to make all this very configurable next week

Re:opencode: AI coding agent, built for the terminal on Sunday July 06, 2025 @06:59PM (#44484904)
author here

we're very focused on UX and less so on LLM performance. we use all the same system prompts/config as claude code

that said people do observe better performance because of out of the box LSP support - edit tools return errors and the LLM immediately fixes them

Re:Next.js 15.1 is unusable outside of Vercel on Thursday June 12, 2025 @06:25PM (#44263860)
what did i do to you!?
Re:Remix Breaks Up with React on Friday May 23, 2025 @07:50AM (#44071991)
this isn't official and is missing context flagged it

Show HN: OpenCode – TUI based coding agent

https://github.com/sst/opencode

Hey HN - we've built an open source terminal based coding agentYou might be familiar with Claude Code but OpenCode runs a full TUI rather than the typical scrolling CLI output.This allows for better UX and can be used with any LLM. We're also working on support for using multiple LLMs together.It has built in support for LSP servers so it can pick up errors from your codebase. We've found this...

( Read More... | no comments | on HN )
Re:Why is AI so popular when nobody wants it? on Tuesday April 29, 2025 @03:28PM (#43836951)
i think the idea that no one wants it is off

even if the models do not get better there is so much demand even just b2b

we have all these problems we can fix but we are totally limited by availability

cloud providers are overwhelmed by the demand - you can see this in how stingy they are with rate limits and how they don't even talk to you unless you've already spent a lot with them

build something popular then build a second thing that's as popular that's paid

it's pretty hard but that's what we did

Re:OpenAUTH: Universal, standards-based auth provider on Wednesday December 18, 2024 @09:28AM (#42450676)
yes this was the intent
Re:OpenAUTH: Universal, standards-based auth provider on Wednesday December 18, 2024 @09:25AM (#42450655)
thanks for writing this up! i have been looking at switching to PASETO instead of jwt

one thing though - the reason we use asymmetric encryption is to allow other clients to validate tokens without calling a central server

eg if you use AWS API Gateway they specifically have jwt authorization support where you can point them to a jwks url and it will validate requests

i need to look into the algorithm again - another constraint was trying to work across everywhere JS runs and i need to check if a better algorithm can be used that still works everywhere

Re:OpenAUTH: Universal, standards-based auth provider on Wednesday December 18, 2024 @09:21AM (#42450625)
we will add SAML adapters as well

but the flow between your apps and openauth will always be oauth

Re:OpenAUTH: Universal, standards-based auth provider on Wednesday December 18, 2024 @09:17AM (#42450580)
all of the data in there will be exposed via an API and also directly queryable since it's in your infra

but the idea here is openauth does not handle things like user storage - it just gives you callbacks to store the data in whatever database you're using

precisely because of what you're talking about - eventually you need access to it

Re:OpenAUTH: Universal, standards-based auth provider on Wednesday December 18, 2024 @09:14AM (#42450556)
yeah this is a naming mistake a realized but thankfully in beta so can rework it

it used to be called authenticator! mixed it up unintentionally

we sell coffee from the terminal

ssh terminal.shop

will do 6 figures in revenue the first year - not bad for a side thing!

Re:Show HN: Self-Host Next.js in Production on Wednesday November 20, 2024 @06:01PM (#42199046)
llrt is extremely experimental and early - probably not the right fit

the latter is being worked on and there is a cloudflare adapter in that github org

Re:SST: Container Support on Monday November 11, 2024 @10:12AM (#42107694)
when it comes to marketing the only thing that'll work is finding your true voice

i made this video because it reflects my sense of humor and is the kind of content i'd appreciate

anything outside business as usual will draw polarizing reactions

but in a noisy world that's the only thing that'll work

https://x.com/thdxr/status/1848794269848637510?s=46

Re:SST: Container Support on Monday November 11, 2024 @09:38AM (#42107437)
we'll get there! we want to do everything we just go in order of demand

Older »