xytara 3.2.0 → 3.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/RELEASE_NOTES.md +7 -8
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
`xytara` 3.2.
|
|
1
|
+
`xytara` 3.2.1 makes paying plug-and-play for every kind of client.
|
|
2
2
|
|
|
3
|
-
- **
|
|
4
|
-
-
|
|
5
|
-
- **
|
|
6
|
-
- **
|
|
7
|
-
- **
|
|
8
|
-
-
|
|
9
|
-
- Published through npm trusted publishing (GitHub OIDC) — no npm token involved.
|
|
3
|
+
- **Free daily allowance** — every caller of the MCP server gets 20 free tool calls per UTC day, no key or wallet needed; each result reports the remaining allowance in `_meta["naxytra.com/allowance"]`.
|
|
4
|
+
- **Spend-key mode** — a prepaid spend credential (`Authorization: Bearer xytara_spend_…`, `X-Naxytra-Key`, or `?key=` on the MCP URL for clients that cannot set headers) pays 3 credits per call from the runtime; failed calls are never debited, and a retried debit with the same id is never charged twice. The self-serve top-up ($1.00 USDC on Base = 400 credits) returns the key.
|
|
5
|
+
- **Balance endpoint** — `GET /v1/credits/balance` with the spend credential; browser-callable (CORS) so the buy and setup pages can show it.
|
|
6
|
+
- **Hosted-deploy hardening** — the credit lifecycle routes (reserve, release, reverse) now require the account's spend credential or the operator token; a bare account id is never authority.
|
|
7
|
+
- **Payment-required results** now explain the allowance, the two ways to continue (spend key or x402) and the price. The server card no longer says "no API keys".
|
|
8
|
+
- Client package (thin): unchanged surface; the MCP server itself is not distributed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xytara",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Client for the hosted naxytra runtime: discover a capability, pay per call with x402 (gasless USDC on Base) or credits, get the deliverable and a signed delivery receipt you can verify offline. The runtime is a hosted service; this package is the client.",
|
|
5
5
|
"main": "client.js",
|
|
6
6
|
"exports": {
|