// FloatingModule — Remixable floating UI elements (buttons, menus, panels) // Persisted in localStorage. Created/modified/removed via terminal commands. // Accessible to AI via normal run_command path. class FloatingModule { constructor() { this.commands = {}; this.commandsMeta = { 'floating-remove': { argType: 'enum', enumFn: '_listElementIds' }, 'floating-toggle': { argType: 'enum', enumFn: '_listElementIds' }, 'floating-pos': { argType: 'enum', enumFn: '_listElementIds' }, }; this.terminal = null; this._elements = {}; this._storageKey = 'webx11_floating_elements'; } requirements() { return { met: true, missing: [] }; } getHelpInfo() { return { 'floating-add': 'floating-add btn|menu|panel