snow-flow 4.5.24 → 4.5.26
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.
|
@@ -165,7 +165,7 @@ class ServiceNowFlowWorkspaceMobileMCPEnhanced extends enhanced_base_mcp_server_
|
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
name: 'snow_create_workspace_form',
|
|
168
|
-
description: '
|
|
168
|
+
description: '⚠️ DEPRECATED: sys_aw_form table does not exist in modern ServiceNow. Use UI Builder form components instead.',
|
|
169
169
|
inputSchema: {
|
|
170
170
|
type: 'object',
|
|
171
171
|
properties: {
|
|
@@ -194,7 +194,7 @@ class ServiceNowFlowWorkspaceMobileMCPEnhanced extends enhanced_base_mcp_server_
|
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
name: 'snow_deploy_workspace',
|
|
197
|
-
description: '
|
|
197
|
+
description: '⚠️ DEPRECATED: sys_aw_workspace table incorrect. Use sys_aw_master_config for workspace deployment.',
|
|
198
198
|
inputSchema: {
|
|
199
199
|
type: 'object',
|
|
200
200
|
properties: {
|
|
@@ -548,7 +548,7 @@ Check execution details for results.`);
|
|
|
548
548
|
active: false
|
|
549
549
|
};
|
|
550
550
|
this.logger.progress('Creating workspace...');
|
|
551
|
-
const response = await this.createRecord('
|
|
551
|
+
const response = await this.createRecord('sys_aw_master_config', workspaceData);
|
|
552
552
|
if (!response.success) {
|
|
553
553
|
return this.createResponse(`❌ Failed to create workspace: ${response.error}`);
|
|
554
554
|
}
|
|
@@ -575,7 +575,26 @@ Check execution details for results.`);
|
|
|
575
575
|
icon: args.icon || ''
|
|
576
576
|
};
|
|
577
577
|
this.logger.progress('Adding tab...');
|
|
578
|
-
|
|
578
|
+
// DEPRECATED: Return proper MCP response for non-existent table
|
|
579
|
+
return {
|
|
580
|
+
content: [{
|
|
581
|
+
type: 'text',
|
|
582
|
+
text: `⚠️ DEPRECATED: sys_aw_tab table does not exist in modern ServiceNow
|
|
583
|
+
|
|
584
|
+
🚨 **Modern Approach Required:**
|
|
585
|
+
Modern Agent Workspaces use UX Pages (sys_ux_*) for tab configuration.
|
|
586
|
+
|
|
587
|
+
💡 **Use Instead:**
|
|
588
|
+
- snow_add_uib_page_element: Add components to UX pages
|
|
589
|
+
- snow_create_uib_page: Create custom workspace pages
|
|
590
|
+
- snow_create_uib_data_broker: Connect data sources
|
|
591
|
+
|
|
592
|
+
📋 **Migration Path:**
|
|
593
|
+
1. Use snow_create_uib_page for workspace layout
|
|
594
|
+
2. Use snow_add_uib_page_element to add table components
|
|
595
|
+
3. Configure through UI Builder instead of legacy tables`
|
|
596
|
+
}]
|
|
597
|
+
};
|
|
579
598
|
if (!response.success) {
|
|
580
599
|
return this.createResponse(`❌ Failed to add tab: ${response.error}`);
|
|
581
600
|
}
|
|
@@ -599,7 +618,21 @@ Check execution details for results.`);
|
|
|
599
618
|
order_by: args.order_by || ''
|
|
600
619
|
};
|
|
601
620
|
this.logger.progress('Adding list...');
|
|
602
|
-
|
|
621
|
+
// DEPRECATED: Return proper MCP response for non-existent table
|
|
622
|
+
return {
|
|
623
|
+
content: [{
|
|
624
|
+
type: 'text',
|
|
625
|
+
text: `⚠️ DEPRECATED: sys_aw_list table does not exist in modern ServiceNow
|
|
626
|
+
|
|
627
|
+
💡 **Modern Alternative:**
|
|
628
|
+
Use UI Builder list components for workspace lists.
|
|
629
|
+
|
|
630
|
+
🛠️ **Recommended Tools:**
|
|
631
|
+
- snow_create_uib_component: Create custom list component
|
|
632
|
+
- snow_create_uib_data_broker: Connect list to data source
|
|
633
|
+
- snow_add_uib_page_element: Add list to workspace page`
|
|
634
|
+
}]
|
|
635
|
+
};
|
|
603
636
|
if (!response.success) {
|
|
604
637
|
return this.createResponse(`❌ Failed to add list: ${response.error}`);
|
|
605
638
|
}
|
|
@@ -622,7 +655,21 @@ Check execution details for results.`);
|
|
|
622
655
|
fields: args.fields?.join(',') || ''
|
|
623
656
|
};
|
|
624
657
|
this.logger.progress('Creating form...');
|
|
625
|
-
|
|
658
|
+
// DEPRECATED: Return proper MCP response for non-existent table
|
|
659
|
+
return {
|
|
660
|
+
content: [{
|
|
661
|
+
type: 'text',
|
|
662
|
+
text: `⚠️ DEPRECATED: sys_aw_form table does not exist in modern ServiceNow
|
|
663
|
+
|
|
664
|
+
💡 **Modern Alternative:**
|
|
665
|
+
Use UI Builder form components for workspace forms.
|
|
666
|
+
|
|
667
|
+
🛠️ **Recommended Tools:**
|
|
668
|
+
- snow_create_uib_component: Create custom form component
|
|
669
|
+
- snow_create_uib_page: Create form pages
|
|
670
|
+
- Standard ServiceNow form designer for record forms`
|
|
671
|
+
}]
|
|
672
|
+
};
|
|
626
673
|
if (!response.success) {
|
|
627
674
|
return this.createResponse(`❌ Failed to create form: ${response.error}`);
|
|
628
675
|
}
|
|
@@ -646,7 +693,21 @@ Check execution details for results.`);
|
|
|
646
693
|
condition: args.condition || ''
|
|
647
694
|
};
|
|
648
695
|
this.logger.progress('Adding UI action...');
|
|
649
|
-
|
|
696
|
+
// DEPRECATED: Return proper MCP response for non-existent table
|
|
697
|
+
return {
|
|
698
|
+
content: [{
|
|
699
|
+
type: 'text',
|
|
700
|
+
text: `⚠️ DEPRECATED: sys_aw_ui_action table does not exist in modern ServiceNow
|
|
701
|
+
|
|
702
|
+
💡 **Modern Alternative:**
|
|
703
|
+
Use UI Builder action components for workspace actions.
|
|
704
|
+
|
|
705
|
+
🛠️ **Recommended Tools:**
|
|
706
|
+
- snow_create_uib_component: Create custom action components
|
|
707
|
+
- Standard ServiceNow UI Actions for record actions
|
|
708
|
+
- UI Builder event system for custom interactions`
|
|
709
|
+
}]
|
|
710
|
+
};
|
|
650
711
|
if (!response.success) {
|
|
651
712
|
return this.createResponse(`❌ Failed to add UI action: ${response.error}`);
|
|
652
713
|
}
|
|
@@ -664,7 +725,7 @@ Check execution details for results.`);
|
|
|
664
725
|
roles: args.roles?.join(',') || ''
|
|
665
726
|
};
|
|
666
727
|
this.logger.progress('Deploying workspace...');
|
|
667
|
-
const response = await this.updateRecord('
|
|
728
|
+
const response = await this.updateRecord('sys_aw_master_config', args.workspace_id, updateData);
|
|
668
729
|
if (!response.success) {
|
|
669
730
|
return this.createResponse(`❌ Failed to deploy workspace: ${response.error}`);
|
|
670
731
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.26",
|
|
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",
|