mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 15:00:45 +08:00
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
22 lines
546 B
TypeScript
22 lines
546 B
TypeScript
export type NpmPackBudgetResult = {
|
|
filename?: string;
|
|
unpackedSize?: number;
|
|
};
|
|
|
|
export declare const NPM_PACK_UNPACKED_SIZE_BUDGET_BYTES: number;
|
|
|
|
export declare function formatMiB(bytes: number): string;
|
|
|
|
export declare function formatPackUnpackedSizeBudgetError(params: {
|
|
budgetBytes?: number;
|
|
label: string;
|
|
unpackedSize: number;
|
|
}): string;
|
|
|
|
export declare function collectPackUnpackedSizeErrors(
|
|
results: Iterable<NpmPackBudgetResult>,
|
|
options?: {
|
|
budgetBytes?: number;
|
|
missingDataMessage?: string;
|
|
},
|
|
): string[];
|