{"_id":"@adia-ai/agent","_rev":"37-22f5e84a865d8232978e3aa8fe164aec","name":"@adia-ai/agent","dist-tags":{"latest":"0.8.63"},"versions":{"0.8.26":{"name":"@adia-ai/agent","version":"0.8.26","license":"MIT","_id":"@adia-ai/agent@0.8.26","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"d66f27749237c9a15184c3ed9864bbddf7cf23ca","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.26.tgz","fileCount":51,"integrity":"sha512-3d+He6b1/l09mYBlQGYozt7uVq0ks7CVZTtSYlya8EvKjuzUPY16FpOlzlSNHBhuPn3lg8nypKzqKNoyDoYe2g==","signatures":[{"sig":"MEUCIEqwPdkur+jDlL8EGtjoEBR8M0Jo6eDRGo+7eqvn1myzAiEA2E1CLjnLl3eC2yIxanv7fjFvXoI43E78Nvr+j8uRI5Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118531},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"39e21e4b8f3a991e31bd30b5ff866cc03a8a1119","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.26_1785918289617_0.6638925966622053","host":"s3://npm-registry-packages-npm-production"}},"0.8.27":{"name":"@adia-ai/agent","version":"0.8.27","license":"MIT","_id":"@adia-ai/agent@0.8.27","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"96732ff1507f6dc02d8ff75d435bdab688d30c92","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.27.tgz","fileCount":51,"integrity":"sha512-1iaXRRgbB6C8A/IgJ3cmJiySsOUveJorhZQizCF68XlogRH+dQQ9rJhnETsuTfQvo/SjzOem0vD339wT/1OLAQ==","signatures":[{"sig":"MEUCIQCRWVYJV6fY1Ome+4rx1Ob4lAdFuJvlL5hZuKNFuw1YAwIgSZfVq9LW7E4CCKLepfPs+ae1qfuPMw3ssKiTRDM1ct8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118957},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"a1c1c9c857378718d3240d7bc5a52e578ae03417","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.27_1785920005503_0.2667273781586925","host":"s3://npm-registry-packages-npm-production"}},"0.8.28":{"name":"@adia-ai/agent","version":"0.8.28","license":"MIT","_id":"@adia-ai/agent@0.8.28","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"0140e76567a1f49bc62394df70c9fc97144f7888","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.28.tgz","fileCount":51,"integrity":"sha512-ckEpb93q0wNUHmG7wy4qhWs0CVbmw6LxoF+m6mfFtIRgVp4B+GW9JyBTKhM2muUXfG01cPI1d9hBgDojRdbk/A==","signatures":[{"sig":"MEYCIQCpjmy3qSIscYzP5n8HlSm4e1zC6jr4qghqKUI4Dl4UqQIhAI74KDoPF3hLur/1l0EOFo7+tiKV/8htWnIEeH2yeN9c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119305},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"5f94ebc4be41e2cbab2a86af69b634399da6c89a","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.28_1785947245830_0.8922403353834902","host":"s3://npm-registry-packages-npm-production"}},"0.8.29":{"name":"@adia-ai/agent","version":"0.8.29","license":"MIT","_id":"@adia-ai/agent@0.8.29","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"cdf09d1c129070fee2a22cb034de37d248df05f0","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.29.tgz","fileCount":51,"integrity":"sha512-OhTq/l3GNe9emjjb0Z7h47njfkqIK6dYUvtmfUR60fJRo9ovWL+TsrMvE2nx7wSRB53OHTVAKUVRQSILPWmxVw==","signatures":[{"sig":"MEYCIQCYaEeuAyOeH80CoCHWfecQKsn6l1iK50aL56ZycrBf6AIhAKbSNWNcfimjulNAG1G0PuhVqcaPonLfNDP4L0bh2MW1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119797},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"4f22bfeed8a0519975dca30fc3eb1a65c884772a","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.29_1786053055553_0.7724325084904049","host":"s3://npm-registry-packages-npm-production"}},"0.8.30":{"name":"@adia-ai/agent","version":"0.8.30","license":"MIT","_id":"@adia-ai/agent@0.8.30","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"bb67ab3c7c88494e21010d837dbd0b9bbdaea7eb","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.30.tgz","fileCount":67,"integrity":"sha512-69cN8kdqEFeQn2l/PrbF3q1C3jDXVqOg4LoifAnF4J8D5+1vU9Ol3xekFY+rOzzHxfrzRvQytapPWcYIe1JHGQ==","signatures":[{"sig":"MEUCIEczj+9zSkBpS3LNBHeirXXMM60o06j4gtJaCKfiyJKUAiEA8FuNHxiFLtpiyuV4OLIOSEI6D/7AWrNEXdTdwgs189Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":298838},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"3300f335454e0058119b021136a2101d0a88cc39","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.30_1786126101416_0.10067752930297402","host":"s3://npm-registry-packages-npm-production"}},"0.8.31":{"name":"@adia-ai/agent","version":"0.8.31","license":"MIT","_id":"@adia-ai/agent@0.8.31","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"569a44f077b588730e171492edf642b7506534a4","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.31.tgz","fileCount":67,"integrity":"sha512-JuJ4qusxODN+FJQdr3tLT4d0A6wLSDaoEWWzgKlxofLAJ8xJEX+rg9Cm+LHXqK8L21oZ5zx0dqo55UtfRR2MgQ==","signatures":[{"sig":"MEUCIQCG0sBerCf15xCBPplMKnGeGyDny2adVvlvGjSnS5KGCgIgXIpxH9zAya2BlJFyYFfShPnDYTuaOq6CiT5eEhdZYj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":299404},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"f3a5a8d1191d5df8c08b86c907b5b3b6e3a835d3","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.31_1786138524534_0.10399407472529876","host":"s3://npm-registry-packages-npm-production"}},"0.8.32":{"name":"@adia-ai/agent","version":"0.8.32","license":"MIT","_id":"@adia-ai/agent@0.8.32","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"7da08be91995b0dfd32e37734c33471b8529b3c4","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.32.tgz","fileCount":67,"integrity":"sha512-Ox/UaubjylHnmUBXmdoLN5QKGdtCewSMVdI73Ssg3xs4QFDOKD8+n7b2c3YlVDjq9XAeMhcCQ+pZAJwhLM0BDw==","signatures":[{"sig":"MEYCIQC5w1sBd2yPBSrfIoeTQggM4bC5P56RDobK/g2IfZHRXQIhAMVYRuXZlxQTI7FpCOM1wqlQYtJgMFHQgcwPlHdOQDYA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":299962},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"e7e9f81cd2a18562bf0b2fc3f09a2beb18c18f6f","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.32_1786311889580_0.012472392068531235","host":"s3://npm-registry-packages-npm-production"}},"0.8.33":{"name":"@adia-ai/agent","version":"0.8.33","license":"MIT","_id":"@adia-ai/agent@0.8.33","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"8d258b5be87acd4171195db406166d849be4a5c8","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.33.tgz","fileCount":67,"integrity":"sha512-bhjDIQXW9IwMWaEURFFOTr3CNZjsVMU/p/ttuC2MxjQPuxlssrrmnTs7Pzl8ES+Mi863bgy36XP051c371qhjw==","signatures":[{"sig":"MEUCIAizxhk/lx7z9E9xa9yZ0g4GyQ5qDTA1artXoXOf8ACFAiEAzZ2/JlfwE5D7xmMdi3t5v+H12nZLxm81wxbT8ovY04U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":300449},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"2f04aa8bccdb0f83b54959cffa5f50c13fbd2a60","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.33_1786426316127_0.7534453603509044","host":"s3://npm-registry-packages-npm-production"}},"0.8.34":{"name":"@adia-ai/agent","version":"0.8.34","license":"MIT","_id":"@adia-ai/agent@0.8.34","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"9c2a59f8b2d8561097b01461569c093b5e6ceff5","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.34.tgz","fileCount":67,"integrity":"sha512-4GctNRnEkKgNo/tPfQxcqISc3fydtmcEkjXAbD0rqMboB4rcF0Xi/u2w0+ka+DH2vyxWOXtkn1A9fbDK9BHq7A==","signatures":[{"sig":"MEQCID78v54M5pt8ucipa8P6M/DotMzYL4czr4p+LNpnTCNsAiBiu2KHEIQTqvSFk1FAyM8GVRs157rQ81lBgQgNPL5YSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":300894},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"17aa64ff795218ef10ab6ee24d083c6d9287df68","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.34_1786492233538_0.9499742242371747","host":"s3://npm-registry-packages-npm-production"}},"0.8.35":{"name":"@adia-ai/agent","version":"0.8.35","license":"MIT","_id":"@adia-ai/agent@0.8.35","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"4df16314fc5df1cf32d4c6675553b733ca4e97c8","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.35.tgz","fileCount":67,"integrity":"sha512-KCMn07Xzjhx74ExLtNZtvJEGFPKX48xYBu/mJs39HmWlARk7OraG87a+OOnMfu+VkAHJKt0H40SFugyrFWm6/g==","signatures":[{"sig":"MEUCIEZRxsrRT4LG426vkBrXJVE00COZ0ryVjpAEeR9ffnthAiEAmITwRKThcFfJ2mQ9WkUe1MCsgsTOnnzhxkxF6RjlfRI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":301387},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"7e5d77f18ec5167ac1cca9a2fe076d08ec45ba22","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.35_1786592330062_0.2747993940134936","host":"s3://npm-registry-packages-npm-production"}},"0.8.36":{"name":"@adia-ai/agent","version":"0.8.36","license":"MIT","_id":"@adia-ai/agent@0.8.36","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"7b4cea55d3daba285f0d728850f6b6c06c20198e","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.36.tgz","fileCount":67,"integrity":"sha512-ZbgJ3/0v3AT+WewrQTIS1qXprZGdTDZVSmYsvvidppJJDYju1BJ0sNPWhXsHWCHe0DpkiV+w18bqbh2xXMjYEA==","signatures":[{"sig":"MEUCIDT31r8qtf/6FX3Mona/IhekaQfHjtzxwoasMqmLbA1fAiEArPfTpPXZ9kuygKAHongoh5YDjtFJ+dZrxEHHP1ypiUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":301900},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"8bff0dff771d28e544da74dca21a99b115fa46be","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.36_1786604561690_0.031365377068066636","host":"s3://npm-registry-packages-npm-production"}},"0.8.37":{"name":"@adia-ai/agent","version":"0.8.37","license":"MIT","_id":"@adia-ai/agent@0.8.37","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"88f6cc8aceecf8b21b3d7560e15b0c68fb217134","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.37.tgz","fileCount":67,"integrity":"sha512-9WE0ntDdC0pOZN7H4OtcZCHrtBUxJ6povAgOt8MqjHZRsmIYopKKohCkZJIp2VT1GIndffM04gvRaFsZDpTLEg==","signatures":[{"sig":"MEYCIQDuG+5SEzG+YQEirp7H83QlMtTOYX8b9DL4R0RRpS3AvwIhAPVA4bXNMmLoKPGKFTD4B7VXX1Y8NiadFv4+NZV0ScWn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":302320},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"659f9d814b9676f70785867b736840615fe4e0c8","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.37_1786733273968_0.5900191178465617","host":"s3://npm-registry-packages-npm-production"}},"0.8.38":{"name":"@adia-ai/agent","version":"0.8.38","license":"MIT","_id":"@adia-ai/agent@0.8.38","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"6c53e241f0fbf809efa8fa1fe3f0bc3d4f24df3c","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.38.tgz","fileCount":67,"integrity":"sha512-IpfsFovnzgogwScV5yRjlk60N5YONocpQhfKChiX1RfzNR0iwLlzuJj7YfKts1Fcv3Bl8pnRV8JUf77DPvvlyA==","signatures":[{"sig":"MEUCICZGatbTYTL+Ye9aSCOFhCjvo+/0c6o+rki+/e1ySHeSAiEA5rXDxif28nfi+iIYiDkTMHDmMksh39b1aLK05d74R9Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":302826},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"76bdf80f3a8f655768116de65110efc144646130","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.38_1786761340515_0.361135651770774","host":"s3://npm-registry-packages-npm-production"}},"0.8.39":{"name":"@adia-ai/agent","version":"0.8.39","license":"MIT","_id":"@adia-ai/agent@0.8.39","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"20b44cb92612247530366d221fe6a185d1fac207","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.39.tgz","fileCount":67,"integrity":"sha512-KT8nrAJAEbC+3zWI9ZIj70ZgbfHnNEj4F1LH7ZGfjxlfUfZ2LogYYRDgBBhIaLOFjuNKp3iUG0YX2Gqg8EBgFw==","signatures":[{"sig":"MEYCIQD2jqo0YZXPQRNKZPXsDWd6DpvOFWCIRoMHIBTj3e5sFQIhALQKrH/NbGdeGHB9p1+ZU6V7+42aFgpkiDMeT/pqr2eT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":303317},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"2e7dcf4fc387f2cf910b6b6d537b9bb4bc927d7a","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.39_1786776324620_0.7125864321138429","host":"s3://npm-registry-packages-npm-production"}},"0.8.40":{"name":"@adia-ai/agent","version":"0.8.40","license":"MIT","_id":"@adia-ai/agent@0.8.40","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"98db43996f8259d03f2a0235550a3135883534c1","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.40.tgz","fileCount":67,"integrity":"sha512-pGu5nt5TTHBY3SAUQmdc1Rz2oNY2cCbN7Artc0PjNKAGPBOKwIskHVIDce2oJu8rNSzyKqy+yjknA+aJugz9OQ==","signatures":[{"sig":"MEUCIQDY8OuZSw4coimktfoGtrlyHl8GGYIKjBfzdMyVrzwgDAIgUxP/Zieso2l/4ZKs3n4J0QSi198IcTWht6uLKzgzGPM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":303722},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"06f0bf9523f13496acdb646a5601a7da4108b470","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.40_1786807955498_0.8979426681397558","host":"s3://npm-registry-packages-npm-production"}},"0.8.41":{"name":"@adia-ai/agent","version":"0.8.41","license":"MIT","_id":"@adia-ai/agent@0.8.41","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"d0d7653651467e575dd5008551a8496af06b2908","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.41.tgz","fileCount":67,"integrity":"sha512-YLqg6KFHdcDANCRJ+3Ifpw0tEDNe3vxRKuPnwDwwabaHW9R90J8EABUnDeaCs6/nH/WNyTjThOiUBfNIB3LlPQ==","signatures":[{"sig":"MEUCIBWRKDWCtnGftO97CPhN7cgtVvZbVKfshqo9eXrHFuOjAiEAuhvDJrCbRZZ+C2PXFI6JfcA6nVciy0B0hGWFfLv4LFA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":304103},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"ab5b47304b60bdeb8fbca53be259c67a13e55129","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.41_1786987205537_0.4723584878055571","host":"s3://npm-registry-packages-npm-production"}},"0.8.42":{"name":"@adia-ai/agent","version":"0.8.42","license":"MIT","_id":"@adia-ai/agent@0.8.42","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"c447cbea2e01f22a1c9b773003a169e159f318ec","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.42.tgz","fileCount":67,"integrity":"sha512-W3D3LBOG0tV8kFCtS7IggYNykJXRaKbWSo78xUBxYsOp8VTHG7nKYcG9XR/pmViZv82PDxnCIei0aUw2r6S7yQ==","signatures":[{"sig":"MEUCICun+ed1AsOUW3Zcz9OLn3w81UyPFLjcnY4RidAkVdHFAiEAjVqb2Zj2ZqjmwAByHMV1W+rt+broOGHwFi38jpSPGSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":304538},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"10f55832e521606e97b1800133fd540add0f793a","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.42_1787007801726_0.817238990505794","host":"s3://npm-registry-packages-npm-production"}},"0.8.43":{"name":"@adia-ai/agent","version":"0.8.43","license":"MIT","_id":"@adia-ai/agent@0.8.43","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"04d51c65d25412560998bb27f908bf176b4f4c2d","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.43.tgz","fileCount":67,"integrity":"sha512-s6fcLFwgk+sJzcIv3q0sos1CqS7rMYh4/nliao67CF3yaFLaegb2sSt1JIXPb9lwQF6Q+8dDt53/esjFjuCshw==","signatures":[{"sig":"MEQCIAFD3Clo+AIqKw/oP21yI0Ux/Ix8AAIRaY7O03BaZkRAAiBbe2U+bx5e1ExRp3es71HDHB+YKrL7Y1NHfAlrHhqAXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":304940},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"ef58a92c73cef32ddaec18d34078c0b64d0a2d4a","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.43_1787058096289_0.29241824740258693","host":"s3://npm-registry-packages-npm-production"}},"0.8.44":{"name":"@adia-ai/agent","version":"0.8.44","license":"MIT","_id":"@adia-ai/agent@0.8.44","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"a52408c5d4415af25191e15fce090d7341683773","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.44.tgz","fileCount":67,"integrity":"sha512-6OF/h4NGBjPJYoQbN7jaDiRAgFLX+YL7JK5s7Egjj22QraStfY97CEVSjuVYLjA43R5oQPPzf/OY/Q/kjOMrqA==","signatures":[{"sig":"MEUCIAHIPuzKV943//gk0rhi6OTMh0uA+lhvsWmp+9GAUCvnAiEArSRO4E0JIfp3nMp+VQX18cy3WG1WkxCuXhJqIGSBpnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305360},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"39cc22cfde97b34dc89a516372879023d71f3f70","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.44_1787200924668_0.17234336525302907","host":"s3://npm-registry-packages-npm-production"}},"0.8.45":{"name":"@adia-ai/agent","version":"0.8.45","license":"MIT","_id":"@adia-ai/agent@0.8.45","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"1cd92c249ba24c29c6c402e5b42bea6bc138cbd4","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.45.tgz","fileCount":67,"integrity":"sha512-pTkMHNsY28rmb7YrFu+zH55CzmtoTvc92FtgrCxKIk4RoTLuSjeHSWQM2wZJb+CBt2I9NveaXb7GtBMvrPBZwA==","signatures":[{"sig":"MEQCIFTZ6FLw4fUkDqxfhq4eakdhvGKeheLO3ZgbtdAVG8VpAiBfhCbOK4m7NARpzxV7ld5fwluPOgP4qbumHWmoCqbVhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305813},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"173e8b9b4e538e3055fbbca84c9887dcc38fccbd","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.45_1787266543762_0.43815964871973967","host":"s3://npm-registry-packages-npm-production"}},"0.8.46":{"name":"@adia-ai/agent","version":"0.8.46","license":"MIT","_id":"@adia-ai/agent@0.8.46","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"de20abf9c33ae4ce146b204b365472a6c2d356cd","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.46.tgz","fileCount":67,"integrity":"sha512-vv9l8a95/9uzBMR3FBxpURRPddVlRvsMubi4BdPCbfbaoMCZa7r8f3nCi3W2biulc9NwXERqxhhXshrgvFbCOg==","signatures":[{"sig":"MEYCIQCRR2nxFGSypKnWi2KmySGTpztEZzFoxKWWKpf+0zD9fgIhAPqGKQ3rnKDBicaR95ENOH/btZr4Mcqm9LlYA8Hb9v+m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":306302},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"466b2a32e06097b72d20e79516e0381c6621da3f","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.46_1787365852436_0.30269394510584036","host":"s3://npm-registry-packages-npm-production"}},"0.8.47":{"name":"@adia-ai/agent","version":"0.8.47","license":"MIT","_id":"@adia-ai/agent@0.8.47","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"8fd75520ef271b1b5c30d4424b90aa6997e83eac","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.47.tgz","fileCount":67,"integrity":"sha512-Q2Ys/5oafY0B9kSgYv/lC22a6mkjldWAhGznNF7ugsTHyxWvLK4/HFHijL1hokF8TuBHZ/xfJD1ZqDm2GPxhQQ==","signatures":[{"sig":"MEQCIHa/BQQAv1x6ZYMwi3AHn1k+NF4Is1oBnXqDxZCgKrevAiA2HGn5QExFgP8MVE1isXIcTdJFxYs12HNo56SJa1i2Sw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":306753},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"61f490b4c536bd0a9b9299b25c5ecc83f3448fe1","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.47_1787426444411_0.06997298599081803","host":"s3://npm-registry-packages-npm-production"}},"0.8.48":{"name":"@adia-ai/agent","version":"0.8.48","license":"MIT","_id":"@adia-ai/agent@0.8.48","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"e4559916987a59f0f26afdacea569791ce327689","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.48.tgz","fileCount":67,"integrity":"sha512-ZpmyTE8qXn9P39EH6WqfSR84cgY0PoiBfsZAHFpVotja/YsKgap8Rn7StetboDu+umnbM8lel5IH2A2j+qpNxQ==","signatures":[{"sig":"MEUCIF/mFGEJjx9mmKGwrZOxRnSY+ARf5g+YQd9gqo7E8qwfAiEAmM5a8cBS2ioDOLIgwSn/ZADnGaXe9MIynEq/nFinQh4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307212},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"a0c9df0fe84aadb2c6c0761faeb127c690cc41fc","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.48_1787508729937_0.8314153159886164","host":"s3://npm-registry-packages-npm-production"}},"0.8.50":{"name":"@adia-ai/agent","version":"0.8.50","license":"MIT","_id":"@adia-ai/agent@0.8.50","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"fdb52fc34ef248d90ee9559b29ede0d419bcfff8","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.50.tgz","fileCount":67,"integrity":"sha512-+b9EvNx5LL8ZMSEU+DiNoK7/GC6/RyKH4Q/C5iSQb236yobkHq7JfUQOGo50QJujo/93/6N1STkLpg5ZDfXRHg==","signatures":[{"sig":"MEQCIHbziobH53LuzVtQ4kANGjm1lQwQxiiQaqDFqCUa00MxAiBF2bVbsBD/BdHYc/HfoawXItmIAgHGB9ohZo59rvx46w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307708},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"2c5aaaae84000d19d5b94cde6db8f353d71fd7b7","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.50_1787546689445_0.5693469008196417","host":"s3://npm-registry-packages-npm-production"}},"0.8.51":{"name":"@adia-ai/agent","version":"0.8.51","license":"MIT","_id":"@adia-ai/agent@0.8.51","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"e9d5396fbcdaca3e470e5edd62944898b102c00c","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.51.tgz","fileCount":67,"integrity":"sha512-DemGOPQXsjJ2qm9ZFT/MOCEPf714o9ZYzuGU6JzNEryDp/VejbSa0yuQEF5PUC6YKj1Pstk+7Kk/z+Rwo9Bn1A==","signatures":[{"sig":"MEYCIQCx3+C4tCB+gA9mNisEpnGAJ7YSnaI28BX76sVNsW+NnwIhANe6qOF/YVGUA1fPUj4+SbNhowv3oVbEUYxCf6nbgEel","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":308105},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"6886ffa8ba3324014b6fbc4d88cd503b7b63f4b9","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.51_1787616339062_0.6942958923960838","host":"s3://npm-registry-packages-npm-production"}},"0.8.52":{"name":"@adia-ai/agent","version":"0.8.52","license":"MIT","_id":"@adia-ai/agent@0.8.52","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"005d5e0861d988686729ead2f167fe911701e29c","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.52.tgz","fileCount":67,"integrity":"sha512-0Yemk2MCY0wRjNHHd608I5nTwlgdqgq7DKsBzi9N9YK8vt7i+QDV8tNMV0spG78tA+nXFcdh0sLVhG6BVWJafw==","signatures":[{"sig":"MEUCIQCerSDbnGH8YEBylEYJpSJJNb1Foc2g6Ids1eL7A+igKwIgCpdHBOOvKhZjRcNxn8iA8iNIXV7bHS1TApQm+WqPqyw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":308529},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"7f54d2a7e69a9fca8d6ae1386d16d3d99850cb8e","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.52_1787681219131_0.2889823360232018","host":"s3://npm-registry-packages-npm-production"}},"0.8.53":{"name":"@adia-ai/agent","version":"0.8.53","license":"MIT","_id":"@adia-ai/agent@0.8.53","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"63a2cfaa441c7ac27169df0ca393f9b84422d55b","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.53.tgz","fileCount":67,"integrity":"sha512-epes4d7iHAghTiXz0oS+NHLb5lNwzZq0DkRIwqxqiC2f19c+JvQJ8wuFxiVYvGWOkOzNAvJmkSzsx4a3EuqtlA==","signatures":[{"sig":"MEQCIFipjo/QOwhS0dnKXow8sgpeTSoXy/MbqWkig7MDUb7VAiAFk8pXroUigJ1ZBp031+Dhsda0zjtTIMJCfqdGwynkYw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":309137},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"d64fe13c180a1ccc340598de5c97ba1eb638490a","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.53_1787730070698_0.28188835236345056","host":"s3://npm-registry-packages-npm-production"}},"0.8.54":{"name":"@adia-ai/agent","version":"0.8.54","license":"MIT","_id":"@adia-ai/agent@0.8.54","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"26418b38e04bf0578e8eb5eaa095c9f8cd7fe34e","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.54.tgz","fileCount":67,"integrity":"sha512-myB4MBLIP+mIr4ylvQlYIEly7UYAQwI3m3iKri2N+SYSEbz62c1AvDKxLwCm1iORXxvECErl1ZsteRhjgpLaFQ==","signatures":[{"sig":"MEUCIGsk6Mqf+cEIhutyMT2mR7oQkI7d/s3HKvJaUlH8IDwYAiEAyR8a3BJqEm6sE5IWzyXnuzVtyXubv0QkWzG4glzBrrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":309551},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"79e3d1da477452f890bb188f800266afbe0aee72","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.54_1787840184456_0.31494164203383734","host":"s3://npm-registry-packages-npm-production"}},"0.8.55":{"name":"@adia-ai/agent","version":"0.8.55","license":"MIT","_id":"@adia-ai/agent@0.8.55","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"98601da398e737b22d2d83b1879b353298d1014e","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.55.tgz","fileCount":67,"integrity":"sha512-1/nM4OJc6ZuHOiC7h4ni67EBNwm6e/4aIbgiaUR12U2ext0x0EW/MeVQ4g8BV/cSDl3nIDl+JOlURuUIs+05Pg==","signatures":[{"sig":"MEYCIQCD0HEsuGLYj7A22kAN1cDIMyxT9YfphL6MjkAKbiu9UwIhAN+kDdF7rRc7n/rzRmyvzdXC1CC+/jnBSMIN0WBTlRJx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":309929},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"c50809d1711561aecf5a3294c40cb434a4e0b7ef","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.55_1787906208308_0.9143089546846002","host":"s3://npm-registry-packages-npm-production"}},"0.8.56":{"name":"@adia-ai/agent","version":"0.8.56","license":"MIT","_id":"@adia-ai/agent@0.8.56","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"9f37d16e7e0ade65e6b5c9b83d4bd958b7ec3733","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.56.tgz","fileCount":67,"integrity":"sha512-t9PX2eo8ozQV09BzyNtafE9d8Qrpxy2ATMqfIcZ9wynAB0llsGCuzXmAcSdZdXnUtWRhpLnOGZukXMSSBc6BBQ==","signatures":[{"sig":"MEQCIF2ZXM3G8eZawnc/kfApNDHZaSkLehCkMIbyHb/OPTIcAiBds3u6XN1sr5oY4WZjrAk5L71V0hPvr5MOXaCubf8Idg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":310591},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"21ea640bf50e52408ee518cd011ce29475e6c14f","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.56_1788221641547_0.5643810546828372","host":"s3://npm-registry-packages-npm-production"}},"0.8.57":{"name":"@adia-ai/agent","version":"0.8.57","license":"MIT","_id":"@adia-ai/agent@0.8.57","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"19e40d894e780c146ba8a8342be782d324c16126","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.57.tgz","fileCount":67,"integrity":"sha512-NLC8b2n1Bw2QN3bg8Y3d7swHysAoGyrMXx9/xWBSkSyDWfCdUfXD4S/tMPJLBJp1DmJkKkSr3p44ht21oClL8g==","signatures":[{"sig":"MEUCIQDrKNxOaHzH9+v+UC2CEzthdYda40/bDS4DSkqMlKfD3QIgbiIi6pAIP5/KvMTQhTR+FsjMdnRLwMk3bQrAQXAjiK0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":311031},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"676f8695af1be682e69e119dee3364f6296d4ef1","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.57_1788258363129_0.945058490727902","host":"s3://npm-registry-packages-npm-production"}},"0.8.58":{"name":"@adia-ai/agent","version":"0.8.58","license":"MIT","_id":"@adia-ai/agent@0.8.58","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"251fd3bd9096276b1a0f43b479c3e73d128c573f","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.58.tgz","fileCount":67,"integrity":"sha512-u3wBIuDhruC/WihNwpRwjYp+jSVWczIKeF28dKfNdjocJr9v+EvooPffavDuR88Pyrxb6ypXgpgBMkH1r2LHSQ==","signatures":[{"sig":"MEUCIQCUY0Y05nk812S2+PGZE3MBM11sNEqGLK7YBQFAh+xf+AIgOun0BrLxos7Dg3FPH4Ahi35TAyI8Lfaf19z5Le7Hc7I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":311452},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"0cd9728e75c649cbbd11b701fffe49d4a138d96f","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.58_1788369012223_0.7397934390932435","host":"s3://npm-registry-packages-npm-production"}},"0.8.59":{"name":"@adia-ai/agent","version":"0.8.59","license":"MIT","_id":"@adia-ai/agent@0.8.59","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"f0ccff7ce4f2662e5d85220b0ffa8da746e6dcf4","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.59.tgz","fileCount":67,"integrity":"sha512-vlJxboaF00WvOFWEyVWCq44pH41k7oMNrSUWlerjRJ3yCto2lzATW4701Ce+TtjxbTfDSf8Uas2hicdhWy3YrQ==","signatures":[{"sig":"MEQCIFnaQLl7dRhCX2a3SPo123t4nI/79BCY69wObZjDplCYAiBwdAcEfPnp7YTNf8fthCfiEftWpe/QL/ZB8qx54AJkLg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD70uI+oHJqRKjn2BBSFrIhUYK6r76XDj4p5Fvy7zSwaQIgLnlLUA98Cvc4lvqsUyf6MxPMq72rOlz2IoTTM/er0KQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":311938},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"70fc86bb14fdad8abadd0fe60e15ed8a2def8b0c","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.59_1788538794968_0.7337377030204515","host":"s3://npm-registry-packages-npm-production"}},"0.8.60":{"name":"@adia-ai/agent","version":"0.8.60","license":"MIT","_id":"@adia-ai/agent@0.8.60","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"f5f477103cf74dd4ac3df385af38bc1f03a4da69","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.60.tgz","fileCount":67,"integrity":"sha512-lAFsKww5yA9k9NFHjgM65+X/i54479Nv3zBQIOQRaFlhobBXPWT+ORqvhgU7nbLqAbg6wbXas5DBA+Qk/inMBg==","signatures":[{"sig":"MEUCIE8yfYlVgMB3qv+MJ76kV4E8tXCs4gtGDg+hYrX3peuEAiEA1ysugmtCtyCA3O9u+duLLC94+2sGUxcNor0apGl2sk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAfNwHYqd68EgJuGKESOpWNIKc8eUyCDFLaw9XPvXpm8AiByyZIZWRQRTbLsZ7vy2PcmsbeLfCVd+UgRsNf4lVa8mQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":312418},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"a579180ece80f6ead0e3953226bb272779a1bcef","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.60_1788724755831_0.7761454263225969","host":"s3://npm-registry-packages-npm-production"}},"0.8.61":{"name":"@adia-ai/agent","version":"0.8.61","license":"MIT","_id":"@adia-ai/agent@0.8.61","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"2ee75257631a78aa8d1d542530f01a295048df0e","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.61.tgz","fileCount":67,"integrity":"sha512-vLLEHJwvs9LojbqHaSgoZGOpy2QdXiCkHcD0/BD5gOljWfUbmzIuJbx7x5l+Y1CAvcJaHCNdB/HjUsEgfBA3+w==","signatures":[{"sig":"MEUCIQDNiVNcTp/bV9fcLY8H8TmB8ExbXpa05sCvLMqZvU2DkAIgEsbXFc++7BFyXgHMbjrn3Yd2vOLgZhCYgLhMiZo9eEQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEsCDCJXwscjv9OhrMhP0oo+lUxEyOyqGZQYJV9gHly8AiByyG5Pq3kzcBXunjHYsXAAjLBzoMc0x4hvzkj3zpv/2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":312915},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"7567156a6dc9fa03d9a8e48d04343e7cda654ee4","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.61_1789085906837_0.047508214944111504","host":"s3://npm-registry-packages-npm-production"}},"0.8.62":{"name":"@adia-ai/agent","version":"0.8.62","license":"MIT","_id":"@adia-ai/agent@0.8.62","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"6315ffe5c469035650c388425003fc6985282893","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.62.tgz","fileCount":67,"integrity":"sha512-2ZcP2prjH+gKZ6mmIlz4JUynkJMvw5Jzx8lSDrhJCY0N0XMOg18ykIqKCYhKA8Vwtr8wpOps+9jfjJlUd5r1WA==","signatures":[{"sig":"MEYCIQCNjaHvKVR3MAoaFVafBbTtB/qXeDz4HfIERYgX6OTosgIhAJggqiJunUhDwljpiJ47kmWluBTt6ynLjNOy12XhzZUu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCLzX8J0JENQVdpDsP8DmJ4Ockt1mvk0NpsXkVyOnFCfQIgVnCl0F6jHWESgz1m/+e/dFpHRqqzE/GkBMi+VHZFM6Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":313366},"type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"940109cacf6b439a565b83e3058e4deb40a12fce","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent_0.8.62_1789103057378_0.46183185248528336","host":"s3://npm-registry-packages-npm-production"}},"0.8.63":{"_id":"@adia-ai/agent@0.8.63","bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"dist":{"shasum":"df2cc4d08dd7f8a8aaccac1d8f74f2df3db863d7","tarball":"https://registry.npmjs.org/@adia-ai/agent/-/agent-0.8.63.tgz","fileCount":67,"integrity":"sha512-733mAe3OjlunOE9J/4Z+o6kYVWFg1cux9Lpgfs/6GYFoXeEk6/PEnwDVq0yG3vwM100qrVU2QUG4o40nNLeiNA==","signatures":[{"sig":"MEYCIQC3djaABra3tRVQjcDHi/G0ZcFGKLxTrpjQPJ35vfMBigIhALpTefRGq53mBgfbix0qeBsO3i7WqZkm3EUYBL63CkdY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDPc5Uaqr7UikGuM8Z0l+yw4WJ5/085DxTh11/aVdCkQAIgF3w8YEwNK0HLilmxfQcBxE6+IvjGshhTRuZ1as47Okg="}],"unpackedSize":313983},"name":"@adia-ai/agent","type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"9191ba6a12c9f3c763ffb73d03e7c5fe6574aa5e","license":"MIT","scripts":{"build":"tsc --build tsconfig.build.json","prepublishOnly":"npm run build"},"version":"0.8.63","_npmUser":{"name":"kimgish-adia","email":"kim.granlund@adia.ai"},"homepage":"https://github.com/adiahealth/gen-ui-kit#readme","repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"_npmVersion":"10.9.8","description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","directories":{},"maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@adia-ai/llm":"^0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent_0.8.63_1789268684853_0.6618795968488069"}}},"time":{"created":"2026-08-05T08:24:49.407Z","modified":"2026-09-13T03:04:45.202Z","0.8.26":"2026-08-05T08:24:49.796Z","0.8.27":"2026-08-05T08:53:25.645Z","0.8.28":"2026-08-05T16:27:25.962Z","0.8.29":"2026-08-06T21:50:55.731Z","0.8.30":"2026-08-07T18:08:21.573Z","0.8.31":"2026-08-07T21:35:24.705Z","0.8.32":"2026-08-09T21:44:49.730Z","0.8.33":"2026-08-11T05:31:56.316Z","0.8.34":"2026-08-11T23:50:33.688Z","0.8.35":"2026-08-13T03:38:50.217Z","0.8.36":"2026-08-13T07:02:41.833Z","0.8.37":"2026-08-14T18:47:54.130Z","0.8.38":"2026-08-15T02:35:40.711Z","0.8.39":"2026-08-15T06:45:24.803Z","0.8.40":"2026-08-15T15:32:35.644Z","0.8.41":"2026-08-17T17:20:05.741Z","0.8.42":"2026-08-17T23:03:21.861Z","0.8.43":"2026-08-18T13:01:36.432Z","0.8.44":"2026-08-20T04:42:04.814Z","0.8.45":"2026-08-20T22:55:43.969Z","0.8.46":"2026-08-22T02:30:52.601Z","0.8.47":"2026-08-22T19:20:44.582Z","0.8.48":"2026-08-23T18:12:10.098Z","0.8.50":"2026-08-24T04:44:49.651Z","0.8.51":"2026-08-25T00:05:39.209Z","0.8.52":"2026-08-25T18:06:59.343Z","0.8.53":"2026-08-26T07:41:10.863Z","0.8.54":"2026-08-27T14:16:24.603Z","0.8.55":"2026-08-28T08:36:48.447Z","0.8.56":"2026-09-01T00:14:01.735Z","0.8.57":"2026-09-01T10:26:03.307Z","0.8.58":"2026-09-02T17:10:12.391Z","0.8.59":"2026-09-04T16:19:55.050Z","0.8.60":"2026-09-06T19:59:15.941Z","0.8.61":"2026-09-11T00:18:26.945Z","0.8.62":"2026-09-11T05:04:17.522Z","0.8.63":"2026-09-13T03:04:44.953Z"},"bugs":{"url":"https://github.com/adiahealth/gen-ui-kit/issues"},"license":"MIT","homepage":"https://github.com/adiahealth/gen-ui-kit#readme","repository":{"url":"git+https://github.com/adiahealth/gen-ui-kit.git","type":"git","directory":"packages/llm/agent"},"description":"Composable chat-agent harness — assemble an agent from four declared parts (prompt layers, tools, workflows, resources) on top of @adia-ai/llm. Owns the tool-call loop, the session model, and the one shared event reducer. Works in browser and Node.","maintainers":[{"name":"kimgish-adia","email":"kim.granlund@adia.ai"}],"readme":"# `@adia-ai/agent`\n\nComposable chat-agent harness. Assemble an agent from four declared parts —\n**prompt layers**, **tools**, **workflows**, **resources** — on top of\n[`@adia-ai/llm`](../core/README.md). The package owns the tool-call loop, the\nserializable `Session`, and the one shared event reducer; it renders nothing\n(pair it with `web-modules/chat` or any UI).\n\nThe contracts are validated by a real consumer: the A2UI generation pipeline\nruns on them ([gh#664](https://github.com/adiahealth/gen-ui-kit/issues/664))\n— its engine escalation ladder is a workflow\n(`packages/gen-ui/a2ui/compose/strategies/cascade.js`), its corpus reads are\ntool-mode resources, and its refiner is a defined tool. What that migration\ncould not express became this package's hardening pass\n([gh#665](https://github.com/adiahealth/gen-ui-kit/issues/665)): workflow\nverdicts, exit gates, same-step retry, a services channel, guardrails,\ntracing, session memory, and partial tool-input deltas.\n\nDeferred, with reason: **`@genui/adia-producer`'s bridge keeps its own loop.**\nThe retry seam covers per-tier round budgets, but the bridge also owns a\nturn-wide `maxProviderCallsPerTurn` budget spanning steps, a genui `TurnTrace`,\nand `OrchestrationExhaustedError` semantics that come from `@genui/producer`\n— none of which this package models, and modelling them here would import\nanother package's orchestration vocabulary into a general harness.\n\n## Install\n\n```bash\nnpm install @adia-ai/agent\n```\n\n## Usage\n\n```js\nimport {\n  createAgent, promptLayer, defineTool, defineWorkflow,\n  defineResource, reduce,\n} from '@adia-ai/agent';\n\nconst agent = createAgent({\n  llm: { model: 'claude-sonnet-4-6', proxyUrl: '/api/chat' },\n  prompt: [\n    promptLayer('identity', 'You are the AdiaUI copilot.', { cache: true }),\n    promptLayer('context', () => new Date().toISOString()),   // per-turn, never cached\n  ],\n  tools: [\n    defineTool({\n      name: 'search_patients',\n      description: 'Find a patient by name or MRN',\n      inputSchema: { type: 'object', properties: { q: { type: 'string' } }, required: ['q'] },\n      execute: async ({ q }) => lookup(q),                    // or endpoint: { url, method }\n    }),\n  ],\n  workflows: [\n    defineWorkflow('generate', [\n      { name: 'zettel',     run: zettel,     until: r => r.strategy === 'composition-match' },\n      { name: 'free-form',  run: freeForm,   until: async r => r.ok && await passesGate(r) },\n      { name: 'monolithic', run: monolithic },                // terminal — always accepted\n    ]),\n  ],\n  resources: [\n    defineResource({ name: 'visit-summary', mode: 'attach', get: fetchSummary }), // app-controlled\n    defineResource({                                                              // model-controlled\n      name: 'care-plan', mode: 'tool',\n      inputSchema: { type: 'object', properties: { section: { type: 'string' } } },\n      get: ({ section }) => readPlan(section),   // non-string returns are JSON-serialized\n    }),\n  ],\n  maxToolRounds: 8,\n});\n\nlet session = agent.createSession();            // plain JSON-safe object — you own persistence\nfor await (const event of agent.send(session, 'weather in Oslo?')) {\n  session = reduce(session, event);             // the one reducer — the single session writer\n  render(event);                                // text | thinking | tool_use | tool_result | done | error\n}\nawait agent.run(session, 'generate', { intent });\n```\n\n## The four parts\n\n| Part | Declared with | What the harness does |\n|---|---|---|\n| Prompt | `promptLayer(name, text, {cache})` | Static layers first, `cache_control` on the last cached one (Anthropic block array; joined string elsewhere) |\n| Tools | `defineTool({name, inputSchema, execute\\|endpoint})` | JSON-schema check at the call boundary, then the execute-and-feed-back loop (bounded by `maxToolRounds`) |\n| Workflows | `defineWorkflow(name, steps, {exitGate})` | Sequential cascade — `until` accepts, absent `until` is terminal, `when` skips, `retry` re-runs the same step |\n| Resources | `defineResource({name, mode, inputSchema, get})` | `attach` → dynamic prompt layer each turn; `tool` → a read-only `read_<name>` tool taking `inputSchema`'s arguments |\n\n**The attach envelope contains what it wraps.** An attach-mode resource\ninlines somebody else's bytes into the system prompt, so a body containing\n`</resource>` would otherwise close its own envelope and everything after it\nwould read as prompt — a file, a database row, or an MCP server could write\ninstructions into the system prompt that way. `attachLayers` escapes the two\nstructural sequences (`<resource` and `</resource`) in the body and the\nattribute specials in `name` / `description`. Only those: attached bodies here\nare catalog JSON, component markup and docs, and mangling every `<` in them to\nclose one hole would degrade the data the model reads on every turn for a\ncontainment property those two sequences already give. Everything else arrives\nbyte-for-byte. This applies to every attach resource, hand-declared or MCP.\n\nA resource's `get` receives `(input, ctx)` — `ctx.signal` is the turn's\ncancellation. Existing one-argument `get`s are unaffected.\n\nThree cross-cutting layers ride on top: **guardrails** (veto/rewrite),\n**tracing** (structured records of what the harness did), and **session\nmemory** (a JSON-safe slot on the Session). Tools and resources may also\narrive from **an MCP server** instead of being hand-declared — see\n[MCP-client mode](#mcp-client-mode).\n\n### Workflows in detail\n\n`until` and `when` may both be async, and `until` also receives the context\n(`until(result, ctx)`) — the acceptance gate for a generated artifact\nusually has to read something. The result carries the whole run:\n\n```js\nconst { result, step, accepted, attempts } = await agent.run(session, 'generate', { intent });\n// attempts: [{ step:'zettel', accepted:false, reason:'no-emission', round:1, result:… },\n//            { step:'free-form', accepted:true, round:1, result:… }]\n```\n\n`attempts` lists every step round that RAN (a `when`-skipped step doesn't\nappear), in order, with its verdict — that list is the escalation trace a UI\nrenders. `accepted` is false only when the last step also rejected; give the\nladder a terminal step (no `until`) if you want a guaranteed answer.\n\n**Verdicts.** `until` may return a verdict object —\n`{ accepted, reason, detail, data }` — or **any other value, read for its\ntruthiness**, which is what a pre-verdict predicate (`r => r.messages.length`)\nalready did. Only an object with a boolean `accepted` is treated as a verdict.\nThe reason lands on the attempt, so a consumer renders why the ladder climbed\ninstead of recomputing it:\n\n```js\nuntil: (r) => r.messages.length\n  ? { accepted: true }\n  : { accepted: false, reason: 'no-emission', detail: 'engine emitted nothing' },\n```\n\n**Exit gate.** The check every step's result must pass is declared once on\nthe workflow instead of restated in every `until`:\n\n```js\ndefineWorkflow('generate', steps, {\n  exitGate: async (result, ctx) => await validatesAgainstCatalog(result, ctx.input),\n});\n```\n\nIt runs after a step's own `until` accepted, and a rejection falls the ladder\nthrough exactly like an `until` rejection (the attempt carries\n`gateRejected: true` and `reason: 'gate-rejected'`). A **terminal step — one\nwith no `until` — is not exit-gated**: the floor of a ladder is the answer of\nlast resort. Give the last step `until: () => true` if you want it gated too.\n\n**Same-step retry.** A step may retry against its own rejection before\nfalling through:\n\n```js\n{ name: 'repair', retry: { maxRounds: 3 },\n  run: (ctx) => generate(ctx.input, ctx.feedback),   // ctx.round is 1-based\n  until: (r) => r.valid ? { accepted: true } : { accepted: false, reason: 'invalid', data: r.errors } }\n```\n\n`ctx.feedback` is the previous round's verdict; each round is its own entry\nin `attempts`. `maxRounds` counts total runs (2 = one retry). A workflow\n**exit-gate** rejection consumes a round exactly like an `until` rejection,\nand reaches the next round as `ctx.feedback` carrying `gateRejected: true` —\nso a repair round can tell the gate's objection from the step's own.\n\n**Services.** `ctx.input` is what the run is ABOUT; `ctx.services` is what it\nmay USE. Declare them on the agent, per run, or both (per-run wins):\n\n```js\ncreateAgent({ …, services: { llmAdapter, store } });\nawait agent.run(session, 'generate', { intent }, { services: { llmAdapter: turnAdapter } });\n```\n\nServices used to ride `input`, and still may — nothing breaks — but a new\nconsumer should keep `input` the subject and put dependencies here.\n\n## Events\n\n`agent.send()` yields the `AgentEvent` union; `reduce(session, event)` folds it.\nEvery failure inside a tool call becomes an `isError` `tool_result` the model\ncan react to — the loop throws for nothing tool-shaped.\n\n```\n{ type:'message', role:'user', text }\n{ type:'text', text, snapshot } · { type:'thinking', text }\n{ type:'tool_input_delta', id, name, partial, snapshot }\n{ type:'tool_use', id, name, input } · { type:'tool_result', id, name, output, isError? }\n{ type:'step', workflow, step, data? }\n{ type:'progress', stage } · { type:'surface', surfaceId, line }\n{ type:'guardrail', name, target, action, reason?, toolName?, toolUseId? }\n{ type:'trace', record } · { type:'memory', patch }\n{ type:'done', text, usage, stopReason } · { type:'error', error }\n```\n\n`stopReason` passes through raw from the provider; the loop adds exactly two\nsynthetic values — `max_tool_rounds` when the bound is hit, and\n`guardrail_denied` when an output guardrail vetoed the turn.\n\n`thinking` / `step` / `error` / `progress` / `surface` / `tool_input_delta` /\n`guardrail` / `trace` are render-only — `reduce()` folds them into no session\nchange. `memory` is the one new event that DOES change the session.\n\n### Partial tool input\n\nWhile a provider streams a tool call's arguments, each fragment surfaces as\n`tool_input_delta` (Anthropic `input_json_delta`, OpenAI partial argument\nstrings; Gemini streams complete calls and emits none). `snapshot` is the raw\nJSON so far — **incomplete and unparseable until the matching `tool_use`\narrives**. Render progress from it; execute only on `tool_use`.\n\n### Progress events (CHAT-HARNESS law 3)\n\n`progress` carries a CLOSED, code-owned `stage`: one of `PROGRESS_STAGES`\n(`'sent' | 'started' | 'reasoning' | 'content' | 'validating' | 'retry' |\n'tool' | 'done'`), exported alongside the `isProgressStage()` guard so any\nreader — a deserialized wire message, a stored transcript — can drop an\nout-of-vocabulary value instead of rendering it. **Never render `stage` as\nlabel text directly**; a UI's label table is code-owned and keyed on these\nstrings, never on model output (the honesty guard).\n\nThe loop today emits only the stages it genuinely reaches — `sent` before\nevery provider call, `retry` before a call that repeats a round after tool\nfeedback, `tool` before each tool executes, `done` right before the\nterminal `done` event. `started` / `reasoning` / `content` / `validating`\nare declared in the vocabulary for future producers (the L1 loop doesn't\nindependently observe those signals today, so it doesn't invent an\nemission point for them).\n\n### Surface events\n\n`{ type:'surface', surfaceId, line }` carries one generative-UI wire line\nfor an envelope-keyed surface. This package only carries the event kind on\nthe union — turning it into a rendered surface is L3's job\n(`web-modules/chat`, WCH-4), never this package's.\n\n### Framed client-message turns (CHAT-HARNESS law 6)\n\nA surface action, a function/tool result, or a validation rejection\nre-enters the agent as a *turn* — never a raw data blob — through one\nframing function:\n\n```js\nimport { frameClientMessage, shouldRunTurn } from '@adia-ai/agent';\n\nconst msg = { kind: 'surfaceAction', surfaceId: 'sf_1', action: 'submit', context: { formId: 'f1' } };\nif (shouldRunTurn(msg)) {\n  for await (const event of agent.sendClientMessage(session, msg)) { /* … */ }\n}\n```\n\n`ClientMessage` arms and their framed wording:\n\n| Kind | Framed turn |\n|---|---|\n| `surfaceAction` | `The user triggered the ${action} action on surface ${surfaceId} with context ${JSON(context)}.` |\n| `functionResult` | `The function ${call} returned: ${JSON(value)}.` |\n| `validationRejection` | `The previous surface was rejected (${code}): ${message}. Emit a corrected surface.` |\n| `dataModelUpdate`, `ack` | silent-apply — `shouldRunTurn` returns `false`; `frameClientMessage` **throws** if called on one directly |\n\n`agent.sendClientMessage(session, msg, opts?)` is the wired entry: it gates\nwith `shouldRunTurn`, frames with `frameClientMessage`, then runs the same\nloop as `agent.send()`. A silent-apply message yields nothing and never\ntouches the provider — the caller already applied it directly (e.g. to a\nsurface's data-model store).\n\n## MCP-client mode\n\nPoint the agent at an [MCP](https://modelcontextprotocol.io) server and its\ntools and resources join the declared ones. Nothing downstream knows the\ndifference: the calls go through the guardrail chain, the tracer records the\nexecutions, `checkInput` runs at the boundary, a failure comes back as an\n`isError` tool_result. MCP is a *source* of tools, not a second kind of tool.\n\n```js\nimport { createAgent, mcpServer } from '@adia-ai/agent';\n\nconst agent = createAgent({\n  llm: { model: 'claude-sonnet-4-6', proxyUrl: '/api/chat' },\n  integrations: [\n    mcpServer({\n      url: 'https://mcp.example.com/mcp',\n      headers: { authorization: `Bearer ${token}` },  // v1 auth: headers only\n      prefix: 'wiki_',            // namespace its tool names\n      tools: ['search', 'fetch'], // allowlist; absent = everything it lists\n      maxTools: 24,               // loud cap, default MAX_INTEGRATIONS (16)\n      attach: ['style-guide'],    // resources to inline every turn\n      timeoutMs: 60_000,          // per request; 0 disables (default 60s)\n    }),\n  ],\n});\n\nconst report = await agent.connect();   // optional — otherwise the first turn does it\n// [{ url, serverInfo, protocolVersion, tools: [...], resources: [{name, uri, mode}] }]\nawait agent.close();                    // ends the MCP session(s)\n```\n\n**Connection is lazy and memoized.** `createAgent` is synchronous and a\nconstructor that reaches the network is a constructor that can fail, so the\nhandshake happens on the first turn — or eagerly on `agent.connect()`, which\nreturns what each server offered. `agent.tools` lists the declared set until\nthe sources connect, and everything afterwards. A failed connect is not\ncached as a verdict: the next turn tries again.\n\n**Failure is loud where it must be and model-visible where it can be.**\n\n| When | What happens |\n|---|---|\n| Server unreachable, non-2xx, unspeakable protocol version, `tools/list` fails | `McpConnectionError` **thrown** out of `connect()` / `send()`. An infrastructure fault the model cannot work around — the same class as a missing `@adia-ai/llm`, never a silent empty tool list |\n| Two sources (or a source and a declared tool) contribute the same tool name | `McpConnectionError` at connect — set a `prefix` |\n| More tools listed than `maxTools` | `McpConnectionError` naming the count. `resolveIntegrations`' cap silently drops the overflow; this one refuses to serve two thirds of a server without saying so |\n| A `tools/call` fails, times out, is aborted, or the server goes away mid-session | `isError` tool_result (`McpCallError`'s message). The model sees it and the loop continues |\n| The server answers `isError: true` | Same — the error text reaches the model as an error, never as prose that reads like an answer |\n| An **attach-mode** resource's `resources/read` fails mid-session | `McpCallError` **thrown out of `send()`** during prompt assembly. There is no turn to degrade into: the prompt the model was going to see is the thing that could not be built |\n\n**Nothing waits forever.** Every round trip carries `timeoutMs` (default\n`DEFAULT_MCP_TIMEOUT_MS`, 60 s), covering both the fetch and the wait for the\nanswer to arrive on an SSE body — a server that accepts a POST and then says\nnothing is a real failure mode and is otherwise indistinguishable from a hang.\nThe default has to clear the slowest legitimate answer, and for MCP that is a\ntool that thinks (the in-repo a2ui server runs an LLM inside `tools/call`), so\nit is generous rather than handshake-sized; raise it per source for a slower\nserver, or set `0` if you own the clock through `signal`. A timeout during\nconnect throws; a timeout during a call reaches the model like any other call\nfailure.\n\n**Abort is plumbed end to end.** `agent.send(session, text, { signal })` puts\nthat signal on the turn's `ctx`, and an MCP `tools/call` or `resources/read`\ncarries it to the wire — a user who cancels mid-answer cancels the server call\ninstead of leaving it running and ignored. Aborting the turn that happens to\nbe doing the connect cancels the handshake too; the signal does *not* stay\nattached to the resulting connection, so a later turn is unaffected.\n\n**Failures leave nothing open.** If a source fails after its handshake\nsucceeded, its session is closed before the error propagates; if the second of\ntwo sources fails, the first one's session is closed too. `close()` during an\nin-flight connect wins — the late arrival closes what it opened and rejects\nwith \"the agent was closed while connecting\" rather than quietly reinstalling\nitself. `close()` ends the sessions but does not spend the agent: a later\n`send()` reconnects.\n\n**Schemas pass through verbatim.** A server's JSON Schema reaches the model\nunmodified, including keywords `checkInput` cannot enforce. The server is the\nauthoritative validator (its rejection returns as an error result), so a\nfaithful copy of a contract someone else owns beats a locally-enforceable\nsubset that describes the tool less accurately. The manifest states this with\nthe new `IntegrationManifest.validation: 'remote'` rather than leaving it\nimplied; `'local'` (the default, and every hand-declared integration) keeps\nthe strict registration allowlist, because there the only validator is us.\n\n**Transport is streamable-HTTP, hand-rolled, no new dependency.**\n`@modelcontextprotocol/sdk` brings a server framework, stdio/websocket\ntransports, an auth stack and zod for a client subset that is six JSON-RPC\nmethods over one POST endpoint; this package stays dependency-free apart from\n`@adia-ai/llm`. The SDK still belongs in `packages/gen-ui/a2ui/mcp`, which *serves*.\n**stdio is not supported** — it needs a child process, so it is Node-only by\nconstruction and no in-repo consumer wants it; a `mcpServerStdio()` Node entry\npoint is the shape to add if one does.\n\n**In a browser, the server must be reachable by `fetch`** — meaning it sends\nCORS headers for your origin, or you put it behind the same proxy you already\nroute `@adia-ai/llm` through (`proxyUrl`) and point `url` at that path. This\npackage deliberately ships no proxy: a server-side pass-through is the host\napp's, and forwarding `mcp-session-id` and `mcp-protocol-version` both ways is\nall it has to do. `fetchImpl` is the injection seam (tests use it for the\nin-process server; a host can use it to route through its own client). The\nin-repo `packages/gen-ui/a2ui/mcp` server sends no CORS headers today, so reaching\nit from a page means proxying it; from Node it works directly.\n\n### MCP resources, and the gh#671 ruling\n\nA server's resources map onto the two existing modes and **no new one**:\n\n- **`tool` (default)** — the harness cannot know which of a remote server's\n  resources belong in every prompt, and attaching all of them grows the\n  system prompt without bound. So each becomes a `read_<name>` tool.\n- **`attach`** — the APP promotes specific resources by name or URI\n  (`attach: ['style-guide']`), and those are fetched and inlined every turn.\n\nThat is exactly MCP's own application-controlled vs. model-controlled\ndistinction, expressed with the modes the harness already has.\n\n[gh#671](https://github.com/adiahealth/gen-ui-kit/issues/671) asked whether\nengine-internal retrieval (zettel and free-form reading corpus content on\ntheir own schedule inside a workflow step's `run`) needs a third mode —\n`'internal'`. **Ruled no, and W3 did not need one either.** A resource mode\nis a declaration of *who invokes it and when*, and both existing modes name a\nparty the harness mediates: `attach` = the harness fetches, `tool` = the model\nasks. `'internal'` would name \"engine code, whenever it likes\", which is not\na mediation — it is a function call. Declaring it would put into the resource\ncontract a thing the model can never call and the harness never fetches,\nbuying nothing but a second way to spell `await`. The two things the issue\nactually wanted are already contracts: the dependency is declared through\n**`services`** (W2), and the invocation is visible through **`ctx.trace`** in\nthe `workflow` phase. Server-pushed MCP resources do not need it either —\nevery read is either app-scheduled or model-asked.\n\n**Everything a server returns is DATA.** A tool description, a resource body,\nan error string — a description that reads like an instruction is still a\ndescription. It lands in the tool spec or inside a `<resource>` envelope and\ndecides nothing about what the harness does. Guardrails are how you constrain\nwhat a remote tool may actually do.\n\n## Guardrails\n\nThe deterministic layer between the model and the world — code that runs\noutside the model's context and cannot be talked past. Declared once at\n`createAgent`, two attach points, both optional:\n\n```js\nimport { defineGuardrail } from '@adia-ai/agent';\n\ncreateAgent({\n  llm: { … },\n  guardrails: [\n    defineGuardrail({\n      name: 'scope-to-tenant',\n      // Before the call executes: allow (or return nothing), rewrite, deny.\n      toolCall: (call, ctx) => ({ action: 'rewrite', input: { ...call.input, tenantId } }),\n    }),\n    defineGuardrail({\n      name: 'redact',\n      // On the model's completed text for the round.\n      output: (text) => ({ action: 'rewrite', text: text.replace(SSN, '[redacted]') }),\n    }),\n  ],\n});\n```\n\nGuardrails run in declaration order and chain: a rewrite feeds the next one,\nthe first `deny` short-circuits.\n\n- **Tool-call deny** → the model gets an `isError` tool_result naming the\n  guardrail and its reason, and the loop continues. Nothing executes.\n- **Output deny** → the turn ends with no assistant text and\n  `stopReason: 'guardrail_denied'`; the reason rides the `guardrail` event.\n- **Output rewrite** → the rewritten text is what `done` carries and what the\n  transcript keeps. A final `{ text: '', snapshot: <rewritten> }` event\n  follows, and a denial sends `{ text: '', snapshot: '' }`.\n  **A UI that folds `text` events by APPENDING the delta must treat an empty\n  delta as a replace from `snapshot`, or it will keep showing the original\n  while the transcript says otherwise** — `web-modules/chat`'s\n  `wireAgentEvents` does exactly this via `chatShell.setStreamedText()`.\n\nTwo scope limits worth knowing before you rely on the output chain:\n\n- **Output guardrails see the text of the round that ENDS the turn.** Text\n  from a round that also called tools is intermediate reasoning the model\n  supersedes, and denying it has no coherent answer for the tool calls\n  emitted beside it — so it passes through unguarded and reaches the\n  transcript. Put the check on `toolCall` if what matters is what the model\n  is about to DO.\n- **A guardrail may `ctx.remember(patch)`** — it receives the same context a\n  tool does. The write is drained as a `memory` event before `done`, never\n  dropped.\n\n`onToolCall` is now exactly one guardrail of the `toolCall` kind: it still\nworks, still denies with its original wording, and runs ahead of the declared\nchain.\n\nA guardrail decides from the call and the harness's own context. Text\nproduced by a model, a tool, or a resource is DATA — a guardrail that lets\nsuch text talk it into allowing something is not a guardrail.\n\n## Tracing\n\nOff by default. `trace: true` uses the console sink; a function IS the sink.\nEvery record is also a `trace` event on the stream:\n\n```js\nconst agent = createAgent({ llm: { … }, trace: (record) => myLogger.debug(record) });\n// { phase, name, at, sessionId?, data? }\n```\n\n`phase` is the closed vocabulary (`TRACE_PHASES`, guarded by\n`isTracePhase()`): `prompt` (assembly: layer count, cached blocks, chars),\n`request` / `response` (per provider call: round, model, tool count, stop\nreason, ms), `tool` (per execution: name, id, ms, isError), `workflow`\n(`step:start` / `step:verdict` with the verdict reason), `guardrail` (each\nnon-allow decision), `usage` (the turn's token totals), `mcp` (`connect` /\n`connect:failed` per source — a tool a server contributed then executes\nunder `tool` like any other). A sink that throws\nwarns and the turn continues. There is no exporter protocol and no\ndependency — an OpenTelemetry bridge is a caller-side function.\n\n## Session memory\n\nPer-session, JSON-safe, and written ONLY through `reduce()` — the same\nsingle-writer rule the messages obey:\n\n```js\nimport { remember } from '@adia-ai/agent';\n\nsession = reduce(session, remember({ patientId: 'p_7', tone: 'brief' }));\nsession.memory;                                  // { patientId: 'p_7', tone: 'brief' }\nsession = reduce(session, remember({ tone: null }));   // null deletes the key\n```\n\nA tool writes by ASKING: `ctx.remember(patch)` queues the patch, and the loop\nyields it as a `memory` event right after that tool's result — and drains\nanything still queued before `done`, so a final-round tool's write (or a\nguardrail's, which shares the context) is never dropped. The asker never\ntouches state.\n\nA patch that would not survive `JSON.stringify` → `JSON.parse` unchanged (a\nDate, a function, `undefined`, a class instance) throws at the write, naming\nthe path. Memory rides the Session through `toJSON`/`fromJSON`; **where that\nJSON is stored stays the caller's** — cross-session persistence is a seam\nthis package deliberately does not implement.\n\n## Byte-identity baseline (CHAT-HARNESS law 2)\n\nEvery axis on `AgentConfig` is optional, and absence must produce a\nbyte-identical request to before the axis existed. `baseline/prompt-\nequivalence.baseline.json` pins the exact `ChatOpts` a minimal config (one\nstatic prompt layer, nothing else) produces; `baseline.test.js` re-derives\nit every run and diffs byte-for-byte, including asserting no optional-axis\nkey (`tools`, `cache`, `signal`, …) appears at all — not even as an empty\narray.\n\nChanging a default that legitimately changes this output breaks the test\nuntil the baseline is deliberately regenerated:\n\n```bash\nnpm run build -w @adia-ai/agent\nnode scripts/build/regen-agent-baseline.mjs\n```\n\nNever hand-edit the JSON file — regenerate it, then diff-review the change\nlike any other pinned contract.\n\n## Testing\n\n`scriptClient(turns)` is a deterministic `LLMClient`: script `[{text, toolUse}]`\nturns and drive the whole loop keylessly. It also records every `ChatOpts` it\nwas called with (`client.calls`) so tests can assert what reached the wire.\n\n`mcp-fixture.mjs`'s `createTestMcpServer({ tools, resources, … })` is the\nsame idea for MCP: an in-process server behind a `fetch`-shaped function\n(`fetchImpl`), speaking real JSON-RPC with session headers, cursor\npagination, `isError` results, and either a JSON or an SSE response body —\nno network, no ports, no SDK.\n","readmeFilename":"README.md"}