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 4641788fc9
commit ef77b312fa
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(),