@equilateral_ai/mindmeld 3.1.1 → 3.1.2
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/package.json +1 -1
- package/scripts/init-project.js +8 -6
package/package.json
CHANGED
package/scripts/init-project.js
CHANGED
|
@@ -28,15 +28,15 @@ const execAsync = promisify(exec);
|
|
|
28
28
|
// ============================================================================
|
|
29
29
|
|
|
30
30
|
const CONFIG = {
|
|
31
|
-
// Cognito settings (
|
|
31
|
+
// Cognito settings (production)
|
|
32
32
|
cognito: {
|
|
33
|
-
domain: 'mindmeld-
|
|
34
|
-
clientId: '
|
|
33
|
+
domain: 'mindmeld-auth.auth.us-east-2.amazoncognito.com',
|
|
34
|
+
clientId: '1al1vftuoh55a8n08ea6kr8heq',
|
|
35
35
|
region: 'us-east-2'
|
|
36
36
|
},
|
|
37
|
-
// API settings (
|
|
37
|
+
// API settings (production)
|
|
38
38
|
api: {
|
|
39
|
-
baseUrl: 'https://
|
|
39
|
+
baseUrl: 'https://api.mindmeld.dev'
|
|
40
40
|
},
|
|
41
41
|
// Local callback ports (fixed range for security)
|
|
42
42
|
callbackPorts: [9876, 9877, 9878, 9879, 9880],
|
|
@@ -612,8 +612,10 @@ async function initProject(projectPath) {
|
|
|
612
612
|
let backendProjectId = null;
|
|
613
613
|
if (tier !== 'free') {
|
|
614
614
|
console.log('📡 Registering project with MindMeld...');
|
|
615
|
+
// Company_ID is client_id + '_main' for personal workspaces
|
|
616
|
+
const companyId = `${clientId}_main`;
|
|
615
617
|
const projectResponse = await callApi('POST', '/api/projects', auth.id_token, {
|
|
616
|
-
Company_ID:
|
|
618
|
+
Company_ID: companyId,
|
|
617
619
|
project_name: projectName
|
|
618
620
|
});
|
|
619
621
|
|