feat(voice): add reusable geometry actions

- turn named places and mapped landmarks into reusable bounded areas
- count loaded records inside resolved, drawn and annotated geometry
- find recent imagery for an area, the view or the pointer snapshot
- keep osm place search behind an operator-configured overpass endpoint
- preserve cancellation, ownership and follow-up memory across every action
- cover geometry, provider lifecycle, cache isolation and voice routing
This commit is contained in:
manjunath22466 committed 2026-10-03 10:23:38 +05:30
1 parent 01979bba1e
commit b234d7b427
84 files changed
+14262 -1681

No files matched your search

+3 -2
View File
@@ -185,9 +185,10 @@ export function reduceVoiceCard(state, event) {
event,
(step) => step.status === 'running',
() => ({
// A question back ("which Punjab?") is an answer, not a failure.
status: result.cancelled
? 'cancelled'
: result.ok
: result.ok || result.needsClarification
? 'done'
: 'failed',
detail: result.outlinePending ? 'Tracing outline' : '',
@@ -197,7 +198,7 @@ export function reduceVoiceCard(state, event) {
// A result for a call this turn never showed is stale.
if (next === state) return state;
// One adapter decides what a result shows; a silent lookup or a
// refusal informs the model and leaves the card.
// refusal without a question informs the model and leaves the card.
const shown = presentResult(event.name, result);
if (!shown) return reveal(next);
return reveal({