openzoo 0.2.0 → 0.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/README.md +1 -2
- package/bin/openzoo.js +0 -0
- package/lib/demo.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,7 +139,6 @@ The rail is chosen from the 402's `accepts[]` itself (Solana first). Amounts are
|
|
|
139
139
|
## What's tested
|
|
140
140
|
|
|
141
141
|
- Unit tests run against a **captured production 402 body** (`test/fixtures/live-402.json`): parsing, rail selection, and byte-level verification of the signed Solana transaction and the EVM typed-data payload.
|
|
142
|
-
- Live-verified: `/v1/models` through the proxy (200), 402 parse + quote
|
|
143
|
-
- **Not yet live-verified: an actual settled paid call** — this session's wallet was unfunded, so settlement (the facilitator accepting the signed transfer) is untested from this client. The construction matches the gateway's own documented flow byte-for-byte.
|
|
142
|
+
- Live-verified: `/v1/models` through the proxy (200), 402 parse + quote against mainnet, on-chain mint/decimals read, the internal USDC conversion (funded from plain USDC, settled on mainnet), and **a real settled paid call** — the full demo ran end-to-end against the production gateway: quote, automatic top-up from USDC, payment accepted by the facilitator, answer + receipt returned.
|
|
144
143
|
|
|
145
144
|
MIT
|
package/bin/openzoo.js
CHANGED
|
File without changes
|
package/lib/demo.js
CHANGED
|
@@ -76,7 +76,9 @@ export async function runDemo() {
|
|
|
76
76
|
const bodyObj = {
|
|
77
77
|
model: DEMO_MODEL,
|
|
78
78
|
messages: [{ role: 'user', content: `${doc}\n\n${QUESTION}` }],
|
|
79
|
-
|
|
79
|
+
// Reasoning models burn budget on thinking before visible output — 32 was
|
|
80
|
+
// returning empty content with finish_reason=length on nemotron.
|
|
81
|
+
max_tokens: 512,
|
|
80
82
|
temperature: 0,
|
|
81
83
|
};
|
|
82
84
|
const quote = await quoteFor(bodyObj);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openzoo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Local x402-paying proxy + MCP server for openzoo.fun — point any OpenAI-compatible harness (Cursor, Claude Code, aider, SDKs) at localhost and it pays per call from a local burner wallet. Solana rail live; Base/Robinhood rails experimental.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|