{"_id":"@aimform/search","_rev":"5-cca09d1e9d88e0bbdfcd3c87b918c905","name":"@aimform/search","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@aimform/search","version":"0.1.0","keywords":["aimform","search","vector","full-text","hybrid","command-palette"],"author":{"name":"Universal Reason LLC"},"license":"MIT","_id":"@aimform/search@0.1.0","maintainers":[{"name":"adamhalasz","email":"mail@adamhalasz.com"}],"homepage":"https://aimform.com","bugs":{"url":"https://github.com/aimform/search/issues"},"dist":{"shasum":"0f4598bf64f74eceee0538b0445b382f455cb486","tarball":"https://registry.npmjs.org/@aimform/search/-/search-0.1.0.tgz","fileCount":3,"integrity":"sha512-CFdM9NcLdXwEwE0aoNLV3PqvWi9EgdBIekw0W8xQ3GZnpqqzoshCPhvlVyVEO8AYPmk+oCzaRKyX2SMS2c1jPg==","signatures":[{"sig":"MEUCIGx2d1ktIuqDU0241N3Daus/9vV9WCkCz95KFDKagIfoAiEAy2POVHVA/mwj9YwAQUVxHIPbe8Vs0fQeRwuvTAcQQz4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2897},"type":"module","exports":{".":{"types":"./src/index.ts","import":"./src/index.ts"}},"gitHead":"21b0db281812949a05a628ee059ec61b7070dd21","scripts":{"test":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"adamhalasz","email":"mail@adamhalasz.com"},"repository":{"url":"git+https://github.com/aimform/search.git","type":"git"},"_npmVersion":"11.8.0","description":"Aimform Search — hybrid vector + full-text search over Entities and Blocks with ACL-aware filtering and a React command palette.","directories":{},"sideEffects":false,"_nodeVersion":"25.6.0","dependencies":{"@aimform/core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@vitest/coverage-istanbul":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/search_0.1.0_1785277523887_0.8657091605085525","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aimform/search","version":"0.1.1","keywords":["aimform","search","vector","full-text","hybrid","command-palette"],"author":{"name":"Universal Reason LLC"},"license":"MIT","_id":"@aimform/search@0.1.1","maintainers":[{"name":"adamhalasz","email":"mail@adamhalasz.com"}],"homepage":"https://aimform.com","bugs":{"url":"https://github.com/aimform/search/issues"},"dist":{"shasum":"28bcf78ad1834a6a35a1021060dc69c40e9061bb","tarball":"https://registry.npmjs.org/@aimform/search/-/search-0.1.1.tgz","fileCount":4,"integrity":"sha512-PrE45Dg4Hze0kAPa3YvLH64TQgt9XBLIIPYQWUxfxv9YOLMndioa3IEQ1OSKtiFyz1ggoTLs9RC8LwWBcp74zQ==","signatures":[{"sig":"MEQCIG0wETPgYgZVEQYM+ZwlveJdqV2SsHEXJDi964p2yJdtAiAhmNwKUAN9M/rtH0c+mCc/HkbsD6fRWaESqHeaFs23KQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5196},"type":"module","exports":{".":{"types":"./src/index.ts","import":"./src/index.ts"}},"gitHead":"f4b31a1c8f567c24c05f08a389fa9aa8d831507c","scripts":{"test":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"adamhalasz","email":"mail@adamhalasz.com"},"repository":{"url":"git+https://github.com/aimform/search.git","type":"git"},"_npmVersion":"11.8.0","description":"Aimform Search — hybrid vector + full-text search over Entities and Blocks with ACL-aware filtering and a React command palette.","directories":{},"sideEffects":false,"_nodeVersion":"25.6.0","dependencies":{"@aimform/core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@vitest/coverage-istanbul":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/search_0.1.1_1785277691940_0.7657037006801364","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aimform/search","version":"0.1.2","keywords":["aimform","search","vector","full-text","hybrid","command-palette"],"author":{"name":"Universal Reason LLC"},"license":"MIT","_id":"@aimform/search@0.1.2","maintainers":[{"name":"adamhalasz","email":"mail@adamhalasz.com"}],"homepage":"https://aimform.com","bugs":{"url":"https://github.com/aimform/search/issues"},"dist":{"shasum":"99db04a7d722cf90f0f0acae28de6f797d029775","tarball":"https://registry.npmjs.org/@aimform/search/-/search-0.1.2.tgz","fileCount":4,"integrity":"sha512-0+uSmVQcL0kQm9vcV17vUZ54hJv4oDuUmROGCFM7lBqsliJ/rmO5na2+mCVx6RYTJC8qDrCQr8c539CTEhb+5Q==","signatures":[{"sig":"MEUCIGFx9unQ/6H3GtQztpIygV9+B/yXbwbocS/yO2oLh/huAiEA81vsIOv/e8PziacrMBuQ9SBeSFpYPC+PWaxtdE9VPrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5196},"type":"module","exports":{".":{"types":"./src/index.ts","import":"./src/index.ts"}},"gitHead":"74c728b60cd7bdba6a3835e047201b55282c0589","scripts":{"test":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"adamhalasz","email":"mail@adamhalasz.com"},"repository":{"url":"git+https://github.com/aimform/search.git","type":"git"},"_npmVersion":"11.8.0","description":"Aimform Search — hybrid vector + full-text search over Entities and Blocks with ACL-aware filtering and a React command palette.","directories":{},"sideEffects":false,"_nodeVersion":"25.6.0","dependencies":{"@aimform/core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@vitest/coverage-istanbul":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/search_0.1.2_1785277840423_0.6253624846772505","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aimform/search","version":"0.3.0","keywords":["aimform","search","vector","full-text","hybrid","command-palette"],"author":{"name":"Universal Reason LLC"},"license":"MIT","_id":"@aimform/search@0.3.0","maintainers":[{"name":"adamhalasz","email":"mail@adamhalasz.com"}],"homepage":"https://aimform.com","bugs":{"url":"https://github.com/aimform/search/issues"},"dist":{"shasum":"f4ac3d84adb959664b94e1315d2275143f3e5281","tarball":"https://registry.npmjs.org/@aimform/search/-/search-0.3.0.tgz","fileCount":4,"integrity":"sha512-5IU7P3PUQCJyRaWJcOSXQUZnJOsCrTxn/YLT7dN44e1tOfmY2sOCo3YRWmGywLxn0U0ZLWHmHVOH51nSF89BSA==","signatures":[{"sig":"MEUCIQCnx7QbFoWLmHchv8d6/bnfsuj+PVbTRTu/te7O7ZSx0QIgUD83YXzQ1FBXSvCwgBWTz4urifzItpD/SGxPSkR5h+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5196},"type":"module","exports":{".":{"types":"./src/index.ts","import":"./src/index.ts"}},"gitHead":"d53de9b05e5f02c42b105891ea5cbedf79e3345f","scripts":{"test":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"adamhalasz","email":"mail@adamhalasz.com"},"repository":{"url":"git+https://github.com/aimform/search.git","type":"git"},"_npmVersion":"11.8.0","description":"Aimform Search — hybrid vector + full-text search over Entities and Blocks with ACL-aware filtering and a React command palette.","directories":{},"sideEffects":false,"_nodeVersion":"25.6.0","dependencies":{"@aimform/core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@vitest/coverage-istanbul":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/search_0.3.0_1785278554806_0.04226666585270156","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@aimform/search","version":"0.3.1","description":"Aimform Search — hybrid vector + full-text search over Entities and Blocks with ACL-aware filtering and a React command palette.","type":"module","license":"MIT","sideEffects":false,"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts"},"./adapters":{"types":"./src/adapters/index.ts","import":"./src/adapters/index.ts"}},"scripts":{"typecheck":"tsc --noEmit","test":"vitest run","test:coverage":"vitest run --coverage"},"dependencies":{"@aimform/core":"workspace:*"},"devDependencies":{"typescript":"^5.7.0","vitest":"^3.0.0","@vitest/coverage-istanbul":"^3.0.0","@cloudflare/workers-types":"^4.20250224.0"},"repository":{"type":"git","url":"git+https://github.com/aimform/search.git"},"keywords":["aimform","search","vector","full-text","hybrid","command-palette"],"author":{"name":"Universal Reason LLC"},"homepage":"https://aimform.com","gitHead":"3ee56e2e253006dfd265deae24d36432d935e71f","_id":"@aimform/search@0.3.1","bugs":{"url":"https://github.com/aimform/search/issues"},"_nodeVersion":"25.6.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-aLPF7lvIjPp+xLMrnJtlvZRhlO/nc8C7OZs8YQKK2OXfD0winnoOUOiEmMdor48WOz8EWGaLcTFXSzXiRVOTKg==","shasum":"a74d7a03a829cd49f5a7eadb986b61c4fc810b6e","tarball":"https://registry.npmjs.org/@aimform/search/-/search-0.3.1.tgz","fileCount":12,"unpackedSize":15883,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDm6u74yXxpky3dJ+Vv3eHeJtRQbSc0yjqNBWjrsPtOZAIhAKBGqMwnvEZo5ZQjv5UcBih98XerpBwusqEvsUYzN5mP"}]},"_npmUser":{"name":"adamhalasz","email":"mail@adamhalasz.com"},"directories":{},"maintainers":[{"name":"adamhalasz","email":"mail@adamhalasz.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/search_0.3.1_1785342989749_0.7734810401774224"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-28T22:25:23.723Z","modified":"2026-07-29T16:36:30.128Z","0.1.0":"2026-07-28T22:25:24.072Z","0.1.1":"2026-07-28T22:28:12.095Z","0.1.2":"2026-07-28T22:30:40.564Z","0.3.0":"2026-07-28T22:42:34.937Z","0.3.1":"2026-07-29T16:36:29.888Z"},"bugs":{"url":"https://github.com/aimform/search/issues"},"author":{"name":"Universal Reason LLC"},"license":"MIT","homepage":"https://aimform.com","keywords":["aimform","search","vector","full-text","hybrid","command-palette"],"repository":{"type":"git","url":"git+https://github.com/aimform/search.git"},"description":"Aimform Search — hybrid vector + full-text search over Entities and Blocks with ACL-aware filtering and a React command palette.","maintainers":[{"name":"adamhalasz","email":"mail@adamhalasz.com"}],"readme":"# @aimform/search\n\n> Hybrid vector + full-text search with ACL-aware filtering and a React command palette.\n\n## Install\n\n```sh\nnpm install @aimform/search @aimform/core\n```\n\n## Usage\n\n```ts\nimport { Search } from \"@aimform/search\";\n\n// D1\nconst search = new Search({ database: env.DB });\n\n// Platform API\nconst aimform = createAimform({ apiKey: \"af_xxx\" });\nconst search = new Search({ client: aimform.client });\n```\n\n### Query\n\n```ts\nconst results = await search.query(ctx, \"org_456\", {\n  query: \"quarterly report\", mode: \"auto\", spaceId: \"spc_123\", limit: 20,\n});\n```\n\n### Index\n\n```ts\nawait search.index({\n  orgId: \"org_456\", spaceId: \"spc_123\", entityId: \"ent_789\",\n  entityType: \"document\", textContent: \"Q4 2025 Report...\",\n  aclTier: \"read\", sourceUpdatedAt: new Date().toISOString(),\n});\nawait search.deindex(\"entry_1\");\nawait search.reindexEntity(\"ent_789\");\nawait search.reindexSpace(\"spc_123\");\n```\n\n→ [Search docs](./docs/search.md)\n\n→ [Creating custom adapters](./docs/custom-adapters.md)\n","readmeFilename":"README.md"}