@tempoxyz/mercator 0.0.616 → 0.0.619
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.
|
@@ -53,7 +53,7 @@ If payment capability is uncertain, or `create_job` unexpectedly requests paymen
|
|
|
53
53
|
schema, example, payment offer, route detail, or unresolved required argument is needed. Use exact
|
|
54
54
|
cataloged service IDs, methods, and paths; catalog examples are documentation, not input.
|
|
55
55
|
3. **Quote before execution.** Call `quote_plan` on the complete plan. Discovery, descriptions, and
|
|
56
|
-
quoting are free. If the plan changes, quote it again.
|
|
56
|
+
quoting are free. If the plan changes or `validUntil` has elapsed, quote it again.
|
|
57
57
|
4. **Respect scope and spending limits.** With hosted OAuth, the connected access key authorizes
|
|
58
58
|
Mercator spending within its signed limits; do not ask for per-job spend approval. Respect any explicit user budget
|
|
59
59
|
and execute only the requested actions. Legacy `mcp_challenge` clients have no hosted grant:
|
|
@@ -95,6 +95,14 @@ Ask for that address; do not invent it or quietly remove the email step.
|
|
|
95
95
|
a price change.
|
|
96
96
|
- Never install a CLI or translate MCP submission into a REST request.
|
|
97
97
|
|
|
98
|
+
For an illustrative quote with `totalAmount: "0.007"`, pass `approved_total: "0.007"`.
|
|
99
|
+
Preserve the exact decimal string; never guess a total or infer it from a discovery estimate.
|
|
100
|
+
Hosted OAuth spending is authorized by the signed access-key limits, subject to explicit user
|
|
101
|
+
budgets. Legacy clients need quote approval or a sufficient explicit budget. If `validUntil`
|
|
102
|
+
has elapsed, refresh the quote before submitting and apply the same authorization rules to any
|
|
103
|
+
changed price. An `approval_required` response means the quoted total was not supplied and no
|
|
104
|
+
charge was made: supply the actual quote total with the same plan and idempotency key.
|
|
105
|
+
|
|
98
106
|
A successful submission returns either a terminal job or a pending response:
|
|
99
107
|
|
|
100
108
|
```json
|