@uibot/mcp-server 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 (42) hide show
  1. package/dist/content.d.ts +15 -0
  2. package/dist/discovery.d.ts +40 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +0 -0
  5. package/dist/resources/design-md/claude.design.md +178 -0
  6. package/dist/resources/design-md/control-console.design.md +176 -0
  7. package/dist/resources/design-md/figma.design.md +102 -0
  8. package/dist/resources/design-md/frontend-principles.design.md +155 -0
  9. package/dist/resources/design-md/ibm.design.md +109 -0
  10. package/dist/resources/design-md/linear.design.md +175 -0
  11. package/dist/resources/design-md/notion.design.md +175 -0
  12. package/dist/resources/design-md/raycast.design.md +106 -0
  13. package/dist/resources/design-md/stripe.design.md +178 -0
  14. package/dist/resources/design-md/supabase.design.md +185 -0
  15. package/dist/resources/design-md/vercel.design.md +172 -0
  16. package/dist/resources/shells/app-shell-floating.yaml +42 -0
  17. package/dist/resources/shells/app-shell-icon-rail.yaml +42 -0
  18. package/dist/resources/shells/app-shell-inset.yaml +42 -0
  19. package/dist/resources/shells/app-shell-settings.yaml +56 -0
  20. package/dist/resources/shells/app-shell-sidebar.yaml +47 -0
  21. package/dist/resources/shells/app-shell-workspace.yaml +54 -0
  22. package/dist/resources/shells/shadcn-admin-shell.yaml +151 -0
  23. package/dist/resources/templates/admin-dashboard.yaml +183 -0
  24. package/dist/resources/templates/ai-chat.yaml +448 -0
  25. package/dist/resources/templates/analytics-dashboard.yaml +152 -0
  26. package/dist/resources/templates/auth.yaml +90 -0
  27. package/dist/resources/templates/blog.yaml +111 -0
  28. package/dist/resources/templates/crm.yaml +161 -0
  29. package/dist/resources/templates/ecommerce.yaml +169 -0
  30. package/dist/resources/templates/lms.yaml +459 -0
  31. package/dist/resources/templates/portfolio.yaml +139 -0
  32. package/dist/resources/templates/pricing.yaml +171 -0
  33. package/dist/resources/templates/saas-landing.yaml +199 -0
  34. package/dist/resources/templates/settings.yaml +151 -0
  35. package/dist/resources/templates/shadcn-admin.yaml +4660 -0
  36. package/dist/resources/templates/store.yaml +469 -0
  37. package/dist/resources/templates/support-inbox.yaml +96 -0
  38. package/dist/resources/templates/team-directory.yaml +98 -0
  39. package/dist/server.d.ts +23 -0
  40. package/dist/server.js +138 -0
  41. package/package.json +39 -4
  42. package/README.md +0 -3
