xytara 3.9.15 → 3.9.17

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 -4
  2. package/package.json +1 -1
package/RELEASE_NOTES.md CHANGED
@@ -1,6 +1,6 @@
1
- `xytara` 3.9.15 makes the MCP server's HTTP 402 endpoint always paid, so the URL listed for x402 discovery (the CDP Bazaar) answers every call with a payment challenge. It also records discovery probes.
1
+ `xytara` 3.9.17 tells buyers what a provider actually answered when it refuses or fails a call.
2
2
 
3
- - **`/mcp/http402` is always paid:** the free allowance (20 tool calls per UTC day) now applies on `https://mcp.naxytra.com/mcp` only. The HTTP 402 variant, used by x402 clients that pay per call, answers an unpaid `tools/call` with HTTP 402 and the price every time; its challenge says where the free allowance applies.
4
- - **Listed URL without a query string:** each tool's payment resource is `https://mcp.naxytra.com/mcp/http402#<tool>` (and `…/mcp#<tool>` for MCP-native payments). Discovery indexers drop query strings, so the URL now means the same thing with or without one.
5
- - **Discovery probes are visible:** `GET https://mcp.naxytra.com/bazaar/status` now also lists requests from discovery indexers (by user agent) and the status we answered, next to the facilitator's decisions.
3
+ - **Provider answers passed on:** when an open-network provider refuses a call, the runtime now returns the provider's HTTP status (`upstream_status`) and a short summary of its reply as `details`. An HTML error page is reduced to its title, and a JSON body to its reason, error or message, at most 300 characters. Before, it returned the provider's raw reply, which could be a whole HTML page.
4
+ - **On the MCP server:** a failed provider tool call says so in its message, for example `ai.chat could not be served (external_execution_target_rejected): the provider answered HTTP 429 (rate limited): HTML page: This website has been temporarily rate limited`. The result also carries `upstream_status` and `provider_answer`. Before, the MCP server read a field the runtime never sent, so the provider's answer was dropped.
5
+ - As before, a refused call is not charged.
6
6
  - No change to pricing, payment, settlement, routing, the provider ledger or the client package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xytara",
3
- "version": "3.9.15",
3
+ "version": "3.9.17",
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": {