{"_id":"@absolutejs/arazzo","_rev":"4-5eebbdedeff4c0c46316cc2f5e9a3974","name":"@absolutejs/arazzo","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@absolutejs/arazzo","version":"0.1.0","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/arazzo@0.1.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/arazzo","bugs":{"url":"https://github.com/absolutejs/arazzo/issues"},"dist":{"shasum":"3b15603d8471924f3cef4d033cc086ac41ee8d2a","tarball":"https://registry.npmjs.org/@absolutejs/arazzo/-/arazzo-0.1.0.tgz","fileCount":14,"integrity":"sha512-DGG+ty03xcfsRX5u2iPgA6wqPU8zwIwDsYs/xGtcPI2MhFX9hKwc2OmnxuqQ0uzpDcwEVrAgrqkGkQBzqsMprA==","signatures":[{"sig":"MEQCIDlT4ylI3OzfAAPopAJN63hgVOxFt7BZxl+Y0pEGlp4rAiBnxzpXACxJtppL++ZmKODAMZXP2J9iWLdGFW5eCmcLVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28993},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"a8dd65a38ce0c8268e770fd26afa01d7e2b3c91f","scripts":{"test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --target=bun --external @absolutejs/manifest --external @sinclair/typebox --external yaml && tsc -p tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md,yml}\"","typecheck":"tsc --noEmit","check:package":"bun run format && bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/arazzo.git","type":"git"},"_npmVersion":"10.9.2","description":"Arazzo 1.1 workflow discovery, validation, planning, and policy-aware execution for AI agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.8.1","@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/arazzo_0.1.0_1784178870742_0.1964065901106662","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@absolutejs/arazzo","version":"0.1.1","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/arazzo@0.1.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/arazzo","bugs":{"url":"https://github.com/absolutejs/arazzo/issues"},"dist":{"shasum":"e87f3e81fd91cf9cdddd132ad1a0e1abc8cf858c","tarball":"https://registry.npmjs.org/@absolutejs/arazzo/-/arazzo-0.1.1.tgz","fileCount":14,"integrity":"sha512-ZNefjmQoO1toXAkNZMNypUDcGUOgrHPyeHykpHnylPd+upJuDkyqvKcmRXB/VhEx9ZRLCqwml4LHwshC4h8+KQ==","signatures":[{"sig":"MEQCIF4KVVb2FELjX4jxXfzHroVkkjGOYAOWLVoVzG1jiS67AiALa5TSoEz7t+1sGBb3h4t9x40VFt6I5cmtI7D8IHpTaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29712},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"c8863d08a88603485ad97b1c67fb0156a7308247","scripts":{"test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --target=bun --external @absolutejs/manifest --external @sinclair/typebox --external yaml && tsc -p tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md,yml}\"","typecheck":"tsc --noEmit","check:package":"bun run format && bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/arazzo.git","type":"git"},"_npmVersion":"10.9.2","description":"Arazzo 1.1 workflow discovery, validation, planning, and policy-aware execution for AI agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.8.1","@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/arazzo_0.1.1_1784396893004_0.8574181465780375","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@absolutejs/arazzo","version":"0.1.2","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/arazzo@0.1.2","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/arazzo","bugs":{"url":"https://github.com/absolutejs/arazzo/issues"},"dist":{"shasum":"ba9b0e6d606453719d30fe556d30491cf9e0740c","tarball":"https://registry.npmjs.org/@absolutejs/arazzo/-/arazzo-0.1.2.tgz","fileCount":15,"integrity":"sha512-ztLhvUMhxrJoPG4MphyUOy+PHmbehKBjbbjUf5EyuOF+7MOhXobcVWYehNF+wYtKrFKs5aH1KC3i1xZaaAxbVA==","signatures":[{"sig":"MEYCIQD/SHLQTq34OQdd1cZmvwoJtdrzoZsJhhniqGMQm3mKjwIhAMpyIktckC6fvdg0jXhW9ZbewU0t+olzxiq+CEkJk4NG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35634},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"2417ea1e95955346342e4d7dc54b17ecf0c2cb1a","scripts":{"test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --target=bun --external @absolutejs/manifest --external @sinclair/typebox --external yaml && tsc -p tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md,yml}\"","typecheck":"tsc --noEmit","check:package":"bun run format && bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/arazzo.git","type":"git"},"_npmVersion":"10.9.2","description":"Arazzo 1.1 workflow discovery, validation, planning, and policy-aware execution for AI agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.8.1","@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/arazzo_0.1.2_1784498677001_0.035452084670345885","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@absolutejs/arazzo","version":"0.1.3","description":"Arazzo 1.1 workflow discovery, validation, planning, and policy-aware execution for AI agents.","type":"module","license":"MIT","author":"Alex Kahn","repository":{"type":"git","url":"git+https://github.com/absolutejs/arazzo.git"},"homepage":"https://github.com/absolutejs/arazzo","bugs":{"url":"https://github.com/absolutejs/arazzo/issues"},"publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"absolutejs":{"manifestContract":2},"scripts":{"format":"prettier --write \"./**/*.{ts,json,md,yml}\"","typecheck":"tsc --noEmit","test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --target=bun --external @absolutejs/manifest --external @sinclair/typebox --external yaml && tsc -p tsconfig.build.json && absolute-manifest emit","check:package":"bun run format && bun run typecheck && bun run test && bun run build"},"dependencies":{"@absolutejs/manifest":"^0.7.3","@sinclair/typebox":"^0.34.0","yaml":"^2.8.1"},"devDependencies":{"@types/bun":"^1.3.14","prettier":"^3.8.3","typescript":"^6.0.3"},"_id":"@absolutejs/arazzo@0.1.3","_integrity":"sha512-ASqQ6QdULoBmD9m0vswyffOo49kdvrGQM43tcID/e+NMuwS4GwcGzbRXgVMMui1/rU4TN0o7PH3vKbXITIM0ww==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"ee16d9da6f1f80adc7347c25f4c12bbb845414f3","dist":{"integrity":"sha512-ASqQ6QdULoBmD9m0vswyffOo49kdvrGQM43tcID/e+NMuwS4GwcGzbRXgVMMui1/rU4TN0o7PH3vKbXITIM0ww==","shasum":"ee16d9da6f1f80adc7347c25f4c12bbb845414f3","tarball":"https://registry.npmjs.org/@absolutejs/arazzo/-/arazzo-0.1.3.tgz","fileCount":15,"unpackedSize":36436,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDqpufu0Yr3nnlyY01nlJDT/Ft91oVQbNUgwbbNIBWI2AIgDqbzpJrfPuVfuJtInzTRGq5LkL7o00a5ZGyX3yQ9oJk="}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/arazzo_0.1.3_1785091302347_0.4305555547355784"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-16T05:14:30.557Z","modified":"2026-07-26T18:41:42.688Z","0.1.0":"2026-07-16T05:14:30.873Z","0.1.1":"2026-07-18T17:48:13.141Z","0.1.2":"2026-07-19T22:04:37.147Z","0.1.3":"2026-07-26T18:41:42.514Z"},"bugs":{"url":"https://github.com/absolutejs/arazzo/issues"},"author":"Alex Kahn","license":"MIT","homepage":"https://github.com/absolutejs/arazzo","repository":{"type":"git","url":"git+https://github.com/absolutejs/arazzo.git"},"description":"Arazzo 1.1 workflow discovery, validation, planning, and policy-aware execution for AI agents.","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"readme":"# @absolutejs/arazzo\n\nProvider-neutral Arazzo **1.1** workflow discovery, validation, dependency\nplanning, and policy-aware execution for AI agents.\n\nArazzo is the OpenAPI Initiative standard for describing the sequence of API\ncalls needed to produce an outcome. This package lets an AbsoluteJS agent find\nthat map, validate it, turn explicit `dependsOn` declarations and implicit\n`$steps.*.outputs.*` references into a deterministic plan, and execute each\noperation through an adapter you control.\n\n```ts\nimport { discoverArazzo, executeArazzoWorkflow } from \"@absolutejs/arazzo\";\n\nconst document = await discoverArazzo(\n  \"https://api.example/.well-known/workflows.arazzo.yaml\",\n);\n\nconst result = await executeArazzoWorkflow(document, \"provisionCustomer\", {\n  inputs: { email: \"customer@example.com\" },\n  adapter: {\n    authorize: async (resolvedAction) => agencyDecisionFor(resolvedAction),\n    executeOperation: async (resolvedAction) =>\n      openApiAdapter.execute(resolvedAction),\n  },\n});\n```\n\nAuthorization receives the final resolved parameters and request body before\n`executeOperation` can run. A denial or approval requirement stops execution\nwithout producing an external effect. That makes the contract usable with\n`@absolutejs/agency`, another policy engine, or a provider-specific approval\nsystem without coupling Arazzo to any of them. Execution is default-deny when\nno authorization adapter is supplied; trusted read-only callers must opt out\nexplicitly with `allowUnreviewed: true`.\n\nThe built-in evaluator handles simple comparisons and regular expressions. An\n`evaluateCriterion` adapter is required for JSONPath or XPath so the package\nnever silently guesses expression-version semantics. Nested workflows and\nadvanced control-flow or payload-replacement expansion are similarly rejected\nbefore any effect at execution time; they remain available in the validated\ndocument and plan for a specialized adapter.\n\nRemote discovery requires HTTPS outside localhost, rejects embedded URL\ncredentials and redirects, caps response size, enforces a timeout, validates\nthe media type, and parses JSON or YAML with bounded aliases.\n\nApplications that already own a typed HTTP action catalog can derive matching\none-step Arazzo workflows and OpenAPI operations with\n`createArazzoHttpActionProjection`. The helper accepts one action list, rejects\nduplicate identifiers and paths, carries the exact input/output JSON Schemas\ninto both documents, and can describe an OAuth 2.0 authorization-code boundary.\nIt does not execute or authorize the actions; the application's existing HTTP\nhandler remains the effect and policy boundary.\n\nSpecification: <https://spec.openapis.org/arazzo/latest.html>\n\n## License\n\nMIT\n","readmeFilename":"README.md"}