- Split monolithic tools.ts (4,257 lines) into 11 domain-specific modules in src/domains/seal/tools/ - Extract helpers.ts containing 71 helper functions and shared tool types - Retain tools.ts as thin re-export for complete backward compatibility - Fix layer inversions: sink CliError to core/errors.ts, extract linter paths to core/paths.ts, move tenant-diagnose to domain - Eliminate null as any in runner.ts by widening signatures and adding proper runtime guards - Rebuild dist/mcp/server.js to satisfy pre-push bundle gate
7 lines
285 B
TypeScript
7 lines
285 B
TypeScript
import { homedir } from "node:os";
|
|
import { join } from "node:path";
|
|
|
|
export const SEAL_CONFIG_DIR = join(homedir(), ".config", "seal-use");
|
|
export const PRIMARY_LINTERS_DIR = join(SEAL_CONFIG_DIR, "linters");
|
|
export const OFFICIAL_LINTERS_DIR = join(PRIMARY_LINTERS_DIR, "official");
|