A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Make the start whale smaller
Fei241119ca0ab2c972
diff --git a/app/src/start/start.css b/app/src/start/start.cssindex 526e1a79..1b454f0d 100644--- a/app/src/start/start.css+++ b/app/src/start/start.css@@ -1,10 +1,10 @@-/* DeepSeek Bot start window. Geometry in DIP of the 720 x 540 window content (40 px band on top). */+/* DS Bot start window. Geometry in DIP of the 720 x 540 window content (40 px band on top). *//* tokens *//* Generated from the DeepSeek theme in ds-bot/src/client/themes.js, inks.js and styles.js by scripts/start-assets.mjs; do not edit. */:root{color-scheme:light dark;--bt-main:#fcfcfc;--bt-card:#ffffff;--bt-ink:#141414;--bt-ink-2:rgba(20,20,20,0.6);--bt-line:rgba(20,20,20,0.08);--bt-line-2:rgba(20,20,20,0.15);--bt-hover:rgba(119,119,119,.09);--bt-accent:#4d6bfe;--bt-accent-ink:#ffffff;--bt-ink-deepseek:#4D6BFE;--bt-green:#00c972;--bt-danger:#e02135}@media (prefers-color-scheme:dark){:root{--bt-main:#141414;--bt-card:#1f1f1f;--bt-ink:#f2f2f2;--bt-ink-2:rgba(242,242,242,0.6);--bt-line:rgba(242,242,242,0.08);--bt-line-2:rgba(242,242,242,0.15);--bt-hover:rgba(160,160,160,.12);--bt-accent:#5b7bff;--bt-accent-ink:#141414;--bt-ink-deepseek:#6A84FF}}/* /tokens */-:root{--font:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI",system-ui,sans-serif;--mono:ui-monospace,Consolas,monospace;--u:.88px}+:root{--font:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI",system-ui,sans-serif;--mono:ui-monospace,Consolas,monospace;--u:.66px}/* springs *//* Generated from ds-bot/src/client/motion.js by scripts/start-assets.mjs; do not edit. */:root {@@ -38,7 +38,7 @@ html[data-frame=system] .band{display:none}/* stage: everything that moves with the later-start shift */.stage{position:absolute;left:calc(50% - 360px);top:0;width:720px;height:100%}html[data-frame=system] .stage{top:-24px}-html:is([data-start=later],[data-start=moving]){--u:.64px}+html:is([data-start=later],[data-start=moving]){--u:.48px}/* Until a card needs the sheet, the whale, its line and the hint sit 80 px lower, at thewindow's visual centre (an integer translation, so the text stays on whole pixels). */html:not([data-up]) .stage{translate:0 80px}@@ -56,8 +56,8 @@ html:is([data-start=later],[data-start=moving]) :is(.elapsed,.water,.trace){disp/* lane: the clipped water above the line at y 180 */.lane{position:absolute;left:48px;top:76px;width:624px;height:104px;overflow:clip;pointer-events:none}-.whale-x{position:absolute;left:76px;top:28px;width:88px;height:88px}-html:is([data-start=later],[data-start=moving]) .whale-x{left:280px;top:47px;width:64px;height:64px}+.whale-x{position:absolute;left:76px;top:50px;width:66px;height:66px}+html:is([data-start=later],[data-start=moving]) .whale-x{left:280px;top:63px;width:48px;height:48px}.whale-gaze,.whale,.whale-move,.whale-loop{width:100%;height:100%}/* .whale-gaze scales only for the breath at rest (whale.js), around the same pivot. */.whale-gaze,.whale,.whale-move,.whale-loop{transform-origin:49.95% 79%}@@ -66,18 +66,18 @@ html:is([data-start=later],[data-start=moving]) .whale-x{left:280px;top:47px;wid#tail{transform-box:view-box;transform-origin:27.9px 61.1px}.bt-eye,#eye-pair,#gaze{transform-box:fill-box;transform-origin:center}#gaze{transform:translate(calc(var(--gx,0) * 12%),calc(var(--gy,0) * 11%));transition:transform .18s ease-out}-.whale-hit{position:absolute;left:calc(var(--hx,168px) - 58px);top:105px;width:116px;height:86px;border-radius:50%}-html:is([data-start=later],[data-start=moving]) .whale-hit{left:318px;top:124px;width:84px;height:63px}+.whale-hit{position:absolute;left:calc(var(--hx,168px) - 43.5px);top:107.75px;width:87px;height:64.5px;border-radius:50%}+html:is([data-start=later],[data-start=moving]) .whale-hit{left:328.5px;top:120.75px;width:63px;height:47.25px}.fx{position:absolute;inset:0;pointer-events:none}-.ripple{position:absolute;left:calc(var(--rx,168px) - 28px);top:174px;width:56px;height:12px;box-sizing:border-box;border:1.5px solid var(--bt-line-2);border-radius:50%;opacity:0}+.ripple{position:absolute;left:calc(var(--rx,168px) - 21px);top:175.5px;width:42px;height:9px;box-sizing:border-box;border:1.5px solid var(--bt-line-2);border-radius:50%;opacity:0}/* Progress is where the whale is. The waterline is only the surface it rests on (faint, soft atboth ends, nothing drawn on it); a stop the whale has left keeps a resting ring, which nevermoves again until the hand-off fades it. */.water{position:absolute;left:48px;top:180px;width:624px;height:1px;background:linear-gradient(90deg,transparent,var(--bt-line) 12% 88%,transparent)}-.trace{position:absolute;top:174px;width:56px;height:12px;box-sizing:border-box;border:1px solid var(--bt-line-2);border-radius:50%;opacity:0}-.trace:nth-child(1){left:152px}-.trace:nth-child(2){left:344px}+.trace{position:absolute;top:175.5px;width:42px;height:9px;box-sizing:border-box;border:1px solid var(--bt-line-2);border-radius:50%;opacity:0}+.trace:nth-child(1){left:159px}+.trace:nth-child(2){left:351px}.trace[data-on]{opacity:.5}.track{list-style:none}/* step marks of the copying card */@@ -195,7 +195,7 @@ html:is([data-start=later],[data-start=moving]) .footrow{display:none}/* entrance, keyed on data-start (no JS timing) */@keyframes bt-veil{from{opacity:0;filter:blur(6px)}}-@keyframes bt-enter-first{from{transform:translateY(64px) rotate(-12deg)}}+@keyframes bt-enter-first{from{transform:translateY(48px) rotate(-12deg)}}@keyframes bt-enter-later{from{transform:translateY(48px)}}@keyframes bt-wake{0%{transform:scaleY(.05)}60%{transform:scaleY(1.06)}}@keyframes bt-flick-in{0%,100%{transform:none}35%{transform:rotate(-10deg)}70%{transform:rotate(8deg)}}diff --git a/app/src/start/whale.js b/app/src/start/whale.jsindex 64a453e9..725f0c79 100644--- a/app/src/start/whale.js+++ b/app/src/start/whale.js@@ -101,7 +101,7 @@ export function createDirector({ start, resume, act, label, announce, onCheck, oconst stations = [...document.querySelectorAll('.station')]const traces = [...document.querySelectorAll('.trace')]const first = start === 'first'- const u = (first ? 88 : 64) / 100+ const u = (first ? 66 : 48) / 100const t0 = performance.now()const entranceMs = resume ? 0 : first ? 560 : 290const D = { at: 0, checks: 0, pose: 'enter', loop: '', card: '', slow: 0, bx: 0, by: 0, since: [t0], activeAt: [], loopAt: 0, hop: null, pet: null, poking: false, handed: false, workReady: first, missed: false, sinking: false,@@ -291,7 +291,7 @@ export function createDirector({ start, resume, act, label, announce, onCheck, o// One answer nods once, whichever listener asks first.if (performance.now() - D.nodAt < 150) returnD.nodAt = performance.now()- const a = play(move, [{ transform: 'none' }, { transform: 'translateY(2px) rotate(3deg)' }], { ...spring('tap'), fill: 'forwards' })+ const a = play(move, [{ transform: 'none' }, { transform: 'translateY(1.5px) rotate(3deg)' }], { ...spring('tap'), fill: 'forwards' })setTimeout(() => {if (D.pet || D.hop || D.poking) returnconst from = cs(move).transform@@ -477,7 +477,7 @@ export function createDirector({ start, resume, act, label, announce, onCheck, orelease(pose, { duration: queued ? 160 : 120, easing: 'ease-out' })if (!queued) {to(body, { scale: '1.04 .96' }, { duration: 120, easing: OUT })- to(move, { transform: 'translateX(-3px)' }, { duration: 120, easing: OUT })+ to(move, { transform: 'translateX(-2.25px)' }, { duration: 120, easing: OUT })await sleep(120)}const timing = { duration: glideMs, easing: shape.easing }@@ -487,7 +487,7 @@ export function createDirector({ start, resume, act, label, announce, onCheck, oconst glide = play(x, [{ translate: `${x0}px 0` }, { translate: `${x1}px 0` }], { duration: glideMs, easing: clamped(shape.easing) })to(body, { scale: '1' }, timing)drop(move)- const tilt = play(move, [{ transform: `${queued ? '' : 'translateX(-3px) '}rotate(-4deg)` }, { transform: 'none' }], timing)+ const tilt = play(move, [{ transform: `${queued ? '' : 'translateX(-2.25px) '}rotate(-4deg)` }, { transform: 'none' }], timing)if (playful()) {const strokes = play(tail, [{ transform: 'none' }, { transform: 'rotate(10deg)' }, { transform: 'rotate(-10deg)' }, { transform: 'none' }], { duration: 200, iterations: 2, easing: 'ease-in-out', fill: 'none' })strokes.done.then(() => strokes.cancel())@@ -549,9 +549,9 @@ export function createDirector({ start, resume, act, label, announce, onCheck, oif (reduced()) { root.dataset.eyes = 'heavy'; return }const shape = spring('shape')release(pose, shape)- eyes.forEach((eye, k) => slide(eye, pose.eyes[k], 'translateY(1.5px) scaleY(.55)', shape))+ eyes.forEach((eye, k) => slide(eye, pose.eyes[k], 'translateY(1.125px) scaleY(.55)', shape))to(body, { scale: '1' }, shape)- await until(to(move, { transform: 'translateY(4px) rotate(4deg)' }, shape).done)+ await until(to(move, { transform: 'translateY(3px) rotate(4deg)' }, shape).done)}async function lift() {if (D.pose !== 'down') return@@ -559,8 +559,8 @@ export function createDirector({ start, resume, act, label, announce, onCheck, osetBase(0.4, -0.4)if (reduced()) returnconst shape = spring('shape')- eyes.forEach(eye => to(eye, { transform: 'translateY(1px) scaleY(.8)' }, shape))- await until(to(move, { transform: 'translateY(2px)' }, shape).done)+ eyes.forEach(eye => to(eye, { transform: 'translateY(.75px) scaleY(.8)' }, shape))+ await until(to(move, { transform: 'translateY(1.5px)' }, shape).done)}async function shakeOff() {D.pose = 'loop'@@ -594,7 +594,7 @@ export function createDirector({ start, resume, act, label, announce, onCheck, oconst fadeOut = el => play(el, [{ opacity: Number(cs(el).opacity) }, { opacity: 0 }], { duration: 160 })if (!reduced()) {release(pose, spring('shape'))- to(move, { transform: 'translateY(64px)' }, spring('shape'))+ to(move, { transform: 'translateY(48px)' }, spring('shape'))play(move, [{ opacity: 1 }, { opacity: 0 }], { duration: 160 })await wait(spring('shape').duration)} else await fadeOut(lane).done@@ -616,7 +616,7 @@ export function createDirector({ start, resume, act, label, announce, onCheck, oD.pose = 'loop'setBase(0, 0)if (!reduced()) {- const up = play(move, [{ transform: 'translateY(64px) rotate(-12deg)' }, { transform: 'none' }], { ...spring('stretch'), fill: 'none' })+ const up = play(move, [{ transform: 'translateY(48px) rotate(-12deg)' }, { transform: 'none' }], { ...spring('stretch'), fill: 'none' })await up.done}armActive()