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
|
-
//
|
|
2121
|
-
//
|
|
2120
|
+
// Skip memory indexing for now - it might be causing timeouts
|
|
2121
|
+
// TODO: Investigate why memory indexing causes timeouts
|
|
2122
|
+
/*
|
|
2122
2123
|
setImmediate(() => {
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
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
|
-
|
|
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
|
|
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
|
+
"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",
|