Commit Graph
318 Commits
Author SHA1 Message Date
Blendman974 8be15d890c fix: hide switcher move action for temporary windows 2026-11-06 06:33:47 +01:00
Blendman974 428142aef7 Merge open app switcher ordering
# Conflicts:
#	app/ui/shell/shell.ts
#	docs/validation-launcher-layout.md
2026-11-06 06:32:58 +01:00
Blendman974 c22f2e5f13 feat: reorder open app windows from the system menu 2026-11-06 06:31:29 +01:00
Blendman974 53391a310e Merge default close-app selection 2026-11-06 06:05:32 +01:00
Blendman974 cfda10d47f fix: select close current app by default in system menu 2026-11-06 06:05:31 +01:00
Blendman974 46cc5c5e5b test: validate launcher alongside all feature branches 2026-11-06 06:02:17 +01:00
Blendman974 c9151710dc Merge launcher folders and custom layout 2026-11-06 06:00:42 +01:00
Blendman974 dded80a850 feat: manage launcher folders and custom icon positions 2026-11-06 06:00:25 +01:00
Blendman974 5ae06c1818 Merge configurable menu gestures
# Conflicts:
#	app/ui/shell/shell.ts
#	tests/ai-chat.test.cjs
#	tests/brightness-picker.test.cjs
2026-11-06 04:46:29 +01:00
Blendman974 bac1c8a239 feat: allow swapping app and system menu hold gestures 2026-11-06 04:44:39 +01:00
Blendman974 cb4635d959 Merge multilingual Whisper transcription
# Conflicts:
#	app/g2/dashboard-controller.ts
2026-11-06 04:31:25 +01:00
Blendman974 3f392712ec Merge app system menu controls 2026-11-06 04:30:15 +01:00
Blendman974 ec6fc8d40e Merge head-up wake controls 2026-11-06 04:30:15 +01:00
Blendman974 675c051461 Merge shared calendar selection 2026-11-06 04:30:15 +01:00
Blendman974 f060deaf6f Merge notification preferences and bulk actions 2026-11-06 04:30:15 +01:00
Blendman974 5929259d84 feat: configure and synchronize head-up wake and angle 2026-11-06 04:30:07 +01:00
Blendman974 55bd5f891c feat: add application close, full-screen and keep-awake controls 2026-11-06 04:26:16 +01:00
Blendman974 0b9e4cb367 feat: select languages for cloud and local Whisper transcription 2026-11-06 04:22:48 +01:00
Blendman974 1959e57d02 feat: configure notification filtering and dismiss all notifications 2026-11-06 04:21:43 +01:00
Blendman974 9e6bb8473a feat: share calendar selection across Android readers 2026-11-06 04:21:43 +01:00
Blendman974 75bceb3b92 fix: support Android 16 KiB pages in native llama library 2026-11-06 04:21:43 +01:00
James Babcock f803f4212c Brightness control 2026-11-05 11:18:17 -08:00
James Babcock 739e81c8a6 Merge branch 'main' into rayneo-io-support 2026-11-04 03:11:15 -08:00
James Babcock 6df52021c8 Apple Watch: Sound-effects and vibrate settings, build scripts 2026-11-04 03:04:43 -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
James Babcock 27756913d0 Show G2 charging case on Settings tab and charging view rather than main activity 2026-11-02 00:30:21 -08:00
Om Alve bdf4fc2f1d Correct how the app ends up with no Activity
The previous commit's comment and test said Android starts the app in the
background (a home-widget update, a notification-listener rebind) with
the glasses session running. A background start alone doesn't connect
the glasses; only the main page does. The state that breaks voice is
the Activity being destroyed afterwards: swiping the app away in Recents
destroys it while the foreground service keeps the process and session
running, and NativeScript then clears both foregroundActivity and
startActivity. On Android 12+ Back on the main page only moves the task
to the back, so the Activity survives it. Comment and test wording only.
2026-11-02 13:28:21 +05:30
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
James Babcock dff8608a63 Fix size of the notification modal after switching glasses-model mid-session 2026-11-01 23:43:32 -08:00
Om Alve 5e729d1236 Case battery: read the glasses battery soon after they dock
Only the settings reply says the glasses are charging. Outside charging
mode it is polled every five minutes, and not at all while the display
is suspended, which it is once the glasses come off the face. So after
docking, the phone kept showing the glasses as "Not charging", and
charging mode (which pauses display traffic) didn't start until the
display woke or the link reconnected.

The case push that reports the glasses going from out of the case to
docked arrives within a second. It now schedules a battery read about
three seconds later. The drive loop queues it as a pending message,
which still goes out while the display is suspended.
2026-11-02 12:30:39 +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 fde847a31a Add support for using RayNeo iO together with an R1 ring 2026-11-01 19:37:55 -08:00
James Babcock dee60bbcd2 Adapt layouts for Rayneo screen resolution 2026-11-01 19:02:05 -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 210b111e27 Unify Android and iOS config formats 2026-10-31 15:43:55 -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