Drive linter exposure from a manifest and drop the cwd linter dir

- checker implementations move to linter/checkers/, eliminating the builtin/strict/hlab + index + types files sitting flat in linter/
- manifest.ts is the single source of truth for which official linters exist and which are plaintext-exposed (plaintext flag)
- plaintext.generated.ts replaces the hand-maintained official-templates.ts (580 lines): generated from checkers/ by scripts/generate-linter-plaintext.mjs, refreshed by bump-version, guarded in CI by verify:linter-plaintext
- loader is manifest-driven (list, resolve, aliases); cwd linter loading is removed - custom linters resolve only from ~/.config/seal-use/linters/
This commit is contained in:
gitea committed 2026-09-30 17:05:43 +08:00
1 parent cf9b7ab7e2
commit 8155c1ebb7
14 files changed
+199 -709

No files matched your search

+3
View File
@@ -99,6 +99,9 @@ if (existsSync(globalSkillDir)) {
}
// 6. Rebuild bundles
// 同步官方校验器明文嵌入物(checkers/ 源码 -> plaintext.generated.ts)
execSync("bun run generate:linter-plaintext", { cwd: ROOT, stdio: "inherit" });
console.log("==> Rebuilding binary bundle...");
execSync("bun run build:binary", { cwd: ROOT, stdio: "inherit" });