272 Commits
Author SHA1 Message Date
James Babcock c162c8e633 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-11-12 12:20:29 -08:00
James Babcock cd61fefb21 Phone UI: Settings are a page instead of a tab, watch vs ring style input is a setting rather than a tab, EvenHub webview is a button with the main buttons rather than in the top bar 2026-11-12 12:16:33 -08:00
James Babcock 30de2c4dd7 Move recording setting from Developer menu to Transcribe app; add prominent indicator 2026-11-11 15:55:52 -08:00
James Babcock 479308f4a6 Firmware uninstall/revert-to-stock for G1s 2026-11-08 00:11:13 -08:00
James Babcock ac68ba5991 Onboarding fixes: Stuck state on the Permissions page, some dark-on-dark text in dark mode 2026-11-07 22:54:48 -08:00
James Babcock 10a9c85f27 EvenHub compativility fixes: Z-order changes, different text color distribution, text containers scroll 2026-11-07 22:28:49 -08:00
James Babcock b353483ac2 G1 support: Preserve connections after flashing, debug 2026-11-07 04:16:15 -08:00
James Babcock 6e4515afa5 Add ANCS support to G1 2026-11-06 21:47:23 -08:00
James Babcock 38c52ebc31 G1 support: Flashing within the Android app 2026-11-06 12:55:24 -08:00
James Babcock 67aff19923 Faceclaw support for G1s
Relies on the glasses having the firmware from
https://github.com/jimrandomh/scouter_kit, based on Mafik's Scouter Kit.
2026-11-06 00:12:23 -08:00
James Babcock 739e81c8a6 Merge branch 'main' into rayneo-io-support 2026-11-04 03:11:15 -08:00
James Babcock 2696f3b76c Add an Apple Watch app that can control the glasses 2026-11-04 02:20:26 -08:00
James Babcock b2b6c5c8d8 Merge branch 'main' into rayneo-io-support 2026-11-03 14:06:19 -08:00
James Babcock c896ce9ac8 Merge branch 'case-battery-ui' 2026-11-02 00:31:41 -08:00
Om Alve 9fac7a29ba Voice: don't need an Activity to check already-granted permissions
ensurePermissions looked up the Activity before checking whether any
permission was missing, and getActivity() throws when there is none.
Android starts the app in the background with no Activity (a home-widget
update, a notification-listener rebind), and the glasses session runs
from there until the app is opened. So in that state every "Hey Even"
failed in ensureVoicePermissions even though the mic permission was
granted, and the voice dialog kept showing the idle "Voice control
stopped.". The same throw hit ensureBlePermissions.

The Activity is now only looked up when a permission actually has to be
requested. A capture that fails to start for any reason other than a
denied permission now says so in the dialog instead of leaving the idle
status up.
2026-11-02 13:17:16 +05:30
Om Alve 046454e8c0 Merge remote-tracking branch 'origin/main' into g2-case-battery
# Conflicts:
#	native/kotlin/shared/src/commonMain/kotlin/com/faceclaw/app/g2protocol/session/GlassesSessionCore.kt
2026-11-02 12:02:53 +05:30
Om Alve fa7f33bfe8 Case battery: stop showing stale charging; read after the layout
Review fixes for the charging-case battery:

- The case reports whether the glasses are docked. An empty caseInfo
  (the reply out of the case) now parses as "not docked, no level"
  instead of nothing, and undocking is reported even when the level and
  charge state are unchanged. TS keeps the last level but clears
  caseCharging while the glasses are out of the case.
- The phone line shows the charging mark only while it is live: G2 and
  Case only with a link to the glasses (connected or charging), and Case
  only while docked. Levels stay as the last known ones.
- The session-start case read waits until the layout is up, so a
  firmware that ignored it could no longer hold up the first frame. When
  the glasses are already charging at connect, the charging-mode read is
  the only one; the old duplicate read and its "late ACK" log are gone.
- Case dedup state resets on every connect, as wearState does, so each
  session's read reaches TS.
- caseCharging uses > 0 like the headset, and is normalized to 0/1.
- iOS now feeds the reading into the shell battery state, and the
  assistant's describeState includes the case level.
- The batteryLine accessors move above connectionStatusLabel's doc
  comment.
2026-11-02 12:01:12 +05:30
James Babcock 9ddd4c4d03 Add microphone support on RayNeo iO 2026-11-01 21:08:25 -08:00
James Babcock 4d101eefe1 Partial support for Rayneo iO 2026-11-01 17:19:55 -08:00
James Babcock 7289496c09 R1 ring: Debug health-data sync 2026-11-01 12:19:46 -08:00
James Babcock fcea0b369a Merge branch 'main' of https://github.com/jimrandomh/faceclaw into ring-health-fixes 2026-11-01 11:00:38 -08:00
Om Alve acfcf79787 Read the charging case battery (sid 0x81 GlassesCaseInfo)
The glasses relay the charging case's state on UX_GLASSES_CASE_APP_ID
(sid 0x81): GlassesCaseDataPackage{commandId=CASE_INFO, magicRandom,
caseInfo{soc, chargeStatus, lidStatus, inCaseStatus, errorCode}}, the
schema in g2-kit-unofficial's glasses_case.proto. The Even app reads it
with an empty caseInfo (ProtoBaseSettings.getGlassesCaseInfo).

