DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
diff --git a/dist/index.mjs b/dist/index.mjs
index dc6e0ff2768245e817b06d6493060573a0277a02..7ac738d28242256bcc2e178ecd6f95659d01aa25 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -2722,7 +2722,8 @@ function CodexPet(props) {
fallbackSize: 231
});
const height = width * (cellHeight / cellWidth);
- const renderMotion = dragging ? state.type === "moving-left" || state.type === "moving-right" ? state.type : "moving-right" : state.type;
+ const dragMotion = typeof motion === "string" ? motion : motion?.type;
+ const renderMotion = dragging ? dragMotion === "moving-left" || dragMotion === "moving-right" ? dragMotion : "moving-right" : state.type;
const frame = useMemo(() => resolveCodexFrame(renderMotion, config), [config, renderMotion]);
const src = useCachedMediaUrl(resolveSpritesheetUrl(uri, configSource, config), cache, onError);
useEffect(() => {
@@ -3494,7 +3495,7 @@ function Pet(props) {
}
for (const id of [...fired.keys()]) if (!bubbles.some((bubble) => bubble.id === id)) fired.delete(id);
}, [bubbles, motionRequest]);
- const effectiveMotion = bubbleMotion ?? motion;
+ const effectiveMotion = resolvedKind === "codex" && common.dragging ? motion : bubbleMotion ?? motion;
const mutteringSuspended = bubbles.some((bubble) => bubble.loading);
const { width } = useElementSize(shellRef);
const plan = useMemo(() => resolveMutteringPlan({