local-operator-ui 0.1.1 → 0.1.2-beta.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.
@@ -4,11 +4,14 @@
4
4
  <head>
5
5
  <meta charset="UTF-8" />
6
6
  <title>Local Operator</title>
7
+ <link rel="icon" href="./assets/favicon.ico" />
7
8
  <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
8
9
  <meta http-equiv="Content-Security-Policy"
9
10
  content="default-src 'self'; connect-src 'self' http://localhost:1111; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: http://localhost:1111; font-src 'self'" />
10
- <script type="module" crossorigin src="./assets/index-VQ62D3K7.js"></script>
11
- <link rel="stylesheet" crossorigin href="./assets/index-c_zC2NkJ.css">
11
+ <script type="module" crossorigin src="./assets/index-BZbB6xQT.js"></script>
12
+ <link rel="modulepreload" crossorigin href="./assets/theme-CpOz1dKx.js">
13
+ <link rel="stylesheet" crossorigin href="./assets/theme-B9KBGB-g.css">
14
+ <link rel="stylesheet" crossorigin href="./assets/index-BkBEAEYS.css">
12
15
  </head>
13
16
 
14
17
  <body>
@@ -0,0 +1,20 @@
1
+ <!doctype html>
2
+ <html>
3
+
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <title>Local Operator Setup</title>
7
+ <link rel="icon" href="./assets/favicon.ico" />
8
+ <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
9
+ <meta http-equiv="Content-Security-Policy"
10
+ content="default-src 'self'; connect-src 'self' http://localhost:1111; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: http://localhost:1111; font-src 'self'" />
11
+ <script type="module" crossorigin src="./assets/installer-BqeUmucy.js"></script>
12
+ <link rel="modulepreload" crossorigin href="./assets/theme-CpOz1dKx.js">
13
+ <link rel="stylesheet" crossorigin href="./assets/theme-B9KBGB-g.css">
14
+ </head>
15
+
16
+ <body>
17
+ <div id="app"></div>
18
+ </body>
19
+
20
+ </html>
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "local-operator-ui",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-beta.2",
4
+ "productName": "Local Operator",
4
5
  "description": "User interface for the Local Operator agent environment",
5
6
  "main": "./out/main/index.js",
6
7
  "bin": {
@@ -50,7 +51,18 @@
50
51
  "format": "npx @biomejs/biome format src",
51
52
  "format:fix": "npx @biomejs/biome format --write src",
52
53
  "prepublishOnly": "npm run build",
53
- "check-types": "tsc --noEmit"
54
+ "check-types": "tsc --noEmit",
55
+ "pack": "yarn build && electron-builder --dir",
56
+ "dist": "yarn build && electron-builder",
57
+ "dist:mac": "yarn build && electron-builder --mac",
58
+ "dist:win": "yarn build && electron-builder --win",
59
+ "dist:linux": "yarn build && electron-builder --linux",
60
+ "dist:all": "yarn build && electron-builder -mwl",
61
+ "release": "yarn build && electron-builder --publish always",
62
+ "generate-icons": "node scripts/generate-icons.js",
63
+ "setup-python": "./scripts/setup-python-resource.sh",
64
+ "storybook": "storybook dev -p 6006",
65
+ "build-storybook": "storybook build"
54
66
  },
55
67
  "dependencies": {
56
68
  "@electron-toolkit/utils": "^4.0.0",
@@ -61,37 +73,56 @@
61
73
  "@fortawesome/free-solid-svg-icons": "^6.7.2",
62
74
  "@fortawesome/react-fontawesome": "^0.2.2",
63
75
  "@mui/material": "^6.4.2",
76
+ "@resvg/resvg-js": "^2.6.2",
64
77
  "@tanstack/react-query": "^5.67.1",
65
78
  "@tanstack/react-query-devtools": "^5.67.1",
66
79
  "date-fns": "^4.1.0",
67
- "electron": "^25.3.1",
80
+ "dotenv": "^16.4.7",
68
81
  "electron-debug": "^3.2.0",
69
82
  "electron-log": "^4.4.8",
70
83
  "electron-updater": "^6.1.4",
84
+ "react": "^18.3.1",
85
+ "react-dom": "^18.3.1",
71
86
  "react-error-boundary": "^5.0.0",
72
87
  "react-markdown": "^10.1.0",
88
+ "react-router-dom": "^6.16.0",
73
89
  "react-syntax-highlighter": "^15.6.1",
74
90
  "react-toastify": "^11.0.5",
75
91
  "styled-components": "^6.1.14",
76
92
  "uuid": "^11.1.0",
77
93
  "zod": "^3.24.2",
78
- "zustand": "^5.0.3",
79
- "electron-vite": "^3.0.0",
80
- "react": "^18.3.1",
81
- "react-dom": "^18.3.1",
82
- "react-router-dom": "^6.16.0"
94
+ "zustand": "^5.0.3"
83
95
  },
