{"_id":"@anrans001/pi-spark-driver-sdk","name":"@anrans001/pi-spark-driver-sdk","dist-tags":{"next":"0.1.0","latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anrans001/pi-spark-driver-sdk","version":"0.1.0","description":"Experimental executor driver contract for embedding custom agents in pi-spark workers.","license":"Apache-2.0","type":"module","repository":{"type":"git","url":"git+https://github.com/AnranS/pi_spark.git","directory":"packages/driver-sdk"},"bugs":{"url":"https://github.com/AnranS/pi_spark/issues"},"homepage":"https://github.com/AnranS/pi_spark#readme","publishConfig":{"access":"public"},"engines":{"node":">=24"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"@anrans001/pi-spark-protocol":"0.1.0"},"scripts":{"prepack":"npm run build","build":"tsc -b","typecheck":"tsc -b --pretty false"},"gitHead":"97893713dd4abe44f30b21aed0b8ccb0b6e278d6","_id":"@anrans001/pi-spark-driver-sdk@0.1.0","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-2DKA5bSi6B6VpgsNeVdrYNotOL2p37TTvY4DeG7HnWxgEKrBqkOVKF8xvLgD8ixMDoQrgEDCB5bCtxFL9ymCBQ==","shasum":"f5aba2f24badfe15ac316314edf7596d0d4e9089","tarball":"https://registry.npmjs.org/@anrans001/pi-spark-driver-sdk/-/pi-spark-driver-sdk-0.1.0.tgz","fileCount":7,"unpackedSize":26841,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH4AenRMQe/QQeLP65Ktxnz52z+0vtpuVXtkk5GXnRalAiBHZq9hzX4i0PKOqm6JiaBRvq9b/2bYXqJ/wLHPCCbbtQ=="}]},"_npmUser":{"name":"anrans001","email":"1040146674@qq.com"},"directories":{},"maintainers":[{"name":"anrans001","email":"1040146674@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-spark-driver-sdk_0.1.0_1784710578203_0.37302856408506746"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-22T08:56:18.006Z","0.1.0":"2026-07-22T08:56:18.334Z","modified":"2026-07-22T08:56:18.598Z"},"maintainers":[{"name":"anrans001","email":"1040146674@qq.com"}],"description":"Experimental executor driver contract for embedding custom agents in pi-spark workers.","homepage":"https://github.com/AnranS/pi_spark#readme","repository":{"type":"git","url":"git+https://github.com/AnranS/pi_spark.git","directory":"packages/driver-sdk"},"bugs":{"url":"https://github.com/AnranS/pi_spark/issues"},"license":"Apache-2.0","readme":"# @anrans001/pi-spark-driver-sdk\n\nExecutor driver contracts for embedding custom agents and task runners in a\n[pi-spark](https://github.com/AnranS/pi_spark) Worker.\n\n```bash\nnpm install @anrans001/pi-spark-driver-sdk @anrans001/pi-spark-worker\n```\n\n```ts\nimport {\n  ExecutorError,\n  type ExecutorDriver,\n} from \"@anrans001/pi-spark-driver-sdk\";\n```\n\nDrivers receive validated input, Worker context, and an `AbortSignal`. Lease\ncredentials and settlement remain owned by the Worker runtime. This package is\nESM-only and requires Node.js 24 or newer.\n\nSee the [custom executor example](https://github.com/AnranS/pi_spark/tree/main/examples/custom-executor).\n","readmeFilename":"README.md","_rev":"1-d106a7eadde55238fbfd5969605fe0b0"}