{"_id":"@serkanalgur/opencodev2-slim","_rev":"21-301d974a81cc94f599658171838a0ba8","name":"@serkanalgur/opencodev2-slim","dist-tags":{"latest":"2.2.2"},"versions":{"1.0.0":{"name":"@serkanalgur/opencodev2-slim","version":"1.0.0","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@1.0.0","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"5d810021645b997a305fc31df37a1bac943d55c9","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-1.0.0.tgz","fileCount":15,"integrity":"sha512-p5CvOUjKfJmem9TQawtNQOH7Wvx2nFB+QaKEEaKCkQ+ebRhNpx8wq/5+p9sHCffdJkgZUgDfNgl5CX3iRby13Q==","signatures":[{"sig":"MEUCIFyVAILzUG6bUsU4GXYDH0uac6GqYOm0fda9+oU0A/ScAiEAtlBNHyUt/9p+O83FmY42G/Des9uuwLeS6keKtQMGPqs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76334},"main":"index.js","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"e8ca85dfe70dbc12d40b1b8d9cbd892b1adacbd5","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"serkanalgur","email":"kaisercrazy@gmail.com"},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"11.19.0","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"24.21.0","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.4.5","@opentui/solid":"^0.4.5","@opentui/keymap":"^0.4.5","@opencode-ai/plugin":"^1.18.29"},"peerDependencies":{"solid-js":">=1.0.0","@opentui/core":">=0.4.5","@opentui/solid":">=0.4.5","@opentui/keymap":">=0.4.5","@opencode-ai/plugin":">=1.18.29"},"peerDependenciesMeta":{"solid-js":{"optional":true},"@opentui/core":{"optional":true},"@opentui/solid":{"optional":true},"@opentui/keymap":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_1.0.0_1789944591170_0.4324156622079718","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@serkanalgur/opencodev2-slim","version":"1.0.1","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@1.0.1","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"6e691fb6d12b93baaf180383cea721e47b2fc168","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-1.0.1.tgz","fileCount":15,"integrity":"sha512-u4W92bby7Z3fs2Xv20Or/Yvd+E51rylbv+b09hZ43GPmEi8ybtLfCDgBAr8AEBXD8S8ZtrBSbMx1Pp2Y5oJSfg==","signatures":[{"sig":"MEUCICWwE2PoIir6PTCNCK1t1y5xfo33hOPIikPFr/Yql4SwAiEAuJMJQmttZU/sFpQ32r6d4szWJeaK5YX2viQhtMzYXeY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGoHpoFJzrYje4HoE5qIylaZQF1ZR2/hW5XBgpflu8uUAiBZ3eoGaXljRzxvMlt8ejTzBh5RwE9F2ilsKvCziG15bw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76334},"main":"index.js","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"8b210d96bd3241152030d571517f9b525c7255ee","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.4.5","@opentui/solid":"^0.4.5","@opentui/keymap":"^0.4.5","@opencode-ai/plugin":"^1.18.29"},"peerDependencies":{"solid-js":">=1.0.0","@opentui/core":">=0.4.5","@opentui/solid":">=0.4.5","@opentui/keymap":">=0.4.5","@opencode-ai/plugin":">=1.18.29"},"peerDependenciesMeta":{"solid-js":{"optional":true},"@opentui/core":{"optional":true},"@opentui/solid":{"optional":true},"@opentui/keymap":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_1.0.1_1789944835319_0.8950017928791953","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.0","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.0","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"9d5f34d1d647bb1b56345b744fbedd3ffa78cc7e","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.0.tgz","fileCount":15,"integrity":"sha512-CwrkSmqP7gMJXkJSwuZYg9eRvwXDAEMY6z8YT+Li6GAtovGsLR0CWGzw8s9uyCtjrF6MUvdZtt7ZmkDjojgXuQ==","signatures":[{"sig":"MEUCIHbVxcQUfcFdawLfFdgfqjY6gtiI6P2OztTF08jET3RSAiEA4sL2CX1YhA3smq6Ei+i/K21lKLG7lC6LFLtuz7Am0RY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCzFtX9QBL9KKBla7hfYAjBL8/Dx16eTd3wy4KHHaN+SwIgV6DyOCRW7RC0cZCwbUMEXV3X0o+/cT75JxDTaYtgApg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78075},"main":"index.js","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"c8baf247b63ccddeea705571cc66e21ef850e59c","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.10","@opentui/solid":"^0.5.10","@opentui/keymap":"^0.5.10","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0","@opencode-ai/plugin":"^1.18.29"},"peerDependencies":{"solid-js":">=1.0.0","@opentui/core":">=0.5.10","@opentui/solid":">=0.5.10","@opentui/keymap":">=0.5.10","@opencode-ai/sdk":">=1.18.29","@opencode/plugin":">=2.0.0","@opencode-ai/plugin":">=1.18.29"},"peerDependenciesMeta":{"solid-js":{"optional":true},"@opentui/core":{"optional":true},"@opentui/solid":{"optional":true},"@opentui/keymap":{"optional":true},"@opencode-ai/plugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.0_1789946200917_0.6728656802720505","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.1","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.1","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"6c57d18534e41b51620b876d79178bc1df77ce14","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.1.tgz","fileCount":15,"integrity":"sha512-KPK75s+UH8iwhfmPDl2O56I02L/Bas6b6ut8Xm/XSIKzn8tG5rXEAzkStkaEUTfX4y9fLsd2OJ7ZJJrb/MlsKQ==","signatures":[{"sig":"MEQCIB4VFnlrm3H/XusFc4ADpDPAvib6g44S77GbjSX4QIPyAiB+kH2Di/ZtN3y9jC5RY+Y812C4vXOgG8mYVwseR8hJzg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBTGalADr/WE3VLLw27GEGeVjZLIFzrNiT74TMyhMQ2AAiEA0x0Bbg9y5r3c+zDbRjhqnXZNoy4K25M/H5/wpXACYuo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78075},"main":"index.js","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"4d526f530ce66c2f9cf660c01b8fe5b5f5a0c1aa","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"serkanalgur","email":"kaisercrazy@gmail.com"},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"11.19.0","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"24.21.0","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.10","@opentui/solid":"^0.5.10","@opentui/keymap":"^0.5.10","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0","@opencode-ai/plugin":"^1.18.29"},"peerDependencies":{"solid-js":">=1.0.0","@opentui/core":">=0.5.10","@opentui/solid":">=0.5.10","@opentui/keymap":">=0.5.10","@opencode-ai/sdk":">=1.18.29","@opencode/plugin":">=2.0.0","@opencode-ai/plugin":">=1.18.29"},"peerDependenciesMeta":{"solid-js":{"optional":true},"@opentui/core":{"optional":true},"@opentui/solid":{"optional":true},"@opentui/keymap":{"optional":true},"@opencode-ai/plugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.1_1789946317816_0.7308284665680596","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.2","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.2","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"e71617e07869fcd5d3b2b38403b148468fa31069","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.2.tgz","fileCount":15,"integrity":"sha512-FO8HjXNjoieQIX9svEajGzugt5BEnJAHs95t9WDvRIL+dxtEnOnfbHISNI6UAsvOVMH+4s6HyPAObgA9vQpgHA==","signatures":[{"sig":"MEYCIQCHdlpPblTudY8FduaKS0MZPkuYnCQGneasV1rJ8Ha90QIhAI+7H48uXi5ntCt53SZqcNxFTfQ7IBAu8BZ0ZAsaKCEM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDj/rWYuVVVDNBGaXGQYvT+uWhGb6v+Ul6kSZPvkRzRIAIhAPNRuXhiV7SMKmFGfoIs81WeJTNB1Y7YlxXZAMNekqDT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78541},"main":"index.js","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"0cde7efa74341582024cb72ba2607e7e2c3f5e57","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.10","@opentui/solid":"^0.5.10","@opentui/keymap":"^0.5.10","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0","@opencode-ai/plugin":"^1.18.29"},"peerDependencies":{"solid-js":">=1.0.0","@opentui/core":">=0.5.10","@opentui/solid":">=0.5.10","@opentui/keymap":">=0.5.10","@opencode-ai/sdk":">=1.18.29","@opencode/plugin":">=2.0.0","@opencode-ai/plugin":">=1.18.29"},"peerDependenciesMeta":{"solid-js":{"optional":true},"@opentui/core":{"optional":true},"@opentui/solid":{"optional":true},"@opentui/keymap":{"optional":true},"@opencode-ai/plugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.2_1789947069028_0.579026335420072","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.3","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.3","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"874c00cd4f364fa7dfb6da1661f9c8401574df11","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.3.tgz","fileCount":15,"integrity":"sha512-/Qwt90ufi2NExjDXpxUCNAY4zZkzP4WlJcniEyJSSmPVFOy/J2Hnz62ZuN1ubVcVMbv2NitveIvL9eMB6+NbKg==","signatures":[{"sig":"MEYCIQCt/FN9sSA/Dw+jObF90F/c0aPzMMuy3JYK+55pkRBsRAIhANvmBvFKcFpr1/cgMiIhH/OJ+Mjlcmke0S1ZMMCtaRdS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBnt5H6YHUbC1YcLs/TGcS5xF98FvHzP5ZvJ9G71UUmVAiAm4j8dhW6+eY9hpaK1oNx16RsEbbHIrkcnPQFHu6Bm5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78217},"main":"index.js","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"042cbb14c4fa663313fa070e97f846b878414042","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.10","@opentui/solid":"^0.5.10","@opentui/keymap":"^0.5.10","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0","@opencode-ai/plugin":"^1.18.29"},"peerDependencies":{"solid-js":">=1.0.0","@opentui/core":">=0.5.10","@opentui/solid":">=0.5.10","@opentui/keymap":">=0.5.10","@opencode-ai/sdk":">=1.18.29","@opencode/plugin":">=2.0.0","@opencode-ai/plugin":">=1.18.29"},"peerDependenciesMeta":{"solid-js":{"optional":true},"@opentui/core":{"optional":true},"@opentui/solid":{"optional":true},"@opentui/keymap":{"optional":true},"@opencode-ai/plugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.3_1789948943042_0.7923852175864217","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.4","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.4","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"21516dfd0e44911333cd3cab43d2cd282161acbb","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.4.tgz","fileCount":11,"integrity":"sha512-emUXcSbLcwb2WzSG0+8OsvLa+UG32FirDOFwWwlu4/sUq6aWbF2uJnxOyigqaPUoVI/UMiLHMZHy/1jpJDeV3w==","signatures":[{"sig":"MEYCIQD5biiKsAOcsk4PYtOEPKK4aoY07P3A1auH+iuI9jikFAIhAOL8x5Mo7y8Q0Oc+aUWZYtNnuHwNDlhECKOArAWbe4D1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCdso+2QD1iXvIciMLu0udg5mez4wMVs3sQZw79dK7kJAIhAI9QlgHat/19ViF5IZbqO3Ka/bhbj58TbUXikchBIeTZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":55437},"main":"index.js","type":"module","exports":{".":"./src/index.ts"},"gitHead":"33d72e27a32c1566d35120607dbdc6bd15a8d4e4","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","typescript":"^5.7.0","@types/node":"^22.0.0","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.4_1789950246421_0.09918649382054112","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.5","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.5","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"1bb185f65f31460890f1e864dc04cbcbbc3345a2","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.5.tgz","fileCount":11,"integrity":"sha512-NIN46pj0T1L/ImCr+oo/StvA8HLz01gglovz9G+xikTVvV3Y5f1+vzrgXKlWbM3xbi5PHA4cjVNoTgxcsbY4/g==","signatures":[{"sig":"MEUCIFEjfrPdrRkhwVPPis/JB5Wa7y3kqOWn7/IuufUnoWBIAiEArEhxPXhz6Xyu3lhFR5VwP15KnmjKYjRSbnE75RkWhgk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCZCTzZo/RUDkXuSo2Vv7ibVPo3oDkr8hL4uew+GAmIWwIgM5Ry1R4+cZeyDOaTNs61Q2eI8Hury1lZ5/vdJaxtjr0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":55841},"main":"index.js","type":"module","exports":{".":"./src/index.ts"},"gitHead":"5441b95219725958e646bfc682e3168edce0e972","scripts":{"test":"node --import tsx --test tests/*.ts","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","typescript":"^5.7.0","@types/node":"^22.0.0","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.5_1789951224918_0.7499174751428395","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.6","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.6","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"aaf77f0bed277a3fe5626252c1decc497285737f","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.6.tgz","fileCount":12,"integrity":"sha512-jNY6LtWCcYXKYjFKj9K3i1K1EtvNmpQrg+CZsriqgt/7pUg+aoTlpx1XgBwCEXqWFo/n3/X40bBxHPHDQSiv5w==","signatures":[{"sig":"MEYCIQCdt8N8jy/Bo3NHizAD5JaKf5Max7KVBgdakY32c3Au4AIhAJ1/QyZ6U5eUtY+EdF0VAtKgkulSVNuosToTbQ9sCSOn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDhQ+0zbMAxakzOy8S7sXngjAgjsiS7yvVB4wOfctthnQIhANnSR9RytOxw5HhOvxuazE8/HKRSUghwtYutkRbB/QJe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":62812},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"1cc2d6fdde1a1340c3194b10dfa898801d00ff68","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","typescript":"^5.7.0","@types/node":"^22.0.0","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.6_1789956549201_0.15691279898446342","host":"s3://npm-registry-packages-npm-production"}},"2.0.7":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.7","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.7","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"a83da496a06a455d8b548f51afcaa3e311966690","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.7.tgz","fileCount":13,"integrity":"sha512-OzRUxg4/hugwOCuW0ERZNpk15QEtlOWFsbJhjyZA0NVn0wjBpsShJiyEJDpPhDu6Jmv2AUsW5tHl/XL7Hrmu6g==","signatures":[{"sig":"MEQCIHpIeo2iMGfwua0dCvoK1aDGC62hTTEUZkEODBaiXR6WAiBCAyOR3LT7BRHk28yzhHLtgJ5tz7uKBB8r385yA5ORhA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCY3sdjKBCCk38fVdzh7s391XhSKQVVVioO8HtDvAAgbAIhAKFvWIoIe/5De8kZMsRHXMeSaEbr+kZ7RlXvdz9P8hjL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":63778},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"e58628ab4c62f96267e2241f1e9916abc078a91a","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","typescript":"^5.7.0","@types/node":"^22.0.0","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.7_1789956958094_0.8218527660074255","host":"s3://npm-registry-packages-npm-production"}},"2.0.8":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.8","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.8","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"2eb283f938ee0123a3157f3b9328d4e4519eb41c","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.8.tgz","fileCount":13,"integrity":"sha512-ZN57smoI82zLmBZVngwDbJjrnnOVS0wL3Z+WvwZrzkU+Ff9vhmpf/h0qT79g+QWAyeCtVkM1m7kP0VkNCiiS3g==","signatures":[{"sig":"MEYCIQCn1LMMSy13TbSmw7A3xUvACOWqdu9QvZ7f18O3VkOB9gIhAKM53YFdEmZNI3+FKt022iwQy7Xj+uafrP2+dde9jkbB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCtZ63cYB6VAXmFFPOg+cO6Lkf+YfgLFvT35sfitU6hrwIgJvIOMpmkDMVB7I0gPWrwviJ6gsakNYEauTUs8Xn2da8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":64481},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"4ce065d391893d866cab81a166d7c5b4651534a2","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","typescript":"^5.7.0","@types/node":"^22.0.0","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.8_1789965514700_0.9972125710356619","host":"s3://npm-registry-packages-npm-production"}},"2.0.9":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.9","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.9","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"1692a7eb580a306d9be1be50bd45aea2f38dda8f","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.9.tgz","fileCount":13,"integrity":"sha512-+9r2gxL6PAnEG1OAXlzjcTnLayt2iBMehzVTAU6qHKWKVpOef4NUXZhtgMqWaSWAMg4WEv2fG3DgVo0K54RQtQ==","signatures":[{"sig":"MEUCIQDr7bsPE+fz1XlP9eXvTNXgk6TNVPb6N5JzSaBTFq6DogIgGESh8XxUls7K0aNBX57Ht1TdHxfpa2ZsiJC8NNNEYVo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCQgdODboID9Sh4w+ZI/Qq60l+LJR7IdU0eWoz/oEuMsAIhAPcQUs7eIjMmy9kGx63DXyY2gavyiEATmx0R+ZHEyXuF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70011},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"e14464fe60bad04ecf6c68e08292a4e1b24eb75a","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","typescript":"^5.7.0","@types/node":"^22.0.0","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.9_1789966255188_0.007740146505723411","host":"s3://npm-registry-packages-npm-production"}},"2.0.11":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.11","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.11","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"13a66ae43cd27fe725ad446c8433aee087becebb","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.11.tgz","fileCount":13,"integrity":"sha512-FHCbByEOYqyetBFtKG5Tb025Y7kbPTydfNkIPFvO2NDsn6RAvgvHNF/Gp6JusmcWpufqJRw9/5TjDjp+MdEGMA==","signatures":[{"sig":"MEUCIEY/uSePfxlmqV9A53F8/jdrToruY6m70FVeqHmy/kgQAiEAwSUAmR0EkTg292vMZn/1/vYSpr2P/7LFaKcRIKPNnL8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIE+GEUQCHMsWhXRXBuZRs/C9sRIqsmF8fy+4ibX/SOgoAiABXNeSISb34+Z/k7o9zu2++OzqkIspsKHnJOQb1QQETQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70879},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"15784b172c54368e155d873fea0b44c48dc11236","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.11_1789968061885_0.21122074524495127","host":"s3://npm-registry-packages-npm-production"}},"2.0.12":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.12","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.12","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"8bb3de33278a6f447caa0727478aa1137d9d2349","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.12.tgz","fileCount":13,"integrity":"sha512-oMoNUTB8DxiYEsH8PEO877XnbTro5Fcq3pobvamy6NRZbPJ2T33WbIzwrRfabl7CQRgSmw01RRZudB7EKV7z9A==","signatures":[{"sig":"MEUCICs9/S6IY1YGiuolvU0ju+covCxa7L1PWbHmA1ePqi/ZAiEA9N1umyBlszEc6g6h9VKG+7RSX8VKuVCQJr+5mzrU9mQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIH69V02B4JCubOU2oP1yvAvs2jRMjb3oCliLZoMmM23VAiEAhXGX/Le/5VveOgeX1lB6rQyvxtsOT/6JsY2sHzdUUfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":74464},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"dc012cb5667c60bbf7606b344e8aebbed2eb1d28","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.12_1789968839618_0.7560878387633092","host":"s3://npm-registry-packages-npm-production"}},"2.0.13":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.13","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.13","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"a6e2d22df2e17560edea8f66bc222f10a7cc6284","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.13.tgz","fileCount":13,"integrity":"sha512-EYuo5tbDSiINoPl0m0VavqYnU1cp136DO1LoS0T3sKpH+GXWok3Crd3bnIVSDeZ5DTziykTM1ger+sboOrteXw==","signatures":[{"sig":"MEUCIBTl73mN8Skpf+5IADw3zJZv6+BjwJ/MmoS6UCtr59ewAiEAxoiC0jfYpL+EHo8++U9+NpUOtKfSm6lTKLcUDNC36UY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCJxhUyPfjUtnR2NVl1udRbFi8JYCkgMT7TSkMOaPj8ZwIhAMhVPmXDxEoEiZUeeisf6fIAXJBWfMokoPRVph2UFQaH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77721},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"0fdac1a7322e570e42e5049e72c2e394aff6b59a","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.13_1789969617088_0.5977722666726195","host":"s3://npm-registry-packages-npm-production"}},"2.0.14":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.14","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.14","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"dd42bd052e73e859952ff219fb6772f3aa349080","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.14.tgz","fileCount":13,"integrity":"sha512-DsY0b4PPtjxWXB5A4ROESfv5sBpzS80lYZD9qvbT8BAW04WEjvRHQb0VO+8VmJ61b/j0X/ZLMKzTfb1ZyjOndA==","signatures":[{"sig":"MEUCIASYHCKkP1cTpteanJxqGgnbP576nOxWqxVddMy+OQVoAiEAjYqgBkCjoExrrsJ7K8P+R+yy2kSuVehOgEjW94rBCJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIH3hIA41y6XGWd1nEwJyWvEeVHwGpSAXJ6dzBYxoRHdOAiAjhzrVNFRI3OmAyJYdtLU3dm7+U3q8t4gCxpX7TJbTmg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":105663},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"c532bd7e8aac515fd3465ccdf7e3c5d105dbc965","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.14_1789974013025_0.7693607857159468","host":"s3://npm-registry-packages-npm-production"}},"2.0.15":{"name":"@serkanalgur/opencodev2-slim","version":"2.0.15","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.0.15","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"03be6baccb3f1419d87386e66f88cbb0cb2a1175","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.0.15.tgz","fileCount":13,"integrity":"sha512-hNwt5yLSOkG6+seB6ti3UMJ7Vg7VWZVgHJcKVpe6ko1rvm1YqUZKoUO8Nw4UPAZ1ov5QUbx2QppNKeIbUaz8vw==","signatures":[{"sig":"MEUCIQCOiHoVFAI0BK61/rkbFtsGVvzNU/HKxWhb2XW66AkSdgIgIq7+DsfBUmw3Oq3xYiDKMaDfqMdsF6sZPxilCecPGnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHaBEddABS5xZ/InyZ3mqjvPWm7gxmPW8dwfsUXYQdgqAiAoT3UDgLAjX21/hklDsqxb7qBoe/101dvjzcQQlJ8m+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.0.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":110983},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"9ae68232c5c449f9e21baeb947bee16bbf7ae3dc","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.0.15_1789990444394_0.7228639122519918","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@serkanalgur/opencodev2-slim","version":"2.1.0","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.1.0","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"e53b1b13f4c2a29d4dd967b833180f8524363df5","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.1.0.tgz","fileCount":13,"integrity":"sha512-Kyu50c4UBRI0kY1iwMEFMqEWFdzXsJz8KGqc5wkAlE1jp/eUp2qqmX4Ij9yTL7UuQDJXLDAZ7BY2ebzKK2Ni1Q==","signatures":[{"sig":"MEUCIQDkCDW+SUVYQAAJ91E3i5xs8ibYsg7xTxH9nYBqyCI8qwIgHDQinrXVPW4Gn/SI87p7mR+T1XvwlXVf2Eb+Xmk/WXQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCq+9P2GyFLt2KtAe2syOGrvInT0EBdy4rm5a06ayKyRQIhAID7DRcLRSfiWTyQcSmABVuGmBwADkmG9vuR+oWmkE0X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":126392},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"9f98ae3426fb6cddfaa23a383a2bbda780eb2446","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.0.2","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.1.0_1790108114041_0.7273844009736912","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@serkanalgur/opencodev2-slim","version":"2.2.0","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.2.0","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"9f52ab7937d51e958a49ed7b895641aaa28dca29","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.2.0.tgz","fileCount":13,"integrity":"sha512-seBX+srZwWQ/d4OCO7GgUL1s1AaROfx/54LU6loLf+eLI2lmxiKeUSzk2T+6SF62/X/mrMvxwTcDqIKXFWcuDA==","signatures":[{"sig":"MEQCIDaSIMTp9+NOREl06ZqdQ/atxbf6P5Biil9riHHt3uvmAiA39KmpGvMgxSR1CysD1HNvsr5jqQxtA1lc0dwwzu8zMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCgL9qM5q5vwPPvCvQ5b3MjAaGB4CyAiNkSqHK4odCQJQIgR+tcfTBmYJisWYZ16WkRa5GDJ4IhdFvgB4JiqHq8gro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":138272},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"6ba51f923be461b31a5a231771c3b7464fd0781c","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.1.0","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.2.0_1790109021735_0.4962466064157238","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"@serkanalgur/opencodev2-slim","version":"2.2.1","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"author":{"name":"serkanalgur"},"license":"MIT","_id":"@serkanalgur/opencodev2-slim@2.2.1","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"ea9e43c0d4f1527af5209f32213ceb959f41dfd2","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.2.1.tgz","fileCount":13,"integrity":"sha512-iIIEF8xqJQmDSzhuU5ZzLCXIqKcq0m0j2kobkz8uWHIlYn2D9PPS9nKw1ji9TeXA+SZwNoQ7uuNRPM39Av4U3Q==","signatures":[{"sig":"MEUCIBkI4qvAcDu/ILZ7AubXfdeROZ/haRO+mL0qIQ79dG+tAiEA8meHJ+9oVVb+ciAdI5ALjoXN2QiAXCh1a8BfTASGY4c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCRGvSyrR0dloylsHuKPIf3rIFYa2t+055FWydCek5O5QIgDYBTZ5QzpUgIJaXJtqzyCctHB4Brsclfr1sA2FxnC/8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":140023},"main":"./src/index.ts","type":"module","exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"bcece487a84cb7c2de2bb968245ab24d20d3ed45","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.1.0","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/opencodev2-slim_2.2.1_1790142871149_0.2929153096658499","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"_id":"@serkanalgur/opencodev2-slim@2.2.2","bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"dist":{"shasum":"bc93bad1489012acc46d3221a04f23519c334639","tarball":"https://registry.npmjs.org/@serkanalgur/opencodev2-slim/-/opencodev2-slim-2.2.2.tgz","fileCount":13,"integrity":"sha512-VjEQFybcpryzlgG+uFP0UogXYStIS+GZpw183wMFcCCq4pztR9ceOzPtkZnbl/tL6M03Q11dwEoIILRKgwD4Qg==","signatures":[{"sig":"MEUCIQDj4zBNj/o1dpjTlaqcNLc2M66qTiUdsNQinFD/XacPHgIgPCUuHrRpQ+8Sf0/ftieXA+ESomqST/08GekV2fXo+N8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDNAqhNJmHvTM9PeW9CzE1B5vAaCPDUmfCC3Ix6o9ifgwIgFR76u+3b6UVbzZxN6V40DiDC0MvpKQxRhJ3HweIaOV0="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@serkanalgur%2fopencodev2-slim@2.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":141117},"main":"./src/index.ts","name":"@serkanalgur/opencodev2-slim","type":"module","author":{"name":"serkanalgur"},"exports":{".":"./src/index.ts","./tui":"./src/tui.tsx"},"gitHead":"2bdcf7e04b1e61570f5939049101cddcaed24046","license":"MIT","scripts":{"test":"node --import tsx --test tests/*.ts","build":"tsc","format":"prettier --write .","typecheck":"tsc --noEmit","format:check":"prettier --check ."},"version":"2.2.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:52c9ccb1-4351-4541-af64-148f9745b79e"}},"homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"_npmVersion":"12.1.0","description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","directories":{"test":"tests"},"maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"_nodeVersion":"22.23.2","dependencies":{"jsonc-parser":"^3.3.1","@anthropic-ai/tokenizer":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","prettier":"^3.4.0","solid-js":"^1.9.12","typescript":"^5.7.0","@types/node":"^22.0.0","@opentui/core":"^0.5.11","@opentui/solid":"^0.5.11","@opencode-ai/sdk":"^1.18.29","@opencode/plugin":"^2.0.0"},"peerDependencies":{"solid-js":">=1.9.0","@opentui/core":">=0.5.8","@opentui/solid":">=0.5.8","@opencode/plugin":">=2.0.0"},"peerDependenciesMeta":{"@opencode-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencodev2-slim_2.2.2_1790143484901_0.9439203155490907"}}},"time":{"created":"2026-09-20T22:49:51.034Z","modified":"2026-09-23T06:04:45.327Z","1.0.0":"2026-09-20T22:49:51.315Z","1.0.1":"2026-09-20T22:53:55.404Z","2.0.0":"2026-09-20T23:16:40.997Z","2.0.1":"2026-09-20T23:18:37.883Z","2.0.2":"2026-09-20T23:31:09.108Z","2.0.3":"2026-09-21T00:02:23.129Z","2.0.4":"2026-09-21T00:24:06.509Z","2.0.5":"2026-09-21T00:40:25.000Z","2.0.6":"2026-09-21T02:09:09.285Z","2.0.7":"2026-09-21T02:15:58.179Z","2.0.8":"2026-09-21T04:38:34.799Z","2.0.9":"2026-09-21T04:50:55.274Z","2.0.11":"2026-09-21T05:21:01.968Z","2.0.12":"2026-09-21T05:33:59.710Z","2.0.13":"2026-09-21T05:46:57.170Z","2.0.14":"2026-09-21T07:00:13.126Z","2.0.15":"2026-09-21T11:34:04.482Z","2.1.0":"2026-09-22T20:15:14.261Z","2.2.0":"2026-09-22T20:30:21.819Z","2.2.1":"2026-09-23T05:54:31.229Z","2.2.2":"2026-09-23T06:04:45.003Z"},"bugs":{"url":"https://github.com/serkanalgur/opencodev2-slim/issues"},"author":{"name":"serkanalgur"},"license":"MIT","homepage":"https://github.com/serkanalgur/opencodev2-slim#readme","keywords":["opencode","opencode-plugin","context","compression","pruning","tokens","semantic"],"repository":{"url":"git+https://github.com/serkanalgur/opencodev2-slim.git","type":"git"},"description":"Smart context management plugin for OpenCode v2 - semantic compression, cost-aware pruning, adaptive thresholds","maintainers":[{"name":"serkanalgur","email":"kaisercrazy@gmail.com"}],"readme":"# opencodev2-slim\n\n[![npm version](https://img.shields.io/npm/v/@serkanalgur/opencodev2-slim.svg)](https://www.npmjs.com/package/@serkanalgur/opencodev2-slim)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nSmart context management plugin for OpenCode v2. Optimizes token usage through semantic compression, cost-aware pruning, and adaptive thresholds.\n\n## Features\n\n- **TUI Panel** - Rich context usage visualization with status indicators\n- **Enhanced Compress** - Auto/range/topic modes for flexible compression\n- **Semantic Compression** - Groups related tool calls and compresses them intelligently\n- **Cost-Aware Pruning** - Considers token pricing when deciding what to compress\n- **Adaptive Thresholds** - Learns from compression history to optimize timing\n- **Session Persistence** - Saves state across restarts\n- **Deduplication** - Removes repeated tool calls automatically\n- **Error Purging** - Cleans up failed tool call outputs after configurable turns\n- **Topic Extraction** - Identifies and tracks conversation topics\n- **Smart Recommendations** - Provides actionable suggestions for context optimization\n\n## Installation\n\n```bash\nopencode plugin @serkanalgur/opencodev2-slim@latest --global\n```\n\nThis installs the plugin globally. The TUI features (panel, slash commands) are automatically loaded when OpenCode starts.\n\n### Manual Installation\n\nIf the CLI command doesn't work, add to your `~/.config/opencode/opencode.json`:\n\n```json\n{\n  \"plugins\": [\"@serkanalgur/opencodev2-slim\"]\n}\n```\n\n## Usage\n\n### Slash Commands\n\nAfter installation, these slash commands are available in the TUI:\n\n- `/panel` — Opens the rich TUI panel with context usage, stats, and help\n- `/compress` — Shows instructions for using the compress tool\n\n### TUI Panel\n\nThe panel provides a real-time overview of your context usage, including:\n- Token usage vs model limit with visual progress bar\n- Message breakdown by role (user/assistant/tools)\n- Compression history and savings\n- Cost estimation based on your model\n- Smart recommendations for optimization\n\n### Compress Tool\n\nThe enhanced compress tool supports multiple modes:\n\n```typescript\n// Auto mode (default) - intelligently selects what to compress\ncompress({ focus: \"old exploration\" })\n\n// Range mode - compress specific message range\ncompress({ focus: \"completed tasks\", mode: \"range\", start: 0, end: 50 })\n\n// Topic mode - compress messages matching a topic\ncompress({ focus: \"database work\", mode: \"topic\", topic: \"database\" })\n```\n\n## Configuration\n\nCreate `~/.config/opencode/slim.jsonc`:\n\n```jsonc\n{\n    \"enabled\": true,\n    \"compress\": {\n        \"enabled\": true,\n        \"permission\": \"allow\",\n        \"maxContextLimit\": \"80%\",\n        \"minContextLimit\": \"40%\",\n        \"nudgeFrequency\": 5,\n        \"protectUserMessages\": false,\n        \"protectedTools\": [\"task\", \"skill\", \"todowrite\", \"todoread\"]\n    },\n    \"strategies\": {\n        \"deduplication\": {\n            \"enabled\": true,\n            \"protectedTools\": []\n        },\n        \"purgeErrors\": {\n            \"enabled\": true,\n            \"turns\": 4,\n            \"protectedTools\": []\n        }\n    },\n    \"adaptive\": {\n        \"enabled\": true,\n        \"learningRate\": 0.1,\n        \"minCompressionRatio\": 0.3\n    },\n    \"costAware\": {\n        \"enabled\": true,\n        \"cacheBoostFactor\": 0.5\n    },\n    \"persistence\": {\n        \"enabled\": true,\n        \"directory\": \"~/.config/opencode/slim\"\n    }\n}\n```\n\n## How It Works\n\n### Semantic Compression\n\nUnlike simple text truncation, slim analyzes the semantic content of messages and groups related tool calls together. This preserves context while removing redundancy.\n\n### Cost-Aware Pruning\n\nSlim considers the cost of tokens when deciding what to compress. It prioritizes compressing expensive operations (like large file reads) while preserving cheap but important context.\n\n### Adaptive Thresholds\n\nThe plugin learns from your compression patterns and adjusts thresholds over time. If you tend to need more context, it will compress less aggressively. If you're efficient, it will compress more.\n\n### Session Persistence\n\nState is saved to disk, so compression history and learning persist across restarts.\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/panel` | Open the Slim TUI panel with context usage, stats, and help |\n| `/compress` | Show instructions for using the compress tool |\n\nNote: Compression is performed by the AI assistant using the `compress` tool. The slash command provides guidance on usage.\n\n## Changelog\n\n### 2.0.13\n\n- Fix `/panel` in the TUI not reflecting real context usage:\n  - The TUI command now reads live server measurements (`Session.Info.tokens` + `cost` + `model` + context window) via `context.client.session.get()` and prints them (measured tokens, %, cost, model) at the bottom of the panel, matching what the `panel` tool reports.\n  - Resolve the active session from `context.ui.router.current()` instead of a non-existent `context.router`, so the panel targets the focused session rather than always the first one.\n  - Call `context.data.session.message.sync()` before reading the transcript so stats aren't computed from an empty/stale cache.\n\n### 2.0.12\n\n- Bind panel/nudge to real OpenCode context measurements:\n  - Resolve the active model's real context window from `ctx.model.default().data.limit.context` instead of the hard-coded 200k.\n  - `/panel` now reads live server measurements (`Session.Info.tokens` + `cost`) via `ctx.session.get()` and feeds them to `buildPanelData`, so the headline tokens/percent/cost match what OpenCode's UI reports.\n  - The nudge decision prefers the measured token count over the rough 4-char estimation.\n\n### 2.0.11\n\n- Fix CI publish: add `solid-js`, `@opentui/core`, `@opentui/solid` to `devDependencies`.\n  The workflow runs `npm ci --legacy-peer-deps`, which skips peer deps, so loading\n  `@opencode/plugin/tui` failed with `Cannot find package 'solid-js'`.\n\n### 2.0.10\n\n- Fix `/panel` output showing `User tokens: 0`: user/system messages carry their text\n  on a top-level `text` field (not inside `content`), which `deriveStats` now captures.\n- Add regression tests for CLI panel stats.\n\n### 2.0.9\n\n- `feat(panel-as-message)`: `/panel` and `slim-panel` now print the context stats as plain\n  text into the message stream via `client.session.synthetic`, instead of taking over\n  OpenCode's own panel UI (`session.panel` slot + `ui.panel.open` removed).\n- The TUI panel now derives its own stats (token estimate, role breakdown, tool/compaction\n  counts) directly from the session transcript rather than deferring to the server tool.\n\n### 2.0.8\n\n- Fix `keymap.provider is missing` in the CLI plugin: register the keymap layer inside\n  an `app` slot render (where the keymap provider is available) instead of in `setup()`.\n\n### 2.0.7\n\n- Fix `Cannot find package 'react'` when the plugin is loaded from the global npm cache:\n  add a per-file `/** @jsxImportSource @opentui/solid */` pragma to `src/tui.tsx` so JSX\n  always compiles against `@opentui/solid/jsx-runtime`\n- Ship `tsconfig.json` in the published package so loaders that read `jsxImportSource` from config pick it up\n\n### 2.0.6\n\n- Add real `compaction` hook so history actually shrinks (the `context` hook only affects the outgoing request)\n- Resolve the active model's real context limit instead of hard-coding 200k\n- Register `compress`/`panel` tools with `options.codemode` so they appear in agent/codemode environments\n- Fix token-by-role panel bug where `tools` always equalled zero\n- Replace toast-only CLI panel with a real `session.panel` slot (`slim-panel` / `/panel`)\n- Add regression test for the tool-token bucket\n\n### 2.0.3\n\n- Fix v2 API compatibility issues\n- Remove namespace from tool registration\n- Handle both v1 and v2 message part types\n- Make context hooks synchronous\n\n### 2.0.2\n\n- Update README documentation\n- Add GitHub Actions workflow for automated npm publish\n\n### 2.0.1\n\n- Fix npm publish conflict\n\n### 2.0.0\n\n**Breaking Changes:** Migrated to OpenCode v2 plugin API.\n\n- Migrate from `@opencode-ai/plugin` to `@opencode/plugin`\n- Use `Plugin.define()` pattern instead of server function\n- Register tools via `ctx.tool.transform()` with JSON Schema input\n- Replace experimental hooks with `ctx.session.hook()`\n- Replace event callback with `ctx.event.subscribe()`\n- Update cleanup to use setup return function\n- Minimum OpenCode version: 2.0.0\n\n### 1.0.1\n\n- Initial release\n\n## License\n\nMIT\n","readmeFilename":"README.md"}