snow-flow 4.4.0 → 4.4.1
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/mcp/enhancements/smart-query-enhancement.js +3 -3
- package/dist/mcp/servicenow-development-assistant-mcp.js +2 -2
- package/dist/queen/queen-memory-system.d.ts +1 -1
- package/package.json +1 -1
- package/website/css/iphone-hero-optimization.css +38 -11
- package/website/css/mobile-hero-fix.css +52 -20
|
@@ -47,7 +47,7 @@ class SmartQueryEnhancement {
|
|
|
47
47
|
// Fall back to original query
|
|
48
48
|
return this.executeOriginalQuery(originalArgs);
|
|
49
49
|
}
|
|
50
|
-
return {
|
|
50
|
+
return { content: [{ type: "text", text: "" }],
|
|
51
51
|
success: true,
|
|
52
52
|
result: result,
|
|
53
53
|
message: contextMessage,
|
|
@@ -173,7 +173,7 @@ The 'script' field contains ES5-only code with access to:
|
|
|
173
173
|
async executeOriginalQuery(args) {
|
|
174
174
|
// This would call the original snow_query_table implementation
|
|
175
175
|
// For now, return a placeholder
|
|
176
|
-
return {
|
|
176
|
+
return { content: [{ type: "text", text: "" }],
|
|
177
177
|
success: true,
|
|
178
178
|
result: { message: 'Original query executed' },
|
|
179
179
|
message: 'Query executed normally without smart chunking'
|
|
@@ -184,7 +184,7 @@ The 'script' field contains ES5-only code with access to:
|
|
|
184
184
|
*/
|
|
185
185
|
async searchInFields(args) {
|
|
186
186
|
const results = await this.smartFetcher.searchInField(args.table, args.field, args.searchTerm, args.additionalQuery);
|
|
187
|
-
return {
|
|
187
|
+
return { content: [{ type: "text", text: "" }],
|
|
188
188
|
success: true,
|
|
189
189
|
result: results,
|
|
190
190
|
message: `Found ${results.length} matches for "${args.searchTerm}" in ${args.table}.${args.field}`
|
|
@@ -40,7 +40,7 @@ class ServiceNowDevelopmentAssistantMCP {
|
|
|
40
40
|
async initializeSystems() {
|
|
41
41
|
try {
|
|
42
42
|
// Initialize systems synchronously during server startup
|
|
43
|
-
this.memorySystem =
|
|
43
|
+
this.memorySystem = null; // Disabled memory system
|
|
44
44
|
// await this.memorySystem.initialize(); // QueenMemorySystem doesn't have initialize method
|
|
45
45
|
this.logger.info('Memory system initialized');
|
|
46
46
|
this.documentationSystem = new self_documenting_system_js_1.SelfDocumentingSystem(this.client, this.memorySystem);
|
|
@@ -52,7 +52,7 @@ class ServiceNowDevelopmentAssistantMCP {
|
|
|
52
52
|
catch (error) {
|
|
53
53
|
this.logger.error('Failed to initialize systems:', error);
|
|
54
54
|
// Initialize minimal fallback systems
|
|
55
|
-
this.memorySystem =
|
|
55
|
+
this.memorySystem = null; // Disabled memory system
|
|
56
56
|
// await this.memorySystem.initialize(); // QueenMemorySystem doesn't have initialize method
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Queen Memory System with Hierarchical Patterns
|
|
3
3
|
* Enhanced memory system for ServiceNow Queen Agent coordination
|
|
4
4
|
*/
|
|
5
|
-
import { HierarchicalMemorySystem
|
|
5
|
+
import { HierarchicalMemorySystem } from '../memory/hierarchical-memory-system';
|
|
6
6
|
import { EventEmitter } from 'events';
|
|
7
7
|
export interface QueenMemoryPattern {
|
|
8
8
|
'objectives/[id]/definition': 'Store objective details and requirements';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "Conversational ServiceNow development platform using Claude Code. Multi-agent orchestration with 20+ MCP servers providing 200+ ServiceNow tools for comprehensive platform development.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -33,17 +33,33 @@
|
|
|
33
33
|
font-weight: 900 !important;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
/* Feature pills - iPhone
|
|
36
|
+
/* Feature pills - iPhone 2x2 grid */
|
|
37
37
|
.feature-pills {
|
|
38
|
-
|
|
38
|
+
display: grid !important;
|
|
39
|
+
grid-template-columns: 1fr 1fr !important;
|
|
40
|
+
gap: var(--space-1) !important;
|
|
39
41
|
margin: var(--space-3) 0 var(--space-4) !important;
|
|
42
|
+
width: 100% !important;
|
|
43
|
+
max-width: 350px !important;
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
.pill {
|
|
43
|
-
padding: var(--space-2) var(--space-
|
|
44
|
-
font-size: 0.
|
|
45
|
-
max-width:
|
|
46
|
-
border-radius: var(--radius-
|
|
47
|
+
padding: var(--space-2) var(--space-1) !important;
|
|
48
|
+
font-size: 0.75rem !important;
|
|
49
|
+
max-width: none !important;
|
|
50
|
+
border-radius: var(--radius-lg) !important;
|
|
51
|
+
text-align: center !important;
|
|
52
|
+
display: flex !important;
|
|
53
|
+
flex-direction: column !important;
|
|
54
|
+
align-items: center !important;
|
|
55
|
+
gap: var(--space-1) !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.pill-text {
|
|
59
|
+
white-space: nowrap !important;
|
|
60
|
+
overflow: hidden !important;
|
|
61
|
+
text-overflow: ellipsis !important;
|
|
62
|
+
max-width: 100% !important;
|
|
47
63
|
}
|
|
48
64
|
|
|
49
65
|
/* CTA buttons - iPhone touch friendly */
|
|
@@ -57,29 +73,40 @@
|
|
|
57
73
|
max-width: 85% !important;
|
|
58
74
|
}
|
|
59
75
|
|
|
60
|
-
/* Hero stats -
|
|
76
|
+
/* Hero stats - wider iPhone layout */
|
|
61
77
|
.hero-stats {
|
|
62
|
-
|
|
78
|
+
display: flex !important;
|
|
79
|
+
flex-direction: row !important;
|
|
80
|
+
justify-content: space-between !important;
|
|
81
|
+
max-width: 95% !important;
|
|
82
|
+
width: 100% !important;
|
|
63
83
|
margin: var(--space-4) auto var(--space-2) !important;
|
|
64
84
|
padding: var(--space-3) var(--space-2) !important;
|
|
65
85
|
background: rgba(0, 0, 0, 0.3) !important;
|
|
66
86
|
backdrop-filter: blur(20px) !important;
|
|
67
87
|
border: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
88
|
+
border-radius: var(--radius-xl) !important;
|
|
68
89
|
}
|
|
69
90
|
|
|
70
91
|
.stat-item {
|
|
92
|
+
flex: 1 !important;
|
|
71
93
|
padding: var(--space-2) var(--space-1) !important;
|
|
72
94
|
text-align: center !important;
|
|
95
|
+
display: flex !important;
|
|
96
|
+
flex-direction: column !important;
|
|
97
|
+
align-items: center !important;
|
|
73
98
|
}
|
|
74
99
|
|
|
75
100
|
.stat-number {
|
|
76
|
-
font-size: 1.
|
|
101
|
+
font-size: 1.2rem !important;
|
|
77
102
|
font-weight: 800 !important;
|
|
103
|
+
margin-bottom: var(--space-1) !important;
|
|
78
104
|
}
|
|
79
105
|
|
|
80
106
|
.stat-label {
|
|
81
|
-
font-size: 0.
|
|
82
|
-
line-height: 1.
|
|
107
|
+
font-size: 0.65rem !important;
|
|
108
|
+
line-height: 1.1 !important;
|
|
109
|
+
text-align: center !important;
|
|
83
110
|
}
|
|
84
111
|
}
|
|
85
112
|
|
|
@@ -54,20 +54,26 @@
|
|
|
54
54
|
margin-right: auto !important;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
/* Feature pills - mobile
|
|
57
|
+
/* Feature pills - mobile 2x2 grid */
|
|
58
58
|
.feature-pills {
|
|
59
|
-
|
|
59
|
+
display: grid !important;
|
|
60
|
+
grid-template-columns: 1fr 1fr !important;
|
|
60
61
|
gap: var(--space-2) !important;
|
|
61
62
|
margin: var(--space-6) 0 !important;
|
|
62
|
-
|
|
63
|
+
max-width: 100% !important;
|
|
64
|
+
padding: 0 var(--space-2) !important;
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.pill {
|
|
66
68
|
width: 100% !important;
|
|
67
|
-
max-width:
|
|
69
|
+
max-width: none !important;
|
|
68
70
|
justify-content: center !important;
|
|
69
|
-
font-size: var(--font-
|
|
70
|
-
padding: var(--space-2) var(--space-
|
|
71
|
+
font-size: var(--font-xs) !important;
|
|
72
|
+
padding: var(--space-2) var(--space-1) !important;
|
|
73
|
+
text-align: center !important;
|
|
74
|
+
white-space: nowrap !important;
|
|
75
|
+
overflow: hidden !important;
|
|
76
|
+
text-overflow: ellipsis !important;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
/* CTA buttons - mobile stack */
|
|
@@ -87,27 +93,31 @@
|
|
|
87
93
|
justify-content: center !important;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
|
-
/* Hero stats - mobile
|
|
96
|
+
/* Hero stats - wider mobile layout */
|
|
91
97
|
.hero-stats {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
display: flex !important;
|
|
99
|
+
flex-direction: row !important;
|
|
100
|
+
flex-wrap: wrap !important;
|
|
101
|
+
justify-content: space-between !important;
|
|
102
|
+
gap: var(--space-2) !important;
|
|
103
|
+
padding: var(--space-4) var(--space-3) !important;
|
|
95
104
|
margin: var(--space-8) auto var(--space-6) !important;
|
|
96
|
-
max-width:
|
|
105
|
+
max-width: 95% !important;
|
|
106
|
+
width: 100% !important;
|
|
97
107
|
}
|
|
98
108
|
|
|
99
109
|
.stat-item {
|
|
100
|
-
|
|
101
|
-
|
|
110
|
+
flex: 1 !important;
|
|
111
|
+
min-width: calc(33.333% - var(--space-1)) !important;
|
|
112
|
+
padding: var(--space-2) var(--space-1) !important;
|
|
102
113
|
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
103
114
|
border-radius: var(--radius-lg) !important;
|
|
104
115
|
background: rgba(255, 255, 255, 0.05) !important;
|
|
116
|
+
text-align: center !important;
|
|
105
117
|
}
|
|
106
118
|
|
|
107
119
|
.stat-divider {
|
|
108
|
-
|
|
109
|
-
height: 1px !important;
|
|
110
|
-
margin: 0 auto !important;
|
|
120
|
+
display: none !important; /* Hide dividers in mobile grid */
|
|
111
121
|
}
|
|
112
122
|
|
|
113
123
|
.stat-icon {
|
|
@@ -195,15 +205,33 @@
|
|
|
195
205
|
margin-bottom: var(--space-1) !important;
|
|
196
206
|
}
|
|
197
207
|
|
|
208
|
+
/* Feature pills - iPhone SE 2x2 grid */
|
|
198
209
|
.feature-pills {
|
|
210
|
+
display: grid !important;
|
|
211
|
+
grid-template-columns: 1fr 1fr !important;
|
|
199
212
|
gap: var(--space-1) !important;
|
|
200
213
|
margin: var(--space-4) 0 var(--space-6) !important;
|
|
214
|
+
width: 100% !important;
|
|
215
|
+
max-width: 320px !important;
|
|
201
216
|
}
|
|
202
217
|
|
|
203
218
|
.pill {
|
|
204
|
-
max-width:
|
|
205
|
-
font-size:
|
|
206
|
-
padding: var(--space-1) var(--space-
|
|
219
|
+
max-width: none !important;
|
|
220
|
+
font-size: 0.7rem !important;
|
|
221
|
+
padding: var(--space-1) var(--space-1) !important;
|
|
222
|
+
text-align: center !important;
|
|
223
|
+
display: flex !important;
|
|
224
|
+
flex-direction: column !important;
|
|
225
|
+
align-items: center !important;
|
|
226
|
+
gap: 2px !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.pill-text {
|
|
230
|
+
white-space: nowrap !important;
|
|
231
|
+
overflow: hidden !important;
|
|
232
|
+
text-overflow: ellipsis !important;
|
|
233
|
+
max-width: 100% !important;
|
|
234
|
+
font-size: 0.65rem !important;
|
|
207
235
|
}
|
|
208
236
|
|
|
209
237
|
.hero-actions {
|
|
@@ -222,7 +250,11 @@
|
|
|
222
250
|
}
|
|
223
251
|
|
|
224
252
|
.hero-stats {
|
|
225
|
-
|
|
253
|
+
display: flex !important;
|
|
254
|
+
flex-direction: row !important;
|
|
255
|
+
justify-content: space-between !important;
|
|
256
|
+
max-width: 95% !important;
|
|
257
|
+
width: 100% !important;
|
|
226
258
|
padding: var(--space-2) !important;
|
|
227
259
|
margin: var(--space-4) auto var(--space-3) !important;
|
|
228
260
|
border-radius: var(--radius-lg) !important;
|