Commit e5c8256
refactor(aumate): remove GUI module and add Electron support (#14)
* refactor(aumate): remove GUI module and add Electron support
BREAKING CHANGE: Remove GUI-related features from aumate
Task 1: Remove GUI from aumate
- Remove gui, click_helper, window_manager features
- Delete 100+ GUI source files (gui/, screenshot/, clipboard_manager/, etc.)
- Remove GUI dependencies (egui, wgpu, winit, muda, tray-icon, rfd, etc.)
- Update bot package to remove GUI bindings
- Update botjs to remove GUI exports
- Delete 8 GUI example files
Task 2: Add Electron support for @tego/bot
- Create platform-specific npm packages (darwin-x64, darwin-arm64, win32-x64-msvc, etc.)
- Add optionalDependencies to main package
- Update CI/CD workflow to publish platform packages
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(ci): add missing validation for index.d.ts before copying
The workflow validated index.js exists but not index.d.ts, which could
lead to unclear error messages if the TypeScript declaration file was
missing from the artifact.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(botjs): regenerate API documentation and add image-match tests
- Add PixelColor type export for hex color strings
- Add private options field to ScreenshotTool class
- Fix JSDoc warnings for unused @PARAM annotations
- Add vitest alias for proper coverage tracking
- Add comprehensive unit tests for image-match module
- Regenerate TypeDoc API documentation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(ci): properly handle npm publish errors for platform packages
The previous error handling masked all failures with a generic warning.
Now it distinguishes between expected "already exists" errors (which
are skipped) and genuine failures (auth, network, validation) which
correctly fail the build.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent b192537 commit e5c8256
280 files changed
Lines changed: 2869 additions & 32881 deletions
File tree
- .github/workflows
- docs/api
- classes
- functions
- interfaces
- type-aliases
- variables
- examples/src
- packages
- aumate
- src
- click_helper
- clipboard_manager
- gui
- animation
- content
- controller
- effect
- presets
- event
- icon
- render
- shape
- util
- widget
- window
- image_match
- screenshot
- actions
- icons
- ui
- window_manager
- macos
- botjs
- src
- tests
- bot
- npm
- darwin-arm64
- darwin-x64
- linux-x64-gnu
- win32-arm64-msvc
- win32-ia32-msvc
- win32-x64-msvc
- src
- gui
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 69 | | |
77 | 70 | | |
78 | 71 | | |
| |||
85 | 78 | | |
86 | 79 | | |
87 | 80 | | |
88 | | - | |
| 81 | + | |
89 | 82 | | |
90 | 83 | | |
91 | 84 | | |
92 | | - | |
| 85 | + | |
93 | 86 | | |
94 | 87 | | |
95 | 88 | | |
96 | 89 | | |
97 | 90 | | |
98 | 91 | | |
99 | 92 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
103 | 96 | | |
104 | 97 | | |
105 | | - | |
106 | | - | |
| 98 | + | |
| 99 | + | |
107 | 100 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 101 | + | |
111 | 102 | | |
112 | 103 | | |
113 | 104 | | |
| |||
118 | 109 | | |
119 | 110 | | |
120 | 111 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 112 | | |
130 | 113 | | |
131 | 114 | | |
| |||
136 | 119 | | |
137 | 120 | | |
138 | 121 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 122 | + | |
143 | 123 | | |
144 | | - | |
145 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
146 | 143 | | |
147 | | - | |
148 | | - | |
| 144 | + | |
| 145 | + | |
149 | 146 | | |
150 | | - | |
151 | 147 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
179 | 171 | | |
180 | 172 | | |
181 | 173 | | |
| 174 | + | |
| 175 | + | |
182 | 176 | | |
183 | 177 | | |
184 | | - | |
185 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
186 | 210 | | |
187 | | - | |
| 211 | + | |
188 | 212 | | |
189 | 213 | | |
190 | | - | |
191 | 214 | | |
192 | 215 | | |
193 | 216 | | |
| |||
197 | 220 | | |
198 | 221 | | |
199 | 222 | | |
200 | | - | |
201 | | - | |
| 223 | + | |
202 | 224 | | |
203 | 225 | | |
204 | 226 | | |
205 | 227 | | |
206 | 228 | | |
207 | | - | |
208 | | - | |
| 229 | + | |
209 | 230 | | |
210 | 231 | | |
211 | 232 | | |
212 | 233 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 234 | + | |
| 235 | + | |
225 | 236 | | |
226 | 237 | | |
227 | | - | |
| 238 | + | |
228 | 239 | | |
229 | 240 | | |
230 | 241 | | |
231 | 242 | | |
232 | | - | |
233 | | - | |
| 243 | + | |
| 244 | + | |
234 | 245 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 246 | + | |
| 247 | + | |
239 | 248 | | |
240 | 249 | | |
241 | 250 | | |
| |||
288 | 297 | | |
289 | 298 | | |
290 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
291 | 304 | | |
292 | 305 | | |
293 | 306 | | |
294 | 307 | | |
295 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
296 | 317 | | |
297 | 318 | | |
298 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 63 | | |
71 | 64 | | |
72 | 65 | | |
| |||
83 | 76 | | |
84 | 77 | | |
85 | 78 | | |
86 | | - | |
| 79 | + | |
87 | 80 | | |
88 | | - | |
| 81 | + | |
89 | 82 | | |
90 | 83 | | |
91 | 84 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 85 | + | |
103 | 86 | | |
104 | 87 | | |
105 | 88 | | |
106 | 89 | | |
107 | 90 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 91 | + | |
122 | 92 | | |
123 | 93 | | |
124 | 94 | | |
| |||
200 | 170 | | |
201 | 171 | | |
202 | 172 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 173 | | |
207 | 174 | | |
208 | 175 | | |
| |||
297 | 264 | | |
298 | 265 | | |
299 | 266 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 267 | | |
309 | 268 | | |
310 | 269 | | |
| |||
457 | 416 | | |
458 | 417 | | |
459 | 418 | | |
460 | | - | |
| 419 | + | |
461 | 420 | | |
0 commit comments