snow-flow 1.1.96 → 1.1.98

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.
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
  /**
3
4
  * ServiceNow Memory MCP Server
@@ -66,7 +67,6 @@ class ServiceNowMemoryMCP extends base_mcp_server_1.BaseMCPServer {
66
67
  }
67
68
  }
68
69
  async initialize() {
69
- await super.initialize();
70
70
  // Initialize memory system
71
71
  this.memorySystem = new memory_system_1.MemorySystem({
72
72
  dbPath: path.join(this.memoryPath, 'snow-flow-memory.db')
@@ -386,15 +386,16 @@ class ServiceNowMemoryMCP extends base_mcp_server_1.BaseMCPServer {
386
386
  if (this.memorySystem) {
387
387
  await this.memorySystem.close();
388
388
  }
389
- await super.shutdown();
389
+ // No need to call super.shutdown() - BaseMCPServer doesn't have this method
390
390
  }
391
391
  }
392
392
  exports.ServiceNowMemoryMCP = ServiceNowMemoryMCP;
393
- // Create and start the server
394
- if (require.main === module) {
395
- const server = new ServiceNowMemoryMCP();
396
- server.start().catch(error => {
397
- console.error('Failed to start Memory MCP server:', error);
398
- process.exit(1);
399
- });
400
- }
393
+ // Start the server
394
+ const server = new ServiceNowMemoryMCP();
395
+ // Initialize memory system before starting
396
+ server.initialize()
397
+ .then(() => server.start())
398
+ .catch(error => {
399
+ console.error('Failed to start Memory MCP server:', error);
400
+ process.exit(1);
401
+ });
package/dist/version.js CHANGED
@@ -7,7 +7,7 @@ exports.VERSION_INFO = exports.VERSION = void 0;
7
7
  exports.getVersionString = getVersionString;
8
8
  exports.getLatestFeatures = getLatestFeatures;
9
9
  exports.isLatestVersion = isLatestVersion;
10
- exports.VERSION = '1.1.95';
10
+ exports.VERSION = '1.1.97';
11
11
  exports.VERSION_INFO = {
12
12
  version: exports.VERSION,
13
13
  name: 'Snow-Flow',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "description": "ServiceNow Queen Agent - Hive-Mind Intelligence for ServiceNow Development inspired by claude-flow. Transform complex workflows into elegant one-command orchestration.",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",