{"_id":"@dsh-blue/blue-plugin-kit","_rev":"2-ff47cb08391e71aae7ea634368a52425","name":"@dsh-blue/blue-plugin-kit","dist-tags":{"candidate":"0.1.2-alpha.1","latest":"0.1.2-alpha.1","alpha":"0.1.2-alpha.1"},"versions":{"0.1.2-alpha.1":{"name":"@dsh-blue/blue-plugin-kit","version":"0.1.2-alpha.1","license":"MIT","_id":"@dsh-blue/blue-plugin-kit@0.1.2-alpha.1","maintainers":[{"name":"geekcmore","email":"geekcmore@163.com"}],"homepage":"https://github.com/dsh-blue/blue#readme","bugs":{"url":"https://github.com/dsh-blue/blue/issues"},"bin":{"blue-plugin":"lib/bin.js"},"dist":{"shasum":"297e2ca2f644e9946c651a6b706eb2280dbac6ed","tarball":"https://registry.npmjs.org/@dsh-blue/blue-plugin-kit/-/blue-plugin-kit-0.1.2-alpha.1.tgz","fileCount":14,"integrity":"sha512-P15U09f8saalqZxuiZ6YBk6Ss8bJrLbRMJwZKTOWDflknxUuOG9aZZy9TdXLf3PNAu7KC3dOfOZK7aiGtl/4zw==","signatures":[{"sig":"MEQCIHaEXPMhcyMnkDlhV3cZxAD2v4HW4GX2NLhkQkpk7zA2AiBO43smh0k5r8BJkye51YipDSI5bLykTp4Qo1I9NGsQGA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dsh-blue%2fblue-plugin-kit@0.1.2-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":164483},"type":"module","_from":"file:/home/runner/work/blue/blue/.artifacts/pack/dsh-blue-blue-plugin-kit-0.1.2-alpha.1.tgz","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"_npmUser":{"name":"geekcmore","email":"geekcmore@163.com"},"_resolved":"/home/runner/work/blue/blue/.artifacts/pack/dsh-blue-blue-plugin-kit-0.1.2-alpha.1.tgz","_integrity":"sha512-P15U09f8saalqZxuiZ6YBk6Ss8bJrLbRMJwZKTOWDflknxUuOG9aZZy9TdXLf3PNAu7KC3dOfOZK7aiGtl/4zw==","repository":{"url":"git+https://github.com/dsh-blue/blue.git","type":"git","directory":"packages/plugin-kit"},"_npmVersion":"11.17.0","description":"No-checkout authoring, validation, and conformance CLI for Blue plugins","directories":{},"_nodeVersion":"24.19.0","dependencies":{"semver":"7.8.5","typescript":"6.0.3","@dsh-blue/blue-ui":"0.1.2-alpha.1","@dsh-blue/blue-api":"0.1.2-alpha.1","validate-npm-package-name":"7.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/semver":"7.8.0","@types/validate-npm-package-name":"4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/blue-plugin-kit_0.1.2-alpha.1_1788199303859_0.019747483924456022","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-08-31T18:01:43.442Z","modified":"2026-08-31T18:10:34.947Z","0.1.2-alpha.1":"2026-08-31T18:01:44.013Z"},"bugs":{"url":"https://github.com/dsh-blue/blue/issues"},"license":"MIT","homepage":"https://github.com/dsh-blue/blue#readme","repository":{"url":"git+https://github.com/dsh-blue/blue.git","type":"git","directory":"packages/plugin-kit"},"description":"No-checkout authoring, validation, and conformance CLI for Blue plugins","maintainers":[{"name":"geekcmore","email":"geekcmore@163.com"}],"readme":"# @dsh-blue/blue-plugin-kit\n\nBlue 插件的公开作者命令。它可以生成 canonical 本地包，并运行与 Blue 仓库相同的\npackage validator 和 packed-install conformance，无需克隆 Blue 仓库。\n\n```sh\nnpx @dsh-blue/blue-plugin-kit catalog --json\nnpx @dsh-blue/blue-plugin-kit create ./my-blue-plugin --name @acme/my-blue-plugin\nnpx @dsh-blue/blue-plugin-kit validate ./my-blue-plugin\nnpx @dsh-blue/blue-plugin-kit conformance ./my-blue-plugin\nnpx @dsh-blue/blue-plugin-kit conformance ./my-blue-plugin --harness-line 0.1.2-alpha.2\n```\n\n全局安装或作为项目工具安装后可以使用更短的 `blue-plugin` 命令。\n`catalog --json` 是可用 capability 版本、resource、limit 与 quota 的机器真相；\n`create` 拒绝非空目录，生成一个无需构建的 ESM 基线，作者再按实际 grant 调整。\n\n这些命令不会发布包、创建仓库或修改 dsh profile。Conformance 禁用 lifecycle\nscripts 后打包，以正常 peer resolution 安装到临时项目，并验证公开入口、Host\n准入、20/40/80/120 宽度、Fiber unload 与 capability-absent fallback。Blue\n`0.1.2-alpha.1` 只支持 Harness `0.1.2-alpha.2`；显式参数只能在该支持集合内用于诊断，\nRC 版本会被拒绝。它验证兼容性，不是安全沙箱。\n","readmeFilename":"README.zh.md"}