GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(mobile): add Android agent notifications and Material You theming by rynfar · Pull Request #456 · pylon-code/pylon Conversation
|
| Upstream SHA | PR | Outcome |
|---|---|---|
9eb4d71681dc7d002082db2f8b4bacf7614412f4 |
#9721 | Adopted |
1d1bf50405ccca8fdb8b57879d9def379e27a550 |
— (app version 1.1.0) | Skipped: Pylon Mobile's version is independent (1.0.1) |
c0cad74bfaddf153c3adaaf4f78af2be9260c4c1 |
#10598 | Already covered (launcher crop); T3 background artwork left to the maintainer, see below |
02443335b155e46248f96d80e037603abc742a61 |
#3665 | Adopted |
892de47f0625183edd111dd36df45b156185bbf2 |
#10620 | Already covered: Pylon's splash mark already fits the Android 12+ mask |
b28471567cebe20347205059bbbdb3efe1213528 |
— (app version 1.1.1) | Skipped: Pylon Mobile's version is independent |
579266caa89238611ddb974ffebe9968c6a6e5d5 |
#10691 | Adopted |
4664c572a78231611491f63f677f0e007ebaab03 |
#10692 | Adopted |
1862686f9e42bf1d77e7f2ad03e24d7b0c7908f1 |
#10859 | Adopted (clean pick) |
6c583620ff7ad3235b135af7107c0543467eecfa |
#10416 | Adopted with Pylon adaptations |
SettingsProviderSetupRouteScreen, ProviderSetupLink and provider-setup-state were byte-identical to upstream's pre-removal files. They arrived with the Antigravity port (feat(providers): add the Antigravity setup surfaces #440), so they are not Pylon-original. ConnectionEnvironmentRow keeps Pylon's PrimeHostMaintenanceStatus, which already sends Prime host operations to web/desktop. Pylon's model picker, composer and queue paths never had upstream's "finish setup" alerts, so those hunks had nothing to change. docs/user/providers-antigravity.md now points setup to web or desktop. Pylon has no Antigravity section in remote-access.md.keychain-access-groups uses $(AppIdentifierPrefix)${iosBundleIdentifier}: the bundle ID the build actually signs with, including a T3CODE_IOS_PERSONAL_TEAM_BUNDLE_ID override. Upstream uses the variant bundle ID, which is wrong for personal-team and custom-bundle builds. Xcode resolves the team at signing time, so no T3 team or bundle ID is pinned. The group is the app's own bundle-scoped group, not an App ID service, so no Apple Developer portal change is expected. That is unverified on a signed device build here.adaptive-* palette, so attention, delegation and compaction states look the same. ComposerSurface keeps Pylon's explicit shadow style and drops it for the Material You layout, matching upstream's intent. Pylon's thread rows keep their existing hooks and props, including plan progress and pins. Docs went to docs/user/mobile-appearance.md, since Pylon has no docs/user/appearance.md. The generated Uniwind theme files match their generator (generate --check).PYLON_EAS_PROJECT_ID gate. T3CODE_MOBILE_UPDATES_ENABLED=0 now also turns updates off.pylon-code. Settings copy says Pylon and Pylon Connect.Schema.TaggedErrorClass, because Pylon is still on Effect 4.0.0-beta.103.docs/operations/connect-setup.md. Its Android Clerk redirect table went into docs/internals/t3-connect.md with com.pylon.code* callbacks.docs/operations/android-notifications.md was rewritten for Pylon: package IDs, Neon stages, -- --stage deploy syntax, and the opt-in relay workflow. docs/user/mobile-notifications.md is in Pylon voice and does not promise Android delivery in builds without push support. The ops doc documents the relay rollback hazard. Both are linked from docs/README.md.deploy-relay.yml keeps Pylon's workflow name, environment and targets. The only new line passes FCM_SERVICE_ACCOUNT.com.t3tools.t3code* bundle IDs. They are test data only, and the existing Pylon relay tests use the same values.notification_icon, generated from Pylon's android-notification-icon.png.app.config.ts publishes extra.androidPushConfigured (true only when T3CODE_ANDROID_GOOGLE_SERVICES_FILE is set). Android push support requires it.remoteRegistration now records whether the accepted registration carried a push token (getAgentAwarenessPushDeliveryReady). Device Notifications on both platforms, and Ongoing Agent Activity on Android, read On only then. The enable alerts say when a device registered without a token. iOS Live Activity Updates keep their registration gate, since they use push-to-start tokens.remoteRegistration.test.ts, httpResponse.cookies with Hermes-style headers, was removed. It checks the Effect patch from #10851, which the parallel mobile-drafts lane is porting with its own test. The rest of that test (typed failure, no defect, no saved record) passes here.Pylon fixed Android launcher clipping independently (eef9d3531c, 2c99cfc0a4). Its exporter renders the Pylon mark at 352px on a 432px canvas, throws if the mark crosses the 132px safe circle, and uses the same layer for monochrome. Channel background colours are solid (#00639B, #7565C7, #000000). Upstream #10598 fixes the same crop differently. It adds a new export-android-icons.ts that renders T3's Icon Composer layers: a wordmark foreground plus full-bleed dev (blueprint grid and annotations) and nightly (sky and clouds) background images. The quick-actions shortcut gets the same background. Pylon's shortcut already uses the launcher's foreground and colour, and its notification icon already comes from Pylon's mark. Adopting the artwork layers would be a branding change, and it would bring back the dark preview tile that Pylon replaced with #7565C7 on purpose. Nothing was ported.
#10620 fixed a splash crop that Pylon's artwork does not have. With imageWidth: 220, the 1024px icon is drawn at 880px on the 1152px Android 12+ splash canvas, and the circular mask has a 384px radius. Measured with sharp, Pylon's mark reaches 367.9px from the centre in the 1024px source, which is 316px on the splash, inside the mask. The rounded-square background covers the whole circle. Upstream's version draws the splash from its launcher layers. For Pylon that would mean the mark on a solid colour, which only makes sense if the launcher artwork decision above changes. These are geometry measurements, not an emulator render.
DEPLOY_RELAY is true, so merging to pylon deploys the relay. That applies the additive migration 20260906042516_android_devices (adds nullable android_api_level, makes ios_major_version nullable) to Neon prod, creates the Cloudflare queues RelayFcmDeliveryQueue and RelayFcmDeliveryDeadLetterQueue, and serves /v2/client/devices next to the frozen /v1. Only web and desktop list devices (the Mobile clients page), and builds from this branch call /v2. Mobile never lists devices. The relay deploys on merge, before those clients ship.BadDeviceToken handling clears them. Fix forward, or delete platform = 'android' rows from relay_mobile_devices first. This is documented in docs/operations/android-notifications.md.production environment secret FCM_SERVICE_ACCOUNT. This is the Firebase service-account JSON. It is optional: without it, deploys succeed and Android deliveries log "not configured" and are skipped. APNS_ENABLED defaults to true and needs no change.com.pylon.code, com.pylon.code.preview and com.pylon.code.dev, enable the FCM API, and create a service-account key. Never commit google-services.json.T3CODE_ANDROID_GOOGLE_SERVICES_FILE per build environment. It must be available to fingerprint generation as well as the build.clerk://com.pylon.code[.preview|.dev].callback in the mobile SSO redirect allowlist.t3-agent-notifications module, minSdkVersion: 24, googleServicesFile, and expo-notifications built from source. New iOS and Android binaries are required; OTA cannot deliver this to existing installs.vp test run, mobile, 98 tests in 9 files: Material You theme, storage, mobile theme, review diff adapter, Android notifications, notification permissions, remote registration, settings logic, thread settings sheet state. These include the unprovisioned Android build (switches off, no token lookup, no channels, registration without a token) and an iOS token-lookup failure (registered but not delivery-ready).MobileClientsUserProfilePage.logic.relay.managedRelay.@t3tools/mobile, t3code-relay, @t3tools/web, @t3tools/contracts, @t3tools/client-runtime.vp lint and vp fmt --check on every changed TS/TSX/MD/YML file.vp run icons:check: 40 files current. Uniwind theme generate --check: current.git grep PRIME_AGENT_DRIVER_KIND: 3 usages, same as origin/pylon.vp run lint:mobile ran, but ktlint, detekt and swiftlint are not installed here (no Java runtime), so it skipped all three. The Mobile Native Static Analysis CI job covers the new Kotlin. Its first run caught one test assertion pushed past 100 columns by the Pylon scheme; that is fixed in b147efcbc1 and the job passes.Ported by Claude Opus 5 in Claude Code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
(cherry picked from commit 9eb4d71681dc7d002082db2f8b4bacf7614412f4)
SecureStore keeps connection credentials in the iOS Keychain. Declare the bundle-scoped access group explicitly so pairing does not fail with a missing entitlement. The group uses $(AppIdentifierPrefix), which Xcode resolves from the signing team, so Pylon still pins no Apple team or T3 identifier. Adopted from 02443335b155e46248f96d80e037603abc742a61 (#3665)
Co-authored-by: Pixel Perfect <[email protected]> (cherry picked from commit 579266caa89238611ddb974ffebe9968c6a6e5d5)
Co-authored-by: Pixel Perfect <[email protected]> (cherry picked from commit 4664c572a78231611491f63f677f0e007ebaab03)
…0859) (cherry picked from commit 1862686f9e42bf1d77e7f2ad03e24d7b0c7908f1)
…10416) Co-authored-by: Julius Marminge <[email protected]> (cherry picked from commit 6c583620ff7ad3235b135af7107c0543467eecfa)
The Pylon scheme made one deep-link assertion exceed ktlint's 100-column limit.
…them Android builds without Firebase config and devices whose APNs or FCM token lookup failed still registered with the relay, so Settings showed Device Notifications and Ongoing Agent Activity as on while nothing could arrive. The app now publishes whether Android push is configured, keeps both switches off with an honest subtitle when it is not, and reads a switch as on only once the relay accepts a registration that carries a push token. Also signs the Keychain access group with the bundle ID the build actually uses, makes the Mobile clients page and sign-in prompt name Android's ongoing activity, documents the relay rollback hazard, and links the new notification docs from the index.
ddb1f2f to
0b1bdf0
Compare
There was an error while loading. Please reload this page.
0b1bdf0e
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.