@uibot/cli 0.0.0-stage → 0.2.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.
Files changed (44) hide show
  1. package/dist/cli.d.ts +2 -0
  2. package/dist/cli.js +404 -0
  3. package/dist/command-manifest.d.ts +8 -0
  4. package/dist/commands/add.d.ts +28 -0
  5. package/dist/commands/design-md-sync.d.ts +12 -0
  6. package/dist/commands/doctor.d.ts +11 -0
  7. package/dist/commands/init.d.ts +72 -0
  8. package/dist/commands/link.d.ts +76 -0
  9. package/dist/commands/list.d.ts +14 -0
  10. package/dist/commands/publish.d.ts +41 -0
  11. package/dist/commands/regressions-reverify.d.ts +20 -0
  12. package/dist/commands/resource.d.ts +31 -0
  13. package/dist/commands/skills-lifecycle.d.ts +7 -0
  14. package/dist/commands/sync.d.ts +76 -0
  15. package/dist/constants.d.ts +8 -0
  16. package/dist/flags.d.ts +19 -0
  17. package/dist/index.d.ts +15 -0
  18. package/dist/index.js +222 -0
  19. package/dist/resource-runtime.d.ts +4 -0
  20. package/dist/shells/app-shell-floating.yaml +42 -0
  21. package/dist/shells/app-shell-icon-rail.yaml +42 -0
  22. package/dist/shells/app-shell-inset.yaml +42 -0
  23. package/dist/shells/app-shell-settings.yaml +56 -0
  24. package/dist/shells/app-shell-sidebar.yaml +47 -0
  25. package/dist/shells/app-shell-workspace.yaml +54 -0
  26. package/dist/shells/shadcn-admin-shell.yaml +151 -0
  27. package/dist/templates/admin-dashboard.yaml +183 -0
  28. package/dist/templates/ai-chat.yaml +448 -0
  29. package/dist/templates/analytics-dashboard.yaml +152 -0
  30. package/dist/templates/auth.yaml +90 -0
  31. package/dist/templates/blog.yaml +111 -0
  32. package/dist/templates/crm.yaml +161 -0
  33. package/dist/templates/ecommerce.yaml +169 -0
  34. package/dist/templates/lms.yaml +459 -0
  35. package/dist/templates/portfolio.yaml +139 -0
  36. package/dist/templates/pricing.yaml +171 -0
  37. package/dist/templates/saas-landing.yaml +199 -0
  38. package/dist/templates/settings.yaml +151 -0
  39. package/dist/templates/shadcn-admin.yaml +4660 -0
  40. package/dist/templates/store.yaml +469 -0
  41. package/dist/templates/support-inbox.yaml +96 -0
  42. package/dist/templates/team-directory.yaml +98 -0
  43. package/package.json +44 -4
  44. package/README.md +0 -3