84
96
  "devDependencies": {
97
+ "@babel/helpers": "^7.26.10",
98
+ "@babel/runtime": "^7.26.10",
85
99
  "@biomejs/biome": "^1.9.4",
100
+ "@chromatic-com/storybook": "^3.2.5",
86
101
  "@electron-toolkit/preload": "^3.0.1",
87
102
  "@electron-toolkit/tsconfig": "^1.0.1",
103
+ "@electron/notarize": "^2.5.0",
104
+ "@storybook/addon-essentials": "^8.6.4",
105
+ "@storybook/addon-interactions": "^8.6.4",
106
+ "@storybook/addon-onboarding": "^8.6.4",
107
+ "@storybook/blocks": "^8.6.4",
108
+ "@storybook/react": "^8.6.4",
109
+ "@storybook/react-vite": "^8.6.4",
110
+ "@storybook/test": "^8.6.4",
88
111
  "@types/react": "18.3.18",
89
112
  "@types/react-dom": "18.3.5",
90
113
  "@vitejs/plugin-react": "^4.3.4",
114
+ "electron": "^25.3.1",
115
+ "electron-builder": "^24.13.3",
116
+ "electron-vite": "^3.0.0",
117
+ "esbuild": "^0.25.1",
91
118
  "eslint": "^9.17.0",
92
119
  "eslint-plugin-react-hooks": "^5.0.0",
93
120
  "eslint-plugin-react-refresh": "^0.4.16",
121
+ "eslint-plugin-storybook": "^0.11.4",
94
122
  "jest": "^29.7.0",
123
+ "prismjs": "^1.30.0",
124
+ "sharp": "^0.33.2",
125
+ "storybook": "^8.6.4",
95
126
  "tsc": "^2.0.4",
96
127
  "typescript": "^5.8.2",
97
128
  "typescript-eslint": "^8.18.2",
@@ -104,5 +135,94 @@
104
135
  },
105
136
  "engines": {
106
137
  "node": ">=22.13.1"
138
+ },
139
+ "build": {
140
+ "appId": "com.local-operator",
141
+ "productName": "Local Operator",
142
+ "copyright": "Copyright © 2025 Damian Tran",
143
+ "asar": true,
144
+ "files": ["out/**/*", "bin/**/*", "LICENSE", "README.md"],
145
+ "directories": {
146
+ "output": "dist",
147
+ "buildResources": "resources"
148
+ },
149
+ "extraResources": [
150
+ {
151
+ "from": "resources/python",
152
+ "to": "python",
153
+ "filter": ["**/*"]
154
+ }
155
+ ],
156
+ "afterSign": "scripts/notarize.js",
157
+ "mac": {
158
+ "notarize": false,
159
+ "icon": "resources/icon-512x512.png",
160
+ "category": "public.app-category.developer-tools",
161
+ "hardenedRuntime": true,
162
+ "gatekeeperAssess": false,
163
+ "entitlements": "build/entitlements.mac.plist",
164
+ "entitlementsInherit": "build/entitlements.mac.plist",
165
+ "target": ["dmg"],
166
+ "artifactName": "${name}-${version}-${arch}.${ext}"
167
+ },
168
+ "dmg": {
169
+ "sign": false,
170
+ "contents": [
171
+ {
172
+ "x": 130,
173
+ "y": 220
174
+ },
175
+ {
176
+ "x": 410,
177
+ "y": 220,
178
+ "type": "link",
179
+ "path": "/Applications"
180
+ }
181
+ ],
182
+ "window": {
183
+ "width": 540,
184
+ "height": 380
185
+ }
186
+ },
187
+ "win": {
188
+ "icon": "resources/icon-512x512.png",
189
+ "target": [
190
+ {
191
+ "target": "nsis",
192
+ "arch": ["x64", "arm64"]
193
+ },
194
+ {
195
+ "target": "portable",
196
+ "arch": ["x64", "arm64"]
197
+ }
198
+ ],
199
+ "artifactName": "${name}-${version}-${arch}.${ext}"
200
+ },
201
+ "nsis": {
202
+ "oneClick": false,
203
+ "perMachine": false,
204
+ "allowToChangeInstallationDirectory": true,
205
+ "deleteAppDataOnUninstall": true
206
+ },
207
+ "linux": {
208
+ "icon": "resources/icon-512x512.png",
209
+ "category": "Development",
210
+ "target": ["deb", "AppImage", "rpm"],
211
+ "artifactName": "${name}-${version}-${arch}.${ext}",
212
+ "desktop": {
213
+ "Name": "Local Operator",
214
+ "Comment": "AI Agent Assistants On Your Device",
215
+ "Categories": "Development;Utility"
216
+ }
217
+ },
218
+ "publish": {
219
+ "provider": "github",
220
+ "owner": "damianvtran",
221
+ "repo": "local-operator-ui",
222
+ "releaseType": "release"
223
+ }
224
+ },
225
+ "eslintConfig": {
226
+ "extends": ["plugin:storybook/recommended"]
107
227
  }
108
228
  }