mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
* test: guard the plugin loader contract that PR #494 exposed The agents manifest key shipped for months and silently loaded zero of the four subagents; no validator looked at the generated plugin manifest's shape and claude plugin validate never checks it. Three layers now do: - scripts/lib/validate-plugin-manifest.js pins the verified loader contract (KNOWN_LOADER_KEYS allowlist, no agents key, trailing-slash skills path from issue #86, every skill/agents/*.md shipped in plugin/agents/), unit-tested in tests/validate-plugin-manifest.test.js including a check of the real committed subtree. - The same check gates bun run build next to the version-drift guard. - tests/plugin-e2e.test.mjs installs the committed ./plugin subtree into a real Claude Code (sandboxed via CLAUDE_CONFIG_DIR in a temp dir) and asserts the component inventory: skill parses, all agents visible, hooks discovered. In the default suite; runs in about a second and skips cleanly when the claude CLI is absent, so CI is unaffected. All three failed against the pre-#494 tree for the shipped reason (Agents 0 of 4) and pass against current main. AI-assisted via Claude Code under maintainer direction. Co-Authored-By: Claude Code <noreply@anthropic.com> * fix: address PR review bot findings - Copilot: guard collectPluginManifestFindings against valid JSON that is not an object (null, string, number, array) so a broken manifest is a finding instead of a build crash; unit test added - Copilot: update the plugin-e2e header comment, the suite is in the default lineup rather than opt-in AI-assisted via Claude Code under maintainer direction. Co-Authored-By: Claude Code <noreply@anthropic.com> * fix: harden plugin E2E sandbox isolation Bugbot: create the sandbox CLAUDE_CONFIG_DIR up front and redirect HOME and USERPROFILE into the temp workDir too, so a CLI code path that derives config or cache locations from the home directory instead of CLAUDE_CONFIG_DIR still cannot touch the developer's real Claude config when the default suite runs. AI-assisted via Claude Code under maintainer direction. Co-Authored-By: Claude Code <noreply@anthropic.com> * fix: agent parity check mirrors the build's emit rules Bugbot: the shipped filename is `${claude-name || name}.md` and a providers: list may exclude claude-code, so comparing raw source basenames could fail the build on a renamed or provider-scoped agent with a build:release hint that cannot fix it. The validator now derives expected filenames the same way the transformer factory does (shared parseFrontmatter, same providers gate) with unit coverage for renames, name overrides, and provider-scoped agents. AI-assisted via Claude Code under maintainer direction. Co-Authored-By: Claude Code <noreply@anthropic.com> * fix: run the plugin E2E through a shell on Windows Bugbot: the claude CLI is a .cmd shim on Windows and Node refuses to spawn those via execFile without a shell, so the availability probe always failed and the suite silently skipped there. Windows now invokes through a shell with every argument double-quoted (temp paths routinely contain spaces); the POSIX path is unchanged. AI-assisted via Claude Code under maintainer direction. Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Claude Code <noreply@anthropic.com>
101 lines
3.5 KiB
JSON
101 lines
3.5 KiB
JSON
{
|
|
"name": "impeccable",
|
|
"version": "3.5.0",
|
|
"author": "Paul Bakaus",
|
|
"description": "Design skills, commands, and anti-pattern detection for AI coding agents",
|
|
"keywords": [
|
|
"design",
|
|
"frontend",
|
|
"ux",
|
|
"skills",
|
|
"ai",
|
|
"anti-patterns",
|
|
"lint",
|
|
"accessibility",
|
|
"css",
|
|
"html",
|
|
"detection",
|
|
"ci-cd"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://impeccable.style",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/pbakaus/impeccable.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.18.0"
|
|
},
|
|
"type": "module",
|
|
"bin": {
|
|
"impeccable": "cli/bin/cli.js"
|
|
},
|
|
"main": "./cli/engine/detect-antipatterns.mjs",
|
|
"exports": {
|
|
".": "./cli/engine/detect-antipatterns.mjs",
|
|
"./browser": "./cli/engine/detect-antipatterns-browser.js"
|
|
},
|
|
"files": [
|
|
"cli/",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build:skills": "bun run scripts/build.js --skip-root-sync",
|
|
"build:skills:release": "bun run scripts/build.js",
|
|
"build": "bun run build:skills && mkdir -p build/_data && rm -rf build/_data/dist && cp -R dist build/_data/dist",
|
|
"build:release": "bun run build:skills:release && mkdir -p build/_data && rm -rf build/_data/dist && cp -R dist build/_data/dist",
|
|
"build:browser": "node scripts/build-browser-detector.js",
|
|
"build:extension": "node scripts/build-extension.js",
|
|
"clean": "rm -rf dist build",
|
|
"rebuild": "bun run clean && bun run build",
|
|
"rebuild:release": "bun run clean && bun run build:release",
|
|
"test": "node scripts/run-tests.mjs default",
|
|
"test:core": "node scripts/run-tests.mjs core",
|
|
"test:detector": "node scripts/run-tests.mjs detector",
|
|
"test:framework": "node scripts/run-tests.mjs framework",
|
|
"test:live": "node scripts/run-tests.mjs live",
|
|
"test:cli-e2e": "node scripts/run-tests.mjs cli-e2e",
|
|
"test:cli-remote-e2e": "node scripts/run-tests.mjs cli-remote-e2e",
|
|
"test:plugin-e2e": "node scripts/run-tests.mjs plugin-e2e",
|
|
"test:live-e2e": "node scripts/run-tests.mjs live-e2e",
|
|
"test:live-e2e-accept-cleanup": "node scripts/run-tests.mjs live-e2e-accept-cleanup",
|
|
"test:new-work-e2e": "node scripts/run-tests.mjs new-work-e2e",
|
|
"test:live-e2e-agent": "node scripts/run-tests.mjs live-e2e-agent",
|
|
"test:skill-behavior": "node scripts/run-tests.mjs skill-behavior",
|
|
"test:live-svelte-adapter-deepseek": "node scripts/run-tests.mjs live-svelte-adapter-deepseek",
|
|
"smoke:hooks": "node scripts/smoke-provider-hooks.mjs",
|
|
"bench:detector": "node scripts/benchmark-detector.mjs",
|
|
"bench:detector:browser": "node scripts/benchmark-detector.mjs --browser",
|
|
"audit": "bun audit --audit-level=moderate",
|
|
"prepack": "cp README.md README.repo.md && cp README.npm.md README.md",
|
|
"postpack": "cp README.repo.md README.md && rm README.repo.md",
|
|
"release:skill": "node scripts/release.mjs skill",
|
|
"release:cli": "node scripts/release.mjs cli",
|
|
"release:ext": "node scripts/release.mjs extension"
|
|
},
|
|
"dependencies": {
|
|
"css-select": "^7.0.0",
|
|
"css-tree": "^3.2.1",
|
|
"domutils": "^4.0.2",
|
|
"fflate": "^0.8.3",
|
|
"htmlparser2": "^12.0.0",
|
|
"marked": "^18.0.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"puppeteer": "^25.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ai-sdk/anthropic": "^4.0.7",
|
|
"@ai-sdk/google": "^4.0.8",
|
|
"@ai-sdk/openai": "^4.0.7",
|
|
"@anthropic-ai/claude-agent-sdk": "^0.3.165",
|
|
"@anthropic-ai/sdk": "^0.115.0",
|
|
"@babel/parser": "^8.0.4",
|
|
"ai": "^7.0.14",
|
|
"archiver": "^8.0.0",
|
|
"playwright": "^1.59.1",
|
|
"svelte": "^5",
|
|
"zod": "^4.3.6"
|
|
}
|
|
}
|