feat: TypeScript memory client#2
Closed
0xpolarzero wants to merge 1 commit into
Closed
Conversation
This was referenced May 22, 2026
3d6e575 to
191236e
Compare
05db286 to
8441d5d
Compare
a6a5a1e to
09adfa9
Compare
8441d5d to
b1b1f53
Compare
09adfa9 to
bb53346
Compare
b247edf to
bfc33e6
Compare
bb53346 to
7920352
Compare
This was referenced May 22, 2026
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.
Warning
This PR is part of a stacked PR chain.
Upstream merge PRs:
wevm/incur#144 ->
wevm/incur#145 ->
wevm/incur#143 ->
wevm/incur#147
Correctly based review stack in this fork:
#3 ->
#4 ->
#5 ->
#2
Overview
Adds an in-memory TypeScript client that calls incur commands directly from a
Cliinstance without running an HTTP server.API
Maintainer Notes
createMemoryClient(cli, { env })accepts an optional env source used for CLI-level and command-level env parsing.Clivalue stream inference is structural for handlers returningAsyncGenerator; runtime/typegen streaming detection still relies on actualasync *runhandlers.Changes
createMemoryClient(cli)with the same typed call shape ascreateClient.Clicommand maps with output metadata and structural stream metadata for local client inference.Tests
createMemoryClient(cli)inference, mounted CLIs, outputs, and streaming calls.