openzoo 0.50.99 → 0.51.0
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/bin/openzoo.js +33 -0
- package/lib/cursorbackend.js +6 -1
- package/lib/cursorbackend.js.bak-hiddenbots +4072 -0
- package/lib/models.js +6 -1
- package/package.json +7 -4
- package/transmute/README.md +352 -0
- package/transmute/bin/openzoo-transmute.js +7 -0
- package/transmute/docs/OPENZOO_CLI_PATCH.md +139 -0
- package/transmute/docs/VERCEL_TO_SOLANA.md +381 -0
- package/transmute/lib/build.js +311 -0
- package/transmute/lib/cli.js +231 -0
- package/transmute/lib/compile/index.js +146 -0
- package/transmute/lib/compile/ir.js +1634 -0
- package/transmute/lib/compile/parse.js +753 -0
- package/transmute/lib/compile/rust.js +777 -0
- package/transmute/lib/deploy.js +209 -0
- package/transmute/lib/eligibility.js +211 -0
- package/transmute/lib/gateway.js +704 -0
- package/transmute/lib/hub.js +249 -0
- package/transmute/lib/solana.js +339 -0
- package/transmute/lib/vercel.js +296 -0
- package/transmute/lib/wallet.js +41 -0
- package/transmute/lib/wire.js +167 -0
- package/transmute/runtime/zoo-host/Cargo.lock +588 -0
- package/transmute/runtime/zoo-host/Cargo.toml +28 -0
- package/transmute/runtime/zoo-host/src/assets.rs +170 -0
- package/transmute/runtime/zoo-host/src/ctx.rs +322 -0
- package/transmute/runtime/zoo-host/src/json.rs +257 -0
- package/transmute/runtime/zoo-host/src/kv.rs +182 -0
- package/transmute/runtime/zoo-host/src/lib.rs +123 -0
- package/transmute/runtime/zoo-host/src/val.rs +1044 -0
- package/transmute/runtime/zoo-host/src/wire.rs +239 -0
- package/transmute/site/.env.production +2 -0
- package/transmute/site/api/echo.js +10 -0
- package/transmute/site/api/hello.js +12 -0
- package/transmute/site/api/hits.js +13 -0
- package/transmute/site/api/time.js +5 -0
- package/transmute/site/public/app.js +16 -0
- package/transmute/site/public/index.html +62 -0
package/bin/openzoo.js
CHANGED
|
@@ -169,6 +169,19 @@ usage:
|
|
|
169
169
|
npx openzoo contexts --forget <hash|all> drop manifest entries
|
|
170
170
|
npx openzoo balance wallet balance on every rail — Solana (USDC/TOKEN/SOL),
|
|
171
171
|
Base (USDC/ETH), Robinhood Chain (USDG/memecoins/ETH)
|
|
172
|
+
npx openzoo build [dir] transmute a Vercel-shaped app (Next.js pages/api,
|
|
173
|
+
app/**/route, Vite + api/*) into a Pinocchio Rust
|
|
174
|
+
program + asset plan (--out .zoo-out --arch v0|v3)
|
|
175
|
+
npx openzoo deploy [dir] deploy the program and the static frontend to
|
|
176
|
+
Solana accounts (--cluster mainnet|devnet|localnet,
|
|
177
|
+
--yes to accept the rent estimate; burner wallet)
|
|
178
|
+
npx openzoo serve <program> local gateway/explorer for a deployed site
|
|
179
|
+
(--cluster, --port 4402); /api/* reads are free
|
|
180
|
+
simulations, writes are signed by the burner
|
|
181
|
+
npx openzoo inspect [dir] print the app in Vercel terms + eligibility report
|
|
182
|
+
npx openzoo hub hosted explorer for every transmuted site on the
|
|
183
|
+
cluster (what sites.openzoo.fun runs)
|
|
184
|
+
npx openzoo hub hosted explorer for every transmuted site on the cluster
|
|
172
185
|
npx openzoo address print both funding addresses (Solana + EVM)
|
|
173
186
|
npx openzoo help this text
|
|
174
187
|
|
|
@@ -403,6 +416,26 @@ async function main() {
|
|
|
403
416
|
if (bal <= 0) console.log('buy some with: npx openzoo topup 10');
|
|
404
417
|
break;
|
|
405
418
|
}
|
|
419
|
+
case 'build':
|
|
420
|
+
case 'deploy':
|
|
421
|
+
case 'serve':
|
|
422
|
+
case 'inspect':
|
|
423
|
+
case 'hub':
|
|
424
|
+
case 'transmute': {
|
|
425
|
+
// VERCEL-SHAPED APP -> SOLANA MAINNET. `openzoo build|deploy|serve` hand
|
|
426
|
+
// the argv to openzoo-transmute (a sibling npm package): it reads the
|
|
427
|
+
// app the way `vercel build` would (pages/api, app/**/route, api/*,
|
|
428
|
+
// .vercel/output), transmutes each Lambda into a Pinocchio Rust program
|
|
429
|
+
// route, stores the static build in asset accounts, deploys with the
|
|
430
|
+
// burner wallet at ~/.openzoo/wallet.json, and `serve` runs the local
|
|
431
|
+
// gateway/explorer that maps http://localhost:4402/... onto the program.
|
|
432
|
+
const argv = process.argv.slice(2).map((a, i) => (i === 0 && a === 'transmute' ? 'help' : a));
|
|
433
|
+
// The transmuter ships inside this package (transmute/): lib/cli.js, the
|
|
434
|
+
// compiler, the gateway + hub and the on-chain runtime crate
|
|
435
|
+
// (transmute/runtime/zoo-host) all travel with npm — no second install.
|
|
436
|
+
await (await import('../transmute/lib/cli.js')).run(argv);
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
406
439
|
case 'address':
|
|
407
440
|
(await import('../lib/info.js')).printAddress();
|
|
408
441
|
break;
|
package/lib/cursorbackend.js
CHANGED
|
@@ -2126,8 +2126,13 @@ function saveAgentModels() {
|
|
|
2126
2126
|
}
|
|
2127
2127
|
const agentModels = loadAgentModels();
|
|
2128
2128
|
const MODEL_ALIASES = {
|
|
2129
|
-
fable
|
|
2129
|
+
// Bare `fable` is the NEWEST fable, same as `opus` is the newest opus. This
|
|
2130
|
+
// pinned to 5 after 5.1 was live in the catalog, so `/model fable` silently
|
|
2131
|
+
// picked the older model.
|
|
2132
|
+
fable: 'anthropic/claude-fable-5.1',
|
|
2130
2133
|
'fable-5': 'anthropic/claude-fable-5',
|
|
2134
|
+
'fable-5-1': 'anthropic/claude-fable-5.1',
|
|
2135
|
+
'claude-fable-5-1': 'anthropic/claude-fable-5.1',
|
|
2131
2136
|
'claude-fable-5': 'anthropic/claude-fable-5',
|
|
2132
2137
|
opus: 'anthropic/claude-opus-5',
|
|
2133
2138
|
'opus-5': 'anthropic/claude-opus-5',
|