Repository navigation
App 1.0.11 - #190
Merged
Merged
App 1.0.11#190
Conversation
…ter start' (#3) from test/20261122 into main
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>
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tap X Y twicetaps 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).openon 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.failwith no reason or adonewith no answer shows the model's own words (they read as empty).openpresses 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.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.waitwatches 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 10waits that long. A loading page no longer costs a model step per look.IA_CAPTURE_BACKGROUND_MODE = screen-capture); AirPlay is unchanged and stays the default. StopWatch firmware shows "Screen Recording on" when the app sendso. 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