{"_id":"@a11yci/llm","_rev":"4-aad8cc70483b73c89fd8bfba7c61c589","name":"@a11yci/llm","dist-tags":{"latest":"0.5.0"},"versions":{"0.2.0":{"name":"@a11yci/llm","version":"0.2.0","license":"SEE LICENSE IN LICENSE","_id":"@a11yci/llm@0.2.0","maintainers":[{"name":"innerspark","email":"mike@innersparkmedia.com"}],"dist":{"shasum":"06ee02e2c2e9a67d5f236129253db6d8e6d37fff","tarball":"https://registry.npmjs.org/@a11yci/llm/-/llm-0.2.0.tgz","fileCount":7,"integrity":"sha512-pH/jopjpf67xe5vAL+lxCFiJLVdB+ykL1MOn3B3ShyETvlQ5+mEylYblOGEGO2OY1pmO7PVpG0VUqjkFw3tjnQ==","signatures":[{"sig":"MEQCIE1/uP5qIXr5z/DTL3bvmzs884WAz3PTXkQ13ddXv6SqAiAXen4HVD7kZsKKxJ4kNUNa2vnut+jFZy5Gzjox8vuAyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15410},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f0669ee2e2847795949b34ae462b04007960239f","scripts":{"build":"tsc -b","prepublishOnly":"tsc -b"},"_npmUser":{"name":"innerspark","email":"mike@innersparkmedia.com"},"_npmVersion":"11.16.0","description":"Optional, bring-your-own-key Claude adapter for a11y-ci: AI fix suggestions and semantic review. Advisory only, never in the gate.","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@a11yci/core":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/llm_0.2.0_1780615657443_0.7538096576551061","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@a11yci/llm","version":"0.3.0","license":"SEE LICENSE IN LICENSE","_id":"@a11yci/llm@0.3.0","maintainers":[{"name":"innerspark","email":"mike@innersparkmedia.com"}],"dist":{"shasum":"329866b91f821d52b56d96e3364688fd8f771d95","tarball":"https://registry.npmjs.org/@a11yci/llm/-/llm-0.3.0.tgz","fileCount":7,"integrity":"sha512-EMSYL4k32twcuzePSX1JG/y1XloK+82WqZKd6CXXWTIajTVt94KaoMTnL5yZJo9uprOZcesEiCUD5c58Qddfvg==","signatures":[{"sig":"MEQCICW6zbB27C8u3Vin4vK8AuzPuTcxWqCb9tT7lz5ysJaFAiAxOJnvcjCObi6obJw9Sk3wcU05M0Kyq94IlqK1A7yHnw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15410},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"79a2bd8b8c61c81d4f3f59b73eaf01b06d01c9ba","scripts":{"build":"tsc -b","prepublishOnly":"tsc -b"},"_npmUser":{"name":"innerspark","email":"mike@innersparkmedia.com"},"_npmVersion":"11.16.0","description":"Optional, bring-your-own-key Claude adapter for a11y-ci: AI fix suggestions and semantic review. Advisory only, never in the gate.","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@a11yci/core":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/llm_0.3.0_1780664814581_0.8261444028067326","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@a11yci/llm","version":"0.4.0","license":"SEE LICENSE IN LICENSE","_id":"@a11yci/llm@0.4.0","maintainers":[{"name":"innerspark","email":"mike@innersparkmedia.com"}],"dist":{"shasum":"a59e030eb09663ae5ed8284129db0a991d9cf6f0","tarball":"https://registry.npmjs.org/@a11yci/llm/-/llm-0.4.0.tgz","fileCount":7,"integrity":"sha512-Idkk4I2bIsSOku3nVLFCGfZfg36vKu21DNevjyy8Sl1k7Usy+43wdvXsZE2R9BrZe+/KNC4Ootggp29U/zSrEQ==","signatures":[{"sig":"MEYCIQDt0wglcRzdmOe7shvf0ykskT8P8jI87BftY+5o0nfVPgIhAL04I+Wqq9aAbwJ2P7MSmUrqf6Rg/3nW0Abg2o2IG0Vl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15410},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"94008e548b50bbb6852fd8db56b3c1abb284bc71","scripts":{"build":"tsc -b","prepublishOnly":"tsc -b"},"_npmUser":{"name":"innerspark","email":"mike@innersparkmedia.com"},"_npmVersion":"11.16.0","description":"Optional, bring-your-own-key Claude adapter for a11y-ci: AI fix suggestions and semantic review. Advisory only, never in the gate.","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@a11yci/core":"0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/llm_0.4.0_1780670041504_0.660057416749847","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@a11yci/llm","version":"0.5.0","description":"Optional, bring-your-own-key Claude adapter for a11y-ci: AI fix suggestions and semantic review. Advisory only, never in the gate.","license":"SEE LICENSE IN LICENSE","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -b","prepublishOnly":"tsc -b"},"dependencies":{"@a11yci/core":"0.5.0"},"_id":"@a11yci/llm@0.5.0","gitHead":"2328a6ee088b1c5e1544c4066f71bb516d93c78d","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-/U93aMOC6buixHKdHnmHnfPDr7wqg+GZzS9SYi6+krEOUBJNUK7WRCO0u95zLxGEGVxvK55aResp8TlZbUht0w==","shasum":"345fc772eb22c50b67e9b5dd6f2d7f7b4f3ffb22","tarball":"https://registry.npmjs.org/@a11yci/llm/-/llm-0.5.0.tgz","fileCount":7,"unpackedSize":15410,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFmlNT71su0Pct2TpF5KLLJ792ug8dv2XWCDLGFCsGgGAiEAr74XtPgO0EPbJi6GE+/vPvJmHHkFa7kxgRpPFwyrs5Q="}]},"_npmUser":{"name":"innerspark","email":"mike@innersparkmedia.com"},"directories":{},"maintainers":[{"name":"innerspark","email":"mike@innersparkmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/llm_0.5.0_1780679187545_0.21000522419107082"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-04T23:27:37.261Z","modified":"2026-06-05T17:06:27.804Z","0.2.0":"2026-06-04T23:27:37.588Z","0.3.0":"2026-06-05T13:06:54.735Z","0.4.0":"2026-06-05T14:34:01.654Z","0.5.0":"2026-06-05T17:06:27.697Z"},"license":"SEE LICENSE IN LICENSE","description":"Optional, bring-your-own-key Claude adapter for a11y-ci: AI fix suggestions and semantic review. Advisory only, never in the gate.","maintainers":[{"name":"innerspark","email":"mike@innersparkmedia.com"}],"readme":"# @a11yci/llm\n\nOptional, bring-your-own-key Claude adapter for [a11y-ci](https://github.com/InnerSpark/a11y-ci).\nIt adds two advisory capabilities on top of the deterministic engine:\n\n- **Fix suggestions** — a concrete, minimal fix for each detected issue.\n- **Semantic review** — the issues automated checkers can't judge: unhelpful alt\n  text, non-descriptive link text, label-in-name mismatches, sensory-only\n  instructions.\n\nBoth are **advisory**. Suggestions are attached to issues for humans to review;\nsemantic findings are emitted at \"manual\" severity, so they can never flip the\ndeterministic pass/fail gate.\n\n```ts\nimport { audit } from '@a11yci/core';\nimport { createAnthropicAdapter } from '@a11yci/llm';\n\nconst llm = createAnthropicAdapter(); // reads ANTHROPIC_API_KEY; returns null if absent\nconst result = await audit('https://example.com', { llm: llm ?? undefined });\n\nif (llm?.suggestFix) {\n  const fix = await llm.suggestFix(result.issues[0]);\n}\n```\n\nSet `ANTHROPIC_API_KEY` in your environment. The key never leaves your machine /\nCI runner; this package calls the Anthropic API directly and ships no telemetry.\n\nSource-available under the Elastic License 2.0 (see `LICENSE`).\n","readmeFilename":"README.md"}