snow-flow 4.5.42 → 4.5.44
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.
|
@@ -706,9 +706,6 @@ class ServiceNowFlowWorkspaceMobileMCP {
|
|
|
706
706
|
case 'snow_create_workspace':
|
|
707
707
|
result = await this.createWorkspace(args);
|
|
708
708
|
break;
|
|
709
|
-
case 'snow_configure_workspace_notifications':
|
|
710
|
-
result = await this.configureWorkspaceNotifications(args);
|
|
711
|
-
break;
|
|
712
709
|
case 'snow_discover_workspaces':
|
|
713
710
|
result = await this.discoverWorkspaces(args);
|
|
714
711
|
break;
|
|
@@ -1269,43 +1266,6 @@ ${executionList}
|
|
|
1269
1266
|
throw error;
|
|
1270
1267
|
}
|
|
1271
1268
|
}
|
|
1272
|
-
async configureWorkspaceNotifications(args) {
|
|
1273
|
-
try {
|
|
1274
|
-
this.logger.info('Configuring workspace notifications...');
|
|
1275
|
-
const notificationData = {
|
|
1276
|
-
workspace: args.workspace,
|
|
1277
|
-
enable_desktop: args.enable_desktop || false,
|
|
1278
|
-
enable_sound: args.enable_sound || false,
|
|
1279
|
-
notification_types: args.notification_types ? args.notification_types.join(',') : '',
|
|
1280
|
-
priority_threshold: args.priority_threshold || 3
|
|
1281
|
-
};
|
|
1282
|
-
const response = await this.client.createRecord('sys_aw_notification_config', notificationData);
|
|
1283
|
-
if (!response.success) {
|
|
1284
|
-
// Fallback to updating workspace
|
|
1285
|
-
await this.client.updateRecord('sys_ux_app_route', args.workspace, {
|
|
1286
|
-
notifications_enabled: args.enable_desktop || args.enable_sound
|
|
1287
|
-
});
|
|
1288
|
-
}
|
|
1289
|
-
return {
|
|
1290
|
-
content: [{
|
|
1291
|
-
type: 'text',
|
|
1292
|
-
text: `✅ Workspace Notifications configured!
|
|
1293
|
-
|
|
1294
|
-
🔔 **Notification Settings**
|
|
1295
|
-
🖥️ Desktop: ${args.enable_desktop ? 'Enabled' : 'Disabled'}
|
|
1296
|
-
🔊 Sound: ${args.enable_sound ? 'Enabled' : 'Disabled'}
|
|
1297
|
-
📊 Types: ${args.notification_types ? args.notification_types.join(', ') : 'All'}
|
|
1298
|
-
⚠️ Priority Threshold: ${args.priority_threshold || 3}
|
|
1299
|
-
|
|
1300
|
-
✨ Notification preferences saved!`
|
|
1301
|
-
}]
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
catch (error) {
|
|
1305
|
-
this.logger.error('Failed to configure workspace notifications:', error);
|
|
1306
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to configure workspace notifications: ${error}`);
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
1269
|
async discoverWorkspaces(args) {
|
|
1310
1270
|
try {
|
|
1311
1271
|
this.logger.info('Discovering Agent Workspaces...');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.44",
|
|
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",
|