{"_id":"@acpfx/node-sdk","_rev":"5-fa70bc14c1e8233a464fe23f011fe3d7","name":"@acpfx/node-sdk","dist-tags":{"latest":"0.3.3"},"versions":{"0.2.0":{"name":"@acpfx/node-sdk","version":"0.2.0","_id":"@acpfx/node-sdk@0.2.0","maintainers":[{"name":"thisnick","email":"wiseyu@gmail.com"}],"dist":{"shasum":"c5bc8741a46ee9b4f62e5b5c9be9ca1c741469ff","tarball":"https://registry.npmjs.org/@acpfx/node-sdk/-/node-sdk-0.2.0.tgz","fileCount":3,"integrity":"sha512-TeUNAEmnh+Gi7plNVGpIj5PmL3/DLxQPvjUm3rUuPMD+klI5bQrZ6NpCQWmD9xZDcn3uql19PjeO3mm0CqM8RA==","signatures":[{"sig":"MEUCIQC+gFfeKqVJxF5q05CbqGYRYpj2wEbtkWUEXLDurQ8b7wIgQHdc5FzaIm+hdGlJd60ZQ6fyUV30lHE0mdlHYTE2dhc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2552},"main":"./src/index.ts","type":"module","_from":"file:acpfx-node-sdk-0.2.0.tgz","types":"./src/index.ts","_npmUser":{"name":"thisnick","email":"wiseyu@gmail.com"},"_resolved":"/tmp/3c4ca540ac436658766ca2106a0a24ef/acpfx-node-sdk-0.2.0.tgz","_integrity":"sha512-TeUNAEmnh+Gi7plNVGpIj5PmL3/DLxQPvjUm3rUuPMD+klI5bQrZ6NpCQWmD9xZDcn3uql19PjeO3mm0CqM8RA==","_npmVersion":"11.12.1","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@acpfx/core":"0.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-sdk_0.2.0_1775105743197_0.7577835689411831","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@acpfx/node-sdk","version":"0.3.0","_id":"@acpfx/node-sdk@0.3.0","maintainers":[{"name":"thisnick","email":"wiseyu@gmail.com"}],"dist":{"shasum":"b8998a3fdf2c2343f0c5f953121463f81e3932de","tarball":"https://registry.npmjs.org/@acpfx/node-sdk/-/node-sdk-0.3.0.tgz","fileCount":3,"integrity":"sha512-eHY/eSc9Jah56odRz+g9rvDkhle3EuZR/+5fei1oabr9MwP0IjmIXBUL7W2IHRsVsnV0jC5XuKBqLwhPAG1hAA==","signatures":[{"sig":"MEUCIQD7AtBNYYYAskTJsPRiI/nqvhTdDC3QZ2MdjLHjXI1L9AIgZb4Lra80peZOtW9IEccmdm9Zr91AeMwCniRXpXibLOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3077},"main":"./src/index.ts","type":"module","_from":"file:acpfx-node-sdk-0.3.0.tgz","types":"./src/index.ts","_npmUser":{"name":"thisnick","email":"wiseyu@gmail.com"},"_resolved":"/tmp/5d8db3dc250b9b693f84ea8be1e59b3a/acpfx-node-sdk-0.3.0.tgz","_integrity":"sha512-eHY/eSc9Jah56odRz+g9rvDkhle3EuZR/+5fei1oabr9MwP0IjmIXBUL7W2IHRsVsnV0jC5XuKBqLwhPAG1hAA==","_npmVersion":"10.9.4","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@acpfx/core":"0.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-sdk_0.3.0_1775196799424_0.7136696624936767","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@acpfx/node-sdk","version":"0.3.1","_id":"@acpfx/node-sdk@0.3.1","maintainers":[{"name":"thisnick","email":"wiseyu@gmail.com"}],"dist":{"shasum":"5ca8990382538f9c80ba9634010433ba31bd6451","tarball":"https://registry.npmjs.org/@acpfx/node-sdk/-/node-sdk-0.3.1.tgz","fileCount":5,"integrity":"sha512-Lj9zpqI12eVYrOm4ZiRsVJ7HUepSUxGh2Q8XvWxU7lS68kSU+A/sUq+fqIbkqRERldQ+7mnxbagvVvsaeTMsDA==","signatures":[{"sig":"MEQCICOP6m3rmxZWvSoYg3DG8NoxqxId3glJTMr4/326AYekAiA6bcIzmt0chL03EhCLj7vdLF2jO7IlBQKxstkNkbQfHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4736},"main":"./src/index.ts","type":"module","_from":"file:acpfx-node-sdk-0.3.1.tgz","types":"./src/index.ts","_npmUser":{"name":"thisnick","email":"wiseyu@gmail.com"},"_resolved":"/tmp/e922c2310ea6b7b45975eeaffd463357/acpfx-node-sdk-0.3.1.tgz","_integrity":"sha512-Lj9zpqI12eVYrOm4ZiRsVJ7HUepSUxGh2Q8XvWxU7lS68kSU+A/sUq+fqIbkqRERldQ+7mnxbagvVvsaeTMsDA==","_npmVersion":"10.9.7","description":"SDK for authoring acpfx pipeline nodes. Provides the standard primitives for emitting events, logging, and handling the NDJSON stdio protocol.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@acpfx/core":"0.4.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-sdk_0.3.1_1775284751003_0.17190664969894498","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@acpfx/node-sdk","version":"0.3.2","_id":"@acpfx/node-sdk@0.3.2","maintainers":[{"name":"thisnick","email":"wiseyu@gmail.com"}],"dist":{"shasum":"5eac0ac585d72af28fb793beb12412333d76c8d8","tarball":"https://registry.npmjs.org/@acpfx/node-sdk/-/node-sdk-0.3.2.tgz","fileCount":5,"integrity":"sha512-xZjY+iuqnatYurl82mz83nrbAK3/gAET/3spjc5Ioc2VIs1eQn9nDAgLLE2hLYoGuGrS/tekwBj9TKZumg/OOw==","signatures":[{"sig":"MEUCIHkaTbY4YJwuJMPFOkcZ1SdQk4P08CMyAqis/iZpHaHmAiEA1XDz/RZDfQ6rGJ0G4la/XjThOzSKKp/DNTWBatRVpXE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4821},"main":"./src/index.ts","type":"module","_from":"file:acpfx-node-sdk-0.3.2.tgz","types":"./src/index.ts","_npmUser":{"name":"thisnick","email":"wiseyu@gmail.com"},"_resolved":"/tmp/1591b69e9e18dfd8d63b7107a404860e/acpfx-node-sdk-0.3.2.tgz","_integrity":"sha512-xZjY+iuqnatYurl82mz83nrbAK3/gAET/3spjc5Ioc2VIs1eQn9nDAgLLE2hLYoGuGrS/tekwBj9TKZumg/OOw==","_npmVersion":"10.9.7","description":"SDK for authoring acpfx pipeline nodes. Provides the standard primitives for emitting events, logging, and handling the NDJSON stdio protocol.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@acpfx/core":"0.4.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-sdk_0.3.2_1775761941999_0.27211538469840346","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@acpfx/node-sdk","version":"0.3.3","type":"module","main":"./src/index.ts","types":"./src/index.ts","dependencies":{"@acpfx/core":"0.5.0"},"_id":"@acpfx/node-sdk@0.3.3","description":"SDK for authoring acpfx pipeline nodes. Provides the standard primitives for emitting events, logging, and handling the NDJSON stdio protocol.","_integrity":"sha512-M8KiOlhi261qi8IKzPsBqKz/3imNGPefpvku/5opLmHaQEO8wjC7SHCeoO/754Ea19bZ7DiKqKIxhzHVxjRvBA==","_resolved":"/tmp/98b405735a94f4334aebc96a86fcf534/acpfx-node-sdk-0.3.3.tgz","_from":"file:acpfx-node-sdk-0.3.3.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-M8KiOlhi261qi8IKzPsBqKz/3imNGPefpvku/5opLmHaQEO8wjC7SHCeoO/754Ea19bZ7DiKqKIxhzHVxjRvBA==","shasum":"8b2da4968516cd12365f7a72012922045bf254c9","tarball":"https://registry.npmjs.org/@acpfx/node-sdk/-/node-sdk-0.3.3.tgz","fileCount":5,"unpackedSize":4906,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID/cSuiJlggVuZjDRwfSYe6DecZgqf8x2fnuAskg4Gp7AiBgR2zS/HRGvxvoAn+c8B2KvWLjxREkw6/HJ3l5mXpXBw=="}]},"_npmUser":{"name":"thisnick","email":"wiseyu@gmail.com"},"directories":{},"maintainers":[{"name":"thisnick","email":"wiseyu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-sdk_0.3.3_1776201992610_0.13625676866554137"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-02T04:55:43.050Z","modified":"2026-04-14T21:26:32.885Z","0.2.0":"2026-04-02T04:55:43.338Z","0.3.0":"2026-04-03T06:13:19.561Z","0.3.1":"2026-04-04T06:39:11.156Z","0.3.2":"2026-04-09T19:12:22.156Z","0.3.3":"2026-04-14T21:26:32.746Z"},"description":"SDK for authoring acpfx pipeline nodes. Provides the standard primitives for emitting events, logging, and handling the NDJSON stdio protocol.","maintainers":[{"name":"thisnick","email":"wiseyu@gmail.com"}],"readme":"# @acpfx/node-sdk\n\nSDK for authoring acpfx pipeline nodes. Provides the standard primitives for emitting events, logging, and handling the NDJSON stdio protocol.\n\n## Install\n\n```bash\nnpm install @acpfx/node-sdk\n```\n\n## API\n\n- **`emit(event)`** -- Send an event to stdout (NDJSON)\n- **`log.info(msg)` / `log.warn(msg)` / `log.error(msg)`** -- Structured logging via `log` events\n- **`onEvent(callback)`** -- Register a handler for incoming events on stdin\n- **`handleManifestFlag()`** -- Handle `--manifest` CLI flag (prints manifest JSON and exits)\n\n## Usage\n\n```typescript\nimport { emit, log, onEvent, handleManifestFlag } from \"@acpfx/node-sdk\";\n\nhandleManifestFlag();\n\nonEvent((event) => {\n  if (event.type === \"audio.chunk\") {\n    // process audio...\n  }\n});\n\nemit({ type: \"lifecycle.ready\" });\n```\n\n## License\n\nISC\n","readmeFilename":"README.md"}