mirror of
https://github.com/epiral/bb-browser.git
synced 2026-09-14 13:45:45 +08:00
057ab7872c
Single source of truth for all command metadata: - ParamDef with type, required, position, description - CommandDef with method, group, description, requiresTab, params - commandToJsonSchema() for Hub registration - getCommand() / getCommandsByGroup() helpers Hub registration now uses COMMANDS directly instead of hardcoded arrays. Removed zod dependency from shared package. CLI and daemon dispatch unchanged — they can consume COMMANDS in a future refactor.