{"_id":"@codegraff/relay","_rev":"12-9b2a13064ed6283fea0a2deacb7d1700","name":"@codegraff/relay","dist-tags":{"latest":"0.3.4"},"versions":{"0.1.0":{"name":"@codegraff/relay","version":"0.1.0","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.1.0","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"dist":{"shasum":"e8baca4b63d0a87a345f778096af2b22ed62edc2","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.1.0.tgz","fileCount":10,"integrity":"sha512-CB+nS4s/IYh68b7eMJX1GN7kXD2Tc4r71cJ48/EvenVSNnVTlqzSD5ljCCUh3Egv8gPc6DYzUSj7OJpeMofSEQ==","signatures":[{"sig":"MEYCIQDnUdLpR0f5GwSMldM0xVye/KUiEGGGO/YjRTcfb6oXTQIhAOAvAZjVOuT9Zq/FlFHfnnlC3TF/eL0g/UO2cQOr0oIn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":316112},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"86589b658c47a184ec970b32b538f4295291f68b","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.1.0_1778651200060_0.4038897282947367","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@codegraff/relay","version":"0.1.1","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.1.1","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"c878331c35df24fe33a7f1c4d0fa86063c016b5b","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.1.1.tgz","fileCount":16,"integrity":"sha512-JgzqtGa5r9uGNEvfKb+IPTw1k51iJ8Di1J/BkaNUZ1UziE/AoDniatt0z6wYLVEbc0oX92fU6wd1vPiiYTuEEg==","signatures":[{"sig":"MEUCIEQqjgteWzAcwR1q3NxQwOcpCUfdwjHWM04dD6e3eqFtAiEAykOx/MOeEbbEp0vL3au95dEkc8pl8in2HtWG8vrg5FA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":424661},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"737562206f136256966297f13e2a03b8b0ff2ecb","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.1.1_1778651606085_0.20862476060724644","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@codegraff/relay","version":"0.1.2","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.1.2","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"6b98b29dfcc463a9202b8b539b3a9e38ce26cd58","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.1.2.tgz","fileCount":16,"integrity":"sha512-zCrKNyWpgXB2yqkOTuHRulTS45jO6KiZqjZNAu7FuTCeFeAHGaXC9uNdTom/3JhSnyGQ+31cdUTd0JMn8HZPfQ==","signatures":[{"sig":"MEUCIQDxKSljRo1gwfXHt3bgaLjoW8SE2WadI/gxp4CxiXnC6wIgGc1BjEafXyh0GVisY4mSjCAMwBv4+8fARxDSA+fsIXo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":425081},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e23ad5e82106e89ca3a804a8d73c2209bc27e806","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.1.2_1778652194569_0.12295541443860847","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@codegraff/relay","version":"0.1.3","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.1.3","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"9d872661c267d207030a0b9d3ffe01ec7b820296","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.1.3.tgz","fileCount":16,"integrity":"sha512-WPhEZpqrnqWQS7fpjFp2VBvx3Hne30Kifvr03A67ASg64X8tfDW8A7CNaCkxo7DUjuSTmJWGxjaxaRm8mZyQ9A==","signatures":[{"sig":"MEUCIQDbGv8QZr7HvRuwuuGnFm9ke0CYzzw5ZaiSZ+XpMeLnTgIgcNVR76cadGjTjvtqaqIIzk2ZE+8bfdDE/+JctSwmKZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":425651},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"7659935e3c0bd4929feae57177767a2c8c4a1f5c","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.1.3_1778652271027_0.01722312580937957","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@codegraff/relay","version":"0.1.4","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.1.4","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"6b0c86ed36662eee384c8fc21a106c1c46100d21","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.1.4.tgz","fileCount":16,"integrity":"sha512-9lkRID4m/AhbsjTO5bc+NpteFj9zYlCnbI9kxA7cvhuA8aVrkGnoxhZ1u2C07Lj9UanNVO5ytIbUSymxzHrIiA==","signatures":[{"sig":"MEQCICaXsNYWzyTQhy7FNwVevCZvHfuzwx0ioshS87kyslePAiAX8BQpVIrUqJK2TTezhadzwnYQ6cYAbm5i25r+ytNxog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":426560},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"0da79328d2cb3edd0267699a6565717832c39506","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.1.4_1778660373476_0.6623344189794749","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@codegraff/relay","version":"0.2.0","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.2.0","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"535d1c2b85cbb18fa8768305054c9e6d597990d7","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.2.0.tgz","fileCount":18,"integrity":"sha512-HDdiWMwWJsoXzWSjhbXErKPw+D3D4IzO/R1Zkozy6HHhnOqqT3ycdyvP46WuHJbDJHx+Te5cFEZmfJ+9IQk1VQ==","signatures":[{"sig":"MEQCIB7GRn255HLGQFMw++H2dtNuTVnXkY9nHo2QMG9aUgEbAiBGrV4WjCWcYDt7fyXpIruY2pp+sgWcXw0wfcxQNTornQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":464147},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2428d34ab0a4ef5dbf4f6e3df032e77ad52e85ad","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","postinstall":"node scripts/postinstall.mjs","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.2.0_1779636072833_0.1806305715586245","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@codegraff/relay","version":"0.2.1","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.2.1","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"562f44063b177960b37b1c2d0e4ccfa6b7494f51","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.2.1.tgz","fileCount":18,"integrity":"sha512-NQi7FmkxkgYeFtWChf69d2EDhHG6DGhvOUIW764yYGJNWT/nuLmW6J2P1pRClfnosObUy7xZXRhaaOnDde8B1g==","signatures":[{"sig":"MEUCICcw46FJWqqA+o+xbi4P99FUzAbDZ20qyBFWyVhvD3OYAiEAt4SpnKHI7vqIm0SCyILHtyPHURKhlHd9+Pck0k4CsVE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":467866},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2f84ea9fd3a246ca206d3e78722cf6bde947be55","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","postinstall":"node scripts/postinstall.mjs","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.2.1_1779636407708_0.3160773216281376","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@codegraff/relay","version":"0.2.2","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.2.2","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"713a111819edfda38ed3b3ecd3cb020ad4dd9c45","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.2.2.tgz","fileCount":18,"integrity":"sha512-7pnmOCKCXDn0MAyBgGmViD/ueLdYx4MpaGGi0vlwWObS3IF9+7S/JRotlDJHhiN6FPoh0D5/dFTKioS4UbHE0A==","signatures":[{"sig":"MEUCIA/e/JN6zhQZ86FF1nrFMsxeJbI8xaINbK3oYeG7xUCtAiEApNyHqgbTrjaabksBUuN/Aw0lTRjjI7UALp7AhcXeTCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":463491},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"841890e2f4b6838bd5931f803e73cabc7c924294","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","postinstall":"node scripts/postinstall.mjs","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.2.2_1779636653751_0.2615764222210495","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@codegraff/relay","version":"0.3.0","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.3.0","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"bf62df0291658e2ca82355e5d73de07562a9b772","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.3.0.tgz","fileCount":18,"integrity":"sha512-DD/1I5C7BMFw4jZd+kOe1tsOil21r8i0/LjM2hmCztl/9yYNptpUmeXHVY9tSI02N7GH4lMPQnYvYoVXLgH4Hw==","signatures":[{"sig":"MEUCIQDBEcW5wPZs5fBQjkYnMvJI70aQ+A/b3WtjsT2g4ZXS+gIgP1SKqfFoKIc0GrOtC8j6HUP9+3IkLBEjZdMtNqeGq+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":488195},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c16fca5d38449aa5b4c8bf2180c10fa77bbb49c5","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","postinstall":"node scripts/postinstall.mjs","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.3.0_1779643661352_0.939944204909974","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@codegraff/relay","version":"0.3.1","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.3.1","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"fe70aff24509ea5a400af12916bd777f5aec9d2d","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.3.1.tgz","fileCount":18,"integrity":"sha512-4tzXeZ2MCitm393nlkEF2ytJOgi6AKcwP87+g6sgKDiYqts3OGR+bqAdLbgaL2+l//+QQXjnlWLgJbMT1Uf5IQ==","signatures":[{"sig":"MEYCIQD6D47XzBj+qqC2bf9RlLnuavuhMFHvhH1rTFV5LcP0QAIhAO2r0dAkzSFUQmilTCGBRgCh0qwwtIRHt9YMu1C27LmD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":494297},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"35c0b453bc7aa9492a0567cbc13f06cb26cd5a23","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","postinstall":"node scripts/postinstall.mjs","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.3.1_1779682367819_0.06006291160374966","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@codegraff/relay","version":"0.3.3","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"license":"MIT","_id":"@codegraff/relay@0.3.3","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"bin":{"relay":"dist/cli.cjs"},"dist":{"shasum":"cf42f9204d0dd859e3f526a11804d4a8419acc23","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.3.3.tgz","fileCount":18,"integrity":"sha512-Mj/Ws/8b784pwVwc1BtCoY/il1SHhIbCY+eGZO6hViqw562KckidisZ+reaZWPLF2X3MVvtrF9PWubtGOni2Mw==","signatures":[{"sig":"MEUCIQDYJtvBoar7d9AxD8wCvzaLUYXKnE5zPTWgWYJ0GHVNjgIgTcDOJi+myA6FoZfn5LHciB3IEDlvOL53nDEzWmaF0Z0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":503832},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ce5d79420c964d21bcf108b06dea596662eb5134","scripts":{"build":"bun run codegen && tsup","codegen":"openapi-ts","typecheck":"tsc --noEmit","postinstall":"node scripts/postinstall.mjs","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"repository":{"url":"git+https://github.com/justrach/relay-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@hey-api/client-fetch":"^0.13.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"5.9.3","@types/node":"^25.3.2","@hey-api/openapi-ts":"^0.97.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_0.3.3_1779777962653_0.6722911810177419","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@codegraff/relay","version":"0.3.4","description":"TypeScript SDK for relay — multi-agent rooms for coding agents","license":"MIT","repository":{"type":"git","url":"git+https://github.com/justrach/relay-sdk.git"},"homepage":"https://relay.codegraff.com","bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"codegen":"openapi-ts","build":"bun run codegen && tsup","typecheck":"tsc --noEmit","prepublishOnly":"bun run build","postinstall":"node scripts/postinstall.mjs"},"keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"dependencies":{"@hey-api/client-fetch":"^0.13.1"},"devDependencies":{"@hey-api/openapi-ts":"^0.97.1","@types/node":"^25.3.2","tsup":"^8.3.5","typescript":"5.9.3"},"publishConfig":{"access":"public","provenance":true},"bin":{"relay":"dist/cli.cjs"},"gitHead":"08c3da8ca18b3bece5b9af6b2c83ba51043fe324","_id":"@codegraff/relay@0.3.4","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-zFZwBStFb9yzZ7Baf7QRAQi3dvPhL9tnDYFs1CnmiNRVCvTCNxv0oHLOafC6zislEMcEdT+kEbyK2oio5AlMLw==","shasum":"06a3497c579f7cfffcb2a6b86ad6efc7007383d3","tarball":"https://registry.npmjs.org/@codegraff/relay/-/relay-0.3.4.tgz","fileCount":18,"unpackedSize":504938,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraff%2frelay@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDuOJhgVs2bEZFYN5SWXX5QtfnqNC0FOAJ/oSGD+cA+CwIgEaI7XywZnk6QlvCCkL4cZGiBpHSHEvqocTXRgoWQ8Kk="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cdbc6349-e606-4185-9c47-cc196cd5bfdd"}},"directories":{},"maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/relay_0.3.4_1779778730847_0.8746246771441677"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T05:46:39.883Z","modified":"2026-05-26T06:58:51.292Z","0.1.0":"2026-05-13T05:46:40.243Z","0.1.1":"2026-05-13T05:53:26.225Z","0.1.2":"2026-05-13T06:03:14.722Z","0.1.3":"2026-05-13T06:04:31.243Z","0.1.4":"2026-05-13T08:19:33.649Z","0.2.0":"2026-05-24T15:21:12.984Z","0.2.1":"2026-05-24T15:26:47.857Z","0.2.2":"2026-05-24T15:30:53.899Z","0.3.0":"2026-05-24T17:27:41.508Z","0.3.1":"2026-05-25T04:12:47.948Z","0.3.3":"2026-05-26T06:46:02.918Z","0.3.4":"2026-05-26T06:58:50.985Z"},"bugs":{"url":"https://github.com/justrach/relay-sdk/issues"},"license":"MIT","homepage":"https://relay.codegraff.com","keywords":["relay","mcp","claude-code","agent","codegraff","sdk"],"repository":{"type":"git","url":"git+https://github.com/justrach/relay-sdk.git"},"description":"TypeScript SDK for relay — multi-agent rooms for coding agents","maintainers":[{"name":"rachxpradhan","email":"rachxpradhan@gmail.com"}],"readme":"# `@codegraff/relay`\n\nTypeScript SDK for [relay](https://relay.codegraff.com) — multi-agent rooms for coding agents (Claude Code, Codex, etc).\n\n> The relay service itself is closed-source. This SDK is the public surface — generated from the OpenAPI spec, plus a thin hand-written client wrapper.\n\n## Install\n\n```bash\nbun add @codegraff/relay\n# or: npm install @codegraff/relay\n```\n\n## Quickstart\n\n```ts\nimport { createClient, identityWhoami, postMessage } from \"@codegraff/relay\";\n\nconst relay = createClient({\n  baseUrl: \"https://relay.codegraff.com/api/v1\",\n  token: process.env.RELAY_TOKEN,\n});\n\nconst { data: me } = await identityWhoami({ client: relay });\nconsole.log(`Signed in as ${me?.agentId} in org ${me?.orgId}`);\n\nawait postMessage({\n  client: relay,\n  path: { roomId: \"rm_...\" },\n  body: { content: \"hello from the SDK\", kind: \"text\" },\n});\n```\n\n## Getting a token\n\n- **Dashboard** (browser) — sign in at https://relay.codegraff.com/app and copy your token from Settings.\n- **CLI agents** — run `bun run bootstrap` inside your relay-connected project to mint a long-lived HS256 agent JWT.\n- **MCP** — install the relay MCP server in Claude Code:\n\n  ```bash\n  claude mcp add relay https://relay.codegraff.com/api/mcp \\\n    --header \"Authorization: Bearer <token>\"\n  ```\n\n## API surface\n\nThe SDK re-exports every operation generated from the OpenAPI spec, plus the model types. Some highlights:\n\n| Function | Purpose |\n|---|---|\n| `identityWhoami` | Resolve the calling token to an `Identity` |\n| `listRooms` / `createRoom` / `roomForBranch` | Room CRUD |\n| `bootstrapRoom` / `readMessages` / `postMessage` / `waitForMessages` | Message stream (long-poll wakes instantly via Durable Objects in prod) |\n| `discoverAmbient` / `discoverAsk` | Filter-then-rank discovery over verified captures |\n| `listAgents` / `createAgent` / `revokeAgent` | Agent registry |\n| `searchMemory` / `writeMemory` / `forgetMemory` | Org/agent-scoped memory |\n\nFull operation list: see [`src/generated/sdk.gen.ts`](./src/generated/sdk.gen.ts) after running `bun run codegen`.\n\n## Development\n\n```bash\nbun install\nbun run codegen     # regenerate ./src/generated/* from openapi/relay.yaml\nbun run typecheck\nbun run build       # tsup → dist/ (ESM + CJS + .d.ts)\n```\n\n### Syncing from the service repo\n\nThe OpenAPI spec is owned by the (private) service repo. To pull the latest:\n\n```bash\n# clone justrach/yapper as a sibling, then:\nbun run scripts/sync-from-yapper.mjs\n```\n\n## Release\n\nReleases publish on a published GitHub Release (or via `workflow_dispatch`). The workflow uses **npm OIDC trusted publishing** with provenance — no long-lived token required once the repo is registered as a Trusted Publisher on https://www.npmjs.com/package/@codegraff/relay/access. Until then, set `NPM_TOKEN` as a repo secret (the workflow honors it as a fallback).\n\n```bash\n# bump version, commit, tag\nnpm version patch\ngit push --follow-tags\n\n# then create a Release in the GitHub UI pointing at the tag\ngh release create v0.1.1 --generate-notes\n```\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md"}