openzoo 0.50.62 → 0.50.64
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/cursorbackend.js +10 -1
- package/package.json +1 -1
package/lib/cursorbackend.js
CHANGED
|
@@ -1843,11 +1843,20 @@ const MODEL_ALIASES = {
|
|
|
1843
1843
|
'glm-5.3': 'zai-org/glm-5.3-flash',
|
|
1844
1844
|
'glm-5.3-flash': 'zai-org/glm-5.3-flash',
|
|
1845
1845
|
flash: 'zai-org/glm-5.3-flash',
|
|
1846
|
+
deepseek: 'deepseek/deepseek-v4-pro',
|
|
1847
|
+
'deepseek-pro': 'deepseek/deepseek-v4-pro',
|
|
1848
|
+
'deepseek-flash': 'deepseek/deepseek-v4-flash',
|
|
1849
|
+
'deepseek-v4': 'deepseek/deepseek-v4-pro',
|
|
1846
1850
|
abliterated: 'abliterated-model-large-v2',
|
|
1847
1851
|
ablit: 'abliterated-model-large-v2',
|
|
1848
1852
|
'abliterated-large': 'abliterated-model-large-v2',
|
|
1849
1853
|
'abliterated-small': 'abliterated-model',
|
|
1850
1854
|
};
|
|
1855
|
+
/** Default zoo model for every bot without a /model override. BARE `grok-4.6`
|
|
1856
|
+
* — the bazaar (x402 upstream) row, not OpenRouter's `x-ai/grok-4.6`. The
|
|
1857
|
+
* gateway serves the bare id off an x402 door with an on-chain cogs receipt,
|
|
1858
|
+
* so an OpenRouter credit outage cannot take it down. */
|
|
1859
|
+
export const DEFAULT_ZOO_MODEL = 'grok-4.6';
|
|
1851
1860
|
async function resolveModelId(raw) {
|
|
1852
1861
|
const s = String(raw || '').trim();
|
|
1853
1862
|
if (!s) return null;
|
|
@@ -1865,7 +1874,7 @@ async function resolveModelId(raw) {
|
|
|
1865
1874
|
function currentModel(agentId) {
|
|
1866
1875
|
return agentModels.get(agentId)
|
|
1867
1876
|
|| process.env.OPENZOO_DEFAULT_MODEL
|
|
1868
|
-
||
|
|
1877
|
+
|| DEFAULT_ZOO_MODEL;
|
|
1869
1878
|
}
|
|
1870
1879
|
|
|
1871
1880
|
const execFileAsync = promisify(execFile);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openzoo",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.64",
|
|
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",
|