Skip to content

feat: compute commands#22

Merged
andrew-virtuals merged 3 commits into
mainfrom
feat/compute
May 20, 2026
Merged

feat: compute commands#22
andrew-virtuals merged 3 commits into
mainfrom
feat/compute

Conversation

@andrew-virtuals
Copy link
Copy Markdown
Contributor

@andrew-virtuals andrew-virtuals commented May 19, 2026

Note

Medium Risk
Adds a new on-chain USDC transfer flow for compute top-up, which increases risk due to chain/asset handling and fee calculation, but changes are localized to a new command and API wrapper methods.

Overview
Adds a new acp compute command group with status (fetches compute balance/limit/usage) and top-up (validates amount/chain, computes a fee, sends an on-chain USDC transfer, then notifies the backend with the tx hash).

Extends the Agent API client with compute types and endpoints (/agents/:id/compute/account, /common/compute-fee, /agents/:id/compute/top-up), wires the command into the CLI entrypoint, and updates README.md/SKILL.md docs to include the new compute workflow.

Reviewed by Cursor Bugbot for commit ae12288. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ae12288. Configure here.

Comment thread src/lib/api/agent.ts
Comment thread src/commands/compute.ts
@andrew-virtuals andrew-virtuals merged commit 6e4b94d into main May 20, 2026
1 check passed
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