mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-31 11:51:22 +00:00
28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
// Shared process/runtime utilities for plugins. This is the public boundary for
|
|
// logger wiring, runtime env shims, and global verbose console helpers.
|
|
|
|
export type { RuntimeEnv } from "../runtime.js";
|
|
export { createNonExitingRuntime, defaultRuntime } from "../runtime.js";
|
|
export {
|
|
danger,
|
|
info,
|
|
isVerbose,
|
|
isYes,
|
|
logVerbose,
|
|
logVerboseConsole,
|
|
setVerbose,
|
|
setYes,
|
|
shouldLogVerbose,
|
|
success,
|
|
warn,
|
|
} from "../globals.js";
|
|
export { isTruthyEnvValue } from "../infra/env.js";
|
|
export * from "../logging.js";
|
|
export { waitForAbortSignal } from "../infra/abort-signal.js";
|
|
export { computeBackoff, sleepWithAbort, type BackoffPolicy } from "../infra/backoff.js";
|
|
export { formatDurationPrecise } from "../infra/format-time/format-duration.ts";
|
|
export { retryAsync } from "../infra/retry.js";
|
|
export { ensureGlobalUndiciEnvProxyDispatcher } from "../infra/net/undici-global-dispatcher.js";
|
|
export { registerUnhandledRejectionHandler } from "../infra/unhandled-rejections.js";
|
|
export { isWSL2Sync } from "../infra/wsl.js";
|