{"_id":"@aihu-plugin/drizzle","_rev":"8-4db5ccc370640f4e1f92224e0cc8943c","name":"@aihu-plugin/drizzle","dist-tags":{"canary":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","latest":"0.1.6"},"versions":{"0.1.0":{"name":"@aihu-plugin/drizzle","version":"0.1.0","license":"MIT","_id":"@aihu-plugin/drizzle@0.1.0","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"4d40029fae2dba7f973d8964e5906b7ede077658","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.0.tgz","fileCount":7,"integrity":"sha512-DGeOAPnT05Dn4SorkaOU86bRr/208s1qqBX3ik3mZCKHVOlKqjsdtwf+2fgSvAqf31Yr6/Nid7kK0wHELaz6vw==","signatures":[{"sig":"MEQCIEwlUBv/0pmIvl1M8gphPF5UYAOvlTr6XrO1CzLryIrrAiBm/zEdwUtAJwbHeazfS6i0vKiyFDpnS7wn7gunmVUBlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21656},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.dkCQZxApRA/aihu-plugin-drizzle-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.dkCQZxApRA/aihu-plugin-drizzle-0.1.0.tgz","_integrity":"sha512-DGeOAPnT05Dn4SorkaOU86bRr/208s1qqBX3ik3mZCKHVOlKqjsdtwf+2fgSvAqf31Yr6/Nid7kK0wHELaz6vw==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"10.8.2","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.0"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.1.0_1779748937417_0.04731245099975179","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aihu-plugin/drizzle","version":"0.1.1","license":"MIT","_id":"@aihu-plugin/drizzle@0.1.1","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"55b8769d558d277a33c408e8c1b157b39dc7f29b","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.1.tgz","fileCount":7,"integrity":"sha512-JZvclqmNWdoVp9z3mj90qfSceF/SsPLx8fqoYs/GLQ8MghxR7x224dG1eAPaQl6KPsqCgkSafyRC4WdjABzIow==","signatures":[{"sig":"MEUCIQD40wuy7aHZbbRpnGjsmA5V0P53vOmdqkYeWw7qmgciegIgK4ZnWv7Rv8Ghp15eKLP2/ibCuso/7W2v5b586VDvYqg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21656},"main":"./dist/index.js","type":"module","_from":"file:/var/folders/xn/s857jcsj5w3dcg7zchv6t5vw0000gn/T/tmp.HUkaYmQ5Lz/aihu-plugin-drizzle-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/var/folders/xn/s857jcsj5w3dcg7zchv6t5vw0000gn/T/tmp.HUkaYmQ5Lz/aihu-plugin-drizzle-0.1.1.tgz","_integrity":"sha512-JZvclqmNWdoVp9z3mj90qfSceF/SsPLx8fqoYs/GLQ8MghxR7x224dG1eAPaQl6KPsqCgkSafyRC4WdjABzIow==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"11.12.1","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.1"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.1.1_1781183982722_0.23999827944802177","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113":{"name":"@aihu-plugin/drizzle","version":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","license":"MIT","_id":"@aihu-plugin/drizzle@0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"03050ea1edb46f5dd8b8145396ec8ce2b2612076","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113.tgz","fileCount":7,"integrity":"sha512-dC5cWR42tqcAfwuh5bDG1EyuK7hlLM6B1X8hdGmSAKIXT4lMA20XeWTycDK/xhjdbCJJ0Z023fQwu+QpaSqxLg==","signatures":[{"sig":"MEUCIQC2IJjCC8Ww1OIi0TBkPODf0pkxCXFLQkRVypaulDTm0QIgMwFK2Ay8YJH4e9cV0PuHi7Mb2syUIbsYWFLI3f9CKsI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21848},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.eacxTzvoIE/aihu-plugin-drizzle-0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.eacxTzvoIE/aihu-plugin-drizzle-0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113.tgz","_integrity":"sha512-dC5cWR42tqcAfwuh5bDG1EyuK7hlLM6B1X8hdGmSAKIXT4lMA20XeWTycDK/xhjdbCJJ0Z023fQwu+QpaSqxLg==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"10.8.2","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@aihu/plugin":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","@aihu-plugin/data":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113_1784720469951_0.7043635877741665","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aihu-plugin/drizzle","version":"0.1.2","license":"MIT","_id":"@aihu-plugin/drizzle@0.1.2","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"6d2c96d20137a3ad8e508ebfa4e005a97ccb43b0","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.2.tgz","fileCount":7,"integrity":"sha512-N5faQaP1jEUqMAJD0UckIXDn88hz9U/MDA8Y6xlFXaLLVssHxZUswGAmAcZkdLIiq8ns4hKGZn2biD2jSMYTXQ==","signatures":[{"sig":"MEUCIBSxvvR+APqwNYClAhkQ0mORDRKS2/k6ev7RvzePTuguAiEAjA0k905UnYxcUD/sqMNu0EJKimFESJTU+zVE05lJq5w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21656},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.z8JXRwSynm/aihu-plugin-drizzle-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.z8JXRwSynm/aihu-plugin-drizzle-0.1.2.tgz","_integrity":"sha512-N5faQaP1jEUqMAJD0UckIXDn88hz9U/MDA8Y6xlFXaLLVssHxZUswGAmAcZkdLIiq8ns4hKGZn2biD2jSMYTXQ==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"10.8.2","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.3"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.1.2_1784729131431_0.37912411807167046","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aihu-plugin/drizzle","version":"0.1.3","license":"MIT","_id":"@aihu-plugin/drizzle@0.1.3","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"08216d84ccc652c21e2862d7a3f94bf65716285d","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.3.tgz","fileCount":7,"integrity":"sha512-mW7UKcKdCvmHPukqHvyGo/fFtQOWyr+fUIbqn8KXLAj73RFlpqq0V+Jcdc7JXkXaAGBM57TBdf7JKW5xedrDVg==","signatures":[{"sig":"MEUCIQD7j0b9Me7RjRwxtah+QtPnNMQwXCrUtCor+dpKuwguFwIgRV/nEgBneAYQdjVMkc0Ljq06T0TbbNjTYGaccA0h34A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21703},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.WC5WUXS73h/aihu-plugin-drizzle-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.WC5WUXS73h/aihu-plugin-drizzle-0.1.3.tgz","_integrity":"sha512-mW7UKcKdCvmHPukqHvyGo/fFtQOWyr+fUIbqn8KXLAj73RFlpqq0V+Jcdc7JXkXaAGBM57TBdf7JKW5xedrDVg==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"10.8.2","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.3"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.1.3_1784822631129_0.7547759625740966","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aihu-plugin/drizzle","version":"0.1.4","license":"MIT","_id":"@aihu-plugin/drizzle@0.1.4","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"d551f469154fe46101110ef8356ec022b161749b","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.4.tgz","fileCount":7,"integrity":"sha512-Uj0bcxLQYAR/M3N3+Nqn3TLRSCYxorch3ZYCypThEQRY1SAn9I4sfFrB/bi4e3waK7iBJuXfkY8Gr0Q2klaUuQ==","signatures":[{"sig":"MEUCICts/pNV316I3eFV1lgDlHPVTxwt8koW/ZGhTtMhJrYiAiEA+IBjGYLOQCqrGn9XP8kfSYpXEHAEdM7mHaz46dtZRnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21703},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.QDk8m34Fu8/aihu-plugin-drizzle-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.QDk8m34Fu8/aihu-plugin-drizzle-0.1.4.tgz","_integrity":"sha512-Uj0bcxLQYAR/M3N3+Nqn3TLRSCYxorch3ZYCypThEQRY1SAn9I4sfFrB/bi4e3waK7iBJuXfkY8Gr0Q2klaUuQ==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"10.8.2","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.5"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.1.4_1785028551649_0.7027678000500979","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@aihu-plugin/drizzle","version":"0.1.5","license":"MIT","_id":"@aihu-plugin/drizzle@0.1.5","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"be9a35d0a31af694963b5face3217eb497c24003","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.5.tgz","fileCount":7,"integrity":"sha512-oRM1ZjGsLcZ9ZqakD4CtdnPLhkTcCBCcrGfLrMBh8CKYhusE1vm+Y8PpK8vmeUnV+1funcYzCJn9CZwBhfDI9A==","signatures":[{"sig":"MEUCIGiCkUihD4pzz+hUZcwHq3+jnRQ8P3Gw3GSj2mWbjNz3AiEA8fObeWAvMu8sD1AWZZ6VCFEjKMCxbFU6fPQdvixXo7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21703},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.HoOfDM7pJW/aihu-plugin-drizzle-0.1.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.HoOfDM7pJW/aihu-plugin-drizzle-0.1.5.tgz","_integrity":"sha512-oRM1ZjGsLcZ9ZqakD4CtdnPLhkTcCBCcrGfLrMBh8CKYhusE1vm+Y8PpK8vmeUnV+1funcYzCJn9CZwBhfDI9A==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-drizzle"},"_npmVersion":"10.8.2","description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@aihu/server":"0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.5"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/drizzle_0.1.5_1785917450135_0.11110726452667041","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@aihu-plugin/drizzle","version":"0.1.6","license":"MIT","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"sideEffects":false,"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"dependencies":{"@aihu/server":"0.6.0"},"devDependencies":{"@aihu/plugin":"0.1.0","@aihu-plugin/data":"2.0.5"},"peerDependencies":{"drizzle-orm":">=0.29.0"},"peerDependenciesMeta":{"drizzle-orm":{"optional":true}},"description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","repository":{"type":"git","url":"git+https://github.com/fellwork/aihu.git","directory":"packages/plugin-drizzle"},"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"publishConfig":{"access":"public"},"_id":"@aihu-plugin/drizzle@0.1.6","_integrity":"sha512-9Rxlxc3AP/fR6wIrnIBie5iN/yAqwDdFxp1OMSL/6SxDAi76K/7quFgCi8y56kQ5gqy+5dS1/q+8/FgmI4TRuw==","_resolved":"/tmp/tmp.29EcUgNmfD/aihu-plugin-drizzle-0.1.6.tgz","_from":"file:/tmp/tmp.29EcUgNmfD/aihu-plugin-drizzle-0.1.6.tgz","_nodeVersion":"22.12.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-9Rxlxc3AP/fR6wIrnIBie5iN/yAqwDdFxp1OMSL/6SxDAi76K/7quFgCi8y56kQ5gqy+5dS1/q+8/FgmI4TRuw==","shasum":"411deed7e49a4dbeaad7264f1d36a71677428941","tarball":"https://registry.npmjs.org/@aihu-plugin/drizzle/-/drizzle-0.1.6.tgz","fileCount":7,"unpackedSize":21703,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fdrizzle@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDxu0U4D11qv1NBJ92Aec++MBzUdhMGfhN5rexPFqEXuQIhAJArA1XavoWl5I+zFmynlHCf+Pw/Fb8LZy9IijBx0kFm"}]},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"directories":{},"maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drizzle_0.1.6_1786247331382_0.06162027329015296"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-25T22:42:17.242Z","modified":"2026-08-09T03:48:51.859Z","0.1.0":"2026-05-25T22:42:17.554Z","0.1.1":"2026-06-11T13:19:42.903Z","0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113":"2026-07-22T11:41:10.095Z","0.1.2":"2026-07-22T14:05:31.592Z","0.1.3":"2026-07-23T16:03:51.263Z","0.1.4":"2026-07-26T01:15:51.791Z","0.1.5":"2026-08-05T08:10:50.290Z","0.1.6":"2026-08-09T03:48:51.546Z"},"bugs":{"url":"https://github.com/fellwork/aihu/issues"},"license":"MIT","homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-drizzle#readme","repository":{"type":"git","url":"git+https://github.com/fellwork/aihu.git","directory":"packages/plugin-drizzle"},"description":"Drizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"readme":"# @aihu-plugin/drizzle\n\n> **Aihu** — agentic discovery and interaction, for human purpose.\n\nDrizzle ORM data adapter for aihu — typed createResource fetchers and defineLoader helpers (Postgres / SQLite / libSQL).\n\nPart of the **meta-framework** layer of Aihu. Provides whole-app capability — file-based routing, SSR, loaders, cookies — without the boilerplate other meta-frameworks impose. See [arch-1](../../docs/roadmap/arch-1-website.md) for the meta-framework contract.\n\n<!-- BEGIN_HANDWRITTEN: prose -->\nServer-only. Wraps a Drizzle query into the two data-access shapes aihu uses:\n\n```ts\nimport { drizzle } from 'drizzle-orm/libsql'\nimport { eq } from 'drizzle-orm'\nimport { createResource } from '@aihu-plugin/data'\nimport { defineRoute } from '@aihu/server'\nimport { createDrizzleResource, drizzleLoader } from '@aihu-plugin/drizzle'\n\nconst db = drizzle(client)\n\n// 1. A createResource-compatible fetcher: (key: string) => Promise<T>\nconst fetchUser = createDrizzleResource(\n  db,\n  (db, id: number) => db.select().from(users).where(eq(users.id, id)),\n  { parseKey: Number },\n)\nconst user = createResource(idSignal, fetchUser)\n\n// 2. A defineLoader for SSR routes\nconst userLoader = drizzleLoader(db, (db, ctx) =>\n  db.select().from(users).where(eq(users.id, Number(ctx.params.id))),\n)\nexport const userRoute = defineRoute('/users/:id', handler, { loader: userLoader })\n```\n\n`drizzle-orm` and its drivers (`postgres`, `@libsql/client`) are **optional peer dependencies** referenced via `import type` only — importing this package never breaks when no Drizzle peer is installed. You supply the `db` handle; the adapter only awaits the query.\n<!-- END_HANDWRITTEN: prose -->\n\n## Install\n\n<!-- BEGIN_AUTOGEN: install -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n```bash\nnpm install @aihu-plugin/drizzle\n# or\nbun add @aihu-plugin/drizzle\n```\n\n<sub><i>Auto-generated against `@aihu-plugin/drizzle@0.1.6`.</i></sub>\n\n<!-- END_AUTOGEN: install -->\n\n## Package facts\n\n<!-- BEGIN_AUTOGEN: stats -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n| | |\n|---|---|\n| **Version** | `0.1.6` |\n| **Tier** | B — Meta-framework — Drizzle ORM data adapter (typed resources + loaders) |\n| **Published files** | 3 entries |\n| **License** | MIT |\n\n<sub><i>Auto-generated against `@aihu-plugin/drizzle@0.1.6`.</i></sub>\n\n<!-- END_AUTOGEN: stats -->\n\n## Exports\n\n<!-- BEGIN_AUTOGEN: exports -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n| Subpath | ESM | CJS |\n|---|---|---|\n| `.` | `./dist/index.js` | `—` |\n\n<sub><i>Auto-generated against `@aihu-plugin/drizzle@0.1.6`.</i></sub>\n\n<!-- END_AUTOGEN: exports -->\n\n## Dependencies\n\n<!-- BEGIN_AUTOGEN: deps -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n**Dependencies:**\n\n- `@aihu/server` — `workspace:*`\n\n**Peer dependencies:**\n\n- `drizzle-orm` — `>=0.29.0`\n\n<sub><i>Auto-generated against `@aihu-plugin/drizzle@0.1.6`.</i></sub>\n\n<!-- END_AUTOGEN: deps -->\n\n## See also\n\n<!-- BEGIN_AUTOGEN: see-also -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n- [@aihu-plugin/data](../plugin-data)\n- [Aihu framework root](../../README.md)\n\n<sub><i>Auto-generated against `@aihu-plugin/drizzle@0.1.6`.</i></sub>\n\n<!-- END_AUTOGEN: see-also -->\n\n## License\n\n<!-- BEGIN_AUTOGEN: license -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\nMIT — see [LICENSE](../../LICENSE).\n\n<sub><i>Auto-generated against `@aihu-plugin/drizzle@0.1.6`.</i></sub>\n\n<!-- END_AUTOGEN: license -->\n","readmeFilename":"README.md"}