xytara 3.9.16 → 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.16 gives every paid MCP tool its own HTTP 402 URL, so x402 discovery (the CDP Bazaar) lists each tool separately.
1
+ `xytara` 3.9.17 tells buyers what a provider actually answered when it refuses or fails a call.
2
2
 
3
- - **One URL per tool:** `https://mcp.naxytra.com/mcp/http402/<tool>`, for example `/mcp/http402/keccak256`, serves that tool over the HTTP 402 transport. A `tools/call` there may leave out `params.name`. A different tool's name is refused, uncharged. `GET` describes the tool, and an unknown tool answers 404. Provider tools have their own URLs too.
4
- - **Catalogued per tool:** each tool's payment resource is its own URL. Discovery catalogues key HTTP resources by URL with the query and fragment removed, so the earlier `/mcp/http402#<tool>` form folded every tool into a single entry. MCP-native payments keep `https://mcp.naxytra.com/mcp#<tool>`.
5
- - `https://mcp.naxytra.com/mcp/http402` (all tools, always paid) and the free allowance on `https://mcp.naxytra.com/mcp` are unchanged.
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.16",
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": {