mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 05:41:24 +00:00
refactor: harden browser runtime profile handling
This commit is contained in:
committed by
Vincent Koc
parent
7875fb6c27
commit
4b694d565d
@@ -13,6 +13,10 @@ export type ProfileRuntimeState = {
|
||||
running: RunningChrome | null;
|
||||
/** Sticky tab selection when callers omit targetId (keeps snapshot+act consistent). */
|
||||
lastTargetId?: string | null;
|
||||
reconcile?: {
|
||||
previousProfile: ResolvedBrowserProfile;
|
||||
reason: string;
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type BrowserServerState = {
|
||||
@@ -56,6 +60,8 @@ export type ProfileStatus = {
|
||||
tabCount: number;
|
||||
isDefault: boolean;
|
||||
isRemote: boolean;
|
||||
missingFromConfig?: boolean;
|
||||
reconcileReason?: string | null;
|
||||
};
|
||||
|
||||
export type ContextOptions = {
|
||||
|
||||
Reference in New Issue
Block a user