{"_id":"@anrans001/pi-spark-pi-extension","name":"@anrans001/pi-spark-pi-extension","dist-tags":{"next":"0.1.0","latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anrans001/pi-spark-pi-extension","version":"0.1.0","description":"Pi extension for delegating agent work to pi-spark.","license":"Apache-2.0","type":"module","repository":{"type":"git","url":"git+https://github.com/AnranS/pi_spark.git","directory":"packages/pi-extension"},"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"}},"keywords":["pi-package","pi-extension","distributed-agents"],"pi":{"extensions":["./dist/index.js"]},"dependencies":{"@anrans001/pi-spark-protocol":"0.1.0","typebox":"1.3.6"},"peerDependencies":{"@earendil-works/pi-coding-agent":"0.80.10"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":true}},"scripts":{"prepack":"npm run build","build":"tsc -b","typecheck":"tsc -b --pretty false"},"gitHead":"97893713dd4abe44f30b21aed0b8ccb0b6e278d6","_id":"@anrans001/pi-spark-pi-extension@0.1.0","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-i5GilmRL6iDLJ3ML3bfsKl7/EVqwP4PIlZ3M+3MCkeHOsPhK9BpD1hKlA4FUp+XIu2Ps2IYasvLMkEwt2uoiNA==","shasum":"7251af1564cad99a47b88b6aabbff543f0776701","tarball":"https://registry.npmjs.org/@anrans001/pi-spark-pi-extension/-/pi-spark-pi-extension-0.1.0.tgz","fileCount":15,"unpackedSize":60744,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKUTAsD0RkgrH+znm8UgUMxrVSXIoc+AQR2gXYpIIDGwIgBypaaE40nKRGQLOR03p+X6nNlF/VhTHj94U2BUkueYQ="}]},"_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-pi-extension_0.1.0_1784710797992_0.5950016122289534"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-22T08:59:57.758Z","0.1.0":"2026-07-22T08:59:58.146Z","modified":"2026-07-22T08:59:58.398Z"},"maintainers":[{"name":"anrans001","email":"1040146674@qq.com"}],"description":"Pi extension for delegating agent work to pi-spark.","homepage":"https://github.com/AnranS/pi_spark#readme","keywords":["pi-package","pi-extension","distributed-agents"],"repository":{"type":"git","url":"git+https://github.com/AnranS/pi_spark.git","directory":"packages/pi-extension"},"bugs":{"url":"https://github.com/AnranS/pi_spark/issues"},"license":"Apache-2.0","readme":"# @anrans001/pi-spark-pi-extension\n\nPi Extension that delegates model tool calls to durable\n[pi-spark](https://github.com/AnranS/pi_spark) runs.\n\n```bash\nnpm install @anrans001/pi-spark-pi-extension\n```\n\nThe package exposes its Extension entry through `pi.extensions`. It registers\n`spark_delegate`, `spark_status`, and `spark_cancel`, persists tracked runs,\nand resumes unfinished polling on `session_start`.\n\nFor a direct local load:\n\n```bash\nPI_SPARK_URL=http://127.0.0.1:3000 \\\nPI_SPARK_CLIENT_TOKEN_FILE=/absolute/path/client.token \\\n  pi -e ./node_modules/@anrans001/pi-spark-pi-extension/dist/index.js\n```\n\nThe CLI defaults to the `mock` executor; the Extension defaults to `pi`. This\npackage is ESM-only and requires Node.js 24 or newer.\n\nSee the [Pi integration guide](https://github.com/AnranS/pi_spark#use-from-pi).\n","readmeFilename":"README.md","_rev":"1-703d3ef91ae1f809f5bbc2dc04b765da"}