Skip to content

feat: budget simulation, analytics pagination, wallet balance hook, agent events - #192

Merged
Cjay-Cyber-2 merged 5 commits into
ASTROIDX556:mainfrom
codexhange:feat/stellar-drips-wave-117-127-129-133
Sep 1, 2026
Merged

feat: budget simulation, analytics pagination, wallet balance hook, agent events#192
Cjay-Cyber-2 merged 5 commits into
ASTROIDX556:mainfrom
codexhange:feat/stellar-drips-wave-117-127-129-133

Conversation

@codexhange

Copy link
Copy Markdown
Contributor

Summary

Closes #117
Closes #127
Closes #129
Closes #133

codexhange and others added 4 commits August 31, 2026 09:35
Add the resource methods requested for @astroid/budget: getBudget and
listBudgets as documented aliases of the existing get/list, and a new
simulateBudgetCheck that POSTs a prospective spend to the budget
simulate endpoint. Include the BudgetSimulationRequest/Result types in
@astroid/types and unit tests covering allowed spends and limit
breaches with a mocked transport.

Closes ASTROIDX556#117

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Extend AnalyticsQueryParams with the shared PaginationParams (cursor,
limit, order) and serialize them in getMetrics and getVolumeSummary.
Add unit tests verifying query-string serialization and omission of
undefined pagination args.

Closes ASTROIDX556#127

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Expose useWalletBalance from @astroid/react, backed by the wallet
balance endpoint through the AstroidProvider context. Cache under a
dedicated query key, default to a 30s stale time, and support optional
polling. Include hook and query-key tests.

Closes ASTROIDX556#129

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Define agent lifecycle event payload, filter, and subscription option
types in @astroid/types, and add listEvents, subscribe and unsubscribe
methods to the agent resource client. Add unit tests verifying request
path construction and query serialization.

Closes ASTROIDX556#133

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

MergeKeeper review

Scope: in scope for linked issue #117.
Verdict: clean

The PR successfully implements budget simulation, analytics pagination, the wallet balance React hook, and agent lifecycle event subscriptions with comprehensive tests and type safety.

Reviewed commit: 17fc0f7dd15cb37723802bc5e3a911a73a4e6f0f.
CI and merge eligibility are checked separately.

@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

MergeKeeper merge status

Status: blocked
PR state: open
Mergeability: conflicts / not mergeable
Checked commit: 17fc0f7dd15cb37723802bc5e3a911a73a4e6f0f.

Reason: One or more required CI checks failed.

Failing checks:

Next steps:

  1. Open the failing check details above and fix the reported error.
  2. Run the same checks locally where possible.
  3. Commit and push the fix.
  4. MergeKeeper will automatically re-review the updated PR.

@Cjay-Cyber-2
Cjay-Cyber-2 merged commit 76ad956 into ASTROIDX556:main Sep 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants