clawdentials-mcp 0.1.0 → 0.8.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.
Files changed (39) hide show
  1. package/README.md +452 -58
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +309 -18
  4. package/dist/schemas/index.d.ts +328 -0
  5. package/dist/schemas/index.js +119 -0
  6. package/dist/services/firestore.d.ts +45 -2
  7. package/dist/services/firestore.js +417 -6
  8. package/dist/services/moltbook.d.ts +45 -0
  9. package/dist/services/moltbook.js +90 -0
  10. package/dist/services/payments/alby.d.ts +104 -0
  11. package/dist/services/payments/alby.js +239 -0
  12. package/dist/services/payments/breez.d.ts +91 -0
  13. package/dist/services/payments/breez.js +267 -0
  14. package/dist/services/payments/cashu.d.ts +127 -0
  15. package/dist/services/payments/cashu.js +248 -0
  16. package/dist/services/payments/coinremitter.d.ts +84 -0
  17. package/dist/services/payments/coinremitter.js +176 -0
  18. package/dist/services/payments/index.d.ts +132 -0
  19. package/dist/services/payments/index.js +180 -0
  20. package/dist/services/payments/oxapay.d.ts +89 -0
  21. package/dist/services/payments/oxapay.js +221 -0
  22. package/dist/services/payments/x402.d.ts +61 -0
  23. package/dist/services/payments/x402.js +94 -0
  24. package/dist/services/payments/zbd.d.ts +88 -0
  25. package/dist/services/payments/zbd.js +221 -0
  26. package/dist/tools/admin.d.ts +195 -0
  27. package/dist/tools/admin.js +210 -0
  28. package/dist/tools/agent.d.ts +208 -0
  29. package/dist/tools/agent.js +241 -0
  30. package/dist/tools/bounty.d.ts +361 -0
  31. package/dist/tools/bounty.js +601 -0
  32. package/dist/tools/escrow.d.ts +74 -16
  33. package/dist/tools/escrow.js +139 -28
  34. package/dist/tools/index.d.ts +4 -0
  35. package/dist/tools/index.js +4 -0
  36. package/dist/tools/payment.d.ts +144 -0
  37. package/dist/tools/payment.js +376 -0
  38. package/dist/types/index.d.ts +103 -1
  39. package/package.json +18 -2
