episoda 0.2.69 → 0.2.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2375,7 +2375,12 @@ var require_websocket_client = __commonJS({
2375
2375
  const handlers = this.eventHandlers.get(message.type) || [];
2376
2376
  handlers.forEach((handler) => {
2377
2377
  try {
2378
- handler(message);
2378
+ const result = handler(message);
2379
+ if (result && typeof result === "object" && "catch" in result && typeof result.catch === "function") {
2380
+ result.catch((error) => {
2381
+ console.error(`[EpisodaClient] Async handler error for ${message.type}:`, error);
2382
+ });
2383
+ }
2379
2384
  } catch (error) {
2380
2385
  console.error(`[EpisodaClient] Handler error for ${message.type}:`, error);
2381
2386
  }
@@ -2736,7 +2741,7 @@ var require_package = __commonJS({
2736
2741
  "package.json"(exports2, module2) {
2737
2742
  module2.exports = {
2738
2743
  name: "episoda",
2739
- version: "0.2.69",
2744
+ version: "0.2.70",
2740
2745
  description: "CLI tool for Episoda local development workflow orchestration",
2741
2746
  main: "dist/index.js",
2742
2747
  types: "dist/index.d.ts",