mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-27 21:00:41 +00:00
refactor: dedupe agent and reply runtimes
This commit is contained in:
@@ -36,6 +36,22 @@ export type ExecEventPayload = {
|
||||
reason?: string;
|
||||
};
|
||||
|
||||
export type ExecFinishedResult = {
|
||||
stdout?: string;
|
||||
stderr?: string;
|
||||
error?: string | null;
|
||||
exitCode?: number | null;
|
||||
timedOut?: boolean;
|
||||
success?: boolean;
|
||||
};
|
||||
|
||||
export type ExecFinishedEventParams = {
|
||||
sessionKey: string;
|
||||
runId: string;
|
||||
cmdText: string;
|
||||
result: ExecFinishedResult;
|
||||
};
|
||||
|
||||
export type SkillBinsProvider = {
|
||||
current(force?: boolean): Promise<SkillBinTrustEntry[]>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user