mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 21:10:43 +00:00
refactor: tighten plugin sdk channel seams
This commit is contained in:
@@ -11,6 +11,7 @@ type PassiveAccountLifecycleParams<Handle> = {
|
||||
onStop?: () => void | Promise<void>;
|
||||
};
|
||||
|
||||
/** Bind a fixed account id into a status writer so lifecycle code can emit partial snapshots. */
|
||||
export function createAccountStatusSink(params: {
|
||||
accountId: string;
|
||||
setStatus: (next: ChannelAccountSnapshot) => void;
|
||||
|
||||
Reference in New Issue
Block a user