@qikdev/mcp 6.6.45 → 6.6.46

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 (35) hide show
  1. package/build/src/tools/component-marketplace.d.ts +96 -0
  2. package/build/src/tools/component-marketplace.d.ts.map +1 -0
  3. package/build/src/tools/component-marketplace.js +259 -0
  4. package/build/src/tools/component-marketplace.js.map +1 -0
  5. package/build/src/tools/components.d.ts +23 -0
  6. package/build/src/tools/components.d.ts.map +1 -0
  7. package/build/src/tools/components.js +388 -0
  8. package/build/src/tools/components.js.map +1 -0
  9. package/build/src/tools/create.d.ts.map +1 -1
  10. package/build/src/tools/create.js +38 -0
  11. package/build/src/tools/create.js.map +1 -1
  12. package/build/src/tools/enhanced-interfaces.d.ts +21 -0
  13. package/build/src/tools/enhanced-interfaces.d.ts.map +1 -0
  14. package/build/src/tools/enhanced-interfaces.js +64 -0
  15. package/build/src/tools/enhanced-interfaces.js.map +1 -0
  16. package/build/src/tools/index.d.ts.map +1 -1
  17. package/build/src/tools/index.js +17 -0
  18. package/build/src/tools/index.js.map +1 -1
  19. package/build/src/tools/interface-builder.d.ts +19 -0
  20. package/build/src/tools/interface-builder.d.ts.map +1 -0
  21. package/build/src/tools/interface-builder.js +477 -0
  22. package/build/src/tools/interface-builder.js.map +1 -0
  23. package/build/src/tools/interfaces.d.ts +23 -0
  24. package/build/src/tools/interfaces.d.ts.map +1 -0
  25. package/build/src/tools/interfaces.js +821 -0
  26. package/build/src/tools/interfaces.js.map +1 -0
  27. package/build/src/tools/nlp-parser.d.ts +33 -0
  28. package/build/src/tools/nlp-parser.d.ts.map +1 -0
  29. package/build/src/tools/nlp-parser.js +258 -0
  30. package/build/src/tools/nlp-parser.js.map +1 -0
  31. package/build/src/tools/route-generator.d.ts +61 -0
  32. package/build/src/tools/route-generator.d.ts.map +1 -0
  33. package/build/src/tools/route-generator.js +388 -0
  34. package/build/src/tools/route-generator.js.map +1 -0
  35. package/package.json +1 -1
