Skip to content

refactor: move read commands under data namespace#59

Open
blakecduncan wants to merge 1 commit intoreleasefrom
codex/data-namespace
Open

refactor: move read commands under data namespace#59
blakecduncan wants to merge 1 commit intoreleasefrom
codex/data-namespace

Conversation

@blakecduncan
Copy link
Copy Markdown

Summary

  • move the read-oriented blockchain commands under a new top-level data namespace, including the price and history command names
  • update help text, REPL/autocomplete entries, README examples, and agent prompt output so the new command tree is documented consistently
  • add regression coverage for nested global flag resolution and a live data smoke suite, leaving data portfolio tokens skipped for now while that live path is investigated separately

Test plan

  • pnpm vitest run tests/commands/api-namespaces.test.ts tests/commands/agent-prompt.test.ts tests/commands/transfers.test.ts tests/commands/balance.test.ts
  • pnpm vitest run tests/lib/resolve.test.ts
  • pnpm build && pnpm vitest run --config vitest.e2e.config.ts tests/e2e/cli.e2e.test.ts -t "returns JSON balance|returns RPC error contract and exit code on JSON-RPC errors|agent-prompt returns full agent contract JSON"
  • pnpm test:live tests/live/data.live.test.ts (5 passed, 1 skipped)

Made with Cursor

Group balance, tokens, NFTs, history, prices, and portfolio under the new data surface, and update help, docs, prompts, and tests to reflect the nested command model.

Made-with: Cursor
@blakecduncan blakecduncan requested a review from a team as a code owner April 10, 2026 16:23
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.

1 participant