snow-flow 4.5.23 → 4.5.24

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/CLAUDE.md CHANGED
@@ -655,11 +655,15 @@ Snow-Flow now automatically sets its Update Set as the user's current Update Set
655
655
  - `snow_import_flow_from_xml` - Import flows from XML (only programmatic creation method)
656
656
 
657
657
  **Agent Workspace Tools:**
658
- - `snow_create_workspace` - Create agent workspace configurations
659
- - `snow_create_workspace_tab` - Add custom workspace tabs
660
- - `snow_create_contextual_panel` - Add contextual side panels
658
+ - `snow_create_workspace` - Create agent workspace configurations (uses sys_aw_master_config)
659
+ - `snow_create_workspace_tab` - **DEPRECATED:** Modern workspaces use UX pages
660
+ - `snow_create_contextual_panel` - **DEPRECATED:** Modern workspaces use UX components
661
661
  - `snow_discover_workspaces` - Find all workspace configurations
662
662
 
663
+ **⚠️ IMPORTANT:** Modern ServiceNow Agent Workspaces use **UX Pages (sys_ux_*)** for configuration, not legacy sys_aw_* tables. Use UI Builder tools instead:
664
+ - **Workspace tabs** → Use `snow_add_uib_page_element` with UX page components
665
+ - **Contextual panels** → Use UI Builder component library with data brokers
666
+
663
667
  **Mobile App Tools:**
664
668
  - `snow_configure_mobile_app` - Configure mobile applications
665
669
  - `snow_send_push_notification` - Send push notifications
@@ -1345,25 +1345,16 @@ ${executionList}
1345
1345
  catch (searchError) {
1346
1346
  this.logger.warn('Could not create search config, workspace created without search:', searchError);
1347
1347
  }
1348
- // Fix from user feedback: Create tabs for each table automatically
1348
+ // UPDATED: Modern workspace tab creation guidance
1349
+ let tabsCreated = 0;
1350
+ let modernWorkspaceNote = '';
1349
1351
  if (args.tables && args.tables.length > 0) {
1350
- for (let i = 0; i < args.tables.length; i++) {
1351
- const table = args.tables[i];
1352
+ modernWorkspaceNote = `\n\n📋 **Tab Configuration Required:**\nModern Agent Workspaces use UX Pages for tabs. Configure tabs through:\n`;
1353
+ for (const table of args.tables) {
1352
1354
  const tabLabel = table.replace(/_/g, ' ').replace(/\b\w/g, (l) => l.toUpperCase());
1353
- try {
1354
- await this.client.createRecord('sys_aw_tab', {
1355
- workspace: workspaceId,
1356
- table: table,
1357
- label: tabLabel,
1358
- name: `${table}_tab`,
1359
- order: (i + 1) * 100,
1360
- active: true
1361
- });
1362
- }
1363
- catch (tabError) {
1364
- this.logger.warn(`Could not create tab for table ${table}:`, tabError);
1365
- }
1355
+ modernWorkspaceNote += `\n• **${tabLabel}**: Use snow_add_uib_page_element to add ${table} components`;
1366
1356
  }
1357
+ modernWorkspaceNote += `\n\n💡 **Modern Approach:**\n1. Use snow_create_uib_page for custom workspace pages\n2. Use snow_add_uib_page_element to add table components\n3. Use snow_create_uib_data_broker for data connections`;
1367
1358
  }
1368
1359
  return {
1369
1360
  content: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "4.5.23",
3
+ "version": "4.5.24",
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",