Repository navigation
Conversation
…y-answer diagnosis the tone was doing the opposite of the job: it read as a way around a limit rather than as a gateway with a known, documented failure mode. dropped the bypass framing, kept every operational fact (flags, config keys, endpoints, limits, lanes, harness yaml, deploy, reverse-engineering notes). new: a status section that says plainly that nothing here is authorized by the provider, that the free tier is a lease on the running client, and that refusals by egress reputation are the normal failure mode; the client daemon's env with what each missing variable looks like symptom by symptom; and a troubleshooting section for the 200-with-empty-content/ finish_reason=error answer, which is the client's own session being refused, not the gateway failing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
rewrites the README. the old one read as a way around a limit — "the mode that
works", "exactly the free-tier bypass" — which is neither a fair description of
the tool nor useful documentation, and it left the most common failure
undocumented: an answer that comes back empty.
changes
by opencode or opencode.ai, that the free tier is a lease on the running
client, that refusals by egress reputation are the normal failure mode, and
what happens on the wire (the proxy forwards your client's own requests; TLS
is terminated locally with a CA in the data dir; no fingerprint is forged).
looks like symptom by symptom: no proxy →
403 FreeTierErroron everysession; proxy without
NO_PROXY→getaddrinfo ETIMEOUTin the client andtls handshake opencode.ai: EOFin the proxy log;NODE_EXTRA_CA_CERTSnotpointing at
ca.pem→ nothing reaches the proxy at all.200+ emptycontent+finish_reason: "error": serve's startup line, the daemon's/proc/<pid>/environ, the proxy log, the client's own log (Failed to drain Session),lanes statusandproof.jsonl. that answer is the client's ownsession being refused upstream, not the gateway failing.
streaming and usage semantics, auth, limits, lanes, harness yaml, deploy, and
the reverse-engineering notes.
no code changes;
go test ./...unaffected.