{"_id":"@aiteammate/agent-widget","_rev":"10-c7693ad3c2a36c646156a8b34b0985d4","name":"@aiteammate/agent-widget","dist-tags":{"latest":"0.0.11"},"versions":{"0.0.1":{"name":"@aiteammate/agent-widget","version":"0.0.1","_id":"@aiteammate/agent-widget@0.0.1","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"3b09244beb5fe4e1852b86d80036c4b3ee6525c9","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.1.tgz","fileCount":6,"integrity":"sha512-F4q7VrAhfoh+zssXmlEviKIftvw6dD8EZjECUsv434nybKTySXshfblgDb4c0MKpEHED/GN0lNYpPdgHCtyMFA==","signatures":[{"sig":"MEYCIQD2FEqOHxSvB21meAVRtpD69u9jcinz+u4BGFzHxPWYrAIhALEJNMTtIW8ZL37dvZAgE5p6+5D6TZQ7E8DCAUQtQZLu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335621},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"c619d776297075a67392067f4fedc11d981f9543","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"next":">=16","react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.1_1779479756615_0.9182082143638075","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@aiteammate/agent-widget","version":"0.0.2","_id":"@aiteammate/agent-widget@0.0.2","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"b42fb569cc599edec092f8ca1ec7b7274b1f319b","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.2.tgz","fileCount":6,"integrity":"sha512-YEDLfJpv9CtGptpydC/yHr20L2HmF/FMkO5btJbMkcsfgnRKjwDTXRVk712g2/ItsGRPlc1veXwqe90SnWhaqQ==","signatures":[{"sig":"MEQCICRcAhZVBFYo9EFDkjxQJIMIQT2nCaJyh5gX4cAjfk1vAiAQk1g0i2fTP0r/BbT/9cJD4+0npV7leDdX2awSyn1Mzw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":343526},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"de87f39ebdacdf479df07d887f347b9dfdc7f9c9","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"next":">=16","react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.2_1779812093205_0.29488244710574696","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@aiteammate/agent-widget","version":"0.0.3","_id":"@aiteammate/agent-widget@0.0.3","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"e1d960a7b26fee41e4ed7dd8fa568236ead0398f","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.3.tgz","fileCount":6,"integrity":"sha512-ipYcoAaIujkm+omBFWRkxym6UgPwJB9E4qw/l1D4nhqM0J8o/o5RHBN2cS23DFKfHJcZ/eQswBDHX5VW5iKE7A==","signatures":[{"sig":"MEUCICLi4ZxvP874r9KEIinAxd5f5LZk6wskHfrxW0TKe+EGAiEA0+G+PeZT0oGilHjC8X1UBCuVXkdDJamd4h1XUOXj/uA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":343203},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"f050c8a196596b1004f3bb954176e9898c5b7182","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"next":">=16","react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.3_1779813053973_0.39259634154213097","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@aiteammate/agent-widget","version":"0.0.4","_id":"@aiteammate/agent-widget@0.0.4","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"8838b5d793db606199e05b8f22ab8c9402d19c56","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.4.tgz","fileCount":6,"integrity":"sha512-H77+unIIf/er+biDM0JgfYl3GbA9jcl7a8jHjl2yPd2LLOplY8KO49oofSPsMcIaj9tnvxSG4IPYdoR1GW/PXA==","signatures":[{"sig":"MEYCIQD7Ygx/ly6Rottx/62Nf+t1pIrc+EhBxBCRo6huvM0DrQIhALKuYgWGnXvSE+4+YoNdx948B0CnbyDI9CvYddpDmw1E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":517908},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"6f3afb8f1c0486d8bdc52c00f150f27dd4e64f9b","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.4_1780511248853_0.7320959153721838","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@aiteammate/agent-widget","version":"0.0.5","_id":"@aiteammate/agent-widget@0.0.5","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"72df9f9a22424ab3b2ac466086c038137fbe7b94","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.5.tgz","fileCount":6,"integrity":"sha512-TQ0tAj3cWIeN4ZV80Wf0uST7B7S25eK6ed88BwKB/uClqY6rhM7El0N9V3klnRYbS/cAZAIHLdqAZ3iV4jUWqg==","signatures":[{"sig":"MEUCIQDYRhMmOF1Cdh6zHroDjAamVKi2lUXvAlzkQpNMNgLvkAIgF7Wk1zjOleyLqTwlAMsJh4z5vJDE5Oz0Pk+gDQEOeLQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":515897},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"549ecc1276d1cd4d75deeb13493c11bc71ae6d99","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.5_1780567773995_0.5817351333815635","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@aiteammate/agent-widget","version":"0.0.7","_id":"@aiteammate/agent-widget@0.0.7","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"4c17c7bdc795842384cc6817040b80e47260fe09","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.7.tgz","fileCount":6,"integrity":"sha512-tI1cgzNikUu1/Bfi9hHMvWUkhuvlsNU3CdNFIg4oCBlcwBxHc+zkE/APiBjenJ/zVlfUAIIgNtbMfJ9eR2QdGQ==","signatures":[{"sig":"MEQCICqrIkEXDaeoJ6oYw5R5a/kuq/OMwsGx3KDFjThGVMXvAiBi6JRtFM+usik2kLsC5LryJE7Zbp00msSEPMpVCqnVrw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":538218},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"fd38a6465f38343c0cad5633043bdc54c9f74f8d","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.7_1780903593744_0.3856751316378195","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@aiteammate/agent-widget","version":"0.0.8","_id":"@aiteammate/agent-widget@0.0.8","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"11b52bfe56ca791ab652c94bdca24ce71c23d35f","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.8.tgz","fileCount":6,"integrity":"sha512-WTEpI9knoeq0VY1CvmEybp28BcZ8Rux4V1psp9besxXcU6a18CqpvgLQKIGmCGaulQkrV9NURAtta7xNSonHsA==","signatures":[{"sig":"MEUCIQCKjo1ImsGGVBP89rw2To76pFcwh30p64K1xMDcG0ReMQIgTy+js8W6TCU+bY2P2KffvfU77a1GgGwiBff2jcuyhec=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":538216},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"7fa2e63872e01f23f6889dd059c9f7e4a8a1d924","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.8_1781106189595_0.9812672468318433","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@aiteammate/agent-widget","version":"0.0.9","_id":"@aiteammate/agent-widget@0.0.9","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"dd2514cc95e7973af7a996b418ee5b6216586277","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.9.tgz","fileCount":6,"integrity":"sha512-FPCEOW50+RAgPMb68dw+UOb13A+0HzDYp7FoLdcAz4GM0Wcqb0K0BYwPizS5uzQ49M06E+E14WAvA7nYi/F8LA==","signatures":[{"sig":"MEQCIE14lz9G5WW61XZOBYw2tVag5U8ihx2LgWQD473rQcCEAiBrh/pJuBvoImpNGOEAV6z0oXfpWzPo+Lm5JijhRjMVvQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":567779},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"d39d09e60ef1fbed6ac5fd8aba25c886099d261a","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.9_1782313044809_0.9154391129270167","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@aiteammate/agent-widget","version":"0.0.10","_id":"@aiteammate/agent-widget@0.0.10","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"dist":{"shasum":"09b508215fb5446ebda183fdd7fb6e77f7c0ecda","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.10.tgz","fileCount":6,"integrity":"sha512-TvKoxnYCOAay4OtFXjIutt2hrzAX89ns2yYaMOc32ssmqrGfh39n+EYnshCWt7zPNPqnC4GjV2kLZRL4x5/1kw==","signatures":[{"sig":"MEQCIDfy/Ix3vsw7kLIv13P2ujiDr8U0nYTyuC8YqLGgVfWMAiBUk1G4Og7MUM86S4qCm+zhVjk0YtFouG+Ay46sxeUbKQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":593734},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./internal":null,"./styles.css":"./dist/styles.css","./featureConfig":null},"gitHead":"e5e0610b123b967649570426671cff3a78e601ae","scripts":{"build":"node scripts/build.mjs","prepare":"npm run build","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump"},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"_npmVersion":"10.9.2","description":"React widget for embedding a Trugen agent by agent id.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.6","motion":"^12.38.0","zustand":"^5.0.11","react-icons":"^5.6.0","livekit-client":"^2.18.1","tailwind-merge":"^3.5.0","react-day-picker":"^9.14.0","react-timer-hook":"^4.0.5","class-variance-authority":"^0.7.1","@livekit/components-react":"^2.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3"},"peerDependencies":{"react":">=19","react-dom":">=19"},"_npmOperationalInternal":{"tmp":"tmp/agent-widget_0.0.10_1787135316274_0.9140796107547617","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@aiteammate/agent-widget","version":"0.0.11","description":"React widget for embedding a Trugen agent by agent id.","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./styles.css":"./dist/styles.css","./featureConfig":null,"./internal":null},"scripts":{"build":"node scripts/build.mjs","publish:latest":"node scripts/publish.mjs","publish:dry-run":"node scripts/publish.mjs --dry-run --no-bump","prepare":"npm run build"},"publishConfig":{"access":"public"},"peerDependencies":{"react":">=19","react-dom":">=19"},"dependencies":{"@livekit/components-react":"^2.9.20","axios":"^1.13.6","class-variance-authority":"^0.7.1","clsx":"^2.1.1","livekit-client":"^2.18.1","motion":"^12.38.0","react-day-picker":"^9.14.0","react-icons":"^5.6.0","react-timer-hook":"^4.0.5","tailwind-merge":"^3.5.0","zustand":"^5.0.11"},"devDependencies":{"@types/node":"^20","@types/react":"19.2.14","@types/react-dom":"19.2.3","typescript":"^5"},"_id":"@aiteammate/agent-widget@0.0.11","gitHead":"ba2c341eb12abb4ed7b79a5d55d9e80f3e3faa6f","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-X0L2k1NTJqD1ZKnxvcqW2ACE0Pr+EyXbmbflIP3yqBSJEd4K1+vQ/iS4HkWa9onRwqIthHtT9ACCGpDQ2BYdGA==","shasum":"d1980c422a3dae61baff4cf4cddc04685528b096","tarball":"https://registry.npmjs.org/@aiteammate/agent-widget/-/agent-widget-0.0.11.tgz","fileCount":6,"unpackedSize":571043,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDVeMdtl022e0LBhqFC8o3/k7HkqUr8Db2XWg3bNsMaGwIgEPv9KEALtDecd/pYZGIYqtM3FjVsVP0XZG1xnic8PAQ="}]},"_npmUser":{"name":"aiteammate","email":"dev.trugen@gmail.com"},"directories":{},"maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-widget_0.0.11_1787677677478_0.4249545869909084"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-22T19:55:56.280Z","modified":"2026-08-25T17:07:57.742Z","0.0.1":"2026-05-22T19:55:56.767Z","0.0.2":"2026-05-26T16:14:53.491Z","0.0.3":"2026-05-26T16:30:54.128Z","0.0.4":"2026-06-03T18:27:28.995Z","0.0.5":"2026-06-04T10:09:34.144Z","0.0.7":"2026-06-08T07:26:33.869Z","0.0.8":"2026-06-10T15:43:09.739Z","0.0.9":"2026-06-24T14:57:24.946Z","0.0.10":"2026-08-19T10:28:36.434Z","0.0.11":"2026-08-25T17:07:57.613Z"},"description":"React widget for embedding a Trugen agent by agent id.","maintainers":[{"name":"aiteammate","email":"dev.trugen@gmail.com"}],"readme":"# @aiteammate/agent-widget\n\nEmbed a Trugen AI teammate in any React app.\n\nThis package gives you:\n\n- the widget launcher\n- the avatar/chat/talk experience\n- runtime widget styling\n- support for package-side client tools that your own app can render\n\n## Install\n\n```bash\nnpm install @aiteammate/agent-widget\n```\n\n## Import styles once\n\nThe widget depends on the package stylesheet. Import it once at your app entry.\n\n```tsx\nimport \"@aiteammate/agent-widget/styles.css\";\n```\n\nFor Next.js App Router:\n\n```tsx\nimport \"@aiteammate/agent-widget/styles.css\";\nimport type { Metadata } from \"next\";\n\nexport const metadata: Metadata = {\n  title: \"My App\",\n};\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}) {\n  return (\n    <html lang=\"en\">\n      <body>{children}</body>\n    </html>\n  );\n}\n```\n\n## Quick start\n\n```tsx\n\"use client\";\n\nimport \"@aiteammate/agent-widget/styles.css\";\nimport { TrugenAgentWidget } from \"@aiteammate/agent-widget\";\n\nexport default function Page() {\n  return (\n    <TrugenAgentWidget\n      agentId=\"your-agent-id\"\n      userName=\"Jane Doe\"\n      userId=\"jane@example.com\"\n      identityPrompt={false}\n      hideUserVideoFeed={false}\n      userVideoFeedDraggable\n      context=\"User is viewing the pricing page.\"\n    />\n  );\n}\n```\n\n## Widget props\n\n| Prop | Type | Required | Description |\n| --- | --- | --- | --- |\n| `agentId` | `string` | Yes | Published Trugen agent id. |\n| `context` | `string` | No | Extra runtime context passed to the agent session. |\n| `userName` | `string` | No | Display name for the current user. |\n| `userId` | `string` | No | Stable user identifier, usually email or app user id. |\n| `identityPrompt` | `boolean` | No | Shows a name/email prompt before session start. Defaults to `false`. |\n| `hideUserVideoFeed` | `boolean` | No | Hides the user's local camera tile in expanded talk mode. Defaults to `false`. |\n| `userVideoFeedDraggable` | `boolean` | No | Allows the user to drag their camera tile within the expanded video. Defaults to `true`. |\n\n## Next.js example\n\n```tsx\n\"use client\";\n\nimport \"@aiteammate/agent-widget/styles.css\";\nimport { TrugenAgentWidget } from \"@aiteammate/agent-widget\";\n\nexport function SupportTeammate() {\n  return (\n    <TrugenAgentWidget\n      agentId={process.env.NEXT_PUBLIC_TRUGEN_AGENT_ID ?? \"\"}\n      userName=\"Customer\"\n      userId=\"customer@example.com\"\n      context=\"Customer is inside the support portal.\"\n    />\n  );\n}\n```\n\n## Client tools\n\nClient tools let your npm package render custom UI when the agent calls a tool.\n\nThis is useful when:\n\n- you want the agent to open a package-owned panel\n- you want the UI to render inside your app, not inside a public preview\n- you want to keep tool behavior in React components you control\n\n### Important\n\nClient tools are package-side runtime features.\n\nThey are meant to work inside your app where `@aiteammate/agent-widget` is installed and running. They are not a public hosted tool runtime by themselves.\n\n## Register a client tool\n\nUse `createLeftPanelClientTool` plus `useRegisterClientTool`.\n\n```tsx\n\"use client\";\n\nimport {\n  TrugenAgentWidget,\n  createLeftPanelClientTool,\n  useRegisterClientTool,\n  type ClientToolPanelProps,\n} from \"@aiteammate/agent-widget\";\n\ntype GreetingPayload = {\n  message?: string;\n};\n\nfunction GreetingToolPanel({\n  payload,\n  close,\n}: ClientToolPanelProps<GreetingPayload>) {\n  return (\n    <div className=\"h-full w-full bg-[#0f1316] p-6 text-white\">\n      <h2 className=\"text-2xl font-semibold\">Greeting Tool</h2>\n      <p className=\"mt-3 text-white/70\">\n        {payload.message ?? \"Hello from your client tool.\"}\n      </p>\n      <button\n        type=\"button\"\n        onClick={close}\n        className=\"mt-6 rounded-md border border-white/15 px-4 py-2\"\n      >\n        Close\n      </button>\n    </div>\n  );\n}\n\nconst greetingTool = createLeftPanelClientTool(GreetingToolPanel, {\n  parsePayload: (rawPayload) => {\n    if (!rawPayload.trim()) return {};\n    return JSON.parse(rawPayload) as GreetingPayload;\n  },\n});\n\nfunction WidgetWithClientTools() {\n  useRegisterClientTool(\"greet_tool\", greetingTool);\n\n  return (\n    <TrugenAgentWidget\n      agentId=\"your-agent-id\"\n      userName=\"Jane Doe\"\n      userId=\"jane@example.com\"\n    />\n  );\n}\n\nexport default WidgetWithClientTools;\n```\n\n## Register multiple client tools\n\n```tsx\n\"use client\";\n\nimport {\n  TrugenAgentWidget,\n  createLeftPanelClientTool,\n  useRegisterClientTools,\n} from \"@aiteammate/agent-widget\";\n\nfunction FirstTool() {\n  return <div className=\"h-full w-full bg-black text-white\">First tool</div>;\n}\n\nfunction SecondTool() {\n  return <div className=\"h-full w-full bg-black text-white\">Second tool</div>;\n}\n\nexport default function WidgetWithManyTools() {\n  useRegisterClientTools({\n    first_tool: createLeftPanelClientTool(FirstTool),\n    second_tool: createLeftPanelClientTool(SecondTool),\n  });\n\n  return <TrugenAgentWidget agentId=\"your-agent-id\" />;\n}\n```\n\n## Client tool payloads\n\nWhen the agent calls a registered tool, the widget passes the tool payload into your panel component.\n\nBy default:\n\n- valid JSON objects are passed through as objects\n- other JSON values are wrapped as `{ value: parsed }`\n- invalid JSON is wrapped as `{ value: rawPayload }`\n\nIf you want stricter behavior, provide your own `parsePayload`.\n\n```tsx\nconst scheduleTool = createLeftPanelClientTool(SchedulePanel, {\n  parsePayload: (rawPayload) => {\n    const parsed = JSON.parse(rawPayload) as {\n      date: string;\n      participants: string[];\n    };\n\n    return {\n      date: parsed.date,\n      participants: parsed.participants ?? [],\n    };\n  },\n});\n```\n\n## Client tool display options\n\nYou can customize how the built-in agent/tool switch behaves.\n\n```tsx\nconst myTool = createLeftPanelClientTool(MyPanel, {\n  display: {\n    controlsHoverOnly: true,\n    topLeftHoverOnly: true,\n  },\n});\n```\n\n### `display` options\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `controlsHoverOnly` | `boolean` | Show panel controls only on hover. |\n| `topLeftHoverOnly` | `boolean` | Show the top-left display toggle only on hover. |\n| `showBuiltInToggle` | `boolean` | Hide the built-in toggle if set to `false`. |\n| `renderToggle` | `(props) => ReactNode` | Fully replace the built-in toggle UI. |\n\n## Use the built-in toggle in your own custom UI\n\nThe package exports the default toggle components too.\n\n```tsx\nimport {\n  ClientToolModeToggle,\n  DisplayModeToggle,\n} from \"@aiteammate/agent-widget\";\n```\n\nMost apps do not need this. It is mainly useful when you want a custom wrapper while keeping the same internal interaction pattern.\n\n## How the tool flow works\n\n1. Your app renders `TrugenAgentWidget`\n2. Your app registers one or more client tools\n3. The agent calls a tool by name\n4. The widget matches that tool name against your registered tool\n5. Your React panel renders inside the widget\n\nIf the tool name does not match a registered client tool, nothing custom will render in your package.\n\n## Best practices\n\n- Keep tool names stable and exact\n- Keep payloads small and structured\n- Use `parsePayload` for validation and normalization\n- Treat client tools as app-owned UI, not public preview UI\n- Prefer one focused React component per tool\n\n## Troubleshooting\n\n### The widget looks unstyled\n\nMake sure this import exists once in your app:\n\n```tsx\nimport \"@aiteammate/agent-widget/styles.css\";\n```\n\n### The widget does not start\n\nCheck that:\n\n- `agentId` is valid\n- the agent is published\n- the current app can reach the runtime it needs\n\n### My client tool is not rendering\n\nCheck all of the following:\n\n- the component is rendered in a client component\n- the tool is registered before the agent calls it\n- the tool name in your registration exactly matches the tool name the agent uses\n- your `parsePayload` is not throwing\n\n### Next.js says this must be a client component\n\nAdd this at the top of the file:\n\n```tsx\n\"use client\";\n```\n\n## License\n\nProprietary. All rights reserved.\n","readmeFilename":"README.md"}