@@ -0,0 +1,469 @@
1
+ version: '2.0'
2
+ menus:
3
+ items:
4
+ - key: storefront
5
+ label: Storefront
6
+ path: /
7
+ icon: ▦
8
+ - key: product
9
+ label: Product
10
+ path: /product
11
+ icon: ◫
12
+ - key: cart
13
+ label: Cart
14
+ path: /cart
15
+ icon: ▤
16
+ - key: checkout
17
+ label: Checkout
18
+ path: /checkout
19
+ icon: ◆
20
+ pages:
21
+ - id: storefront
22
+ path: /
23
+ title: Verdant — Storefront
24
+ blocks:
25
+ - type: PageLayout
26
+ props:
27
+ title: Verdant
28
+ slots:
29
+ headerActions:
30
+ - type: Link
31
+ props:
32
+ label: Cart · 2
33
+ href: /cart
34
+ variant: button
35
+ children:
36
+ - type: Box
37
+ props:
38
+ className: flex items-end justify-between mb-4
39
+ children:
40
+ - type: Box
41
+ children:
42
+ - type: Heading
43
+ props:
44
+ level: 2
45
+ text: Indoor plants
46
+ - type: Paragraph
47
+ props:
48
+ size: sm
49
+ muted: true
50
+ text: 64 products · free shipping over $75
51
+ - type: BadgeGroup
52
+ props:
53
+ items:
54
+ - label: Spring sale
55
+ tone: success
56
+ - label: New arrivals
57
+ tone: info
58
+ - type: Grid
59
+ props:
60
+ cols: '4'
61
+ responsive: true
62
+ gap: lg
63
+ children:
64
+ - type: Card
65
+ props:
66
+ title: Monstera Deliciosa
67
+ description: Easy care · low light
68
+ children:
69
+ - type: Box
70
+ props:
71
+ className: h-40 -mx-6 -mt-2 mb-3 border-b border-border bg-muted/40 flex items-center justify-center
72
+ - type: BadgeGroup
73
+ props:
74
+ items:
75
+ - label: Bestseller
76
+ tone: success
77
+ - type: Stat
78
+ props:
79
+ value: $48
80
+ - type: Link
81
+ props:
82
+ label: View details
83
+ href: /product
84
+ variant: outline
85
+ - type: Card
86
+ props:
87
+ title: Snake Plant
88
+ description: Drought tolerant
89
+ children:
90
+ - type: Box
91
+ props:
92
+ className: h-40 -mx-6 -mt-2 mb-3 border-b border-border bg-muted/40 flex items-center justify-center
93
+ - type: Stat
94
+ props:
95
+ value: $32
96
+ change: $40
97
+ - type: Link
98
+ props:
99
+ label: View details
100
+ href: /product
101
+ variant: outline
102
+ - type: Card
103
+ props:
104
+ title: Fiddle Leaf Fig
105
+ description: Bright indirect light
106
+ children:
107
+ - type: Box
108
+ props:
109
+ className: h-40 -mx-6 -mt-2 mb-3 border-b border-border bg-muted/40 flex items-center justify-center
110
+ - type: BadgeGroup
111
+ props:
112
+ items:
113
+ - label: Low stock
114
+ tone: warning
115
+ - type: Stat
116
+ props:
117
+ value: $74
118
+ - type: Link
119
+ props:
120
+ label: View details
121
+ href: /product
122
+ variant: outline
123
+ - type: Card
124
+ props:
125
+ title: Pothos Golden
126
+ description: Beginner friendly
127
+ children:
128
+ - type: Box
129
+ props:
130
+ className: h-40 -mx-6 -mt-2 mb-3 border-b border-border bg-muted/40 flex items-center justify-center
131
+ - type: BadgeGroup
132
+ props:
133
+ items:
134
+ - label: New
135
+ tone: info
136
+ - type: Stat
137
+ props:
138
+ value: $24
139
+ - type: Link
140
+ props:
141
+ label: View details
142
+ href: /product
143
+ variant: outline
144
+ template: app-shell-sidebar
145
+ - id: product
146
+ path: /product
147
+ title: Verdant — Monstera Deliciosa
148
+ blocks:
149
+ - type: PageLayout
150
+ props:
151
+ title: Verdant
152
+ slots:
153
+ headerActions:
154
+ - type: Link
155
+ props:
156
+ label: Cart · 2
157
+ href: /cart
158
+ variant: button
159
+ children:
160
+ - type: Breadcrumb
161
+ props:
162
+ items:
163
+ - label: Storefront
164
+ href: /
165
+ - label: Indoor plants
166
+ href: /
167
+ - label: Monstera Deliciosa
168
+ - type: Grid
169
+ props:
170
+ cols: '2'
171
+ gap: lg
172
+ children:
173
+ - type: Card
174
+ children:
175
+ - type: Box
176
+ props:
177
+ className: h-80 -m-6 rounded-none border border-border bg-muted/40 flex items-center justify-center
178
+ children:
179
+ - type: Paragraph
180
+ props:
181
+ size: sm
182
+ muted: true
183
+ text: No product photo
184
+ - type: Box
185
+ children:
186
+ - type: Heading
187
+ props:
188
+ level: 2
189
+ text: Monstera Deliciosa
190
+ - type: BadgeGroup
191
+ props:
192
+ items:
193
+ - label: Bestseller
194
+ tone: success
195
+ - label: In stock
196
+ tone: info
197
+ - type: Stat
198
+ props:
199
+ value: $48
200
+ change: Free shipping
201
+ - type: Paragraph
202
+ props:
203
+ muted: true
204
+ text: The Swiss cheese plant — fast-growing, sculptural foliage that thrives in bright, indirect
205
+ light. Ships in a 6" nursery pot.
206
+ - type: Divider
207
+ - type: KeyValueGrid
208
+ props:
209
+ cols: '2'
210
+ items:
211
+ - key: Pot size
212
+ value: 6 inch
213
+ - key: Light
214
+ value: Bright indirect
215
+ - key: Water
216
+ value: Weekly
217
+ - key: Pet safe
218
+ value: 'No'
219
+ - key: Mature height
220
+ value: Up to 8 ft
221
+ - key: Difficulty
222
+ value: Easy
223
+ - type: Divider
224
+ - type: Button
225
+ props:
226
+ label: Add to cart · $48
227
+ full: true
228
+ - type: Link
229
+ props:
230
+ label: Continue shopping
231
+ href: /
232
+ variant: muted
233
+ - type: Card
234
+ props:
235
+ title: Care guide
236
+ children:
237
+ - type: Markdown
238
+ props:
239
+ content: '### Caring for your Monstera
240
+
241
+
242
+ - **Light** — bright, indirect light. Avoid harsh midday sun.
243
+
244
+ - **Water** — let the top *2 inches* of soil dry between waterings.
245
+
246
+ - **Humidity** — loves humidity; mist weekly or group with other plants.
247
+
248
+
249
+ With the right spot, a Monstera grows quickly and develops its
250
+
251
+ signature split leaves within a season.
252
+
253
+ '
254
+ template: app-shell-sidebar
255
+ - id: cart
256
+ path: /cart
257
+ title: Verdant — Cart
258
+ blocks:
259
+ - type: PageLayout
260
+ props:
261
+ title: Verdant
262
+ slots:
263
+ headerActions:
264
+ - type: Link
265
+ props:
266
+ label: Checkout
267
+ href: /checkout
268
+ variant: button
269
+ children:
270
+ - type: Heading
271
+ props:
272
+ level: 2
273
+ text: Your cart
274
+ - type: Grid
275
+ props:
276
+ cols: '3'
277
+ gap: lg
278
+ children:
279
+ - type: Box
280
+ props:
281
+ className: col-span-2
282
+ children:
283
+ - type: Card
284
+ props:
285
+ title: Items
286
+ children:
287
+ - type: Table
288
+ props:
289
+ columns:
290
+ - key: item
291
+ label: Item
292
+ - key: qty
293
+ label: Qty
294
+ align: center
295
+ - key: price
296
+ label: Price
297
+ align: right
298
+ - key: total
299
+ label: Total
300
+ align: right
301
+ rows:
302
+ - item: Monstera Deliciosa
303
+ qty: '1'
304
+ price: $48.00
305
+ total: $48.00
306
+ - item: Snake Plant
307
+ qty: '2'
308
+ price: $32.00
309
+ total: $64.00
310
+ - type: Card
311
+ props:
312
+ title: Summary
313
+ children:
314
+ - type: Stat
315
+ props:
316
+ label: Subtotal
317
+ value: $112.00
318
+ - type: Stat
319
+ props:
320
+ label: Shipping
321
+ value: $0.00
322
+ description: Free over $75
323
+ - type: Stat
324
+ props:
325
+ label: Tax
326
+ value: $9.52
327
+ - type: Divider
328
+ - type: Stat
329
+ props:
330
+ label: Total
331
+ value: $121.52
332
+ - type: Link
333
+ props:
334
+ label: Proceed to checkout
335
+ href: /checkout
336
+ variant: button
337
+ template: app-shell-sidebar
338
+ - id: checkout
339
+ path: /checkout
340
+ title: Verdant — Checkout
341
+ blocks:
342
+ - type: PageLayout
343
+ props:
344
+ title: Verdant
345
+ children:
346
+ - type: Breadcrumb
347
+ props:
348
+ items:
349
+ - label: Cart
350
+ href: /cart
351
+ - label: Checkout
352
+ - type: Grid
353
+ props:
354
+ cols: '3'
355
+ gap: lg
356
+ children:
357
+ - type: Box
358
+ props:
359
+ className: col-span-2
360
+ children:
361
+ - type: Card
362
+ props:
363
+ title: Shipping address
364
+ children:
365
+ - type: Form
366
+ children:
367
+ - type: Form.Input
368
+ props:
369
+ name: fullName
370
+ label: Full name
371
+ placeholder: Ada Lovelace
372
+ required: true
373
+ - type: Grid
374
+ props:
375
+ cols: '2'
376
+ gap: md
377
+ children:
378
+ - type: Form.Input
379
+ props:
380
+ name: address
381
+ label: Street address
382
+ placeholder: 123 Garden Way
383
+ - type: Form.Input
384
+ props:
385
+ name: apt
386
+ label: Apt / unit
387
+ placeholder: 4B
388
+ - type: Grid
389
+ props:
390
+ cols: '3'
391
+ gap: md
392
+ children:
393
+ - type: Form.Input
394
+ props:
395
+ name: city
396
+ label: City
397
+ placeholder: Portland
398
+ - type: Form.Select
399
+ props:
400
+ name: state
401
+ label: State
402
+ options:
403
+ - value: or
404
+ label: Oregon
405
+ - value: wa
406
+ label: Washington
407
+ - value: ca
408
+ label: California
409
+ - type: Form.Input
410
+ props:
411
+ name: zip
412
+ label: ZIP
413
+ placeholder: '97201'
414
+ - type: Divider
415
+ - type: Form.Input
416
+ props:
417
+ name: cardNumber
418
+ label: Card number
419
+ placeholder: 4242 4242 4242 4242
420
+ - type: Grid
421
+ props:
422
+ cols: '2'
423
+ gap: md
424
+ children:
425
+ - type: Form.Input
426
+ props:
427
+ name: expiry
428
+ label: Expiry
429
+ placeholder: MM / YY
430
+ - type: Form.Input
431
+ props:
432
+ name: cvc
433
+ label: CVC
434
+ placeholder: '123'
435
+ - type: Form.Checkbox
436
+ props:
437
+ name: saveCard
438
+ label: Save card for next time
439
+ description: Stored securely with our payment provider.
440
+ - type: Form.Submit
441
+ props:
442
+ label: Place order · $121.52
443
+ full: true
444
+ - type: Card
445
+ props:
446
+ title: Order summary
447
+ children:
448
+ - type: KeyValueGrid
449
+ props:
450
+ cols: '1'
451
+ items:
452
+ - key: Monstera Deliciosa ×1
453
+ value: $48.00
454
+ - key: Snake Plant ×2
455
+ value: $64.00
456
+ - key: Shipping
457
+ value: $0.00
458
+ - key: Tax
459
+ value: $9.52
460
+ - type: Divider
461
+ - type: Stat
462
+ props:
463
+ label: Total
464
+ value: $121.52
465
+ - type: Toast
466
+ props:
467
+ level: success
468
+ message: Spring sale applied — you saved $16.
469
+ template: app-shell-sidebar
@@ -0,0 +1,96 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: support-inbox
4
+ path: /
5
+ title: Support Inbox
6
+ state:
7
+ selectedId: "t-1"
8
+ blocks:
9
+ - type: PageLayout
10
+ props:
11
+ title: Helpdesk
12
+ slots:
13
+ headerActions:
14
+ - type: Button
15
+ props:
16
+ label: "Compose"
17
+ size: sm
18
+ children:
19
+ - type: StatGrid
20
+ props:
21
+ cols: "4"
22
+ items:
23
+ - label: Open
24
+ value: "24"
25
+ - label: Waiting
26
+ value: "8"
27
+ - label: Resolved today
28
+ value: "57"
29
+ change: "+12"
30
+ trend: up
31
+ - label: First reply
32
+ value: "12m"
33
+ change: "-3m"
34
+ trend: down
35
+ - type: SplitMasterDetail
36
+ props:
37
+ selectKey: selectedId
38
+ items:
39
+ - id: t-1
40
+ title: "Can't reset my password"
41
+ subtitle: "Jane Cooper · 4m ago"
42
+ - id: t-2
43
+ title: "Billing charged twice"
44
+ subtitle: "Wade Warren · 22m ago"
45
+ - id: t-3
46
+ title: "Feature request: dark mode"
47
+ subtitle: "Esther Howard · 1h ago"
48
+ - id: t-4
49
+ title: "API returns 500 on /orders"
50
+ subtitle: "Cameron W. · 2h ago"
51
+ slots:
52
+ detail:
53
+ - type: Card
54
+ props:
55
+ title: "Can't reset my password"
56
+ description: "Jane Cooper · #t-1 · Open"
57
+ slots:
58
+ actions:
59
+ - type: BadgeGroup
60
+ props:
61
+ items:
62
+ - label: Urgent
63
+ tone: error
64
+ - label: Auth
65
+ tone: info
66
+ children:
67
+ - type: KeyValueGrid
68
+ props:
69
+ cols: "2"
70
+ items:
71
+ - key: Customer
72
+ value: Jane Cooper
73
+ - key: Plan
74
+ value: Pro
75
+ - key: Channel
76
+ value: Email
77
+ - key: Assignee
78
+ value: You
79
+ - type: Divider
80
+ - type: Markdown
81
+ props:
82
+ content: |
83
+ Hi team — the **reset password** link in my email returns
84
+ *"token expired"* even seconds after I request it. I've tried
85
+ three times on Chrome and Safari.
86
+ - type: Form
87
+ children:
88
+ - type: "Form.TextArea"
89
+ props:
90
+ name: reply
91
+ label: Reply
92
+ rows: 3
93
+ placeholder: "Write a response…"
94
+ - type: "Form.Submit"
95
+ props:
96
+ label: Send reply
@@ -0,0 +1,98 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: team-directory
4
+ path: /
5
+ title: Team Directory
6
+ state:
7
+ search: ""
8
+ blocks:
9
+ - type: PageLayout
10
+ props:
11
+ title: People
12
+ slots:
13
+ headerActions:
14
+ - type: Button
15
+ props:
16
+ label: "+ Invite"
17
+ size: sm
18
+ children:
19
+ - type: Box
20
+ props:
21
+ className: "flex items-end justify-between gap-4 mb-3 border-b border-border pb-3"
22
+ children:
23
+ - type: Box
24
+ children:
25
+ - type: Heading
26
+ props:
27
+ level: 2
28
+ text: Team directory
29
+ - type: Paragraph
30
+ props:
31
+ size: sm
32
+ muted: true
33
+ text: "Demo roster · 6 people shown · live headcount n/a"
34
+ - type: BadgeGroup
35
+ props:
36
+ items:
37
+ - label: 6 in this table
38
+ tone: info
39
+ - label: Directory source offline
40
+ tone: warning
41
+ - type: StatGrid
42
+ props:
43
+ cols: "3"
44
+ items:
45
+ - label: Shown here
46
+ value: "6"
47
+ description: "sample rows"
48
+ - label: Departments
49
+ value: "4"
50
+ description: "Platform · AI · Flight · Design"
51
+ - label: Live headcount
52
+ value: "n/a"
53
+ description: "HRIS not connected"
54
+ - type: Card
55
+ props:
56
+ title: People
57
+ description: "Filter writes to state.search · empty copy is wired"
58
+ className: "rounded-none border border-border shadow-none"
59
+ children:
60
+ - type: SearchableTable
61
+ props:
62
+ searchKey: search
63
+ placeholder: "Search people…"
64
+ emptyText: No people match this search.
65
+ columns:
66
+ - key: name
67
+ label: Name
68
+ - key: role
69
+ label: Role
70
+ - key: dept
71
+ label: Department
72
+ - key: location
73
+ label: Location
74
+ rows:
75
+ - name: Ada Lovelace
76
+ role: Staff Engineer
77
+ dept: Platform
78
+ location: Lisbon
79
+ - name: Grace Hopper
80
+ role: Eng Manager
81
+ dept: Platform
82
+ location: Remote
83
+ - name: Alan Turing
84
+ role: Researcher
85
+ dept: AI
86
+ location: London
87
+ - name: Katherine Johnson
88
+ role: Data Scientist
89
+ dept: AI
90
+ location: NYC
91
+ - name: Margaret Hamilton
92
+ role: Principal Engineer
93
+ dept: Flight Systems
94
+ location: Boston
95
+ - name: Hedy Lamarr
96
+ role: Product Designer
97
+ dept: Design
98
+ location: Vienna
package/package.json CHANGED
@@ -1,6 +1,46 @@
1
1
  {
2
2
  "name": "@uibot/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.1",
4
+ "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/Foundj/uibot.git",
8
+ "directory": "packages/cli"
9
+ },
10
+ "type": "module",
11
+ "main": "./dist/index.js",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "bin": {
15
+ "uibot": "./dist/cli.js"
16
+ },
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js"
21
+ }
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "!dist/**/*.map",
26
+ "!dist/**/*.test.d.ts",
27
+ "!dist/**/*.spec.d.ts"
28
+ ],
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "dependencies": {
33
+ "@uibot/blocks-shadcn": "^0.2.1",
34
+ "@uibot/blocks-studio": "^0.2.1",
35
+ "@uibot/contracts": "^0.2.1",
36
+ "@uibot/design-md": "^0.2.1",
37
+ "@uibot/evaluation": "^0.2.1",
38
+ "@uibot/registry": "^0.2.1",
39
+ "@uibot/skills": "^0.2.1"
40
+ },
41
+ "scripts": {
42
+ "build": "rm -rf dist && bun build --minify ./src/cli.ts --outdir ./dist --format esm --target node && bun build ./src/index.ts --outdir ./dist --format esm --target node && bun run ./scripts/copy-resource-assets.ts && bun x tsc -p tsconfig.json",
43
+ "typecheck": "bun x tsc -p tsconfig.json --noEmit",
44
+ "test": "bun test"
45
+ }
46
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.