openzoo 0.50.29 → 0.50.31

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.
@@ -1597,7 +1597,7 @@ async function zooComplete(prompt, log, agentId, parsed = {}) {
1597
1597
  method: 'POST',
1598
1598
  headers: { 'content-type': 'application/json', authorization: 'Bearer sk-openzoo' },
1599
1599
  body: JSON.stringify(payload),
1600
- signal: AbortSignal.timeout(120000),
1600
+ signal: AbortSignal.timeout(Number(process.env.OPENZOO_ASK_TIMEOUT_MS || 10 * 60_000)),
1601
1601
  });
1602
1602
  let r = await post();
1603
1603
  if (r.status === 402) {
package/lib/grokcli.js CHANGED
@@ -177,7 +177,9 @@ export async function runBot(argv = []) {
177
177
  console.error(' EnsureSandBox HIJACKED here; StreamUnifiedChat -> :8402 (x402)');
178
178
  }
179
179
 
180
- if (!argv.includes('--no-quit') && process.env.OZ_NO_QUIT !== '1') {
180
+ // Default: do not quit Grok Bot. Restarting the hijack used to osascript-quit
181
+ // the app and drop the session; pass --quit to get the old bounce.
182
+ if (argv.includes('--quit') || process.env.OZ_NO_QUIT === '0') {
181
183
  try { execSync('osascript -e \'tell application "Grok Bot" to quit\'', { stdio: 'ignore' }); } catch { /* ok */ }
182
184
  await new Promise((r) => setTimeout(r, 1500));
183
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openzoo",
3
- "version": "0.50.29",
3
+ "version": "0.50.31",
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",