@solidnumber/cli 2.23.0 → 2.24.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.
- package/README.md +13 -6
- package/dist/commands/ai.d.ts.map +1 -1
- package/dist/commands/ai.js +83 -1
- package/dist/commands/ai.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +23 -4
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/connect.d.ts.map +1 -1
- package/dist/commands/connect.js +9 -1
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/context.js +2 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/deploy.js +18 -5
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/domains.d.ts.map +1 -1
- package/dist/commands/domains.js +102 -17
- package/dist/commands/domains.js.map +1 -1
- package/dist/commands/find.d.ts +17 -2
- package/dist/commands/find.d.ts.map +1 -1
- package/dist/commands/find.js +66 -14
- package/dist/commands/find.js.map +1 -1
- package/dist/commands/import.d.ts +12 -1
- package/dist/commands/import.d.ts.map +1 -1
- package/dist/commands/import.js +43 -4
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/init.d.ts +22 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +64 -4
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/mcp.d.ts +1 -0
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +259 -7
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/onboarding.d.ts +20 -0
- package/dist/commands/onboarding.d.ts.map +1 -1
- package/dist/commands/onboarding.js +160 -32
- package/dist/commands/onboarding.js.map +1 -1
- package/dist/commands/publish.d.ts +41 -3
- package/dist/commands/publish.d.ts.map +1 -1
- package/dist/commands/publish.js +160 -14
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/pull.js +2 -12
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +2 -1
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/schema.d.ts +5 -4
- package/dist/commands/schema.d.ts.map +1 -1
- package/dist/commands/schema.js +40 -13
- package/dist/commands/schema.js.map +1 -1
- package/dist/commands/switch.d.ts.map +1 -1
- package/dist/commands/switch.js +41 -0
- package/dist/commands/switch.js.map +1 -1
- package/dist/commands/verbs.d.ts.map +1 -1
- package/dist/commands/verbs.js +6 -1
- package/dist/commands/verbs.js.map +1 -1
- package/dist/data/cms-blocks.json +205 -15
- package/dist/index.js +43 -25
- package/dist/index.js.map +1 -1
- package/dist/lib/ai-tool-connect.d.ts +75 -0
- package/dist/lib/ai-tool-connect.d.ts.map +1 -0
- package/dist/lib/ai-tool-connect.js +155 -0
- package/dist/lib/ai-tool-connect.js.map +1 -0
- package/dist/lib/block-schema-source.d.ts +59 -0
- package/dist/lib/block-schema-source.d.ts.map +1 -0
- package/dist/lib/block-schema-source.js +173 -0
- package/dist/lib/block-schema-source.js.map +1 -0
- package/dist/lib/block-types.d.ts +5 -0
- package/dist/lib/block-types.d.ts.map +1 -1
- package/dist/lib/dns-instructions.d.ts +44 -0
- package/dist/lib/dns-instructions.d.ts.map +1 -0
- package/dist/lib/dns-instructions.js +108 -0
- package/dist/lib/dns-instructions.js.map +1 -0
- package/dist/lib/esm-import.js +1 -1
- package/dist/lib/mcp-providers.d.ts +162 -0
- package/dist/lib/mcp-providers.d.ts.map +1 -0
- package/dist/lib/mcp-providers.js +488 -0
- package/dist/lib/mcp-providers.js.map +1 -0
- package/dist/lib/mcp-sync.d.ts +51 -0
- package/dist/lib/mcp-sync.d.ts.map +1 -0
- package/dist/lib/mcp-sync.js +176 -0
- package/dist/lib/mcp-sync.js.map +1 -0
- package/dist/lib/mcp-tenant-check.d.ts +92 -0
- package/dist/lib/mcp-tenant-check.d.ts.map +1 -0
- package/dist/lib/mcp-tenant-check.js +220 -0
- package/dist/lib/mcp-tenant-check.js.map +1 -0
- package/dist/lib/tenant-guard.d.ts +10 -0
- package/dist/lib/tenant-guard.d.ts.map +1 -1
- package/dist/lib/tenant-guard.js +31 -2
- package/dist/lib/tenant-guard.js.map +1 -1
- package/dist/lib/ui.d.ts.map +1 -1
- package/dist/lib/ui.js +26 -2
- package/dist/lib/ui.js.map +1 -1
- package/dist/lib/update-notice.d.ts +30 -0
- package/dist/lib/update-notice.d.ts.map +1 -0
- package/dist/lib/update-notice.js +143 -0
- package/dist/lib/update-notice.js.map +1 -0
- package/dist/lib/verb-metadata.d.ts.map +1 -1
- package/dist/lib/verb-metadata.js +4 -1
- package/dist/lib/verb-metadata.js.map +1 -1
- package/package.json +4 -5
- package/platform-docs/llms.txt +8 -8
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_meta": {
|
|
3
|
-
"version": "1.
|
|
4
|
-
"source": "
|
|
5
|
-
"extracted_from": "solid-frontend/src/components/cms/blocks/*.tsx
|
|
6
|
-
"
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"source": "solid-backend/schemas/block_schema.py (served live at GET /api/v1/cms/pages/schema)",
|
|
5
|
+
"extracted_from": "block types, required/optional props and aliases: solid-backend/schemas/block_schema.py; component names, categories, prop types, enums and examples: solid-frontend/src/components/cms/blocks/*.tsx",
|
|
6
|
+
"synced_at": "2026-09-17",
|
|
7
|
+
"note": "OFFLINE FALLBACK. `solid schema pages` fetches the live schema first and only uses this file when the API is unreachable — output says so. Re-sync from block_schema.py when block types change."
|
|
7
8
|
},
|
|
8
9
|
"envelope": {
|
|
9
10
|
"sections": "array of block objects",
|
|
@@ -12,7 +13,11 @@
|
|
|
12
13
|
"Each section must have `type: string` matching a canonical block type or alias.",
|
|
13
14
|
"Props can be flat on the section (recommended) or nested under `config` / `props`.",
|
|
14
15
|
"`id` is optional but recommended for stable diffs.",
|
|
15
|
-
"`SECTION_TYPE_MAP` in solid-frontend/src/components/cms/PageRenderer.tsx resolves kebab-case / snake_case / PascalCase / aliases into the
|
|
16
|
+
"`SECTION_TYPE_MAP` in solid-frontend/src/components/cms/PageRenderer.tsx resolves kebab-case / snake_case / PascalCase / aliases into the registry components."
|
|
17
|
+
],
|
|
18
|
+
"universal_optional_props": [
|
|
19
|
+
"mcp_tools",
|
|
20
|
+
"motion"
|
|
16
21
|
]
|
|
17
22
|
},
|
|
18
23
|
"blocks": [
|
|
@@ -20,6 +25,7 @@
|
|
|
20
25
|
"type": "hero",
|
|
21
26
|
"component": "Hero",
|
|
22
27
|
"category": "Headers",
|
|
28
|
+
"required": [],
|
|
23
29
|
"props": {
|
|
24
30
|
"title": "string",
|
|
25
31
|
"subtitle": "string",
|
|
@@ -45,6 +51,11 @@
|
|
|
45
51
|
"type": "hero-image",
|
|
46
52
|
"component": "HeroImage",
|
|
47
53
|
"category": "Headers",
|
|
54
|
+
"aliases": [
|
|
55
|
+
"hero_image",
|
|
56
|
+
"heroimage"
|
|
57
|
+
],
|
|
58
|
+
"required": [],
|
|
48
59
|
"props": {
|
|
49
60
|
"title": "string",
|
|
50
61
|
"subtitle": "string",
|
|
@@ -58,6 +69,11 @@
|
|
|
58
69
|
"type": "hero-split",
|
|
59
70
|
"component": "HeroSplit",
|
|
60
71
|
"category": "Headers",
|
|
72
|
+
"aliases": [
|
|
73
|
+
"hero_split",
|
|
74
|
+
"herosplit"
|
|
75
|
+
],
|
|
76
|
+
"required": [],
|
|
61
77
|
"props": {
|
|
62
78
|
"title": "string",
|
|
63
79
|
"subtitle": "string",
|
|
@@ -70,6 +86,12 @@
|
|
|
70
86
|
"type": "text",
|
|
71
87
|
"component": "TextBlock",
|
|
72
88
|
"category": "Content",
|
|
89
|
+
"aliases": [
|
|
90
|
+
"text-block",
|
|
91
|
+
"text_block",
|
|
92
|
+
"textblock"
|
|
93
|
+
],
|
|
94
|
+
"required": [],
|
|
73
95
|
"props": {
|
|
74
96
|
"title": "string",
|
|
75
97
|
"content": "string (HTML/markdown-ish, backend sanitizes)",
|
|
@@ -82,6 +104,7 @@
|
|
|
82
104
|
"type": "accordion",
|
|
83
105
|
"component": "Accordion",
|
|
84
106
|
"category": "Content",
|
|
107
|
+
"required": [],
|
|
85
108
|
"props": {
|
|
86
109
|
"title": "string",
|
|
87
110
|
"subtitle": "string",
|
|
@@ -93,6 +116,12 @@
|
|
|
93
116
|
"type": "process-steps",
|
|
94
117
|
"component": "ProcessSteps",
|
|
95
118
|
"category": "Content",
|
|
119
|
+
"aliases": [
|
|
120
|
+
"process",
|
|
121
|
+
"process_steps",
|
|
122
|
+
"processsteps"
|
|
123
|
+
],
|
|
124
|
+
"required": [],
|
|
96
125
|
"props": {
|
|
97
126
|
"title": "string",
|
|
98
127
|
"subtitle": "string",
|
|
@@ -103,6 +132,12 @@
|
|
|
103
132
|
"type": "blog-preview",
|
|
104
133
|
"component": "BlogPreview",
|
|
105
134
|
"category": "Content",
|
|
135
|
+
"aliases": [
|
|
136
|
+
"blog",
|
|
137
|
+
"blog_preview",
|
|
138
|
+
"blogpreview"
|
|
139
|
+
],
|
|
140
|
+
"required": [],
|
|
106
141
|
"props": {
|
|
107
142
|
"title": "string",
|
|
108
143
|
"subtitle": "string",
|
|
@@ -115,6 +150,12 @@
|
|
|
115
150
|
"type": "features",
|
|
116
151
|
"component": "FeaturesGrid",
|
|
117
152
|
"category": "Features & Pricing",
|
|
153
|
+
"aliases": [
|
|
154
|
+
"features-grid",
|
|
155
|
+
"features_grid",
|
|
156
|
+
"featuresgrid"
|
|
157
|
+
],
|
|
158
|
+
"required": [],
|
|
118
159
|
"props": {
|
|
119
160
|
"title": "string",
|
|
120
161
|
"subtitle": "string",
|
|
@@ -123,15 +164,32 @@
|
|
|
123
164
|
"backgroundColor": "string"
|
|
124
165
|
},
|
|
125
166
|
"enums": {
|
|
126
|
-
"icon": [
|
|
167
|
+
"icon": [
|
|
168
|
+
"Zap",
|
|
169
|
+
"Shield",
|
|
170
|
+
"Star",
|
|
171
|
+
"Rocket",
|
|
172
|
+
"Users",
|
|
173
|
+
"BarChart",
|
|
174
|
+
"Lock",
|
|
175
|
+
"Globe"
|
|
176
|
+
]
|
|
127
177
|
},
|
|
128
178
|
"example": {
|
|
129
179
|
"id": "features-1",
|
|
130
180
|
"type": "features",
|
|
131
181
|
"title": "Why us",
|
|
132
182
|
"features": [
|
|
133
|
-
{
|
|
134
|
-
|
|
183
|
+
{
|
|
184
|
+
"icon": "Zap",
|
|
185
|
+
"title": "Fast",
|
|
186
|
+
"description": "60-minute response."
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"icon": "Shield",
|
|
190
|
+
"title": "Safe",
|
|
191
|
+
"description": "Bonded and insured."
|
|
192
|
+
}
|
|
135
193
|
],
|
|
136
194
|
"columns": 2
|
|
137
195
|
}
|
|
@@ -140,6 +198,12 @@
|
|
|
140
198
|
"type": "pricing",
|
|
141
199
|
"component": "PricingCards",
|
|
142
200
|
"category": "Features & Pricing",
|
|
201
|
+
"aliases": [
|
|
202
|
+
"pricing-cards",
|
|
203
|
+
"pricing_cards",
|
|
204
|
+
"pricingcards"
|
|
205
|
+
],
|
|
206
|
+
"required": [],
|
|
143
207
|
"props": {
|
|
144
208
|
"title": "string",
|
|
145
209
|
"subtitle": "string",
|
|
@@ -150,6 +214,7 @@
|
|
|
150
214
|
"type": "cta",
|
|
151
215
|
"component": "CTA",
|
|
152
216
|
"category": "Calls to Action",
|
|
217
|
+
"required": [],
|
|
153
218
|
"props": {
|
|
154
219
|
"title": "string",
|
|
155
220
|
"subtitle": "string",
|
|
@@ -166,6 +231,7 @@
|
|
|
166
231
|
"type": "countdown",
|
|
167
232
|
"component": "Countdown",
|
|
168
233
|
"category": "Calls to Action",
|
|
234
|
+
"required": [],
|
|
169
235
|
"props": {
|
|
170
236
|
"title": "string",
|
|
171
237
|
"subtitle": "string",
|
|
@@ -178,6 +244,7 @@
|
|
|
178
244
|
"type": "testimonials",
|
|
179
245
|
"component": "Testimonials",
|
|
180
246
|
"category": "Social Proof",
|
|
247
|
+
"required": [],
|
|
181
248
|
"props": {
|
|
182
249
|
"title": "string",
|
|
183
250
|
"subtitle": "string",
|
|
@@ -189,19 +256,29 @@
|
|
|
189
256
|
"type": "stats",
|
|
190
257
|
"component": "Stats",
|
|
191
258
|
"category": "Social Proof",
|
|
259
|
+
"required": [],
|
|
192
260
|
"props": {
|
|
193
261
|
"title": "string",
|
|
194
262
|
"subtitle": "string",
|
|
195
263
|
"stats": "Stat[] — { value, label, icon }"
|
|
196
264
|
},
|
|
197
265
|
"enums": {
|
|
198
|
-
"icon": [
|
|
266
|
+
"icon": [
|
|
267
|
+
"trending",
|
|
268
|
+
"users",
|
|
269
|
+
"globe",
|
|
270
|
+
"zap"
|
|
271
|
+
]
|
|
199
272
|
}
|
|
200
273
|
},
|
|
201
274
|
{
|
|
202
275
|
"type": "team",
|
|
203
276
|
"component": "Team",
|
|
204
277
|
"category": "Social Proof",
|
|
278
|
+
"aliases": [
|
|
279
|
+
"staff"
|
|
280
|
+
],
|
|
281
|
+
"required": [],
|
|
205
282
|
"props": {
|
|
206
283
|
"title": "string",
|
|
207
284
|
"subtitle": "string",
|
|
@@ -212,6 +289,14 @@
|
|
|
212
289
|
"type": "logo-cloud",
|
|
213
290
|
"component": "LogoCloud",
|
|
214
291
|
"category": "Social Proof",
|
|
292
|
+
"aliases": [
|
|
293
|
+
"clients",
|
|
294
|
+
"logo_cloud",
|
|
295
|
+
"logocloud",
|
|
296
|
+
"logos",
|
|
297
|
+
"partners"
|
|
298
|
+
],
|
|
299
|
+
"required": [],
|
|
215
300
|
"props": {
|
|
216
301
|
"title": "string",
|
|
217
302
|
"logos": "Logo[] — { id, name, src }"
|
|
@@ -221,6 +306,12 @@
|
|
|
221
306
|
"type": "google-reviews",
|
|
222
307
|
"component": "GoogleReviews",
|
|
223
308
|
"category": "Social Proof",
|
|
309
|
+
"aliases": [
|
|
310
|
+
"google_reviews",
|
|
311
|
+
"googlereviews",
|
|
312
|
+
"reviews"
|
|
313
|
+
],
|
|
314
|
+
"required": [],
|
|
224
315
|
"props": {
|
|
225
316
|
"title": "string",
|
|
226
317
|
"subtitle": "string",
|
|
@@ -233,6 +324,10 @@
|
|
|
233
324
|
"type": "gallery",
|
|
234
325
|
"component": "Gallery",
|
|
235
326
|
"category": "Media",
|
|
327
|
+
"aliases": [
|
|
328
|
+
"portfolio"
|
|
329
|
+
],
|
|
330
|
+
"required": [],
|
|
236
331
|
"props": {
|
|
237
332
|
"title": "string",
|
|
238
333
|
"subtitle": "string",
|
|
@@ -245,7 +340,14 @@
|
|
|
245
340
|
"type": "video-embed",
|
|
246
341
|
"component": "VideoEmbed",
|
|
247
342
|
"category": "Media",
|
|
248
|
-
"aliases": [
|
|
343
|
+
"aliases": [
|
|
344
|
+
"video",
|
|
345
|
+
"video_embed",
|
|
346
|
+
"videoembed",
|
|
347
|
+
"vimeo",
|
|
348
|
+
"youtube"
|
|
349
|
+
],
|
|
350
|
+
"required": [],
|
|
249
351
|
"props": {
|
|
250
352
|
"title": "string",
|
|
251
353
|
"subtitle": "string",
|
|
@@ -259,6 +361,11 @@
|
|
|
259
361
|
"type": "before-after",
|
|
260
362
|
"component": "BeforeAfter",
|
|
261
363
|
"category": "Media",
|
|
364
|
+
"aliases": [
|
|
365
|
+
"before_after",
|
|
366
|
+
"beforeafter"
|
|
367
|
+
],
|
|
368
|
+
"required": [],
|
|
262
369
|
"props": {
|
|
263
370
|
"title": "string",
|
|
264
371
|
"subtitle": "string",
|
|
@@ -269,12 +376,22 @@
|
|
|
269
376
|
"type": "contact",
|
|
270
377
|
"component": "ContactForm",
|
|
271
378
|
"category": "Forms & Widgets",
|
|
379
|
+
"aliases": [
|
|
380
|
+
"contact-form",
|
|
381
|
+
"contact_form",
|
|
382
|
+
"contactform",
|
|
383
|
+
"form"
|
|
384
|
+
],
|
|
385
|
+
"required": [],
|
|
272
386
|
"props": {
|
|
273
387
|
"title": "string",
|
|
274
388
|
"subtitle": "string",
|
|
275
389
|
"email": "string",
|
|
276
390
|
"phone": "string",
|
|
277
|
-
"address": "string"
|
|
391
|
+
"address": "string",
|
|
392
|
+
"fields": "unknown — accepted by the backend validator; the frontend block does not read it",
|
|
393
|
+
"submit_text": "unknown — accepted by the backend validator; the frontend block does not read it",
|
|
394
|
+
"post_url": "unknown — accepted by the backend validator; the frontend block does not read it"
|
|
278
395
|
},
|
|
279
396
|
"notes": "Pulls missing contact fields from company context."
|
|
280
397
|
},
|
|
@@ -282,10 +399,19 @@
|
|
|
282
399
|
"type": "booking",
|
|
283
400
|
"component": "BookingWidget",
|
|
284
401
|
"category": "Forms & Widgets",
|
|
402
|
+
"aliases": [
|
|
403
|
+
"appointments",
|
|
404
|
+
"booking_widget",
|
|
405
|
+
"bookingwidget",
|
|
406
|
+
"schedule"
|
|
407
|
+
],
|
|
408
|
+
"required": [],
|
|
285
409
|
"props": {
|
|
286
410
|
"title": "string",
|
|
287
411
|
"subtitle": "string",
|
|
288
|
-
"services": "string[]"
|
|
412
|
+
"services": "string[]",
|
|
413
|
+
"calendar_url": "unknown — accepted by the backend validator; the frontend block does not read it",
|
|
414
|
+
"slot_duration": "unknown — accepted by the backend validator; the frontend block does not read it"
|
|
289
415
|
},
|
|
290
416
|
"notes": "Pulls missing services from company context."
|
|
291
417
|
},
|
|
@@ -293,18 +419,31 @@
|
|
|
293
419
|
"type": "chat-widget",
|
|
294
420
|
"component": "ChatWidgetBlock",
|
|
295
421
|
"category": "Forms & Widgets",
|
|
296
|
-
"aliases": [
|
|
422
|
+
"aliases": [
|
|
423
|
+
"chat",
|
|
424
|
+
"chat_widget",
|
|
425
|
+
"chatwidget",
|
|
426
|
+
"chatwidgetblock"
|
|
427
|
+
],
|
|
428
|
+
"required": [],
|
|
297
429
|
"props": {
|
|
298
430
|
"chat_id": "string",
|
|
299
431
|
"position": "\"bottom-right\" | \"bottom-left\"",
|
|
300
432
|
"greeting": "string",
|
|
301
|
-
"primaryColor": "string"
|
|
433
|
+
"primaryColor": "string",
|
|
434
|
+
"agent_id": "unknown — accepted by the backend validator; the frontend block does not read it"
|
|
302
435
|
}
|
|
303
436
|
},
|
|
304
437
|
{
|
|
305
438
|
"type": "business-hours",
|
|
306
439
|
"component": "BusinessHours",
|
|
307
440
|
"category": "Business Info",
|
|
441
|
+
"aliases": [
|
|
442
|
+
"business_hours",
|
|
443
|
+
"businesshours",
|
|
444
|
+
"hours"
|
|
445
|
+
],
|
|
446
|
+
"required": [],
|
|
308
447
|
"props": {
|
|
309
448
|
"title": "string",
|
|
310
449
|
"subtitle": "string",
|
|
@@ -316,6 +455,16 @@
|
|
|
316
455
|
"type": "products",
|
|
317
456
|
"component": "ProductCatalog",
|
|
318
457
|
"category": "Business Info",
|
|
458
|
+
"aliases": [
|
|
459
|
+
"catalog",
|
|
460
|
+
"menu",
|
|
461
|
+
"product-catalog",
|
|
462
|
+
"product_catalog",
|
|
463
|
+
"productcatalog",
|
|
464
|
+
"service-menu",
|
|
465
|
+
"service_menu"
|
|
466
|
+
],
|
|
467
|
+
"required": [],
|
|
319
468
|
"props": {
|
|
320
469
|
"title": "string",
|
|
321
470
|
"subtitle": "string",
|
|
@@ -323,7 +472,8 @@
|
|
|
323
472
|
"featured_only": "boolean",
|
|
324
473
|
"columns": "2 | 3 | 4",
|
|
325
474
|
"show_prices": "boolean",
|
|
326
|
-
"layout": "\"grid\" | \"list\""
|
|
475
|
+
"layout": "\"grid\" | \"list\"",
|
|
476
|
+
"product_ids": "unknown — accepted by the backend validator; the frontend block does not read it"
|
|
327
477
|
},
|
|
328
478
|
"notes": "Pulls products from company context."
|
|
329
479
|
},
|
|
@@ -331,6 +481,13 @@
|
|
|
331
481
|
"type": "service-area",
|
|
332
482
|
"component": "ServiceArea",
|
|
333
483
|
"category": "Business Info",
|
|
484
|
+
"aliases": [
|
|
485
|
+
"areas",
|
|
486
|
+
"coverage",
|
|
487
|
+
"service_area",
|
|
488
|
+
"servicearea"
|
|
489
|
+
],
|
|
490
|
+
"required": [],
|
|
334
491
|
"props": {
|
|
335
492
|
"title": "string",
|
|
336
493
|
"subtitle": "string",
|
|
@@ -342,6 +499,14 @@
|
|
|
342
499
|
"type": "map-embed",
|
|
343
500
|
"component": "MapEmbed",
|
|
344
501
|
"category": "Business Info",
|
|
502
|
+
"aliases": [
|
|
503
|
+
"directions",
|
|
504
|
+
"location",
|
|
505
|
+
"map",
|
|
506
|
+
"map_embed",
|
|
507
|
+
"mapembed"
|
|
508
|
+
],
|
|
509
|
+
"required": [],
|
|
345
510
|
"props": {
|
|
346
511
|
"title": "string",
|
|
347
512
|
"subtitle": "string"
|
|
@@ -352,6 +517,7 @@
|
|
|
352
517
|
"type": "faq",
|
|
353
518
|
"component": "FAQ",
|
|
354
519
|
"category": "FAQ",
|
|
520
|
+
"required": [],
|
|
355
521
|
"props": {
|
|
356
522
|
"title": "string",
|
|
357
523
|
"subtitle": "string",
|
|
@@ -362,10 +528,34 @@
|
|
|
362
528
|
"type": "divider",
|
|
363
529
|
"component": "Divider",
|
|
364
530
|
"category": "Layout",
|
|
531
|
+
"aliases": [
|
|
532
|
+
"separator",
|
|
533
|
+
"spacer"
|
|
534
|
+
],
|
|
535
|
+
"required": [],
|
|
365
536
|
"props": {
|
|
366
537
|
"style": "\"line\" | \"dots\" | \"gradient\" | \"space\"",
|
|
367
538
|
"spacing": "\"small\" | \"medium\" | \"large\""
|
|
368
539
|
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"type": "raw_html",
|
|
543
|
+
"component": "RawHtml",
|
|
544
|
+
"category": "Escape Hatch",
|
|
545
|
+
"aliases": [
|
|
546
|
+
"html",
|
|
547
|
+
"raw-html",
|
|
548
|
+
"rawhtml"
|
|
549
|
+
],
|
|
550
|
+
"required": [
|
|
551
|
+
"html"
|
|
552
|
+
],
|
|
553
|
+
"props": {
|
|
554
|
+
"html": "string (sanitized with DOMPurify at render)",
|
|
555
|
+
"tag": "\"div\" | \"section\" | \"article\" | \"main\" | \"aside\"",
|
|
556
|
+
"className": "string"
|
|
557
|
+
},
|
|
558
|
+
"notes": "Escape hatch for imports (Nest/Ant). Use only when no native block fits the source markup. `html` is required."
|
|
369
559
|
}
|
|
370
560
|
]
|
|
371
561
|
}
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,7 @@ const offline_queue_1 = require("./lib/offline-queue");
|
|
|
71
71
|
// T11.3 — program-level --json flag that cascades to subcommands which
|
|
72
72
|
// don't explicitly declare their own --json option.
|
|
73
73
|
const json_output_1 = require("./lib/json-output");
|
|
74
|
+
const update_notice_1 = require("./lib/update-notice");
|
|
74
75
|
(0, json_output_1.activateProgramJsonIfRequested)(process.argv);
|
|
75
76
|
// AI-first I/O — soft warn when a non-TTY caller (agent / MCP / CI) is
|
|
76
77
|
// about to operate on the implicit current company without --company.
|
|
@@ -204,30 +205,46 @@ const doctor_1 = require("./commands/doctor");
|
|
|
204
205
|
const update_1 = require("./commands/update");
|
|
205
206
|
const graph_1 = require("./commands/graph");
|
|
206
207
|
const ui_1 = require("./lib/ui");
|
|
207
|
-
|
|
208
|
-
//
|
|
209
|
-
//
|
|
210
|
-
//
|
|
211
|
-
//
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
208
|
+
// Tell the operator when a newer CLI exists.
|
|
209
|
+
//
|
|
210
|
+
// ⛔ THIS USED TO CALL update-notifier, AND IT NEVER PRINTED A SINGLE NOTICE.
|
|
211
|
+
// Measured 2026-09-17 on a fresh machine: four runs of 2.23.0 under a real TTY
|
|
212
|
+
// while 2.24.0 was on npm, no notice, and the cache it left explains it —
|
|
213
|
+
// { "optOut": false, "lastUpdateCheck": ... } with no `update` key. It records
|
|
214
|
+
// the ATTEMPT in the parent and delegates the lookup to a detached child that
|
|
215
|
+
// does not survive a short-lived CLI, so the result is never stored while the
|
|
216
|
+
// timestamp is, and the interval then suppresses retries for four hours. A
|
|
217
|
+
// check permanently "recently done" and permanently empty.
|
|
218
|
+
//
|
|
219
|
+
// A client on 2.23.0 therefore could not learn that a fix existed. 2.23.0 is
|
|
220
|
+
// the version that promises "any AI agent running in this shell inherits it —
|
|
221
|
+
// type claude and go", which is untrue: nothing inherits that token, so their
|
|
222
|
+
// agent never reaches their company. Every client hit that, and the CLI's own
|
|
223
|
+
// `solid update --json` knew it was behind the whole time.
|
|
224
|
+
//
|
|
225
|
+
// See lib/update-notice: the stored value is the ANSWER, never the attempt, so
|
|
226
|
+
// a failed check cannot silence the next run; the read is a synchronous file
|
|
227
|
+
// read before any command, so it costs no latency and cannot be lost to
|
|
228
|
+
// process exit; and the refresh only ever helps later runs.
|
|
229
|
+
// ⛔ SYNCHRONOUS ON PURPOSE. A first attempt at this fix wrapped the read in
|
|
230
|
+
// `await import('./lib/update-notice')` and printed nothing — commander's
|
|
231
|
+
// --version handler calls process.exit() before a dynamic import resolves, so
|
|
232
|
+
// the notice lost the same race that killed update-notifier. The read is a
|
|
233
|
+
// static import and a synchronous file read, which is why it cannot be lost.
|
|
234
|
+
// Only the refresh is deferred, and it only ever helps a later run.
|
|
235
|
+
try {
|
|
236
|
+
const cached = (0, update_notice_1.readCache)();
|
|
237
|
+
// pkg.version, never a hardcoded literal — the version lives in package.json.
|
|
238
|
+
const notice = (0, update_notice_1.noticeFor)(pkg.version, cached);
|
|
239
|
+
if (notice && !(0, json_output_1.isNonTty)()) {
|
|
240
|
+
process.stderr.write(`\n${chalk_1.default.yellow(notice)}\n\n`);
|
|
229
241
|
}
|
|
230
|
-
|
|
242
|
+
if ((0, update_notice_1.isStale)(cached))
|
|
243
|
+
void (0, update_notice_1.refreshCache)();
|
|
244
|
+
}
|
|
245
|
+
catch {
|
|
246
|
+
// Never let the update check break a command.
|
|
247
|
+
}
|
|
231
248
|
const program = new commander_1.Command();
|
|
232
249
|
// Implicit-tenant warning (see note near the top of this file). preAction
|
|
233
250
|
// runs only for a matched command action, so this never races ahead of an
|
|
@@ -643,10 +660,11 @@ program.addHelpText('after', () => {
|
|
|
643
660
|
{ cmd: 'solid auth login', desc: 'Login to your company' },
|
|
644
661
|
{ cmd: 'solid clone plumber', desc: 'Scaffold from 52 industry templates' },
|
|
645
662
|
{ cmd: 'solid pull', desc: 'Download business data as local files' },
|
|
646
|
-
{ cmd: 'solid push', desc: '
|
|
663
|
+
{ cmd: 'solid push', desc: 'Upload local changes (drafts / unpublished)' },
|
|
664
|
+
{ cmd: 'solid publish --all', desc: 'Make pending drafts + unpublished pages live' },
|
|
647
665
|
{ cmd: 'solid history', desc: 'View version history for pages & KB' },
|
|
648
666
|
{ cmd: 'solid rollback', desc: 'Rollback to a previous version' },
|
|
649
|
-
{ cmd: 'solid deploy', desc: '
|
|
667
|
+
{ cmd: 'solid deploy', desc: 'Shareable preview snapshot (does NOT publish)' },
|
|
650
668
|
{ cmd: 'solid migrate', desc: 'Copy pages/KB between companies' },
|
|
651
669
|
{ cmd: 'solid train chat', desc: 'Chat with your AI agent' },
|
|
652
670
|
{ cmd: 'solid switch', desc: 'Switch between companies (agencies)' },
|