dsh-glass-plugin 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/README.md CHANGED
@@ -43,6 +43,10 @@ into a per-version cache — `%LOCALAPPDATA%\dsh-glass-plugin\runtime-<version>`
43
43
  Windows, `~/.cache/dsh-glass-plugin/runtime-<version>` elsewhere. Later launches
44
44
  reuse that cache, so the download happens once per version.
45
45
 
46
+ > `dsh-glass-plugin@0.2.0` on the registry is the earlier self-contained build
47
+ > (388 MB unpacked, runtime included). `0.2.1` and later are the light build
48
+ > described here; prefer them.
49
+
46
50
  ### From a checkout (development)
47
51
 
48
52
  The desktop profile can link the package instead of installing it:
package/lib/index.js CHANGED
@@ -229,7 +229,6 @@ function bundleMtimeOf(appDir) {
229
229
  export function apply(ctx, config = {}) {
230
230
  if (config.autoLaunch === false) return;
231
231
  let child;
232
- let launched = false;
233
232
  let attempts = 0;
234
233
  let timer;
235
234
  let watcher;
@@ -299,7 +298,6 @@ export function apply(ctx, config = {}) {
299
298
  child = spawned;
300
299
  spawned.on('exit', () => { if (child === spawned) child = undefined; });
301
300
  spawned.unref();
302
- launched = true;
303
301
  bundleStamp = bundleMtimeOf(target.appDir);
304
302
  stopClock();
305
303
  console.info('[dsh-glass-plugin] Glass desktop companion launched (authenticated link redacted)');
@@ -333,7 +331,6 @@ export function apply(ctx, config = {}) {
333
331
  console.info('[dsh-glass-plugin] desktop bundle changed; relaunching the Glass companion');
334
332
  killChild(child);
335
333
  child = undefined;
336
- launched = false;
337
334
  startClock();
338
335
  }, 1500);
339
336
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-glass-plugin",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Floating glass status bar for DeepSeek Harness: a frameless always-on-top window that shows session progress, pending approvals and questions.",
5
5
  "license": "MIT",
6
6
  "author": "wfz2006",