@@ -0,0 +1,361 @@
1
+ import { type BountyCreateInput, type BountyFundInput, type BountyClaimInput, type BountySubmitInput, type BountyJudgeInput, type BountySearchInput, type BountyGetInput, type BountyExportMarkdownInput } from '../schemas/index.js';
2
+ import type { BountyListing } from '../types/index.js';
3
+ export declare const bountyTools: {
4
+ bounty_create: {
5
+ description: string;
6
+ inputSchema: import("zod").ZodObject<{
7
+ title: import("zod").ZodString;
8
+ summary: import("zod").ZodString;
9
+ description: import("zod").ZodString;
10
+ difficulty: import("zod").ZodEnum<["trivial", "easy", "medium", "hard", "expert"]>;
11
+ requiredSkills: import("zod").ZodArray<import("zod").ZodString, "many">;
12
+ acceptanceCriteria: import("zod").ZodArray<import("zod").ZodString, "many">;
13
+ amount: import("zod").ZodNumber;
14
+ currency: import("zod").ZodDefault<import("zod").ZodEnum<["USD", "USDC", "USDT", "BTC"]>>;
15
+ expiresInDays: import("zod").ZodDefault<import("zod").ZodNumber>;
16
+ repoUrl: import("zod").ZodOptional<import("zod").ZodString>;
17
+ files: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
18
+ path: import("zod").ZodString;
19
+ description: import("zod").ZodOptional<import("zod").ZodString>;
20
+ }, "strip", import("zod").ZodTypeAny, {
21
+ path: string;
22
+ description?: string | undefined;
23
+ }, {
24
+ path: string;
25
+ description?: string | undefined;
26
+ }>, "many">>;
27
+ submissionMethod: import("zod").ZodDefault<import("zod").ZodEnum<["pr", "patch", "gist", "proof"]>>;
28
+ targetBranch: import("zod").ZodOptional<import("zod").ZodString>;
29
+ modAgentId: import("zod").ZodOptional<import("zod").ZodString>;
30
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
31
+ posterAgentId: import("zod").ZodString;
32
+ apiKey: import("zod").ZodString;
33
+ fundNow: import("zod").ZodDefault<import("zod").ZodBoolean>;
34
+ }, "strip", import("zod").ZodTypeAny, {
35
+ amount: number;
36
+ currency: "USD" | "USDC" | "BTC" | "USDT";
37
+ apiKey: string;
38
+ description: string;
39
+ title: string;
40
+ summary: string;
41
+ difficulty: "trivial" | "easy" | "medium" | "hard" | "expert";
42
+ requiredSkills: string[];
43
+ acceptanceCriteria: string[];
44
+ expiresInDays: number;
45
+ submissionMethod: "pr" | "patch" | "gist" | "proof";
46
+ posterAgentId: string;
47
+ fundNow: boolean;
48
+ repoUrl?: string | undefined;
49
+ files?: {
50
+ path: string;
51
+ description?: string | undefined;
52
+ }[] | undefined;
53
+ targetBranch?: string | undefined;
54
+ modAgentId?: string | undefined;
55
+ tags?: string[] | undefined;
56
+ }, {
57
+ amount: number;
58
+ apiKey: string;
59
+ description: string;
60
+ title: string;
61
+ summary: string;
62
+ difficulty: "trivial" | "easy" | "medium" | "hard" | "expert";
63
+ requiredSkills: string[];
64
+ acceptanceCriteria: string[];
65
+ posterAgentId: string;
66
+ currency?: "USD" | "USDC" | "BTC" | "USDT" | undefined;
67
+ expiresInDays?: number | undefined;
68
+ repoUrl?: string | undefined;
69
+ files?: {
70
+ path: string;
71
+ description?: string | undefined;
72
+ }[] | undefined;
73
+ submissionMethod?: "pr" | "patch" | "gist" | "proof" | undefined;
74
+ targetBranch?: string | undefined;
75
+ modAgentId?: string | undefined;
76
+ tags?: string[] | undefined;
77
+ fundNow?: boolean | undefined;
78
+ }>;
79
+ handler: (input: BountyCreateInput) => Promise<{
80
+ success: boolean;
81
+ error: string;
82
+ message?: undefined;
83
+ bounty?: undefined;
84
+ } | {
85
+ success: boolean;
86
+ message: string;
87
+ bounty: {
88
+ id: string;
89
+ title: string;
90
+ amount: number;
91
+ currency: "USD" | "USDC" | "BTC" | "USDT";
92
+ status: string;
93
+ expiresAt: string;
94
+ };
95
+ error?: undefined;
96
+ }>;
97
+ };
98
+ bounty_fund: {
99
+ description: string;
100
+ inputSchema: import("zod").ZodObject<{
101
+ bountyId: import("zod").ZodString;
102
+ agentId: import("zod").ZodString;
103
+ apiKey: import("zod").ZodString;
104
+ }, "strip", import("zod").ZodTypeAny, {
105
+ apiKey: string;
106
+ agentId: string;
107
+ bountyId: string;
108
+ }, {
109
+ apiKey: string;
110
+ agentId: string;
111
+ bountyId: string;
112
+ }>;
113
+ handler: (input: BountyFundInput) => Promise<{
114
+ success: boolean;
115
+ error: string;
116
+ message?: undefined;
117
+ bounty?: undefined;
118
+ } | {
119
+ success: boolean;
120
+ message: string;
121
+ bounty: {
122
+ id: string;
123
+ title: string;
124
+ status: string;
125
+ };
126
+ error?: undefined;
127
+ }>;
128
+ };
129
+ bounty_claim: {
130
+ description: string;
131
+ inputSchema: import("zod").ZodObject<{
132
+ bountyId: import("zod").ZodString;
133
+ agentId: import("zod").ZodString;
134
+ apiKey: import("zod").ZodString;
135
+ }, "strip", import("zod").ZodTypeAny, {
136
+ apiKey: string;
137
+ agentId: string;
138
+ bountyId: string;
139
+ }, {
140
+ apiKey: string;
141
+ agentId: string;
142
+ bountyId: string;
143
+ }>;
144
+ handler: (input: BountyClaimInput) => Promise<{
145
+ success: boolean;
146
+ error: string;
147
+ message?: undefined;
148
+ claim?: undefined;
149
+ } | {
150
+ success: boolean;
151
+ message: string;
152
+ claim: {
153
+ bountyId: string;
154
+ title: string;
155
+ amount: number;
156
+ currency: import("../types/index.js").Currency;
157
+ claimedAt: string;
158
+ expiresAt: string;
159
+ submissionMethod: import("../types/index.js").SubmissionMethod;
160
+ targetBranch: string | undefined;
161
+ acceptanceCriteria: string[];
162
+ };
163
+ error?: undefined;
164
+ }>;
165
+ };
166
+ bounty_submit: {
167
+ description: string;
168
+ inputSchema: import("zod").ZodObject<{
169
+ bountyId: import("zod").ZodString;
170
+ submissionUrl: import("zod").ZodString;
171
+ notes: import("zod").ZodOptional<import("zod").ZodString>;
172
+ agentId: import("zod").ZodString;
173
+ apiKey: import("zod").ZodString;
174
+ }, "strip", import("zod").ZodTypeAny, {
175
+ apiKey: string;
176
+ agentId: string;
177
+ bountyId: string;
178
+ submissionUrl: string;
179
+ notes?: string | undefined;
180
+ }, {
181
+ apiKey: string;
182
+ agentId: string;
183
+ bountyId: string;
184
+ submissionUrl: string;
185
+ notes?: string | undefined;
186
+ }>;
187
+ handler: (input: BountySubmitInput) => Promise<{
188
+ success: boolean;
189
+ error: string;
190
+ message?: undefined;
191
+ submission?: undefined;
192
+ } | {
193
+ success: boolean;
194
+ message: string;
195
+ submission: {
196
+ bountyId: string;
197
+ title: string;
198
+ submissionUrl: string;
199
+ status: string;
200
+ modAgentId: string;
201
+ };
202
+ error?: undefined;
203
+ }>;
204
+ };
205
+ bounty_judge: {
206
+ description: string;
207
+ inputSchema: import("zod").ZodObject<{
208
+ bountyId: import("zod").ZodString;
209
+ winnerAgentId: import("zod").ZodString;
210
+ notes: import("zod").ZodOptional<import("zod").ZodString>;
211
+ judgeAgentId: import("zod").ZodString;
212
+ apiKey: import("zod").ZodString;
213
+ }, "strip", import("zod").ZodTypeAny, {
214
+ apiKey: string;
215
+ bountyId: string;
216
+ winnerAgentId: string;
217
+ judgeAgentId: string;
218
+ notes?: string | undefined;
219
+ }, {
220
+ apiKey: string;
221
+ bountyId: string;
222
+ winnerAgentId: string;
223
+ judgeAgentId: string;
224
+ notes?: string | undefined;
225
+ }>;
226
+ handler: (input: BountyJudgeInput) => Promise<{
227
+ success: boolean;
228
+ error: string;
229
+ message?: undefined;
230
+ result?: undefined;
231
+ } | {
232
+ success: boolean;
233
+ message: string;
234
+ result: {
235
+ bountyId: string;
236
+ title: string;
237
+ winnerAgentId: string;
238
+ winnerSubmissionUrl: string | undefined;
239
+ amount: number;
240
+ currency: import("../types/index.js").Currency;
241
+ judgingNotes: string | undefined;
242
+ };
243
+ error?: undefined;
244
+ }>;
245
+ };
246
+ bounty_search: {
247
+ description: string;
248
+ inputSchema: import("zod").ZodObject<{
249
+ skill: import("zod").ZodOptional<import("zod").ZodString>;
250
+ difficulty: import("zod").ZodOptional<import("zod").ZodEnum<["trivial", "easy", "medium", "hard", "expert"]>>;
251
+ status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["open", "claimed", "in_review"]>>>;
252
+ minAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
253
+ maxAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
254
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
255
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
256
+ }, "strip", import("zod").ZodTypeAny, {
257
+ status: "open" | "claimed" | "in_review";
258
+ limit: number;
259
+ skill?: string | undefined;
260
+ difficulty?: "trivial" | "easy" | "medium" | "hard" | "expert" | undefined;
261
+ minAmount?: number | undefined;
262
+ maxAmount?: number | undefined;
263
+ tag?: string | undefined;
264
+ }, {
265
+ status?: "open" | "claimed" | "in_review" | undefined;
266
+ skill?: string | undefined;
267
+ limit?: number | undefined;
268
+ difficulty?: "trivial" | "easy" | "medium" | "hard" | "expert" | undefined;
269
+ minAmount?: number | undefined;
270
+ maxAmount?: number | undefined;
271
+ tag?: string | undefined;
272
+ }>;
273
+ handler: (input: BountySearchInput) => Promise<{
274
+ success: boolean;
275
+ bounties: BountyListing[];
276
+ count: number;
277
+ error?: undefined;
278
+ } | {
279
+ success: boolean;
280
+ error: string;
281
+ bounties: never[];
282
+ count: number;
283
+ }>;
284
+ };
285
+ bounty_get: {
286
+ description: string;
287
+ inputSchema: import("zod").ZodObject<{
288
+ bountyId: import("zod").ZodString;
289
+ }, "strip", import("zod").ZodTypeAny, {
290
+ bountyId: string;
291
+ }, {
292
+ bountyId: string;
293
+ }>;
294
+ handler: (input: BountyGetInput) => Promise<{
295
+ success: boolean;
296
+ error: string;
297
+ bounty?: undefined;
298
+ } | {
299
+ success: boolean;
300
+ bounty: {
301
+ createdAt: string;
302
+ expiresAt: string;
303
+ completedAt: string | undefined;
304
+ claims: {
305
+ agentId: string;
306
+ status: "expired" | "active" | "submitted" | "withdrawn";
307
+ submittedAt: string | undefined;
308
+ submissionUrl: string | undefined;
309
+ }[];
310
+ id: string;
311
+ title: string;
312
+ description: string;
313
+ summary: string;
314
+ difficulty: import("../types/index.js").BountyDifficulty;
315
+ requiredSkills: string[];
316
+ tags?: string[];
317
+ repoUrl?: string;
318
+ files?: import("../types/index.js").BountyFile[];
319
+ acceptanceCriteria: string[];
320
+ submissionMethod: import("../types/index.js").SubmissionMethod;
321
+ targetBranch?: string;
322
+ amount: number;
323
+ currency: import("../types/index.js").Currency;
324
+ escrowId?: string;
325
+ posterAgentId: string;
326
+ modAgentId?: string;
327
+ status: import("../types/index.js").BountyStatus;
328
+ winnerAgentId?: string;
329
+ winnerSubmissionUrl?: string;
330
+ viewCount: number;
331
+ claimCount: number;
332
+ };
333
+ error?: undefined;
334
+ }>;
335
+ };
336
+ bounty_export_markdown: {
337
+ description: string;
338
+ inputSchema: import("zod").ZodObject<{
339
+ bountyId: import("zod").ZodString;
340
+ }, "strip", import("zod").ZodTypeAny, {
341
+ bountyId: string;
342
+ }, {
343
+ bountyId: string;
344
+ }>;
345
+ handler: (input: BountyExportMarkdownInput) => Promise<{
346
+ success: boolean;
347
+ error: string;
348
+ bountyId?: undefined;
349
+ title?: undefined;
350
+ filename?: undefined;
351
+ markdown?: undefined;
352
+ } | {
353
+ success: boolean;
354
+ bountyId: string;
355
+ title: string;
356
+ filename: string;
357
+ markdown: string;
358
+ error?: undefined;
359
+ }>;
360
+ };
361
+ };