snow-flow 1.2.0 โ 1.2.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/dist/agents/flow-builder-agent.js +131 -469
- package/dist/cli.js +191 -113
- package/dist/mcp/servicenow-flow-composer-mcp.js +661 -63
- package/dist/mcp/servicenow-graph-memory-mcp.js +28 -3
- package/dist/version.js +20 -1
- package/package.json +1 -1
|
@@ -83,6 +83,11 @@ class ServiceNowGraphMemoryMCP {
|
|
|
83
83
|
}
|
|
84
84
|
catch (error) {
|
|
85
85
|
this.logger.error('Failed to connect to Neo4j', error);
|
|
86
|
+
this.neo4jAvailable = false;
|
|
87
|
+
if (this.driver) {
|
|
88
|
+
await this.driver.close();
|
|
89
|
+
this.driver = null;
|
|
90
|
+
}
|
|
86
91
|
throw error;
|
|
87
92
|
}
|
|
88
93
|
}
|
|
@@ -679,9 +684,29 @@ ${JSON.stringify(exportData, null, 2).substring(0, 1000)}...
|
|
|
679
684
|
}
|
|
680
685
|
}
|
|
681
686
|
async start() {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
687
|
+
try {
|
|
688
|
+
// Try to connect to Neo4j if configured
|
|
689
|
+
if (this.neo4jAvailable && this.config) {
|
|
690
|
+
try {
|
|
691
|
+
await this.connectToNeo4j();
|
|
692
|
+
this.logger.info('Neo4j connection established');
|
|
693
|
+
}
|
|
694
|
+
catch (error) {
|
|
695
|
+
this.logger.warn('Neo4j connection failed - running in fallback mode', error);
|
|
696
|
+
this.neo4jAvailable = false;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
const transport = new stdio_js_1.StdioServerTransport();
|
|
700
|
+
await this.server.connect(transport);
|
|
701
|
+
this.logger.info('ServiceNow Graph Memory MCP Server started');
|
|
702
|
+
if (!this.neo4jAvailable) {
|
|
703
|
+
this.logger.info('Running without Neo4j - all operations will return fallback responses');
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
catch (error) {
|
|
707
|
+
this.logger.error('Failed to start server', error);
|
|
708
|
+
throw error;
|
|
709
|
+
}
|
|
685
710
|
}
|
|
686
711
|
async stop() {
|
|
687
712
|
if (this.driver) {
|
package/dist/version.js
CHANGED
|
@@ -7,12 +7,31 @@ 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.2.
|
|
10
|
+
exports.VERSION = '1.2.2';
|
|
11
11
|
exports.VERSION_INFO = {
|
|
12
12
|
version: exports.VERSION,
|
|
13
13
|
name: 'Snow-Flow',
|
|
14
14
|
description: 'ServiceNow Queen Agent - Hive-Mind Intelligence for ServiceNow Development',
|
|
15
15
|
features: {
|
|
16
|
+
'1.2.2': [
|
|
17
|
+
'๐ฏ CRITICAL FIX: Resolved empty flows issue - Complete MCP integration achieved',
|
|
18
|
+
'๐ง FLOW-BUILDER AGENT: Now uses MCPExecutionBridge for real ServiceNow deployment',
|
|
19
|
+
'โก INTELLIGENT DEPLOYMENT: Calls snow_create_flow MCP tool with template matching and natural language parsing',
|
|
20
|
+
'๐งช LIVE TESTING: Implements snow_test_flow_with_mock for comprehensive flow validation',
|
|
21
|
+
'๐ SMART DISCOVERY: Uses snow_discover_existing_flows to prevent flow duplication',
|
|
22
|
+
'๐ REAL SERVICENOW DATA: Stores artifacts with actual sys_ids from ServiceNow instead of mock data',
|
|
23
|
+
'โจ ENHANCED FLOW COMPOSER: 5 professional templates (Approval, Incident, Request, Data Processing, User Management)',
|
|
24
|
+
'๐ง NATURAL LANGUAGE PROCESSING: Intelligent flow requirement analysis and automatic artifact creation',
|
|
25
|
+
'๐ช WORKFLOW OPTIMIZATION: Complete elimination of 500+ lines of redundant hardcoded flow logic'
|
|
26
|
+
],
|
|
27
|
+
'1.2.1': [
|
|
28
|
+
'๐ง NEO4J SMART INTEGRATION: Auto-detects Neo4j during init and offers optional graph memory setup',
|
|
29
|
+
'โก GRACEFUL FALLBACK: Graph memory server now starts without Neo4j, provides helpful fallback responses',
|
|
30
|
+
'๐ฏ CONDITIONAL CONFIGURATION: Graph memory only added to .mcp.json when Neo4j is enabled',
|
|
31
|
+
'๐ง IMPROVED ERROR HANDLING: No more crashes when Neo4j is unavailable - smooth degradation',
|
|
32
|
+
'๐ INIT ENHANCEMENT: Interactive prompt during init asks about graph memory features',
|
|
33
|
+
'๐พ ADDED SERVICENOW-MEMORY: Memory MCP server now properly included in init configuration'
|
|
34
|
+
],
|
|
16
35
|
'1.2.0': [
|
|
17
36
|
'๐ ARCHITECTURE CHANGE: Switched from claude-flow memory tools to native ServiceNow memory system',
|
|
18
37
|
'๐ฏ MEMORY SYSTEM FIX: All CLI memory references now use mcp__servicenow-memory__ tools instead of mcp__claude-flow__memory_usage',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
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",
|