{"_id":"@bernierllc/onboarding-agent-service","_rev":"4-fb6bd08b4a6927bc2a058b7e9a4d648c","name":"@bernierllc/onboarding-agent-service","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"@bernierllc/onboarding-agent-service","version":"0.0.1","keywords":["oidc","trusted-publishing","setup"],"_id":"@bernierllc/onboarding-agent-service@0.0.1","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"dist":{"shasum":"2936d3a3008aa9191d238d519cafa2c3b862094d","tarball":"https://registry.npmjs.org/@bernierllc/onboarding-agent-service/-/onboarding-agent-service-0.0.1.tgz","fileCount":2,"integrity":"sha512-7F8fWhxZ+mRcTPmVp2ENKpmxRW4VEcARKZKfOMofvWHhAieGgurVZPMJzCPF2uq74FKeH1jpEg33hNlyHdwjlQ==","signatures":[{"sig":"MEYCIQCN5fVB2H4JZ6ad09zhrLgovgfrxGQPt/lOLG2SVYKs3QIhALS1srL0we+PT3Pnj4qfbNLiV/v++hZfCXcDue8JDz4e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2107},"_npmUser":{"name":"mkbernier","email":"mkbernier@gmail.com"},"_npmVersion":"11.12.1","description":"OIDC trusted publishing setup package for @bernierllc/onboarding-agent-service","directories":{},"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/onboarding-agent-service_0.0.1_1781976347103_0.5764660392473218","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@bernierllc/onboarding-agent-service","version":"0.1.0","keywords":["onboarding","agent","ai","orchestrator","streaming","service","bernierllc"],"author":{"name":"Bernier LLC"},"license":"Bernier LLC","_id":"@bernierllc/onboarding-agent-service@0.1.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"20193424024a9ca98d0067b907350b0ad4a88748","tarball":"https://registry.npmjs.org/@bernierllc/onboarding-agent-service/-/onboarding-agent-service-0.1.0.tgz","fileCount":18,"integrity":"sha512-9ujURGobdYQXv5ADi3/qQB4WNw/SkBKw74vQ9mZxEU/4sQV6rqVNc8fD6sxeI8VY8lbbH6mYB7gbYALgiTI3HQ==","signatures":[{"sig":"MEYCIQC3+E/F9XQof4ZtViWOEqLdR0sOpvNVxY2zLRLC4gENQwIhAM0a3aoR2YwCprAlXZV7xOLk4KtXgdsZfplym7DrHI9K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61109},"main":"dist/index.js","_from":"file:bernierllc-onboarding-agent-service-0.1.0.tgz","types":"dist/index.d.ts","browser":false,"engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cef68910-7790-4211-ac2c-96f35017d1ac"}},"_resolved":"/home/runner/work/tools/tools/packages/service/onboarding-agent-service/bernierllc-onboarding-agent-service-0.1.0.tgz","_integrity":"sha512-9ujURGobdYQXv5ADi3/qQB4WNw/SkBKw74vQ9mZxEU/4sQV6rqVNc8fD6sxeI8VY8lbbH6mYB7gbYALgiTI3HQ==","bernierllc":{"runtime":"node","category":"service","integration":{"logger":"integrated","neverhub":"required","neveradmin":"optional"}},"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"11.17.0","description":"Orchestrator that composes AI runtime, tool registry, and onboarding config into a goal-directed streaming agent with completion detection and NeverHub integration.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@bernierllc/logger":"1.7.0","@bernierllc/agent-changeset":"0.2.0","@bernierllc/ai-agent-runtime":"0.2.0","@bernierllc/ai-provider-core":"1.6.0","@bernierllc/neverhub-adapter":"0.4.0","@bernierllc/ai-provider-router":"1.7.0","@bernierllc/agent-tool-registry":"0.2.0","@bernierllc/onboarding-config-core":"0.2.0","@bernierllc/agent-conversation-store":"0.2.0","@bernierllc/onboarding-feature-plugin":"0.2.0","@bernierllc/chat-agent-persona-manager":"1.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","rimraf":"^5.0.1","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0"},"_npmOperationalInternal":{"tmp":"tmp/onboarding-agent-service_0.1.0_1781977292838_0.15014447764938033","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bernierllc/onboarding-agent-service","version":"0.1.1","keywords":["onboarding","agent","ai","orchestrator","streaming","service","bernierllc"],"author":{"name":"Bernier LLC"},"license":"Bernier LLC","_id":"@bernierllc/onboarding-agent-service@0.1.1","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernier-llc/tools#readme","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"a241d3bbde9df023327cf31162d399ecdc0287d5","tarball":"https://registry.npmjs.org/@bernierllc/onboarding-agent-service/-/onboarding-agent-service-0.1.1.tgz","fileCount":18,"integrity":"sha512-ZSHM12oLkIqPqR8kt6iMBCHoItIXXdpvDwBt8wwUPs6PkFIBVztS9R33beqwra2Fse8zt/rj2h8Gpbk1zAaaAA==","signatures":[{"sig":"MEYCIQDVeJOqDwi7idlGFGXkNOR08YYYnTkhCQ894Iat8UfyAAIhAOp+k2W36Dhim3c26i63urXvQYruf9oWdGIY7RtyAOcF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61109},"main":"dist/index.js","_from":"file:bernierllc-onboarding-agent-service-0.1.1.tgz","types":"dist/index.d.ts","browser":false,"engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cef68910-7790-4211-ac2c-96f35017d1ac"}},"_resolved":"/home/runner/work/tools/tools/packages/service/onboarding-agent-service/bernierllc-onboarding-agent-service-0.1.1.tgz","_integrity":"sha512-ZSHM12oLkIqPqR8kt6iMBCHoItIXXdpvDwBt8wwUPs6PkFIBVztS9R33beqwra2Fse8zt/rj2h8Gpbk1zAaaAA==","bernierllc":{"runtime":"node","category":"service","integration":{"logger":"integrated","neverhub":"required","neveradmin":"optional"}},"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"12.0.1","description":"Orchestrator that composes AI runtime, tool registry, and onboarding config into a goal-directed streaming agent with completion detection and NeverHub integration.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@bernierllc/logger":"1.7.1","@bernierllc/agent-changeset":"0.2.1","@bernierllc/ai-agent-runtime":"0.2.1","@bernierllc/ai-provider-core":"1.6.1","@bernierllc/neverhub-adapter":"0.4.1","@bernierllc/ai-provider-router":"1.7.1","@bernierllc/agent-tool-registry":"0.2.1","@bernierllc/onboarding-config-core":"0.2.1","@bernierllc/agent-conversation-store":"0.2.1","@bernierllc/onboarding-feature-plugin":"0.2.1","@bernierllc/chat-agent-persona-manager":"1.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","rimraf":"^5.0.1","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0"},"_npmOperationalInternal":{"tmp":"tmp/onboarding-agent-service_0.1.1_1784015958449_0.8075815713783763","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"_id":"@bernierllc/onboarding-agent-service@0.1.2","bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"dist":{"shasum":"6714dda7fec64273747274ae4db0b84ff2d45c38","tarball":"https://registry.npmjs.org/@bernierllc/onboarding-agent-service/-/onboarding-agent-service-0.1.2.tgz","fileCount":18,"integrity":"sha512-5Zl2DcL5Byyiera/tVBQZ/RD7KKhREIa5LU6ns+iVSHpuDB43+R2suYYci9S5Y/8JYdrd5vG61MxazRy5QQH+w==","signatures":[{"sig":"MEQCIC9p1sjgZ/4Z7tjVchZZFEuI7d4nMoy5Ox0X9SBtul8GAiB2/O8INYHu794jA4WVZq3VYk37oWPm+NeeUF3VzXCl8w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHQjk0DAzvikdG1dU8OU/ZTP8JUetmTFG/3Wawg7q4dLAiEAxJLARoRY/JXM8WevP7eB4OpE/XdczsEMLK0Kje4eqBk="}],"unpackedSize":61120},"main":"dist/index.js","name":"@bernierllc/onboarding-agent-service","_from":"file:bernierllc-onboarding-agent-service-0.1.2.tgz","types":"dist/index.d.ts","author":{"name":"Bernier LLC"},"browser":false,"engines":{"node":">=18.0.0"},"license":"Bernier LLC","scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage"},"version":"0.1.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cef68910-7790-4211-ac2c-96f35017d1ac"}},"homepage":"https://github.com/bernier-llc/tools#readme","keywords":["onboarding","agent","ai","orchestrator","streaming","service","bernierllc"],"_resolved":"/home/runner/work/tools/tools/packages/service/onboarding-agent-service/bernierllc-onboarding-agent-service-0.1.2.tgz","_integrity":"sha512-5Zl2DcL5Byyiera/tVBQZ/RD7KKhREIa5LU6ns+iVSHpuDB43+R2suYYci9S5Y/8JYdrd5vG61MxazRy5QQH+w==","bernierllc":{"runtime":"node","category":"service","integration":{"logger":"integrated","neverhub":"required","neveradmin":"optional"}},"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"_npmVersion":"12.2.0","description":"Orchestrator that composes AI runtime, tool registry, and onboarding config into a goal-directed streaming agent with completion detection and NeverHub integration.","directories":{},"maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"@bernierllc/logger":"^1.7.1","@bernierllc/agent-changeset":"^0.2.1","@bernierllc/ai-agent-runtime":"^0.2.1","@bernierllc/ai-provider-core":"^1.6.1","@bernierllc/neverhub-adapter":"^0.4.1","@bernierllc/ai-provider-router":"^1.7.2","@bernierllc/agent-tool-registry":"^0.2.1","@bernierllc/onboarding-config-core":"^0.2.1","@bernierllc/agent-conversation-store":"^0.2.1","@bernierllc/onboarding-feature-plugin":"^0.2.1","@bernierllc/chat-agent-persona-manager":"^1.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","rimraf":"^5.0.1","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/onboarding-agent-service_0.1.2_1790884601928_0.41998874125652996"}}},"time":{"created":"2026-06-20T17:25:46.822Z","modified":"2026-10-01T19:56:42.241Z","0.0.1":"2026-06-20T17:25:47.228Z","0.1.0":"2026-06-20T17:41:32.992Z","0.1.1":"2026-07-14T07:59:18.576Z","0.1.2":"2026-10-01T19:56:42.007Z"},"bugs":{"url":"https://github.com/bernier-llc/tools/issues"},"author":{"name":"Bernier LLC"},"license":"Bernier LLC","homepage":"https://github.com/bernier-llc/tools#readme","keywords":["onboarding","agent","ai","orchestrator","streaming","service","bernierllc"],"repository":{"url":"git+https://github.com/bernier-llc/tools.git","type":"git"},"description":"Orchestrator that composes AI runtime, tool registry, and onboarding config into a goal-directed streaming agent with completion detection and NeverHub integration.","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"readme":"# @bernierllc/onboarding-agent-service\n\nOrchestrator service that composes AI runtime, tool registry, onboarding config, plugins, and conversation store into a streaming onboarding agent with goal tracking, returning-user detection, attachment ingestion, completion detection, and NeverHub registration.\n\n> **Status: scaffold — implementation pending.**\n\n## Overview\n\n`OnboardingAgent` is a goal-directed, streaming conversational agent for onboarding flows. It:\n\n- Merges base config with enabled plugins via `onboarding-feature-plugin`\n- Compiles system prompts with live goal-progress state (via `onboarding-config-core`)\n- Streams chat via `ai-agent-runtime` and `ai-provider-router`\n- Tracks goal completion and orchestrates post-completion handoffs\n- Ingests file attachments (logo upload → URL resolution)\n- Persists conversations via `agent-conversation-store`\n- Registers and publishes events to NeverHub\n\n## Installation\n\n```bash\nnpm install @bernierllc/onboarding-agent-service\n```\n\n## Usage\n\n```typescript\nimport { OnboardingAgent } from '@bernierllc/onboarding-agent-service';\n\nconst agent = new OnboardingAgent({\n  config,\n  plugins: [{ plugin: websiteBuilderPlugin, config: { siteTemplate: 'contractor-default' } }],\n  storeAdapter: createInMemoryStore(),\n  stateReaders: { async readState(sessionId) { return db.getOrgSetupState(sessionId); } },\n  handoffHandlers: {\n    async handle(target, state) {\n      if (target.type === 'task') await taskService.create({ label: target.label, orgId: state.orgId });\n    },\n  },\n});\n\nawait agent.initialize();\n\nfor await (const chunk of agent.chat({ sessionId, userId, message, attachments })) {\n  res.write(chunk.delta);\n}\n```\n\n## Error Classes\n\n- `OnboardingAgentError` — base error\n- `OnboardingAgentInitError` — initialization failure (`ONBOARDING_AGENT_INIT_ERROR`)\n- `OnboardingHandoffError` — handoff handler failure (`ONBOARDING_HANDOFF_ERROR`)\n\n## License\n\nCopyright (c) 2025 Bernier LLC. Limited-use license — see LICENSE for details.\n","readmeFilename":"README.md"}