snow-flow 4.5.31 → 4.5.32
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.32",
|
|
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",
|