Skip to content

App 1.0.11 - #190

Merged
onehumanbeing merged 70 commits into
mainfrom
dev/20261124
Nov 25, 2026
Merged

onehumanbeing merged 70 commits into
mainfrom
dev/20261124

Conversation

@onehumanbeing

@onehumanbeing onehumanbeing commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner
  • App: Settings › Model › Sign in with ChatGPT: runs use your own ChatGPT Plus or Pro plan (the same usage limits Codex uses), with no API key.
  • App: the Settings note on Look ahead says it is on by default (it has been since 2026-11-25).
  • App: the "Let Me Use the Pointer" setup page lists the AssistiveTouch steps one by one, ticks each as it is done, says what it is waiting for (AssistiveTouch, the board's mouse, Screen Mirroring) and, after 20 s on one of them, the likely cause and fix. It looked frozen before.
  • App: a landscape app learns its own pointer landings (a separate table from portrait), so a steady miss there is corrected after a few taps.
  • App: a landscape app (a game) goes to the model at 540 px on its short side (about 1170x540), as many pixels as portrait; it went at 540x250 and small targets were unreadable.
  • App: faster on screens that never stand still: one such step caps every later wait at 0.8 s, a screen seen moving in the last 2 minutes waits at most 1 s, the longest wait for a still screen is 3 s (was 4), and the pointer check waits 0.2 s instead of 0.6 s there.
  • App: tap X Y twice taps one spot twice, the second click where the first landed; a second tap at the same spot in one reply is no longer aimed again (a game's choose-then-confirm, "tap twice" buttons).
  • App: iPhone apps in landscape (games): taps land where aimed. The pointer's calibration was used in portrait sides, so a tap at the right of a landscape screen landed at about a third of its width.
  • App: open on the pinyin keyboard: a name that is only in the candidate bar goes in with space instead of a tap, and a Return that only put composing letters in is followed by one more Return on the Top Hit.
  • App: a fail with no reason or a done with no answer shows the model's own words (they read as empty).
  • App: Chinese typing deletes words the keyboard's first candidate added past the text (你好明天 came out as 你好明天早上), instead of reporting it typed.
  • App: open presses Return when the app is Spotlight's Top Hit and its name went in as plain letters, instead of finding the pointer to tap the row (about 5 s less per open). Letters still composing on the pinyin keyboard fall back to the tap.
  • App: a second task in a row saves its notes and files in its own folder; before, it reused the folder of the task before it.
  • App: Chinese is typed as the pinyin of each word (音乐 is yinyue, so Spotlight finds 汽水音乐). The check for another input method no longer counts the on-screen keyboard's keys or Spotlight's suggestions as typed letters, and one failed typing no longer stops Chinese for the rest of the run.
  • App: the first launch asks once on the Welcome page whether you have an ESP32 board. Not yet opens manina.ai's page on where to get one (manina.ai/where-to-buy-esp32), then setup goes on. Users who already finished setup are never asked. With usage stats on, only the answer (yes/no) is counted.
  • App: a task that names an app no longer opens a system app whose plain name (音乐, 地图, 天气, Music, Maps…) is part of that app's longer name.
  • App: a tap that lands far from its target calibrates the pointer at once, even when the screen changed; failed calibrations try again after 3, 6, 12… taps and never stop for the run. Taps undone by back twice in a row find the pointer first.
  • App: "no change" counts only when a new screen image came after the action. The same action with no change twice gives the model a hint; three times, one longer look, then the run asks you.
  • App: a keyboard that is not system Pinyin (Zhuyin, Wubi, 9-key, a third-party keyboard) is switched once with ctrl+space and the text typed again; if Pinyin can't be reached the typing stops, nothing is sent, and you are told how to add it. Clearing what came out deletes only that, never the field's own text.
  • App: Settings › Look ahead is on by default: the next model request starts while the screen settles (cancelled if the screen moves). A request refused because the run's previous one is still open is asked again every 0.4 s instead of after 3 s.
  • App: the task's app guide loads while the app opens, not after it.
  • App: a board that joined this iPhone's own Personal Hotspot (net join) is reached over the hotspot; the app no longer tries to join that Wi-Fi after the board restarts, and shows no "turn off Personal Hotspot" warning for it.
  • App: when Screen Mirroring is connected but the board gets no picture at all (gop 0, 0 fps) for 30 s, the start stops and says to restart Screen Mirroring, or to use another Wi-Fi when the board is on this iPhone's own Personal Hotspot (iOS sends no picture there). It used to wait up to 5 minutes.
  • App: the Manina AI key field, plan card, key links and the key-only search tool are in the App Store build only; TestFlight and builds from this repository show none of them and ignore a saved key. There the field saves only a whole key (hsk_live_… with its 43 characters). The free-line note no longer says "up to 3 minutes per run" (runs last up to 30 minutes and go on while they work).
  • App: on iOS 27 a pull down to refresh that started on an intent's play button ran that intent when the finger lifted; a play tap during a pull, or within 0.8 s after it, is ignored.
  • App: a plain wait watches the screen and goes on as soon as something changes (a spinner or a video moving by itself doesn't count), up to 15 s, instead of asking the model again after one settle; wait 10 waits that long. A loading page no longer costs a model step per look.
  • App: when the iPhone itself is slow (the app keeps waiting seconds for the CPU, as for a few hours after an iOS update), Home shows a tip saying so, and names the update when iOS changed in the last two days. Slowness from the app's own work doesn't show it.
  • App: Spotlight's web suggestions are not taken for the app: an app that is not installed is listed only there, and tapping it (or Return) opened a web search in the browser. Now the model is told the app is not on this iPhone.
  • App: Chinese typed on the English keyboard is caught from the first read of what changed (the pinyin shows as plain letters), deleted and typed again after ctrl+space, without two more reads of the whole screen.
  • App: the video decoder starts a new session as soon as the app goes to the background (tried again every 0.5 s for 3 s when iOS refuses it at first); the old one stopped giving frames there for about 10 s, which held up the first step. A tap that changes Spotlight (a keyboard candidate committing the pinyin) has its new results read before Return is pressed.
  • App: a free-line call refused because the model service was saturated is asked again after 0.5 s instead of 3 s.
  • App: a stopped run tells the free line who stopped it (the Stop button, the Live Activity, a notification, an answer to a question, or no answer in time).
  • App: the free line gets each step's first token, image, change check, pointer check and after-gesture time, and the run's start time, as seconds only.
  • iOS 27+: optional Screen Recording (Settings › Screen Source). The phone records its own screen with ScreenCaptureKit and the board only moves the pointer: no Wi-Fi or Screen Mirroring. Off in default builds (needs Xcode 27 and IA_CAPTURE_BACKGROUND_MODE = screen-capture); AirPlay is unchanged and stays the default. StopWatch firmware shows "Screen Recording on" when the app sends o. Based on PR feat(ios): add optional on-device screen capture #78 by await-ovo. Device checklist: docs/screen-recording-device-test.md.

🤖 Generated with Claude Code

henry and others added 30 commits November 21, 2026 20:40
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pWatch as an experimental board

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f58fb82)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new provider, ChatGPT, in its own "Use Your Subscription" section of
Choose Provider. Instead of an API key, the user signs in with Codex's
device-code flow: a short code, entered on OpenAI's page in an in-app
Safari view; the app polls and stores the tokens in the Keychain.

- ChatGPTAuth: device code, token exchange and refresh (near expiry and
  after a 401), account and plan from the ID token, the account's model
  list, the 5-hour and weekly usage windows from the reply headers.
- LLMClient speaks the Responses API to chatgpt.com (ResponsesWire):
  instructions + input_image/input_text, store=false, streamed events;
  no temperature or output limit, which the endpoint refuses. A reached
  usage limit is final and says when it resets.
- Settings › Model and the store build's model sheet both show the
  sign-in button, then the account, its usage and the model picker.
- zh-Hans strings; ChatGPTTests (8).

Ported onto main for review (#965). The conflicts in LLMClient, Settings,
ProviderSelectionView and the string catalog keep main's changes and add
the sign-in's own lines. The Responses stream is read in main's detached
read(), which now takes whether the reply is a Responses stream; the plan's
usage windows are posted back to the main actor from there.

(cherry picked from commit 543f7bc)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orm row

In Settings › Model the sign-in sheet hung off the provider row inside the
model sheet's Form. When the row was hosted again mid sign-in, SwiftUI
rebuilt the sheet's content while it stayed on screen: the running attempt
was cancelled, a new code was requested and the OpenAI page closed, so the
sign-in never finished.

- ChatGPTSignInPresenter holds whether the sheet is up; the row's button
  only sets it.
- chatGPTSignInHost() presents the sheet from a stable container: the model
  sheet's NavigationStack, the Settings › Model Form when there is no free
  line (otherwise the model sheet above hosts it), and onboarding's model
  page.

Checked on an iPhone 13 Pro: the device-code sign-in now completes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit c92272605374c3ba8cf73c9828e2573fcf51257e)
The Codex models list hides models newer than the client version a request
names. Asked as 0.142.0, it answered with one hidden model only, so the
picker showed "The endpoint lists no models". 0.171.0 is the current Codex
release; the list then offers the account's models again.

Checked on an iPhone 13 Pro: the list loads and a model can be picked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…as one

The Codex endpoint has answered 200 with its event stream but no
Content-Type. Without text/event-stream the body was read as one JSON
document, so every round of a run failed with "The data couldn't be read
because it isn't in the correct format".

For the Responses endpoint only, and only when the Content-Type is neither a
stream nor JSON, the body's first non-blank line decides: an SSE line
(data:, event:, id:, retry:, :) is read as the stream it is, anything else as
one JSON answer whose error is reported. A body that is neither says so with
its start. Other providers and replies with a Content-Type keep their path.

- StubProtocol sends no Content-Type when the type is empty.
- ChatGPTTests: a stream, an error in a stream and a JSON error without a
  Content-Type, a JSON error with one, a body that is neither, and another
  provider unchanged.

Checked on an iPhone 13 Pro: a read-only run and a run that sets an alarm
complete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… in an unknown music app's name)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The phone records its own screen with ScreenCaptureKit and the board only
moves the pointer: no Wi-Fi, hotspot or Screen Mirroring. Based on await-ovo's
PR #78 (9c7b5db, a1cb597, 2085fd6), re-applied on current main.

- CaptureBackend.resolve picks the source from iOS 27+, an SDK with
  ScreenCaptureKit, SCContentSharingPicker.isAvailable, the screen-capture
  background mode in Info.plist, iPhone, and the saved choice; anything else
  is AirPlay. Settings shows the choice only where it can work.
- Off by default: IA_CAPTURE_BACKGROUND_MODE stays bluetooth-central; opt in
  with screen-capture plus IPhoneAgentScreenCapture.entitlements
  (IA_SCREEN_CAPTURE=1 in fastlane).
- AirPlay path unchanged: H264Decoder as on main; the board-link gate lives in
  ScreenCaptureFeed(controlLink:), not the TaskScreen router.
- Whole-screen check, consent/stop/background-mode messages, recovery and
  status chips without mirroring hints.
- StopWatch: `o` in the ui line shows "Screen Recording on"; older firmware
  skips the key.
- Tests: CaptureBackendTests (160-cell matrix, Info.plist detection, `o`),
  TaskScreen/FrameThrottle tests, UI tests follow the hidden setting.
- docs/screen-recording-device-test.md: the device checklist.

Co-authored-by: await-ovo <awaitoo762@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…off but never give up, taps undone by back twice aim first, far/recal counts in the step header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…yping stops with a clear note

2026-11-24, 122 runs: Chinese typing failed in 27 (82 steps), nearly all on a phone whose
active input method was not system Pinyin (9-key, Zhuyin, Wubi/stroke, a third-party
keyboard). The fast way's read-back caught only English letters, and only on the first go:
after ctrl+space any result, and Zhuyin / shape / digit output always, was "trusted" and
reported as typed whole, so the model cleared and retyped in a loop and a message went out
with stray letters.

The read that already follows the keys now tells another input method on hard evidence:
letters left uncomposed, Zhuyin symbols (Vision reads them as look-alike radicals: 了一厂幺
for ㄋㄧˇㄏㄠˇ), new digits, or new characters none of which is the text's or has its pinyin.
Then everything typed is deleted, ctrl+space, typed again; the same result twice (ctrl+space
went round or did nothing) stops it: the field cleared, a note that says what to do, the send
guard holding the text as missing, the user told once, and every later Chinese type of the run
stopping at once without keys (InputSource, reset per run). System Pinyin is unchanged: the
same keys and reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the same one three times asks the user

2026-11-24: 47 of 122 runs repeated a tap, open or Home on a screen that did not change until the user stopped
or the lease ended. RepeatGuard looked only at the step right before (a wait or note between hid the repeat),
skipped Home and sent the third same answer anyway; ThirdTapGuard and NoProgress reset on any other round and
NoProgress needed five.

- confirmStill: after the round's settle, a "no change" is confirmed (`still`) only when a frame captured after
  the action arrived, the screen was not moving (StepWaits.moving) and a tap's target did not move by itself.
  No frame: `noframe`, the model reads "effect unknown", never counted.
- The same gesture confirmed unchanged twice in a row: one line in the next actor request (no extra call).
- Three times: one more settle and a fresh frame; still the same, the run asks the user (stall reason, own
  help panel title and message, EN + zh-Hans). A late change marks the step changed and the run goes on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed, keeping the field's own text

Zhuyin, Wubi and stroke keyboards make fewer characters than keys; one backspace per key ate the end of
what the field held before. English letters are still cleared key for key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two callers asking for the token while it was near expiry each sent a
renewal with the same refresh token. The first rotates it, so the second
can be refused, and a refused renewal signs the user out.

accessToken() keeps the renewal in flight; while it runs, every other caller
waits for its result. Done or failed, it is cleared, so the next caller
decides afresh. The renewal request, saving the new tokens and signing out
on a refusal (400/401) are unchanged, moved into renew(_:).

For tests, ChatGPTAuth takes its token store and URLSession (shared keeps
the Keychain and URLSession.shared), and LLMClient the ChatGPTAuth that
renews it after a 401 (nil: shared). StubProtocol records each request's URL
and can drop the connection before the reply.

- ChatGPTTests, on fake tokens, an in-memory store and stubbed replies: a
  usage limit (no retry, no renewal), near expiry (one renewal), far from
  expiry (none), two callers at once (one renewal, the same token), a
  failed renewal and a dropped connection (nothing left pending, the next
  try renews), a refusal with two callers (one request, signed out once), a
  refused access token (one renewal, one retry; twice: sign in again, no
  loop), a refused renewal (only that session signs out).

Checked on an iPhone 13 Pro, in a separate test install with its own
sign-in: a faked usage limit is not retried, near expiry renews once, a
real 401 renews once and the retry succeeds, two callers at once share one
renewal, a refused renewal signs out only that install.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A /models reply that was not the expected JSON (not JSON, or no models
array) read as an empty list, so the picker said "The endpoint lists no
models" and the real cause was lost. It now throws "GET /models: unexpected
body (HTTP n, n bytes)".

- ChatGPTTests: the listed models in priority order, hidden ones left out,
  the client version in the request; a reply in another shape is an error,
  not an empty list.

Checked on an iPhone 13 Pro: the list still loads. A reply in another shape
did not occur there; that case is covered by the test only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… in 0.4 s, the app guide loads while the app opens, step parts and the start sent to the free line

Users find runs slow. A step is about 11-16 s and the gateway's call only about 4 s of it: the settle wait
(2 s a step) now overlaps the model call, and the step header says where the rest went (first token, image,
change check, pointer check, after the gesture) and how long the start took, within the gateway's limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…name is typed, once

An open took 21 s at the median; the Home Screen's OCR (1-3 s, more on slow phones) ran before cmd+space and
again when the name was not listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s go out; back reads only the top-left corner

A clear took 14 s at the median (three settle-and-OCR reads in a row), a back 5.4 s (a whole-frame OCR when
the swipe changed nothing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ads, forms)

Each round costs a look, so the model is told which multi-step chains are safe;
AgentLoop already checks the field opened before typing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Welcome page panel "Do you have an ESP32 board?": Yes goes on with setup,
Not yet opens manina.ai/where-to-buy-esp32?from=app (zh/ for Chinese) and
setup goes on. The answer is kept in UserDefaults; users who finished setup
before are never asked. has_board_answer (answer only) is sent only with
usage stats on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iOS 27+ optional Screen Recording joins this round's device test (PR #10).
Conflicts: CHANGELOG.md (both entries kept), Localizable.xcstrings (new keys from both sides).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…v for tap grounding

Sends X-Handsy-Ground: manina|jev on the free line's actor requests when Jev
runs on Manina AI; never with the user's own model or own TypeSafe key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
onehumanbeing and others added 29 commits November 25, 2026 23:22
…ecoder renewed in background, faster retry on a saturated upstream

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a tap that changed it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… tell the model Suggestions rows open the browser

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ith ChatGPT) into dev/20261124

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s Han spelling

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
runFolder was kept from the task before, so its notes went into that task's folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…turn for the Top Hit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he frame; harness run.sh stops a waiting run first

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ip when the free line is built in

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…screen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stuck hint

Users on the "Let Me Use the Pointer" page couldn't tell what to do and
thought the app had frozen. The page now lists the steps (Settings >
Accessibility > Touch > AssistiveTouch, turn it on, pair under Devices on a
Bluetooth board, come back and tap Calibrate), checks AssistiveTouch itself
(UIAccessibility.isAssistiveTouchRunning, re-read on return from Settings),
marks the one row it waits for, and after 20 s on the same step shows the
likely cause and its fix. The bottom button says Waiting for mirroring when
the mouse is ready but mirroring is off. The 3D printer metaphor is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e the board reports its mode

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fault

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@onehumanbeing
onehumanbeing merged commit 9331b87 into main Nov 25, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant