@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equilateral_ai/mindmeld",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Intelligent standards injection for AI coding sessions - context-aware, self-documenting, scales to large codebases",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -28,15 +28,15 @@ const execAsync = promisify(exec);
28
28
  // ============================================================================
29
29
 
30
30
  const CONFIG = {
31
- // Cognito settings (dev - production API is currently broken)
31
+ // Cognito settings (production)
32
32
  cognito: {
33
- domain: 'mindmeld-users.auth.us-east-2.amazoncognito.com',
34
- clientId: '6uif970sisfpvk5r6vg17uvf8r',
33
+ domain: 'mindmeld-auth.auth.us-east-2.amazoncognito.com',
34
+ clientId: '1al1vftuoh55a8n08ea6kr8heq',
35
35
  region: 'us-east-2'
36
36
  },
37
- // API settings (using direct API Gateway URL - custom domain has SSL issues)
37
+ // API settings (production)
38
38
  api: {
39
- baseUrl: 'https://u16nv4eqib.execute-api.us-east-2.amazonaws.com/dev'
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: clientId,
618
+ Company_ID: companyId,
617
619
  project_name: projectName
618
620
  });
619
621