8b53b58252
run() is invoked with trigger: "action" after onAction processes a typed action, but the type previously omitted it. Adding it lets users cleanly short-circuit the LLM call for actions that don't need a response (e.g. user-initiated compaction): if (trigger === "action") return;