Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(node-operator): read the e2e job record without double-parsing it

nirholas3e27cd21c1c7
diff --git a/packages/node-operator/scripts/e2e-local.mjs b/packages/node-operator/scripts/e2e-local.mjs
index 81fe32619..296a135ce 100644
--- a/packages/node-operator/scripts/e2e-local.mjs
+++ b/packages/node-operator/scripts/e2e-local.mjs
@@ -150,7 +150,10 @@ async function main() {
log('client completed the job');
// 5. Read the job back and verify the receipt cryptographically.
- const stored = JSON.parse(await shimClient.get(`ijob:${jobId}`));
+ // The Upstash client deserializes on read, so a JSON value comes back as
+ // an object already; only a non-JSON value arrives as a string.
+ const rawStored = await shimClient.get(`ijob:${jobId}`);
+ const stored = typeof rawStored === 'string' ? JSON.parse(rawStored) : rawStored;
if (stored.status !== 'done') throw new Error(`job status is ${stored.status}, expected done`);
const { output, receipt, startedAt, finishedAt } = stored;
const verified = await verifyResult(