{"_id":"@ch4acko3/dsh-shiki","_rev":"4-352f28d381f1e88fce5c90d55ea761a0","name":"@ch4acko3/dsh-shiki","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@ch4acko3/dsh-shiki","version":"0.1.0","keywords":["deepseek-harness","dsh","dsh-plugin","shiki","syntax-highlighting"],"license":"MIT","_id":"@ch4acko3/dsh-shiki@0.1.0","maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"homepage":"https://github.com/CH4ACKO3/dsh-render-engine#readme","bugs":{"url":"https://github.com/CH4ACKO3/dsh-render-engine/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web","immediately":true},"plugin":{"summary":{"en":"A shared Shiki tokenization service for DSH Web plugins.","zh-CN":"为 DSH Web 插件提供共享的 Shiki 代码分词服务。"},"category":"development","displayName":{"en":"Shiki Engine","zh-CN":"Shiki 引擎"},"schemaVersion":1}},"dist":{"shasum":"27dfd0fad157d8a15780e88ea45d2be6c30d0491","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-shiki/-/dsh-shiki-0.1.0.tgz","fileCount":18,"integrity":"sha512-5HkzDYku284YbamCwtKzi8tYAh1mDWg11S+9M7tbNvUkqrQogWgdDhspVjFTmGAbghwB59ZHyrqxtCjkrGiaNg==","signatures":[{"sig":"MEUCIDozVjs9oMw1yEf8+M59lj+lx2oiq/XF0lYk28Lf3My2AiEAthuGGIUL/9PkeXMiAHW8BGazTQxcqd3DR8chgP84bpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5709985},"main":"./lib/index.js","type":"module","_from":"file:/tmp/dsh-render-engine-release-0.1.0.60gNwO/dsh-shiki.tgz","types":"./lib/index.d.ts","engines":{"node":"^22.22.3 || >=24.11.1"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json"},"scripts":{"test":"tsc -p tsconfig.test.json && node --test .test-build/test/*.test.js","build":"pnpm run build:client && pnpm run build:host","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit","build:host":"tsc -p tsconfig.json","build:client":"tsdown --config-loader unrun && tsc -p tsconfig.client.build.json"},"_npmUser":{"name":"ch4acko3","email":"ch4acko3@outlook.com"},"_resolved":"/tmp/dsh-render-engine-release-0.1.0.60gNwO/dsh-shiki.tgz","_integrity":"sha512-5HkzDYku284YbamCwtKzi8tYAh1mDWg11S+9M7tbNvUkqrQogWgdDhspVjFTmGAbghwB59ZHyrqxtCjkrGiaNg==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/shiki"},"_npmVersion":"11.19.0","description":"Shared Shiki engine service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.16.0","dependencies":{"shiki":"^4.3.1","@shikijs/langs":"^4.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-client-runtime":"0.1.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/dsh-shiki_0.1.0_1787265150067_0.0112119825182182","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ch4acko3/dsh-shiki","version":"0.1.1","keywords":["deepseek-harness","dsh","dsh-plugin","shiki","syntax-highlighting"],"license":"MIT","_id":"@ch4acko3/dsh-shiki@0.1.1","maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"homepage":"https://github.com/CH4ACKO3/dsh-render-engine#readme","bugs":{"url":"https://github.com/CH4ACKO3/dsh-render-engine/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web","immediately":true},"plugin":{"summary":{"en":"A shared Shiki tokenization service for DSH Web plugins.","zh-CN":"为 DSH Web 插件提供共享的 Shiki 代码分词服务。"},"category":"development","displayName":{"en":"Shiki Engine","zh-CN":"Shiki 引擎"},"schemaVersion":1}},"dist":{"shasum":"0930f047416bc5b3e38155322ad0217c149b8e13","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-shiki/-/dsh-shiki-0.1.1.tgz","fileCount":18,"integrity":"sha512-yWj4N7VnvwWdgwGa08T3cIR70DS2rugkB5MzkoIrmOgZ1OiUfjtgT0iFTqRDbPdepkWwZHT1FzhySnV/Nc069Q==","signatures":[{"sig":"MEUCIQCESRbkctYJtKIf6VFosmgNQ6NeQN14G8x8mI0pSiuEUQIgfjOYFhP3/181a1nMOo3fGYsPL6Z7nNpX3IuNbb+e+Hs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-shiki@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5716884},"main":"./lib/index.js","type":"module","_from":"file:/home/runner/work/_temp/dsh-shiki.tgz","types":"./lib/index.d.ts","engines":{"node":"^22.22.3 || >=24.11.1"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json"},"scripts":{"test":"tsc -p tsconfig.test.json && node --test .test-build/test/*.test.js","build":"pnpm run build:client && pnpm run build:host","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit","build:host":"tsc -p tsconfig.json","build:client":"tsdown --config-loader unrun && tsc -p tsconfig.client.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:922a1d11-8b96-4663-adb8-62c7d7f9255f"}},"_resolved":"/home/runner/work/_temp/dsh-shiki.tgz","_integrity":"sha512-yWj4N7VnvwWdgwGa08T3cIR70DS2rugkB5MzkoIrmOgZ1OiUfjtgT0iFTqRDbPdepkWwZHT1FzhySnV/Nc069Q==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/shiki"},"_npmVersion":"11.19.0","description":"Shared Shiki engine service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.11.1","dependencies":{"shiki":"^4.3.1","@shikijs/langs":"^4.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-client-runtime":"0.1.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/dsh-shiki_0.1.1_1787285151324_0.06662781401827766","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ch4acko3/dsh-shiki","version":"0.1.2","keywords":["deepseek-harness","dsh","dsh-plugin","shiki","syntax-highlighting"],"license":"MIT","_id":"@ch4acko3/dsh-shiki@0.1.2","maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"homepage":"https://github.com/CH4ACKO3/dsh-render-engine#readme","bugs":{"url":"https://github.com/CH4ACKO3/dsh-render-engine/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web","immediately":true},"plugin":{"summary":{"en":"A shared Shiki tokenization service for DSH Web plugins.","zh-CN":"为 DSH Web 插件提供共享的 Shiki 代码分词服务。"},"category":"development","displayName":{"en":"Shiki Engine","zh-CN":"Shiki 引擎"},"schemaVersion":1}},"dist":{"shasum":"9019fb545650dbe09e8ae64ee55dab2167012903","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-shiki/-/dsh-shiki-0.1.2.tgz","fileCount":18,"integrity":"sha512-Bu+FEF3Ovq4uB496Mf4cZ/yg0uk7O0FYdwSuBMUcokA1YrltBdz0eMckACxAem/6FB4jzMM5ogFYZthkX1USIg==","signatures":[{"sig":"MEUCIQCwdPI/6NyxwHuPGkcvko8PYcYAvdRz7KZ434chTIT/kwIgF0Re7ST3U0LjCP9HL5hNWztzYWTMHSKmKRgodnsIbw8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-shiki@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5716886},"main":"./lib/index.js","type":"module","_from":"file:/home/runner/work/_temp/dsh-shiki.tgz","types":"./lib/index.d.ts","engines":{"node":"^22.22.3 || >=24.11.1"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json"},"scripts":{"test":"tsc -p tsconfig.test.json && node --test .test-build/test/*.test.js","build":"pnpm run build:client && pnpm run build:host","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit","build:host":"tsc -p tsconfig.json","build:client":"tsdown --config-loader unrun && tsc -p tsconfig.client.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:922a1d11-8b96-4663-adb8-62c7d7f9255f"}},"_resolved":"/home/runner/work/_temp/dsh-shiki.tgz","_integrity":"sha512-Bu+FEF3Ovq4uB496Mf4cZ/yg0uk7O0FYdwSuBMUcokA1YrltBdz0eMckACxAem/6FB4jzMM5ogFYZthkX1USIg==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/shiki"},"_npmVersion":"11.19.0","description":"Shared Shiki engine service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.11.1","dependencies":{"shiki":"^4.3.1","@shikijs/langs":"^4.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-client-runtime":">=0.1.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/dsh-shiki_0.1.2_1787438751237_0.3722343474694847","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"_id":"@ch4acko3/dsh-shiki@0.1.3","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":[],"platform":"web","immediately":true},"plugin":{"summary":{"en":"A shared Shiki tokenization service for DSH Web plugins.","zh-CN":"为 DSH Web 插件提供共享的 Shiki 代码分词服务。"},"category":"development","displayName":{"en":"Shiki Engine","zh-CN":"Shiki 引擎"},"schemaVersion":1}},"bugs":{"url":"https://github.com/CH4ACKO3/dsh-render-engine/issues"},"dist":{"shasum":"29aaaf9bb8ae8b1147e17acf94606e4a3c90f2c6","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-shiki/-/dsh-shiki-0.1.3.tgz","fileCount":18,"integrity":"sha512-rJ823jLGv36lFIOZbr1mES4m/u/P0O2yB4wJMY0RMZTk4yvY01iZHT4SxV6G6HSezIDoMEhNtKgh6gwqys1IXw==","signatures":[{"sig":"MEUCIAJ8g9xT9pwbQfc++EdF7V2S+0HtFZxqmI2VOQ0+UpwPAiEArC04OzDEvT2QxErCtdDuX9/h344gN1kIYE/zR31gajU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBFkI+6pWLh5j1rl0vzi/S9Mda7FZDg6pz84LOj3cAdiAiEA8fAfYMO5Hy64fmxfSWcK/As0nETuQ9tkYjTqKjc3mUk="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-shiki@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5716776},"main":"./lib/index.js","name":"@ch4acko3/dsh-shiki","type":"module","_from":"file:/home/runner/work/_temp/dsh-shiki.tgz","types":"./lib/index.d.ts","engines":{"node":"^22.22.3 || >=24.11.1"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json"},"license":"MIT","scripts":{"test":"tsc -p tsconfig.test.json && node --test .test-build/test/*.test.js","build":"pnpm run build:client && pnpm run build:host","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit","build:host":"tsc -p tsconfig.json","build:client":"tsdown --config-loader unrun && tsc -p tsconfig.client.build.json"},"version":"0.1.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:922a1d11-8b96-4663-adb8-62c7d7f9255f"}},"homepage":"https://github.com/CH4ACKO3/dsh-render-engine#readme","keywords":["deepseek-harness","dsh","dsh-plugin","shiki","syntax-highlighting"],"_resolved":"/home/runner/work/_temp/dsh-shiki.tgz","_integrity":"sha512-rJ823jLGv36lFIOZbr1mES4m/u/P0O2yB4wJMY0RMZTk4yvY01iZHT4SxV6G6HSezIDoMEhNtKgh6gwqys1IXw==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/shiki"},"_npmVersion":"11.19.0","description":"Shared Shiki engine service for DeepSeek Harness Web plugins","directories":{},"maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"_nodeVersion":"24.11.1","dependencies":{"shiki":"^4.3.1","@shikijs/langs":"^4.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-shiki_0.1.3_1789824793927_0.5381285332812429"}}},"time":{"created":"2026-08-20T22:32:29.935Z","modified":"2026-09-19T13:33:14.426Z","0.1.0":"2026-08-20T22:32:30.278Z","0.1.1":"2026-08-21T04:05:51.531Z","0.1.2":"2026-08-22T22:45:51.438Z","0.1.3":"2026-09-19T13:33:14.089Z"},"bugs":{"url":"https://github.com/CH4ACKO3/dsh-render-engine/issues"},"license":"MIT","homepage":"https://github.com/CH4ACKO3/dsh-render-engine#readme","keywords":["deepseek-harness","dsh","dsh-plugin","shiki","syntax-highlighting"],"repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/shiki"},"description":"Shared Shiki engine service for DeepSeek Harness Web plugins","maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"readme":"# @ch4acko3/dsh-shiki\n\nA browser-side Cordis service that owns one lazily created Shiki engine for DeepSeek Harness Web plugins.\n\n```ts\nexport const inject = ['shiki']\n\nexport function apply(ctx) {\n  const result = ctx.shiki.tokenize({\n    code: 'const answer = 42',\n    language: 'ts',\n  })\n  console.log(result.lines)\n}\n```\n\n`resolveLanguage()` accepts common aliases, including `patch` for the bundled `diff` grammar. `tokenize()` requires a supported language and returns Shiki tokens using DSH's `--shiki-*` CSS variables. Its `lineEndings` field preserves the source's original LF, CRLF, or CR separators.\n","readmeFilename":"README.md"}