{"_id":"@codebolt/provider","_rev":"7-536b7f760d417638b6d6f137a2301d2b","name":"@codebolt/provider","dist-tags":{"latest":"2.0.4"},"versions":{"1.0.1":{"name":"@codebolt/provider","version":"1.0.1","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","_id":"@codebolt/provider@1.0.1","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"homepage":"https://codeboltai.github.io","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"dist":{"shasum":"a501298d21184645311cd4d09398f008eaf04d46","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-1.0.1.tgz","fileCount":11,"integrity":"sha512-01wIcC5U7AmHe0zFuSoSJT8/AEgR0bNQh29tUCbamDBfWMoch+HeF8AEuMvTRd8Xl8qRL0ffG8wtiaLcimUzGA==","signatures":[{"sig":"MEYCIQDoKfst5PHyoVcD/pfRjeCZOu8Nw9HAeDY4KEJBALCb+wIhAMN4M2u+iTZmgbcUQ/JwbVC8wLSNFP0OPtwisxih8Gwh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29599},"main":"dist/index.js","_from":"file:codebolt-provider-1.0.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","lint:test":"eslint src/**/*.ts && tsc --noEmit"},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/e226e36bc3b84f8c60410aa584ee2452/codebolt-provider-1.0.1.tgz","_integrity":"sha512-01wIcC5U7AmHe0zFuSoSJT8/AEgR0bNQh29tUCbamDBfWMoch+HeF8AEuMvTRd8Xl8qRL0ffG8wtiaLcimUzGA==","repository":{"url":"git+https://github.com/codeboltai/codeboltjs.git","type":"git","directory":"packages/provider"},"_npmVersion":"11.6.0","description":"Base provider utilities for CodeBOLT environment providers","directories":{},"_nodeVersion":"24.9.0","dependencies":{"ws":"^8.18.3","@codebolt/types":"1.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^9.9.0","@types/ws":"^8.5.13","typescript":"^5.4.5","@types/node":"^20.14.2","@codebolt/codeboltjs":"2.2.5"},"peerDependencies":{"@codebolt/codeboltjs":"2.2.5"},"_npmOperationalInternal":{"tmp":"tmp/provider_1.0.1_1761754258703_0.596036668053721","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@codebolt/provider","version":"1.0.3","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","_id":"@codebolt/provider@1.0.3","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"homepage":"https://codeboltai.github.io","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"dist":{"shasum":"eb992f2c353c295908e68ef9002a8334d909dd09","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-1.0.3.tgz","fileCount":11,"integrity":"sha512-k283x2XPgHhErx4kssZA2tMjaRfVViPSh+/rgemvoRaY2J0i9V0G/IEjbW555dW793pR4SbSneecAYxdpjQAHQ==","signatures":[{"sig":"MEUCIQC99YNi6z/k34d4bdqKhmCI9N+RZmGk+pS+CoJ83aAaawIgXwEmVWjMXssjbnpbjr4y6ZQoZFA1z2I/sze6iV4aa88=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29599},"main":"dist/index.js","_from":"file:codebolt-provider-1.0.3.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","lint:test":"eslint src/**/*.ts && tsc --noEmit"},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/91d3ad0b76fd98611886a570fb58de83/codebolt-provider-1.0.3.tgz","_integrity":"sha512-k283x2XPgHhErx4kssZA2tMjaRfVViPSh+/rgemvoRaY2J0i9V0G/IEjbW555dW793pR4SbSneecAYxdpjQAHQ==","repository":{"url":"git+https://github.com/codeboltai/codeboltjs.git","type":"git","directory":"packages/provider"},"_npmVersion":"11.6.0","description":"Base provider utilities for CodeBOLT environment providers","directories":{},"_nodeVersion":"24.9.0","dependencies":{"ws":"^8.18.3","@codebolt/types":"1.0.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^9.9.0","@types/ws":"^8.5.13","typescript":"^5.4.5","@types/node":"^20.14.2","@codebolt/codeboltjs":"2.2.5"},"peerDependencies":{"@codebolt/codeboltjs":"2.2.5"},"_npmOperationalInternal":{"tmp":"tmp/provider_1.0.3_1761796432348_0.4937972779412403","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@codebolt/provider","version":"1.0.4","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","_id":"@codebolt/provider@1.0.4","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"homepage":"https://codeboltai.github.io","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"dist":{"shasum":"ba95d654802161811f593a8e05c7704fa2057781","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-1.0.4.tgz","fileCount":11,"integrity":"sha512-fpDq3gNSl8XSaD9yNPoz+keh7vxNyloGhJNBn1Qwaw1qP0Qjwwlp31VYILpwB3IwFEijEJs5TT/+JUweRT71sg==","signatures":[{"sig":"MEYCIQCkY7BZ2LE8M8yt8AzyX4MgNu8gQe0/UrSppCFPdOQwawIhAI4aaGFMRpJR0AhZijEWHLwbKUTJujv6U1amYkCVSJ5+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29599},"main":"dist/index.js","_from":"file:codebolt-provider-1.0.4.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","lint:test":"eslint src/**/*.ts && tsc --noEmit"},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/1d1d0cf5cada4cce829d94415313ac96/codebolt-provider-1.0.4.tgz","_integrity":"sha512-fpDq3gNSl8XSaD9yNPoz+keh7vxNyloGhJNBn1Qwaw1qP0Qjwwlp31VYILpwB3IwFEijEJs5TT/+JUweRT71sg==","repository":{"url":"git+https://github.com/codeboltai/codeboltjs.git","type":"git","directory":"packages/provider"},"_npmVersion":"11.6.0","description":"Base provider utilities for CodeBOLT environment providers","directories":{},"_nodeVersion":"24.9.0","dependencies":{"ws":"^8.18.3","@codebolt/types":"1.0.21"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^9.9.0","@types/ws":"^8.5.13","typescript":"^5.4.5","@types/node":"^20.14.2","@codebolt/codeboltjs":"4.0.2"},"peerDependencies":{"@codebolt/codeboltjs":"4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/provider_1.0.4_1761905938359_0.6264258484762106","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@codebolt/provider","version":"2.0.0","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","_id":"@codebolt/provider@2.0.0","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"homepage":"https://codeboltai.github.io","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"dist":{"shasum":"95d24a6b9c29975b71c62d8e29e62e801b7b80e3","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-2.0.0.tgz","fileCount":11,"integrity":"sha512-Y2Xl/mQp1Pb+k3+wXh+B1ZWXYdmZmRwofIjlRoxyLbSOLZ1TTsOuJ+9plxdughpHdSFHzEWCDNzzNtokqtUsfg==","signatures":[{"sig":"MEYCIQD1YNYyjbNoWvAiDvxM/LG7sJZv2y4Shz+0mGl7D/65HwIhAPymiUivepe534usEyT2OqhCvkzv+uh+toS4B6bMUR4F","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29599},"main":"dist/index.js","_from":"file:codebolt-provider-2.0.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","lint:test":"eslint src/**/*.ts && tsc --noEmit"},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/5b549559ec82df4ee4bf2ec9455ad892/codebolt-provider-2.0.0.tgz","_integrity":"sha512-Y2Xl/mQp1Pb+k3+wXh+B1ZWXYdmZmRwofIjlRoxyLbSOLZ1TTsOuJ+9plxdughpHdSFHzEWCDNzzNtokqtUsfg==","repository":{"url":"git+https://github.com/codeboltai/codeboltjs.git","type":"git","directory":"packages/provider"},"_npmVersion":"11.6.0","description":"Base provider utilities for CodeBOLT environment providers","directories":{},"_nodeVersion":"24.9.0","dependencies":{"ws":"^8.18.3","@codebolt/types":"1.0.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^9.9.0","@types/ws":"^8.5.13","typescript":"^5.4.5","@types/node":"^20.14.2","@codebolt/codeboltjs":"5.0.0"},"peerDependencies":{"@codebolt/codeboltjs":"5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider_2.0.0_1762778318034_0.31628997860786057","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@codebolt/provider","version":"2.0.1","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","_id":"@codebolt/provider@2.0.1","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"homepage":"https://codeboltai.github.io","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"dist":{"shasum":"c3288d622da83c12dd82d22ad8c845208302c9df","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-2.0.1.tgz","fileCount":11,"integrity":"sha512-geyd/sKMPkvt/c2yQ+4v7Bn+hCpNRwCTeWhu/51sRPCzFdIh0YM3AORMNX8BzHwz+Pv2oXX0U+dsaTdQqYwAMw==","signatures":[{"sig":"MEYCIQCaX8+jSPAJk7hZeblp6GXJVfqHv/TRW/VDzOwv7misPgIhAOb0jkfSTkHnz8C2MWiA2Mz6KOaGPU+NLV1QkvCbgqup","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29599},"main":"dist/index.js","_from":"file:codebolt-provider-2.0.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","lint:test":"eslint src/**/*.ts && tsc --noEmit"},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/c3d9e4ac8c37af0d29c2f3cb77ce92c0/codebolt-provider-2.0.1.tgz","_integrity":"sha512-geyd/sKMPkvt/c2yQ+4v7Bn+hCpNRwCTeWhu/51sRPCzFdIh0YM3AORMNX8BzHwz+Pv2oXX0U+dsaTdQqYwAMw==","repository":{"url":"git+https://github.com/codeboltai/codeboltjs.git","type":"git","directory":"packages/provider"},"_npmVersion":"11.6.0","description":"Base provider utilities for CodeBOLT environment providers","directories":{},"_nodeVersion":"24.9.0","dependencies":{"ws":"^8.18.3","@codebolt/types":"1.0.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^9.9.0","@types/ws":"^8.5.13","typescript":"^5.4.5","@types/node":"^20.14.2","@codebolt/codeboltjs":"5.0.1"},"peerDependencies":{"@codebolt/codeboltjs":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/provider_2.0.1_1762861859460_0.7173239523806891","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@codebolt/provider","version":"2.0.2","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","_id":"@codebolt/provider@2.0.2","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"homepage":"https://codeboltai.github.io","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"dist":{"shasum":"394a0a45e93d4d69213964d4e122fd85504621b4","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-2.0.2.tgz","fileCount":11,"integrity":"sha512-Ao6joa2bx6rZjJ4us2IoPjYLJkReQkJfmZTrthacoZ4Ceu7QV1WHLScUzQoYmVUzmfj44+MH/KXLIm3rrz/9dQ==","signatures":[{"sig":"MEQCIE8ptIrZHCldfomsvFmktLWd5kvJmd+o0IwucVgisHbkAiAIzi41xPH8t0ozHPj4zGWRZm5dmnhhVJWWloZu8OjJcw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29599},"main":"dist/index.js","_from":"file:codebolt-provider-2.0.2.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","lint:test":"eslint src/**/*.ts && tsc --noEmit"},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/0d03612bdb27284d5a74a3b61aeeaaf3/codebolt-provider-2.0.2.tgz","_integrity":"sha512-Ao6joa2bx6rZjJ4us2IoPjYLJkReQkJfmZTrthacoZ4Ceu7QV1WHLScUzQoYmVUzmfj44+MH/KXLIm3rrz/9dQ==","repository":{"url":"git+https://github.com/codeboltai/codeboltjs.git","type":"git","directory":"packages/provider"},"_npmVersion":"11.6.0","description":"Base provider utilities for CodeBOLT environment providers","directories":{},"_nodeVersion":"24.9.0","dependencies":{"ws":"^8.18.3","@codebolt/types":"1.0.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^9.9.0","@types/ws":"^8.5.13","typescript":"^5.4.5","@types/node":"^20.14.2","@codebolt/codeboltjs":"5.0.2"},"peerDependencies":{"@codebolt/codeboltjs":"5.0.2"},"_npmOperationalInternal":{"tmp":"tmp/provider_2.0.2_1762878956501_0.4885570506580341","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@codebolt/provider","version":"2.0.4","description":"Base provider utilities for CodeBOLT environment providers","keywords":["codebolt","provider","agent","websocket"],"author":{"name":"Codebolt"},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/codeboltai/codeboltjs.git","directory":"packages/provider"},"homepage":"https://codeboltai.github.io","publishConfig":{"access":"public"},"dependencies":{"ws":"^8.18.3","@codebolt/types":"6.0.0"},"devDependencies":{"@types/node":"^20.14.2","@types/ws":"^8.5.13","eslint":"^9.9.0","typescript":"^5.4.5","jest":"^30.2.0","@codebolt/codeboltjs":"6.0.0"},"peerDependencies":{"@codebolt/codeboltjs":"6.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","dev":"tsc --watch","lint:test":"eslint src/**/*.ts && tsc --noEmit","test":"jest --passWithNoTests"},"_id":"@codebolt/provider@2.0.4","bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"_integrity":"sha512-mfbpwM1e6d/HzWlE0/SDjF17R4GUiMSldQrnG0VgfCBWMbEaMdFGvdGmnbEjDametE6ZDLjBAKtEzSjIRiUifg==","_resolved":"/private/var/folders/dv/k8sxxl0j4n77vv0zhp1s4nvh0000gn/T/001db16a5b91085b24773c6593802c47/codebolt-provider-2.0.4.tgz","_from":"file:codebolt-provider-2.0.4.tgz","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-mfbpwM1e6d/HzWlE0/SDjF17R4GUiMSldQrnG0VgfCBWMbEaMdFGvdGmnbEjDametE6ZDLjBAKtEzSjIRiUifg==","shasum":"a049d3fce565c36d2a32363210f919f0f2392b5e","tarball":"https://registry.npmjs.org/@codebolt/provider/-/provider-2.0.4.tgz","fileCount":11,"unpackedSize":40884,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHyR/lqlSBv2GERtXdAj27UfN2suWb0WD8E+Sk+brzd9AiBSxAjZWTdbpLjUoFYgnCXtAv+MlxAUWN+D/9v2vu/jIw=="}]},"_npmUser":{"name":"ravirawatsingh","email":"ravi@arrowai.com"},"directories":{},"maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/provider_2.0.4_1773383188180_0.42696880647471014"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-29T16:10:58.595Z","modified":"2026-03-13T06:26:28.487Z","1.0.1":"2025-10-29T16:10:58.910Z","1.0.3":"2025-10-30T03:53:52.546Z","1.0.4":"2025-10-31T10:18:58.562Z","2.0.0":"2025-11-10T12:38:38.205Z","2.0.1":"2025-11-11T11:50:59.685Z","2.0.2":"2025-11-11T16:35:56.715Z","2.0.4":"2026-03-13T06:26:28.348Z"},"bugs":{"url":"https://github.com/codeboltai/codeboltjs/issues"},"author":{"name":"Codebolt"},"license":"MIT","homepage":"https://codeboltai.github.io","keywords":["codebolt","provider","agent","websocket"],"repository":{"type":"git","url":"git+https://github.com/codeboltai/codeboltjs.git","directory":"packages/provider"},"description":"Base provider utilities for CodeBOLT environment providers","maintainers":[{"name":"ravirawatsingh","email":"ravi@arrowai.com"},{"name":"utkarshx","email":"utk.shukla@gmail.com"}],"readme":"# @codebolt/provider\n\nBase provider utilities for building Codebolt environment providers. It exposes an abstract `BaseProvider` class that consolidates communication with the Agent Server (process management, WebSocket registration, message forwarding) and lifecycle hooks that concrete providers can override.\n\n## Features\n\n- Shared lifecycle for provider initialization, agent start, message routing, and cleanup\n- WebSocket transport with automatic registration, metadata tracking, and forwarding to the Codebolt runtime\n- Agent server process management hooks with overridable setup/teardown logic\n- Type-safe configuration and transport contracts for provider implementations\n\n## Usage\n\n1. Install via workspace dependency: `\"@codebolt/provider\": \"workspace:*\"`\n2. Extend `BaseProvider` and override the abstract hooks (`resolveProjectContext`, `setupEnvironment`, etc.)\n3. In your provider entrypoint, instantiate the service and register event handlers exported by the provider package\n\n## Development\n\n- `pnpm build` – compile TypeScript to `dist`\n- `pnpm test` – placeholder tests (no-op)\n- `pnpm lint:test` – run ESLint and type checks","readmeFilename":"README.md"}