{"_id":"react-agent-hooks","_rev":"31-85edb1a45c646be30274cfad0374425d","name":"react-agent-hooks","dist-tags":{"latest":"1.0.0-beta.30"},"versions":{"1.0.0-beta.0":{"name":"react-agent-hooks","version":"1.0.0-beta.0","_id":"react-agent-hooks@1.0.0-beta.0","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"8c45338a75bd1ec3d5be17fd94bdc47b4ac39238","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.0.tgz","fileCount":10,"integrity":"sha512-S9qa80z+jLXML41Idwljheyl/cbByIVWKdisEzrqQotlzSFWg0XQ2x7nK0A8SjZL105JVsda6Lvj79nWemKx6g==","signatures":[{"sig":"MEUCIQChbVAZBrRwjVKesc5V6JriAln8tjDpXf/SoD2iuGwE6QIgbW4zuBJ7QRRu9JDX1flfWXXp2bC/GCz2gQTE2pKe8PY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":363965},"type":"module","types":"lib/index.d.ts","gitHead":"aa5330616a088276488ee9e3266c1a2b986565b0","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"An Agentic State Manager built on top of React Hooks.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.0_1744216228047_0.7983387124755896","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.1":{"name":"react-agent-hooks","version":"1.0.0-beta.1","_id":"react-agent-hooks@1.0.0-beta.1","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"719659ac70bba4647e4a52e2ece7e01e05e84acd","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.1.tgz","fileCount":10,"integrity":"sha512-cUc2/vJCPCd/Bp/DnleGkpE1facMug59CVYpLvMmyXMhqMt3QamrkqX+Z6xEa18c1dwmWR5muRlwwWh5S8BKaQ==","signatures":[{"sig":"MEUCIQDV/87fWy2hRBDLm3+v7gYAwyQIdUPlWqqcNCdkNpPAkgIgHgzP0HB9Piyi9PiJAF57l0uCkbBlTyoPdWfV3xwwMmQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":363964},"type":"module","types":"lib/index.d.ts","gitHead":"d70ac5a4d56552405cb0ccc7c67d153e76d3ccec","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"Hooks that add Agent usability to your existing React app","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.1_1744216884197_0.6338312538797932","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.2":{"name":"react-agent-hooks","version":"1.0.0-beta.2","_id":"react-agent-hooks@1.0.0-beta.2","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"a1e7706cd6369c4eacaa1775bda41db0f65a5900","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.2.tgz","fileCount":10,"integrity":"sha512-MsLXLtT4bdbVpFS+GDgEVLG1LJYfo03vfbK/d36BEKI+J5oJCFgo8UDC8RFhuvtCIhYEBriryQn68bpE2jrXzg==","signatures":[{"sig":"MEUCIEgU2v8aaD9qkQuIW94DcZVtwkjCk8Tsq6uirnsKw07FAiEA+ffswRQj9aQe/xyx4u3MWRHOLd/mKUAi8Jfn15Lp/XU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364012},"type":"module","types":"lib/index.d.ts","gitHead":"85b0578c6fe3c1d8c83db13a099649424135a7be","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"Hooks that add Agent usability to your existing React app","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.2_1744217194711_0.335769915575858","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.3":{"name":"react-agent-hooks","version":"1.0.0-beta.3","_id":"react-agent-hooks@1.0.0-beta.3","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"17f0a6040b9441e1a2e10e00e9b4f7910c01b5bc","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.3.tgz","fileCount":10,"integrity":"sha512-JPchb/bc0/kqOf8a2RuJzMq3BAvh98+P5K49ZyT1t/3VEjUhKXjGnbiw9kDEfS/wqEBBt1aUyVn63Sob3eFyOw==","signatures":[{"sig":"MEYCIQDLG5qwhrUC2vCJQ49DWvf45dUpeuzyZxXV1c1SK1J9VQIhALm0kLHq6xtAWNEO3y7vRsFDTQ/w4QBNxgrh4XVRX6Fz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364043},"type":"module","types":"lib/index.d.ts","gitHead":"3fd4f011b17ee34aae713df5582224eee5831f05","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"Hooks that add Agent usability to your existing React app","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.3_1744218078376_0.7602578454512154","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.4":{"name":"react-agent-hooks","version":"1.0.0-beta.4","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.4","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"cf93d00ae096dbb4aa4aeecb74b4251bf32c7e7f","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.4.tgz","fileCount":10,"integrity":"sha512-MUWQ6CXBNdR8b7XCuEvrB8WJllwEK09aQZVieh8oTRc7/KuDIk8K8qeaZYQdtDWfuQ8utcU4EN4jO7SEfCaC3Q==","signatures":[{"sig":"MEUCIQCo7F/SVRJlAb+fFc1Crd+E9vmim9PqiL0DV0fQNOPXggIgGw2gqI/dIcJOYsGu8yr/I4ohwHvr3JB+Vy7RcK9Fq/o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364189},"type":"module","types":"lib/index.d.ts","module":"./dist/react-agent-hooks.js","exports":{".":{"import":"./dist/react-agent-hooks.js"}},"gitHead":"0f207367cb24eca835edf6d5c5be10df2abdfa37","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"Hooks that add Agent usability to your existing React app","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.4_1744219791245_0.7640576963210413","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.5":{"name":"react-agent-hooks","version":"1.0.0-beta.5","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.5","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"d3b9d3d8bbde90dc3b9b9576fc248b4715148237","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.5.tgz","fileCount":10,"integrity":"sha512-D5mwGOmnkPzNKRqi4+ElM3n+BcCr1IOUg68iJ5+0d8xeH4B2ILyMR4kYx7JFePMrl8k5XM/pRwiC8cBFlITkKw==","signatures":[{"sig":"MEUCIQCpiSONVRCeFwRVP3RRhln/biwyPKi8pNpgSimbqKIVgAIgUpXpKSKYsPQ/s/mxPatI2L8hsrOJpAf/d8ldP61P1a8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364224},"type":"module","types":"lib/index.d.ts","module":"./dist/react-agent-hooks.js","exports":{".":{"import":"./dist/react-agent-hooks.js"}},"gitHead":"b7e43696fbc27b5d6933002b6a67990753000fe8","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"Hooks that add Agent usability to your existing React app","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.5_1744221814778_0.3868372422511881","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.6":{"name":"react-agent-hooks","version":"1.0.0-beta.6","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.6","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"9a907c772eb097df24a30d516fa50c48bb3be480","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.6.tgz","fileCount":10,"integrity":"sha512-v/68bZV5WLavlVBy7SDs+asC63xaZon9El10UAUIw0I2AmD2N1CSiJjw0TpqHVrRe2SZdTkRsiyaXIGbuOBo4A==","signatures":[{"sig":"MEUCIAoi9Uoy4btBGs9hy0N4CXPGcO9hFfQtdhg48l9E2CPLAiEA2SNUSt0M5OstAm5s2bWGDNgyv5nJPM2ITxS8Jhi2IcI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364388},"type":"module","types":"lib/index.ts","module":"./dist/react-agent-hooks.js","exports":{".":{"import":"./dist/react-agent-hooks.js"}},"gitHead":"9eb8fda8108348a60f2aea42ef950ec7cd75ef7f","scripts":{"dev":"vite","build":"tsc -b && vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.6_1744233948984_0.11428815807875736","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.7":{"name":"react-agent-hooks","version":"1.0.0-beta.7","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.7","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"4ccd41a39140ae1c2fbc8d43186520e07c8d9b4f","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.7.tgz","fileCount":17,"integrity":"sha512-4hoY9IdN65bcgvF7f+VEPd6jysQMGgtIOJjTy26UIPt8LLzC9eV/K5wfswpHr1Zh7EpCaNnrIYFP+oNRjvt6bg==","signatures":[{"sig":"MEQCIEPUmO5C4NAur7rK2AlRaslupgkUN0nxMr/cBKLH3cHGAiAGry+T4JvIPODEg1FU0IS5xIkFMZDtm+F3JKbZtW9FOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366316},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"3de85f6d2aa29ed722c21ba8ca4ea7d1e6871cdd","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.7_1744235342555_0.08100564071222838","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.8":{"name":"react-agent-hooks","version":"1.0.0-beta.8","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.8","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"fa13b01ad2a7adb302e106e087ba1df89c228867","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.8.tgz","fileCount":17,"integrity":"sha512-HOXYYKrvL0jVS67fX4MyUAmZwAbweDyglPAsd/WrS74i5NcASgXSEZHBtIRw+7r+wJOVroIK22p6v5owHxobZA==","signatures":[{"sig":"MEYCIQDgCowAfGnU64DEAtrNQ9JSSrIVNwHnu1C/nAw1k+cY9AIhALsLME7DjvkPeRYvR+oH3of44h4TnEAdP90OSBwwIs1I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366674},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"120e4ee76b6495ba58b3c00c5b4f01224f012a06","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.8_1744235505860_0.4509536684437956","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.9":{"name":"react-agent-hooks","version":"1.0.0-beta.9","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.9","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"a5ab99c2d90acbb63e8b031f8d80680ff5b5d57f","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.9.tgz","fileCount":17,"integrity":"sha512-m3BnTZrSXN2FtNlLROLtOoAXTCp/q/Aoqt+tZUzVK2k+xhP8FnwLz9Gc/BP82K7LvDnwLWEAgpPTncN7djEPkg==","signatures":[{"sig":"MEYCIQDCBW8mfWO0jD2NN7l0R+haCA2a3K1Uo/YkTY1geAERxwIhAOS+ZB1Xiq32Kut4sGmx5qf3DJKEFWiAA3zpZ1q6ZAKA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366660},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"a74a11638caa1960435a14b06dca4341637848fe","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.92.1","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.9_1744235857216_0.8325074393425371","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.10":{"name":"react-agent-hooks","version":"1.0.0-beta.10","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.10","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"f801377d93c2364fc6140484635c5c57cc22146b","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.10.tgz","fileCount":17,"integrity":"sha512-O9CRqsusp+yovRTF5hk+IIROcY0EbJdsBZvqXsKH8HVva3Kpev2hFMDVOat02o4RsF97gsYm5vqVn2ydLgTtUw==","signatures":[{"sig":"MEYCIQC6JCaAVTEwpxeaSPmxrD46ZdDHEXnw3+Q+Moz/s6RZbAIhALsCQXofIoR0Q63BPjmso5jeRAGKwQEDMJPxvljdPSl+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366754},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"1b9f1f08d9439a66739c452b37029762bc440e28","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.10_1744655425990_0.008900418760876105","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.11":{"name":"react-agent-hooks","version":"1.0.0-beta.11","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.11","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"d995783f300d5276af0eda78403f3584d0b2b3c3","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.11.tgz","fileCount":17,"integrity":"sha512-UxBGLX389wsKzdLquoKH8LTINTde9zRIfAh1KiWq3KWgTB8nt/u8nfHdlqTP1RJVs0xQuu/szhSC1KnPNumGaA==","signatures":[{"sig":"MEYCIQCjaWiBTPG7D6HPfuRXn3/p+z8P92YR+0YgEOjarexgmAIhALzX8s4g7PFMehVKrl0TLxNsV95xM+zhW2bV1D9JIwtP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366667},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"f6c87ab68f1acc6e84bdfc466ca75fb0516e0b94","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.11_1744675598353_0.20701457078482122","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.12":{"name":"react-agent-hooks","version":"1.0.0-beta.12","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.12","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"bc7c8d9c19fd33247f0b1947b414c60bd37afc2d","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.12.tgz","fileCount":17,"integrity":"sha512-8Ys+HgSjbvp2wZrlb9Y4luXfBYsaAepU69DBomYt/+E4P7xsSKzBIGMeRb+ldsccIzJK1++KicwryLNBfpojuQ==","signatures":[{"sig":"MEUCIQDf0ZOGHM3Z7eSYoStl2blot/fy4wAf9X1F6v2nyVWbmgIgP+vw+fPpR5EzHzxiA/ydECja3KPi0rqMJc999Tajunc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366646},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"482fa2fc6211af050722b9c64f468161b9521efd","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.12_1744676847783_0.6785893052716272","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.13":{"name":"react-agent-hooks","version":"1.0.0-beta.13","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.13","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"cf753dc8bd1078d8554dd3c5b7fdde7f383541d9","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.13.tgz","fileCount":19,"integrity":"sha512-QL1KtSidCKrdPwXUgxsdjI9NslKdy5he/PKcpU59F4lcffjoj26fz9gy2yJgKuFUep/qc8Q6SoMbIOWVewbF3Q==","signatures":[{"sig":"MEUCIFqpE9k26pnxl+8Pj7//NYq5fyAMXSlJnW5qEUQQy5cMAiEAuSme9RUMowwEZjFoatqisSdSBUZ95PrZZHsr+QtdD00=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":367794},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"08c9c80a597d6524ef8ffcda6e4b9a7a5bc4de28","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.13_1744827674816_0.5297042947454769","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.14":{"name":"react-agent-hooks","version":"1.0.0-beta.14","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.14","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"f6457f3b5bb5a4f49bf99d01d068c1c2d75db85e","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.14.tgz","fileCount":21,"integrity":"sha512-vJvXviKJB9Zt/XoKAe1RQq3BQwLctDX8P0ue3DbQIaMuNGOULe8aRRmJThphHdQLHAe6nBbp2KLuHqpcDUWhTw==","signatures":[{"sig":"MEYCIQDN84BPX94mND/aaOG3AWRgbM0At2Hv2vgwmWlH8+DyOAIhAKqRYqHDLAcwrtDdjJE3Q/J0742DDcN2w8EQF1S81C5Y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":368956},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"d3913d2a4ca59f210cc4cb0606a89294ecbcf7b8","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.14_1744827691332_0.7136740742323893","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.15":{"name":"react-agent-hooks","version":"1.0.0-beta.15","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.15","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"60ddffe8c32bcc04cde241023ba852bd886696c3","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.15.tgz","fileCount":21,"integrity":"sha512-trd6By1F83E1iwdyYQscMR79YHpxUmUOXkfC/BDr6cu8ioS6LdYSmZ26LtCdqSr2UK2/g7I7USbsrD12v/6V+A==","signatures":[{"sig":"MEUCICa5QpqEycs13aky/g581l4n25FCQgv04SZsoPjXanmnAiEA8RHP8QJaVYGC41t3nWzB6c0Y+MHydlCF+pCXYcB6tRc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":370040},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"4149897da238a8d3283974894c5f361ec99ca7f9","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.15_1744828875179_0.28426292783987916","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.16":{"name":"react-agent-hooks","version":"1.0.0-beta.16","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.16","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"eb951f5d324016e905028cb5b6c2823335f3e3be","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.16.tgz","fileCount":21,"integrity":"sha512-PMJCX8yc2OXszpc20KJhcbo1jhKEkTASNGp125oUqvLA85gA4ZU9Id1QcVYqw+fk2LtQRQV52FDE1SyynwpaqQ==","signatures":[{"sig":"MEUCIQDEMZeUq1dhwYJ8qIWlV701Squr12D25h1CZa4jbxo4SQIgOfBVkLkSNDOWZ4wn2TKV1oOjDaPVczi7WmJz62k8q1M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":370040},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"a4c979a200776eeffb623062fe1707b99a612de6","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.16_1744828989607_0.8260418280740027","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.17":{"name":"react-agent-hooks","version":"1.0.0-beta.17","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.17","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"2de0102194f4c95c21cbf4f389c7cb46c6cacf7c","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.17.tgz","fileCount":21,"integrity":"sha512-veYGJp53IeZ6sqeYOUNP0GbuEYQaDJ5EBDqCaNXbpXRJUU/dHemmahTRxNnMgiBfFJZDwxfOnKY3Zm+Bg+Mchw==","signatures":[{"sig":"MEYCIQCVPS8gtP2nRyTQ4LIIfdEy4768rMMV1aQbW0udCV2waQIhANWGGDBncgWT4qorOAWZ7t8cDPhRc6XijulGCcao0R7K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":372459},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"978844a6606b944791b5d5dce04d77a4cdeb1247","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.17_1744830805591_0.5545108761229671","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.18":{"name":"react-agent-hooks","version":"1.0.0-beta.18","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.18","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"ff47efcfb4f2e71de10acb6c623cbb3e42c69f8c","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.18.tgz","fileCount":21,"integrity":"sha512-oHfG8NlMBNDCTIdHT9hIWQnuSxraxe79B7Db5Or47X9f6/UHJZgh5EE12jpYrYK2qg9BLqhzhb0Wy/G3W9pnNg==","signatures":[{"sig":"MEUCIAgJKl+FVDNTO2lqQdF9e7cPu4xvSs7a64eLmlfndEBSAiEApCcPalqSJEV3SoPWEyqoqVmUjBWHu7juyRZ3aOSIaVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":372114},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"691e58697847b036a3f4c13ad728a532e6116d5b","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.18_1744841790424_0.24425308301045456","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.19":{"name":"react-agent-hooks","version":"1.0.0-beta.19","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.19","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"142cc03a720e1755a4699c1ddf0f19b52154d31e","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.19.tgz","fileCount":21,"integrity":"sha512-lgz9gqZHpasJUFuc50zOYWBpuqcEw4K+R2tQ/0kne6pI7bzBzvonuhS4WxPI9dUKpavRbXn5J6vuUZuFWYc2wA==","signatures":[{"sig":"MEUCID3U6s+cHnls+3WMhKaxqw/9cE7LRALhSxa4soNVe+tsAiEA8udhPI2ksYfVdJFpUFW6RrpTLhY+NTi9yLQ+/Fputcw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":373214},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"19abac447e035d66a781b00b0fa588fa9a02ce01","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.19_1744984355981_0.1606853849639598","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.20":{"name":"react-agent-hooks","version":"1.0.0-beta.20","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.20","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"c039e81d4be2fa547ed419cbbf41ba3fa9b3ce32","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.20.tgz","fileCount":23,"integrity":"sha512-5T6C9M+2Nx5jJ/zCGqfc7ZpB6VxLJRNBxLDJAHOVoMImU2Ejs60WoUI5dtEAPPT8ue8nEKeUzk1E1Nhc9UoRnQ==","signatures":[{"sig":"MEYCIQDkxwF8g5oMYGjwxFzDz7eCl4deY5z8sPBSo1LHfkuGfgIhAJQwQhk9iLjPn9WEApxkViqL6DhkkUT0frCjFRYZk5+p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377471},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"0b5061ec7f47dd66183d1a5bc049442dcde1235a","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.20_1745013694816_0.08927126123265983","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.21":{"name":"react-agent-hooks","version":"1.0.0-beta.21","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.21","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"074206b58f0d82f8c664cd7a3f360b98e7a6d21c","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.21.tgz","fileCount":23,"integrity":"sha512-wBUWWvP+E2tdpVphvbzBEca4+Hvxr6NotxDZJzAAPUtp1hC4nJ6w8I9gCwOYTWDG30S6tKRSlaeE4rCGJ/JZIw==","signatures":[{"sig":"MEUCIGLKNdm7nWtFJf3bsff8eHsNAcXrAY68OUKW0PscsdLLAiEAtIKvm7GO0kiNDvo1SSxnUBxh0OEBJ/ibJfqyTPPujRE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377255},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"2781838b25e52248e10f333283fe0162fd863d8a","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.21_1745016373169_0.8430557576002244","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.22":{"name":"react-agent-hooks","version":"1.0.0-beta.22","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.22","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"71605104cac0af1780dd9617b654b3ae59419d3d","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.22.tgz","fileCount":23,"integrity":"sha512-4cd/CfbdOJpSUuu15AOzx6f/RBJQ17tParkWAvf5QfkdBMr+GMmuwQhkQY4qM0upd8yUB1+11e7/pEkp+Z+O0A==","signatures":[{"sig":"MEUCIFocATcAkpLYaGoGvoqw+gt0A1V0MddPpPhfIxy9GxVmAiEA90cgymiydYvgXejLH2gIfzAew2sSFExPuzOalx34GsE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377265},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"199ccdde534cab09a94e466bc64812bb7decde6e","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.22_1745016607414_0.12705474463946764","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.23":{"name":"react-agent-hooks","version":"1.0.0-beta.23","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.23","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"e09981a63b49d1d14df42d958282b30286e0aa79","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.23.tgz","fileCount":23,"integrity":"sha512-3aT9agS1yjnyHcMJUmcVi7ScU7TJzgI9F9d7tG9/ssVCZSW8I5ZXNsKYSA4GZWA9g+hssp7fKSDwK1j1yCSwng==","signatures":[{"sig":"MEQCIE9Q4l4LQ0pgZHT+/Tmyfoapj5l9KkQ1KQv/BMZEtMoAAiBzsOxPfu5EVJLQ6t522AI2/eZeayJrX9UWCunsBekuyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377363},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"4dbd7fc577763f1f79e98586d214b9669ce20221","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.23_1745019148778_0.6053297547851804","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.24":{"name":"react-agent-hooks","version":"1.0.0-beta.24","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.24","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"25cab0d18e1044ea2f5521b00f9a9c87699d0327","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.24.tgz","fileCount":23,"integrity":"sha512-SxUkWAPZt7DoIwlo8RNAW3Y/zdauHAyEMxNPnYH6h89TlE5Oc+I7AN5WZAYxGnAmgXgaiDK5qa6fGXFwJOm0ww==","signatures":[{"sig":"MEUCIFsPDhMrXpwZ3X5z9HxpSmddJGByJbaGAoIGRfmDuvA3AiEAjDkv7mlvhNntja3FaGKGQUR72E6cVw2j+TaleuPsj4Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377685},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"87cdbd62638fc83478732c661da40a04ccdbb05f","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx)","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.24_1745022852592_0.39702321851582734","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.25":{"name":"react-agent-hooks","version":"1.0.0-beta.25","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.25","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"e36d0f0199ba81f91e248a3bef6d2c848709415d","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.25.tgz","fileCount":23,"integrity":"sha512-nyH/ab8lljgPAjAfEEZRc+dv0pgBGZiwj6sfoa/89ffLi66yIHs51e6uHuK3uVl0nzVbw/+CnbMwuAi3va9Hsw==","signatures":[{"sig":"MEYCIQDIZNpvQLGD1hOyeGsQLxf/V8ZTuKMKhC18M1cRomEmkgIhAIcU6R5PzyuB9zFOg6cCuCVGCxcg7KrjK0becdI9UBBK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":379424},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"b041d9390a7ca04bc33c05931eaec529169a899d","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.94.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.2","vite":"^6.2.0","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.7.2","@types/node":"^22.14.0","@types/react":"^19.0.10","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^4.3.4"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.25_1745280740793_0.8017860346628276","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.26":{"name":"react-agent-hooks","version":"1.0.0-beta.26","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.26","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"d06374465a7a279b67988dcbe9b50593546e9094","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.26.tgz","fileCount":23,"integrity":"sha512-rmSOZuocghv35auVYNNUBom8K8NeBFMHTS9CUaXdW7QxzOVJLlxN0w822zsDP0bVyKOEOANldqoJmQ9xSybaWw==","signatures":[{"sig":"MEQCIGFwxWLBNY4/8hTm2GKiDy7fBlgsF5FYk8lKrjYalNWXAiAp7jdYjgyH9Eh/RmTLNJ/oSf7e18M+14RbVoKeINGKpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":384557},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"1881704ccfaed20c2665a0fcee853d930e61caed","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.96.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.3","vite":"^6.3.3","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.8.3","@types/node":"^22.15.3","@types/react":"^19.1.2","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.1.2","@vitejs/plugin-react":"^4.4.1"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.26_1745871246432_0.2032597448596285","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.27":{"name":"react-agent-hooks","version":"1.0.0-beta.27","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.27","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"b5456a284d2fe1154fd7bac45854eb3477e0957e","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.27.tgz","fileCount":23,"integrity":"sha512-xp3HQ1636k2uAk0vAL8HuUwp7dswM+Vb3cUKJyGMuzMKBVH0bQWyYcwuLA5ucqu0grZyxcJOeqosTx2HnsOxeA==","signatures":[{"sig":"MEYCIQCWXdxCBGg9Zn0xB9hAc6iVamUhjlaVg/MzAPUnDTPvMQIhAPt9uiy+boXA+tovMgg0YClm7zpxYXmr55hTo9bbJi7+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":384499},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"bf5acda863c93b68444bb011bc5ff6399a965c51","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.96.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.3","vite":"^6.3.3","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.8.3","@types/node":"^22.15.3","@types/react":"^19.1.2","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.1.2","@vitejs/plugin-react":"^4.4.1"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.27_1745872325303_0.2627444347405896","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.28":{"name":"react-agent-hooks","version":"1.0.0-beta.28","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.28","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"8c04715a23aac42b1beb2f24950b2db5d3efa1fc","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.28.tgz","fileCount":23,"integrity":"sha512-3dHOYQokOlgKsngRuRLGZ6r6JYYQ5zc//9WGavD0b3DvIUAAmqUXku/4tqphV+Zn0YTjUvKdBqe3fCv6HnlhLA==","signatures":[{"sig":"MEQCIB9rogONkqq4guVOPlRe8aeii+Ps1El/Qo21ffD6q3HqAiAaBXymvB6ECMDYxPZl7wPT46zCUMB6QlDAV2CFhIs/7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385119},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"9c8af7c9f2d6fb9f2d0dfb767ff3f78c2ea9eb82","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yaml":"^2.7.1","openai":"^4.96.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.3","vite":"^6.3.3","react":"^19.1.0","prettier":"^3.5.3","react-dom":"^19.1.0","typescript":"~5.8.3","@types/node":"^22.15.3","@types/react":"^19.1.2","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19.1.2","@vitejs/plugin-react":"^4.4.1"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.28_1745873342597_0.7423543634032364","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.29":{"name":"react-agent-hooks","version":"1.0.0-beta.29","license":"MIT","_id":"react-agent-hooks@1.0.0-beta.29","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"dist":{"shasum":"4786167bcb815d3fe2fbd7b5f5b2f427a461d0da","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.29.tgz","fileCount":25,"integrity":"sha512-KHsc10EN0laSkEQ0sdJbQshuEInfxfvmEKVkoTALQHIqQXA8sv1pWLVgxZxOmQIry/JdJ0P5GIHhqnSKgsF8Qw==","signatures":[{"sig":"MEUCIHZCJSTX9NXrEtpJyRdfaiCRoL6w+wj91uqMN7ZNzls8AiEA9zo26EiB9hkkOo6Mup4tlxNtUpB2KU3t0qikRGkhMzs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377138},"main":"dist/index.js","type":"module","types":"lib/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"f389324b8fde66c9ebad58c3bf4e22b4b7e24f56","scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"chuanqisun","actor":{"name":"chuanqisun","type":"user","email":"chuanqi.sun.15@gmail.com"},"email":"chuanqi.sun.15@gmail.com"},"_npmVersion":"10.9.2","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","directories":{},"_nodeVersion":"22.15.1","dependencies":{"yaml":"^2.8.0","openai":"^5.7.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.67","vite":"^7.0.0","react":"^19.1.0","prettier":"^3.6.0","react-dom":"^19.1.0","typescript":"~5.8.3","@types/node":"^22.15.3","@types/react":"^19.1.8","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.1.6","@vitejs/plugin-react":"^4.6.0"},"peerDependencies":{"zod":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-agent-hooks_1.0.0-beta.29_1750798318501_0.915958745495137","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.30":{"name":"react-agent-hooks","version":"1.0.0-beta.30","type":"module","main":"dist/index.js","types":"lib/index.d.ts","license":"MIT","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"scripts":{"dev":"vite","build":"vite build"},"dependencies":{"openai":"^5.7.0","rxjs":"^7.8.2","yaml":"^2.8.0","zod-to-json-schema":"^3.24.5"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","zod":"^3.0.0"},"devDependencies":{"@types/node":"^22.15.3","@types/react":"^19.1.8","@types/react-dom":"^19.1.6","@vitejs/plugin-react":"^4.6.0","prettier":"^3.6.0","react":"^19.1.0","react-dom":"^19.1.0","typescript":"~5.8.3","vite":"^7.0.0","vite-plugin-dts":"^4.5.4","zod":"^3.25.67"},"_id":"react-agent-hooks@1.0.0-beta.30","gitHead":"eb06a56ffc28107ac45be3e1e7533396a5b85d78","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-6irwLxA3fzKWef3UpvgQGtKBR9sqwhlnjboWipcT9hyhmcgJDyTmnEGsg7wHC6oFBj3PWOu+uc7lauZN4DSpEQ==","shasum":"b32c34977c6b7ee8b0f6d108be7c668fcfd387db","tarball":"https://registry.npmjs.org/react-agent-hooks/-/react-agent-hooks-1.0.0-beta.30.tgz","fileCount":25,"unpackedSize":397220,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCgZFeZFqwtfVB60UmoVLPO9XKyptNjcILEMDubI2ultAIhAMISRxlmvAg3WrDEWl8WcSIdFFus7TsmUgjAIZCH0PGw"}]},"_npmUser":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com","actor":{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-agent-hooks_1.0.0-beta.30_1750804820736_0.23697930459095096"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-09T16:30:28.046Z","modified":"2025-06-24T22:40:21.101Z","1.0.0-beta.0":"2025-04-09T16:30:28.357Z","1.0.0-beta.1":"2025-04-09T16:41:24.364Z","1.0.0-beta.2":"2025-04-09T16:46:35.233Z","1.0.0-beta.3":"2025-04-09T17:01:18.591Z","1.0.0-beta.4":"2025-04-09T17:29:51.431Z","1.0.0-beta.5":"2025-04-09T18:03:34.951Z","1.0.0-beta.6":"2025-04-09T21:25:49.155Z","1.0.0-beta.7":"2025-04-09T21:49:02.766Z","1.0.0-beta.8":"2025-04-09T21:51:46.110Z","1.0.0-beta.9":"2025-04-09T21:57:37.458Z","1.0.0-beta.10":"2025-04-14T18:30:26.244Z","1.0.0-beta.11":"2025-04-15T00:06:38.561Z","1.0.0-beta.12":"2025-04-15T00:27:27.982Z","1.0.0-beta.13":"2025-04-16T18:21:15.090Z","1.0.0-beta.14":"2025-04-16T18:21:31.638Z","1.0.0-beta.15":"2025-04-16T18:41:15.407Z","1.0.0-beta.16":"2025-04-16T18:43:09.790Z","1.0.0-beta.17":"2025-04-16T19:13:25.778Z","1.0.0-beta.18":"2025-04-16T22:16:30.607Z","1.0.0-beta.19":"2025-04-18T13:52:36.229Z","1.0.0-beta.20":"2025-04-18T22:01:34.996Z","1.0.0-beta.21":"2025-04-18T22:46:13.397Z","1.0.0-beta.22":"2025-04-18T22:50:07.602Z","1.0.0-beta.23":"2025-04-18T23:32:28.996Z","1.0.0-beta.24":"2025-04-19T00:34:12.807Z","1.0.0-beta.25":"2025-04-22T00:12:21.021Z","1.0.0-beta.26":"2025-04-28T20:14:06.641Z","1.0.0-beta.27":"2025-04-28T20:32:05.533Z","1.0.0-beta.28":"2025-04-28T20:49:02.794Z","1.0.0-beta.29":"2025-06-24T20:51:58.669Z","1.0.0-beta.30":"2025-06-24T22:40:20.915Z"},"license":"MIT","description":"| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                              ","maintainers":[{"name":"chuanqisun","email":"chuanqi.sun.15@gmail.com"}],"readme":"# React Agent Hooks\n\n| Agentic Counter Demo                                                                                                                                        | Agentic Todo Demo                                                                                                                                                    |\n| :---------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-agentic-counter?file=src%2Fmain.jsx) | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/chuanqisun/react-agent-hooks?file=src%2Fmain.jsx) |\n\nTurn React Hooks into LLM Tools\n\n- 🪝 Familiar: same semantics as React hooks\n- 🤝 Symbiotic: human interface and Agent interface derived from the same state.\n- 🛡️ Safe: developer controls the schema for Agentic state change.\n- ➕ Incremental adoption: use as much or as little as you want.\n- 📦 Composable: fully interoperable with classic React hooks.\n- 🔮 Future-ready: forward-compatible with MCP and llms.txt.\n\n**Before**\n\n```jsx\nimport { useCallback, useState } from \"react\";\n\nfunction MyComponent() {\n  const [name, setName] = useState(\"John Doe\");\n  const [age, setAge] = useState(30);\n  const adjust = useCallback((delta) => setAge((prev) => prev + delta), []);\n\n  return (\n    <div>\n      <h1>{name}</h1>\n      <p>{age}</p>\n      <button onClick={() => adjust(-1)}>Be younger</button>\n      <button onClick={() => adjust(1)}>Be older</button>\n    </div>\n  );\n}\n```\n\n**After**\n\n```jsx\nimport { useAgent, useAgentState, useAgentTool } from \"react-agent-hooks\";\n\nexport function MyComponent() {\n  const agent = useAgent({ apiKey: \"******\" });\n  const [name, setName] = useAgentState(\"Name\", \"John Doe\");\n  const [age, setAge] = useAgentState(\"Age\", 30);\n  const adjust = useCallback((delta) => setAge((prev) => prev + delta), []);\n  useAgentTool(\"Change age\", z.number().describe(\"the delta of age change\"), adjust);\n\n  return (\n    <div>\n      <h1>{name}</h1>\n      <p>{age}</p>\n      <button onClick={() => agent.run(\"be younger\")}>Be younger</button>\n      <button onClick={() => agent.run(\"be older\")}>Be older</button>\n    </div>\n  );\n}\n```\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/edit/react-agentic-counter?file=src%2Fmain.jsx)\n\n## Get Started\n\n```sh\nnpm install react-agent-hooks\n```\n\n## Usage\n\n### Give Agent \"Eyes\" 👀\n\n```tsx\nimport { useAgentMemo } from \"react-agent-hooks\";\n\nfunction MyComponent() {\n  const [name, setName] = useState(\"John Doe\");\n  const [age, setAge] = useState(30);\n\n  // Describe a readable state to the Agent\n  useAgentMemo(\"User's profile\", () => ({ name, age }), [name, age]);\n\n  return (\n    <div>\n      <h1>{name}</h1>\n      <p>{age}</p>\n    </div>\n  );\n}\n```\n\n### Give Agent \"Hands\" 👏\n\n```tsx\nimport {z} from \"zod\";\nimport { useAgentState, useAgentTool } from \"react-agent-hooks\";\n\nfunction MyComponent() {\n\n  // Describe a readable state to the Agent while exposing a setter function to developer\n  const [foodPreferences, setFoodPreferences] = useAgentState(\"food preference\", [\"Pizza\", \"Sushi\"]);\n\n  // Wrap the setter as a tool and describe it to the Agent\n  const addFoodPreference = useAgentTool(\"add-food-preference\", z.object(foodItems: z.array(z.string())), (foodItems) => {\n    setFoodPreferences((prev) => [...prev, ...foodItems]);\n  });\n  const removeFoodPreference = useAgentTool(\"remove-food-preference\", z.object(foodItems: z.array(z.string())), (foodItems) => {\n    setFoodPreferences((prev) => prev.filter((item) => !foodItems.includes(item)));\n  });\n\n  return <ul>\n    {foodPreferences.map(item => <li key={item}>{item}</li>)}\n    </ul>\n}\n```\n\n### Run the Agent\n\n```tsx\nimport { useAgent } from \"react-agent-hooks\";\n\nfunction MyApp() {\n  // Run the Agent with a prompt\n  // Agent always sees the latest states from `useAgentState`, `useAgentMemo`, and can uses the latest tools from `useAgentTool`\n  const agent = useAgent({ apiKey: \"******\" });\n\n  // Call the Agent\n  const handleFormSubmit = (e) => {\n    e.preventDefault();\n    const input = e.target.elements[0].value;\n    agent.run(input);\n  };\n\n  return (\n    <form onSubmit={handleFormSubmit}>\n      <input type=\"text\" placeholder=\"Your request\" />\n      <button onClick={handleRunAgent}>Ask Agent</button>\n    </form>\n  );\n}\n```\n\n### Compose Agentic Application\n\nInside a component, use the `enabled` option to dynamically show/hide states and tools to the Agent.\n\n```tsx\nconst shouldShowFeature = true; // You can dynamically decide this value\nuseAgentMemo(\"User's profile\", () => ({ name, age }), [name, age], { enabled: shouldShowFeature });\nuseAgentState(\"some state\", { name: \"Some state\" }, { enabled: shouldShowFeature });\nuseAgentTool(\n  \"update state\",\n  z.object({ name: z.string() }),\n  (newState) => {\n    setSomeState(newState);\n  },\n  { enabled: shouldShowFeature },\n);\n```\n\nIn a component tree, use JSX to dynamically show/hide states and tools to the Agent.\n\n```tsx\nfunction ParentComponent() {\n  // A higher level component can dynamically decide what lower level states/tools are available\n  const = [shouldShowFeature, setShouldShowFeature] = useAgentState(\"toggle feature\", z.boolean(), true);\n\n  useAgentTool(\"toggle feature\", z.object({}), () => setShouldShowFeature(prev) => !prev);\n\n  return <AppRoot>{shouldShowFeatureB ? <ChildComponent /> : null}</AppRoot>;\n}\n\nfunction ChildComponent() {\n  // The state and tool will be available to the Agent only if the child component is rendered\n  useAgentState(\"some state\", { name: \"Some state\" });\n  useAgentTool(\"update state\", z.object({ name: z.string() }), (newState) => {\n    setSomeState(newState);\n  });\n\n  return <div>...</div>;\n}\n```\n\n### Build a custom Agent\n\nAccess currently active states and tools with `useAgentContext` hook. Here is an example of building your own agent\n\n```tsx\nexport function useMyAgent() {\n  const openai = new OpenAI({ dangerouslyAllowBrowser: true, apiKey: \"******\" });\n  const agentContext = useAgentContext();\n\n  const run = async (prompt: string) => {\n    const task = openai.chat.completions.runTools({\n      stream: true,\n      model: \"gpt-4.1\",\n      messages: [\n        {\n          role: \"system\",\n          content: `\nUser is interacting with a web app in the following state:\n\\`\\`\\`yaml\n${agentContext.stringifyStates()}\n\\`\\`\\`\n\nBased on user's instruction or goals, either answer user's question based on app state, or use one of the provided tools to update the state.\nShort verbal answer/confirmation in the end.\n          `.trim(),\n        },\n        {\n          role: \"user\",\n          content: prompt,\n        },\n      ],\n      tools: agentContext.getTools(),\n    });\n\n    return task;\n  };\n\n  return {\n    run,\n  };\n}\n```\n\n### Scale-up with Context\n\nThe `AgentContext` is an optional React Context to help you hierarchically organizing states and tools.\nThis prevents naming collisions and reduces agent confusion from too many similar states and tools.\n\n```tsx\nimport { AgentContext } from \"react-agent-hooks\";\n\nfunction MyApp() {\n  return (\n    <AgentContext name=\"app root\">\n      <AgentContext name=\"nav\">\n        <Nav />\n      </AgentContext>\n      <AgentContext name=\"content\">\n        <header>\n          <AgentContext name=\"header\">\n            <HeaderContent />\n          </AgentContext>\n        </header>\n        <main>\n          <AgentContext name=\"main\">\n            <MainContent />\n          </AgentContext>\n        </main>\n      </AgentContext>\n    </AgentContext>\n  );\n}\n\nfunction HeaderContent() {\n  // The Agent will see this state appear within the \"app root > nav > header\" context\n  const [someState, setSomeState] = useAgentState(\"some state\", { name: \"Some state\" });\n  return <div>...</div>;\n}\n```\n\n## Future Work\n\nRender to MCP Server\n\n```tsx\nimport { renderToMCPServer } from \"react-agent-hooks\";\n\nfunction main() {\n  // Spin up an MCP server at port 3000.\n  // React Agent state -> MCP resource and prompts\n  // React Agent tools -> MCP tools\n  const server = renderToMCPServer(<App />).listen(3000);\n}\n```\n\nRender to llms.txt\n\n```tsx\nimport { renderToLlmsTxt } from \"react-agent-hooks\";\n\nfunction main() {\n  server.get(\"/llms.txt\", (req, res) => {\n    const userContext = req.query.userContext;\n    const llmsTxtContent = renderToLlmsTxt(<App context={userContext} />);\n    res.send(llmsTxtContent);\n  });\n}\n```\n\n## Reference\n\nBlog article: [React (hooks) is All You Need](https://stackdiver.com/posts/react-hooks-is-all-you-need/)\n","readmeFilename":"README.md"}