mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 03:16:03 +00:00
* feat(tooling): add tsgo typecheck lane for scripts/** * fix(scripts): burn down scripts type debt surfaced by the new lane Typing-only except bugs the lane surfaced: gh-read timeout race, Discord Headers spread dropping entries, undefined allowedHeadBranches match, plugin-boundary matchAll crash. Deletes retired config keys from fixtures/benches (prompt snapshots regenerated, config dump only) and the orphaned non-runnable sync-moonshot-docs script. Adds full-surface .d.mts declarations for existing .mjs boundaries.
16 lines
591 B
TypeScript
16 lines
591 B
TypeScript
import type fs from "node:fs";
|
|
|
|
type CliBootstrapCheckParams = {
|
|
rootDir?: string;
|
|
entrypoints?: string[];
|
|
distDir?: string;
|
|
gatewayRunChunkMaxBytes?: number;
|
|
fs?: typeof fs;
|
|
logger?: { error(message: string): void };
|
|
};
|
|
|
|
export function listStaticImportSpecifiers(source: string): string[];
|
|
export function collectCliBootstrapExternalImportErrors(params?: CliBootstrapCheckParams): string[];
|
|
export function collectGatewayRunChunkBudgetErrors(params?: CliBootstrapCheckParams): string[];
|
|
export function checkCliBootstrapExternalImports(params?: CliBootstrapCheckParams): void;
|