recoder-code 2.1.3 → 2.1.4

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.
@@ -3,7 +3,9 @@
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
5
  const crypto = require('crypto');
6
- const chalk = require('chalk');
6
+ // Handle chalk properly
7
+ const chalkModule = require('chalk');
8
+ const chalk = chalkModule.default || chalkModule;
7
9
  const chokidar = require('chokidar');
8
10
 
9
11
  /**
@@ -139,6 +141,13 @@ class ContextEngine {
139
141
  }
140
142
  }
141
143
 
144
+ /**
145
+ * Alias for initializeEngine for compatibility
146
+ */
147
+ async initialize() {
148
+ return await this.initializeEngine();
149
+ }
150
+
142
151
  /**
143
152
  * Build comprehensive codebase index
144
153
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "recoder-code",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Complete AI-powered development platform with ML model training, plugin registry, real-time collaboration, monitoring, infrastructure automation, and enterprise deployment capabilities",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,8 @@
1
1
  const fs = require('fs');
2
2
  const path = require('path');
3
- const chalk = require('chalk');
3
+ // Handle chalk properly
4
+ const chalkModule = require('chalk');
5
+ const chalk = chalkModule.default || chalkModule;
4
6
 
5
7
  class EnhancedPluginManager {
6
8
  constructor(pluginDir) {
@@ -1,5 +1,7 @@
1
1
  // IDE Integration Plugin for Recoder
2
- const chalk = require('chalk');
2
+ // Handle chalk properly
3
+ const chalkModule = require('chalk');
4
+ const chalk = chalkModule.default || chalkModule;
3
5
  const fs = require('fs');
4
6
  const path = require('path');
5
7
 
@@ -1,5 +1,7 @@
1
1
  // Team Collaboration Plugin for Recoder
2
- const chalk = require('chalk');
2
+ // Handle chalk properly
3
+ const chalkModule = require('chalk');
4
+ const chalk = chalkModule.default || chalkModule;
3
5
  const fs = require('fs');
4
6
  const path = require('path');
5
7
 
@@ -1,5 +1,7 @@
1
1
  // Voice Commands Plugin for Recoder
2
- const chalk = require('chalk');
2
+ // Handle chalk properly
3
+ const chalkModule = require('chalk');
4
+ const chalk = chalkModule.default || chalkModule;
3
5
 
4
6
  module.exports = {
5
7
  name: 'voice-commands',