From 9e24ee5f94a211cc76fad37c00ab0e60d340c3fc Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 2 Dec 2026 16:04:53 +0100 Subject: clock: tap date for Niagara agenda, event for Etar event view KWGT's LAUNCH_APP forces MAIN/LAUNCHER, so deep links need OPEN_LINK. The date line (date, weather, temperature) now opens niagara://agenda instead of Etar's main view; previously weather fell through to the clock app. The event line opens the shown event via ci(url, 0). Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index b693c00..f1e03bd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -49,6 +49,12 @@ phone besides KWGT. - Tap actions: `internal_events` with `LAUNCH_APP` and an `intent:` URI. The clock app on this phone is `com.android.deskclock/.DeskClock` (not the Google package), the calendar is Etar (`ws.xsoh.etar`). +- `LAUNCH_APP` always sends `action=MAIN`, `category=LAUNCHER`, so it cannot + fire deep links. For a URI use `{"action": "OPEN_LINK", "url": "..."}` + (VIEW intent); `url` accepts inline `$formulas$`. +- Date line taps open Niagara's agenda overlay: `niagara://agenda` (Niagara + has no weather overlay link). The event line opens the event itself in Etar + via `$ci(url, 0)$` (a `content://com.android.calendar/events/` link). - `tf(date)` gives a localized countdown ("fra 25 minuti"); `ci(..., 0)` is the next calendar event; both need KWGT's calendar/location permissions. -- cgit v1.2.3