{"_id":"@brainwav/diagram","_rev":"10-43a98d4106af3e3c20e334a6681a9762","name":"@brainwav/diagram","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@brainwav/diagram","version":"1.0.0","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.0","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"908f1c2970a8c008c5a9cf0b3f544525ea0937ab","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.0.tgz","fileCount":5,"integrity":"sha512-/qvVGioQfBgp15O8vzS8cZJwZ0ZB0h+Rb0ktlx1S5CQvhSwsHfPfRbsOlpR+u5UvyjvrAhek6MVoLP6RSfGmsg==","signatures":[{"sig":"MEQCIB+tfRuJR0UGLPGJS8OUvkydPiDTqCTF063uDRlHZcgQAiB6xiNlyUVfMS7Pxw2mtVrOKh0p2+rw0Ls8inpJfJHTkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59310},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"44e8a4d158e2039e1a664241cca80e9b24aae124","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.0_1772062001960_0.5472271946529836","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@brainwav/diagram","version":"1.0.1","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.1","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"ca058972a3600527cfde875437afea51b95ccf9c","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.1.tgz","fileCount":6,"integrity":"sha512-122d0bnV6fQLKmyiMziJZTA8NUmddzBcxEcJpwLif1UkYcsCNDcO4WgX3EDFBiMIS62xzfQ7w+/7XIhwUZGJ+A==","signatures":[{"sig":"MEYCIQDOTiuMwfid08JnXaDJmnkkTcBwtR+WuuW4KuXcNCcrQgIhAJSoUOd562w4Z8NzRiy4v0fLI1px0GbpLkqTFbznE+TV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brainwav%2fdiagram@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60749},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"c71401e180465581ee619401153410f2186f7ab4","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:654ce6f5-a404-437a-b9ae-fabaec3e39e5"}},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.8.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"24.13.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.1_1772063167046_0.7516786222860847","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@brainwav/diagram","version":"1.0.2","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.2","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"9d3b2abe4310e7aab04bdfdfb3a5463e59055c69","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.2.tgz","fileCount":6,"integrity":"sha512-YkGbjfyGyVq+56lVmhTC8Y2TLgF6/LgFTNm8vgdRM+JDbVnOGVgY5FIPs4pe5usa64EUdHnNC9ElvNWV9FJ4AQ==","signatures":[{"sig":"MEYCIQDdCD80emageKM8LJwD02DG9R9PoMwxBtZCm8gd2VMw8AIhAIh59bokT5JUxTD3V0dZ1a6K0DMOnwIMYlZZyM882nDc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brainwav%2fdiagram@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":62426},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"319e609ecd795ed6318f98ac38bcefb507610440","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:654ce6f5-a404-437a-b9ae-fabaec3e39e5"}},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.8.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"24.13.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.2_1772220994061_0.9126630861478797","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@brainwav/diagram","version":"1.0.3","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.3","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"af92ce27c3a5ec7d89f024afd0450ae293f15aac","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.3.tgz","fileCount":6,"integrity":"sha512-F3lUIMPn2Nu6trORD5CkzekVKDzIXn4wXJof5uhwLUTp5/93H68wX7lW3wNlCPlI25Qp+Xzk8J2uDxBpu8CC7w==","signatures":[{"sig":"MEYCIQDM4H1vPFkcYxDqG77M7a+qNUsS289A+zPIc84LLr4jzwIhAMaycnK6MeU0sTb6TmizvTAcfqbzJY15+lHbOSU1yG9o","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62677},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"36afcd73d6d38752b970f9c66a74199958a8defd","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","ci:artifacts":"mkdir -p .diagram && node src/diagram.js all . --output-dir .diagram && node src/diagram.js test . --format junit --output .diagram/architecture-results.xml","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.3_1772280358095_0.6269418093777841","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@brainwav/diagram","version":"1.0.4","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.4","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"4c20384c6a3896760a3519f5e3d47b8d73f97e9f","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.4.tgz","fileCount":6,"integrity":"sha512-Zy06sxQSS8x0JSFjKTA21MPrgwwMyPynUdkP7jsaHOdURot9NuIhaif2xV7GB5KQYFP3zvVjEpkoEBKBsfwpEg==","signatures":[{"sig":"MEUCIQD/RPjewFT11zymSKomCEkVqMqIFz9RE5gPRZbwqz+YFQIgSbXY4DUmyrrh+to86kyw3NmP31miqy9aPaFMG1xvl5E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87067},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"36afcd73d6d38752b970f9c66a74199958a8defd","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","ci:artifacts":"mkdir -p .diagram && node src/diagram.js all . --output-dir .diagram && node src/diagram.js test . --format junit --output .diagram/architecture-results.xml","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.4_1772282045717_0.7824167656894208","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@brainwav/diagram","version":"1.0.5","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.5","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"e110c5ace46db0b9775598871c5b71024feb1e6a","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.5.tgz","fileCount":6,"integrity":"sha512-eAP9SiIEBJWwHa5qKTzUjudVUfLg1bBNuqVLgPoroQ8Nch8VCzVkgpTjw64G/oRcV6Jgz9QJspj+WZ08MIZCJg==","signatures":[{"sig":"MEQCIBU5G3EmLtz19jS2XO9VU+gHAWNzabN56qqvx6gEVH0AAiBR5s7jdSaAZPIm2MAkgi4F3/e/kiVgaHHlrdA7ciOaSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87067},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"36afcd73d6d38752b970f9c66a74199958a8defd","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","ci:artifacts":"mkdir -p .diagram && node src/diagram.js all . --output-dir .diagram && node src/diagram.js test . --format junit --output .diagram/architecture-results.xml","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.5_1772282148390_0.8794085214974119","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@brainwav/diagram","version":"1.0.6","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.6","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"e4a786c4f49f4cf28eacd7ad30597d95e63c16c9","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.6.tgz","fileCount":7,"integrity":"sha512-dRn395UZVlGf8pqimX9I0XgsICdRbVeU/rdzWOIlN1v6GCpeg8w/PG49rcinCZBvRtFMARLSGm9gXKpxldi9+w==","signatures":[{"sig":"MEUCIQDDXmWsxDqIBCwSZ53szrSxEe7+MTLM/HfaUDWkbw2JAAIgK5f8401nG2KjkW2ywls0/LLl+Y9omI3R226E9b98p9o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92102},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"ca013ef500a80ccf18c2a0ebcd74f8fe7d37542e","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","ci:artifacts":"mkdir -p .diagram && node src/diagram.js all . --output-dir .diagram && node src/diagram.js test . --format junit --output .diagram/architecture-results.xml","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.6_1772282693601_0.509029893102712","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@brainwav/diagram","version":"1.0.7","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.7","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"d350ee3d66bdc439d05b3189f1cd1a0969b1740b","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.7.tgz","fileCount":7,"integrity":"sha512-I/IHxepdklVyfP2JbPMzlxvAV6IQghejcWKFyanQ2BOVZxOr5kqEEPiVF4J+u9wkbl2usnIu/f/vDFgZ+XWLCw==","signatures":[{"sig":"MEUCIDjW7mWOQPGXMg/Hy0IzLlfjY9950dtUVfNjgH0XTgyYAiEAi2CNZsVnlZu1hIAtQXXJ7lXjJFtdq+7mU1KoQOAcg5Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92443},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"ca013ef500a80ccf18c2a0ebcd74f8fe7d37542e","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","ci:artifacts":"mkdir -p .diagram && node src/diagram.js all . --output-dir .diagram && node src/diagram.js test . --format junit --output .diagram/architecture-results.xml","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.9.0","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.7_1772283147088_0.8156187411031577","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@brainwav/diagram","version":"1.0.8","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"MIT","_id":"@brainwav/diagram@1.0.8","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"homepage":"https://github.com/jscraik/diagram-cli#readme","bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"bin":{"diagram":"src/diagram.js"},"dist":{"shasum":"bc2b08ff0a2840190915f425c913dfb03aaab43d","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.0.8.tgz","fileCount":7,"integrity":"sha512-D1RNyXXtlAqPH2Vr/xa0N/uy5j4FFhVBXJ3PMzwGMyJ05c4s2C6VKfgTPxVj47juhxCJfcHr0PjRj2+esog9nQ==","signatures":[{"sig":"MEUCIB8djkmgsF3C8+cQiIpZz5LkCb0y+lfT3yrV0nVkJpYtAiEA6mf22AgamGEGn68F8syfeiXCYOWYUjPl3W+FX/r59rE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92538},"main":"src/diagram.js","engines":{"node":">=18"},"gitHead":"af7c6b08058a38652910717832152c59feb9abbb","scripts":{"test":"node src/diagram.js analyze .","test:deep":"node scripts/deep-regression.js","ci:artifacts":"mkdir -p .diagram && node src/diagram.js all . --output-dir .diagram && node src/diagram.js test . --format junit --output .diagram/architecture-results.xml","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:publish":"bash scripts/release-npm.sh --publish","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish:initial":"bash scripts/release-npm.sh --publish --initial"},"_npmUser":{"name":"craik515","email":"jscraik@brainwav.io"},"repository":{"url":"git+https://github.com/jscraik/diagram-cli.git","type":"git"},"_npmVersion":"11.10.1","description":"Generate architecture diagrams from codebases","directories":{},"_nodeVersion":"25.7.0","dependencies":{"zod":"^4.3.6","glob":"^10.0.0","yaml":"^2.8.2","chalk":"^4.1.2","commander":"^12.0.0","picomatch":"^4.0.3","cli-table3":"^0.6.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/diagram_1.0.8_1772284807706_0.14135022282403265","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@brainwav/diagram","version":"1.1.0","packageManager":"npm@10.9.2","description":"Generate architecture evidence for humans and AI agents","main":"src/diagram.js","bin":{"archscope":"src/diagram.js","diagram":"src/diagram.js"},"scripts":{"test":"mocha","test:watch":"mocha --watch","test:deep":"node scripts/deep-regression.js","migration:readiness":"node scripts/validate-archscope-readiness.js","ci:artifacts":"node scripts/assert-ci-artifacts.js","prepublishOnly":"npm test","release:prepare":"bash scripts/release-npm.sh","release:prepare:initial":"bash scripts/release-npm.sh --initial","release:publish":"bash scripts/release-npm.sh --publish","release:publish:initial":"bash scripts/release-npm.sh --publish --initial","harness":"echo 'Harness command is disabled in this repo. Run: npm run harness:check' >&2 && exit 1","harness:pr-gates":"bash scripts/harness-pr-gates.sh","prepare":"simple-git-hooks","harness:check":"bash scripts/harness-check.sh","lint":"echo 'No linter configured (plain JS project)' && exit 0","typecheck":"echo 'No TypeScript configured (plain JS project)' && exit 0","audit":"npm audit --audit-level=high","check":"npm test","secrets:staged":"bash scripts/check-staged-secrets.sh","docs:lint":"echo 'No docs linter configured (plain JS project)' && exit 0","docs:style:changed":"bash scripts/check-doc-style.sh","test:related":"bash scripts/check-related-tests.sh","semgrep:changed":"bash scripts/check-semgrep-changed.sh"},"keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"author":"","license":"Apache-2.0","dependencies":{"chalk":"^4.1.2","commander":"^14.0.3","glob":"^10.0.0","picomatch":"^4.0.3","yaml":"^2.8.4","zod":"^4.4.3"},"repository":{"type":"git","url":"git+https://github.com/jscraik/diagram-cli.git"},"bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"homepage":"https://github.com/jscraik/diagram-cli#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"engines":{"node":">=18"},"devDependencies":{"chai":"^4.5.0","mocha":"^11.3.0","simple-git-hooks":"^2.13.1"},"overrides":{"chai":"^4.5.0","serialize-javascript":"^7.0.0","diff":"^8.0.3"},"simple-git-hooks":{"pre-commit":"make hooks-pre-commit","commit-msg":"node scripts/validate-commit-msg.js $1","pre-push":"make hooks-pre-push"},"gitHead":"6a976675d6da37add76a06c18e91f5c4af79cef9","_id":"@brainwav/diagram@1.1.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-QRjwOTIJXwtTE38By2KTL03/F8hShH/vx4rDEzmA2xej2q95jYMPVxBEHbBx3CN4G4lB2agXMxRdt2J2NpuFrw==","shasum":"7ac288b3f6ed599afd3c9e34728a64ddb5e72eb5","tarball":"https://registry.npmjs.org/@brainwav/diagram/-/diagram-1.1.0.tgz","fileCount":92,"unpackedSize":548417,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brainwav%2fdiagram@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDflJHEELFDQbngNNCTiD1TtG7S2bfys7sk8wNpJJLmbwIgVsdE/iT+n5ft/ehCG7FsE9nOFU0k66pIqzoSK+SlgP8="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:654ce6f5-a404-437a-b9ae-fabaec3e39e5"}},"directories":{},"maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/diagram_1.1.0_1778070935493_0.037906179052134226"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-25T23:26:41.810Z","modified":"2026-05-06T12:35:36.011Z","1.0.0":"2026-02-25T23:26:42.153Z","1.0.1":"2026-02-25T23:46:07.220Z","1.0.2":"2026-02-27T19:36:34.227Z","1.0.3":"2026-02-28T12:05:58.257Z","1.0.4":"2026-02-28T12:34:05.885Z","1.0.5":"2026-02-28T12:35:48.546Z","1.0.6":"2026-02-28T12:44:53.762Z","1.0.7":"2026-02-28T12:52:27.228Z","1.0.8":"2026-02-28T13:20:07.857Z","1.1.0":"2026-05-06T12:35:35.678Z"},"bugs":{"url":"https://github.com/jscraik/diagram-cli/issues"},"license":"Apache-2.0","homepage":"https://github.com/jscraik/diagram-cli#readme","keywords":["diagrams","mermaid","architecture","code-analysis","cli"],"repository":{"type":"git","url":"git+https://github.com/jscraik/diagram-cli.git"},"description":"Generate architecture evidence for humans and AI agents","maintainers":[{"name":"craik515","email":"jscraik@brainwav.io"}],"readme":"# archscope\n\nArchitecture evidence for humans and AI coding agents.\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Quick Start](#quick-start)\n- [Architecture Evidence Pack](#architecture-evidence-pack)\n- [Human Workflows](#human-workflows)\n- [AI Agent Workflows](#ai-agent-workflows)\n- [Machine Output Contracts](#machine-output-contracts)\n- [Migration State](#migration-state)\n- [Documentation Index](#documentation-index)\n- [Development](#development)\n- [Distribution](#distribution)\n\n## Overview\n\n`archscope` is the canonical CLI identity for the `@brainwav/diagram` package.\nThe compatibility command `diagram` remains available during the migration\nwindow for existing scripts.\n\nBefore you review a PR, run Archscope. Before an AI agent edits a repo, give it\nArchscope evidence.\n\nThe CLI scans your repository and produces architecture evidence:\n\n- A default evidence pack (`scan`) for first-run review and agent handoff\n- PR architecture impact reports (`workflow pr`)\n- AI-context artifacts (`context`)\n- Architecture policy validation (`validate`)\n- Mermaid diagrams (`generate`, `generate-all`), including schema-backed ERD output\n\nDefault resolution precedence for scan parameters is explicit:\n\n1. CLI flags\n2. `.diagramrc`\n3. command built-ins\n\nThis applies to `patterns`, `exclude`, `maxFiles`, and `theme` where relevant.\n\n## Quick Start\n\n```bash\ngit clone https://github.com/jscraik/diagram-cli.git\ncd diagram-cli\nnpm install\nnpm link\n```\n\nAfter `npm link`, use `archscope ...` for new workflows. Without `npm link`, run\ncommands with `node src/diagram.js ...`.\n\n## Architecture Evidence Pack\n\nThe default evidence pack gives humans a short architecture brief and gives AI\ncoding agents a manifest-first context path.\n\nUse this path for new repositories:\n\n```bash\narchscope init .\narchscope doctor .\narchscope scan .\n```\n\nWhat this gives you:\n\n- `.architecture.yml` starter rules\n- `.diagramrc` defaults\n- CI step sample at `.diagram/ci/github-actions-step.yml`\n- toolchain diagnostics before CI rollout\n- `.diagram/manifest.json` as the stable artifact index\n- `.diagram/brief.md` as the human architecture brief\n- `.diagram/report.html` as the human architecture report\n- `.diagram/agent-context.json` as the canonical agent handoff\n- `.diagram/architecture.mmd` as the first architecture diagram\n\nFor PR review evidence, add git refs:\n\n```bash\narchscope scan . --base origin/main --head HEAD\n```\n\nThat keeps the same evidence pack and adds `.diagram/pr-impact/pr-impact.json`\nwhen refs resolve. `.diagram/report.html` is written by default and becomes the\nprimary human artifact when report generation succeeds.\n\n## Human Workflows\n\n```bash\n# Analyze repository structure\narchscope analyze .\n\n# Generate the default evidence pack\narchscope scan .\n\n# Generate one diagram and open preview\narchscope generate . --type architecture --open\n\n# Analyze only changed files in your branch\narchscope changed . --base origin/main --head HEAD\n\n# Explain a local dependency neighborhood\narchscope explain auth-service .\n\n# PR risk/blast-radius report\narchscope workflow pr . --base origin/main --head HEAD --risk-threshold medium --fail-on-risk\n\n# PR evidence pack for reviewers and agents\narchscope scan . --base origin/main --head HEAD\n```\n\nOptional advanced media output remains available after the evidence path is\nworking:\n\n```bash\narchscope generate-video .\narchscope generate-animated .\n```\n\n## AI Agent Workflows\n\n```bash\n# Stable machine outputs\narchscope scan . --format json --deterministic\narchscope scan . --base origin/main --head HEAD --format json --deterministic\narchscope generate . --type architecture --format json --deterministic\narchscope workflow pr . --base origin/main --head HEAD --format json --deterministic\n\n# Canonical agent read order\ncat .diagram/manifest.json\ncat .diagram/brief.md\ncat .diagram/agent-context.json\n```\n\nAgents should read `.diagram/manifest.json` first, then consume only artifacts\nwhose manifest status is `written`. The standalone `context` command remains\navailable for refreshing the older `.diagram/context` pack when existing\nautomation depends on it.\n\n## Machine Output Contracts\n\n- Use `--format json` for machine output.\n- `--json` is a compatibility alias and is normalized to `--format json`.\n- Covered command outputs use the canonical machine envelope with `schemaVersion`,\n  `command`, `status`, `meta`, `data`, `errors`, and optional `agentSummary`.\n- Use `--deterministic` for stable ordering/timestamps in machine payloads.\n- JSON-capable command coverage is tracked in\n  `.diagram/contracts/machine-command-coverage.json`.\n- `scan --format json` nests the evidence manifest under `data.evidencePack`\n  and includes `data.pr` when PR refs are supplied.\n- PR impact JSON nests its analytical payload under `data.prImpact` and includes\n  `agentSummary` with:\n  - `changedComponents`\n  - `riskReasons`\n  - `suggestedReviewerChecks`\n\n## Migration State\n\nCurrent migration state: `compatibility`.\n\n- Canonical command: `archscope`\n- Compatibility command: `diagram`\n- Package name: `@brainwav/diagram`\n- Finalization policy: `.diagram/migration/finalization-policy.json`\n- Release readiness evidence: `.diagram/migration/releases/<releaseId>/migration-readiness.json`\n- Latest readiness pointer: `.diagram/migration/migration-readiness.json`\n- Append-only readiness ledger: `.diagram/migration/releases/ledger.json`\n\nDo not treat the package as renamed or the compatibility command as removable\nuntil the finalization policy and release evidence prove the required migration\nwindow. See [Archscope compatibility migration](docs/migration/archscope-compatibility.md).\n\n## Documentation Index\n\n- [CLI reference](docs/cli-reference.md)\n- [Getting started](docs/getting-started.md)\n- [Architecture testing](docs/architecture-testing.md)\n- [Archscope compatibility migration](docs/migration/archscope-compatibility.md)\n- [Migration from dependency-cruiser](docs/migration-from-dependency-cruiser.md)\n- [Maintainer docs index](docs/README.md)\n\n## Development\n\n```bash\nnpm install\nnpm test\nnpm run test:deep\nnpm run migration:readiness\nnode src/diagram.js --help\n```\n\n## License\n\nApache 2.0 - see [LICENSE](LICENSE).\n\n## Distribution\n\nOfficial installation instructions are maintained in this repository only.\n\nThird-party indexes or mirrors may list this project, but they are not affiliated with, endorsed by, or maintained by this project unless explicitly stated here.\n","readmeFilename":"README.md"}