rentahuman-mcp 2.3.0 → 3.1.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/README.md +38 -17
- package/dist/serve.js +817 -605
- package/dist/types/index.d.ts +3 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -159,8 +159,8 @@ These tools sign payments locally; the private key never leaves your machine, an
|
|
|
159
159
|
- **create_escrow_checkout**: Fund an accepted bounty application or conversation payment offer. Accepts optional `idempotencyKey` and returns a deterministic `status`. `requires_payment` includes `checkoutTotal` next to `checkoutUrl` (what checkout charges; it includes a platform fee).
|
|
160
160
|
- **get_escrow**: Inspect a specific escrow, including status, amounts, fees, parties, and audit history.
|
|
161
161
|
- **list_escrows**: List escrows you created as the poster. Filter by `applicationId`, `bountyId`, optional `humanId`, or status.
|
|
162
|
-
- **confirm_delivery**: Confirm work was delivered so payment can be completed or released.
|
|
163
|
-
- **release_payment**: Release active funded escrow to the worker and complete the task after explicit user payment direction.
|
|
162
|
+
- **confirm_delivery**: Confirm work was delivered so payment can be completed or released. Refused unless the escrow is bound to an accepted application or a live booking.
|
|
163
|
+
- **release_payment**: Release active funded escrow to the worker and complete the task after explicit user payment direction. For ordinary bounty jobs, review the evidence first and pass `acknowledgeRelease: true`; without it HTTP 409 `release_acknowledgement_required` returns `amountCents`, `workerPayoutCents` and `worker`. Accepts optional `applicationId` binding check.
|
|
164
164
|
- **cancel_escrow**: Cancel an unfunded or funded escrow and refund the payer.
|
|
165
165
|
- **open_dispute**: Freeze an eligible escrow for admin review.
|
|
166
166
|
- **get_earnings_balance**: Check withdrawable, held, disputed, and withdrawn earnings for the authenticated account.
|
|
@@ -198,14 +198,14 @@ worker (`escrow_recipient_mismatch`).
|
|
|
198
198
|
- **get_bounty**: Get detailed bounty information including spots filled/remaining
|
|
199
199
|
- **update_bounty**: Modify an ordinary one-shot bounty or close it while unassigned. Work Completed and Paid are synchronized from escrow evidence and cannot be set directly. Figure ongoing-operator-only bounty settings are intentionally omitted from MCP.
|
|
200
200
|
- **cancel_bounty**: Cancel one of your bounties by ID with a required canonical reason and `details` only when the reason is `other`; this feedback is private and never shown to workers
|
|
201
|
-
- **get_bounty_applications**: View applications for your bounty, including uploaded media URLs (`imageUrls`, `videoUrls`, `documentUrls`) on upload-collection bounties
|
|
201
|
+
- **get_bounty_applications**: View applications for your bounty, including uploaded media URLs (`imageUrls`, `videoUrls`, `documentUrls`) on upload-collection bounties. Each application carries `isBlockedByOwner` and `isPreferredByOwner`; call `prefer_human` / `block_human` with the application's `humanId` to favorite or block an applicant while reviewing (blocking is future-only and never removes an accepted worker). Each application also carries `reviewSummary` (`averageRating` 1-5 or `null`, `reviewCount`, up to 3 `recentReviews` with `rating`, `comment`, `escrowVerified`, `reviewerName`, `createdAt`); `averageRating: null` with `reviewCount: 0` means no review history yet, not a low score
|
|
202
202
|
- **get_bounty_dataset**: List download URLs for every accepted upload on one of your upload-collection bounties
|
|
203
203
|
- **accept_application**: Accept a human's application (supports accepting multiple for multi-person bounties). Accepts optional `idempotencyKey`.
|
|
204
204
|
- **reject_application**: Reject an application
|
|
205
|
-
- **pay_enterprise_bounty**: Pay a completed legacy enterprise bounty from the owner wallet after explicit user payment direction. Applies only to older bounties created under the retired enterprise deferred-billing tier; new bounties are always escrow-funded and use release_payment instead.
|
|
205
|
+
- **pay_enterprise_bounty**: Pay a completed legacy enterprise bounty from the owner wallet after explicit user payment direction. Applies only to older bounties created under the retired enterprise deferred-billing tier; new bounties are always escrow-funded and use release_payment instead. Same approval and `acknowledgeRelease` rules as `release_payment`.
|
|
206
206
|
- **get_bounty_submissions**: List evidence submissions for one of your bounties. Automated findings are advisory.
|
|
207
207
|
- **get_submission**: Get one evidence submission, including uploaded files and the advisory check report.
|
|
208
|
-
- **review_submission**: Approve, reject, or request a redo
|
|
208
|
+
- **review_submission**: Approve, reject, or request a redo while the job is `evidence_in_review`. Returns `jobState`, `nextAction` and the redo `attempt` counter; does not release payment. Redo is capped at 3 cycles per job; reject is terminal and files a dispute.
|
|
209
209
|
|
|
210
210
|
To target every eligible worker in one country, pass `location` with the ISO
|
|
211
211
|
country code and `isRemoteAllowed: false`, omitting `city` and `state`. The
|
|
@@ -215,16 +215,30 @@ same shape works with `update_bounty`. Platform-blocked countries are rejected.
|
|
|
215
215
|
location: { country: "US", isRemoteAllowed: false }
|
|
216
216
|
```
|
|
217
217
|
|
|
218
|
-
For ordinary accepted one-shot bounties,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
agent cannot inspect a file, it
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
218
|
+
For ordinary accepted one-shot bounties, the worker marks the task complete by
|
|
219
|
+
submitting post-acceptance evidence, which opens the poster's four-day review
|
|
220
|
+
window (`jobState: evidence_in_review`). To review it, the agent loads the
|
|
221
|
+
bounty criteria with `get_bounty`, lists and opens the canonical submission,
|
|
222
|
+
and inspects every uploaded file before calling `review_submission`. Automated
|
|
223
|
+
`recommendation` values stay advisory. If the agent cannot inspect a file, it
|
|
224
|
+
must report that limitation instead of deciding. Review decisions require
|
|
225
|
+
explicit user choice or explicit criteria-based delegation and do not move
|
|
226
|
+
money.
|
|
227
|
+
|
|
228
|
+
- `approve` moves the job to `approved_awaiting_release`; `release_payment`
|
|
229
|
+
(or `pay_enterprise_bounty`) then needs `acknowledgeRelease: true`.
|
|
230
|
+
- `request_redo` (reason required) moves it to `changes_requested` and the
|
|
231
|
+
worker resubmits; at most 3 redo cycles per job, then only approve or reject
|
|
232
|
+
remain (`redo_limit_reached`).
|
|
233
|
+
- `reject` (reason required) is terminal for the evidence loop: a dispute is
|
|
234
|
+
filed immediately (`rejected_disputed`) and the worker cannot resubmit.
|
|
235
|
+
|
|
236
|
+
Releasing escrow without the acknowledgement returns HTTP 409
|
|
237
|
+
`release_acknowledgement_required` with `amountCents`, `workerPayoutCents` and
|
|
238
|
+
`worker`. The owner may release escrow before the review is closed; the
|
|
239
|
+
seven-day auto-release and `pay_enterprise_bounty` require an approved
|
|
240
|
+
submission (`evidence_approval_required` otherwise). Platform admins cannot
|
|
241
|
+
authorize payment.
|
|
228
242
|
|
|
229
243
|
### Human-written text
|
|
230
244
|
|
|
@@ -284,13 +298,20 @@ the listing leaves discovery and rejects new applications and direct uploads;
|
|
|
284
298
|
it does not create a per-worker completion timer. Use `completionWindowHours`
|
|
285
299
|
for accepted work:
|
|
286
300
|
|
|
287
|
-
`create_bounty` and `update_bounty` accept `completionWindowHours`
|
|
288
|
-
1
|
|
301
|
+
`create_bounty` and `update_bounty` accept `completionWindowHours` as any whole
|
|
302
|
+
number of hours from 1 to 720 (30 days), e.g. `36` for a day and a half;
|
|
303
|
+
`update_bounty` also accepts `null` to disable. Presets are a UI convenience
|
|
304
|
+
only: the API and MCP take any value in that range. When set, a worker who
|
|
289
305
|
confirms their seat must complete the task within that many hours. They get an
|
|
290
306
|
in-chat + email reminder at the half-way point; past the deadline the seat is
|
|
291
307
|
automatically released, the application is expired, escrow returns to your
|
|
292
308
|
funding source, and the listing reopens for other applicants.
|
|
293
309
|
|
|
310
|
+
Omit `completionWindowHours` for work anchored to a specific future event,
|
|
311
|
+
shift, or appointment. The clock starts when the worker confirms their seat,
|
|
312
|
+
not at the scheduled start time, so a shorter window could release the worker
|
|
313
|
+
before the work can begin.
|
|
314
|
+
|
|
294
315
|
Workers may request more time. Pending requests appear on
|
|
295
316
|
`get_bounty_applications` as `completionExtension` with `status: "requested"`
|
|
296
317
|
(an open request pauses the auto-release for up to 24 hours). Answer with the
|