snow-flow 4.5.31 → 4.5.33
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.
|
@@ -118,16 +118,15 @@ class ServiceNowFlowWorkspaceMobileMCP {
|
|
|
118
118
|
// Agent Workspace Tools
|
|
119
119
|
{
|
|
120
120
|
name: 'snow_create_workspace',
|
|
121
|
-
description: 'Creates
|
|
121
|
+
description: 'Creates a Configurable Agent Workspace using modern UX App architecture (sys_ux_app_route, sys_ux_screen_type, sys_ux_screen, sys_ux_macroponent). Creates complete workspace with routing, screen collections, and components.',
|
|
122
122
|
inputSchema: {
|
|
123
123
|
type: 'object',
|
|
124
124
|
properties: {
|
|
125
|
-
name: { type: 'string', description: 'Workspace name' },
|
|
125
|
+
name: { type: 'string', description: 'Configurable Workspace name' },
|
|
126
126
|
description: { type: 'string', description: 'Workspace description' },
|
|
127
|
-
tables: { type: 'array', items: { type: 'string' }, description: 'Tables
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
roles: { type: 'array', items: { type: 'string' }, description: 'Roles with access' }
|
|
127
|
+
tables: { type: 'array', items: { type: 'string' }, description: 'Tables to create screens for (incident, task, etc.)' },
|
|
128
|
+
application: { type: 'string', description: 'Application scope', default: 'global' },
|
|
129
|
+
roles: { type: 'array', items: { type: 'string' }, description: 'Roles with workspace access' }
|
|
131
130
|
},
|
|
132
131
|
required: ['name', 'tables']
|
|
133
132
|
}
|
|
@@ -1273,7 +1272,7 @@ ${executionList}
|
|
|
1273
1272
|
suggestion: 'Check UX Screen Type permissions.'
|
|
1274
1273
|
};
|
|
1275
1274
|
}
|
|
1276
|
-
this.logger.trackAPICall('CREATE', '
|
|
1275
|
+
this.logger.trackAPICall('CREATE', 'sys_ux_app_route', 1);
|
|
1277
1276
|
// Step 3: Create default screens for each table
|
|
1278
1277
|
const createdScreens = [];
|
|
1279
1278
|
if (args.tables && args.tables.length > 0) {
|
|
@@ -1354,7 +1353,7 @@ ${args.roles ? `👥 Roles: ${args.roles.join(', ')}` : ''}
|
|
|
1354
1353
|
const response = await this.client.createRecord('sys_aw_notification_config', notificationData);
|
|
1355
1354
|
if (!response.success) {
|
|
1356
1355
|
// Fallback to updating workspace
|
|
1357
|
-
await this.client.updateRecord('
|
|
1356
|
+
await this.client.updateRecord('sys_ux_app_route', args.workspace, {
|
|
1358
1357
|
notifications_enabled: args.enable_desktop || args.enable_sound
|
|
1359
1358
|
});
|
|
1360
1359
|
}
|
|
@@ -1382,7 +1381,7 @@ ${args.roles ? `👥 Roles: ${args.roles.join(', ')}` : ''}
|
|
|
1382
1381
|
try {
|
|
1383
1382
|
this.logger.info('Discovering Agent Workspaces...');
|
|
1384
1383
|
// Validate table access first
|
|
1385
|
-
const response = await this.client.searchRecords('
|
|
1384
|
+
const response = await this.client.searchRecords('sys_ux_app_route', '', 50);
|
|
1386
1385
|
if (!response.success) {
|
|
1387
1386
|
return {
|
|
1388
1387
|
success: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.33",
|
|
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",
|
package/website/tools.js
CHANGED
|
@@ -460,10 +460,10 @@ const snowFlowTools = {
|
|
|
460
460
|
},
|
|
461
461
|
|
|
462
462
|
"servicenow-flow-workspace-mobile": {
|
|
463
|
-
name: "📱 Flow,
|
|
464
|
-
description: "Flow Designer, Agent Workspaces, Mobile management + COMPLETE UI Builder integration",
|
|
463
|
+
name: "📱 Flow, Configurable Workspaces & Mobile + UI Builder Server",
|
|
464
|
+
description: "Flow Designer, Configurable Agent Workspaces (UX Apps), Mobile management + COMPLETE UI Builder integration",
|
|
465
465
|
badge: "27+ Tools",
|
|
466
|
-
highlight: "
|
|
466
|
+
highlight: "🏗️ UX App Architecture + UI Builder",
|
|
467
467
|
tools: [
|
|
468
468
|
// Flow Designer Tools
|
|
469
469
|
{
|
|
@@ -491,10 +491,11 @@ const snowFlowTools = {
|
|
|
491
491
|
description: "Import flows from XML (only programmatic creation method)."
|
|
492
492
|
},
|
|
493
493
|
|
|
494
|
-
// Agent Workspace Tools
|
|
494
|
+
// Configurable Agent Workspace Tools (UX App Architecture)
|
|
495
495
|
{
|
|
496
496
|
name: "snow_create_workspace",
|
|
497
|
-
description: "Create Agent
|
|
497
|
+
description: "Create Configurable Agent Workspaces using modern UX App architecture (sys_ux_app_route, sys_ux_screen_type, sys_ux_screen, sys_ux_macroponent).",
|
|
498
|
+
highlight: "🏗️ UX App Architecture"
|
|
498
499
|
},
|
|
499
500
|
{
|
|
500
501
|
name: "snow_create_workspace_tab",
|
|
@@ -506,7 +507,8 @@ const snowFlowTools = {
|
|
|
506
507
|
},
|
|
507
508
|
{
|
|
508
509
|
name: "snow_discover_workspaces",
|
|
509
|
-
description: "Discover available Agent Workspaces and
|
|
510
|
+
description: "Discover available Configurable Agent Workspaces (UX Apps) with screen collections and individual screens.",
|
|
511
|
+
highlight: "🔍 UX App Discovery"
|
|
510
512
|
},
|
|
511
513
|
|
|
512
514
|
// Mobile App Tools
|