Skip to content

feat: CLI agent-readiness optimizations (#268)#284

Open
OisinKyne wants to merge 6 commits intomainfrom
oisin/cliskill
Open

feat: CLI agent-readiness optimizations (#268)#284
OisinKyne wants to merge 6 commits intomainfrom
oisin/cliskill

Conversation

@OisinKyne
Copy link
Contributor

Starts with plan and cleaning up sell command, then will be made agent ready.

bussyjd and others added 4 commits March 17, 2026 15:21
Tracking branch for making the obol CLI consumable by AI agents
while preserving human DX. See issue #268 for full plan.
7-phase plan to make the obol CLI consumable by AI agents
while preserving human DX: structured output, input hardening,
schema introspection, dry-run, field masks, CONTEXT.md, and MCP.
bussyjd added 2 commits March 21, 2026 09:48
X402Transport.RoundTrip clones the request twice (first attempt + retry)
but Clone() shares the body reader without calling GetBody(). After the
first attempt consumes the body, the retry gets an exhausted reader,
causing 'ReverseProxy does an invalid Read on closed Body'.

Add bodyResetTransport that calls GetBody() before each RoundTrip,
ensuring each attempt gets a fresh reader. Pairs with the existing
bodyBufferMiddleware which guarantees GetBody is always set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants