The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
fix(pro): voice screen pets: same floor, Codex smooth and smaller (#1341)
0xdiego25872b1b0c9a59
diff --git a/devices/harness-pro/firmware/main/pod/home/ph.h b/devices/harness-pro/firmware/main/pod/home/ph.hindex 6cbed2591..8b873ab10 100644--- a/devices/harness-pro/firmware/main/pod/home/ph.h+++ b/devices/harness-pro/firmware/main/pod/home/ph.h@@ -131,7 +131,9 @@ void ph_bell(ht_scene_t *, int x, int y, int count);// The scene the room plays for the agent: WORK while working, ASK while asking, RELAX when it has a recap (or an unread FINISHED entry) and did not fail, else REST (failed, offline, nothing to say).pod_scene_t ph_room_scene(const pod_model_t *, const pod_agent_t *);// The agent's pet in `scene`, 2x, its feet on `foot`, centred on cx (an engine with no pet: its 72 px logo or the ">_" outline). Returns the top of what is drawn.-int ph_room_pet(ht_scene_t *, const pod_model_t *, const pod_agent_t *, pod_scene_t scene, int cx, int foot, uint32_t now_ms, uint32_t started_ms); // started_ms: when a one-shot scene (SEND, LISTEN) began+int ph_room_pet(ht_scene_t *, const pod_model_t *, const pod_agent_t *, pod_scene_t scene, int cx, int foot, uint32_t now_ms, uint32_t started_ms);+int ph_room_pet_z(ht_scene_t *, const pod_model_t *, const pod_agent_t *, pod_scene_t scene, int cx, int foot, uint32_t now_ms, uint32_t started_ms,+ unsigned zoom8); // started_ms: when a one-shot scene (SEND, LISTEN) began// The room's frame: the scene ground (PH_ROOM_BG), no glow (a flat block bands and shows its edge), the agent's name centred on x 360 (ph_title:// ph_sb_26, cut with an ellipsis at 640 px). No dots.void ph_room_chrome(pod_out_frame_t *, const pod_nav_t *, const pod_model_t *, const pod_agent_t *);diff --git a/devices/harness-pro/firmware/main/pod/home/ph_agent.c b/devices/harness-pro/firmware/main/pod/home/ph_agent.cindex 7a60fb77b..e1c2ffcd4 100644--- a/devices/harness-pro/firmware/main/pod/home/ph_agent.c+++ b/devices/harness-pro/firmware/main/pod/home/ph_agent.c@@ -21,13 +21,19 @@ enum { PET_SIDE = 260, // the 1x square: at 2x it is 520, wide enough for ever// The pet, 2x, its feet on `foot`, centred on cx. An engine with no pet: its 72 px logo or the ">_" outline. Returns the top of what is drawn.int ph_room_pet(ht_scene_t *s, const pod_model_t *m, const pod_agent_t *a, pod_scene_t scene, int cx, int foot, uint32_t now_ms, uint32_t started_ms){- int h = pod_pet_ink_h(a->engine, scene, PET_SIDE, 16);+ return ph_room_pet_z(s, m, a, scene, cx, foot, now_ms, started_ms, 16);+}+// The same at zoom8 (16 = 2x; 9..15 only for a pet drawn smooth, pod_cell_smooth).+int ph_room_pet_z(ht_scene_t *s, const pod_model_t *m, const pod_agent_t *a, pod_scene_t scene, int cx, int foot, uint32_t now_ms, uint32_t started_ms,+ unsigned zoom8)+{+ int h = pod_pet_ink_h(a->engine, scene, PET_SIDE, zoom8);if (!h) {ph_card_art(s, cx, foot - 40, 72, m, a, PH_ROOM_BG, now_ms);return foot - 80;}int cy = foot - h / 2;- pod_pet_draw(s, cx - PET_SIDE / 2, cy - PET_SIDE / 2, PET_SIDE, a->engine, scene, now_ms, started_ms, 16);+ pod_pet_draw(s, cx - PET_SIDE / 2, cy - PET_SIDE / 2, PET_SIDE, a->engine, scene, now_ms, started_ms, zoom8);return foot - h;}@@ -75,7 +81,8 @@ void ph_room(pod_out_frame_t *f, const pod_nav_t *nav, pod_model_t *m, uint32_tif (st == POD_WORKING) {const int cx = 380, foot = 566;ph_room_floor(s, cx - 40, foot, 400);- int top = ph_room_pet(s, m, a, scene, cx, foot, now_ms, 0);+ // Codex's robot at work fills more of the room than the other pets at 2x: 13/8, a fifth smaller (owner, 2026-10-15), as on the voice screens.+ int top = ph_room_pet_z(s, m, a, scene, cx, foot, now_ms, 0, !strcmp(a->engine, "codex") ? 13u : 16u);char verb[POD_VERB_BYTES + 4], line[POD_VERB_BYTES + 24], t[12];capitalise(verb, sizeof verb, a->verb[0] ? a->verb : "Working");pod_fmt_elapsed(t, sizeof t, pod_agent_secs(a, now_ms));diff --git a/devices/harness-pro/firmware/main/pod/home/ph_talk.c b/devices/harness-pro/firmware/main/pod/home/ph_talk.cindex b70c99b0c..9057eac4c 100644--- a/devices/harness-pro/firmware/main/pod/home/ph_talk.c+++ b/devices/harness-pro/firmware/main/pod/home/ph_talk.c@@ -13,7 +13,7 @@#include "pro_canvas.h"#define C(rgb) ht_rgb(rgb)-enum { LISTEN_FOOT = 506, SEND_FOOT = 662 };+enum { PET_FOOT = 506 }; // listening and sending stand the pet on the same floor (owner: the send screen sat it too low)// An engine without a pet draws the round device's effect instead (owner, mockup option A "only the effect, like the round"), and nothing else but the name.// Listening: 7 bars, 9 px wide on a 35 px pitch, rounded, #00FF2F, centred on y 360; the heights are the round's travelling-wave table (focus.c WAVE, 16 levels),@@ -67,9 +67,11 @@ void ph_view_talk(pod_out_frame_t *f, const pod_nav_t *nav, pod_model_t *m, uintif (!nav->sending) pod_hit_add(f, 0, 0, POD_W, POD_W, POD_A_TALK, 0);return;}- const int cx = 360, foot = nav->sending ? SEND_FOOT : LISTEN_FOOT;+ const int cx = 360, foot = PET_FOOT;ph_room_floor(s, cx, foot, 420);- ph_room_pet(s, m, a, nav->sending ? POD_SCENE_SEND : POD_SCENE_LISTEN, cx, foot, now_ms, nav->sending ? nav->send_started_ms : nav->talk_started_ms);+ // Codex's robot fills more of the glass than the other pets at 2x: 13/8 here, a fifth smaller (owner, 2026-10-15).+ const unsigned zoom8 = !strcmp(a->engine, "codex") ? 13u : 16u;+ ph_room_pet_z(s, m, a, nav->sending ? POD_SCENE_SEND : POD_SCENE_LISTEN, cx, foot, now_ms, nav->sending ? nav->send_started_ms : nav->talk_started_ms, zoom8);if (!nav->sending) pod_hit_add(f, 0, 0, POD_W, POD_W, POD_A_TALK, 0); // LAST: hits are scanned last to first, so nothing steals the send}diff --git a/devices/harness-pro/firmware/main/pod/pod_draw.c b/devices/harness-pro/firmware/main/pod/pod_draw.cindex 38bbbe817..5fcd5f9c7 100644--- a/devices/harness-pro/firmware/main/pod/pod_draw.c+++ b/devices/harness-pro/firmware/main/pod/pod_draw.c@@ -56,6 +56,16 @@ bool pod_cell(ht_scene_t *s, int x, int y, const ht_cell_frame_t *f, unsigned zor->radius = (uint8_t)zoom8;return true;}+bool pod_cell_smooth(ht_scene_t *s, int x, int y, const ht_cell_frame_t *f, unsigned zoom8)+{+ if (zoom8 <= 8 || zoom8 > 16 || !f || f->cell != 1) return pod_cell(s, x, y, f, zoom8);+ if (!pod_cell(s, x, y, f, 8)) return false;+ ht_run_t *r = &s->runs[s->count - 1];+ r->w = (int16_t)((f->cols * (int)zoom8 + 7) / 8); r->pro_height = (int16_t)((f->rows * (int)zoom8 + 7) / 8);+ r->radius = (uint8_t)zoom8;+ r->text[1] = 1; // text[0] is pod_cell_flat's bake mark+ return true;+}static uint16_t swapped(uint16_t v) { return __builtin_bswap16(v); }// A few frame rows kept unpacked, by row index (a packed row is unpacked on a miss), so a pixel can look at the@@ -99,6 +109,13 @@ static uint16_t soften_mix(uint16_t c, unsigned k, uint16_t dest)}static uint16_t soften(uint16_t c, uint16_t dest) { return soften_mix(c, soften_k(c), dest); }+// Two RGB565 colours within a small distance (each channel in 6-bit units, summed): the same shade for the corner rule.+static bool near565(uint16_t a, uint16_t b)+{+ int dr = (int)(a >> 11) * 2 - (int)(b >> 11) * 2, dg = (int)((a >> 5) & 63) - (int)((b >> 5) & 63), db = (int)(a & 31) * 2 - (int)(b & 31) * 2;+ return (dr < 0 ? -dr : dr) + (dg < 0 ? -dg : dg) + (db < 0 ? -db : db) <= 12;+}+static uint16_t mix565(uint16_t fg, uint16_t bg, unsigned a, unsigned levels);static void cell_raster_core(const ht_run_t *r, ht_rect_t clip, uint16_t *out){const ht_cell_frame_t *f = r->bitmap.asset;@@ -110,6 +127,90 @@ static void cell_raster_core(const ht_run_t *r, ht_rect_t clip, uint16_t *out)static uint8_t E[3][256];memset(rc.row, 0xff, sizeof rc.row);rc.next = 0;+ if (z > 8 && z < 16 && cell == 1 && r->text[1] == 1) { // pod_cell_smooth at an in-between zoom: bilinear between pixel centres+ static uint16_t brow[2][256];+ int rows = f->rows, at[2] = {-2, -2};+ for (int y = top; y < bottom; y++) {+ int sv = ((y - r->y) * 16 + 8) * 128 / z - 128; // the glass pixel's centre, (y + 0.5) * 8 / z source pixels, x 256, from the source pixels' centres+ int y0 = sv >> 8, fy = sv & 255;+ for (int k = 0; k < 2; k++) {+ int want = y0 + k;+ if (at[k] == want) continue;+ if (at[1 - k] == want) { memcpy(brow[k], brow[1 - k], sizeof brow[k]); at[k] = want; continue; }+ at[k] = want;+ if (want < 0 || want >= rows) { memset(brow[k], 0, sizeof brow[k]); continue; }+ const uint8_t *src = cache_row(f, &rc, want);+ for (int c = 0; c < cols; c++) brow[k][c] = src[c] ? (uint16_t)(swapped(f->palette[src[c]]) | 0x20) : 0; // never 0 when opaque+ }+ uint16_t *dst = out + (y - clip.y) * clip.w - clip.x;+ for (int x = left; x < right; x++) {+ int su = ((x - r->x) * 16 + 8) * 128 / z - 128, x0 = su >> 8, fx = su & 255;+ const bool l = x0 >= 0 && x0 < cols, rt = x0 + 1 >= 0 && x0 + 1 < cols;+ uint16_t p[4] = {l ? brow[0][x0] : 0, rt ? brow[0][x0 + 1] : 0, l ? brow[1][x0] : 0, rt ? brow[1][x0 + 1] : 0};+ if (!(p[0] | p[1] | p[2] | p[3])) continue;+ const uint16_t under = dst[x];+ if (!(p[0] && p[1] && p[2] && p[3])) for (int k = 0; k < 4; k++) p[k] = p[k] ? soften(p[k], under) : under;+ const unsigned w[4] = {(unsigned)((256 - fx) * (256 - fy)), (unsigned)(fx * (256 - fy)), (unsigned)((256 - fx) * fy), (unsigned)(fx * fy)};+ unsigned rr = 0, gg = 0, bb = 0;+ for (int k = 0; k < 4; k++) { rr += (p[k] >> 11) * w[k]; gg += ((p[k] >> 5) & 63) * w[k]; bb += (p[k] & 31) * w[k]; }+ dst[x] = (uint16_t)(((rr + 32768) >> 16) << 11 | ((gg + 32768) >> 16) << 5 | ((bb + 32768) >> 16));+ }+ }+ return;+ }+ if (z == 16 && cell == 1 && r->text[1] == 1) { // pod_cell_smooth+ // Glass pixel (2c + qx, 2r + qy) is the quadrant of source pixel C = (c, r) toward H = (c + dx, r), V = (c, r + dy) and the+ // diagonal D, dx = qx ? 1 : -1. Where H and V agree and both differ from C and from what lies opposite them (the EPX / Scale2x+ // corner rule, with a colour tolerance since the art is shaded), the quadrant is a stair step of a diagonal edge and takes H and V:+ // the edge runs straight instead of in 2 px blocks. Elsewhere it is bilinear at a quarter-pixel offset: 9/16 C, 3/16 H and V,+ // 1/16 D. A transparent pixel lends what is under it, so the outline fades into the ground; an outline colour lightens (soften).+ // Each source row's colours are looked up once (crow, by row) and shared by the four glass pixels of every source pixel.+ static uint16_t crow[3][256];+ static int crow_at[3];+ crow_at[0] = crow_at[1] = crow_at[2] = -2;+ int rows = f->rows;+ for (int y = top; y < bottom; y++) {+ int oy = y - r->y, cy = oy >> 1, dy = (oy & 1) ? 1 : -1;+ const uint16_t *cr[3]; // rows cy - 1, cy, cy + 1 in colours; 0 is transparent (no palette colour is 0 after |1)+ for (int k = 0; k < 3; k++) {+ int want = cy - 1 + k, slot = ((want % 3) + 3) % 3;+ if (crow_at[slot] != want) {+ crow_at[slot] = want;+ if (want < 0 || want >= rows) memset(crow[slot], 0, sizeof crow[slot]);+ else {+ const uint8_t *src = cache_row(f, &rc, want);+ for (int c = 0; c < cols; c++) crow[slot][c] = src[c] ? (uint16_t)(swapped(f->palette[src[c]]) | 0x20) : 0; // green's low bit set: never 0+ }+ }+ cr[k] = crow[slot];+ }+ const uint16_t *cur = cr[1], *nb = cr[1 + dy], *op = cr[1 - dy];+ uint16_t *dst = out + (y - clip.y) * clip.w - clip.x;+ for (int x = left; x < right; x++) {+ int ox = x - r->x, cx = ox >> 1, dx = (ox & 1) ? 1 : -1;+ const bool in = cx + dx >= 0 && cx + dx < cols;+ uint16_t pc = cur[cx], ph = in ? cur[cx + dx] : 0, pv = nb[cx], pd = in ? nb[cx + dx] : 0;+ if (!(pc | ph | pv | pd)) continue;+ const uint16_t under = dst[x];+ const bool rim = !(pc && ph && pv && pd);+ if (rim) { // on the outline+ pc = pc ? soften(pc, under) : under; ph = ph ? soften(ph, under) : under;+ pv = pv ? soften(pv, under) : under; pd = pd ? soften(pd, under) : under;+ }+ if (!near565(pc, ph) && near565(ph, pv)) { // a corner candidate: only then are the opposite pixels read+ const bool back = cx - dx >= 0 && cx - dx < cols;+ uint16_t ho = back ? cur[cx - dx] : 0, vo = op[cx];+ ho = !ho ? under : rim ? soften(ho, under) : ho; vo = !vo ? under : rim ? soften(vo, under) : vo;+ if (!near565(ph, ho) && !near565(pv, vo)) { dst[x] = mix565(ph, pv, 1, 2); continue; }+ }+ const unsigned rr = (pc >> 11) * 9u + (ph >> 11) * 3u + (pv >> 11) * 3u + (pd >> 11);+ const unsigned gg = ((pc >> 5) & 63) * 9u + ((ph >> 5) & 63) * 3u + ((pv >> 5) & 63) * 3u + ((pd >> 5) & 63);+ const unsigned bb = (pc & 31) * 9u + (ph & 31) * 3u + (pv & 31) * 3u + (pd & 31);+ dst[x] = (uint16_t)(((rr + 8) / 16) << 11 | ((gg + 8) / 16) << 5 | ((bb + 8) / 16));+ }+ }+ return;+ }if (z == 16 && cell == 1) { // exact 2x: one decision per source pixel (colour, edge flag, how far it softens), written to both output rows of its source rowint rows = f->rows;for (int y = top; y < bottom;) {diff --git a/devices/harness-pro/firmware/main/pod/pod_draw.h b/devices/harness-pro/firmware/main/pod/pod_draw.hindex 12fe0aac7..6dbbb25e6 100644--- a/devices/harness-pro/firmware/main/pod/pod_draw.h+++ b/devices/harness-pro/firmware/main/pod/pod_draw.h@@ -8,6 +8,10 @@ enum { POD_KIND_BASE = 16, POD_CELL = 16, POD_ARC, POD_GRAD, POD_TRI };// A dial pet frame at (x, y). zoom is in eighths (8 = 1x, 16 = an exact 2x nearest-neighbour scale, 9..15 and >16 clamp to 1x, 0 draws nothing); the frame pointer// and zoom live in the run so a new frame changes the picture's bytes.bool pod_cell(ht_scene_t *s, int x, int y, const ht_cell_frame_t *f, unsigned zoom8);+// The same for painted art (a cell-1 frame) magnified: at exactly 2x (zoom8 16) each glass pixel is interpolated from its source pixel and the+// three nearest, with stair steps of diagonal edges straightened; at 9..15 (an in-between zoom pod_cell does not have) it is bilinear.+// A transparent source pixel shows what is under it. Any other zoom, or a coarser grid, is pod_cell.+bool pod_cell_smooth(ht_scene_t *s, int x, int y, const ht_cell_frame_t *f, unsigned zoom8);// pod_cell for a frame whose ground is known: everything under it is the one colour `ground` (native RGB565) and stays so until it is drawn (what is// drawn after it may overlap). A zoom below 1x is then resampled once onto that colour and kept (pod_draw.c, "baked cells"); the pixels are those// the resampler would write, so the picture does not change, only how often it is worked out. From 1x on this is pod_cell.diff --git a/devices/harness-pro/firmware/main/pod/pod_pet.c b/devices/harness-pro/firmware/main/pod/pod_pet.cindex 092e53036..48655e449 100644--- a/devices/harness-pro/firmware/main/pod/pod_pet.c+++ b/devices/harness-pro/firmware/main/pod/pod_pet.c@@ -75,6 +75,7 @@ typedef struct {uint32_t ground; // 0xRRGGBB the listening waves fade towardbool flat; // the ground under the scene's main frame is the one colour `ground` (pod_pet_draw_flat): a frame below 1x is bakedbool beat; // Pets: a step shorter than the 66 ms beat lasts one beat (see beat_step_ms)+ bool smooth; // the pet is painted art, not pixel art: at 2x it is interpolated, not doubled (pod_cell_smooth)} ctx_t;static void rect_in(const ctx_t *c, int *x, int *y, int w, int h)@@ -87,6 +88,7 @@ static void put_frame(const ctx_t *c, int x, int y, const ht_cell_frame_t *f, boint w = (f->cols * f->cell * (int)c->z + 7) / 8, h = (f->rows * f->cell * (int)c->z + 7) / 8;rect_in(c, &x, &y, w, h);if (main_frame && c->flat) pod_cell_flat(c->s, x, y, f, c->z, ht_rgb(c->ground)); // only the main frame: an overlay lands on the frame, not on the ground+ else if (c->smooth) pod_cell_smooth(c->s, x, y, f, c->z);else pod_cell(c->s, x, y, f, c->z);}static void put_overlay(const ctx_t *c, const ht_pet_scene_t *e, unsigned level, unsigned step)@@ -167,7 +169,7 @@ static extent_t scene_extent(const ht_pet_scene_t *e, unsigned level)extent_t u = {0x7fff, 0x7fff, -0x7fff, -0x7fff};for (unsigned n = 0; n < 24 + 128; n++) {uint32_t clock_ms = n < 24 ? n * e->step_ms : (n - 24) * 41u;- ctx_t c = {&scratch, -4000, -4000, 8000, 0, 0, 8, 8, 0xffffff, false, false};+ ctx_t c = {&scratch, -4000, -4000, 8000, 0, 0, 8, 8, 0xffffff, false, false, false};scratch.count = 0;play_scene(&c, e, level, scene_clock_step(e, clock_ms, false), clock_ms);for (int i = 0; i < scratch.count; i++) {@@ -349,8 +351,8 @@ int pod_pet_ink_h(const char *engine, pod_scene_t scene, int side, unsigned zoom{const ht_pet_t *pet = pod_pet_for(engine);if (!pet) return 0;- unsigned zmax = zoom8 == 16 ? 16u : 8u;- if (zmax == 16) side *= 2;+ unsigned zmax = zoom8 > 8 && zoom8 <= 16 ? zoom8 : 8u;+ if (zmax > 8) side = side * (int)zmax / 8;const ht_pet_scene_t *e = scene_of(pet, scene);if (!e) { // the small pet (play_rest): the ink of the loop's first frame at the zoom it picksht_pet_state_t state = HT_PET_IDLE;@@ -367,15 +369,16 @@ int pod_pet_ink_h(const char *engine, pod_scene_t scene, int side, unsigned zoom}extent_t u = cached_extent(e, scene_level(e, scene)); // the level the draw usesint uw = u.x1 - u.x0, uh = u.y1 - u.y0, room = imax(1, side - 6), big = imax(uw, uh);- unsigned z = zmax == 16 && 2 * big <= room ? 16u : big <= room ? 8u : (unsigned)imax(4, 8 * room / big);+ const bool fits = zmax > 8 && big * (int)zmax / 8 <= room && (zmax == 16 || !strcmp(engine, "codex"));+ unsigned z = fits ? zmax : big <= room ? 8u : (unsigned)imax(4, 8 * room / big);return sc(uh, z);}enum { DRAW_BEAT = 1, DRAW_FLAT = 2 };static void draw(ht_scene_t *s, int x, int y, int side, const char *engine, pod_scene_t scene,uint32_t clock_ms, uint32_t started_ms, uint32_t ground_rgb, unsigned zoom8, unsigned flags){- unsigned zmax = zoom8 == 16 ? 16u : 8u;- if (zmax == 16) { x -= side / 2; y -= side / 2; side *= 2; } // the 2x square, same centre+ unsigned zmax = zoom8 > 8 && zoom8 <= 16 ? zoom8 : 8u; // 9..15: a smooth pet's in-between zoom (pod_cell_smooth); a scene only+ if (zmax > 8) { int grown = side * (int)zmax / 8; x -= (grown - side) / 2; y -= (grown - side) / 2; side = grown; } // the zoomed square, same centreconst ht_pet_t *pet = pod_pet_for(engine);if (!pet) { // the logo, big, on a pale box; a light mark (Cursor's) on a dark one, else it would vanishconst pod_mark_t *m = pod_mark(engine);@@ -385,7 +388,8 @@ static void draw(ht_scene_t *s, int x, int y, int side, const char *engine, pod_if (!pod_logo_draw(s, mx, my, size, engine)) pod_mark_default_big(s, mx, my, size, ht_rgb(0xf0f4f0));return;}- ctx_t c = {s, x, y, side, x, y, 8, zmax, ground_rgb, (flags & DRAW_FLAT) != 0, (flags & DRAW_BEAT) != 0};+ // Codex's robot is a painted render cut down to 192 x 208 (owner: doubled pixel by pixel it looked jagged on the voice screen).+ ctx_t c = {s, x, y, side, x, y, 8, zmax, ground_rgb, (flags & DRAW_FLAT) != 0, (flags & DRAW_BEAT) != 0, !strcmp(engine, "codex")};const ht_pet_scene_t *e = scene_of(pet, scene);if (!e) {ht_pet_state_t state = HT_PET_IDLE;@@ -397,7 +401,7 @@ static void draw(ht_scene_t *s, int x, int y, int side, const char *engine, pod_// Fit what the scene draws (a margin of 3 px for rounding), zooming down only when it is larger than the square.extent_t u = cached_extent(e, level);int uw = u.x1 - u.x0, uh = u.y1 - u.y0, room = imax(1, side - 6), big = imax(uw, uh);- if (zmax == 16 && 2 * big <= room) c.z = 16;+ if (zmax > 8 && big * (int)zmax / 8 <= room && (zmax == 16 || c.smooth)) c.z = zmax;else c.z = big <= room ? 8u : (unsigned)imax(4, 8 * room / big);c.ox = x + (side - sc(uw, c.z)) / 2 - sc(u.x0, c.z);c.oy = y + (side - sc(uh, c.z)) / 2 - sc(u.y0, c.z);diff --git a/devices/harness-pro/firmware/test/golden-liberation.txt b/devices/harness-pro/firmware/test/golden-liberation.txtindex 561449dfe..e6cd02721 100644--- a/devices/harness-pro/firmware/test/golden-liberation.txt+++ b/devices/harness-pro/firmware/test/golden-liberation.txt@@ -1,12 +1,9 @@000f6304ad48675b64e6ebf526afe23fb4226d3c68c045bd67cac3edb57345fd talk:cur@5000-0245b6d06443fe0012d08d79416915b75b2f80d9c48c2e94c1f77f5c5a00c987 agent:cli:banner@1234-0245b6d06443fe0012d08d79416915b75b2f80d9c48c2e94c1f77f5c5a00c987 agent:cli@1234+00494ee84cff993e3db198444e562c0acce88a7ea1daf981d182f7ad5099715b agent:cli:banner@600+00494ee84cff993e3db198444e562c0acce88a7ea1daf981d182f7ad5099715b agent:cli@60002886a144c3f6c0228a949933005ad591d213f794daf3c12e185ed0f5bc0f9da recap:docs@5000+06be23360318a34884eca636e1e18c4f0f0eeac8927e8bf29e3e23ba240d35a6 talk:be@5000074b239676cdd60e628712bc94a200b5560c844fd6680dccec74b48653edc10c tabs:none@0-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli:banner@0-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli:banner@5000-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli@0-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli@50000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:0+2@6000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:9@6000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:banner@600@@ -14,17 +11,17 @@0b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:linkdown@6000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs@6000c14dc4817d99510c2c5956305ca257d49fa27d3e9da7879818f7d5e9c618d8a recap:desk:medium@2500+0c2704ae113007d7a52b4a3fe8871ca4a64170a19346d2181c56fbbb3f928207 agent:cli:banner@1234+0c2704ae113007d7a52b4a3fe8871ca4a64170a19346d2181c56fbbb3f928207 agent:cli@12340cc572be1b1e359be7929c86eb842fae7f4dd0be9ec57be2f2d778452e044e2f tabs:long@6000dc322089dbd83242f12150feb980a5a5d4030380c42af20dac8d89dc91e3d18 recap:desk:long@1234-129c3c70f27232a8bef6fb11946fa88b0e34424e132266f3b64c27ba4d29a96e agent:cli:banner@600-129c3c70f27232a8bef6fb11946fa88b0e34424e132266f3b64c27ba4d29a96e agent:cli@60014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@123414f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@250014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@500014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@600179f9e77db99175818d398a625aa89476dfbe6eebdf312d0fc8b9caece677399 recap:desk:long@2500-19bdbe0bac090fba295ff8678f436d7efcd79c4545e840a77c04196a7e1bd2a5 agent:be:offline@2500+200d9d78916ff91de9a5f9ba7fb0cf0e3ebdf3de1bb845819e8dc1067c2d36d2 talk:be@600205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:banner@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:unread@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw@1234@@ -40,6 +37,7 @@2f173481962b8eb473ea0e84bf0410232e3fd3a03d6f294d8c9cd0d651406ecc agent:fw:unread@6002f173481962b8eb473ea0e84bf0410232e3fd3a03d6f294d8c9cd0d651406ecc agent:fw@6002f2ffd099b07287467951b45636eb38f503a2a158b412b4ddbb8df6609e6e8a5 tabs:none@5000+33946a993bc529e67b39839e26cfb2102d59420b81c6d2cf98031cff3476ef5d agent:be:offline@1234351ada7defd5f15a8d27425b24d78ad53c9035a636343697fbaf27c849662854 tabs:5@250035a40115b1f26c3dcb550a209801d2defeffb4dd7bcceec240d24cd3b7a3eabd agent:fw:banner@035a40115b1f26c3dcb550a209801d2defeffb4dd7bcceec240d24cd3b7a3eabd agent:fw:banner@5000@@ -54,11 +52,18 @@3875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@600393e6550c80185fdeae0679d268228ee3a8618ad3111a3c2bc7127391d2560b3 tabs:long@03a47de3edda62ff8d064071fa8d17377d9c0c19e44aef0c28fa0043ec86cce51 tabs:seven@2500+3bd953a0c0c078d737457c550dd88f870d0893dab34a2c67030063bacdddcadb agent:cli:banner@2500+3bd953a0c0c078d737457c550dd88f870d0893dab34a2c67030063bacdddcadb agent:cli@25003c50228ed125d5138821ae678ebc8267734a5e79c8878b4e4813ebbcb80b3164 agent:fw:long@12343cc46f8831c9dcefb086f9d32689fd7f8d749ca44ee394211b5039d8102a1982 tabs:long@12343d21dc13695b5a5a2743f10ee90d817f71e924ee54aa5104a25fd49201f3b967 recap:desk:long@50003d43bb7cb2ab0102944745f80af971677a75bec05d5dbc01baaf9003fa4111f9 tabs:5@1234402ac9e51e771477b393f6a4a5e13ac585f2d6f94927cfe4cbadac9d5acae3a3 recap:docs@1234+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@0+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@1234+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@2500+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@5000+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@60044c082278989b9844c91c372d51a9f2b29430bf083fcb2794698e189fe8f2e3d tabs:none@600480d9b19c0aef0f2dcaa1dfb1aba46db93108f3912d6e2c1aed86cd420846d3f tabs:5@049df1c4eafa42a0e150e8b9c77cbdfca70a9f8ba1e16d863435a24091c935336 tabs:none@1234@@ -69,13 +74,13 @@4e66021490ec418a7c93d85c7cfa5d3fce69194dbe7b64820be78d8cba28b365 inbox:viet@25004e66021490ec418a7c93d85c7cfa5d3fce69194dbe7b64820be78d8cba28b365 inbox:viet@50004e66021490ec418a7c93d85c7cfa5d3fce69194dbe7b64820be78d8cba28b365 inbox:viet@600+4fd506f08a8137f1c7be89002d1177950893bd42a5034cbe8ec98cc730919d86 agent:be@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc agent:desk@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:banner@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:extreme@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:testfail@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:unread@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk@0-50376cd2791b6c744a830a40cc3be6bba7f424f0c74acc25674b628a363394ba agent:cli:long@250050515880623dbb0b9854175e41174c31d6396b40c576932cad2dcc5e36cff96e tabs:seven@123453d8293a346e955d62292c5a86b5024f66b8918d3372f0755abb4e66e445da82 recap:docs:long@500055cce38970e0ce054871c1fb340f852cb1fa498598b27feb203c1b347cb48029 agent:desk@600@@ -99,7 +104,8 @@57f2d60dda7ff06ce74f1eb0fa6ea4bb0555e37789538f82f61e1376cf9969ee inbox@250057f2d60dda7ff06ce74f1eb0fa6ea4bb0555e37789538f82f61e1376cf9969ee inbox@500057f2d60dda7ff06ce74f1eb0fa6ea4bb0555e37789538f82f61e1376cf9969ee inbox@600-58b326b43b52142e9bdc79cb38e6f547118b30a8a00f161cafcc3b907f850e2f agent:be:offline@600+5bb1e3dfc6dbb649e8df4b15e482ff4ce6cf055e41abf36cd35bf61ba23b046c agent:be:offline@0+5bb1e3dfc6dbb649e8df4b15e482ff4ce6cf055e41abf36cd35bf61ba23b046c agent:be:offline@50005ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw:quiet@05ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw@06238439d2b3298561d4030cb9caf6f274821392dcd8031cd0a9a16ccfd9d2fc2 tabs:mock@600@@ -122,7 +128,6 @@6f2be0352e9ed989f2def4d710c803a7dfa65e8d966c155cd50c5c860753f5d9 tabs:linkdown@50006f2be0352e9ed989f2def4d710c803a7dfa65e8d966c155cd50c5c860753f5d9 tabs@5000705cdde9894d59585aa28d02325abb4a07bc2126aacf57d893f559286e79bca1 tabs:mock@0-714d1f2b76808a4e557c9cb8e007678257b90a35499f2bd52b826fd39f463030 agent:cli:long@123472ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@072ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@123472ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@2500@@ -148,7 +153,8 @@7ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw:quiet@25007ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw@25007cf3054082b6535ab71d2b84b751042b995a4cd40beacc93896d82526c5b00b8 tabs:long@5000-80621395e0245fa3935a3d655e79b849a7093b724500a2b67727e9e0abade9be agent:be:offline@1234+7f3d6a8a9e7ea7b8286ddf9f3fc887274bf6c8e891197b83bc20e43fba4a4b70 talk:be@0+7f46177b3d8ac238e9e0ef256965feefa164fae1779c5ffb2d99105c2658e54f talk:be@123481312fbd4dee9803a32e5d3aa5fb3b317eafb965fa337f4fadaec149959bc0fc tabs:seven@08195800e772301c8f60f3c6a3b1f7593ecf7339f8dc14fd6591de5a45ecc0691 ota:100@08195800e772301c8f60f3c6a3b1f7593ecf7339f8dc14fd6591de5a45ecc0691 ota:100@1234@@ -157,20 +163,23 @@8195800e772301c8f60f3c6a3b1f7593ecf7339f8dc14fd6591de5a45ecc0691 ota:100@600825b084221941c023b3051aa80627bc8a11056756a5e283e7802adf2d25d41fb tabs:mock@2500829d3d28abb58df53abee411d962f85b66f6f2697599512df574f785dc95ac34 recap:desk:short@2500-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@0-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@1234-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@2500-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@5000-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@60083a22c1c4316026cf10fe165fdf899572ebfd03d53cd644359d37aa418a31d63 recap:docs:unreadfail@600841556d03acb86ec2bfc2d35f030f3eb7689b8e3755e125b96471a680b640f5d recap:docs@0841556d03acb86ec2bfc2d35f030f3eb7689b8e3755e125b96471a680b640f5d recap:docs@2500+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli:banner@0+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli:banner@5000+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli@0+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli@500087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@123487b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@250087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@500087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@600+89aa273626c02ec476b7b0d6ef85ad5b11bf78c82dffb12ac61e5329a3413545 agent:be:offline@6008d4f0a362e9c43a05cdf38f0d0af9e8f3effa8985b754b5ccfc9341ea4bd6df5 tabs:long@2500+8ef78ea0e733105350ed63324c832e682b1b3bc2f0f8af738aec01f2326773ff agent:be@2500+8ef78ea0e733105350ed63324c832e682b1b3bc2f0f8af738aec01f2326773ff agent:be@5000+8ef78ea0e733105350ed63324c832e682b1b3bc2f0f8af738aec01f2326773ff agent:be@60092c64a657247ada6b7fdeddbfbd3f4523071dc96dcb6e4a4048e5d0d8be6b82c recap:docs@60093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@1234@@ -187,6 +196,7 @@9700eb1de82ae823b5c65df0a6aedb1f5b6986c3d83957943c49451d4485e3c3 recap:desk:viet@2500977bddb50cbd047bb41ea02dc9d04f75518bfefe9e25944de93d0fce40b7e51a talk:cur:send@500099a26e01d57cf3ad6a38e99451550a0144b016d509192d507cc3da25c43f353c recap:desk:viet@1234+9a448ada191bd61aa02d44344ab0f919bd65b8ec6b2076635c6a1f005155129b agent:cli:long@6009bd6f930ae45d20879075621be95dd2bc9691bc9da13ac1cd810fa524e98afe6 tabs:mock@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:0+2@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:9@1234@@ -194,11 +204,6 @@9cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:bell@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:linkdown@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs@1234-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@0-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@1234-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@2500-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@5000-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@600a09472ed60a3605b70390386885de725255733dbd83bce91afaafc53c8787e10 recap:desk:short@0a1f2530df14ed528ac7b90dbd882afad926136047140a32b37c3330f56063a03 agent:desk@2500a1f2530df14ed528ac7b90dbd882afad926136047140a32b37c3330f56063a03 recap:desk:banner@2500@@ -219,13 +224,20 @@ aad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toaaad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toast@2500@2500aad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toast@2500@5000aad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toast@2500@600+aaff2b81cb907a037a4627536c159bdd1f7b80adbe6227ce9d314eb4ebdd8b9f agent:be:offline@2500aebdae226370e2516dd4ae4f37b7225bc74aa644e9cceffeecbaa5c25f17a5f0 recap:desk:medium@0af572c357a27096e8d8919e2e401f546bde1bd9dff9d723bb646782b7dd8a4a5 recap:docs:unreadfail@2500b47e37e0f0406992f30b7153937c5b0b1f17aef4d94551f6110f79498e049e51 recap:docs:long@1234b6e4fb3070cc13683d734e9bc6e1f104b71f8aaf949478c8e1d1b4c60c1f3d66 tabs:1@0+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@0+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@1234+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@2500+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@5000+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@600bea341256b62baa2f37ad783b5921ce770c2a3342e9d5a999322be7c60c5f9ff talk:cur@2500c158dad57e29a9df5ca9b0169c6f1367dac791a7126326aeca42ee6cfc67e090 tabs:1@2500c64516b318d78e13ff5db4fff75078bba1a91b531098a1eb06ea02e2a5fd1419 recap:desk:medium@600+c7c08feefc6b061ce8ed3e97443fbaa35b2a7039875c748460c41f28603845e1 agent:cli:long@1234c82777158643051635efb0f544011b0b9e3203e8a2f2fee85f6151486f032118 agent:desk@5000c82777158643051635efb0f544011b0b9e3203e8a2f2fee85f6151486f032118 recap:desk:banner@5000c82777158643051635efb0f544011b0b9e3203e8a2f2fee85f6151486f032118 recap:desk:extreme@5000@@ -247,6 +259,9 @@ d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@1234d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@2500d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@5000d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@600+d7f17e90729cae98782882651d8a56f0c7863ed01077c745e219b2bb61b0a22e agent:cli:long@0+d7f17e90729cae98782882651d8a56f0c7863ed01077c745e219b2bb61b0a22e agent:cli:long@5000+d9f8b92607e70396ed0308f05e1639dacf9fd22a576845e67968fb7d5919a9f6 agent:be@1234da6757f8e3d568e41bd7e97a47d9e79b6a13bd7ee777d3a650810938c3749335 recap:desk:viet@0dc5ccc259cb3a49b34c636fbb6aa62726e92d90a9a2ebf0fc928ee10326388e0 chrome@0dc5ccc259cb3a49b34c636fbb6aa62726e92d90a9a2ebf0fc928ee10326388e0 chrome@1234@@ -257,16 +272,13 @@ ddef17e120a70f9960dc6963385ffe45e9adb0b78f603b3fca0bc38cd5052c43 recap:desk:medde3ba88c8e765252cc0d89e4f1013eba9d3f8e37808daf0e90bda06e36c90b8a recap:docs:long@600de7fccfd4d9ed624772a2c8d137e182ca0697f72b421dc21d1bb4ce4bc8bf594 tabs:none@2500df93751ba9850fed71efbeec5bf0c368d8b2beab1e08fe94ba172e83a9e33eb3 recap:desk:short@600-e605574ba45db1985a96bbb98b5e8b39fad532d542644c3e65d403d47ab75719 agent:cli:banner@2500-e605574ba45db1985a96bbb98b5e8b39fad532d542644c3e65d403d47ab75719 agent:cli@2500e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@0e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@1234e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@2500e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@5000e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@600e6a7fa14ee6c9191350176f8dfcf0661da526268a3d14d912f6337e048b39cbf tabs:1@1234-e729d178c6c3f7e553dd764865428acbdfd7c335411c3b876d94ad3f78593b7f agent:be:offline@0-e729d178c6c3f7e553dd764865428acbdfd7c335411c3b876d94ad3f78593b7f agent:be:offline@5000+e6c240d9edbc03fa207b4322d082e179850573bf44fe2cbe0487c1d211ead6c6 agent:cli:long@2500ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@0ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@1234ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@2500@@ -292,12 +304,10 @@ f4a3950819550c75375b384c3577598cbb06ea8685a05bc40d45744d68801ae2 tabs:bell@0f4a3950819550c75375b384c3577598cbb06ea8685a05bc40d45744d68801ae2 tabs:linkdown@0f4a3950819550c75375b384c3577598cbb06ea8685a05bc40d45744d68801ae2 tabs@0f5336aa91a6c4989c444f12a3b9ec5e050f8496501eda04f4c52b23e9ae55d08 tabs:5@600+f558258d06b9ebeb6785ddb5c0b38b95f5f19ae5f2bd91f3d9349b75349a48d2 talk:be@2500f8a9d033bd6f6db33f4168d086f3aafae4dff0880e7f4301762ca35caf0c5f20 talk:cur@0f8a9d033bd6f6db33f4168d086f3aafae4dff0880e7f4301762ca35caf0c5f20 talk:cur@1234-f9912e2d588d8c677644dd3f21dd1277513e78a5c11e3eb4e92eff336a344d6f agent:cli:long@600fb8b4df593c948f3e4d3a96f763e9df0487a27a2ba99a9f6d9f1acd37717aa20 recap:docs:unreadfail@1234-fb9849f353ea4ea70a3405b837f5079709d10d4bee4072e92742152a6902bd8f agent:cli:long@0-fb9849f353ea4ea70a3405b837f5079709d10d4bee4072e92742152a6902bd8f agent:cli:long@5000fbc885b17d01eadab52928be9eb2c3abf60bc351a280ac69a15b2c99b1664e8b tabs:seven@600fc3bf40809cb606d7b0f777017dc1c9de85edebe1f3623ca13919b1495b73ff9 tabs:1@5000ffa3bcedf2d77ad95edfe7f925134134bbb8451a7973b39e94ba5a7f7fd2f232 agent:fw:banner@2500diff --git a/devices/harness-pro/firmware/test/golden.sh b/devices/harness-pro/firmware/test/golden.shindex 08c2f385e..335dea800 100644--- a/devices/harness-pro/firmware/test/golden.sh+++ b/devices/harness-pro/firmware/test/golden.sh@@ -31,10 +31,10 @@ cc -std=c11 -D_DEFAULT_SOURCE -Wall -Wextra -Werror -O1 -g -DHT_FACE_PX=720 -I"$-o "$out/pod_render" "$here/pod_render.c" "$fw"/main/pod/*.c "$fw"/main/pod/home/*.c "$disp/pro_canvas.c" "$disp/terminal.c" "$out/pro_fonts.c"screens=(tabs tabs:bell tabs:mock tabs:0+2 tabs:2+2 tabs:long tabs:9 tabs:linkdown tabs:1 tabs:3 tabs:5 tabs:seven tabs:single tabs:notices tabs:none chrome- agent:fw agent:cli agent:desk agent:kilo agent:fw:long agent:cli:long agent:be:offline agent:fw:banner agent:cli:banner tabs:banner agent:fw:toast@0 agent:fw:toast@200 agent:fw:toast@2500 agent:fw:toast@4900+ agent:fw agent:cli agent:be agent:desk agent:kilo agent:fw:long agent:cli:long agent:be:offline agent:fw:banner agent:cli:banner tabs:banner agent:fw:toast@0 agent:fw:toast@200 agent:fw:toast@2500 agent:fw:toast@4900recap:desk:toast@200 recap:desk:toast@2500 recap:docs:toast@4900recap:desk recap:desk:unread recap:desk:long recap:desk:viet recap:desk:short recap:desk:medium recap:docs:long recap:docs:unreadfail agent:fw:unread recap:docs recap:kilo recap:desk:testfail recap:desk:extreme recap:desk:banner- talk:fw talk:fw:quiet talk:fw:send talk:cur talk:cur:send talk:be:send+ talk:fw talk:fw:quiet talk:fw:send talk:cur talk:cur:send talk:be talk:be:sendinbox inbox:viet inbox:quiet inbox:failed ota:0 ota:62 ota:100 ota:restart)for s in "${screens[@]}"; dofor now in 0 600 1234 2500 5000; dodiff --git a/devices/harness-pro/firmware/test/golden.txt b/devices/harness-pro/firmware/test/golden.txtindex 561449dfe..e6cd02721 100644--- a/devices/harness-pro/firmware/test/golden.txt+++ b/devices/harness-pro/firmware/test/golden.txt@@ -1,12 +1,9 @@000f6304ad48675b64e6ebf526afe23fb4226d3c68c045bd67cac3edb57345fd talk:cur@5000-0245b6d06443fe0012d08d79416915b75b2f80d9c48c2e94c1f77f5c5a00c987 agent:cli:banner@1234-0245b6d06443fe0012d08d79416915b75b2f80d9c48c2e94c1f77f5c5a00c987 agent:cli@1234+00494ee84cff993e3db198444e562c0acce88a7ea1daf981d182f7ad5099715b agent:cli:banner@600+00494ee84cff993e3db198444e562c0acce88a7ea1daf981d182f7ad5099715b agent:cli@60002886a144c3f6c0228a949933005ad591d213f794daf3c12e185ed0f5bc0f9da recap:docs@5000+06be23360318a34884eca636e1e18c4f0f0eeac8927e8bf29e3e23ba240d35a6 talk:be@5000074b239676cdd60e628712bc94a200b5560c844fd6680dccec74b48653edc10c tabs:none@0-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli:banner@0-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli:banner@5000-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli@0-082171c38f30e9d139c42c8840bf6fcda2f11a4793281c87473325214ac920ac agent:cli@50000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:0+2@6000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:9@6000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:banner@600@@ -14,17 +11,17 @@0b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs:linkdown@6000b546d0cfdee2ad9a66c8eae39908b6f41b49f2c4399a072bc49f58abb2cb197 tabs@6000c14dc4817d99510c2c5956305ca257d49fa27d3e9da7879818f7d5e9c618d8a recap:desk:medium@2500+0c2704ae113007d7a52b4a3fe8871ca4a64170a19346d2181c56fbbb3f928207 agent:cli:banner@1234+0c2704ae113007d7a52b4a3fe8871ca4a64170a19346d2181c56fbbb3f928207 agent:cli@12340cc572be1b1e359be7929c86eb842fae7f4dd0be9ec57be2f2d778452e044e2f tabs:long@6000dc322089dbd83242f12150feb980a5a5d4030380c42af20dac8d89dc91e3d18 recap:desk:long@1234-129c3c70f27232a8bef6fb11946fa88b0e34424e132266f3b64c27ba4d29a96e agent:cli:banner@600-129c3c70f27232a8bef6fb11946fa88b0e34424e132266f3b64c27ba4d29a96e agent:cli@60014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@123414f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@250014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@500014f935ded0f398ef84dd49641044e1fbad39fb4438f529596a66c2999910645d inbox:quiet@600179f9e77db99175818d398a625aa89476dfbe6eebdf312d0fc8b9caece677399 recap:desk:long@2500-19bdbe0bac090fba295ff8678f436d7efcd79c4545e840a77c04196a7e1bd2a5 agent:be:offline@2500+200d9d78916ff91de9a5f9ba7fb0cf0e3ebdf3de1bb845819e8dc1067c2d36d2 talk:be@600205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:banner@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:unread@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw@1234@@ -40,6 +37,7 @@2f173481962b8eb473ea0e84bf0410232e3fd3a03d6f294d8c9cd0d651406ecc agent:fw:unread@6002f173481962b8eb473ea0e84bf0410232e3fd3a03d6f294d8c9cd0d651406ecc agent:fw@6002f2ffd099b07287467951b45636eb38f503a2a158b412b4ddbb8df6609e6e8a5 tabs:none@5000+33946a993bc529e67b39839e26cfb2102d59420b81c6d2cf98031cff3476ef5d agent:be:offline@1234351ada7defd5f15a8d27425b24d78ad53c9035a636343697fbaf27c849662854 tabs:5@250035a40115b1f26c3dcb550a209801d2defeffb4dd7bcceec240d24cd3b7a3eabd agent:fw:banner@035a40115b1f26c3dcb550a209801d2defeffb4dd7bcceec240d24cd3b7a3eabd agent:fw:banner@5000@@ -54,11 +52,18 @@3875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@600393e6550c80185fdeae0679d268228ee3a8618ad3111a3c2bc7127391d2560b3 tabs:long@03a47de3edda62ff8d064071fa8d17377d9c0c19e44aef0c28fa0043ec86cce51 tabs:seven@2500+3bd953a0c0c078d737457c550dd88f870d0893dab34a2c67030063bacdddcadb agent:cli:banner@2500+3bd953a0c0c078d737457c550dd88f870d0893dab34a2c67030063bacdddcadb agent:cli@25003c50228ed125d5138821ae678ebc8267734a5e79c8878b4e4813ebbcb80b3164 agent:fw:long@12343cc46f8831c9dcefb086f9d32689fd7f8d749ca44ee394211b5039d8102a1982 tabs:long@12343d21dc13695b5a5a2743f10ee90d817f71e924ee54aa5104a25fd49201f3b967 recap:desk:long@50003d43bb7cb2ab0102944745f80af971677a75bec05d5dbc01baaf9003fa4111f9 tabs:5@1234402ac9e51e771477b393f6a4a5e13ac585f2d6f94927cfe4cbadac9d5acae3a3 recap:docs@1234+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@0+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@1234+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@2500+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@5000+403571b857c66ca4682607942d2c7a85971b8b5b02482d31626c7f9f4d2846bf talk:be:send@60044c082278989b9844c91c372d51a9f2b29430bf083fcb2794698e189fe8f2e3d tabs:none@600480d9b19c0aef0f2dcaa1dfb1aba46db93108f3912d6e2c1aed86cd420846d3f tabs:5@049df1c4eafa42a0e150e8b9c77cbdfca70a9f8ba1e16d863435a24091c935336 tabs:none@1234@@ -69,13 +74,13 @@4e66021490ec418a7c93d85c7cfa5d3fce69194dbe7b64820be78d8cba28b365 inbox:viet@25004e66021490ec418a7c93d85c7cfa5d3fce69194dbe7b64820be78d8cba28b365 inbox:viet@50004e66021490ec418a7c93d85c7cfa5d3fce69194dbe7b64820be78d8cba28b365 inbox:viet@600+4fd506f08a8137f1c7be89002d1177950893bd42a5034cbe8ec98cc730919d86 agent:be@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc agent:desk@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:banner@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:extreme@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:testfail@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk:unread@04fec7ee58275b63b009fe088eacf3f1351335d81e6069bab2c929b976bf9ccdc recap:desk@0-50376cd2791b6c744a830a40cc3be6bba7f424f0c74acc25674b628a363394ba agent:cli:long@250050515880623dbb0b9854175e41174c31d6396b40c576932cad2dcc5e36cff96e tabs:seven@123453d8293a346e955d62292c5a86b5024f66b8918d3372f0755abb4e66e445da82 recap:docs:long@500055cce38970e0ce054871c1fb340f852cb1fa498598b27feb203c1b347cb48029 agent:desk@600@@ -99,7 +104,8 @@57f2d60dda7ff06ce74f1eb0fa6ea4bb0555e37789538f82f61e1376cf9969ee inbox@250057f2d60dda7ff06ce74f1eb0fa6ea4bb0555e37789538f82f61e1376cf9969ee inbox@500057f2d60dda7ff06ce74f1eb0fa6ea4bb0555e37789538f82f61e1376cf9969ee inbox@600-58b326b43b52142e9bdc79cb38e6f547118b30a8a00f161cafcc3b907f850e2f agent:be:offline@600+5bb1e3dfc6dbb649e8df4b15e482ff4ce6cf055e41abf36cd35bf61ba23b046c agent:be:offline@0+5bb1e3dfc6dbb649e8df4b15e482ff4ce6cf055e41abf36cd35bf61ba23b046c agent:be:offline@50005ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw:quiet@05ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw@06238439d2b3298561d4030cb9caf6f274821392dcd8031cd0a9a16ccfd9d2fc2 tabs:mock@600@@ -122,7 +128,6 @@6f2be0352e9ed989f2def4d710c803a7dfa65e8d966c155cd50c5c860753f5d9 tabs:linkdown@50006f2be0352e9ed989f2def4d710c803a7dfa65e8d966c155cd50c5c860753f5d9 tabs@5000705cdde9894d59585aa28d02325abb4a07bc2126aacf57d893f559286e79bca1 tabs:mock@0-714d1f2b76808a4e557c9cb8e007678257b90a35499f2bd52b826fd39f463030 agent:cli:long@123472ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@072ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@123472ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@2500@@ -148,7 +153,8 @@7ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw:quiet@25007ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw@25007cf3054082b6535ab71d2b84b751042b995a4cd40beacc93896d82526c5b00b8 tabs:long@5000-80621395e0245fa3935a3d655e79b849a7093b724500a2b67727e9e0abade9be agent:be:offline@1234+7f3d6a8a9e7ea7b8286ddf9f3fc887274bf6c8e891197b83bc20e43fba4a4b70 talk:be@0+7f46177b3d8ac238e9e0ef256965feefa164fae1779c5ffb2d99105c2658e54f talk:be@123481312fbd4dee9803a32e5d3aa5fb3b317eafb965fa337f4fadaec149959bc0fc tabs:seven@08195800e772301c8f60f3c6a3b1f7593ecf7339f8dc14fd6591de5a45ecc0691 ota:100@08195800e772301c8f60f3c6a3b1f7593ecf7339f8dc14fd6591de5a45ecc0691 ota:100@1234@@ -157,20 +163,23 @@8195800e772301c8f60f3c6a3b1f7593ecf7339f8dc14fd6591de5a45ecc0691 ota:100@600825b084221941c023b3051aa80627bc8a11056756a5e283e7802adf2d25d41fb tabs:mock@2500829d3d28abb58df53abee411d962f85b66f6f2697599512df574f785dc95ac34 recap:desk:short@2500-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@0-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@1234-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@2500-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@5000-837c7893d525d50d303c2509fc0988d87036355f70be7bf2bd08cba05f109c7b talk:fw:send@60083a22c1c4316026cf10fe165fdf899572ebfd03d53cd644359d37aa418a31d63 recap:docs:unreadfail@600841556d03acb86ec2bfc2d35f030f3eb7689b8e3755e125b96471a680b640f5d recap:docs@0841556d03acb86ec2bfc2d35f030f3eb7689b8e3755e125b96471a680b640f5d recap:docs@2500+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli:banner@0+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli:banner@5000+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli@0+849a9606808f0b2e601490db04d5481b9796cde8e5d777673ec6426764651271 agent:cli@500087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@123487b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@250087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@500087b4785c30c87a62a0076045769863783a3851c7e863cc86f3e7d2e34a4261a1 recap:docs:toast@4900@600+89aa273626c02ec476b7b0d6ef85ad5b11bf78c82dffb12ac61e5329a3413545 agent:be:offline@6008d4f0a362e9c43a05cdf38f0d0af9e8f3effa8985b754b5ccfc9341ea4bd6df5 tabs:long@2500+8ef78ea0e733105350ed63324c832e682b1b3bc2f0f8af738aec01f2326773ff agent:be@2500+8ef78ea0e733105350ed63324c832e682b1b3bc2f0f8af738aec01f2326773ff agent:be@5000+8ef78ea0e733105350ed63324c832e682b1b3bc2f0f8af738aec01f2326773ff agent:be@60092c64a657247ada6b7fdeddbfbd3f4523071dc96dcb6e4a4048e5d0d8be6b82c recap:docs@60093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@1234@@ -187,6 +196,7 @@9700eb1de82ae823b5c65df0a6aedb1f5b6986c3d83957943c49451d4485e3c3 recap:desk:viet@2500977bddb50cbd047bb41ea02dc9d04f75518bfefe9e25944de93d0fce40b7e51a talk:cur:send@500099a26e01d57cf3ad6a38e99451550a0144b016d509192d507cc3da25c43f353c recap:desk:viet@1234+9a448ada191bd61aa02d44344ab0f919bd65b8ec6b2076635c6a1f005155129b agent:cli:long@6009bd6f930ae45d20879075621be95dd2bc9691bc9da13ac1cd810fa524e98afe6 tabs:mock@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:0+2@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:9@1234@@ -194,11 +204,6 @@9cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:bell@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs:linkdown@12349cd138035229d6eea97086f942631bc7dc3f62143d964809b30514bed231be38 tabs@1234-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@0-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@1234-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@2500-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@5000-9d07ba3c3b0ea93e2f54c124813d46dbecbb4a84a1f2407a3e62d40381308a3a talk:be:send@600a09472ed60a3605b70390386885de725255733dbd83bce91afaafc53c8787e10 recap:desk:short@0a1f2530df14ed528ac7b90dbd882afad926136047140a32b37c3330f56063a03 agent:desk@2500a1f2530df14ed528ac7b90dbd882afad926136047140a32b37c3330f56063a03 recap:desk:banner@2500@@ -219,13 +224,20 @@ aad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toaaad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toast@2500@2500aad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toast@2500@5000aad1dafadbb470ce5fc1663022843111fa0586c4200bcaa33ef7c4e11c87f8c6 recap:desk:toast@2500@600+aaff2b81cb907a037a4627536c159bdd1f7b80adbe6227ce9d314eb4ebdd8b9f agent:be:offline@2500aebdae226370e2516dd4ae4f37b7225bc74aa644e9cceffeecbaa5c25f17a5f0 recap:desk:medium@0af572c357a27096e8d8919e2e401f546bde1bd9dff9d723bb646782b7dd8a4a5 recap:docs:unreadfail@2500b47e37e0f0406992f30b7153937c5b0b1f17aef4d94551f6110f79498e049e51 recap:docs:long@1234b6e4fb3070cc13683d734e9bc6e1f104b71f8aaf949478c8e1d1b4c60c1f3d66 tabs:1@0+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@0+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@1234+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@2500+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@5000+bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@600bea341256b62baa2f37ad783b5921ce770c2a3342e9d5a999322be7c60c5f9ff talk:cur@2500c158dad57e29a9df5ca9b0169c6f1367dac791a7126326aeca42ee6cfc67e090 tabs:1@2500c64516b318d78e13ff5db4fff75078bba1a91b531098a1eb06ea02e2a5fd1419 recap:desk:medium@600+c7c08feefc6b061ce8ed3e97443fbaa35b2a7039875c748460c41f28603845e1 agent:cli:long@1234c82777158643051635efb0f544011b0b9e3203e8a2f2fee85f6151486f032118 agent:desk@5000c82777158643051635efb0f544011b0b9e3203e8a2f2fee85f6151486f032118 recap:desk:banner@5000c82777158643051635efb0f544011b0b9e3203e8a2f2fee85f6151486f032118 recap:desk:extreme@5000@@ -247,6 +259,9 @@ d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@1234d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@2500d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@5000d69ef0a9b2fbef291f2af06316b9a951c38d53fcc4f027fbe494399335a8aafb ota:0@600+d7f17e90729cae98782882651d8a56f0c7863ed01077c745e219b2bb61b0a22e agent:cli:long@0+d7f17e90729cae98782882651d8a56f0c7863ed01077c745e219b2bb61b0a22e agent:cli:long@5000+d9f8b92607e70396ed0308f05e1639dacf9fd22a576845e67968fb7d5919a9f6 agent:be@1234da6757f8e3d568e41bd7e97a47d9e79b6a13bd7ee777d3a650810938c3749335 recap:desk:viet@0dc5ccc259cb3a49b34c636fbb6aa62726e92d90a9a2ebf0fc928ee10326388e0 chrome@0dc5ccc259cb3a49b34c636fbb6aa62726e92d90a9a2ebf0fc928ee10326388e0 chrome@1234@@ -257,16 +272,13 @@ ddef17e120a70f9960dc6963385ffe45e9adb0b78f603b3fca0bc38cd5052c43 recap:desk:medde3ba88c8e765252cc0d89e4f1013eba9d3f8e37808daf0e90bda06e36c90b8a recap:docs:long@600de7fccfd4d9ed624772a2c8d137e182ca0697f72b421dc21d1bb4ce4bc8bf594 tabs:none@2500df93751ba9850fed71efbeec5bf0c368d8b2beab1e08fe94ba172e83a9e33eb3 recap:desk:short@600-e605574ba45db1985a96bbb98b5e8b39fad532d542644c3e65d403d47ab75719 agent:cli:banner@2500-e605574ba45db1985a96bbb98b5e8b39fad532d542644c3e65d403d47ab75719 agent:cli@2500e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@0e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@1234e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@2500e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@5000e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@600e6a7fa14ee6c9191350176f8dfcf0661da526268a3d14d912f6337e048b39cbf tabs:1@1234-e729d178c6c3f7e553dd764865428acbdfd7c335411c3b876d94ad3f78593b7f agent:be:offline@0-e729d178c6c3f7e553dd764865428acbdfd7c335411c3b876d94ad3f78593b7f agent:be:offline@5000+e6c240d9edbc03fa207b4322d082e179850573bf44fe2cbe0487c1d211ead6c6 agent:cli:long@2500ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@0ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@1234ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@2500@@ -292,12 +304,10 @@ f4a3950819550c75375b384c3577598cbb06ea8685a05bc40d45744d68801ae2 tabs:bell@0f4a3950819550c75375b384c3577598cbb06ea8685a05bc40d45744d68801ae2 tabs:linkdown@0f4a3950819550c75375b384c3577598cbb06ea8685a05bc40d45744d68801ae2 tabs@0f5336aa91a6c4989c444f12a3b9ec5e050f8496501eda04f4c52b23e9ae55d08 tabs:5@600+f558258d06b9ebeb6785ddb5c0b38b95f5f19ae5f2bd91f3d9349b75349a48d2 talk:be@2500f8a9d033bd6f6db33f4168d086f3aafae4dff0880e7f4301762ca35caf0c5f20 talk:cur@0f8a9d033bd6f6db33f4168d086f3aafae4dff0880e7f4301762ca35caf0c5f20 talk:cur@1234-f9912e2d588d8c677644dd3f21dd1277513e78a5c11e3eb4e92eff336a344d6f agent:cli:long@600fb8b4df593c948f3e4d3a96f763e9df0487a27a2ba99a9f6d9f1acd37717aa20 recap:docs:unreadfail@1234-fb9849f353ea4ea70a3405b837f5079709d10d4bee4072e92742152a6902bd8f agent:cli:long@0-fb9849f353ea4ea70a3405b837f5079709d10d4bee4072e92742152a6902bd8f agent:cli:long@5000fbc885b17d01eadab52928be9eb2c3abf60bc351a280ac69a15b2c99b1664e8b tabs:seven@600fc3bf40809cb606d7b0f777017dc1c9de85edebe1f3623ca13919b1495b73ff9 tabs:1@5000ffa3bcedf2d77ad95edfe7f925134134bbb8451a7973b39e94ba5a7f7fd2f232 agent:fw:banner@2500diff --git a/devices/harness-pro/firmware/test/ph_perf_baseline.txt b/devices/harness-pro/firmware/test/ph_perf_baseline.txtindex 1153c3c2f..2297ff977 100644--- a/devices/harness-pro/firmware/test/ph_perf_baseline.txt+++ b/devices/harness-pro/firmware/test/ph_perf_baseline.txt@@ -6,11 +6,12 @@# agent:fw:toast@2500 and recap:desk:toast@2500 are a room with the notice toast mid-bar (measured 239 and 189 against 169 and 126 without it: the toast adds ~65 us, two# AA rounded rects of a 640 x 118 card and a few small runs). Same rule: each baseline is about 1.25 x what was measured. Every Pets screen's full redraw stays under ~270 host us.# tabs 170 -> 185 (measured 134 -> 147): the demo model has an asking agent, so tab 0 now has the Notices card peeking on its left (one more dithered gradient, ~13 us).+# 2026-10-15 Codex drawn smooth at 2x (pod_cell_smooth: corner rule + bilinear instead of doubled pixels): agent:cli, a Codex room, measured 267 (was 105).tabs 185tabs:2 200tabs:notices 175agent:fw 215-agent:cli 130+agent:cli 334recap:desk 160talk:fw 175talk:fw:send 110diff --git a/devices/harness-pro/firmware/test/test_ph_talk.c b/devices/harness-pro/firmware/test/test_ph_talk.cindex 90cd8cbe8..c65310e58 100644--- a/devices/harness-pro/firmware/test/test_ph_talk.c+++ b/devices/harness-pro/firmware/test/test_ph_talk.c@@ -60,6 +60,7 @@ int main(void)pod_model_agent(&M, "c", "cursor-app", "cursor", "Mac");pod_model_agent(&M, "k", "kilo-agent", "kilo", "Mac");pod_model_agent(&M, "p", "payments", "claude", "Mac");+ pod_model_agent(&M, "x", "backend", "codex", "Mac");pod_model_agents_end(&M);CHECK(!pod_pet_for("cursor") && !pod_pet_for("kilo") && pod_pet_for("claude"));@@ -129,6 +130,16 @@ int main(void)CHECK(pod_pet_has("claude", sending ? POD_SCENE_SEND : POD_SCENE_LISTEN));CHECK(pod_view_next_ms(&N, &M, 4000) == ph_talk_next_ms(&N, &M, 4000));}+ // Codex's painted robot is drawn smooth at 13/8, a fifth under the 2x of the others (pod_cell_smooth marks its cell runs); Claude's pixel art+ // keeps doubled pixels at 2x. Both stand on the same floor.+ for (int sending = 0; sending < 2; sending++) {+ int smooth = 0, plain = 0;+ talk("x", sending, 4000);+ for (int i = 0; i < S.count; i++) if (S.runs[i].pro_kind == POD_CELL) { CHECK(S.runs[i].radius == 13); smooth += S.runs[i].text[1] == 1; }+ talk("p", sending, 4000);+ for (int i = 0; i < S.count; i++) if (S.runs[i].pro_kind == POD_CELL && S.runs[i].radius == 16) { plain++; CHECK(S.runs[i].text[1] == 0); }+ CHECK(smooth >= 1 && plain >= 1);+ }printf("test_ph_talk: %d checks passed\n", checks);return 0;}