Observed on G2 2.3.0.24 / Faceclaw/38: while docked the right temple
pushes a GlassesCaseInfo (flag 0x01, its own magic) on every change --
docking, lid, USB, each 1% -- and answers a read with full data; out of
the case a read comes back with an empty caseInfo. Docking pushes
{inCaseStatus=1} before the level, and proto3 drops zero fields, so a
missing soc means no level rather than 0%.

So read it once at session start (docked glasses may be fully charged
and never enter charging mode) and again on entering charging mode,
which clears the queue; pushes carry every later change. Every 0x81
frame is taken as state in onNotification (pushes skip the ack path by
flag). New readings reach TypeScript through
FaceclawBleCommunicatorListener.onCaseState (level, case-charging), on
Android and iOS. Captured frames are tests.
2026-11-01 20:38:32 +05:30
James Babcock 41ff1d2733 Fix reasoning_details accumulation; filter assistant settings to settings relevant to the selected model 2026-11-01 02:20:37 -08:00
James Babcock 7f3e3f2305 Merge branch 'pr-57' 2026-11-01 00:29:16 -07:00
James Babcock 4973fd2aea Support Apple Intelligence as an on-device AI model for the voice assistant/etc 2026-10-31 17:48:45 -07:00
James Babcock 3c3aa31542 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-10-31 17:05:00 -07:00
James Babcock 6e5864f981 Use iOS SpeechAnalyzer API to support on-device transcription with the Transcribe app 2026-10-31 17:03:56 -07:00
James Babcock 49ea8a7d74 Use Spotify API if an API key is provided 2026-10-31 17:03:09 -07:00
James Babcock 35a4ae7064 Add a notification-icons database (from Pebble) for iOS 2026-10-31 14:47:02 -07:00
James Babcock f47d82b871 Port the Developer app's resource monitor to iOS 2026-10-31 14:45:43 -07:00
James Babcock c5f80a0b00 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-10-31 14:04:41 -07:00
reidellawfirm 9a8c681d67 Add Venice assistant web search option 2026-10-31 16:01:25 -05:00
reidellawfirm cc8dc544be Add compatible assistant model discovery 2026-10-31 16:01:25 -05:00
reidellawfirm 77e8a86196 Add OpenAI-compatible assistant provider 2026-10-31 16:01:25 -05:00
James Babcock a5eda29368 Port developer debug tests to iOS 2026-10-31 13:57:18 -07:00
James Babcock 032797f0f6 Add support for embedded icons and custom layouts in Android notifications
The practical upshot of this is that gmail, messages and similar apps
show the sender's profile picture on the glasses, the Dexcom app shows a
2026-10-31 12:39:20 -07:00
James Babcock 71bccd2c1c Ensure connection is re-set to 2M on reconnect 2026-10-27 13:05:13 -07:00
James Babcock 8e50c004a6 Make BLE benchmark work on iOS 2026-10-26 11:12:55 -07:00
James Babcock 53812609ed Fix EvenHub apps on iOS access to the mic 2026-10-25 14:19:45 -07:00
James Babcock 247459bf99 Fix an issue that could cause corrupted installs of EvenHub apps, and redirect corrupted installs into the update/reinstall 2026-10-25 14:05:36 -07:00
James Babcock 48e0bc867b Merge branch 'ios-spotify' 2026-10-25 13:26:08 -07:00
James Babcock 0b7d93a3f1 Translate app: sound level meter; translate unfinished segments 2026-10-25 13:12:25 -07:00
James Babcock 4f8c082b52 Merge branch 'main' into ring-health-fixes 2026-10-25 01:06:38 -07:00
James Babcock bf2addd287 Notification listener rebinding 2026-10-25 01:01:54 -07:00
James Babcock c84d301c78 Add Translate app 2026-10-24 16:16:26 -07:00
James Babcock c9cf29e5c0 Add an iOS Spotify integration 2026-10-24 00:18:04 -07:00
James Babcock e36fb14a34 Add an Apple Music integration on iOS 2026-10-23 23:05:49 -07:00
James Babcock 40082b3f5b Show images attached to Android notifications 2026-10-23 22:26:36 -07:00
James Babcock 2c819c8d0e Use open-meteo for weather data outside the US
Fixes #50
2026-10-23 14:11:40 -07:00
James Babcock de653f0fbb Hermes integration survives restarts, fix error hadling, increase turn length limit 2026-10-17 13:52:43 -07:00