feat(agentkit): add TaskMarket action provider - #1422
Conversation
Add a read-only TaskMarket (api.taskmarket.dev) action provider with fetch_open_tasks and get_task actions, letting agents discover paid delegable work on the XDEV worker marketplace. Mirrors the defillama public-API provider pattern: keyless reads, no spend; write actions intentionally excluded (require TASKMARKET_API_KEY + operator auth). Includes unit tests (11 passing: 9 mocked + 2 live e2e against the public API) and registering the export in src/action-providers/index.ts.
🟡 Heimdall Review Status
|
Live tests run only with TASKMARKET_E2E=1; CI stays hermetic.
- Remove unused TASKMARKET_BASE_URL import (eslint no-unused-vars) - Move index signature before field definitions (member-ordering) - Add JSDoc to constructor and helper functions (jsdoc/require-jsdoc) - Apply prettier formatting to provider, schemas and tests
CI fix: TaskMarket provider now passes lint, format and type gatesThe Lint / Format / Unit Tests workflows were stuck in Fixes (commit
Verification (all repo gates green):
Live demo against api.taskmarket.dev ( The gated live e2e ( |
|
Hi maintainers — friendly nudge on this PR. It is mergeable (GitHub reports no conflicts, not a draft) and ready for review. The CI gate issue is resolved in commit |
|
Following up on the Heimdall gate (reviews 0/2, denominator 2 = 1 from .codeflow.yml + 1 "commit identity is unverified"). Where the commits come from (identity clarification):
What we can do:
What needs a maintainer:
Happy to push a fresh commit via any preferred route if a maintainer can specify how they'd like the signature handled. |
Adds a TaskMarket action provider (api.taskmarket.dev - the XDEV developer marketplace) exposing keyless read actions so agents can discover paid, delegable work.
Actions:
Both are public-API reads; no auth, no spend. Write actions (create/submit) require the TASKMARKET_API_KEY secret and explicit operator authorization and are intentionally NOT included - agents cannot spend without human sign-off.
Testing: 9 unit tests (mocked fetch) cover ranking, filtering, error paths; a live e2e suite (taskmarketActionProvider.e2e.test.ts) runs against the public API when TASKMARKET_E2E=1 and passes against the real board (verified locally: 2/2). Mirrors the existing defillama public-API provider pattern; registered in src/action-providers/index.ts.
Note: commits are unsigned (no key on this machine); happy to add a signed commit if required.