@@ -0,0 +1,111 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: blog
4
+ path: /
5
+ title: The Northwind Journal
6
+ blocks:
7
+ - type: PageLayout
8
+ props:
9
+ title: The Journal
10
+ slots:
11
+ headerActions:
12
+ - type: Link
13
+ props:
14
+ label: Subscribe
15
+ href: "#"
16
+ variant: button
17
+ children:
18
+ - type: Box
19
+ props:
20
+ className: "flex flex-col gap-2 py-10 border-b border-border mb-8"
21
+ children:
22
+ - type: BadgeGroup
23
+ props:
24
+ items:
25
+ - label: Engineering
26
+ tone: info
27
+ - type: Heading
28
+ props:
29
+ level: 1
30
+ text: "Building a local-first sync engine"
31
+ - type: Paragraph
32
+ props:
33
+ muted: true
34
+ text: "By Ada Lovelace · March 14, 2026 · 8 min read"
35
+ - type: Grid
36
+ props:
37
+ cols: "3"
38
+ gap: lg
39
+ children:
40
+ # ── Article body ───────────────────────────────────
41
+ - type: Box
42
+ props:
43
+ className: "col-span-2"
44
+ children:
45
+ - type: Markdown
46
+ props:
47
+ content: |
48
+ Most apps treat the network as the source of truth. We flipped that.
49
+
50
+ ## Why local-first?
51
+
52
+ When the **local store** is authoritative, the UI never waits on a
53
+ round-trip. Reads and writes resolve instantly, then sync in the
54
+ background. The result is an interface that feels *native* even on
55
+ flaky connections.
56
+
57
+ - Zero perceived latency on every interaction
58
+ - Conflict-free merges via CRDTs
59
+ - Offline by default, online when possible
60
+
61
+ ## The hard part
62
+
63
+ Ordering. We assign each mutation a `lamport` timestamp and replay
64
+ them deterministically across clients. The merge function is pure,
65
+ so two clients always converge on the same state.
66
+
67
+ > The best sync is the sync you never notice.
68
+
69
+ Next week we'll dig into how we keep the wire format under 100 bytes
70
+ per mutation.
71
+ # ── Sidebar ────────────────────────────────────────
72
+ - type: Box
73
+ props:
74
+ className: "flex flex-col gap-4"
75
+ children:
76
+ - type: Card
77
+ props:
78
+ title: More posts
79
+ children:
80
+ - type: List
81
+ props:
82
+ divided: true
83
+ children:
84
+ - type: Link
85
+ props:
86
+ label: "Designing for keyboard-first teams"
87
+ href: "#"
88
+ - type: Link
89
+ props:
90
+ label: "How we cut bundle size by 40%"
91
+ href: "#"
92
+ - type: Link
93
+ props:
94
+ label: "A field guide to CRDTs"
95
+ href: "#"
96
+ - type: Card
97
+ props:
98
+ title: Newsletter
99
+ description: "One thoughtful email a week"
100
+ children:
101
+ - type: Form
102
+ children:
103
+ - type: "Form.Input"
104
+ props:
105
+ name: email
106
+ type: email
107
+ placeholder: you@company.com
108
+ - type: "Form.Submit"
109
+ props:
110
+ label: Subscribe
111
+ full: true
@@ -0,0 +1,161 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: crm
4
+ path: /
5
+ title: Pipeline — CRM
6
+ blocks:
7
+ - type: PageLayout
8
+ template: app-shell-sidebar
9
+ props:
10
+ title: Relate CRM
11
+ slots:
12
+ headerActions:
13
+ - type: Button
14
+ props:
15
+ label: "+ Add lead"
16
+ size: sm
17
+ sidebar:
18
+ - type: PageSiderMenu
19
+ props:
20
+ title: Sales
21
+ children:
22
+ - type: MenuLink
23
+ props:
24
+ label: Pipeline
25
+ href: "#"
26
+ icon: "◫"
27
+ active: true
28
+ - type: MenuLink
29
+ props:
30
+ label: Contacts
31
+ href: "#"
32
+ icon: "◍"
33
+ badge: "5"
34
+ - type: MenuLink
35
+ props:
36
+ label: Deals
37
+ href: "#"
38
+ icon: "◆"
39
+ - type: MenuLink
40
+ props:
41
+ label: Reports
42
+ href: "#"
43
+ icon: "◔"
44
+ badge: "n/a"
45
+ children:
46
+ - type: Box
47
+ props:
48
+ className: "flex items-end justify-between gap-4 mb-3 border-b border-border pb-3"
49
+ children:
50
+ - type: Box
51
+ children:
52
+ - type: Heading
53
+ props:
54
+ level: 2
55
+ text: Pipeline
56
+ - type: Paragraph
57
+ props:
58
+ size: sm
59
+ muted: true
60
+ text: "Demo workspace · sample deals, not live ARR"
61
+ - type: BadgeGroup
62
+ props:
63
+ items:
64
+ - label: 1 hot deal
65
+ tone: warning
66
+ - label: Forecast n/a
67
+ tone: info
68
+ - type: Toast
69
+ props:
70
+ level: warning
71
+ title: Status first
72
+ message: "Umbrella Inc is marked hot. Pipeline dollars below are demo labels — live forecast stays n/a."
73
+ - type: StatGrid
74
+ props:
75
+ cols: "3"
76
+ items:
77
+ - label: Open pipeline (demo)
78
+ value: "$1.24M"
79
+ change: "sample board"
80
+ trend: up
81
+ - label: Win rate (demo)
82
+ value: "32%"
83
+ change: "+3pt sample"
84
+ trend: up
85
+ - label: Live forecast
86
+ value: "n/a"
87
+ description: "CRM source offline"
88
+ - type: Card
89
+ props:
90
+ title: Pipeline by stage
91
+ description: "Five sample cards · hairline board"
92
+ className: "rounded-none border border-border shadow-none"
93
+ children:
94
+ - type: KanbanBoard
95
+ props:
96
+ columns:
97
+ - id: lead
98
+ title: Lead
99
+ - id: qualified
100
+ title: Qualified
101
+ - id: proposal
102
+ title: Proposal
103
+ - id: won
104
+ title: Won
105
+ cards:
106
+ - id: c1
107
+ column: lead
108
+ title: Globex Corp
109
+ subtitle: "$22,000 · demo"
110
+ badge: New
111
+ - id: c2
112
+ column: lead
113
+ title: Initech
114
+ subtitle: "$8,400 · demo"
115
+ - id: c3
116
+ column: qualified
117
+ title: Umbrella Inc
118
+ subtitle: "$54,000 · demo"
119
+ badge: Hot
120
+ - id: c4
121
+ column: proposal
122
+ title: Stark Industries
123
+ subtitle: "$140,000 · demo"
124
+ - id: c5
125
+ column: won
126
+ title: Wayne Enterprises
127
+ subtitle: "$96,000 · demo"
128
+ badge: Closed
129
+ - type: Card
130
+ props:
131
+ title: Recent contacts
132
+ description: "Empty state is wired if the demo rows are cleared"
133
+ className: "rounded-none border border-border shadow-none"
134
+ children:
135
+ - type: Table
136
+ props:
137
+ emptyText: No contacts in this window.
138
+ striped: true
139
+ columns:
140
+ - key: name
141
+ label: Name
142
+ - key: company
143
+ label: Company
144
+ - key: stage
145
+ label: Stage
146
+ - key: value
147
+ label: Value
148
+ align: right
149
+ rows:
150
+ - name: Marcus Webb
151
+ company: Globex Corp
152
+ stage: Lead
153
+ value: "$22,000"
154
+ - name: Lena Park
155
+ company: Umbrella Inc
156
+ stage: Qualified
157
+ value: "$54,000"
158
+ - name: Omar Haddad
159
+ company: Stark Industries
160
+ stage: Proposal
161
+ value: "$140,000"
@@ -0,0 +1,169 @@
1
+ version: "2.0"
2
+ pages:
3
+ - id: ecommerce
4
+ path: /
5
+ title: Shop — All products
6
+ blocks:
7
+ - type: PageLayout
8
+ props:
9
+ title: Atelier
10
+ slots:
11
+ headerActions:
12
+ - type: Link
13
+ props:
14
+ label: "Cart · 2"
15
+ href: "#"
16
+ variant: button
17
+ children:
18
+ - type: Box
19
+ props:
20
+ className: "flex items-end justify-between mb-4 border-b border-border pb-4"
21
+ children:
22
+ - type: Box
23
+ children:
24
+ - type: Heading
25
+ props:
26
+ level: 2
27
+ text: "New arrivals"
28
+ - type: Paragraph
29
+ props:
30
+ size: sm
31
+ muted: true
32
+ text: "Demo catalog · 4 sample SKUs · photos not attached"
33
+ - type: Box
34
+ props:
35
+ className: "w-48"
36
+ children:
37
+ - type: Form
38
+ children:
39
+ - type: "Form.Select"
40
+ props:
41
+ name: sort
42
+ options:
43
+ - value: featured
44
+ label: Featured
45
+ - value: price-asc
46
+ label: "Price: low to high"
47
+ - value: newest
48
+ label: Newest
49
+ - type: "Form.Submit"
50
+ props:
51
+ label: Apply
52
+ variant: ghost
53
+ - type: Grid
54
+ props:
55
+ cols: "4"
56
+ responsive: true
57
+ gap: lg
58
+ children:
59
+ - type: Card
60
+ props:
61
+ className: "rounded-none border border-border shadow-none"
62
+ children:
63
+ - type: Box
64
+ props:
65
+ className: "h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex items-center justify-center"
66
+ children:
67
+ - type: Paragraph
68
+ props:
69
+ size: sm
70
+ muted: true
71
+ text: "No image"
72
+ - type: BadgeGroup
73
+ props:
74
+ items:
75
+ - label: New
76
+ tone: success
77
+ - type: Heading
78
+ props:
79
+ level: 4
80
+ text: "Linen Overshirt"
81
+ - type: Stat
82
+ props:
83
+ value: "$128"
84
+ description: "sample price"
85
+ - type: Button
86
+ props:
87
+ label: Add to cart
88
+ full: true
89
+ - type: Card
90
+ props:
91
+ className: "rounded-none border border-border shadow-none"
92
+ children:
93
+ - type: Box
94
+ props:
95
+ className: "h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex items-center justify-center"
96
+ children:
97
+ - type: Paragraph
98
+ props:
99
+ size: sm
100
+ muted: true
101
+ text: "No image"
102
+ - type: Heading
103
+ props:
104
+ level: 4
105
+ text: "Wool Trousers"
106
+ - type: Stat
107
+ props:
108
+ value: "$96"
109
+ change: "$120"
110
+ description: "was $120 · sample"
111
+ - type: Button
112
+ props:
113
+ label: Add to cart
114
+ full: true
115
+ - type: Card
116
+ props:
117
+ className: "rounded-none border border-border shadow-none"
118
+ children:
119
+ - type: Box
120
+ props:
121
+ className: "h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex items-center justify-center"
122
+ children:
123
+ - type: Paragraph
124
+ props:
125
+ size: sm
126
+ muted: true
127
+ text: "No image"
128
+ - type: Heading
129
+ props:
130
+ level: 4
131
+ text: "Canvas Tote"
132
+ - type: Stat
133
+ props:
134
+ value: "$54"
135
+ description: "sample price"
136
+ - type: Button
137
+ props:
138
+ label: Add to cart
139
+ full: true
140
+ - type: Card
141
+ props:
142
+ className: "rounded-none border border-border shadow-none"
143
+ children:
144
+ - type: Box
145
+ props:
146
+ className: "h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex items-center justify-center"
147
+ children:
148
+ - type: Paragraph
149
+ props:
150
+ size: sm
151
+ muted: true
152
+ text: "No image"
153
+ - type: BadgeGroup
154
+ props:
155
+ items:
156
+ - label: Low stock
157
+ tone: warning
158
+ - type: Heading
159
+ props:
160
+ level: 4
161
+ text: "Leather Belt"
162
+ - type: Stat
163
+ props:
164
+ value: "$72"
165
+ description: "2 left in demo"
166
+ - type: Button
167
+ props:
168
+ label: Add to cart
169
+ full: true