@hao-gd/page-agent-ui 1.10.2 → 1.10.4

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.
@@ -5140,11 +5140,11 @@ var Panel = class Panel {
5140
5140
  }
5141
5141
  }
5142
5142
  /**
5143
- * Action button handler: stop when running, close (dispose) when idle
5143
+ * Action button handler: stop when running, hide when idle
5144
5144
  */
5145
5145
  #handleActionButton() {
5146
5146
  if (this.#agent.status === "running") this.#agent.stop();
5147
- else this.#agent.dispose();
5147
+ else this.hide();
5148
5148
  }
5149
5149
  /**
5150
5150
  * Submit task