@aliou/pi-processes 0.4.2 → 0.4.3

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.
Files changed (2) hide show
  1. package/hooks/widget.ts +2 -1
  2. package/package.json +2 -2
package/hooks/widget.ts CHANGED
@@ -126,8 +126,9 @@ export function setupProcessWidget(pi: ExtensionAPI, manager: ProcessManager) {
126
126
  }
127
127
 
128
128
  pi.on("session_start", async (_event, ctx) => {
129
+ // Startup defer: capture context only. First render happens on process
130
+ // manager events or explicit settings updates.
129
131
  latestContext = ctx;
130
- updateWidget();
131
132
  });
132
133
 
133
134
  pi.on("session_switch", async (_event, ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-processes",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@sinclair/typebox": "^0.34.41",
37
- "@aliou/pi-utils-settings": "0.3.0",
37
+ "@aliou/pi-utils-settings": "0.4.0",
38
38
  "@aliou/pi-utils-ui": "^0.1.0"
39
39
  },
40
40
  "peerDependencies": {