omgkit 2.11.0 → 2.13.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.
- package/README.md +48 -1
- package/package.json +1 -1
- package/plugin/templates/autonomous/archetypes/ai-model-building.yaml +443 -0
- package/plugin/templates/autonomous/archetypes/ai-powered-app.yaml +420 -0
- package/plugin/templates/autonomous/archetypes/desktop-app.yaml +371 -0
- package/plugin/templates/autonomous/archetypes/event-driven-app.yaml +460 -0
- package/plugin/templates/autonomous/archetypes/game-app.yaml +428 -0
- package/plugin/templates/autonomous/archetypes/iot-app.yaml +415 -0
- package/plugin/templates/autonomous/archetypes/microservices-app.yaml +431 -0
- package/plugin/templates/autonomous/archetypes/mobile-app.yaml +356 -0
- package/plugin/templates/autonomous/archetypes/simulation-app.yaml +428 -0
- package/plugin/templates/autonomous/artifacts-schema.yaml +465 -0
- package/plugin/templates/autonomous/state-schema.yaml +105 -1
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
name: "Desktop Application"
|
|
2
|
+
id: desktop-app
|
|
3
|
+
description: "Native desktop application with system integration, auto-updates, and cross-platform support"
|
|
4
|
+
estimated_duration: "3-6 weeks"
|
|
5
|
+
icon: "desktop"
|
|
6
|
+
|
|
7
|
+
# Default technology recommendations
|
|
8
|
+
defaults:
|
|
9
|
+
framework: electron
|
|
10
|
+
ui: react
|
|
11
|
+
state: zustand
|
|
12
|
+
build: electron_builder
|
|
13
|
+
updates: electron_updater
|
|
14
|
+
storage: electron_store
|
|
15
|
+
|
|
16
|
+
# Alternative technology stacks
|
|
17
|
+
alternatives:
|
|
18
|
+
framework:
|
|
19
|
+
- id: electron
|
|
20
|
+
name: "Electron"
|
|
21
|
+
description: "Web technologies, large ecosystem, cross-platform"
|
|
22
|
+
- id: tauri
|
|
23
|
+
name: "Tauri"
|
|
24
|
+
description: "Rust-based, smaller bundle, better performance"
|
|
25
|
+
- id: qt
|
|
26
|
+
name: "Qt (Python/C++)"
|
|
27
|
+
description: "Native look and feel, excellent performance"
|
|
28
|
+
- id: dotnet_maui
|
|
29
|
+
name: ".NET MAUI"
|
|
30
|
+
description: "Microsoft ecosystem, C#"
|
|
31
|
+
- id: flutter_desktop
|
|
32
|
+
name: "Flutter Desktop"
|
|
33
|
+
description: "Single codebase for all platforms"
|
|
34
|
+
|
|
35
|
+
# Phases of development
|
|
36
|
+
phases:
|
|
37
|
+
- id: discovery
|
|
38
|
+
name: "Discovery & Requirements"
|
|
39
|
+
description: "Define app purpose, target platforms, and native features"
|
|
40
|
+
order: 1
|
|
41
|
+
checkpoint: true
|
|
42
|
+
checkpoint_message: |
|
|
43
|
+
Discovery complete. Review:
|
|
44
|
+
- App purpose and target users
|
|
45
|
+
- Target operating systems
|
|
46
|
+
- Native features required
|
|
47
|
+
- Offline/online requirements
|
|
48
|
+
|
|
49
|
+
Approve to proceed with design.
|
|
50
|
+
|
|
51
|
+
steps:
|
|
52
|
+
- id: requirements
|
|
53
|
+
name: "Requirements Gathering"
|
|
54
|
+
agent: planner
|
|
55
|
+
description: "Gather desktop app requirements"
|
|
56
|
+
|
|
57
|
+
- id: platform_selection
|
|
58
|
+
name: "Platform Selection"
|
|
59
|
+
agent: architect
|
|
60
|
+
description: "Select target platforms and framework"
|
|
61
|
+
|
|
62
|
+
- id: native_features
|
|
63
|
+
name: "Native Features Audit"
|
|
64
|
+
agent: architect
|
|
65
|
+
description: "Identify required native features"
|
|
66
|
+
|
|
67
|
+
- id: offline_strategy
|
|
68
|
+
name: "Offline Strategy"
|
|
69
|
+
agent: architect
|
|
70
|
+
description: "Plan offline functionality"
|
|
71
|
+
|
|
72
|
+
outputs:
|
|
73
|
+
- ".omgkit/generated/desktop-requirements.md"
|
|
74
|
+
- ".omgkit/generated/platform-decision.md"
|
|
75
|
+
|
|
76
|
+
- id: planning
|
|
77
|
+
name: "Architecture Planning"
|
|
78
|
+
description: "Design window management, IPC, and system integration"
|
|
79
|
+
order: 2
|
|
80
|
+
checkpoint: true
|
|
81
|
+
checkpoint_message: |
|
|
82
|
+
Architecture complete. Review:
|
|
83
|
+
- Window management design
|
|
84
|
+
- IPC communication patterns
|
|
85
|
+
- File system access patterns
|
|
86
|
+
|
|
87
|
+
Approve to begin foundation.
|
|
88
|
+
|
|
89
|
+
steps:
|
|
90
|
+
- id: window_design
|
|
91
|
+
name: "Window Management"
|
|
92
|
+
agent: architect
|
|
93
|
+
description: "Design window structure and management"
|
|
94
|
+
|
|
95
|
+
- id: ipc_design
|
|
96
|
+
name: "IPC Design"
|
|
97
|
+
agent: architect
|
|
98
|
+
description: "Design main/renderer process communication"
|
|
99
|
+
|
|
100
|
+
- id: security_model
|
|
101
|
+
name: "Security Model"
|
|
102
|
+
agent: security-auditor
|
|
103
|
+
description: "Define security boundaries and permissions"
|
|
104
|
+
|
|
105
|
+
- id: update_strategy
|
|
106
|
+
name: "Update Strategy"
|
|
107
|
+
agent: architect
|
|
108
|
+
description: "Plan auto-update mechanism"
|
|
109
|
+
|
|
110
|
+
outputs:
|
|
111
|
+
- ".omgkit/generated/window-design.md"
|
|
112
|
+
- ".omgkit/generated/ipc-design.md"
|
|
113
|
+
- ".omgkit/generated/security-model.md"
|
|
114
|
+
|
|
115
|
+
- id: foundation
|
|
116
|
+
name: "App Foundation"
|
|
117
|
+
description: "Set up app shell, IPC, and native bindings"
|
|
118
|
+
order: 3
|
|
119
|
+
checkpoint: false
|
|
120
|
+
|
|
121
|
+
steps:
|
|
122
|
+
- id: project_setup
|
|
123
|
+
name: "Project Setup"
|
|
124
|
+
agent: fullstack-developer
|
|
125
|
+
description: "Initialize desktop project"
|
|
126
|
+
|
|
127
|
+
- id: app_shell
|
|
128
|
+
name: "App Shell"
|
|
129
|
+
agent: fullstack-developer
|
|
130
|
+
description: "Create main window and process"
|
|
131
|
+
|
|
132
|
+
- id: ipc_setup
|
|
133
|
+
name: "IPC Setup"
|
|
134
|
+
agent: fullstack-developer
|
|
135
|
+
description: "Implement IPC communication"
|
|
136
|
+
|
|
137
|
+
- id: preload_scripts
|
|
138
|
+
name: "Preload Scripts"
|
|
139
|
+
agent: fullstack-developer
|
|
140
|
+
description: "Set up secure preload scripts"
|
|
141
|
+
|
|
142
|
+
- id: dev_tools
|
|
143
|
+
name: "Dev Tools"
|
|
144
|
+
agent: fullstack-developer
|
|
145
|
+
description: "Configure development environment"
|
|
146
|
+
|
|
147
|
+
outputs:
|
|
148
|
+
- "src/main/"
|
|
149
|
+
- "src/renderer/"
|
|
150
|
+
- "src/preload/"
|
|
151
|
+
|
|
152
|
+
- id: core_features
|
|
153
|
+
name: "Core Features"
|
|
154
|
+
description: "Implement main app functionality"
|
|
155
|
+
order: 4
|
|
156
|
+
checkpoint: true
|
|
157
|
+
checkpoint_message: |
|
|
158
|
+
Core features complete. Review:
|
|
159
|
+
- Main functionality working
|
|
160
|
+
- IPC communication stable
|
|
161
|
+
- File operations working
|
|
162
|
+
|
|
163
|
+
Approve to add native features.
|
|
164
|
+
|
|
165
|
+
steps:
|
|
166
|
+
- id: main_ui
|
|
167
|
+
name: "Main UI"
|
|
168
|
+
agent: fullstack-developer
|
|
169
|
+
description: "Build main application UI"
|
|
170
|
+
|
|
171
|
+
- id: file_operations
|
|
172
|
+
name: "File Operations"
|
|
173
|
+
agent: fullstack-developer
|
|
174
|
+
description: "Implement file system operations"
|
|
175
|
+
|
|
176
|
+
- id: data_persistence
|
|
177
|
+
name: "Data Persistence"
|
|
178
|
+
agent: fullstack-developer
|
|
179
|
+
description: "Implement local data storage"
|
|
180
|
+
|
|
181
|
+
- id: menu_shortcuts
|
|
182
|
+
name: "Menus & Shortcuts"
|
|
183
|
+
agent: fullstack-developer
|
|
184
|
+
description: "Create application menus and shortcuts"
|
|
185
|
+
|
|
186
|
+
outputs:
|
|
187
|
+
- "src/renderer/components/"
|
|
188
|
+
- "src/main/file-system.ts"
|
|
189
|
+
- "src/main/storage.ts"
|
|
190
|
+
|
|
191
|
+
- id: native_integration
|
|
192
|
+
name: "Native Integration"
|
|
193
|
+
description: "Implement system tray, notifications, and OS features"
|
|
194
|
+
order: 5
|
|
195
|
+
checkpoint: false
|
|
196
|
+
|
|
197
|
+
steps:
|
|
198
|
+
- id: system_tray
|
|
199
|
+
name: "System Tray"
|
|
200
|
+
agent: fullstack-developer
|
|
201
|
+
description: "Implement system tray icon and menu"
|
|
202
|
+
|
|
203
|
+
- id: notifications
|
|
204
|
+
name: "Native Notifications"
|
|
205
|
+
agent: fullstack-developer
|
|
206
|
+
description: "Implement desktop notifications"
|
|
207
|
+
|
|
208
|
+
- id: keyboard_shortcuts
|
|
209
|
+
name: "Global Shortcuts"
|
|
210
|
+
agent: fullstack-developer
|
|
211
|
+
description: "Register global keyboard shortcuts"
|
|
212
|
+
|
|
213
|
+
- id: deep_links
|
|
214
|
+
name: "Deep Links"
|
|
215
|
+
agent: fullstack-developer
|
|
216
|
+
description: "Handle custom protocol links"
|
|
217
|
+
|
|
218
|
+
- id: file_associations
|
|
219
|
+
name: "File Associations"
|
|
220
|
+
agent: fullstack-developer
|
|
221
|
+
description: "Register file type associations"
|
|
222
|
+
|
|
223
|
+
outputs:
|
|
224
|
+
- "src/main/tray.ts"
|
|
225
|
+
- "src/main/notifications.ts"
|
|
226
|
+
- "src/main/shortcuts.ts"
|
|
227
|
+
|
|
228
|
+
- id: packaging
|
|
229
|
+
name: "Packaging & Distribution"
|
|
230
|
+
description: "Create installers, configure auto-updates, code signing"
|
|
231
|
+
order: 6
|
|
232
|
+
checkpoint: true
|
|
233
|
+
checkpoint_message: |
|
|
234
|
+
Packaging complete. Review:
|
|
235
|
+
- Installers for all platforms
|
|
236
|
+
- Auto-update configuration
|
|
237
|
+
- Code signing status
|
|
238
|
+
|
|
239
|
+
Approve for distribution.
|
|
240
|
+
|
|
241
|
+
steps:
|
|
242
|
+
- id: build_config
|
|
243
|
+
name: "Build Configuration"
|
|
244
|
+
agent: cicd-manager
|
|
245
|
+
description: "Configure build for all platforms"
|
|
246
|
+
|
|
247
|
+
- id: installers
|
|
248
|
+
name: "Create Installers"
|
|
249
|
+
agent: cicd-manager
|
|
250
|
+
description: "Generate platform installers"
|
|
251
|
+
|
|
252
|
+
- id: code_signing
|
|
253
|
+
name: "Code Signing"
|
|
254
|
+
agent: cicd-manager
|
|
255
|
+
description: "Set up code signing certificates"
|
|
256
|
+
|
|
257
|
+
- id: auto_update
|
|
258
|
+
name: "Auto-Update Setup"
|
|
259
|
+
agent: fullstack-developer
|
|
260
|
+
description: "Configure auto-update mechanism"
|
|
261
|
+
|
|
262
|
+
- id: notarization
|
|
263
|
+
name: "macOS Notarization"
|
|
264
|
+
agent: cicd-manager
|
|
265
|
+
description: "Notarize for macOS (if applicable)"
|
|
266
|
+
|
|
267
|
+
outputs:
|
|
268
|
+
- "electron-builder.yml"
|
|
269
|
+
- "scripts/sign.js"
|
|
270
|
+
- "dist/"
|
|
271
|
+
|
|
272
|
+
- id: distribution
|
|
273
|
+
name: "Distribution"
|
|
274
|
+
description: "Set up distribution channels"
|
|
275
|
+
order: 7
|
|
276
|
+
checkpoint: true
|
|
277
|
+
checkpoint_message: |
|
|
278
|
+
Ready for distribution. Review:
|
|
279
|
+
- Download site/page
|
|
280
|
+
- App store listings (if applicable)
|
|
281
|
+
- Update server
|
|
282
|
+
|
|
283
|
+
This is the final checkpoint.
|
|
284
|
+
|
|
285
|
+
steps:
|
|
286
|
+
- id: download_page
|
|
287
|
+
name: "Download Page"
|
|
288
|
+
agent: fullstack-developer
|
|
289
|
+
description: "Create download landing page"
|
|
290
|
+
|
|
291
|
+
- id: update_server
|
|
292
|
+
name: "Update Server"
|
|
293
|
+
agent: cicd-manager
|
|
294
|
+
description: "Set up update server"
|
|
295
|
+
|
|
296
|
+
- id: app_stores
|
|
297
|
+
name: "App Store Submission"
|
|
298
|
+
agent: cicd-manager
|
|
299
|
+
description: "Submit to app stores if applicable"
|
|
300
|
+
|
|
301
|
+
- id: ci_releases
|
|
302
|
+
name: "CI Release Pipeline"
|
|
303
|
+
agent: cicd-manager
|
|
304
|
+
description: "Set up automated release pipeline"
|
|
305
|
+
|
|
306
|
+
outputs:
|
|
307
|
+
- ".github/workflows/release.yml"
|
|
308
|
+
- "docs/download.html"
|
|
309
|
+
|
|
310
|
+
# Autonomy rules for this archetype
|
|
311
|
+
autonomy_rules:
|
|
312
|
+
- pattern: "**/renderer/**"
|
|
313
|
+
level: 1
|
|
314
|
+
reason: "UI code can be auto-generated"
|
|
315
|
+
- pattern: "**/main/**"
|
|
316
|
+
level: 2
|
|
317
|
+
reason: "Main process needs review"
|
|
318
|
+
- pattern: "**/preload/**"
|
|
319
|
+
level: 3
|
|
320
|
+
reason: "Preload scripts are security-sensitive"
|
|
321
|
+
- pattern: "electron-builder.yml"
|
|
322
|
+
level: 3
|
|
323
|
+
reason: "Build config affects distribution"
|
|
324
|
+
- pattern: "**/sign*"
|
|
325
|
+
level: 4
|
|
326
|
+
reason: "Code signing is manual only"
|
|
327
|
+
|
|
328
|
+
# Quality gates
|
|
329
|
+
quality_gates:
|
|
330
|
+
after_feature:
|
|
331
|
+
- "npm test"
|
|
332
|
+
- "npm run lint"
|
|
333
|
+
before_checkpoint:
|
|
334
|
+
- "npm run build"
|
|
335
|
+
- "app launches successfully"
|
|
336
|
+
before_deploy:
|
|
337
|
+
- "installers work on all platforms"
|
|
338
|
+
- "auto-update works"
|
|
339
|
+
- "code is signed"
|
|
340
|
+
|
|
341
|
+
# Desktop-specific discovery questions
|
|
342
|
+
discovery_additions:
|
|
343
|
+
- category: "Platform"
|
|
344
|
+
questions:
|
|
345
|
+
- "Which operating systems to support? (Windows, macOS, Linux)"
|
|
346
|
+
- "Minimum OS versions to support?"
|
|
347
|
+
- "32-bit support needed?"
|
|
348
|
+
- "ARM support needed? (Apple Silicon, ARM Windows)"
|
|
349
|
+
|
|
350
|
+
- category: "Native Features"
|
|
351
|
+
questions:
|
|
352
|
+
- "System tray icon needed?"
|
|
353
|
+
- "Global keyboard shortcuts?"
|
|
354
|
+
- "File type associations?"
|
|
355
|
+
- "Custom protocol handling (myapp://)?"
|
|
356
|
+
- "Background running required?"
|
|
357
|
+
|
|
358
|
+
- category: "Distribution"
|
|
359
|
+
questions:
|
|
360
|
+
- "App store distribution? (Mac App Store, Microsoft Store)"
|
|
361
|
+
- "Direct download from website?"
|
|
362
|
+
- "Enterprise deployment needs?"
|
|
363
|
+
- "Auto-update mechanism required?"
|
|
364
|
+
- "Do you have code signing certificates?"
|
|
365
|
+
|
|
366
|
+
- category: "Data"
|
|
367
|
+
questions:
|
|
368
|
+
- "Local file storage needs?"
|
|
369
|
+
- "Database requirements? (SQLite, etc.)"
|
|
370
|
+
- "Cloud sync needed?"
|
|
371
|
+
- "Offline-first required?"
|