@hyperdreamer/pi-webui 1.18.8 → 1.18.9

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.
@@ -64,10 +64,8 @@ class PiWebUiTasksPanel extends BaseElement {
64
64
  const previousKey = contextKey(this.contextValue);
65
65
  const nextKey = contextKey(value);
66
66
  this.contextValue = value;
67
- if (previousKey === nextKey) {
68
- this.render();
67
+ if (previousKey === nextKey && nextKey !== undefined)
69
68
  return;
70
- }
71
69
  this.selectionGeneration += 1;
72
70
  this.terminalGeneration += 1;
73
71
  this.operation = undefined;
@@ -85,6 +83,8 @@ class PiWebUiTasksPanel extends BaseElement {
85
83
  this.render();
86
84
  }
87
85
  set workspaceTasksState(value) {
86
+ if (value === this.stateValue)
87
+ return;
88
88
  const previous = this.stateValue;
89
89
  this.stateValue = value;
90
90
  this.recordPendingSourceObservations(value);
@@ -114,6 +114,8 @@ class PiWebUiTasksPanel extends BaseElement {
114
114
  return this.stateValue;
115
115
  }
116
116
  set workspaceTasksActions(value) {
117
+ if (value === this.actionsValue)
118
+ return;
117
119
  this.actionsValue = value;
118
120
  this.render();
119
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdreamer/pi-webui",
3
- "version": "1.18.8",
3
+ "version": "1.18.9",
4
4
  "description": "Web UI for persistent Pi Coding Agent sessions in real workspaces.",
5
5
  "license": "MIT",
6
6
  "author": "Federico Jaramillo Martinez and HyperDreamer",