Spaces:
Running
Running
The Spanish scene: the whole TV in Spanish
Browse files- index.html +98 -38
- scenes/answer.json +1 -1
- scenes/cups.json +0 -0
- scenes/drawing.json +1 -1
- scenes/finding.json +1 -1
- scenes/found.json +0 -0
- scenes/help.json +1 -1
- scenes/idle.json +1 -1
- scenes/memory.json +1 -1
- scenes/mine.json +0 -0
- scenes/out.json +1 -1
- scenes/spanish.json +0 -0
- scenes/web.json +1 -1
index.html
CHANGED
|
@@ -170,15 +170,15 @@
|
|
| 170 |
<span class="badge" id="quiet" hidden></span>
|
| 171 |
<span class="badge" id="lang" hidden></span>
|
| 172 |
<span class="badge" id="offline" hidden>Offline: working on this computer</span>
|
| 173 |
-
<span class="badge" id="private"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M7 10V8a5 5 0 0 1 10 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V8a3 3 0 0 0-6 0z"/></svg>Pictures and voice stay on this computer</span>
|
| 174 |
<span class="badge" id="staged" hidden>Staged scene: camera pictures go to Meta's Model API</span>
|
| 175 |
</div>
|
| 176 |
</div>
|
| 177 |
</header>
|
| 178 |
<main>
|
| 179 |
<div class="side">
|
| 180 |
-
<section class="panel"><div class="kicker">Next</div><div id="next"></div></section>
|
| 181 |
-
<section class="panel"><div class="kicker">Keeping an eye on</div><div id="watching"></div></section>
|
| 182 |
</div>
|
| 183 |
<section id="card" class="panel" aria-live="polite">
|
| 184 |
<div><div class="kicker" id="kicker"></div><h1 id="title"></h1></div>
|
|
@@ -190,7 +190,7 @@
|
|
| 190 |
<div id="captions" aria-live="polite"></div>
|
| 191 |
</div>
|
| 192 |
<nav id="demo" hidden aria-label="Sample scenes"></nav>
|
| 193 |
-
<div id="help" hidden><div class="panel" role="dialog" aria-label="What can I ask Andy?">
|
| 194 |
<h1>What can I ask Andy?</h1>
|
| 195 |
<div class="kicker">Start with “Andy”. These are ideas to say out loud. Any time: “speak up”, “speak more slowly”, “say that again”, “move less”, “be quiet for an hour”.</div>
|
| 196 |
<div class="cols">
|
|
@@ -198,7 +198,16 @@
|
|
| 198 |
<div><h3>Remember things</h3><p>“Andy, keep an eye on my keys.”</p><p>“Andy, what do you remember?”</p><p>“Andy, remind me at 3 pm to call Sam.”</p></div>
|
| 199 |
<div><h3>Talk, look, make</h3><p>“Andy, what am I holding?” · “What's on the table?”</p><p>“Andy, what's the weather tomorrow?”</p><p>“Andy, draw me a lighthouse at dawn.” (then “make it sunset”)</p></div>
|
| 200 |
</div>
|
| 201 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
<script>window.HEYANDY_STATIC = true;</script>
|
| 203 |
<script>
|
| 204 |
const $ = (id) => document.getElementById(id);
|
|
@@ -208,6 +217,48 @@
|
|
| 208 |
"“Andy, draw me a picture of a cat in a sunny garden.”", "“Andy, what am I holding?”", "“Andy, let's play the cup game.”", "“Andy, this is my mug.”", "“Andy, show me the weather radar on the TV.”",
|
| 209 |
"“Andy, the blue mug, next to the laptop.”", "“Andy, what do you remember?”", "“Andy, what can I ask?”"];
|
| 210 |
let lastCaption = "", captionAt = 0, pictureKey = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
// The public demo only: sample scenes, chosen by each visitor for themselves (or in turn, every 10 s).
|
| 212 |
const NAMES = { idle: "Waiting", finding: "Finding", found: "Found", mine: "My mug", cups: "The cup game", out: "Going out", spanish: "En español",
|
| 213 |
web: "On the web", answer: "An answer", drawing: "A picture", memory: "Memory", help: "What can I ask?" };
|
|
@@ -227,25 +278,27 @@
|
|
| 227 |
function clock() {
|
| 228 |
const d = new Date(), part = partOfDay(d.getHours());
|
| 229 |
document.documentElement.dataset.part = part;
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
const
|
| 233 |
-
|
|
|
|
| 234 |
}
|
| 235 |
function nextAt(n) { return n.at || Date.now() / 1000 + n.in_s; } // a saved sample counts from now
|
| 236 |
function until(at) {
|
| 237 |
const m = Math.round((at * 1000 - Date.now()) / 60000);
|
| 238 |
-
if (m <= 0) return "now";
|
|
|
|
| 239 |
if (m < 60) return `in ${m} minute${m === 1 ? "" : "s"}`;
|
| 240 |
const h = Math.round(m / 60); return `in about ${h} hour${h === 1 ? "" : "s"}`;
|
| 241 |
}
|
| 242 |
function side(s) {
|
| 243 |
if (s.next) {
|
| 244 |
const t = nextAt(s.next);
|
| 245 |
-
const at = new Date(t * 1000).toLocaleTimeString(
|
| 246 |
const when = el("div", null, "when"); when.append(at + " · ", el("b", until(t)));
|
| 247 |
$("next").replaceChildren(el("h2", s.next.text), when);
|
| 248 |
-
} else $("next").replaceChildren(el("h2", "No reminders"), el("div", "“Andy, remind me at 3 pm to call Sam.”", "when"));
|
| 249 |
const seen = (s.map || []).some(p => p.yaw !== undefined);
|
| 250 |
const list = el("ul", null, seen ? "compact" : "");
|
| 251 |
for (const line of s.watching || []) { // beside the map, only when; the map shows where
|
|
@@ -254,7 +307,7 @@
|
|
| 254 |
li.append(el("span", seen ? " · " + where.split(",")[0] : where)); list.append(li);
|
| 255 |
}
|
| 256 |
$("watching").replaceChildren(...(list.children.length ? (seen ? [dial(s.map), list] : [list])
|
| 257 |
-
: [el("div", "Nothing yet. “Andy, keep an eye on my keys.”", "when")]));
|
| 258 |
}
|
| 259 |
// What Andy remembers, as a map around it: front is up, left is left; lower (nearer) things sit closer in;
|
| 260 |
// older sightings fade. Directions are where the head looked, so this is a dial, not a floor plan.
|
|
@@ -265,7 +318,7 @@
|
|
| 265 |
const add = (tag, attrs, text) => { const e = document.createElementNS(svgNS, tag);
|
| 266 |
for (const [k, v] of Object.entries(attrs)) e.setAttribute(k, v); if (text) e.textContent = text; svg.append(e); return e; };
|
| 267 |
add("circle", { cx: 0, cy: 0, r: R, class: "ring" }); add("circle", { cx: 0, cy: 0, r: R / 2, class: "ring" });
|
| 268 |
-
add("text", { x: 0, y: -R - 6, class: "front" }, "front");
|
| 269 |
add("rect", { x: -9, y: -7, width: 18, height: 14, rx: 7, fill: "var(--accent)" }); // Andy
|
| 270 |
add("circle", { cx: -3.5, cy: 0, r: 2.2, fill: "var(--panel)" }); add("circle", { cx: 3.5, cy: 0, r: 2.2, fill: "var(--panel)" });
|
| 271 |
for (const p of places || []) {
|
|
@@ -314,7 +367,8 @@
|
|
| 314 |
const body = $("body");
|
| 315 |
let kicker, title = "";
|
| 316 |
if (s.web) {
|
| 317 |
-
kicker = s.web.request[0].toUpperCase() + s.web.request.slice(1) + " ·
|
|
|
|
| 318 |
const key = "web:" + s.web.v;
|
| 319 |
if (key !== pictureKey) {
|
| 320 |
pictureKey = key;
|
|
@@ -328,30 +382,30 @@
|
|
| 328 |
shot.append(dot);
|
| 329 |
}
|
| 330 |
box.append(shot, el("small", (s.web.words ? s.web.words + " · " : "") +
|
| 331 |
-
"Andy sends Muse Spark screenshots of this web page, never the camera"));
|
| 332 |
body.replaceChildren(box);
|
| 333 |
}
|
| 334 |
} else if (s.drawing) {
|
| 335 |
-
kicker = "A picture for you"; title = s.drawing.prompt[0].toUpperCase() + s.drawing.prompt.slice(1);
|
| 336 |
const key = "drawing:" + s.drawing.v;
|
| 337 |
if (key !== pictureKey) {
|
| 338 |
pictureKey = key;
|
| 339 |
const box = el("div", null, "drawing"), img = el("img");
|
| 340 |
img.src = (window.HEYANDY_STATIC ? "drawing.webp" : "/drawing.webp") + "?v=" + s.drawing.v;
|
| 341 |
img.alt = "A picture of " + s.drawing.prompt;
|
| 342 |
-
box.append(img, el("small", s.drawing.saved + " · Made by Muse Image from your words only"));
|
| 343 |
body.replaceChildren(box);
|
| 344 |
}
|
| 345 |
} else if (s.picture) {
|
| 346 |
-
kicker = s.game ? "The cup game" : "Found"; title = s.picture.words;
|
| 347 |
const key = s.picture.src.length + ":" + s.picture.box.join(",") + ":" + s.picture.words;
|
| 348 |
if (key !== pictureKey) {
|
| 349 |
pictureKey = key;
|
| 350 |
const facts = el("div", null, "facts");
|
| 351 |
-
if (s.seconds !== null) { const f = el("div", "to find it"); f.prepend(el("b", s.seconds.toFixed(1) + " s")); facts.append(f); }
|
| 352 |
if (s.steps.length) facts.append(steps(s.steps));
|
| 353 |
if (s.game) {
|
| 354 |
-
const f = el("div", "SAM 3.1 Object Multiplex followed every cup at once, on this computer");
|
| 355 |
f.prepend(el("b", s.picture.trails ? s.picture.trails.length + " cups" : "")); facts.append(f);
|
| 356 |
}
|
| 357 |
const split = el("div", null, "split"); split.append(picture(s.picture), facts); body.replaceChildren(split);
|
|
@@ -359,23 +413,23 @@
|
|
| 359 |
} else {
|
| 360 |
pictureKey = "";
|
| 361 |
if (s.game) {
|
| 362 |
-
kicker = "The cup game"; title = s.game.title;
|
| 363 |
const w = el("div", s.game.detail, "when");
|
| 364 |
if (s.game.score) w.append(el("div", s.game.score, "answer"));
|
| 365 |
body.replaceChildren(w);
|
| 366 |
} else if (s.looking_for && s.running) {
|
| 367 |
-
kicker = `Finding your ${s.looking_for}`; title = s.head || "Looking around the room";
|
| 368 |
-
body.replaceChildren(s.steps.length ? steps(s.steps) : el("div", "If I can't find it, I'll say so.", "when"));
|
| 369 |
} else if (s.looking_for && s.seconds !== null) {
|
| 370 |
-
kicker = `Looked for your ${s.looking_for}`; title = s.caption;
|
| 371 |
body.replaceChildren(steps(s.steps));
|
| 372 |
} else if (s.sources.length) {
|
| 373 |
-
kicker = "What I found";
|
| 374 |
const src = el("div", null, "sources");
|
| 375 |
for (const x of s.sources) src.append(el("div", x.title + " · " + new URL(x.url).hostname.replace(/^www\./, "")));
|
| 376 |
body.replaceChildren(el("div", s.caption.replace(/ That's according to .*$/, ""), "answer"), src);
|
| 377 |
} else if (s.checklist) {
|
| 378 |
-
kicker = "Going out"; title = "Have you got everything?";
|
| 379 |
const box = el("div", null, "check");
|
| 380 |
for (const i of s.checklist.items) { // still here: it isn't with you (Andy points at it)
|
| 381 |
const row = el("div", null, "row " + (i.here === true ? "here" : i.here === false ? "gone" : "unknown"));
|
|
@@ -387,18 +441,19 @@
|
|
| 387 |
}
|
| 388 |
body.replaceChildren(box);
|
| 389 |
} else if (s.memory) {
|
| 390 |
-
kicker = "What I remember"; title = s.memory.length ? "Where I last saw things" : "Nothing yet";
|
| 391 |
const box = el("div", null, "memory"); box.append(dial(s.map, true), steps(s.memory, "ul"));
|
| 392 |
body.replaceChildren(s.memory.length ? box : steps(s.memory, "ul"));
|
| 393 |
} else {
|
| 394 |
-
kicker = "Try asking";
|
| 395 |
-
const
|
| 396 |
-
t
|
|
|
|
| 397 |
const does = el("div", null, "does");
|
| 398 |
for (const [b, d] of [["Finds things", "Looks around the room and points, and tells a real thing from a picture of it."],
|
| 399 |
["Keeps an eye out", "Remembers where the things you choose were last seen. Never a picture."],
|
| 400 |
["Reminds you", "Turns to find you when it's time, and says it in your own words."]]) {
|
| 401 |
-
const x = el("div", d); x.prepend(el("b", b)); does.append(x);
|
| 402 |
}
|
| 403 |
body.replaceChildren(t, does);
|
| 404 |
}
|
|
@@ -410,10 +465,10 @@
|
|
| 410 |
function receipt(s) {
|
| 411 |
const r = $("receipt");
|
| 412 |
if (!s.models || !s.models.length) { r.replaceChildren(); return; }
|
| 413 |
-
if (!s.outbox || !s.outbox.length) { r.replaceChildren(el("b", "✓ Nothing left this house this turn.")); return; }
|
| 414 |
const web = s.outbox.some(o => o.to.includes("computer use")); // web pages' screenshots went too: say so
|
| 415 |
-
r.replaceChildren(el("span", web ? "Sent to the cloud this turn (words, and screenshots of web pages): "
|
| 416 |
-
|
| 417 |
s.outbox.forEach((o, i) => {
|
| 418 |
if (i) r.append(" · ");
|
| 419 |
r.append(o.to + " ← ", el("q", o.words));
|
|
@@ -426,19 +481,24 @@
|
|
| 426 |
for (const where of ["device", "cloud"]) {
|
| 427 |
const these = (list || []).filter(x => x.where === where);
|
| 428 |
if (!these.length) continue;
|
| 429 |
-
m.append(el("b", where === "device" ? "On this computer:" : web ? "In the cloud, words and web pages:" : "In the cloud, words only:"));
|
| 430 |
for (const x of these) m.append(el("span", x.name + (x.times > 1 ? " ×" + x.times : ""), where));
|
| 431 |
}
|
| 432 |
}
|
| 433 |
function render(s) {
|
| 434 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 435 |
$("offline").hidden = s.online;
|
| 436 |
$("notice").hidden = !s.notice; $("notice").textContent = s.notice || "";
|
| 437 |
$("quiet").hidden = !s.quiet; $("quiet").textContent = s.quiet || "";
|
| 438 |
$("lang").hidden = !s.language; $("lang").textContent = s.language || "";
|
| 439 |
$("private").hidden = s.staged; $("staged").hidden = !s.staged;
|
| 440 |
side(s); card(s); models(s.models);
|
| 441 |
-
$("why").textContent = s.reason ? "Why: " + s.reason : "";
|
| 442 |
receipt(s);
|
| 443 |
if (s.caption !== lastCaption || s.state === "Speaking") captionAt = Date.now();
|
| 444 |
lastCaption = s.caption;
|
|
|
|
| 170 |
<span class="badge" id="quiet" hidden></span>
|
| 171 |
<span class="badge" id="lang" hidden></span>
|
| 172 |
<span class="badge" id="offline" hidden>Offline: working on this computer</span>
|
| 173 |
+
<span class="badge" id="private"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M7 10V8a5 5 0 0 1 10 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V8a3 3 0 0 0-6 0z"/></svg><span id="t-private">Pictures and voice stay on this computer</span></span>
|
| 174 |
<span class="badge" id="staged" hidden>Staged scene: camera pictures go to Meta's Model API</span>
|
| 175 |
</div>
|
| 176 |
</div>
|
| 177 |
</header>
|
| 178 |
<main>
|
| 179 |
<div class="side">
|
| 180 |
+
<section class="panel"><div class="kicker" id="k-next">Next</div><div id="next"></div></section>
|
| 181 |
+
<section class="panel"><div class="kicker" id="k-watching">Keeping an eye on</div><div id="watching"></div></section>
|
| 182 |
</div>
|
| 183 |
<section id="card" class="panel" aria-live="polite">
|
| 184 |
<div><div class="kicker" id="kicker"></div><h1 id="title"></h1></div>
|
|
|
|
| 190 |
<div id="captions" aria-live="polite"></div>
|
| 191 |
</div>
|
| 192 |
<nav id="demo" hidden aria-label="Sample scenes"></nav>
|
| 193 |
+
<div id="help" hidden><div class="panel" role="dialog" aria-label="What can I ask Andy?"><div id="help-en">
|
| 194 |
<h1>What can I ask Andy?</h1>
|
| 195 |
<div class="kicker">Start with “Andy”. These are ideas to say out loud. Any time: “speak up”, “speak more slowly”, “say that again”, “move less”, “be quiet for an hour”.</div>
|
| 196 |
<div class="cols">
|
|
|
|
| 198 |
<div><h3>Remember things</h3><p>“Andy, keep an eye on my keys.”</p><p>“Andy, what do you remember?”</p><p>“Andy, remind me at 3 pm to call Sam.”</p></div>
|
| 199 |
<div><h3>Talk, look, make</h3><p>“Andy, what am I holding?” · “What's on the table?”</p><p>“Andy, what's the weather tomorrow?”</p><p>“Andy, draw me a lighthouse at dawn.” (then “make it sunset”)</p></div>
|
| 200 |
</div>
|
| 201 |
+
</div>
|
| 202 |
+
<div id="help-es" hidden>
|
| 203 |
+
<h1>¿Qué puedo pedirle a Andy?</h1>
|
| 204 |
+
<div class="kicker">Empiece con “Andy”. Son ideas para decir en voz alta. En cualquier momento: “habla más alto”, “habla más despacio”, “repite eso”, “muévete menos”, “quédate callado una hora”.</div>
|
| 205 |
+
<div class="cols">
|
| 206 |
+
<div><h3>Encontrar cosas</h3><p>“Andy, ¿dónde están mis gafas?”</p><p>“Andy, la taza azul, junto a la computadora.”</p><p>“Andy, sigue la taza.” (muévala; diga “basta”)</p></div>
|
| 207 |
+
<div><h3>Recordar cosas</h3><p>“Andy, vigila mis llaves.”</p><p>“Andy, ¿qué recuerdas?”</p><p>“Andy, recuérdame a las 3 de la tarde llamar a Sam.”</p></div>
|
| 208 |
+
<div><h3>Hablar, mirar, crear</h3><p>“Andy, ¿qué tengo en la mano?” · “¿Qué hay en la mesa?”</p><p>“Andy, ¿qué tiempo hará mañana?”</p><p>“Andy, dibújame un faro al amanecer.”</p></div>
|
| 209 |
+
</div>
|
| 210 |
+
</div></div></div>
|
| 211 |
<script>window.HEYANDY_STATIC = true;</script>
|
| 212 |
<script>
|
| 213 |
const $ = (id) => document.getElementById(id);
|
|
|
|
| 217 |
"“Andy, draw me a picture of a cat in a sunny garden.”", "“Andy, what am I holding?”", "“Andy, let's play the cup game.”", "“Andy, this is my mug.”", "“Andy, show me the weather radar on the TV.”",
|
| 218 |
"“Andy, the blue mug, next to the laptop.”", "“Andy, what do you remember?”", "“Andy, what can I ask?”"];
|
| 219 |
let lastCaption = "", captionAt = 0, pictureKey = "";
|
| 220 |
+
// The TV in Spanish, while Andy speaks it: every fixed label by hand (Andy's own words come translated, from Glimmer).
|
| 221 |
+
let LANG = "en";
|
| 222 |
+
const ES = {
|
| 223 |
+
"Next": "Lo próximo", "Keeping an eye on": "Vigilando", "No reminders": "Sin recordatorios",
|
| 224 |
+
"“Andy, remind me at 3 pm to call Sam.”": "“Andy, recuérdame a las 3 de la tarde llamar a Sam.”",
|
| 225 |
+
"Nothing yet. “Andy, keep an eye on my keys.”": "Nada todavía. “Andy, vigila mis llaves.”",
|
| 226 |
+
"Found": "Encontrado", "A picture for you": "Un dibujo para usted", "The cup game": "El juego de los vasos",
|
| 227 |
+
"What I found": "Lo que encontré", "Going out": "Antes de salir", "Have you got everything?": "¿Lleva todo?",
|
| 228 |
+
"What I remember": "Lo que recuerdo", "Where I last saw things": "Dónde vi las cosas por última vez",
|
| 229 |
+
"Nothing yet": "Nada todavía", "Try asking": "Pruebe a decir", "to find it": "para encontrarlo",
|
| 230 |
+
"If I can't find it, I'll say so.": "Si no lo encuentro, se lo diré.", "Looking around the room": "Mirando por la habitación",
|
| 231 |
+
"Andy sees and hears on this computer. Pictures and voice never leave your home.":
|
| 232 |
+
"Andy ve y oye en esta computadora. Las imágenes y la voz nunca salen de su casa.",
|
| 233 |
+
"Finds things": "Encuentra cosas", "Looks around the room and points, and tells a real thing from a picture of it.":
|
| 234 |
+
"Mira por la habitación, señala y distingue una cosa real de una foto de ella.",
|
| 235 |
+
"Keeps an eye out": "Vigila", "Remembers where the things you choose were last seen. Never a picture.":
|
| 236 |
+
"Recuerda dónde vio por última vez las cosas que usted elige. Nunca una foto.",
|
| 237 |
+
"Reminds you": "Le recuerda", "Turns to find you when it's time, and says it in your own words.":
|
| 238 |
+
"A la hora se gira para buscarle y se lo dice con sus propias palabras.",
|
| 239 |
+
"On this computer:": "En esta computadora:", "In the cloud, words only:": "En la nube, solo palabras:",
|
| 240 |
+
"In the cloud, words and web pages:": "En la nube, palabras y páginas web:",
|
| 241 |
+
"Sent to the cloud this turn, words only: ": "Enviado a la nube en este turno, solo palabras: ",
|
| 242 |
+
"Sent to the cloud this turn (words, and screenshots of web pages): ":
|
| 243 |
+
"Enviado a la nube en este turno (palabras y capturas de páginas web): ",
|
| 244 |
+
"✓ Nothing left this house this turn.": "✓ Nada salió de esta casa en este turno.", "Why: ": "Por qué: ",
|
| 245 |
+
"Andy sends Muse Spark screenshots of this web page, never the camera":
|
| 246 |
+
"Andy envía a Muse Spark capturas de esta página web, nunca de la cámara",
|
| 247 |
+
"SAM 3.1 Object Multiplex followed every cup at once, on this computer":
|
| 248 |
+
"SAM 3.1 Object Multiplex siguió todos los vasos a la vez, en esta computadora",
|
| 249 |
+
"Made by Muse Image from your words only": "Hecho por Muse Image solo con sus palabras",
|
| 250 |
+
"Pictures and voice stay on this computer": "Las imágenes y la voz se quedan en esta computadora",
|
| 251 |
+
"Offline: working on this computer": "Sin conexión: trabajando en esta computadora",
|
| 252 |
+
"Waiting": "Esperando", "Working": "Trabajando", "Pointing": "Señalando", "Speaking": "Hablando",
|
| 253 |
+
"Listening": "Escuchando", "Playing": "Jugando", "Thinking": "Pensando", "now": "ahora",
|
| 254 |
+
"Night": "Noche", "Morning": "Mañana", "Afternoon": "Tarde", "Evening": "Tarde",
|
| 255 |
+
};
|
| 256 |
+
const T = (s) => (LANG === "es" && ES[s]) || s;
|
| 257 |
+
const LOCALE = () => (LANG === "es" ? "es-US" : "en-US");
|
| 258 |
+
const TRY_ES = ["“Andy, ¿dónde están mis gafas?”", "“Andy, vigila mis llaves.”", "“Andy, recuérdame a las 3 de la tarde llamar a Sam.”",
|
| 259 |
+
"“Andy, dibújame un gato en un jardín soleado.”", "“Andy, ¿qué tengo en la mano?”", "“Andy, juguemos al juego de los vasos.”",
|
| 260 |
+
"“Andy, esta es mi taza.”", "“Andy, muéstrame el radar del tiempo en la tele.”", "“Andy, me voy, ¿llevo todo?”",
|
| 261 |
+
"“Andy, ¿qué recuerdas?”", "“Andy, habla inglés.”"];
|
| 262 |
// The public demo only: sample scenes, chosen by each visitor for themselves (or in turn, every 10 s).
|
| 263 |
const NAMES = { idle: "Waiting", finding: "Finding", found: "Found", mine: "My mug", cups: "The cup game", out: "Going out", spanish: "En español",
|
| 264 |
web: "On the web", answer: "An answer", drawing: "A picture", memory: "Memory", help: "What can I ask?" };
|
|
|
|
| 278 |
function clock() {
|
| 279 |
const d = new Date(), part = partOfDay(d.getHours());
|
| 280 |
document.documentElement.dataset.part = part;
|
| 281 |
+
const day = d.toLocaleDateString(LOCALE(), { weekday: "long" });
|
| 282 |
+
$("day").textContent = day[0].toUpperCase() + day.slice(1);
|
| 283 |
+
const time = d.toLocaleTimeString(LOCALE(), { hour: "numeric", minute: "2-digit" }).toLowerCase();
|
| 284 |
+
const date = d.toLocaleDateString(LOCALE(), { month: "long", day: "numeric" });
|
| 285 |
+
$("date").replaceChildren(T(part[0].toUpperCase() + part.slice(1)) + ", ", el("b", time), ", " + date);
|
| 286 |
}
|
| 287 |
function nextAt(n) { return n.at || Date.now() / 1000 + n.in_s; } // a saved sample counts from now
|
| 288 |
function until(at) {
|
| 289 |
const m = Math.round((at * 1000 - Date.now()) / 60000);
|
| 290 |
+
if (m <= 0) return T("now");
|
| 291 |
+
if (LANG === "es") return m < 60 ? `en ${m} minuto${m === 1 ? "" : "s"}` : `en unas ${Math.round(m / 60)} hora${Math.round(m / 60) === 1 ? "" : "s"}`;
|
| 292 |
if (m < 60) return `in ${m} minute${m === 1 ? "" : "s"}`;
|
| 293 |
const h = Math.round(m / 60); return `in about ${h} hour${h === 1 ? "" : "s"}`;
|
| 294 |
}
|
| 295 |
function side(s) {
|
| 296 |
if (s.next) {
|
| 297 |
const t = nextAt(s.next);
|
| 298 |
+
const at = new Date(t * 1000).toLocaleTimeString(LOCALE(), { hour: "numeric", minute: "2-digit" }).toLowerCase();
|
| 299 |
const when = el("div", null, "when"); when.append(at + " · ", el("b", until(t)));
|
| 300 |
$("next").replaceChildren(el("h2", s.next.text), when);
|
| 301 |
+
} else $("next").replaceChildren(el("h2", T("No reminders")), el("div", T("“Andy, remind me at 3 pm to call Sam.”"), "when"));
|
| 302 |
const seen = (s.map || []).some(p => p.yaw !== undefined);
|
| 303 |
const list = el("ul", null, seen ? "compact" : "");
|
| 304 |
for (const line of s.watching || []) { // beside the map, only when; the map shows where
|
|
|
|
| 307 |
li.append(el("span", seen ? " · " + where.split(",")[0] : where)); list.append(li);
|
| 308 |
}
|
| 309 |
$("watching").replaceChildren(...(list.children.length ? (seen ? [dial(s.map), list] : [list])
|
| 310 |
+
: [el("div", T("Nothing yet. “Andy, keep an eye on my keys.”"), "when")]));
|
| 311 |
}
|
| 312 |
// What Andy remembers, as a map around it: front is up, left is left; lower (nearer) things sit closer in;
|
| 313 |
// older sightings fade. Directions are where the head looked, so this is a dial, not a floor plan.
|
|
|
|
| 318 |
const add = (tag, attrs, text) => { const e = document.createElementNS(svgNS, tag);
|
| 319 |
for (const [k, v] of Object.entries(attrs)) e.setAttribute(k, v); if (text) e.textContent = text; svg.append(e); return e; };
|
| 320 |
add("circle", { cx: 0, cy: 0, r: R, class: "ring" }); add("circle", { cx: 0, cy: 0, r: R / 2, class: "ring" });
|
| 321 |
+
add("text", { x: 0, y: -R - 6, class: "front" }, LANG === "es" ? "al frente" : "front");
|
| 322 |
add("rect", { x: -9, y: -7, width: 18, height: 14, rx: 7, fill: "var(--accent)" }); // Andy
|
| 323 |
add("circle", { cx: -3.5, cy: 0, r: 2.2, fill: "var(--panel)" }); add("circle", { cx: 3.5, cy: 0, r: 2.2, fill: "var(--panel)" });
|
| 324 |
for (const p of places || []) {
|
|
|
|
| 367 |
const body = $("body");
|
| 368 |
let kicker, title = "";
|
| 369 |
if (s.web) {
|
| 370 |
+
kicker = s.web.request[0].toUpperCase() + s.web.request.slice(1) + (LANG === "es" ? " · en la web" + (s.web.host ? " en " + s.web.host : "")
|
| 371 |
+
: " · on the web" + (s.web.host ? " at " + s.web.host : ""));
|
| 372 |
const key = "web:" + s.web.v;
|
| 373 |
if (key !== pictureKey) {
|
| 374 |
pictureKey = key;
|
|
|
|
| 382 |
shot.append(dot);
|
| 383 |
}
|
| 384 |
box.append(shot, el("small", (s.web.words ? s.web.words + " · " : "") +
|
| 385 |
+
T("Andy sends Muse Spark screenshots of this web page, never the camera")));
|
| 386 |
body.replaceChildren(box);
|
| 387 |
}
|
| 388 |
} else if (s.drawing) {
|
| 389 |
+
kicker = T("A picture for you"); title = s.drawing.prompt[0].toUpperCase() + s.drawing.prompt.slice(1);
|
| 390 |
const key = "drawing:" + s.drawing.v;
|
| 391 |
if (key !== pictureKey) {
|
| 392 |
pictureKey = key;
|
| 393 |
const box = el("div", null, "drawing"), img = el("img");
|
| 394 |
img.src = (window.HEYANDY_STATIC ? "drawing.webp" : "/drawing.webp") + "?v=" + s.drawing.v;
|
| 395 |
img.alt = "A picture of " + s.drawing.prompt;
|
| 396 |
+
box.append(img, el("small", s.drawing.saved + " · " + T("Made by Muse Image from your words only")));
|
| 397 |
body.replaceChildren(box);
|
| 398 |
}
|
| 399 |
} else if (s.picture) {
|
| 400 |
+
kicker = T(s.game ? "The cup game" : "Found"); title = s.picture.words;
|
| 401 |
const key = s.picture.src.length + ":" + s.picture.box.join(",") + ":" + s.picture.words;
|
| 402 |
if (key !== pictureKey) {
|
| 403 |
pictureKey = key;
|
| 404 |
const facts = el("div", null, "facts");
|
| 405 |
+
if (s.seconds !== null) { const f = el("div", T("to find it")); f.prepend(el("b", s.seconds.toFixed(1) + " s")); facts.append(f); }
|
| 406 |
if (s.steps.length) facts.append(steps(s.steps));
|
| 407 |
if (s.game) {
|
| 408 |
+
const f = el("div", T("SAM 3.1 Object Multiplex followed every cup at once, on this computer"));
|
| 409 |
f.prepend(el("b", s.picture.trails ? s.picture.trails.length + " cups" : "")); facts.append(f);
|
| 410 |
}
|
| 411 |
const split = el("div", null, "split"); split.append(picture(s.picture), facts); body.replaceChildren(split);
|
|
|
|
| 413 |
} else {
|
| 414 |
pictureKey = "";
|
| 415 |
if (s.game) {
|
| 416 |
+
kicker = T("The cup game"); title = s.game.title;
|
| 417 |
const w = el("div", s.game.detail, "when");
|
| 418 |
if (s.game.score) w.append(el("div", s.game.score, "answer"));
|
| 419 |
body.replaceChildren(w);
|
| 420 |
} else if (s.looking_for && s.running) {
|
| 421 |
+
kicker = LANG === "es" ? `Buscando: ${s.looking_for}` : `Finding your ${s.looking_for}`; title = s.head || T("Looking around the room");
|
| 422 |
+
body.replaceChildren(s.steps.length ? steps(s.steps) : el("div", T("If I can't find it, I'll say so."), "when"));
|
| 423 |
} else if (s.looking_for && s.seconds !== null) {
|
| 424 |
+
kicker = LANG === "es" ? `Busqué: ${s.looking_for}` : `Looked for your ${s.looking_for}`; title = s.caption;
|
| 425 |
body.replaceChildren(steps(s.steps));
|
| 426 |
} else if (s.sources.length) {
|
| 427 |
+
kicker = T("What I found");
|
| 428 |
const src = el("div", null, "sources");
|
| 429 |
for (const x of s.sources) src.append(el("div", x.title + " · " + new URL(x.url).hostname.replace(/^www\./, "")));
|
| 430 |
body.replaceChildren(el("div", s.caption.replace(/ That's according to .*$/, ""), "answer"), src);
|
| 431 |
} else if (s.checklist) {
|
| 432 |
+
kicker = T("Going out"); title = T("Have you got everything?");
|
| 433 |
const box = el("div", null, "check");
|
| 434 |
for (const i of s.checklist.items) { // still here: it isn't with you (Andy points at it)
|
| 435 |
const row = el("div", null, "row " + (i.here === true ? "here" : i.here === false ? "gone" : "unknown"));
|
|
|
|
| 441 |
}
|
| 442 |
body.replaceChildren(box);
|
| 443 |
} else if (s.memory) {
|
| 444 |
+
kicker = T("What I remember"); title = T(s.memory.length ? "Where I last saw things" : "Nothing yet");
|
| 445 |
const box = el("div", null, "memory"); box.append(dial(s.map, true), steps(s.memory, "ul"));
|
| 446 |
body.replaceChildren(s.memory.length ? box : steps(s.memory, "ul"));
|
| 447 |
} else {
|
| 448 |
+
kicker = T("Try asking");
|
| 449 |
+
const tries = LANG === "es" ? TRY_ES : TRY;
|
| 450 |
+
const t = el("div", tries[Math.floor(Date.now() / 20000) % tries.length], "try");
|
| 451 |
+
t.append(el("small", T("Andy sees and hears on this computer. Pictures and voice never leave your home.")));
|
| 452 |
const does = el("div", null, "does");
|
| 453 |
for (const [b, d] of [["Finds things", "Looks around the room and points, and tells a real thing from a picture of it."],
|
| 454 |
["Keeps an eye out", "Remembers where the things you choose were last seen. Never a picture."],
|
| 455 |
["Reminds you", "Turns to find you when it's time, and says it in your own words."]]) {
|
| 456 |
+
const x = el("div", T(d)); x.prepend(el("b", T(b))); does.append(x);
|
| 457 |
}
|
| 458 |
body.replaceChildren(t, does);
|
| 459 |
}
|
|
|
|
| 465 |
function receipt(s) {
|
| 466 |
const r = $("receipt");
|
| 467 |
if (!s.models || !s.models.length) { r.replaceChildren(); return; }
|
| 468 |
+
if (!s.outbox || !s.outbox.length) { r.replaceChildren(el("b", T("✓ Nothing left this house this turn."))); return; }
|
| 469 |
const web = s.outbox.some(o => o.to.includes("computer use")); // web pages' screenshots went too: say so
|
| 470 |
+
r.replaceChildren(el("span", T(web ? "Sent to the cloud this turn (words, and screenshots of web pages): "
|
| 471 |
+
: "Sent to the cloud this turn, words only: ")));
|
| 472 |
s.outbox.forEach((o, i) => {
|
| 473 |
if (i) r.append(" · ");
|
| 474 |
r.append(o.to + " ← ", el("q", o.words));
|
|
|
|
| 481 |
for (const where of ["device", "cloud"]) {
|
| 482 |
const these = (list || []).filter(x => x.where === where);
|
| 483 |
if (!these.length) continue;
|
| 484 |
+
m.append(el("b", T(where === "device" ? "On this computer:" : web ? "In the cloud, words and web pages:" : "In the cloud, words only:")));
|
| 485 |
for (const x of these) m.append(el("span", x.name + (x.times > 1 ? " ×" + x.times : ""), where));
|
| 486 |
}
|
| 487 |
}
|
| 488 |
function render(s) {
|
| 489 |
+
if ((s.lang || "en") !== LANG) { LANG = s.lang || "en"; document.documentElement.lang = LANG; pictureKey = ""; clock(); }
|
| 490 |
+
$("k-next").textContent = T("Next"); $("k-watching").textContent = T("Keeping an eye on");
|
| 491 |
+
$("t-private").textContent = T("Pictures and voice stay on this computer");
|
| 492 |
+
$("offline").textContent = T("Offline: working on this computer");
|
| 493 |
+
$("help-en").hidden = LANG === "es"; $("help-es").hidden = LANG !== "es";
|
| 494 |
+
$("state").textContent = T(s.state); $("head").textContent = s.head;
|
| 495 |
$("offline").hidden = s.online;
|
| 496 |
$("notice").hidden = !s.notice; $("notice").textContent = s.notice || "";
|
| 497 |
$("quiet").hidden = !s.quiet; $("quiet").textContent = s.quiet || "";
|
| 498 |
$("lang").hidden = !s.language; $("lang").textContent = s.language || "";
|
| 499 |
$("private").hidden = s.staged; $("staged").hidden = !s.staged;
|
| 500 |
side(s); card(s); models(s.models);
|
| 501 |
+
$("why").textContent = s.reason ? T("Why: ") + s.reason : "";
|
| 502 |
receipt(s);
|
| 503 |
if (s.caption !== lastCaption || s.state === "Speaking") captionAt = Date.now();
|
| 504 |
lastCaption = s.caption;
|
scenes/answer.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "Sunny tomorrow, with a high of 61 and a light breeze in the afternoon. That's according to weather.gov.", "source": "cloud", "reason": "web search (Muse Spark)", "online": true, "picture": null, "sources": [{"title": "Forecast for your area", "url": "https://forecast.weather.gov/sample"}, {"title": "Hourly forecast", "url": "https://www.weather.gov/sample-hourly"}], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "Omnilingual ASR (hearing)", "where": "device", "times": 1}, {"name": "Muse Spark + web search", "where": "cloud", "times": 1}], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [{"to": "Muse Spark + web search", "words": "what's the weather tomorrow? (home: Sunny Isles Beach, Florida)", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "Sunny tomorrow, with a high of 61 and a light breeze in the afternoon. That's according to weather.gov.", "source": "cloud", "reason": "web search (Muse Spark)", "online": true, "picture": null, "sources": [{"title": "Forecast for your area", "url": "https://forecast.weather.gov/sample"}, {"title": "Hourly forecast", "url": "https://www.weather.gov/sample-hourly"}], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "Omnilingual ASR (hearing)", "where": "device", "times": 1}, {"name": "Muse Spark + web search", "where": "cloud", "times": 1}], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [{"to": "Muse Spark + web search", "words": "what's the weather tomorrow? (home: Sunny Isles Beach, Florida)", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/cups.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scenes/drawing.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "Here's your picture, on the screen. I've saved it in your Pictures folder.", "source": "cloud", "reason": "a picture from your words (Muse Image)", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "Omnilingual ASR (hearing)", "where": "device", "times": 1}, {"name": "Muse Image", "where": "cloud", "times": 1}], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": {"v": 1, "prompt": "a lighthouse at dawn, in soft watercolor", "saved": "Saved in Pictures, Andy, as andy-2026-10-27-191724.webp"}, "quiet": "", "outbox": [{"to": "Muse Image", "words": "a lighthouse at dawn, in soft watercolor", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "Here's your picture, on the screen. I've saved it in your Pictures folder.", "source": "cloud", "reason": "a picture from your words (Muse Image)", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "Omnilingual ASR (hearing)", "where": "device", "times": 1}, {"name": "Muse Image", "where": "cloud", "times": 1}], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": {"v": 1, "prompt": "a lighthouse at dawn, in soft watercolor", "saved": "Saved in Pictures, Andy, as andy-2026-10-27-191724.webp"}, "quiet": "", "outbox": [{"to": "Muse Image", "words": "a lighthouse at dawn, in soft watercolor", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/finding.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "Let me look.", "source": "device", "reason": "fixed search on this computer", "online": true, "picture": null, "sources": [], "steps": ["recall: no recent sighting", "look: a little to my left, a little to my right"], "memory": null, "seconds": 3.2, "running": true, "models": [], "state": "Working", "head": "Looking around the room", "looking_for": "mug", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "Let me look.", "source": "device", "reason": "fixed search on this computer", "online": true, "picture": null, "sources": [], "steps": ["recall: no recent sighting", "look: a little to my left, a little to my right"], "memory": null, "seconds": 3.2, "running": true, "models": [], "state": "Working", "head": "Looking around the room", "looking_for": "mug", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/found.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scenes/help.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "I can find things and point at them, keep an eye on things, remind you, and look things up.", "source": "", "reason": "", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [], "state": "Waiting", "head": "", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": true, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "I can find things and point at them, keep an eye on things, remind you, and look things up.", "source": "", "reason": "", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [], "state": "Waiting", "head": "", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": true, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/idle.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "", "source": "", "reason": "", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [], "state": "Waiting", "head": "", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "", "source": "", "reason": "", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [], "state": "Waiting", "head": "", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/memory.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "I'm keeping an eye on your keys and your glasses. It's on the screen.", "source": "device", "reason": "", "online": true, "picture": null, "sources": [], "steps": [], "memory": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "seconds": null, "running": false, "models": [], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "I'm keeping an eye on your keys and your glasses. It's on the screen.", "source": "device", "reason": "", "online": true, "picture": null, "sources": [], "steps": [], "memory": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "seconds": null, "running": false, "models": [], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [], "language": "", "notice": "", "game": null, "checklist": null, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/mine.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scenes/out.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "Don't forget your keys. I didn't see your glasses and your remote where I last saw them, so I hope they're with you. Remember: at 9:39, call Sam. Take an umbrella. Have a lovely time!", "source": "cloud", "reason": "looked again where your things were last seen; the weather from the web", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "SAM 3.1", "where": "device", "times": 3}, {"name": "Muse Spark + web search", "where": "cloud", "times": 1}], "state": "Pointing", "head": "At your keys", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [{"to": "Muse Spark + web search", "words": "Going out now: will I need an umbrella, a jacket or sun protection? (home: Sunny Isles Beach, Florida)", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": {"items": [{"thing": "keys", "here": true, "words": "Still here, on the desk, next to the lamp"}, {"thing": "glasses", "here": false, "words": "Not where I last saw them: with you?"}, {"thing": "remote", "here": false, "words": "Not where I last saw it: with you?"}], "weather": "Take an umbrella: showers after 3, high near 82.", "next": ""}, "web": null, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "Don't forget your keys. I didn't see your glasses and your remote where I last saw them, so I hope they're with you. Remember: at 9:39, call Sam. Take an umbrella. Have a lovely time!", "source": "cloud", "reason": "looked again where your things were last seen; the weather from the web", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "SAM 3.1", "where": "device", "times": 3}, {"name": "Muse Spark + web search", "where": "cloud", "times": 1}], "state": "Pointing", "head": "At your keys", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [{"to": "Muse Spark + web search", "words": "Going out now: will I need an umbrella, a jacket or sun protection? (home: Sunny Isles Beach, Florida)", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": {"items": [{"thing": "keys", "here": true, "words": "Still here, on the desk, next to the lamp"}, {"thing": "glasses", "here": false, "words": "Not where I last saw them: with you?"}, {"thing": "remote", "here": false, "words": "Not where I last saw it: with you?"}], "weather": "Take an umbrella: showers after 3, high near 82.", "next": ""}, "web": null, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
scenes/spanish.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scenes/web.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"caption": "The TV is showing Wikipedia's page on banana bread: a sweet quick bread made from mashed bananas.", "source": "cloud", "reason": "Muse Spark used the web: screenshots of web pages, never the camera", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "Omnilingual ASR (hearing)", "where": "device", "times": 1}, {"name": "Muse Spark (web search)", "where": "cloud", "times": 1}, {"name": "Muse Spark (computer use)", "where": "cloud", "times": 1}], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [{"to": "Muse Spark (uses the web)", "words": "show me what banana bread is on the TV", "earlier": 0}, {"to": "Muse Spark (computer use)", "words": "1 screenshot of the web page", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": null, "web": {"v": 1, "request": "Show me what banana bread is", "words": "Opening the page", "point": [0.2953125, 0.34125], "host": "en.wikipedia.org"}, "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|
|
|
|
| 1 |
+
{"caption": "The TV is showing Wikipedia's page on banana bread: a sweet quick bread made from mashed bananas.", "source": "cloud", "reason": "Muse Spark used the web: screenshots of web pages, never the camera", "online": true, "picture": null, "sources": [], "steps": [], "memory": null, "seconds": null, "running": false, "models": [{"name": "Omnilingual ASR (hearing)", "where": "device", "times": 1}, {"name": "Muse Spark (web search)", "where": "cloud", "times": 1}, {"name": "Muse Spark (computer use)", "where": "cloud", "times": 1}], "state": "Speaking", "head": "Looking at you", "looking_for": "", "next": {"text": "Call Sam", "in_s": 1500}, "watching": ["keys: seen 2 hours ago, to my left", "glasses: seen 10 minutes ago, a little to my right", "remote: seen 25 minutes ago, behind me on my left"], "map": [{"label": "keys", "yaw": 48.0, "pitch": 20.0, "ago_s": 7300}, {"label": "glasses", "yaw": -22.0, "pitch": 14.0, "ago_s": 600}, {"label": "remote", "yaw": 125.0, "pitch": 26.0, "ago_s": 1500}], "help": false, "staged": false, "drawing": null, "quiet": "", "outbox": [{"to": "Muse Spark (uses the web)", "words": "show me what banana bread is on the TV", "earlier": 0}, {"to": "Muse Spark (computer use)", "words": "1 screenshot of the web page", "earlier": 0}], "language": "", "notice": "", "game": null, "checklist": null, "web": {"v": 1, "request": "Show me what banana bread is", "words": "Opening the page", "point": [0.2953125, 0.34125], "host": "en.wikipedia.org"}, "lang": "en", "demo": ["idle", "finding", "found", "mine", "cups", "out", "spanish", "web", "answer", "drawing", "memory", "help"]}
|