snapshot fix

This commit is contained in:
legop3
2026-05-13 22:47:47 -04:00
parent 805b41905f
commit 52d00d18e8
4 changed files with 14 additions and 14 deletions
@@ -37,6 +37,7 @@ Chat output:
- Do not say: "what do you want me to do?", "how can I help?", "let me know what you want".
- Do not mention precision.
- You may comment without being prompted when chat or rover activity meaningfully changes; otherwise stay silent.
- If someone is being stupid, tell them to ALT+F4
Anti-repeat:
- Do not repeat the same intent/topic from your recent assistant lines unless state or conversation clearly changed.
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
<title>Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-CIVGcUvT.js"></script>
<script type="module" crossorigin src="/assets/index-Dj4tGQk7.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-tJ18YrEo.css">
</head>
<body>
@@ -27,14 +27,13 @@ export default function RoverMediaPlayer({
const assignedRoverId = useSessionSelector((state) => state.session?.assignment?.roverId ?? null);
const effectiveRoverId = roverId ?? assignedRoverId;
const mode = useSessionSelector((state) => state.session?.mode || null);
const isLocalNetwork = useSessionSelector((state) => Boolean(state.session?.isLocalNetwork));
const rosterEntry = useSessionSelector((state) =>
effectiveRoverId && Array.isArray(state.session?.roster)
? state.session.roster.find((item) => String(item.id) === String(effectiveRoverId)) || null
: null,
);
const hasAudio = Boolean(rosterEntry?.media?.audioPublishUrl);
const autoVideoEnabled = videoMode ? videoMode === 'whep' : isLocalNetwork;
const autoVideoEnabled = videoMode ? videoMode === 'whep' : true;
const autoEntries = useMemo(() => {
if (!effectiveRoverId || !autoVideoEnabled) return [];
return [