refactor(cmd): use connector pattern for edit and note commands
Commands now return structured output with mimeType instead of directly
publishing editor events. Panel layer handles routing based on mimeType:
- 'item' mimeType: auto-opens editor for existing items
- 'new-item' mimeType: opens empty editor for new items
This makes commands composable and testable by separating the command
logic from UI routing concerns.