feat(cli): add exchange-rates, crypto, discoveries, uma-providers, tokens, and internal-account update/export#712
Open
jklein24 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
This was referenced Jul 19, 2026
Contributor
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jul 19, 2026
Contributor
|
@greptileai review |
Contributor
ls-bolt
Bot
force-pushed
the
07-19-grid-cli-cards-auth-plan
branch
from
July 19, 2026 18:46
b0aab72 to
ff7cc64
Compare
ls-bolt
Bot
force-pushed
the
07-19-grid-cli-quick-wins
branch
from
July 19, 2026 18:46
cf31175 to
b14f21d
Compare
Contributor
|
@greptileai review |
jklein24
force-pushed
the
07-19-grid-cli-cards-auth-plan
branch
from
July 20, 2026 22:16
ff7cc64 to
893e326
Compare
…kens, internal-account update/export Read/lookup commands (exchange-rates, crypto estimate-fee, discoveries, uma-providers), API token CRUD (tokens list/get/create/revoke), and the two signed internal-account operations (update, export) reusing the --wallet-signature/--request-id header support. Extends buildUrl to send array query params (exchange-rates --destination-currency). vitest boundary tests cover each.
jklein24
force-pushed
the
07-19-grid-cli-quick-wins
branch
from
July 20, 2026 22:16
b14f21d to
5120c4b
Compare
jklein24
marked this pull request as ready for review
July 21, 2026 06:02
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.

Summary
Rounds out the Grid CLI with the high-value "quick win" endpoints from the audit. Stacked on #704.
New commands
grid exchange-rates—GET /exchange-rates(--source-currency, repeatable--destination-currency,--sending-amount)grid crypto estimate-fee—POST /crypto/estimate-withdrawal-feegrid discoveries—GET /discoveries(receiving-institution lookup)grid uma-providers—GET /uma-providers(counterparty providers, paginated)grid tokens list|get|create|revoke— API token management (createreturns theclientSecretonce — noted in help/output)grid internal-accounts update|export— the two signed internal-account operations, reusing the--wallet-signature/--request-idheader support (they surface the202challenge like the other signed ops; the CLI does not compute the stamp, generate keys, or decrypt)Supporting change
buildUrlnow sends array query params as repeated keys (forexchange-rates --destination-currency).Test plan
cd cli && npm run build— clean compile.npm test— 9 new boundary tests (67 total with the rest of the stack), asserting each command's method/path/query/body/headers.Follow-up (noted, not in this PR)
customers updatecan hit a signed-retry (202) when changing email/phone for Embedded-Wallet customers; it doesn't yet accept--wallet-signature/--request-id. Worth wiring up in a follow-up (needs the signed helper positioned in the stack).Original PR: #705