{"_id":"@ch4acko3/dsh-ansi-render","_rev":"5-d3a151f23579c7346b0aaf9376b76a6e","name":"@ch4acko3/dsh-ansi-render","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@ch4acko3/dsh-ansi-render","version":"0.1.0","keywords":["deepseek-harness","dsh","dsh-plugin","ansi","terminal","log-rendering"],"license":"MIT","_id":"@ch4acko3/dsh-ansi-render@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":"Renders ANSI terminal output as escaped, browser-safe HTML.","zh-CN":"将 ANSI 终端输出渲染为经过转义的浏览器安全 HTML。"},"category":"development","displayName":{"en":"ANSI Render","zh-CN":"ANSI 终端渲染"},"schemaVersion":1}},"dist":{"shasum":"51b83b4ba91cab3241da2a861f12d6de8ac97d80","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-ansi-render/-/dsh-ansi-render-0.1.0.tgz","fileCount":16,"integrity":"sha512-O+6I/CZiveuo1KZBfPCQLLudxfjZ2TiNGEjSSDVsOGHa1nEYHzbzeioJnQbpTe9LoRHp9T1Em+vk8mBTa3yhJA==","signatures":[{"sig":"MEUCIF2lLvot2+iU79z7EgApZSlDp2gHM5kCG+kuS+IejfALAiEA1i8yxlypjGFrZyT3lTVpTSoXATreptSI6C/Cau1dxf4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60603},"main":"./lib/index.js","type":"module","_from":"file:/tmp/dsh-render-publish.xxFprJ/ch4acko3-dsh-ansi-render-0.1.0.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-publish.xxFprJ/ch4acko3-dsh-ansi-render-0.1.0.tgz","_integrity":"sha512-O+6I/CZiveuo1KZBfPCQLLudxfjZ2TiNGEjSSDVsOGHa1nEYHzbzeioJnQbpTe9LoRHp9T1Em+vk8mBTa3yhJA==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/ansi-render"},"_npmVersion":"11.19.0","description":"Safe ANSI terminal output rendering service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.16.0","dependencies":{"ansi_up":"^6.0.6"},"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-ansi-render_0.1.0_1787274525495_0.9286108363485799","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ch4acko3/dsh-ansi-render","version":"0.1.1","keywords":["deepseek-harness","dsh","dsh-plugin","ansi","terminal","log-rendering"],"license":"MIT","_id":"@ch4acko3/dsh-ansi-render@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":"Renders ANSI terminal output as escaped, browser-safe HTML.","zh-CN":"将 ANSI 终端输出渲染为经过转义的浏览器安全 HTML。"},"category":"development","displayName":{"en":"ANSI Render","zh-CN":"ANSI 终端渲染"},"schemaVersion":1}},"dist":{"shasum":"5de104e05ae1ba9d6543a8af23ea14eb1bfe2792","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-ansi-render/-/dsh-ansi-render-0.1.1.tgz","fileCount":16,"integrity":"sha512-zCr0hUDKpzUZls5gP5IEFFRI3ykGXXE/cyZyAIsFU6ofVn+0F8fiOV7215mypuOJTIfMw6pJ6rZQVPAZDfKMiQ==","signatures":[{"sig":"MEUCIQDRBq3lVp5jvX3sgiQuV3Tctm9xFigmvxEFEbYQuuSHMgIgAt/l99ODAIt9ajjpXVqIxfnY6ar8DxEqb2agllKa0rk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-ansi-render@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60639},"main":"./lib/index.js","type":"module","_from":"file:/home/runner/work/_temp/dsh-ansi-render.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:fa93e18b-02af-4ba5-824d-3a7157fa1bc0"}},"_resolved":"/home/runner/work/_temp/dsh-ansi-render.tgz","_integrity":"sha512-zCr0hUDKpzUZls5gP5IEFFRI3ykGXXE/cyZyAIsFU6ofVn+0F8fiOV7215mypuOJTIfMw6pJ6rZQVPAZDfKMiQ==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/ansi-render"},"_npmVersion":"11.19.0","description":"Safe ANSI terminal output rendering service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.11.1","dependencies":{"ansi_up":"^6.0.6"},"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-ansi-render_0.1.1_1787285666887_0.8770662243225569","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ch4acko3/dsh-ansi-render","version":"0.1.2","keywords":["deepseek-harness","dsh","dsh-plugin","ansi","terminal","log-rendering"],"license":"MIT","_id":"@ch4acko3/dsh-ansi-render@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":"Renders ANSI terminal output as escaped, browser-safe HTML.","zh-CN":"将 ANSI 终端输出渲染为经过转义的浏览器安全 HTML。"},"category":"development","displayName":{"en":"ANSI Render","zh-CN":"ANSI 终端渲染"},"schemaVersion":1}},"dist":{"shasum":"473218be8fea72e224bf24d4d9c8e9e0ded82933","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-ansi-render/-/dsh-ansi-render-0.1.2.tgz","fileCount":16,"integrity":"sha512-DYeiyp491kYAAWlrYdlGDnlGomgTtxLOUfFZwWw0MYqBvC9fz8p0GYiPo+AulAzIC9k7RUfyxv9BSJx04OBNQA==","signatures":[{"sig":"MEUCIQDmwl43jU0bW9oGvibxJQj/xebFjHbmwUFIXAPmipzLhwIgMBoGm+/3ir/I6UXerXEKype5/ooGV6pEPK68L0b4O5E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-ansi-render@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60641},"main":"./lib/index.js","type":"module","_from":"file:/home/runner/work/_temp/dsh-ansi-render.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:fa93e18b-02af-4ba5-824d-3a7157fa1bc0"}},"_resolved":"/home/runner/work/_temp/dsh-ansi-render.tgz","_integrity":"sha512-DYeiyp491kYAAWlrYdlGDnlGomgTtxLOUfFZwWw0MYqBvC9fz8p0GYiPo+AulAzIC9k7RUfyxv9BSJx04OBNQA==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/ansi-render"},"_npmVersion":"11.19.0","description":"Safe ANSI terminal output rendering service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.11.1","dependencies":{"ansi_up":"^6.0.6"},"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-ansi-render_0.1.2_1787438928291_0.014940881933855454","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@ch4acko3/dsh-ansi-render","version":"0.1.3","keywords":["deepseek-harness","dsh","dsh-plugin","ansi","terminal","log-rendering"],"license":"MIT","_id":"@ch4acko3/dsh-ansi-render@0.1.3","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":[],"platform":"web","immediately":true},"plugin":{"summary":{"en":"Renders ANSI terminal output as escaped, browser-safe HTML.","zh-CN":"将 ANSI 终端输出渲染为经过转义的浏览器安全 HTML。"},"category":"development","displayName":{"en":"ANSI Render","zh-CN":"ANSI 终端渲染"},"schemaVersion":1}},"dist":{"shasum":"843c9bdbb4f845b3fb82804d96031c524ab44745","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-ansi-render/-/dsh-ansi-render-0.1.3.tgz","fileCount":16,"integrity":"sha512-B41nRyVtldOO+Mla07A/QVKY3ZoGFcAQo6IIJp5PJ0Hs/sAkvrbMtX4W2RZTXAAldu2dKeERjBUscbveLunq3A==","signatures":[{"sig":"MEYCIQCdNzVmaAbWnAsh857PVUD8eQ2yEP36DVflpBhRcHpq9wIhALpaUUz6E0e2TDMD3bcKH7LKuc0kwICyxEm0lFiQcPZQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB8nFdvKi/ciKdrgRdO3WsP+RjB23eRpAbhxoG2d5ecHAiAR146dYWxs5frqFNscTPvgHqMHdUESMFhcYfKrG8V4mw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-ansi-render@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60531},"main":"./lib/index.js","type":"module","_from":"file:/home/runner/work/_temp/dsh-ansi-render.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:fa93e18b-02af-4ba5-824d-3a7157fa1bc0"}},"_resolved":"/home/runner/work/_temp/dsh-ansi-render.tgz","_integrity":"sha512-B41nRyVtldOO+Mla07A/QVKY3ZoGFcAQo6IIJp5PJ0Hs/sAkvrbMtX4W2RZTXAAldu2dKeERjBUscbveLunq3A==","repository":{"url":"git+https://github.com/CH4ACKO3/dsh-render-engine.git","type":"git","directory":"packages/ansi-render"},"_npmVersion":"11.19.0","description":"Safe ANSI terminal output rendering service for DeepSeek Harness Web plugins","directories":{},"_nodeVersion":"24.11.1","dependencies":{"ansi_up":"^6.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-ansi-render_0.1.3_1789825595922_0.7293221151752696","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"_id":"@ch4acko3/dsh-ansi-render@0.1.4","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":[],"platform":"web","immediately":true},"plugin":{"summary":{"en":"Renders ANSI terminal output as escaped, browser-safe HTML.","zh-CN":"将 ANSI 终端输出渲染为经过转义的浏览器安全 HTML。"},"category":"development","displayName":{"en":"ANSI Render","zh-CN":"ANSI 终端渲染"},"schemaVersion":1}},"bugs":{"url":"https://github.com/memorax-ai/dsh-render-engine/issues"},"dist":{"shasum":"8167972cbfaa7ffecbf8c3092913394948db10ae","tarball":"https://registry.npmjs.org/@ch4acko3/dsh-ansi-render/-/dsh-ansi-render-0.1.4.tgz","fileCount":16,"integrity":"sha512-s7QhkMxp4KDdWwxVN1JRGFq6EBUfLBCthimb+CvGyQJ3Fmw/YFnwK46ALzeAZPdo8fmN8Bycjd6aDSYB9h5C7Q==","signatures":[{"sig":"MEYCIQDJodXvdNS49jmYsmslmlI1xL5p5HlyvQAnTmERy9XtZAIhAONk/wbzrcrXn7XExe5XEX2aUVNL1oXRkicVGxGci03s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID2Wp4+6EglbaHreomBoGaujC8xajPQpEjiiBT9zhxJHAiBfj6Ex+HNyag6VcvYpbnrB4DXrQwhsgQ8Ke7LLwkBD2g=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ch4acko3%2fdsh-ansi-render@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60533},"main":"./lib/index.js","name":"@ch4acko3/dsh-ansi-render","type":"module","_from":"file:/home/runner/work/_temp/dsh-ansi-render.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.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ba2f35e1-13da-46fb-afe8-290983a7526a"}},"homepage":"https://github.com/memorax-ai/dsh-render-engine#readme","keywords":["deepseek-harness","dsh","dsh-plugin","ansi","terminal","log-rendering"],"_resolved":"/home/runner/work/_temp/dsh-ansi-render.tgz","_integrity":"sha512-s7QhkMxp4KDdWwxVN1JRGFq6EBUfLBCthimb+CvGyQJ3Fmw/YFnwK46ALzeAZPdo8fmN8Bycjd6aDSYB9h5C7Q==","repository":{"url":"git+https://github.com/memorax-ai/dsh-render-engine.git","type":"git","directory":"packages/ansi-render"},"_npmVersion":"11.19.0","description":"Safe ANSI terminal output rendering service for DeepSeek Harness Web plugins","directories":{},"maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"_nodeVersion":"24.11.1","dependencies":{"ansi_up":"^6.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-ansi-render_0.1.4_1790236591298_0.4810689562799395"}}},"time":{"created":"2026-08-21T01:08:45.315Z","modified":"2026-09-24T07:56:31.807Z","0.1.0":"2026-08-21T01:08:45.639Z","0.1.1":"2026-08-21T04:14:27.037Z","0.1.2":"2026-08-22T22:48:48.413Z","0.1.3":"2026-09-19T13:46:36.009Z","0.1.4":"2026-09-24T07:56:31.445Z"},"bugs":{"url":"https://github.com/memorax-ai/dsh-render-engine/issues"},"license":"MIT","homepage":"https://github.com/memorax-ai/dsh-render-engine#readme","keywords":["deepseek-harness","dsh","dsh-plugin","ansi","terminal","log-rendering"],"repository":{"url":"git+https://github.com/memorax-ai/dsh-render-engine.git","type":"git","directory":"packages/ansi-render"},"description":"Safe ANSI terminal output rendering service for DeepSeek Harness Web plugins","maintainers":[{"name":"ch4acko3","email":"ch4acko3@outlook.com"}],"readme":"# @ch4acko3/dsh-ansi-render\n\nA browser-side Cordis service that renders ANSI terminal output as escaped HTML. It supports common SGR styles, 16-color, 256-color, true-color, and allowlisted HTTP or HTTPS terminal hyperlinks through `ansi_up`.\n\n```ts\nconst result = ctx.ansiRenderer.render({\n  text: '\\u001b[1;31mERROR\\u001b[0m build failed',\n})\n\nconsole.log(result.html)\n```\n\nThe service creates a fresh parser for each render call. It does not emulate a terminal, execute control sequences, or maintain cursor state between requests.\n","readmeFilename":"README.md"}