{"_id":"@agentup-inksen/web-chat-core","_rev":"7-3152e0e19c62b909bc55e09401040274","name":"@agentup-inksen/web-chat-core","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"@agentup-inksen/web-chat-core","version":"0.0.1","license":"PROPRIETARY","_id":"@agentup-inksen/web-chat-core@0.0.1","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"dist":{"shasum":"e239a8937a4569cc4b48d34234fdd22dd061ce5d","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.1.tgz","fileCount":8,"integrity":"sha512-3hqyE4A1yPmKxdCbmebSTWnlYabZp1IcYhVf9o3+91fwoZQ3O3oxz2LFeDeblCpPLSbjOZEoN1TBRFC8PT4/qA==","signatures":[{"sig":"MEUCIGlsyKQrEZA+dhayLubriuLiJdhMYsSikxyfJrvKpuPxAiEA6MYcJBLGvqtje4wU8D72SXRh5Xk1hGLXWomB+6XHVSk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74131},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"131fa0780fcba2c07b7635e0c0b014d9d000f84e","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","lint":"tsc --noEmit","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","clean":"rimraf dist"},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"_npmVersion":"10.8.2","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@microsoft/signalr":"^8.0.0"},"publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","rimraf":"^5.0.5","typescript":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/web-chat-core_0.0.1_1777979718742_0.6403929905332315","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@agentup-inksen/web-chat-core","version":"0.0.2","license":"PROPRIETARY","_id":"@agentup-inksen/web-chat-core@0.0.2","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"dist":{"shasum":"d68debe1faf792afec5a2e98bf552c140d29cf67","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.2.tgz","fileCount":8,"integrity":"sha512-Ay8dbJZ3Nwka00cw75ttGIKJ9pFDjYghq4smNFmqtSnNawY74S6vJ6ZUhZX4kwkqJoOCId6lF/JunDROiSHKaw==","signatures":[{"sig":"MEQCIF33KF2hmFKV2B9XwEu8FwawU+iroSce/agufTvw1BN1AiASgbOESC8ERC4zEfheUsBIwzCk3vgwS1mWCr4TDxAusw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74131},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e28c2b265cf0b186eddf0192688c643655e70345","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","lint":"tsc --noEmit","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","clean":"rimraf dist"},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"_npmVersion":"10.8.2","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@microsoft/signalr":"^8.0.0"},"publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","rimraf":"^5.0.5","typescript":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/web-chat-core_0.0.2_1778254443447_0.5532535677035841","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@agentup-inksen/web-chat-core","version":"0.0.3","license":"PROPRIETARY","_id":"@agentup-inksen/web-chat-core@0.0.3","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"dist":{"shasum":"b378052c123cc803c65152f77114c6808718127d","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.3.tgz","fileCount":8,"integrity":"sha512-8GaCoMAMbMdECyZykMMAx4cwOsif3LqnJfYp4tNlU4648e9ZtxlZ7EyuOCMayd+E7sMoMc8eM352yBBwwAzUMQ==","signatures":[{"sig":"MEYCIQCHeQL7P4tOoSB/hZni5WlH87i37qg0oT8b0acOlA2VwAIhAPdtOKT27hQ8fdTnz+Sx28TbjMmpUT4qImxfll4On6K7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74131},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"799bf762d7282636c9d283acdd128aff87c4b349","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","lint":"tsc --noEmit","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","clean":"rimraf dist"},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"_npmVersion":"10.8.2","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@microsoft/signalr":"^8.0.0"},"publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","rimraf":"^5.0.5","typescript":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/web-chat-core_0.0.3_1778269286667_0.84408394955562","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@agentup-inksen/web-chat-core","version":"0.0.4","license":"PROPRIETARY","_id":"@agentup-inksen/web-chat-core@0.0.4","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"dist":{"shasum":"3b7a09a4dd761279379ae6c4fd8ac129484bd65b","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.4.tgz","fileCount":8,"integrity":"sha512-GP9zNFJOE7lnE1RN2rW3hEWwphvaRNnrbD6EFiorGIuB/gvl4guDA5i6YOY//qxrNEfFGxeqwzrX4Y6JGbBNPQ==","signatures":[{"sig":"MEUCIGFs7lVL6P684AXUsf7whNuZ96hs67YyAORfHv+H8ws6AiEA5C7wavQcwyuGneIgH53KGUO/IC6bf68IJ9e8cNtjEQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83895},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"399e8509cad3fc23b9c1bab2b57e128f911215ae","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","lint":"tsc --noEmit","test":"vitest run","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","clean":"rimraf dist","test:watch":"vitest"},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"_npmVersion":"10.8.2","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@microsoft/signalr":"^8.0.0"},"publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","rimraf":"^5.0.5","vitest":"^4.1.6","typescript":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/web-chat-core_0.0.4_1778927460340_0.3239321936144208","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@agentup-inksen/web-chat-core","version":"0.0.5","license":"PROPRIETARY","_id":"@agentup-inksen/web-chat-core@0.0.5","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"dist":{"shasum":"d1eee8f6017f266c8e8e2104838954bfca5cbd9a","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.5.tgz","fileCount":8,"integrity":"sha512-uXoTRdK5SiVSrWlbizNckQgmV3SlvzDv6nVkg02awJ8JvcMVwXiiXk78DgbhCi0tafOxP+GD4qe/VSevvL5lZw==","signatures":[{"sig":"MEYCIQDCMd0Jc46Ky0KPpNEYEwwp3ZnG74zQgP/hYAb/gGVFWwIhAJfqlyd2kLnd3te2OLazDUsol5uaeOsyTSpnWmD5QdQo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83895},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"07011129aa4e179150a19930384de0fd0eaec7f7","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","lint":"tsc --noEmit","test":"vitest run","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","clean":"rimraf dist","test:watch":"vitest"},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"_npmVersion":"10.8.2","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@microsoft/signalr":"^8.0.0"},"publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","rimraf":"^5.0.5","vitest":"^4.1.6","typescript":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/web-chat-core_0.0.5_1778964536930_0.8870846853504637","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@agentup-inksen/web-chat-core","version":"0.0.6","license":"PROPRIETARY","_id":"@agentup-inksen/web-chat-core@0.0.6","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"dist":{"shasum":"633348b837476323bc7ee5f13e3934598c0c8b68","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.6.tgz","fileCount":8,"integrity":"sha512-76K36NIcpBhN48HJDk/4J2LSy38lwl5jeyi2JB3lfSRrQoObrr7gPImZbdPSPLueapXLHLo1fBpJ3Fgnkt8NjA==","signatures":[{"sig":"MEYCIQCMN7TXtX/IB/x6NzKgjm6GZhgRfV0tAu0QOXZDbI7yiAIhAIsF9Ew4jha8as67m/VMKggWF5l6ERe4qb6KvK3N+jb3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83895},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"bca564ee105259056c9843876ff7599e4fe5f074","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","lint":"tsc --noEmit","test":"vitest run","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","clean":"rimraf dist","test:watch":"vitest"},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"_npmVersion":"10.8.2","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@microsoft/signalr":"^8.0.0"},"publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","rimraf":"^5.0.5","vitest":"^4.1.6","typescript":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/web-chat-core_0.0.6_1779043188067_0.14817717860713886","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@agentup-inksen/web-chat-core","version":"0.0.7","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","license":"PROPRIETARY","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","dev":"tsup src/index.ts --format esm,cjs --dts --watch --sourcemap","clean":"rimraf dist","lint":"tsc --noEmit","test":"vitest run","test:watch":"vitest"},"dependencies":{"@microsoft/signalr":"^8.0.0"},"devDependencies":{"rimraf":"^5.0.5","tsup":"^8.0.0","typescript":"^5.3.0","vitest":"^4.1.6"},"publishConfig":{"access":"restricted"},"_id":"@agentup-inksen/web-chat-core@0.0.7","gitHead":"0e9037d099c0b3ba7478a679a1bf89c50cbfaecd","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-X7Yqtp5OKveyfmC2zAuC7A32vs2qW+rpQjrqfpuyh5nYYQ8LwKzqFB/emXiYsoMptzndu2I2k0aLSB7d1zpJzA==","shasum":"4158306e7b707449e418d5b726851c851f6c4a24","tarball":"https://registry.npmjs.org/@agentup-inksen/web-chat-core/-/web-chat-core-0.0.7.tgz","fileCount":8,"unpackedSize":83895,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBQZwiD0sIaEpHu5KroozIYisrdk67wRQzxDINMDT9OUAiAzIguTVnPDdfkHE8mgk1oG/arGntrnQV4HZ30d0FV8iw=="}]},"_npmUser":{"name":"inksentech","email":"oktay.kaymanli@inksen.com"},"directories":{},"maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/web-chat-core_0.0.7_1779438391910_0.6548261544728868"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-05T11:15:18.673Z","modified":"2026-05-22T08:26:32.189Z","0.0.1":"2026-05-05T11:15:18.895Z","0.0.2":"2026-05-08T15:34:03.595Z","0.0.3":"2026-05-08T19:41:26.817Z","0.0.4":"2026-05-16T10:31:00.470Z","0.0.5":"2026-05-16T20:48:57.113Z","0.0.6":"2026-05-17T18:39:48.202Z","0.0.7":"2026-05-22T08:26:32.055Z"},"license":"PROPRIETARY","description":"Shared SDK for AgentUp web chat clients (REST + SignalR + types)","maintainers":[{"name":"inksentech","email":"oktay.kaymanli@inksen.com"}],"readme":"# @agentup-inksen/web-chat-core\r\n\r\nFramework-agnostic SDK that the AgentUp web chat clients (`@agentup-inksen/web-chat-app`, the bubble widget, future React Native clients) build on top of.\r\n\r\n```ts\r\nimport { AgentUpChatClient, AgentUpChatHub } from '@agentup-inksen/web-chat-core';\r\n\r\nconst api = new AgentUpChatClient({\r\n  apiUrl: 'https://api.example.com',\r\n  visitorToken: visitorJwtFromHost,\r\n  tenantId: 'acme'\r\n});\r\n\r\nconst agents = await api.listAgents();\r\nconst conversations = await api.listConversations();\r\n\r\nconst hub = new AgentUpChatHub(\r\n  { apiUrl: 'https://api.example.com', accessTokenFactory: () => visitorJwtFromHost },\r\n  {\r\n    onMessage: (msg) => console.log('new', msg),\r\n    onConnectionStateChanged: (s) => console.log('state', s)\r\n  }\r\n);\r\nawait hub.start();\r\nawait hub.joinConversation(conversations[0].id);\r\n```\r\n\r\nBuild:\r\n\r\n```bash\r\nnpm install\r\nnpm run build\r\n```\r\n","readmeFilename":"README.md"}