{"_id":"@bendyline/gezk","_rev":"4-4b9a637a4a867422f19caee3a407371d","name":"@bendyline/gezk","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"@bendyline/gezk","version":"0.1.0","keywords":["gezk","knowledge","rag","embeddings","sqlite","file-format","zod"],"author":{"name":"Bendyline","email":"support@bendyline.com"},"license":"MIT","_id":"@bendyline/gezk@0.1.0","maintainers":[{"name":"bendylinesupport","email":"admin@bendyline.com"}],"homepage":"https://github.com/bendyline/gezk","bugs":{"url":"https://github.com/bendyline/gezel/issues"},"dist":{"shasum":"bd3506f11eaf091bda64215ccf3a6e9b4034a5c6","tarball":"https://registry.npmjs.org/@bendyline/gezk/-/gezk-0.1.0.tgz","fileCount":7,"integrity":"sha512-T5wFPSwB1xtgRyKSp+jjgz+E7bSeJkGckwQqOj89WCO9fNS5ujHzBQH+6ped45Ionbr/eBBqlP38CaAHlc/lXA==","signatures":[{"sig":"MEUCIQC3RqfyQJT/FtwcTSWHwtixJ4Tg8e12+Ttwhr55dS1MzQIgV2WvFw24Ub4KtYRgOQ0jEVKqUlDv+mgdJOHHP+9MvS4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77292},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","import":"./dist/node.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit","export-schemas":"tsx scripts/export-schemas.ts"},"_npmUser":{"name":"bendylinesupport","email":"admin@bendyline.com"},"repository":{"url":"git+https://github.com/bendyline/gezel.git","type":"git","directory":"packages/gezk"},"description":"The gezk knowledge-catalog format: manifest and registry schemas, id grammars, knowledge:// references, vector quantization, SQLite DDL, canonical JSON, and Ed25519 manifest signatures.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^6.0.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/gezk_0.1.0_1788542839920_0.9594088515710038","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bendyline/gezk","version":"1.0.0","keywords":["gezk","knowledge","rag","embeddings","sqlite","file-format","zod"],"author":{"name":"Bendyline","email":"support@bendyline.com"},"license":"MIT","_id":"@bendyline/gezk@1.0.0","maintainers":[{"name":"bendylinesupport","email":"admin@bendyline.com"}],"homepage":"https://github.com/bendyline/gezk","bugs":{"url":"https://github.com/bendyline/gezel/issues"},"dist":{"shasum":"2453948e50ba9bcf3ed8b7e4da8868b3978435d6","tarball":"https://registry.npmjs.org/@bendyline/gezk/-/gezk-1.0.0.tgz","fileCount":7,"integrity":"sha512-FGBU4e5KZK9pUpAJgRIlJdStI6fzrJ8nVtS+TL4w1v44F0kbEDJKW621lI4bVVQg+iUu7OplpIUFDMtog9BVkw==","signatures":[{"sig":"MEUCIQDgzyhA+R/Wneue+5rN0sf5JBE32ngQ5MQHJsnS2kMhgQIgbK0ca06PIjdtPFxuVAbu7oav4T9B5sR+w0PPnKR0hEA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bendyline%2fgezk@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77292},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","import":"./dist/node.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit","export-schemas":"tsx scripts/export-schemas.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dd7a0f67-8ecc-4a6a-9446-4309eb923055"}},"repository":{"url":"git+https://github.com/bendyline/gezel.git","type":"git","directory":"packages/gezk"},"description":"The gezk knowledge-catalog format: manifest and registry schemas, id grammars, knowledge:// references, vector quantization, SQLite DDL, canonical JSON, and Ed25519 manifest signatures.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^6.0.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/gezk_1.0.0_1788585416422_0.6382195207173711","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bendyline/gezk","version":"1.0.1","keywords":["gezk","knowledge","rag","embeddings","sqlite","file-format","zod"],"author":{"name":"Bendyline","email":"support@bendyline.com"},"license":"MIT","_id":"@bendyline/gezk@1.0.1","maintainers":[{"name":"bendylinesupport","email":"admin@bendyline.com"}],"homepage":"https://github.com/bendyline/gezk","bugs":{"url":"https://github.com/bendyline/gezel/issues"},"dist":{"shasum":"61e83bbbfaf540c17a36495e118f9ff5ddc6a3fc","tarball":"https://registry.npmjs.org/@bendyline/gezk/-/gezk-1.0.1.tgz","fileCount":7,"integrity":"sha512-53Z+GsdPolVj4jfa6d3vSIBieiSmzQrn2gOTQ5jxdYpS4w8JBjJf2LWCSHtIa80x8NUbsOY5F/ppBKmaa6gzhg==","signatures":[{"sig":"MEQCIH9hFyZpbymYR6B/a3ge3DxTpMavG9rqWiznkBClOg6JAiAyFRnW8RBHk3yQSqgHHU3XbfR9LlXLxGCUa2b8i/SGQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bendyline%2fgezk@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":101990},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","import":"./dist/node.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit","export-schemas":"tsx scripts/export-schemas.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dd7a0f67-8ecc-4a6a-9446-4309eb923055"}},"repository":{"url":"git+https://github.com/bendyline/gezel.git","type":"git","directory":"packages/gezk"},"description":"The gezk knowledge-catalog format: manifest and registry schemas, id grammars, knowledge:// references, vector quantization, SQLite DDL, canonical JSON, and Ed25519 manifest signatures.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^6.0.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/gezk_1.0.1_1788873581423_0.057466095673871065","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"_id":"@bendyline/gezk@1.0.2","bugs":{"url":"https://github.com/bendyline/gezel/issues"},"dist":{"shasum":"e2726da6f806166de5f95c61fe710e868fa8085a","tarball":"https://registry.npmjs.org/@bendyline/gezk/-/gezk-1.0.2.tgz","fileCount":7,"integrity":"sha512-ZzOUL3YTtLBQz/fuITSIhQxmwumsaxQ3lzJ8uL4yNJxZg0NJYDHVMKiUCdp7jlU6c8S+iqAzC48wPwWrXOFzeg==","signatures":[{"sig":"MEUCICVoq+UlZCVfYHMFWW5DripIO4eJ+GAGXi6ksBGLgZMQAiEA8s8l+5Pl20GKsuZ7/YZRb/eZ5rY2zqmcTIYfZTcKcLw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD5ZIpL3Lh81OF3NdMXfCFb+PwoZZEyQpmeZDhYG0k+kgIgbzLtWGg8gzYIjxwcbsWo4vXN0ALPUhGu6D1E3XIknrQ="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bendyline%2fgezk@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":111258},"main":"./dist/index.js","name":"@bendyline/gezk","type":"module","types":"./dist/index.d.ts","author":{"name":"Bendyline","email":"support@bendyline.com"},"module":"./dist/index.js","engines":{"node":">=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","import":"./dist/node.js"}},"license":"MIT","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit","export-schemas":"tsx scripts/export-schemas.ts"},"version":"1.0.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dd7a0f67-8ecc-4a6a-9446-4309eb923055"}},"homepage":"https://github.com/bendyline/gezk","keywords":["gezk","knowledge","rag","embeddings","sqlite","file-format","zod"],"repository":{"url":"git+https://github.com/bendyline/gezel.git","type":"git","directory":"packages/gezk"},"description":"The gezk knowledge-catalog format: manifest and registry schemas, id grammars, knowledge:// references, vector quantization, SQLite DDL, canonical JSON, and Ed25519 manifest signatures.","directories":{},"maintainers":[{"name":"bendylinesupport","email":"admin@bendyline.com"}],"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^6.0.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gezk_1.0.2_1789773095309_0.4237377809544789"}}},"time":{"created":"2026-09-04T17:27:19.800Z","modified":"2026-09-18T23:11:35.747Z","0.1.0":"2026-09-04T17:27:20.062Z","1.0.0":"2026-09-05T05:16:56.559Z","1.0.1":"2026-09-08T13:19:41.548Z","1.0.2":"2026-09-18T23:11:35.408Z"},"bugs":{"url":"https://github.com/bendyline/gezel/issues"},"author":{"name":"Bendyline","email":"support@bendyline.com"},"license":"MIT","homepage":"https://github.com/bendyline/gezk","keywords":["gezk","knowledge","rag","embeddings","sqlite","file-format","zod"],"repository":{"url":"git+https://github.com/bendyline/gezel.git","type":"git","directory":"packages/gezk"},"description":"The gezk knowledge-catalog format: manifest and registry schemas, id grammars, knowledge:// references, vector quantization, SQLite DDL, canonical JSON, and Ed25519 manifest signatures.","maintainers":[{"name":"bendylinesupport","email":"admin@bendyline.com"}],"readme":"# @bendyline/gezk\n\nThe `.gezk` knowledge-catalog **format**, as code: the manifest and registry\nschemas (Zod), the id grammars, `knowledge://` references, the vector\nquantization formulas, the SQLite DDL, RFC 8785 canonical JSON, and Ed25519\nmanifest signatures. It has no dependency on gezel — the product and the\n`@bendyline/gezel-knowledge` toolchain (compiler, archive reader, retrieval)\nboth build on it.\n\n```sh\nnpm install @bendyline/gezk\n```\n\nESM only, Node 24+. `zod` is the sole runtime dependency.\n\n- `@bendyline/gezk` — browser-safe: schemas, ids, URIs, quantization, DDL, JCS.\n- `@bendyline/gezk/node` — everything above plus chunk ids, file digests and\n  signing, which need `node:crypto` / `node:fs`.\n\n```ts\nimport { KnowledgeCatalogManifestSchema, parseKnowledgeUri, quantizeInt8 } from '@bendyline/gezk';\nimport { verifyManifestSignature } from '@bendyline/gezk/node';\n\n// Citations are a parsed grammar, not string surgery.\nparseKnowledgeUri('knowledge://bendyline/handboek/guides/intro#line=3-9');\n// → { publisherId: 'bendyline', catalogId: 'handboek', documentId: 'guides/intro',\n//     fragment: { lineStart: 3, lineEnd: 9 } }\n\n// A manifest is only ever trusted after it parses AND verifies.\nconst manifest = KnowledgeCatalogManifestSchema.parse(JSON.parse(rawManifestJson));\nconst verdict = verifyManifestSignature(manifest, trustAnchors);\nif (!verdict.ok) throw new Error(`untrusted catalog: ${verdict.reason}`);\n\n// Passage vectors are packed with these exact formulas, never a SQLite extension's.\nconst packed = quantizeInt8(unitVector);\n```\n\nThe format specification, JSON Schemas, conformance fixtures and the Python\nreference reader live in [bendyline/gezk](https://github.com/bendyline/gezk).\n\n## License\n\nMIT © Bendyline\n","readmeFilename":""}