Spaces:
Paused
Paused
Commit History
-
Mozg odpowiada tylko na podpisane wywolania; bez placu zabaw; awaria to blad, nie pozegnanie
- respond(context_json, sig): HMAC-SHA256 z ARIA_BRAIN_SECRET, fail-closed, limity rozmiaru - _try_it usuniete (publiczne wywolania modelu na kredyt organizacji) - jezyk po granicach slow, honorowany wybor z Workera; role tylko user/assistant - blad inferencji rzuca gr.Error zamiast udawac wyjscie ARII - gradio i huggingface_hub przypiete; README bez hf_oauth8f9bde4
-
Mapa prywatnego backendu nie nalezy do publicznego Space'a
Katalog cloudflare/ trzymal tu zrodlo aria-workera razem z Durable Objectem, migracje D1, wrangler.jsonc z identyfikatorem bazy i skrypt instalacyjny. Space jest publiczny, wiec bylo to wystawione bez powodu. Sekretow tam nie bylo, ale byla cala architektura i id bazy. Calosc przeniesiona do repozytorium strony, gdzie mieszka reszta deploymentu. Kopie frontendu i tak odstawaly od tego, co jest na zywo. Tu zostaje sam mozg. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>bc1c646
-
aria(mobile): long-press menu is plain text (no box) left-aligned to bubble — time above, Odpowiedz below; css/js v23
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>386c43e -
aria(mobile): show each message's sent date+time (UTC) above 'Odpowiedz' on long-press; css/js v22
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>cfd0328 -
aria(mobile): react-hint is now a line-art smiley+ icon (stroke, like the paperclip), not a colored emoji; css/js v21
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>a5c1169 -
aria: block = silence + "can't reply" composer + cheeky unblock comeback; mute unchanged; raise limit to 50; drop usage countdown
Malina +1: Claude Opus 4.8- block: DO tracks blocked (loaded from D1 + WS block/unblock signals); stays silent incl. proactive while blocked; on unblock runs a short cheeky line (persona ODBLOKOWANIE, model-generated/varied). Client hides ARIA output when blocked and swaps the composer for "Nie możesz odpowiedzieć na tę konwersację". - mute unchanged (silent, no comeback on unmute). - budget 20 -> 50 messages / 5h for everyone. - remove the "x/5h left" presence indicator (just shows Active). - css/js v20, aria-settings v5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>f4410c4 -
aria: profile popup (tap header avatar → swing-in modal, animated close); peek panel routing fix note. css/js v19
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>10140a8 -
aria(mobile): faint 🙂+ react-hint on the latest ARIA message (visual only, vanishes once reacted); remove the tip line; css/js v18
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>5e83c93 -
aria(db): readable chronological transcript view (email · time · sender · text); extract user text from JSON, UTC time, skip system_idle
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>ad40dc2 -
aria: profile-picture avatar; come-back-after-limit catch-up; email in usage + read-by-email views
Malina +1: Claude Opus 4.8- avatar: replace the "A" letter avatars (header, typing row, ARIA messages) with profile-picture-aria.png (resized 256px) via CSS background. - limit behaviour: while over budget ARIA is "away" — one goodbye, then silence, but the user's messages are STORED (answered=0, don't burn budget, capped). On her return (reconnect after the 5h window resets, or the next message) she runs a single catch-up turn (comeback=true) that apologises in her own words and answers the backlog. New DO methods: maybeCatchUp/runCatchUp/unansweredUserEvents. - DB: email column on aria_usage (kept fresh by the worker, backfilled) + views aria_conversations_by_email / aria_messages_by_email to read any user's chat by email. email now flows Pages → aria-worker (WS query + X-Aria-Email header). - persona: POWRÓT (comeback) section, in her own words, varied. - css/js v17. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>57b6530 -
aria: examples-are-examples (less robotic repeats); fix missing proactive pings; unify reply timing; drop ↩ from reply menu
Malina +1: Claude Opus 4.8- persona: strong "examples are only examples, not rules — vary, invent your own, never repeat the same line like a bot" note in the system prompt; de-anchor the user-reaction comment (was always "ej no to nie było aż tak śmieszne"). - proactive/idle fix: CISZA rule rewritten to actually re-engage when the topic is still open (varied wording), only staying silent when the topic was closed or she just pinged. IDLE_MAX_PER_TURN 1 → 2 (a second, later nudge). - timing: credit the model's thinking time against the first bubble's "typing" pause (total ≈ max(modelTime, pause), not modelTime + 1–8s) across normal/idle/react. - UI: reply menu item is just "Odpowiedz" (no ↩ glyph). js v16. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>8eee93b -
aria(mobile): hide the redundant tip + tighten input while keyboard is open; css v16
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>d23d4ab -
aria(mobile): keep keyboard open on Send; collapse top bar while typing; drop the input-area divider line (tighter, more messages visible); css v15 / js v15
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>6bb7936 -
aria: interruptible delivery — adapt when the user cuts in mid-reply
Malina +1: Claude Opus 4.8If the user sends a new message while ARIA is still sending a multi-bubble reply, she now finishes the current bubble, holds the unsent remainder as a resumable thread, and (after the user's burst settles via the existing debounce) re-decides with the brain: answer the new message first, then resume that thread in the same turn or drop it — her call. - DO: emitBubbles is interruptible (pacedDelay/wakeDelay); returns the not-yet-sent bubbles, stored in this.unsent. Interruption during "thinking" holds the whole stale reply instead of sending it. unsent is carried into the next turn's context. - worker/orchestrator: pass unsent → ctx.interrupted. - persona: PRZERWANY WĄTEK section — model decides to weave the thread back (own words) or let it go; never explains the mechanic. - remove now-unused sleep() helper. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>84c5d94 -
aria(mobile): JS fallback to kill iOS double-tap zoom (non-passive touchend preventDefault); js v14
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>96c418e -
aria(mobile): reply bar uses a clean white line arrow (SVG) instead of the ↩ emoji; css v14
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>409f4aa -
aria(mobile): touch-action:manipulation on rows/bubbles — stop double-tap-to-zoom on double-tap-❤️ (iOS+Android); css v13
Malina +1: Claude Opus 4.8Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>4c9568b -
aria: fix iOS WS dropout + reply-to stripping; double-tap heart; drop swipe arrow
Malina +1: Claude Opus 4.8- WS resilience (iOS "message sent, no reply" bug): client heartbeat with liveness watchdog (zombie socket → reconnect), reconnect on visibility/online/focus, and an outbox that resends unacked events. DO: idempotent receive (dedup + ack), echo to all sockets incl. sender so a resent message re-renders after a reconnect wipe. - reply-to fix: DO no longer strips a reply_to that points at the last user message (that silently killed "reply to my message" + emphasis quotes). Persona: explicit reply requests always set reply_to. - double-tap on ARIA's bubble → ❤️ reaction (toggles), iMessage-style. - remove the ↩ arrow glyph shown during swipe-to-reply. - cache-bust aria.css v12 / aria-chat.js v13. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>29bf7f3
-
aria: iOS keyboard viewport fix + more reactions/reply-to/bubbles + time awareness
Malina +1: Claude Opus 4.8- mobile: track visualViewport (height + offsetTop via translateY) instead of fighting iOS scroll; app glues above the keyboard like iMessage, messages stay bottom-pinned. Stop closeHold() on every viewport tick (no more self-closing picker). - persona: reactions ~every 2-3 fitting msg (❤️ most common); reply-to used naturally/often (quote a specific msg, return to a thread, emphasis); encourage splitting into 2-4 bubbles (up to 6). - time awareness (Europe/Warsaw): worker adds now_text + per-message send time; persona gains a CZAS section + gap detection so ARIA senses the clock, send times and long absences ("dawno cię nie było", "już po północy") without ever stating the time like a robot or mentioning it unprompted. - cache-bust aria.css v11 / aria-chat.js v12. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>8d1f0ef -
system prompt update
Verified signatureb3d60e7 -
aria: reconcile reaction set (❤️😆😮🥹😢😡) across worker+brain+client; instant keyboard fit; brb-suppression + model-judged idle; emotional-tone continuity; tip under input bar
Malina +1: Claude Opus 4.8- events.js ALLOWED_REACTIONS + build_user_frame contract now match user's new emoji set (schema.py/aria-chat.js already had it) - keyboard: replace 630ms pingViewport crawl with snap+rAF+single reconcile (instant) - DO: 'poczekaj/muszę lecieć' suppresses idle pings; idle now routed through the brain (mostly []), no canned 'jesteś?' - persona frame: hold emotional register (no empathy->jokes whiplash) + proactive caring support; model-judged silence block - aria.html/css: 'Tip - sprobuj przytrzymac wiadomosc hehe' under input bar; cache-bust v10/v11 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>4a9c791 -
aria(mobile/ui): fix keyboard layout jump (lock page + recompute through anim); swipe-right-to-reply; truncate quote >25 chars to 20+...
Malinaacc9d08 -
TEST persona update v2
Verified signature4eba183 -
TEST persona.py update
Verified signature945c87e -
Update cloudflare/pages-integration/js/aria-chat.js
Verified signature90f1a96 -
inne emotki
Verified signatureef5a0f7 -
aria: smart clustering (wait for multi-bubble buildup), per-bubble relevance/threading, reply-to flow fixed, interchangeable XD/hahah + hmm/wtf/no wayyyy
Malina +1: Claude Opus 4.8- DO: adaptive debounce — question→~1.2s, lead-in/2nd-quick-bubble→wait up to 10s (reset per bubble) so 'dobra/już ci tłumaczę/no więc...' all land before reply; enforce reply-quote only when not answering the immediate last message; drop dumb 'no mów' fallback (model guesses); add ts→'Xs temu' per message in context - brain: schema now passes reply_to through (was dropped → quote NEVER showed); build_user_frame adds id-map + threading rules (recognize follow-ups of the user's OWN earlier msg, decide to reply or stay silent, set reply_to to the specific msg when not the last); SYSTEM_PROMPT: XD↔hahah, XDDDD↔hahaahahah, hmm/wtf/no wayyyy; 'byt'->'inteligencja'; per-turn frame moved into system msg (no more answering the instruction itself) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>3f0378a -
aria: fix instruction-leak (frame+lang moved into system msg, convo ends on real user turn); react ~every 3rd msg; 'byt'->'inteligencja'; 400-char limit
Malina +1: Claude Opus 4.8- orchestrator: per-turn frame + language directive now live in the SYSTEM message instead of trailing user turns -> ARIA stopped answering the instruction itself ('no wiadomo że po polsku'); reaction-only turns get a tiny synthetic user turn - persona: reactions encouraged ~every 3rd emotional message (as an add-on, not instead of the reply); SYSTEM_PROMPT 'byt' -> 'inteligencja' - message length cap 100 -> 400 (server events.js, input maxlength, client) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>2e61db0 -
aria: reply delay per bubble -> 1-8s; <5 words = 1s flat
Malina88896c2 -
aria(fix): no-response bug — relax over-aggressive echo filter (was dropping all bubbles when aya reused a phrase); retry + fallback so a turn is never silent
Malina3d4a4aa -
aria: reply delay per bubble 7-19s -> 2-9s (still length-scaled)
Malina63bbc20 -
aria huge update: reply, hold-to-react (blur+picker+menu+emoji-fly), live sync, 100-char, spam guard, limit sequence, 7-19s/bubble, 15-50s idle, windowed memory
Malina +1: Claude Opus 4.8Worker (DO): sliding 30-msg memory window; idle 15-50s random gated on user-typing (no 'ej zyjesz'); per-bubble 7-19s typing delay; live cross-device echo of user msgs; reply_to storage+context (both directions); user-reaction triggers a brief quip; server spam backstop (5/8s -> 2s gap/20s); 100-char cap; escalating limit sequence ('musze leciec'/'pa pa' -> 'serio nie moge gadac' -> silence) keeping the popup. Frontend: iMessage-style hold (blur overlay + sharp clone + reaction picker + Reply menu + emoji fly animation); reply quote bar + in-bubble quotes; typing signal; live-echo render; client spam block; 100-char input. DB: reply_to columns. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>6676e98 -
Update brain/orchestrator.py
Verified signature18d0fde -
brain: switch to aya-expanse-32b (your 32B/gemma-4 weren't available; gemma-4 broke Aria entirely)
Malina +1: Claude Opus 4.8- model: CohereLabs/aya-expanse-32b (works, strong Polish; kept bill_to=NextNeural) - restore reactions in build_user_frame (SYSTEM_PROMPT untouched), de-emphasized so the model still replies with words; both directions (Aria reacts + comments user reactions) - reply context + silent gender (never verbalizes the assumption) - robust output parsing: accept content/text/message keys; split multi-sentence replies into separate lowercase no-period bubbles (chat style, model-agnostic) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>5ea523e -
aria(mobile): full-bleed chat — override shared .app-body centering/padding (removes side bars); css v9
Malina6cf15a3 -
zmiana na google/gemma-4-31b-it
Verified signature11e098d -
fix zmiany modelu
Verified signature09c43be -
Model change to Qwen/Qwen2.5-14B-Instruct
Verified signatureb6af9cd -
Update sys prompt
Verified signature77903ac -
update prompt
Verified signatureed80fe0 -
Tescik 2
Verified signature113d2e6 -
Update prompt - role.
Verified signature3c17d5f -
Tescik
Verified signaturefec9e45 -
Update system promptu
Verified signaturec4fcbc1 -
Nowy prompt
Verified signature1a43bda -
aria: recognize user gender from their name + address by name sometimes
Malina +1: Claude Opus 4.8Pass the signed-in user's name down Pages->worker->DO->brain context. Persona infers gender from the name (Polish -a = fem etc.), uses correct gendered forms toward the user, and addresses them by name occasionally (skips weird non-name nicks). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>94eb07c -
aria: warmer/more caring persona (not overdone); mobile chat full-bleed on all phones
Malina +1: Claude Opus 4.8- persona: less nonchalant, genuinely caring/attentive (listens, asks, supports); people-first on personal topics; explicitly not saccharine/clingy - css: .aria-main full width by default; the centered 430px phone frame applies only >=640px, so phones no longer show side background bars Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>10f3caa -
aria: stop leaking internals — event ids + mechanics no longer reach the user
Malina +1: Claude Opus 4.8- persona: ids are internal (target_event_id only, never in text); never mention JSON/format/bubbles/system prompt/'must reply in format'; react to unknown gibberish like a human, don't explain mechanics - schema: strip any leaked evt_/sys_/bub_/ac_ token (incl. quoted) from bubble text - persona: react a bit more often when there's emotion; use XD/lmao subtly (light topics only) - DO: never drop proactive/reaction bubbles in the echo filter (so idle nudges always persist to memory) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>5fd78ff -
brain/persona: restore multi-bubble splitting (lost in the 'smarter' rewrite)
Malina +1: Claude Opus 4.8Re-added an explicit, strong rule to split replies into several short messenger bubbles (one thought per bubble, 2-4 for substantive answers) instead of one block. Verified: recursion -> 4 bubbles, smalltalk -> 2, still smart + playful. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>b213a83 -
aria(ui): livelier typing dots (bigger bounce + scale, brighter), cache-bust css
Malinab12eee8