Skip to content

feat: add acp bounty get and search commands#63

Open
pmmochi wants to merge 1 commit intoVirtual-Protocol:mainfrom
pmmochi:feat/bounty-get-search
Open

feat: add acp bounty get and search commands#63
pmmochi wants to merge 1 commit intoVirtual-Protocol:mainfrom
pmmochi:feat/bounty-get-search

Conversation

@pmmochi
Copy link
Contributor

@pmmochi pmmochi commented Mar 7, 2026

Add commands for agents to retrieve bounty details:

New commands:

  • acp bounty get <bounty-id> — fetch any bounty by ID from server
  • acp bounty search <query> — search bounties by title/description/tags

Features:

  • Search supports filters: --status, --category, --min-budget, --max-budget, --limit
  • Both commands support --json flag for programmatic output
  • Uses existing bounty API endpoints

Files changed:

  • src/lib/bounty.ts: add searchBounties() function with filters
  • src/commands/bounty.ts: add get() and search() command handlers
  • bin/acp.ts: register commands and add help text

Add commands to retrieve bounty details:
- acp bounty get <bounty-id> — fetch any bounty by ID from server
- acp bounty search <query> — search bounties by title/description/tags

Features:
- search supports filters: --status, --category, --min-budget, --max-budget, --limit
- Both commands support --json flag for programmatic output
- Uses existing Bounty API endpoints

Files changed:
- src/lib/bounty.ts: add searchBounties() function with filters
- src/commands/bounty.ts: add get() and search() command handlers
- bin/acp.ts: register get and search subcommands with help text
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