{"_id":"@0gflow/executor","_rev":"5-0a49232ba9147deeffd873433b642b61","name":"@0gflow/executor","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@0gflow/executor","version":"1.0.0","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/executor@1.0.0","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/aryan/0g-flow/issues"},"dist":{"shasum":"94fa4495be0272882b6b8353a03316c9e4b474d8","tarball":"https://registry.npmjs.org/@0gflow/executor/-/executor-1.0.0.tgz","fileCount":54,"integrity":"sha512-2H7GP+rW5KVA0WSjt5kNjzmqdYX+7Ly3YggXn9UlgHB0XOc936EExVXfq2+e3h7tV5GvXVib4oPBUmy2Y2i8nA==","signatures":[{"sig":"MEQCIAkDwQoMAu3sOsWWM3IS/Ag6NlI6YY05y6XdIpgEoh/WAiAPj/31ayqgaFtjWrERlMYpUWJ2fTS//+12yqFAENFsQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":226457},"main":"./dist/index.js","type":"module","_from":"file:0gflow-executor-1.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\abc6f8e91eac4e3c9bd48e98693e41dd\\0gflow-executor-1.0.0.tgz","_integrity":"sha512-2H7GP+rW5KVA0WSjt5kNjzmqdYX+7Ly3YggXn9UlgHB0XOc936EExVXfq2+e3h7tV5GvXVib4oPBUmy2Y2i8nA==","repository":{"url":"git+https://github.com/aryan/0g-flow.git","type":"git","directory":"packages/executor"},"_npmVersion":"10.9.2","description":"Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"viem":"^2.21.0","@0gflow/core":"1.0.0","@0gflow/config":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@0gflow/adapter-sdk":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/executor_1.0.0_1787931536367_0.4875878819347885","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@0gflow/executor","version":"1.0.1","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/executor@1.0.1","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/aryan/0g-flow/issues"},"dist":{"shasum":"7dae9a8ff87b4b5abcdb9c35b168de8356280b0f","tarball":"https://registry.npmjs.org/@0gflow/executor/-/executor-1.0.1.tgz","fileCount":54,"integrity":"sha512-k6gZ+lxHfReRul4qJev0dVsBrP1qLaK0X4g/4gXhc+0pXWOOuRubcXdOblHcaQxgbxZgECPdfzfV59Q6G4VOug==","signatures":[{"sig":"MEYCIQDUSPEumZwZLI9ui4GGZG3fjzN+I82pTkFyELKY+wxlgwIhAKjScESSpU5WUtbHpuTT94bpaswdzNcmb6FOigSv6yue","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":226457},"main":"./dist/index.js","type":"module","_from":"file:0gflow-executor-1.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\1350b17170aef1584003872ac8aaa232\\0gflow-executor-1.0.1.tgz","_integrity":"sha512-k6gZ+lxHfReRul4qJev0dVsBrP1qLaK0X4g/4gXhc+0pXWOOuRubcXdOblHcaQxgbxZgECPdfzfV59Q6G4VOug==","repository":{"url":"git+https://github.com/aryan/0g-flow.git","type":"git","directory":"packages/executor"},"_npmVersion":"10.9.2","description":"Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"viem":"^2.21.0","@0gflow/core":"1.0.1","@0gflow/config":"1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@0gflow/adapter-sdk":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/executor_1.0.1_1787932106752_0.4519144775174484","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@0gflow/executor","version":"1.0.2","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/executor@1.0.2","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/aryan/0g-flow/issues"},"dist":{"shasum":"ab0802dcae5cabd7444634cd7c600327887a0f9f","tarball":"https://registry.npmjs.org/@0gflow/executor/-/executor-1.0.2.tgz","fileCount":54,"integrity":"sha512-GwTdeolz2BpiKfAaNsV99l4A3bDv43zifE9eCB7L1lW5UyB6IMHmakeoZ/+r1GBlgLMmZ/9wsqr+ztAPxnGcAA==","signatures":[{"sig":"MEUCIQCMcoZa+0Q8gAWNpQWau0mn52vnASTPwpIEcnOayOYq6AIgT5d5TTP4HWs8aLP4cYY2GNek2HEgXKUO6dyKZUilU3E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":226457},"main":"./dist/index.js","type":"module","_from":"file:0gflow-executor-1.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\b34030f633ba00b19b6b531daa12b99d\\0gflow-executor-1.0.2.tgz","_integrity":"sha512-GwTdeolz2BpiKfAaNsV99l4A3bDv43zifE9eCB7L1lW5UyB6IMHmakeoZ/+r1GBlgLMmZ/9wsqr+ztAPxnGcAA==","repository":{"url":"git+https://github.com/aryan/0g-flow.git","type":"git","directory":"packages/executor"},"_npmVersion":"10.9.2","description":"Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"viem":"^2.21.0","@0gflow/core":"1.0.2","@0gflow/config":"1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@0gflow/adapter-sdk":"1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/executor_1.0.2_1787932372879_0.7371798826589337","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@0gflow/executor","version":"1.0.3","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/executor@1.0.3","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/SCARPxVeNOM/4RGE/issues"},"dist":{"shasum":"442dd03d7f80a9bc297fa630a16086fdbecf6c9c","tarball":"https://registry.npmjs.org/@0gflow/executor/-/executor-1.0.3.tgz","fileCount":54,"integrity":"sha512-HGkrpVo7zDo75tJ+b0urbcAwpYPFSDJ17X39Qx9S2LAE2NkWFyfHi8pcX0MB7BnUpgCnLPksIH5KNsAaIyIvRQ==","signatures":[{"sig":"MEYCIQC5hGAVSu7c7ryqAr8AUC5iyuVXRew7Suqe45J7QPE8HgIhAKoGCI1aoAzh49eSqyuVqzGdx9pkcv/OS6fDvtuLGJ82","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":226463},"main":"./dist/index.js","type":"module","_from":"file:0gflow-executor-1.0.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\3f02ddad93535cde7d80ebd6a71164f2\\0gflow-executor-1.0.3.tgz","_integrity":"sha512-HGkrpVo7zDo75tJ+b0urbcAwpYPFSDJ17X39Qx9S2LAE2NkWFyfHi8pcX0MB7BnUpgCnLPksIH5KNsAaIyIvRQ==","repository":{"url":"git+https://github.com/SCARPxVeNOM/4RGE.git","type":"git","directory":"packages/executor"},"_npmVersion":"10.9.2","description":"Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"viem":"^2.21.0","@0gflow/core":"1.0.3","@0gflow/config":"1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@0gflow/adapter-sdk":"1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/executor_1.0.3_1787936633810_0.12787043627737593","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@0gflow/executor","version":"1.1.0","description":"Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"dependencies":{"@0gflow/config":"workspace:*","@0gflow/core":"workspace:*","viem":"^2.21.0"},"license":"MIT","devDependencies":{"@0gflow/adapter-sdk":"workspace:*"},"keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"homepage":"https://explorer-production-25c8.up.railway.app","repository":{"type":"git","url":"git+https://github.com/SCARPxVeNOM/4RGE.git","directory":"packages/executor"},"bugs":{"url":"https://github.com/SCARPxVeNOM/4RGE/issues"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"_id":"@0gflow/executor@1.1.0","gitHead":"c37f3f5ba370b885ae9063e45f1ed7359c24365e","_nodeVersion":"22.17.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-C7Y6S+4eoo9DLakko88gKWez8wcXt4/2DOj5WGl7CfHoANl5OG5BP7CpyPdP8s7uFzXw+jtM32vG+s+imUJt8w==","shasum":"6ccd7a44950af3707ed085d3153c044bdeaf4a62","tarball":"https://registry.npmjs.org/@0gflow/executor/-/executor-1.1.0.tgz","fileCount":54,"unpackedSize":230834,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCzCZHYGr4Q40t39nu2N6MVLdI1jYSE1p8N1k4xVTGm3QIgOugqwL3TM0D5cm+JhMmSPr/7bDd2Kjs6fhJmnOGotBI="}]},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"directories":{},"maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/executor_1.1.0_1788430321545_0.27399256796639015"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T15:38:56.180Z","modified":"2026-09-03T10:12:01.945Z","1.0.0":"2026-08-28T15:38:56.507Z","1.0.1":"2026-08-28T15:48:26.895Z","1.0.2":"2026-08-28T15:52:53.034Z","1.0.3":"2026-08-28T17:03:53.977Z","1.1.0":"2026-09-03T10:12:01.690Z"},"bugs":{"url":"https://github.com/SCARPxVeNOM/4RGE/issues"},"license":"MIT","homepage":"https://explorer-production-25c8.up.railway.app","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"repository":{"type":"git","url":"git+https://github.com/SCARPxVeNOM/4RGE.git","directory":"packages/executor"},"description":"Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"readme":"# @0gflow/executor\r\n\r\nRun a 0G Flow workflow.\r\n\r\n```ts\r\nawait executeRun({\r\n  spec, inputs, runId, chain, traces,\r\n  adapters,  // resolve agents from the on-chain registry\r\n  agents,    // check their output signatures\r\n  schemas,   // validate input against what they published\r\n  escrow,    // pay them as each step is anchored\r\n});\r\n```\r\n\r\nIt plans the DAG, resolves each agent's endpoint from the registry, validates\r\nthe input against the schema that agent committed to, invokes it, stores the\r\ntrace on 0G Storage, anchors a receipt per step, folds the chain root, seals the\r\nrun — and settles payment.\r\n\r\nEvery step gets a receipt, including skipped ones: the chain root folds over a\r\ncontiguous range, so omitting one would leave a gap and the run would not verify\r\nat all. A failed run is sealed as a verifiable failure rather than abandoned.\r\n\r\nA step can demand a signed output, a bound attestation, or a minimum record and\r\nbond before its agent is hired at all.\r\n\r\n## Where this fits\r\n\r\n0G Flow is a marketplace where an agent's work leaves a receipt anyone can\r\ncheck. Browse it at [https://explorer-production-25c8.up.railway.app](https://explorer-production-25c8.up.railway.app).\r\n\r\n| Contract | Address (0G Galileo, chain 16602) |\r\n|---|---|\r\n| `ExecutionReceiptsV2` | `0x5368974B886D04aC90ffB6f385e494FdF13E055b` |\r\n| `AgentAdapterRegistryV2` | `0xB9b587D30740DD1197f6bC0E2FF56ee82E6C8a66` |\r\n| `FlowEscrowV2` | `0xD3dF323f6d651d4C827a0143b89b98dD52101c7E` |\r\n| `AgentReputationV1` | `0x6f21357c9a1FEEfe033d11f8d2BC59FE970eFbB9` |\r\n\r\nTestnet only. Nothing here has been audited.\r\n\r\nMIT.\r\n","readmeFilename":"README.md"}