{"_id":"@aarekaz/switchboard-core","_rev":"2-614b5390fbb60650b5401736a0273afe","name":"@aarekaz/switchboard-core","dist-tags":{"latest":"0.3.5"},"versions":{"0.3.1":{"name":"@aarekaz/switchboard-core","version":"0.3.1","keywords":["switchboard","chat","bot","sdk","core"],"author":{"name":"Aarekaz"},"license":"MIT","_id":"@aarekaz/switchboard-core@0.3.1","maintainers":[{"name":"aarekaz","email":"anuragdhungana5@gmail.com"}],"homepage":"https://github.com/Aarekaz/switchboard#readme","bugs":{"url":"https://github.com/Aarekaz/switchboard/issues"},"dist":{"shasum":"b0a96ce6c123f1cbfc31d24a6bd60a5d24a80b57","tarball":"https://registry.npmjs.org/@aarekaz/switchboard-core/-/switchboard-core-0.3.1.tgz","fileCount":5,"integrity":"sha512-wVa9qOpuFmJ5EkvI3bOP5ZatuWRHKS3vdtfqdT5V0j+ddsAL96mdYNggvB9/qpR162/SCJgpHLhKCqAF2A1xYw==","signatures":[{"sig":"MEUCIQC5ED7s6q8yTyyN7vehwfkthPZZGAu1e96FlC6JLfrVCgIgKk3mduPz5ntCxHvrX5suyV/WpDbbP9Xs+ZkCSQGBEew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57597},"main":"./dist/index.js","type":"module","_from":"file:aarekaz-switchboard-core-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist *.tsbuildinfo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"aarekaz","email":"anuragdhungana5@gmail.com"},"_resolved":"/tmp/fe6d95dc0e894f59308e9c7288dc12b6/aarekaz-switchboard-core-0.3.1.tgz","_integrity":"sha512-wVa9qOpuFmJ5EkvI3bOP5ZatuWRHKS3vdtfqdT5V0j+ddsAL96mdYNggvB9/qpR162/SCJgpHLhKCqAF2A1xYw==","repository":{"url":"git+https://github.com/Aarekaz/switchboard.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Core types and client API for Switchboard - universal chat platform SDK","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/switchboard-core_0.3.1_1768284411932_0.3267899549427409","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@aarekaz/switchboard-core","version":"0.3.5","description":"Core types and client API for Switchboard - universal chat platform SDK","keywords":["switchboard","chat","bot","sdk","core"],"homepage":"https://github.com/Aarekaz/switchboard#readme","repository":{"type":"git","url":"git+https://github.com/Aarekaz/switchboard.git","directory":"packages/core"},"license":"MIT","author":{"name":"Aarekaz"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","clean":"rm -rf dist *.tsbuildinfo"},"_id":"@aarekaz/switchboard-core@0.3.5","bugs":{"url":"https://github.com/Aarekaz/switchboard/issues"},"_integrity":"sha512-RLuKCIsOCZ4TqU24g1BHJSKIrxcc2FR83ZKVqAnr/QjBftdcwql1Vdes3hDKpkRupFByGkyN4L15bdkJsNywQg==","_resolved":"/tmp/b7d9a62f0e47a8efbbbac1fcdba01262/aarekaz-switchboard-core-0.3.5.tgz","_from":"file:aarekaz-switchboard-core-0.3.5.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-RLuKCIsOCZ4TqU24g1BHJSKIrxcc2FR83ZKVqAnr/QjBftdcwql1Vdes3hDKpkRupFByGkyN4L15bdkJsNywQg==","shasum":"7e647cb993a99c4789be3ba207854606110ea77e","tarball":"https://registry.npmjs.org/@aarekaz/switchboard-core/-/switchboard-core-0.3.5.tgz","fileCount":5,"unpackedSize":57597,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDcDonLTfQSCBEanZG3L/YO/4sErK++z4KUNq9CHhwc3gIgWJFbTO4Ui/RCqPOj6dYSI8/DE/eUxqy30sPNgbwTSfI="}]},"_npmUser":{"name":"aarekaz","email":"anuragdhungana5@gmail.com"},"directories":{},"maintainers":[{"name":"aarekaz","email":"anuragdhungana5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/switchboard-core_0.3.5_1768349417622_0.33781776784666584"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-13T06:06:51.753Z","modified":"2026-01-14T00:10:17.877Z","0.3.1":"2026-01-13T06:06:52.090Z","0.3.5":"2026-01-14T00:10:17.762Z"},"bugs":{"url":"https://github.com/Aarekaz/switchboard/issues"},"author":{"name":"Aarekaz"},"license":"MIT","homepage":"https://github.com/Aarekaz/switchboard#readme","keywords":["switchboard","chat","bot","sdk","core"],"repository":{"type":"git","url":"git+https://github.com/Aarekaz/switchboard.git","directory":"packages/core"},"description":"Core types and client API for Switchboard - universal chat platform SDK","maintainers":[{"name":"aarekaz","email":"anuragdhungana5@gmail.com"}],"readme":"# @aarekaz/switchboard-core\n\nCore types, interfaces, and client API for Switchboard - the universal chat platform SDK.\n\n## Installation\n\n```bash\nnpm install @aarekaz/switchboard-core\n# or\npnpm add @aarekaz/switchboard-core\n```\n\n## Usage\n\n```typescript\nimport { createBot } from '@aarekaz/switchboard-core';\nimport '@aarekaz/switchboard-discord'; // Auto-registers Discord adapter\n\nconst bot = createBot({\n  platform: 'discord',\n  credentials: {\n    token: process.env.DISCORD_TOKEN,\n  },\n});\n\nbot.onMessage(async (message) => {\n  if (message.text.includes('ping')) {\n    await bot.reply(message, 'pong!');\n  }\n});\n\nawait bot.start();\n```\n\n## Documentation\n\nFor full documentation, visit [github.com/Aarekaz/switchboard](https://github.com/Aarekaz/switchboard)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}