fix(assistant): camera listens on the canvas container, plugin facts regenerated

- the assistant's GL camera reads the user's own moves from the map's canvas
  container, which both engines have and which leaves marker clicks out, so
  the GL map test needs no extra mock and stays at its size
- plugin-sdk host facts list the ai_assistant addon
This commit is contained in:
Maurice
2026-10-21 21:50:49 +02:00
parent 3c3a228737
commit 7e563e1170
4 changed files with 5 additions and 5 deletions
@@ -31,7 +31,7 @@ function camera(key: string, over: Partial<AssistantCamera> = {}): AssistantCame
function setup(first: AssistantCamera | null, inside = false) {
const container = document.createElement('div');
const map = {
getContainer: () => container,
getCanvasContainer: () => container,
getBounds: () => ({ contains: () => inside }),
fitBounds: vi.fn(),
easeTo: vi.fn(),