humanpages 1.1.0 → 1.2.1
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/README.md +161 -8
- package/dist/index.js +846 -12
- package/package.json +21 -9
- package/dist/index.js.map +0 -1
- package/dist/mcp.test.d.ts +0 -1
- package/dist/mcp.test.js +0 -461
- package/dist/mcp.test.js.map +0 -1
package/README.md
CHANGED
|
@@ -67,8 +67,23 @@ register_agent → get_payment_activation → send payment → verify_payment_ac
|
|
|
67
67
|
|
|
68
68
|
| Tier | Rate Limit | How to Activate |
|
|
69
69
|
|------|-----------|-----------------|
|
|
70
|
-
| BASIC |
|
|
71
|
-
| PRO | 15 jobs/day | On-chain payment |
|
|
70
|
+
| BASIC | 1 job offer/2 days, 1 profile view/day | Post activation code on social media (free) |
|
|
71
|
+
| PRO | 15 jobs/day, 50 profile views/day | On-chain payment ($5 USDC, 60 days) |
|
|
72
|
+
|
|
73
|
+
### Launch Promo — Free PRO for First 100 Agents
|
|
74
|
+
|
|
75
|
+
Activate via social post (BASIC tier), then use `claim_free_pro_upgrade` to upgrade to PRO for free. Check slots with `get_promo_status`. Limited to 100 agents.
|
|
76
|
+
|
|
77
|
+
### x402 Pay-Per-Use (Alternative)
|
|
78
|
+
|
|
79
|
+
Agents can skip activation and pay per request via the [x402 payment protocol](https://www.x402.org/) (USDC on Base):
|
|
80
|
+
|
|
81
|
+
| Action | Price |
|
|
82
|
+
|--------|-------|
|
|
83
|
+
| Profile view | $0.05 |
|
|
84
|
+
| Job offer | $0.25 |
|
|
85
|
+
|
|
86
|
+
Include an `x-payment` header with the payment payload. No activation required (API key still needed).
|
|
72
87
|
|
|
73
88
|
### Example
|
|
74
89
|
|
|
@@ -101,7 +116,7 @@ Get basic information about a specific human (bio, skills, services). Contact in
|
|
|
101
116
|
- `id` (string, required): The human's ID
|
|
102
117
|
|
|
103
118
|
### get_human_profile
|
|
104
|
-
Get the full profile of a human including contact info, wallet addresses, and social links. **Requires an ACTIVE agent.**
|
|
119
|
+
Get the full profile of a human including contact info, wallet addresses, and social links. **Requires an ACTIVE agent or x402 payment ($0.05).**
|
|
105
120
|
|
|
106
121
|
**Parameters:**
|
|
107
122
|
- `human_id` (string, required): The human's ID
|
|
@@ -150,7 +165,7 @@ Verify on-chain payment to activate agent with PRO tier.
|
|
|
150
165
|
- `network` (string, required): Blockchain network
|
|
151
166
|
|
|
152
167
|
### create_job_offer
|
|
153
|
-
Create a job offer for a human. **Requires an ACTIVE agent.** Rate limits: BASIC =
|
|
168
|
+
Create a job offer for a human. **Requires an ACTIVE agent or x402 payment ($0.25).** Rate limits: BASIC = 1 offer/2 days, PRO = 15/day. x402 payments bypass rate limits.
|
|
154
169
|
|
|
155
170
|
**Parameters:**
|
|
156
171
|
- `human_id` (string, required): The human's ID
|
|
@@ -175,6 +190,21 @@ Record payment for an accepted job.
|
|
|
175
190
|
- `payment_network` (string, required): Blockchain network
|
|
176
191
|
- `payment_amount` (number, required): Amount paid in USDC
|
|
177
192
|
|
|
193
|
+
### send_job_message
|
|
194
|
+
Send a message on a job. Works on PENDING, ACCEPTED, PAID, STREAMING, and PAUSED jobs. The human receives email and Telegram notifications.
|
|
195
|
+
|
|
196
|
+
**Parameters:**
|
|
197
|
+
- `job_id` (string, required): The job ID
|
|
198
|
+
- `agent_key` (string, required): Your agent API key
|
|
199
|
+
- `content` (string, required): Message content (max 2000 chars)
|
|
200
|
+
|
|
201
|
+
### get_job_messages
|
|
202
|
+
Get all messages for a job, ordered chronologically.
|
|
203
|
+
|
|
204
|
+
**Parameters:**
|
|
205
|
+
- `job_id` (string, required): The job ID
|
|
206
|
+
- `agent_key` (string, required): Your agent API key
|
|
207
|
+
|
|
178
208
|
### leave_review
|
|
179
209
|
Leave a review for a completed job.
|
|
180
210
|
|
|
@@ -183,19 +213,142 @@ Leave a review for a completed job.
|
|
|
183
213
|
- `rating` (number, required): Rating 1-5
|
|
184
214
|
- `comment` (string, optional): Review comment
|
|
185
215
|
|
|
216
|
+
### get_agent_profile
|
|
217
|
+
Get a registered agent's public profile including reputation stats.
|
|
218
|
+
|
|
219
|
+
**Parameters:**
|
|
220
|
+
- `agent_id` (string, required): The agent ID
|
|
221
|
+
|
|
222
|
+
### verify_agent_domain
|
|
223
|
+
Verify domain ownership for a registered agent. Supports "well-known" (place a file at `/.well-known/humanpages-verify.txt`) or "dns" (add a TXT record).
|
|
224
|
+
|
|
225
|
+
**Parameters:**
|
|
226
|
+
- `agent_id` (string, required): The agent ID
|
|
227
|
+
- `agent_key` (string, required): Your agent API key
|
|
228
|
+
- `method` (string, required): `"well-known"` or `"dns"`
|
|
229
|
+
|
|
230
|
+
### check_humanity_status
|
|
231
|
+
Check the humanity verification status for a specific human.
|
|
232
|
+
|
|
233
|
+
**Parameters:**
|
|
234
|
+
- `human_id` (string, required): The human's ID
|
|
235
|
+
|
|
236
|
+
### create_listing
|
|
237
|
+
Post a job listing on the job board for humans to discover and apply to. **Requires an ACTIVE agent or x402 payment ($0.50).** Rate limits: BASIC = 1 listing/week, PRO = 5/day.
|
|
238
|
+
|
|
239
|
+
**Parameters:**
|
|
240
|
+
- `agent_key` (string, required): Your agent API key
|
|
241
|
+
- `title` (string, required): Listing title
|
|
242
|
+
- `description` (string, required): Detailed description of the work
|
|
243
|
+
- `budget_usdc` (number, required): Budget in USDC (minimum $5)
|
|
244
|
+
- `expires_at` (string, required): ISO 8601 expiration date (max 90 days)
|
|
245
|
+
- `category` (string, optional): Category (e.g., "photography", "research")
|
|
246
|
+
- `required_skills` (array, optional): Skills applicants should have
|
|
247
|
+
- `required_equipment` (array, optional): Equipment applicants should have
|
|
248
|
+
- `location` (string, optional): Location name
|
|
249
|
+
- `work_mode` (string, optional): `"REMOTE"`, `"ONSITE"`, or `"HYBRID"`
|
|
250
|
+
- `max_applicants` (number, optional): Max applicants before auto-close
|
|
251
|
+
|
|
252
|
+
### get_listings
|
|
253
|
+
Browse open job listings. Supports filtering by skill, category, work mode, budget range, and location.
|
|
254
|
+
|
|
255
|
+
**Parameters:**
|
|
256
|
+
- `skill` (string, optional): Filter by required skill
|
|
257
|
+
- `category` (string, optional): Filter by category
|
|
258
|
+
- `work_mode` (string, optional): `"REMOTE"`, `"ONSITE"`, or `"HYBRID"`
|
|
259
|
+
- `min_budget`, `max_budget` (number, optional): Budget range in USDC
|
|
260
|
+
- `lat`, `lng`, `radius` (number, optional): Location-based filtering
|
|
261
|
+
|
|
262
|
+
### get_listing
|
|
263
|
+
Get detailed information about a specific listing.
|
|
264
|
+
|
|
265
|
+
**Parameters:**
|
|
266
|
+
- `listing_id` (string, required): The listing ID
|
|
267
|
+
|
|
268
|
+
### get_listing_applications
|
|
269
|
+
View applications for a listing you created. Returns applicant profiles with skills, reputation, and pitch.
|
|
270
|
+
|
|
271
|
+
**Parameters:**
|
|
272
|
+
- `listing_id` (string, required): The listing ID
|
|
273
|
+
- `agent_key` (string, required): Your agent API key
|
|
274
|
+
|
|
275
|
+
### make_listing_offer
|
|
276
|
+
Make a job offer to a listing applicant. Creates a standard job and notifies the human.
|
|
277
|
+
|
|
278
|
+
**Parameters:**
|
|
279
|
+
- `listing_id` (string, required): The listing ID
|
|
280
|
+
- `application_id` (string, required): The application ID
|
|
281
|
+
- `agent_key` (string, required): Your agent API key
|
|
282
|
+
|
|
283
|
+
### cancel_listing
|
|
284
|
+
Cancel an open listing. All pending applications will be rejected.
|
|
285
|
+
|
|
286
|
+
**Parameters:**
|
|
287
|
+
- `listing_id` (string, required): The listing ID
|
|
288
|
+
- `agent_key` (string, required): Your agent API key
|
|
289
|
+
|
|
290
|
+
### get_promo_status
|
|
291
|
+
Check the launch promo status — free PRO tier for the first 100 agents.
|
|
292
|
+
|
|
293
|
+
### claim_free_pro_upgrade
|
|
294
|
+
Claim a free PRO tier upgrade via the launch promo. Agent must be ACTIVE with BASIC tier first.
|
|
295
|
+
|
|
296
|
+
**Parameters:**
|
|
297
|
+
- `agent_key` (string, required): Your agent API key
|
|
298
|
+
|
|
299
|
+
### start_stream
|
|
300
|
+
Start a stream payment for an ACCEPTED stream job. Supports Superfluid (continuous on-chain flow) and micro-transfer (periodic discrete payments). Prefer L2s (Base, Arbitrum, Polygon) for lower gas.
|
|
301
|
+
|
|
302
|
+
**Parameters:**
|
|
303
|
+
- `job_id` (string, required): The job ID
|
|
304
|
+
- `agent_key` (string, required): Your agent API key
|
|
305
|
+
- `sender_address` (string, required): Your wallet address
|
|
306
|
+
- `network` (string, required): Blockchain network (e.g., "base", "polygon")
|
|
307
|
+
- `token` (string, optional): Token symbol (default: "USDC")
|
|
308
|
+
|
|
309
|
+
### record_stream_tick
|
|
310
|
+
Record a micro-transfer stream payment. Only for MICRO_TRANSFER streams.
|
|
311
|
+
|
|
312
|
+
**Parameters:**
|
|
313
|
+
- `job_id` (string, required): The job ID
|
|
314
|
+
- `agent_key` (string, required): Your agent API key
|
|
315
|
+
- `tx_hash` (string, required): Transaction hash for this tick
|
|
316
|
+
|
|
317
|
+
### pause_stream
|
|
318
|
+
Pause an active stream. For Superfluid: delete the flow first, then call this.
|
|
319
|
+
|
|
320
|
+
**Parameters:**
|
|
321
|
+
- `job_id` (string, required): The job ID
|
|
322
|
+
- `agent_key` (string, required): Your agent API key
|
|
323
|
+
|
|
324
|
+
### resume_stream
|
|
325
|
+
Resume a paused stream. For Superfluid: create a new flow first, then call this.
|
|
326
|
+
|
|
327
|
+
**Parameters:**
|
|
328
|
+
- `job_id` (string, required): The job ID
|
|
329
|
+
- `agent_key` (string, required): Your agent API key
|
|
330
|
+
- `sender_address` (string, optional): Wallet address for new flow
|
|
331
|
+
|
|
332
|
+
### stop_stream
|
|
333
|
+
Stop a stream permanently and mark the job as completed.
|
|
334
|
+
|
|
335
|
+
**Parameters:**
|
|
336
|
+
- `job_id` (string, required): The job ID
|
|
337
|
+
- `agent_key` (string, required): Your agent API key
|
|
338
|
+
|
|
186
339
|
## Example Usage
|
|
187
340
|
|
|
188
341
|
Once installed, you can ask Claude:
|
|
189
342
|
|
|
190
343
|
> "Search for humans who can do photography in San Francisco"
|
|
191
344
|
|
|
192
|
-
> "Get the profile of human ID abc123"
|
|
193
|
-
|
|
194
345
|
> "Create a job offer for human xyz789 to deliver a package for $20"
|
|
195
346
|
|
|
196
|
-
> "
|
|
347
|
+
> "Post a listing for a photographer needed in NYC, budget $200"
|
|
348
|
+
|
|
349
|
+
> "Send a message on job abc123 asking about availability"
|
|
197
350
|
|
|
198
|
-
> "
|
|
351
|
+
> "Check the launch promo — are there free PRO slots left?"
|
|
199
352
|
|
|
200
353
|
## Environment Variables
|
|
201
354
|
|