Failed plugin commands now flush their analytics before exiting instead of dropping the event.
What's wrong with this entry?
The shared failure handler for claude plugin subcommands now waits for analytics to flush before exiting with code 1. Previously the process exited immediately and the tengu_plugin_command_failed event, along with a refused install source event, could be dropped.
- The flush races pending tasks against 200 ms, then first-party event logging, Datadog and error tracking against 500 ms.
- The install and uninstall paths now await the handler instead of calling it and moving on.
tengu_plugin_command_failed, flushAnalyticsSinks: () => TIe
Strings lifted out of the shipped bundle, so the claim above can be checked against them.