Sync session URL when opening chats
This commit is contained in:
@@ -28,6 +28,7 @@ import {
|
||||
readPendingWorkspaceSessionId,
|
||||
writeActiveSessionId,
|
||||
} from "@/lib/claw-active-session";
|
||||
import { pushSessionUrl } from "@/lib/claw-session-url";
|
||||
import { ClawSessionReplayProvider } from "@/lib/claw-session-replay";
|
||||
import { ClawAccountGate, useClawAccount } from "./claw-account-gate";
|
||||
|
||||
@@ -112,6 +113,7 @@ export const Assistant = ({ initialSessionId }: AssistantProps = {}) => {
|
||||
targetSessionId,
|
||||
toReplayRepository(payload, targetSessionId, runStatus),
|
||||
);
|
||||
pushSessionUrl(targetSessionId);
|
||||
} catch {
|
||||
if (!cancelled) {
|
||||
loadedInitialSessionRef.current = null;
|
||||
|
||||
Reference in New Issue
Block a user