mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 19:10:39 +00:00
15 lines
503 B
TypeScript
15 lines
503 B
TypeScript
import { requestHeartbeatNow } from "../../infra/heartbeat-wake.js";
|
|
import { enqueueSystemEvent } from "../../infra/system-events.js";
|
|
import { runCommandWithTimeout } from "../../process/exec.js";
|
|
import { formatNativeDependencyHint } from "./native-deps.js";
|
|
import type { PluginRuntime } from "./types.js";
|
|
|
|
export function createRuntimeSystem(): PluginRuntime["system"] {
|
|
return {
|
|
enqueueSystemEvent,
|
|
requestHeartbeatNow,
|
|
runCommandWithTimeout,
|
|
formatNativeDependencyHint,
|
|
};
|
|
}
|