2 Commits
Author SHA1 Message Date
thekhalidsha 372190f8ec 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.
2026-09-28 11:19:58 +05:30
thekhalidsha 61409cb444 Initial import: Stitch 0.4.3 (versionCode 16)
The project's first commit, six days and 16 releases after it started. Everything
up to this point existed only as files on one machine, with no history and no undo.

Contents: single Gradle module, 62 Kotlin files (11,244 lines) and the Needle 2 JNI
bridge, 70 tools, 87 passing unit tests, and the five documents in docs/ plus
DEVELOPMENT_HISTORY.md and README.md.

Not tracked: build outputs (build/, .cxx/, .gradle/), the release APKs in dist/
(~800 MB, rebuildable), local.properties, and .claude/settings.local.json — all
machine-specific. The prebuilt libneedle.a files (38 MB) *are* tracked on purpose,
so a checkout builds without depending on Hugging Face still serving them.
2026-09-25 14:23:14 +05:30