Stitch 0.4.4: saved chats, model guide, Thinai, sturdier web search

Ideas ported from Thinai (github.com/Aravindargutus/Thinai, MIT); none of
its Flutter code is used directly.

- Chats panel: every conversation saved (ChatStore); new chat, switch,
  search, rename, delete, delete all. Fixes B-38: AI replies were never
  saved and the chat screen started empty after every restart.
- Model guide: 20 real .litertlm models, the phone's RAM/CPU/storage,
  use-case chips, fit and speed estimates (ModelGuide).
- Thinai preset; any AI server on 127.0.0.1 gets short instructions and
  the 33 phone tools instead of 70.
- Web search: DuckDuckGo Lite/HTML then Bing, challenge-page detection,
  10-minute engine rest, relevance filter (B-37).
- Other people's text wrapped with a random id and control tokens
  defused (B-40).
- Wake-phrase service no longer crashes the app after an update or
  reboot; a one-tap notice resumes it (B-39, pre-existing since 0.4.0).
- 37 new tests (87 -> 124); fake AI test server kept in tools-dev/.
- Docs: DEVELOPMENT_HISTORY, README, STAGE_A2_CHECKLIST section 6.
This commit is contained in:
thekhalidsha committed 2026-09-28 11:19:58 +05:30
1 parent a1d593a4cc
commit 372190f8ec
29 files changed
+2436 -167

No files matched your search

+22 -8
View File
@@ -1,17 +1,19 @@
# Stage A2 — does 0.4.3 actually work on the phone?
# Stage A2 — does 0.4.4 actually work on the phone?
> About 25 minutes, plus one overnight battery check. Install `dist/Stitch-0.4.3.apk`, then work down
> About 35 minutes, plus one overnight battery check. Install `dist/Stitch-0.4.4.apk`, then work down
> this list and write **works** or **broken: what happened** after each line. Plain words are best —
> "it played the wrong song" tells me more than a guess at the cause.
>
> **Why again?** You last tested 0.4.1 and found six things broken. They were fixed in 0.4.2, and 0.4.3
> added per-provider keys. Neither release has ever run on a phone. So this list is deliberately short:
> it only covers what changed, plus the two things that can lose your data.
> added per-provider keys, 0.4.4 added saved chats, the model guide, Thinai and better web search.
> None of them has ever run on a phone. So this list is deliberately short: it only covers what changed,
> plus the two things that can lose your data.
>
> Written 25 Sep 2026 for 0.4.3 (versionCode 16). The earlier list, `STAGE_A_CHECKLIST.md`, was for
> 0.4.1 and is done.
> Written 25 Sep 2026 for 0.4.3; section 6 added 28 Sep for 0.4.4 (versionCode 17). The earlier list,
> `STAGE_A_CHECKLIST.md`, was for 0.4.1 and is done.
**First, after installing:** open Settings → Phone control. If it says "on but not running", switch it
**First, after installing:** if the wake phrase was on, you'll see a notification "Wake phrase is off" —
tap it (new in 0.4.4: Android won't let Stitch restart the microphone by itself after an update). Then open Settings → Phone control. If it says "on but not running", switch it
off and on again. Android always stops it when an app is updated.
---
@@ -81,12 +83,24 @@ PC, never on a phone.
|---|---|---|
| 5.1 | Leave the wake phrase listening overnight. In the morning: Android Settings → Battery → Stitch. What percentage? | |
## 6. New in 0.4.4
| # | Do this | Result |
|---|---|---|
| 6.1 | Open Stitch. Is your earlier conversation still on screen? (Before 0.4.4 the screen always started empty) | |
| 6.2 | Tap **☰** (top left). Do you see your chats? Tap **New chat**, ask something, then open ☰ and go back to the first chat. Is it all there? | |
| 6.3 | In a chat's **⋮** menu: rename it, then delete a chat you don't need. Try the search box too | |
| 6.4 | Close Stitch completely (swipe it away) and reopen. Are the chats still there? | |
| 6.5 | Ask three current questions in a row ("who is the CEO of Nvidia", "gold price in Chennai today", "IPL result yesterday"). Does each get a real answer from the web, not "no results"? | |
| 6.6 | Settings → AI & provider → **On this phone**. Scroll to "Which model should I get?". Is the RAM shown right for your phone? Tap a few of the chips (Tamil, Writing…) — do the picks look sensible? | |
| 6.7 | *(Optional)* Install Thinai, download a small model and start its server. In Stitch pick **Thinai (AI server on this phone)**, tap ⟳, pick the model, **Test connection**. Does it connect? Try "set an alarm in 10 minutes" and a question | |
---
## When you're done
Send me the list with your answers.
- Anything broken gets fixed and shipped as **0.4.4** before any Hermes work starts.
- Anything broken gets fixed and shipped as **0.4.5** before any Hermes work starts.
- If it all passes, the next steps are the signing-key changeover (`docs/SIGNING.md`) and then Stage C
of `docs/UPGRADE_PLAN.md` — making Hermes on your PC and Stitch on your phone actually talk.