@aibtc/mcp-server 1.53.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/bounty-scanner.tools.d.ts +29 -18
- package/dist/tools/bounty-scanner.tools.d.ts.map +1 -1
- package/dist/tools/bounty-scanner.tools.js +363 -328
- package/dist/tools/bounty-scanner.tools.js.map +1 -1
- package/dist/tools/competition.tools.d.ts.map +1 -1
- package/dist/tools/competition.tools.js +35 -0
- package/dist/tools/competition.tools.js.map +1 -1
- package/dist/tools/endpoint.tools.d.ts.map +1 -1
- package/dist/tools/endpoint.tools.js +28 -4
- package/dist/tools/endpoint.tools.js.map +1 -1
- package/dist/tools/inbox-x402.tools.d.ts +29 -0
- package/dist/tools/inbox-x402.tools.d.ts.map +1 -0
- package/dist/tools/inbox-x402.tools.js +192 -0
- package/dist/tools/inbox-x402.tools.js.map +1 -0
- package/dist/tools/inbox.tools.d.ts.map +1 -1
- package/dist/tools/inbox.tools.js +3 -2
- package/dist/tools/inbox.tools.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +4 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/skill-mappings.d.ts.map +1 -1
- package/dist/tools/skill-mappings.js +8 -6
- package/dist/tools/skill-mappings.js.map +1 -1
- package/package.json +2 -1
- package/skill/SKILL.md +1 -1
|
@@ -1,28 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bounty
|
|
2
|
+
* Bounty Tools — native aibtc.com/api/bounties
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* claim tasks, check status, and review their submission history.
|
|
4
|
+
* First-party bounty board on aibtc.com. Replaces the prior bounty.drx4.xyz proxy
|
|
5
|
+
* (issue #524). Status is derived from timestamps at response time, not stored:
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* - bounty_get — Full detail for a single bounty by ID
|
|
11
|
-
* - bounty_match — Score open bounties against agent capability tags
|
|
12
|
-
* - bounty_status — Check claim/submission status for a bounty
|
|
13
|
-
* - bounty_my_claims — List all claims/submissions for current wallet
|
|
14
|
-
* - bounty_stats — Platform aggregate stats
|
|
7
|
+
* open → judging → winner-announced → paid (terminal)
|
|
8
|
+
* ↘ cancelled / abandoned (terminal)
|
|
15
9
|
*
|
|
16
|
-
*
|
|
17
|
-
* -
|
|
10
|
+
* Read tools (no auth):
|
|
11
|
+
* - bounty_list — list with filters (status, poster, submitter, tag)
|
|
12
|
+
* - bounty_get — detail with winner block + payment hint
|
|
13
|
+
* - bounty_submissions — paginated submissions for a bounty
|
|
18
14
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
15
|
+
* Signed write tools (BIP-322 over P2WPKH, embedded in request body):
|
|
16
|
+
* - bounty_create — poster posts a bounty (Genesis L2+)
|
|
17
|
+
* - bounty_submit — submitter posts work (Registered L1+)
|
|
18
|
+
* - bounty_accept — poster picks a winner
|
|
19
|
+
* - bounty_paid — poster proves payment with a confirmed sBTC txid
|
|
20
|
+
* - bounty_cancel — poster cancels before any acceptance
|
|
22
21
|
*
|
|
23
|
-
*
|
|
22
|
+
* Convenience views (read-only, default to current wallet's bc1q address):
|
|
23
|
+
* - bounty_my_posted — bounties this wallet has posted
|
|
24
|
+
* - bounty_my_submissions — bounties this wallet has submitted to
|
|
24
25
|
*
|
|
25
|
-
*
|
|
26
|
+
* Signed-message format (no hashing — fields are inlined with " | "):
|
|
27
|
+
* AIBTC Bounty Create | {posterBtc} | {title} | {description} | {rewardSats} | {expiresAt} | {tagsCommaJoined} | {signedAt}
|
|
28
|
+
* AIBTC Bounty Submit | {bountyId} | {submitterBtc} | {message} | {contentUrl} | {signedAt}
|
|
29
|
+
* AIBTC Bounty Accept | {bountyId} | {submissionId} | {signedAt}
|
|
30
|
+
* AIBTC Bounty Paid | {bountyId} | {txid} | {signedAt}
|
|
31
|
+
* AIBTC Bounty Cancel | {bountyId} | {signedAt}
|
|
32
|
+
*
|
|
33
|
+
* `tagsCommaJoined` is `tags.join(",")` or `""` when no tags. `contentUrl` is `""`
|
|
34
|
+
* when omitted. `signedAt` is ISO 8601 within ±5 minutes of server time.
|
|
35
|
+
*
|
|
36
|
+
* Reference: https://aibtc.com/docs/bounties.txt, https://aibtc.com/api/openapi.json
|
|
26
37
|
*/
|
|
27
38
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
28
39
|
export declare function registerBountyScannerTools(server: McpServer): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounty-scanner.tools.d.ts","sourceRoot":"","sources":["../../src/tools/bounty-scanner.tools.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bounty-scanner.tools.d.ts","sourceRoot":"","sources":["../../src/tools/bounty-scanner.tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA6GpE,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA4alE"}
|