@l4yercak3/cli 1.2.15 → 1.2.18
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/docs/INTEGRATION_PATHS_ARCHITECTURE.md +1543 -0
- package/package.json +1 -1
- package/src/commands/spread.js +101 -6
- package/src/detectors/database-detector.js +245 -0
- package/src/detectors/index.js +17 -4
- package/src/generators/api-only/client.js +683 -0
- package/src/generators/api-only/index.js +96 -0
- package/src/generators/api-only/types.js +618 -0
- package/src/generators/api-only/webhooks.js +377 -0
- package/src/generators/index.js +88 -2
- package/src/generators/mcp-guide-generator.js +256 -0
- package/src/generators/quickstart/components/index.js +1699 -0
- package/src/generators/quickstart/database/convex.js +1257 -0
- package/src/generators/quickstart/database/index.js +34 -0
- package/src/generators/quickstart/database/supabase.js +1132 -0
- package/src/generators/quickstart/hooks/index.js +1047 -0
- package/src/generators/quickstart/index.js +151 -0
- package/src/generators/quickstart/pages/index.js +1466 -0
- package/src/mcp/registry/domains/applications.js +4 -4
- package/src/mcp/registry/domains/benefits.js +798 -0
- package/src/mcp/registry/domains/crm.js +11 -11
- package/src/mcp/registry/domains/events.js +12 -12
- package/src/mcp/registry/domains/forms.js +12 -12
- package/src/mcp/registry/index.js +2 -0
- package/tests/database-detector.test.js +221 -0
- package/tests/generators-index.test.js +215 -3
|
@@ -73,7 +73,7 @@ Returns an API key for the application to use.`,
|
|
|
73
73
|
required: ['name', 'features'],
|
|
74
74
|
},
|
|
75
75
|
requiresAuth: true,
|
|
76
|
-
requiredPermissions: ['
|
|
76
|
+
requiredPermissions: ['applications:write'],
|
|
77
77
|
handler: async (params, authContext) => {
|
|
78
78
|
// Generate project path hash for tracking
|
|
79
79
|
const projectPathHash = params.projectPath
|
|
@@ -293,7 +293,7 @@ Returns an API key for the application to use.`,
|
|
|
293
293
|
required: ['applicationId'],
|
|
294
294
|
},
|
|
295
295
|
requiresAuth: true,
|
|
296
|
-
requiredPermissions: ['
|
|
296
|
+
requiredPermissions: ['applications:write'],
|
|
297
297
|
handler: async (params, authContext) => {
|
|
298
298
|
const { applicationId, ...updates } = params;
|
|
299
299
|
|
|
@@ -339,7 +339,7 @@ Triggers a sync based on configured model mappings.`,
|
|
|
339
339
|
required: ['applicationId'],
|
|
340
340
|
},
|
|
341
341
|
requiresAuth: true,
|
|
342
|
-
requiredPermissions: ['
|
|
342
|
+
requiredPermissions: ['applications:write'],
|
|
343
343
|
handler: async (params, authContext) => {
|
|
344
344
|
const response = await backendClient.syncApplication(params.applicationId, {
|
|
345
345
|
direction: params.direction || 'bidirectional',
|
|
@@ -403,7 +403,7 @@ Model mappings define how local models sync with L4YERCAK3 types.`,
|
|
|
403
403
|
required: ['applicationId', 'localModel', 'layerCakeType'],
|
|
404
404
|
},
|
|
405
405
|
requiresAuth: true,
|
|
406
|
-
requiredPermissions: ['
|
|
406
|
+
requiredPermissions: ['applications:write'],
|
|
407
407
|
handler: async (params, authContext) => {
|
|
408
408
|
// Get current application
|
|
409
409
|
const appResponse = await backendClient.getApplication(params.applicationId);
|