xytara 3.8.0 → 3.9.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.
Files changed (2) hide show
  1. package/RELEASE_NOTES.md +4 -5
  2. package/package.json +1 -1
package/RELEASE_NOTES.md CHANGED
@@ -1,7 +1,6 @@
1
- `xytara` 3.8.0 lets a provider prove its endpoint before asking for traffic, and ships the server it can copy.
1
+ `xytara` 3.9.1 gives the runtime host its own x402 discovery entry and advertises an honest price range wherever one URL carries calls at different prices.
2
2
 
3
- - **Provider self-test** — `POST /v1/provider-network/providers/:id/self-test` (the provider with its `owner_secret`, or the operator): the runtime POSTs a synthetic, unpaid job (`command: provider.self_test`, `body.self_test: true`, zero quote) to the registered endpoint exactly the way a paid job travels — same endpoint policy, same bearer, same deliverable rule — and records the outcome on the provider (`last_self_test`: ok, reason, latency, time), visible on the public record. An empty 2xx or an error fails it; nothing is quoted, charged or attributed. The daily report's pending-provider table shows the self-test outcome next to the payout-address check.
4
- - **Reference `/execute` server** — `services/mcp-execution-target/buyer-demo/provider-execute-reference.mjs` (Node 20+, no dependencies): bearer check, `GET /health`, the self-test answer, idempotency per `quote.quote_id`, the `{ result: { output } }` deliverable shape, 429 + Retry-After when overloaded, 4xx for bad input. The verifier runs it. Published at `https://www.naxytra.com/providers/execute-reference.mjs`; the walkthrough is `https://www.naxytra.com/providers/quickstart`.
5
- - **Anchoring record** — `scripts/record_delegation_checkpoint.js` appends the live delegation-log checkpoint (id, `attestation_sha256`, head, binding tag) as one JSONL line to the chronology drop directory, only when the checkpoint carries a `ctp/1` binding.
6
- - The provider contract documents the self-test.
3
+ - **Runtime `/.well-known/x402`** — the runtime host (`/.well-known/x402`, alias `/.well-known/x402.json`) now serves a discovery entry for its own paid routes only (`/x402/commands/execute`, `/x402/mcp/tools/invoke`, `/x402/credits/topup`), with the configured accepts, a link to its OpenAPI document and the provider-network contract. It answers 404 when the runtime takes no x402 payments.
4
+ - **Price range in discovery** — on the runtime entry and the MCP executor's `/.well-known/x402`, each payment option keeps `amount` (the cheapest call) and adds `maxAmount`, plus `minAmount` when some calls cost less, in the shape the x402 discovery working group is converging on. The MCP executor's range spans the standard and attesting tools and widens to any listed provider tool's own price; the runtime's widens to active provider offers. The live payment-required challenge stays authoritative for each call.
5
+ - **Verifiers** — the MCP executor verifier checks that the `PAYMENT-REQUIRED` header and the challenge body carry identical terms on `/mcp` and `/mcp/http402`; the runtime state-guard verifier exits on failure instead of holding `verify:all` open.
7
6
  - Client package (thin): unchanged.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xytara",
3
- "version": "3.8.0",
3
+ "version": "3.9.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": {