visual-remote 0.1.2 → 0.2.0

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.
@@ -0,0 +1,11 @@
1
+ import type { Plugin } from "vite";
2
+
3
+ export interface VisualRemoteViteOptions {
4
+ cwd?: string;
5
+ bridgeHost?: string;
6
+ bridgePort?: number;
7
+ }
8
+
9
+ export declare function visualRemote(options?: VisualRemoteViteOptions): Plugin;
10
+
11
+ export default visualRemote;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visual-remote",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Visual bridge from a running web UI to Codex in its Git worktree",
5
5
  "type": "module",
6
6
  "repository": {
@@ -13,11 +13,20 @@
13
13
  },
14
14
  "files": [
15
15
  "apps/cli/dist/index.js",
16
+ "apps/cli/dist/vite.js",
17
+ "apps/cli/vite.d.ts",
16
18
  "packages/overlay/dist/client.js",
17
19
  "packages/overlay/dist/viewer.js"
18
20
  ],
19
21
  "bin": {
20
- "visual": "./apps/cli/dist/index.js"
22
+ "visual": "./apps/cli/dist/index.js",
23
+ "visual-remote": "./apps/cli/dist/index.js"
24
+ },
25
+ "exports": {
26
+ "./vite": {
27
+ "types": "./apps/cli/vite.d.ts",
28
+ "import": "./apps/cli/dist/vite.js"
29
+ }
21
30
  },
22
31
  "publishConfig": {
23
32
  "access": "public",
@@ -33,6 +42,14 @@
33
42
  "yaml": "^2.9.0",
34
43
  "zod": "^4.4.3"
35
44
  },
45
+ "peerDependencies": {
46
+ "vite": ">=5"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "vite": {
50
+ "optional": true
51
+ }
52
+ },
36
53
  "devDependencies": {
37
54
  "@playwright/test": "^1.62.1",
38
55
  "@types/http-proxy": "^1.17.17",
@@ -41,12 +58,13 @@
41
58
  "esbuild": "^0.28.1",
42
59
  "tsx": "^4.23.1",
43
60
  "typescript": "^7.0.2",
61
+ "vite": "^8.1.5",
44
62
  "vitest": "^4.1.10",
45
63
  "@visual-remote/bridge-core": "0.1.0",
64
+ "@visual-remote/gateway": "0.1.0",
46
65
  "@visual-remote/protocol": "0.1.0",
47
- "@visual-remote/overlay": "0.1.0",
48
66
  "@visual-remote/cli": "0.1.0",
49
- "@visual-remote/gateway": "0.1.0"
67
+ "@visual-remote/overlay": "0.1.0"
50
68
  },
51
69
  "scripts": {
52
70
  "build": "corepack pnpm run build:overlay && corepack pnpm run build:server",