@@ -0,0 +1,388 @@
1
+ /**
2
+ * Route Generator
3
+ * Builds route structures for interfaces
4
+ */
5
+ import { generatePageTitle, generateRouteName } from './nlp-parser.js';
6
+ import { selectComponentsForPage, getDefaultComponentModel, generateUUID } from './component-marketplace.js';
7
+ /**
8
+ * Generate routes from parsed pages
9
+ */
10
+ export async function generateRoutes(pages, components, glossary, config) {
11
+ const routes = [];
12
+ // Always add home page first if not explicitly defined
13
+ const hasHome = pages.some(p => p.name === 'home' || p.name === 'index');
14
+ if (!hasHome) {
15
+ pages.unshift({
16
+ name: 'home',
17
+ type: 'static',
18
+ hasList: false,
19
+ hasDetail: false,
20
+ isDynamic: false
21
+ });
22
+ }
23
+ for (const page of pages) {
24
+ const route = await buildRouteForPage(page, components, glossary, config);
25
+ if (route) {
26
+ routes.push(route);
27
+ }
28
+ }
29
+ return routes;
30
+ }
31
+ /**
32
+ * Build a complete route structure for a page
33
+ */
34
+ async function buildRouteForPage(page, components, glossary, config) {
35
+ const pageTitle = generatePageTitle(page.name);
36
+ const routeName = generateRouteName(page.name);
37
+ const path = page.name === 'home' ? '/' : `/${page.name}`;
38
+ // Build sections for this route
39
+ const sections = await buildSectionsForPage(page, components, glossary, config);
40
+ const route = {
41
+ title: pageTitle,
42
+ path,
43
+ name: routeName,
44
+ type: 'route',
45
+ sections,
46
+ seo: {
47
+ title: pageTitle,
48
+ description: `${pageTitle} page`,
49
+ sitemapDisabled: false,
50
+ sitemapPriority: '0.5',
51
+ sitemapChangeFrequency: ''
52
+ },
53
+ headerDisabled: false,
54
+ footerDisabled: false,
55
+ advancedOptions: false
56
+ };
57
+ // Add detail route if this is a list page
58
+ if (page.hasList && page.hasDetail) {
59
+ route.routes = [
60
+ await buildDetailRoute(page, components, config)
61
+ ];
62
+ }
63
+ // Add contextVisibility for auth pages
64
+ if (page.type === 'auth') {
65
+ route.contextVisibility = {
66
+ hideAuthenticated: true,
67
+ hideUnauthenticated: false
68
+ };
69
+ }
70
+ return route;
71
+ }
72
+ /**
73
+ * Build sections for a page
74
+ */
75
+ async function buildSectionsForPage(page, components, glossary, config) {
76
+ const sections = [];
77
+ const selectedComponents = selectComponentsForPage(page.type, components);
78
+ if (!selectedComponents.wrapper) {
79
+ console.warn(`No wrapper component found for page type: ${page.type}`);
80
+ return sections;
81
+ }
82
+ // Create wrapper section (Website Section)
83
+ const wrapperSection = {
84
+ title: selectedComponents.wrapper.title,
85
+ uuid: generateUUID(),
86
+ componentID: selectedComponents.wrapper._id,
87
+ componentVersion: 'latest',
88
+ model: getDefaultComponentModel(selectedComponents.wrapper),
89
+ slots: []
90
+ };
91
+ // Add primary content to the wrapper's slot
92
+ if (selectedComponents.primary) {
93
+ const contentSection = await buildContentSection(page, selectedComponents.primary, glossary, config);
94
+ // Website Section typically has a "cells" slot
95
+ wrapperSection.slots = [{
96
+ title: 'Content',
97
+ key: 'cells',
98
+ sections: [contentSection]
99
+ }];
100
+ }
101
+ sections.push(wrapperSection);
102
+ return sections;
103
+ }
104
+ /**
105
+ * Build the primary content section for a page
106
+ */
107
+ async function buildContentSection(page, component, glossary, config) {
108
+ const context = {};
109
+ // Configure based on page type
110
+ switch (page.type) {
111
+ case 'static':
112
+ context.text = `<h1>${generatePageTitle(page.name)}</h1><p>Welcome to the ${page.name} page. Add your content here.</p>`;
113
+ break;
114
+ case 'list':
115
+ // Find matching content type from glossary
116
+ const matchedContentType = await findContentTypeInGlossary(page.contentType, glossary, config);
117
+ context.contentType = matchedContentType || page.contentType || 'article';
118
+ context.select = ['title', 'meta.created', 'meta.description', 'meta.abs', 'body'];
119
+ break;
120
+ case 'form':
121
+ context.formTitle = `${generatePageTitle(page.name)}`;
122
+ break;
123
+ case 'detail':
124
+ case 'custom':
125
+ context.javascript = generateDetailPageJS(page);
126
+ context.html = generateDetailPageHTML(page);
127
+ context.scss = '';
128
+ break;
129
+ case 'auth':
130
+ context.redirectTo = 'home';
131
+ context.hideTitle = false;
132
+ break;
133
+ }
134
+ const section = {
135
+ title: component.title,
136
+ uuid: generateUUID(),
137
+ componentID: component._id,
138
+ componentVersion: 'latest',
139
+ model: getDefaultComponentModel(component, context),
140
+ slots: []
141
+ };
142
+ return section;
143
+ }
144
+ /**
145
+ * Build detail route for list pages
146
+ */
147
+ async function buildDetailRoute(page, components, config) {
148
+ const pageTitle = `${generatePageTitle(page.name)} Detail`;
149
+ const routeName = `${generateRouteName(page.name)}Detail`;
150
+ const path = `/${page.name}/:slug`;
151
+ const selectedComponents = selectComponentsForPage('detail', components);
152
+ const sections = [];
153
+ if (selectedComponents.wrapper && selectedComponents.primary) {
154
+ const customCodeSection = {
155
+ title: selectedComponents.primary.title,
156
+ uuid: generateUUID(),
157
+ componentID: selectedComponents.primary._id,
158
+ componentVersion: 'latest',
159
+ model: {
160
+ javascript: generateDetailPageJS(page),
161
+ html: generateDetailPageHTML(page),
162
+ scss: ''
163
+ },
164
+ slots: []
165
+ };
166
+ const wrapperSection = {
167
+ title: selectedComponents.wrapper.title,
168
+ uuid: generateUUID(),
169
+ componentID: selectedComponents.wrapper._id,
170
+ componentVersion: 'latest',
171
+ model: getDefaultComponentModel(selectedComponents.wrapper),
172
+ slots: [{
173
+ title: 'Content',
174
+ key: 'cells',
175
+ sections: [customCodeSection]
176
+ }]
177
+ };
178
+ sections.push(wrapperSection);
179
+ }
180
+ return {
181
+ title: pageTitle,
182
+ path,
183
+ name: routeName,
184
+ type: 'route',
185
+ sections,
186
+ seo: {
187
+ title: pageTitle,
188
+ description: `View ${page.name} details`,
189
+ sitemapDisabled: false
190
+ },
191
+ headerDisabled: false,
192
+ footerDisabled: false
193
+ };
194
+ }
195
+ /**
196
+ * Find content type in glossary
197
+ */
198
+ async function findContentTypeInGlossary(suggestedType, glossary, config) {
199
+ if (!suggestedType)
200
+ return null;
201
+ // Try exact match first
202
+ const exactMatch = glossary.find(ct => ct.key === suggestedType ||
203
+ ct.key.toLowerCase() === suggestedType.toLowerCase());
204
+ if (exactMatch)
205
+ return exactMatch.key;
206
+ // Try fuzzy match
207
+ const fuzzyMatch = glossary.find(ct => ct.key.toLowerCase().includes(suggestedType.toLowerCase()) ||
208
+ ct.title?.toLowerCase().includes(suggestedType.toLowerCase()) ||
209
+ ct.plural?.toLowerCase().includes(suggestedType.toLowerCase()));
210
+ if (fuzzyMatch)
211
+ return fuzzyMatch.key;
212
+ // Default to article if available
213
+ const articleType = glossary.find(ct => ct.key === 'article');
214
+ return articleType ? 'article' : null;
215
+ }
216
+ /**
217
+ * Generate JavaScript for detail pages
218
+ */
219
+ function generateDetailPageJS(page) {
220
+ const itemName = page.contentType || 'item';
221
+ return `{
222
+ computed: {
223
+ ${itemName}() {
224
+ return this.$sdk.app.route?.items?.slug;
225
+ },
226
+ itemData() {
227
+ return this.${itemName}?.data || {};
228
+ },
229
+ body() {
230
+ return this.${itemName}?.body || '';
231
+ }
232
+ }
233
+ }`;
234
+ }
235
+ /**
236
+ * Generate HTML for detail pages
237
+ */
238
+ function generateDetailPageHTML(page) {
239
+ const itemName = page.contentType || 'item';
240
+ const pageTitle = generatePageTitle(page.name);
241
+ return `<div v-if="${itemName}">
242
+ <h1>{{${itemName}.title}}</h1>
243
+ <div class="meta font-sm font-muted" v-if="${itemName}.meta?.created">
244
+ {{$sdk.date.format(${itemName}.meta.created, 'd MMM yyyy')}}
245
+ </div>
246
+ <div v-if="body" v-html="body"></div>
247
+
248
+ <ux-link :to="{name:'${generateRouteName(page.name)}'}">
249
+ <ux-icon left icon="fa-arrow-left" />
250
+ Back to ${pageTitle}
251
+ </ux-link>
252
+ </div>`;
253
+ }
254
+ /**
255
+ * Generate menus for interface
256
+ */
257
+ export function generateMenus(routes) {
258
+ const primaryMenuItems = routes
259
+ .filter(route => route.type === 'route' && route.name !== 'privacyPolicy' && route.name !== 'termsAndConditions')
260
+ .map(route => ({
261
+ title: route.title,
262
+ type: 'route',
263
+ route: route.name,
264
+ items: []
265
+ }));
266
+ const menus = [
267
+ {
268
+ title: 'Primary Menu',
269
+ name: 'primaryMenu',
270
+ items: primaryMenuItems
271
+ }
272
+ ];
273
+ // Add footer menu if privacy/terms pages exist
274
+ const hasLegalPages = routes.some(r => r.name === 'privacyPolicy' || r.name === 'termsAndConditions');
275
+ if (hasLegalPages) {
276
+ const footerItems = routes
277
+ .filter(route => route.name === 'privacyPolicy' || route.name === 'termsAndConditions')
278
+ .map(route => ({
279
+ title: route.title,
280
+ type: 'route',
281
+ route: route.name,
282
+ items: []
283
+ }));
284
+ if (footerItems.length > 0) {
285
+ menus.push({
286
+ title: 'Footer Menu',
287
+ name: 'footerMenu',
288
+ items: footerItems
289
+ });
290
+ }
291
+ }
292
+ return menus;
293
+ }
294
+ /**
295
+ * Add standard legal pages (Privacy Policy, Terms)
296
+ */
297
+ export function addLegalPages(routes, components) {
298
+ const hasPrivacy = routes.some(r => r.name === 'privacyPolicy');
299
+ const hasTerms = routes.some(r => r.name === 'termsAndConditions');
300
+ const selectedComponents = selectComponentsForPage('static', components);
301
+ if (!hasPrivacy && selectedComponents.wrapper && selectedComponents.primary) {
302
+ routes.push(createLegalPage('Privacy Policy', '/privacy-policy', 'privacyPolicy', generatePrivacyPolicyContent(), selectedComponents));
303
+ }
304
+ if (!hasTerms && selectedComponents.wrapper && selectedComponents.primary) {
305
+ routes.push(createLegalPage('Terms and Conditions', '/terms-and-conditions', 'termsAndConditions', generateTermsContent(), selectedComponents));
306
+ }
307
+ }
308
+ /**
309
+ * Create a legal page (Privacy/Terms)
310
+ */
311
+ function createLegalPage(title, path, name, content, components) {
312
+ const sections = [];
313
+ if (components.wrapper && components.primary) {
314
+ const textSection = {
315
+ title: components.primary.title,
316
+ uuid: generateUUID(),
317
+ componentID: components.primary._id,
318
+ componentVersion: 'latest',
319
+ model: getDefaultComponentModel(components.primary, { text: content }),
320
+ slots: []
321
+ };
322
+ const wrapperSection = {
323
+ title: components.wrapper.title,
324
+ uuid: generateUUID(),
325
+ componentID: components.wrapper._id,
326
+ componentVersion: 'latest',
327
+ model: getDefaultComponentModel(components.wrapper),
328
+ slots: [{
329
+ title: 'Content',
330
+ key: 'cells',
331
+ sections: [textSection]
332
+ }]
333
+ };
334
+ sections.push(wrapperSection);
335
+ }
336
+ return {
337
+ title,
338
+ path,
339
+ name,
340
+ type: 'route',
341
+ sections,
342
+ seo: {
343
+ title,
344
+ description: `${title} page`,
345
+ sitemapDisabled: false
346
+ },
347
+ headerDisabled: false,
348
+ footerDisabled: false
349
+ };
350
+ }
351
+ /**
352
+ * Generate privacy policy content
353
+ */
354
+ function generatePrivacyPolicyContent() {
355
+ return `<h1>Privacy Policy</h1>
356
+ <p class="font-muted font-xxs">Effective Date: {{$sdk.date.format(new Date(), 'd MMM yyyy')}}</p>
357
+
358
+ <h3>1. Information We Collect</h3>
359
+ <p>We may collect personal information that you voluntarily provide when you interact with our service.</p>
360
+
361
+ <h3>2. Use of Information</h3>
362
+ <p>We use the information we collect to provide and improve our services.</p>
363
+
364
+ <h3>3. Data Security</h3>
365
+ <p>We implement appropriate security measures to protect your personal information.</p>
366
+
367
+ <h3>4. Contact Us</h3>
368
+ <p>If you have any questions about this Privacy Policy, please contact us.</p>`;
369
+ }
370
+ /**
371
+ * Generate terms and conditions content
372
+ */
373
+ function generateTermsContent() {
374
+ return `<h1>Terms and Conditions</h1>
375
+
376
+ <h2>1. Acceptance of Terms</h2>
377
+ <p>By accessing and using this service, you agree to be bound by these terms and conditions.</p>
378
+
379
+ <h2>2. Intellectual Property Rights</h2>
380
+ <p>All content and materials available through this service are protected by intellectual property rights.</p>
381
+
382
+ <h2>3. Limitation of Liability</h2>
383
+ <p>We shall not be liable for any damages arising from the use of this service.</p>
384
+
385
+ <h2>4. Contact Information</h2>
386
+ <p>If you have any questions about these terms, please contact us.</p>`;
387
+ }
388
+ //# sourceMappingURL=route-generator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-generator.js","sourceRoot":"","sources":["../../../src/tools/route-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAc,iBAAiB,EAAE,iBAAiB,EAAE,MAAM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KAAK;QACrB,cAAc,EAAE,KAAK;KACtB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,4BAA4B;IACnC,OAAO;;;;;;;;;;;;;+EAasE,CAAC;AAChF,CAAC;AAED;;GAEG;AACH,SAAS,oBAAoB;IAC3B,OAAO;;;;;;;;;;;;uEAY8D,CAAC;AACxE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qikdev/mcp",
3
- "version": "6.6.45",
3
+ "version": "6.6.46",
4
4
  "description": "A plug-and-play Model Context Protocol server for the Qik platform - enabling AI assistants to interact with Qik's content management system, user management, forms, files, and more.",
5
5
  "keywords": [
6
6
  "mcp",