openzoo 0.29.8 → 0.29.9
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/lib/setup.js +8 -0
- package/package.json +1 -1
package/lib/setup.js
CHANGED
|
@@ -328,6 +328,14 @@ export async function setupEditor(which, target) {
|
|
|
328
328
|
ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY || 'sk-openzoo',
|
|
329
329
|
ANTHROPIC_AUTH_TOKEN: process.env.ANTHROPIC_AUTH_TOKEN || 'sk-openzoo',
|
|
330
330
|
};
|
|
331
|
+
// TRUST OUR SELF-SIGNED IMPERSONATION CERT IN THE EDITOR'S NODE STACK TOO.
|
|
332
|
+
// --ignore-certificate-errors covers only the Chromium RENDERER (browser fetch:
|
|
333
|
+
// stripe, updates — those succeeded). The editor's gRPC/Connect transport runs
|
|
334
|
+
// in the Electron MAIN process on Node's own TLS, which ignores that flag and
|
|
335
|
+
// rejected our cert — the ECONNRESET-before-ALPN wall in the backend log, and
|
|
336
|
+
// exactly the model/chat calls we need. NODE_TLS_REJECT_UNAUTHORIZED=0 is the
|
|
337
|
+
// Node-side switch. Only set under takeover, where we own the endpoint.
|
|
338
|
+
if (which === 'cursor' && !process.argv.includes('--no-takeover')) env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
|
331
339
|
|
|
332
340
|
console.log('');
|
|
333
341
|
console.log(`mcp: ${mcpFile} (openzoo: zoo_bind, zoo_ask, zoo_models, zoo_wallet, zoo_contexts)`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openzoo",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.9",
|
|
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 and Base rails live; Robinhood experimental.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|