snow-flow 2.6.3 → 2.6.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.
@@ -2117,27 +2117,22 @@ class ServiceNowDevelopmentAssistantMCP {
2117
2117
  table: args.table,
2118
2118
  ...artifact
2119
2119
  };
2120
- // Don't wait for memory indexing - do it in background
2121
- // This might be causing the timeout
2120
+ // Skip memory indexing for now - it might be causing timeouts
2121
+ // TODO: Investigate why memory indexing causes timeouts
2122
+ /*
2122
2123
  setImmediate(() => {
2123
- this.intelligentlyIndex(artifact).then(indexed => {
2124
- this.storeInMemory(indexed).catch(err => {
2125
- this.logger.warn('Failed to store artifact in memory:', err);
2126
- });
2124
+ this.intelligentlyIndex(artifact).then(indexed => {
2125
+ this.storeInMemory(indexed).catch(err => {
2126
+ this.logger.warn('Failed to store artifact in memory:', err);
2127
2127
  });
2128
+ });
2128
2129
  });
2129
- // Check response size to avoid MCP runtime timeouts
2130
- const jsonString = JSON.stringify(formattedArtifact);
2131
- const sizeInKB = Buffer.byteLength(jsonString) / 1024;
2132
- // If response is large, use compact format
2133
- const formattedJson = sizeInKB > 50 ?
2134
- JSON.stringify(formattedArtifact) : // Compact for large responses
2135
- JSON.stringify(formattedArtifact, null, 2); // Pretty print for small responses
2130
+ */
2136
2131
  return {
2137
2132
  content: [
2138
2133
  {
2139
2134
  type: 'text',
2140
- text: `āœ… Found artifact by sys_id!\n\nšŸŽÆ **${formattedArtifact.name}**\nšŸ†” sys_id: ${args.sys_id}\nšŸ“Š Table: ${args.table}\nšŸ“ Size: ${sizeInKB.toFixed(1)}KB\n\n**All Fields:**\n${formattedJson}`,
2135
+ text: `āœ… Found artifact by sys_id!\n\nšŸŽÆ **${formattedArtifact.name}**\nšŸ†” sys_id: ${args.sys_id}\nšŸ“Š Table: ${args.table}\n\n**All Fields:**\n${JSON.stringify(formattedArtifact, null, 2)}`,
2141
2136
  },
2142
2137
  ],
2143
2138
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "Snow-Flow: ServiceNow Advanced Intelligence Platform - 100+ real MCP tools with AI-powered swarm orchestration and neural networks. Dynamic task categorization using AI. Machine learning for incident classification, change risk prediction, and anomaly detection. Zero Mock Data, 100% Real API Integration.",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",