getobsrv 0.3.1 → 0.4.1

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "getobsrv",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "See your site the way 1x screens see it",
5
5
  "main": "./out/main/index.js",
6
6
  "bin": {
7
- "obsrv": "./bin/obsrv.js",
8
- "getobsrv": "./bin/obsrv.js",
9
- "obsrv-mcp": "./bin/obsrv-mcp.js"
7
+ "obsrv": "bin/obsrv.js",
8
+ "getobsrv": "bin/obsrv.js",
9
+ "obsrv-mcp": "bin/obsrv-mcp.js"
10
10
  },
11
11
  "author": "Opeyemi Ajagbe <auto-report@hydrogenpay.com>",
12
12
  "homepage": "https://github.com/vibesyemmy/obsrv",
@@ -17,9 +17,11 @@
17
17
  "test": "vitest run --project unit",
18
18
  "test:browser": "vitest run --project browser",
19
19
  "test:e2e": "npm run build && playwright test",
20
- "dist": "npm run build && electron-builder --mac",
20
+ "dist": "npm run build && electron-builder --mac --publish never",
21
21
  "build:mcp": "tsc -p tsconfig.mcp.json",
22
- "prepublishOnly": "npm run build"
22
+ "prepublishOnly": "npm run build",
23
+ "prepack": "node scripts/electron-dep.js to-prod",
24
+ "postpack": "node scripts/electron-dep.js to-dev"
23
25
  },
24
26
  "dependencies": {
25
27
  "@fontsource/ibm-plex-mono": "^5.3.0",
@@ -48,7 +48,10 @@ $OBSRV diff http://localhost:5173 --preset laptop-768 --out-dir shots/diff
48
48
 
49
49
  If the obsrv MCP tools are connected (`obsrv_snap` / `obsrv_diff` /
50
50
  `obsrv_presets`), prefer them over shelling out — same pipeline, and the PNG
51
- comes back inline.
51
+ comes back inline. If the Obsrv desktop app is open with "Agent control" on
52
+ (toolbar toggle), snaps drive the visible window — the user watches — and
53
+ `obsrv_drive` flips its URL/preset/profile directly; no app means the usual
54
+ headless render.
52
55
 
53
56
  ## The loop that catches real regressions
54
57