mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
* refactor: expand acp core package * chore: drop acp core package symlink * fix: keep acp core dependency graph stable * fix: add acp core tsconfig subpaths * fix: sync acp core boundary path artifacts * fix: use kysely for cron run-log queries * fix: resolve acp core subpaths in loaders
10 lines
493 B
TypeScript
10 lines
493 B
TypeScript
//#region src/error-format.d.ts
|
|
declare function configureAcpErrorRedactor(redactor: ((value: string) => string) | undefined): void;
|
|
declare function redactSensitiveText(value: string): string;
|
|
/**
|
|
* Render a non-Error `cause` value without leaking `[object Object]` or throwing
|
|
* while formatting nested ACP runtime failures.
|
|
*/
|
|
declare function stringifyNonErrorCause(value: unknown): string;
|
|
//#endregion
|
|
export { configureAcpErrorRedactor, redactSensitiveText, stringifyNonErrorCause }; |