{"_id":"@aiet/compiler","_rev":"3-ebab78eab5ff7ad2c7379cb5427fca35","name":"@aiet/compiler","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@aiet/compiler","version":"1.0.0","_id":"@aiet/compiler@1.0.0","maintainers":[{"name":"faruktahsin","email":"afaruktahsin@gmail.com"}],"dist":{"shasum":"935896c7c5d776bb9bd6893a88dffe3dbf624a2c","tarball":"https://registry.npmjs.org/@aiet/compiler/-/compiler-1.0.0.tgz","fileCount":52,"integrity":"sha512-bkVaNTdjP/dOf2tKRy0J/gsXXgrWt/OrePjx7I8z2iOZDEhl7jAjaglcmoZ47mdWGPrIspY+lXPUQ60d63dCIQ==","signatures":[{"sig":"MEUCIA5HLf6yLqYTErDdAxX5b0vDw0zENBBQHJ8XqONAgjaoAiEA8CKaar8bWofLNRhXU+AgAyYAuFp2ncsr8HieENXKJUw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165614},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup src/index.ts --format cjs,esm && tsc --emitDeclarationOnly","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"faruktahsin","email":"afaruktahsin@gmail.com"},"description":"Deterministic cl100k_base token profiler, priority ranker, and context compiler pipeline for PAKB","directories":{},"_nodeVersion":"22.23.1","dependencies":{"tiktoken":"^1.0.15","@aiet/domain":"1.0.0","@aiet/schema":"1.0.0","@aiet/storage":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","vitest":"^2.0.5","typescript":"^5.5.4","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_1.0.0_1786221288311_0.36572979583787824","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aiet/compiler","version":"1.0.1","_id":"@aiet/compiler@1.0.1","maintainers":[{"name":"faruktahsin","email":"afaruktahsin@gmail.com"}],"dist":{"shasum":"ac5357f8be797eefd261fb8336a76459b58687f9","tarball":"https://registry.npmjs.org/@aiet/compiler/-/compiler-1.0.1.tgz","fileCount":54,"integrity":"sha512-3CuOpNXgYhxkLYe/v1Lmr7s+v3oVoCGIeDuPv6b0dES9py+VsoX6x6MNchISo06yGbbi/QRYkV26g0u5/6AOBw==","signatures":[{"sig":"MEUCIAZX6bldyfHXnrm+fWSK42f0YPgh0pNZjmJ2c5pda8YqAiEA36OQqzhXEwTFuBFFynXR2Y251tC01LYHGQJ6YyGNlrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179915},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/Faruktahsin","type":"github"},"scripts":{"test":"vitest run","build":"tsup src/index.ts --format cjs,esm && tsc --emitDeclarationOnly","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"faruktahsin","email":"afaruktahsin@gmail.com"},"description":"Deterministic cl100k_base token profiler, priority ranker, and context compiler pipeline for PAKB","directories":{},"_nodeVersion":"22.23.1","dependencies":{"tiktoken":"^1.0.15","@aiet/domain":"1.0.1","@aiet/schema":"1.0.1","@aiet/storage":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","vitest":"^4.1.10","typescript":"^5.5.4","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_1.0.1_1786485022312_0.41315362233210795","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aiet/compiler","version":"1.0.2","description":"Deterministic cl100k_base token profiler, priority ranker, and context compiler pipeline for PAKB","author":"Faruk Tahsin <faruktahsin@gmail.com>","license":"Apache-2.0","homepage":"https://github.com/Faruktahsin/AI-Engineering-Toolkit#readme","repository":{"type":"git","url":"git+https://github.com/Faruktahsin/AI-Engineering-Toolkit.git"},"bugs":{"url":"https://github.com/Faruktahsin/AI-Engineering-Toolkit/issues"},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"dependencies":{"tiktoken":"^1.0.15","@aiet/schema":"1.0.2","@aiet/storage":"1.0.2","@aiet/domain":"1.0.2"},"devDependencies":{"@types/node":"^22.0.0","tsup":"^8.2.4","typescript":"^5.5.4","vitest":"^4.1.10"},"funding":{"type":"github","url":"https://github.com/sponsors/Faruktahsin"},"scripts":{"build":"tsup src/index.ts --format cjs,esm && tsc --emitDeclarationOnly","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist"},"_nodeVersion":"22.23.2","_id":"@aiet/compiler@1.0.2","dist":{"integrity":"sha512-OYnWOnNEqV9Rrh0+SAfA5pnuOEzBgqvf1Iqb5wjRnBp1HMEgX0SSuq1q38+Y0XXfi2U3qWuMZixr8Oe4+Fu7Ew==","shasum":"c2fdb6bdbcdfaae0ade02619aaa4e16818cb3782","tarball":"https://registry.npmjs.org/@aiet/compiler/-/compiler-1.0.2.tgz","fileCount":54,"unpackedSize":180280,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDiQtlL34j7VnbJFQdGG34fx54qiG7itUq0D/bqck9S3QIgGYB7HvmeCAlpS/rywRvIO4Kgxaeytsew0RRAz69+Ceg="}]},"_npmUser":{"name":"faruktahsin","email":"afaruktahsin@gmail.com"},"directories":{},"maintainers":[{"name":"faruktahsin","email":"afaruktahsin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/compiler_1.0.2_1786541453904_0.9380965890152073"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-08T20:34:48.153Z","modified":"2026-08-12T13:30:54.358Z","1.0.0":"2026-08-08T20:34:48.456Z","1.0.1":"2026-08-11T21:50:22.486Z","1.0.2":"2026-08-12T13:30:54.165Z"},"description":"Deterministic cl100k_base token profiler, priority ranker, and context compiler pipeline for PAKB","maintainers":[{"name":"faruktahsin","email":"afaruktahsin@gmail.com"}],"readme":"# `@aiet/compiler`\n\n> Deterministic context compiler and token budgeting engine for **AIET**.\n\n---\n\n## Features\n\n- **Multi-Stage Pipeline**: Filtering, priority scoring, budget fitting, and format output stages.\n- **Token Budget Enforcement**: Fits system instructions within tight token windows (e.g. $\\le 500$ tokens) using exact tokenizers (`cl100k_base`).\n- **Reproducible Artifacts**: SHA-256 JCS canonical hash generation for bit-for-bit identical preamble output builds.\n","readmeFilename":"","homepage":"https://github.com/Faruktahsin/AI-Engineering-Toolkit#readme","repository":{"type":"git","url":"git+https://github.com/Faruktahsin/AI-Engineering-Toolkit.git"},"author":"Faruk Tahsin <faruktahsin@gmail.com>","bugs":{"url":"https://github.com/Faruktahsin/AI-Engineering-Toolkit/issues"},"license":"Apache-2.0"}