Siri: favourite price + favourite directions (top favourite per fuel); trim to 10 AppShortcuts (Apple cap)
This commit is contained in:
+13
-6
@@ -11,15 +11,16 @@ Status: TODO / IN PROGRESS / DONE / BLOCKED.
|
||||
|
||||
## P1 — Soon
|
||||
|
||||
- [ ] **Siri: "Cheapest [fuel] near me"** — `AppShortcutsProvider` + `CheapestFuelIntent`
|
||||
- [x] **Siri: "Cheapest [fuel] near me"** — `AppShortcutsProvider` + `CheapestFuelIntent`
|
||||
(App Intents, iOS 16+), dialog + price-card snippet, cached full-UK dump first
|
||||
with freshness label ("as of 6am"), last-known-location fallback. Constraint:
|
||||
fresh-data path needs a reachable source off-LAN — cached answers work anywhere
|
||||
the app has previously fetched (see P3 data mirror). Interim: the relay on
|
||||
Tailscale (100.120.217.98:8789) is reachable off-LAN for testing; relay will
|
||||
move to a permanent box or the GitHub mirror long-term. *IN PROGRESS — MVP
|
||||
intent shipped (dialog + snippet + freshness label), closest phrase still
|
||||
pending.*
|
||||
move to a permanent box or the GitHub mirror long-term. *DONE — radius-scoped
|
||||
lookup `037c241` (real-data regression: GULF HISTON 100.9p 132 mi away),
|
||||
per-fuel literal-word shortcuts `e55078c`, names = app words `a3b6f37`, plus
|
||||
Directions-to-cheapest `caadf18` + spoken hand-off `aed99e3`.*
|
||||
- [ ] **Siri: "Closest [fuel] station"** — same plumbing as cheapest, sort by
|
||||
distance instead of price. Free second phrase in the same `AppShortcutsProvider`.
|
||||
|
||||
@@ -28,8 +29,14 @@ Status: TODO / IN PROGRESS / DONE / BLOCKED.
|
||||
- [ ] **Shortcuts: station price lookup** — `StationEntity` + `EntityQuery` so
|
||||
Shortcuts/Siri pick a station by name; `ReturnsValue<Double>` enables user
|
||||
automations ("get cheapest diesel → notify").
|
||||
- [ ] **Siri: favourite station price** — "What's diesel at my favourite station?"
|
||||
(cheap once `StationEntity` exists).
|
||||
- [x] **Siri: favourite station price** — "How much is my favourite unleaded?"
|
||||
`FavouriteFuelPriceIntent`: TOP favourite per fuel (first in the manual
|
||||
Favourites order — `SiriCheapestLookup.topFavourite`, refresh-vs-dump with
|
||||
offline cached-snapshot fallback); no location required (distance shown only
|
||||
when the saved fix exists). Also `DirectionsToFavouriteFuelIntent` (Maps
|
||||
hand-off, station announced first). 4+4 App Shortcuts (generic + per-fuel).
|
||||
*DONE — favourites already carried station snapshots, so no `StationEntity`
|
||||
dependency.*
|
||||
- [ ] **Siri: on-screen awareness (View Annotations + StationEntity)** — iOS
|
||||
26/27 Siri prefers the visible screen over the App Shortcut when the app is
|
||||
frontmost; without view annotations it answers from the rendered screen
|
||||
|
||||
Reference in New Issue
Block a user