vscode-pi-companion 0.2.1 → 0.2.2

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.
package/.vscodeignore CHANGED
@@ -12,3 +12,4 @@ tsconfig.json
12
12
  .envrc
13
13
  hooks/
14
14
  scripts/
15
+ test/
@@ -222,6 +222,8 @@ async function connectSSE(): Promise<void> {
222
222
  }
223
223
 
224
224
  function scheduleReconnect(): void {
225
+ isConnected = false;
226
+ updateWidget();
225
227
  if (reconnectTimer || !currentCtx) return;
226
228
  reconnectTimer = setTimeout(() => {
227
229
  reconnectTimer = undefined;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "PI Companion",
4
4
  "description": "Share VS Code context with pi coding agent",
5
5
  "repository": "https://github.com/ravshansbox/vscode-pi-companion",
6
- "version": "0.2.1",
6
+ "version": "0.2.2",
7
7
  "publisher": "ravshansbox",
8
8
  "keywords": [
9
9
  "pi-package"
@@ -20,7 +20,8 @@
20
20
  "compile": "tsc -p ./",
21
21
  "watch": "tsc -watch -p ./",
22
22
  "package": "vsce package",
23
- "vscode:prepublish": "npm run compile"
23
+ "vscode:prepublish": "npm run compile",
24
+ "test": "node --import ./test/setup.mjs --test test/*.test.mjs"
24
25
  },
25
26
  "devDependencies": {
26
27
  "@types/cors": "^2.8.19",