snow-flow 8.31.32 → 8.31.34
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/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.d.ts.map +1 -1
- package/dist/api/simple-health-api.d.ts +1 -1
- package/dist/api/simple-health-api.d.ts.map +1 -1
- package/dist/cli/partners.d.ts +47 -0
- package/dist/cli/partners.d.ts.map +1 -0
- package/dist/cli/partners.js +283 -0
- package/dist/cli/partners.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +146 -561
- package/dist/cli.js.map +1 -1
- package/dist/examples/queen/integration-example.d.ts +83 -0
- package/dist/examples/queen/integration-example.d.ts.map +1 -0
- package/dist/examples/queen/integration-example.js +219 -0
- package/dist/examples/queen/integration-example.js.map +1 -0
- package/dist/intelligence/acl-analyzer.d.ts +88 -0
- package/dist/intelligence/acl-analyzer.d.ts.map +1 -0
- package/dist/intelligence/acl-analyzer.js +276 -0
- package/dist/intelligence/acl-analyzer.js.map +1 -0
- package/dist/intelligence/auto-resolution-engine.d.ts +74 -0
- package/dist/intelligence/auto-resolution-engine.d.ts.map +1 -0
- package/dist/intelligence/auto-resolution-engine.js +518 -0
- package/dist/intelligence/auto-resolution-engine.js.map +1 -0
- package/dist/intelligence/gap-analysis-engine.d.ts +103 -0
- package/dist/intelligence/gap-analysis-engine.d.ts.map +1 -0
- package/dist/intelligence/gap-analysis-engine.js +333 -0
- package/dist/intelligence/gap-analysis-engine.js.map +1 -0
- package/dist/intelligence/manual-instructions-generator.d.ts +88 -0
- package/dist/intelligence/manual-instructions-generator.d.ts.map +1 -0
- package/dist/intelligence/manual-instructions-generator.js +641 -0
- package/dist/intelligence/manual-instructions-generator.js.map +1 -0
- package/dist/intelligence/mcp-coverage-analyzer.d.ts +89 -0
- package/dist/intelligence/mcp-coverage-analyzer.d.ts.map +1 -0
- package/dist/intelligence/mcp-coverage-analyzer.js +556 -0
- package/dist/intelligence/mcp-coverage-analyzer.js.map +1 -0
- package/dist/intelligence/multi-pass-requirements-analyzer.d.ts +79 -0
- package/dist/intelligence/multi-pass-requirements-analyzer.d.ts.map +1 -0
- package/dist/intelligence/multi-pass-requirements-analyzer.js +478 -0
- package/dist/intelligence/multi-pass-requirements-analyzer.js.map +1 -0
- package/dist/intelligence/performance-recommendations-engine.d.ts +236 -0
- package/dist/intelligence/performance-recommendations-engine.d.ts.map +1 -0
- package/dist/intelligence/performance-recommendations-engine.js +958 -0
- package/dist/intelligence/performance-recommendations-engine.js.map +1 -0
- package/dist/intelligence/requirements-analyzer.d.ts +59 -0
- package/dist/intelligence/requirements-analyzer.d.ts.map +1 -0
- package/dist/intelligence/requirements-analyzer.js +978 -0
- package/dist/intelligence/requirements-analyzer.js.map +1 -0
- package/dist/intelligence/task-analyzer.d.ts +119 -0
- package/dist/intelligence/task-analyzer.d.ts.map +1 -0
- package/dist/intelligence/task-analyzer.js +494 -0
- package/dist/intelligence/task-analyzer.js.map +1 -0
- package/dist/mcp/mcp-tool-manager.d.ts +80 -0
- package/dist/mcp/mcp-tool-manager.d.ts.map +1 -0
- package/dist/mcp/mcp-tool-manager.js +272 -0
- package/dist/mcp/mcp-tool-manager.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_jira_integration.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_jira_integration.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_jira_integration.js +49 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_jira_integration.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_ldap_sync.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_ldap_sync.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_ldap_sync.js +48 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_ldap_sync.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_oauth_provider.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_oauth_provider.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_oauth_provider.js +50 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_oauth_provider.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_saml_config.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_saml_config.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_saml_config.js +49 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_saml_config.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_webhook_config.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_webhook_config.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_webhook_config.js +51 -0
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/snow_webhook_config.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/index.d.ts +3 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/index.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/index.js +10 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/index.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_predict.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_predict.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_predict.js +40 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_predict.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_train_classifier.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_train_classifier.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_train_classifier.js +42 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml/snow_train_classifier.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_approve_change.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_approve_change.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_approve_change.js +43 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_approve_change.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_assess_change_risk.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_assess_change_risk.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_assess_change_risk.js +53 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_assess_change_risk.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change.js +50 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change_task.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change_task.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change_task.js +50 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_create_change_task.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_get_change_request.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_get_change_request.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_get_change_request.js +60 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_get_change_request.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_schedule_cab_meeting.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_schedule_cab_meeting.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_schedule_cab_meeting.js +55 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_schedule_cab_meeting.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_search_change_requests.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_search_change_requests.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_search_change_requests.js +54 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_search_change_requests.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_update_change_state.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_update_change_state.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_update_change_state.js +67 -0
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_update_change_state.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_csv_to_json.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_csv_to_json.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_csv_to_json.js +52 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_csv_to_json.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_csv.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_csv.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_csv.js +51 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_csv.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_xml.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_xml.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_xml.js +42 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_json_to_xml.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_xml_to_json.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_xml_to_json.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_xml_to_json.js +42 -0
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_xml_to_json.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_details.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_details.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_details.js +68 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_details.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_history.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_history.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_history.js +76 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_history.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_status.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_status.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_status.js +71 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_get_flow_execution_status.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_list_flows.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_list_flows.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_list_flows.js +42 -0
- package/dist/mcp/servicenow-mcp-unified/tools/flow-designer/snow_list_flows.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_article.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_article.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_article.js +80 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_article.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_get_knowledge_article_details.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_get_knowledge_article_details.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_get_knowledge_article_details.js +63 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_get_knowledge_article_details.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_publish_kb_article.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_publish_kb_article.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_publish_kb_article.js +41 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_publish_kb_article.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_retire_knowledge_article.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_retire_knowledge_article.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_retire_knowledge_article.js +59 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_retire_knowledge_article.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_search_knowledge.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_search_knowledge.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_search_knowledge.js +72 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_search_knowledge.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_update_knowledge_article.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_update_knowledge_article.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_update_knowledge_article.js +68 -0
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_update_knowledge_article.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_user_to_group.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_user_to_group.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_user_to_group.js +106 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_user_to_group.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_record.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_record.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_record.js +107 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_record.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_delete_record.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_delete_record.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_delete_record.js +157 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_delete_record.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_list_group_members.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_list_group_members.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_list_group_members.js +117 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_list_group_members.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_remove_user_from_group.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_remove_user_from_group.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_remove_user_from_group.js +99 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_remove_user_from_group.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_record.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_record.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_record.js +105 -0
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_record.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_collect_pa_data.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_collect_pa_data.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_collect_pa_data.js +55 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_collect_pa_data.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_data_visualization.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_data_visualization.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_data_visualization.js +70 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_data_visualization.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_kpi.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_kpi.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_kpi.js +69 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_kpi.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_breakdown.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_breakdown.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_breakdown.js +55 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_breakdown.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_indicator.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_indicator.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_indicator.js +43 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_indicator.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_threshold.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_threshold.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_threshold.js +57 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_threshold.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_widget.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_widget.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_widget.js +62 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_pa_widget.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_scheduled_report.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_scheduled_report.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_scheduled_report.js +69 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_create_scheduled_report.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_pa_indicators.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_pa_indicators.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_pa_indicators.js +55 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_pa_indicators.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_report_fields.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_report_fields.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_report_fields.js +53 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_report_fields.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_reporting_tables.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_reporting_tables.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_reporting_tables.js +51 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_discover_reporting_tables.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_export_report_data.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_export_report_data.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_export_report_data.js +62 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_export_report_data.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_generate_insights.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_generate_insights.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_generate_insights.js +69 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_generate_insights.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_get_pa_scores.d.ts +8 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_get_pa_scores.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_get_pa_scores.js +42 -0
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_get_pa_scores.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/index.d.ts +10 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/index.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/index.js +28 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/index.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_activate_pi_solution.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_activate_pi_solution.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_activate_pi_solution.js +168 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_activate_pi_solution.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_create_pi_solution.d.ts +20 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_create_pi_solution.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_create_pi_solution.js +235 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_create_pi_solution.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_list_pi_solutions.d.ts +10 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_list_pi_solutions.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_list_pi_solutions.js +166 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_list_pi_solutions.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_monitor_pi_training.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_monitor_pi_training.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_monitor_pi_training.js +142 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_monitor_pi_training.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_train_pi_solution.d.ts +14 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_train_pi_solution.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_train_pi_solution.js +149 -0
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence/snow_train_pi_solution.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_add_uib_page_element.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_add_uib_page_element.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_add_uib_page_element.js +111 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_add_uib_page_element.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_clone_uib_component.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_clone_uib_component.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_clone_uib_component.js +99 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_clone_uib_component.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_component.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_component.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_component.js +102 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_component.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page.js +99 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_delete_uib_page.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_delete_uib_page.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_delete_uib_page.js +108 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_delete_uib_page.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_components.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_components.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_components.js +96 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_components.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_page_usage.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_page_usage.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_page_usage.js +106 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_page_usage.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_pages.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_pages.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_pages.js +102 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_pages.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_routes.d.ts +12 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_routes.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_routes.js +99 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib_routes.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_remove_uib_page_element.d.ts +11 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_remove_uib_page_element.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_remove_uib_page_element.js +138 -0
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_remove_uib_page_element.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_add_user_to_group.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_add_user_to_group.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_add_user_to_group.js +42 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_add_user_to_group.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_assign_role.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_assign_role.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_assign_role.js +51 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_assign_role.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_group.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_group.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_group.js +51 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_group.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_role.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_role.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_role.js +47 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_role.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_user.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_user.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_user.js +51 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_create_user.js.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_deactivate_user.d.ts +9 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_deactivate_user.d.ts.map +1 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_deactivate_user.js +40 -0
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_deactivate_user.js.map +1 -0
- package/dist/memory/session-memory.d.ts +70 -0
- package/dist/memory/session-memory.d.ts.map +1 -0
- package/dist/memory/session-memory.js +110 -0
- package/dist/memory/session-memory.js.map +1 -0
- package/dist/partners/license-parser.d.ts +52 -0
- package/dist/partners/license-parser.d.ts.map +1 -0
- package/dist/partners/license-parser.js +240 -0
- package/dist/partners/license-parser.js.map +1 -0
- package/dist/partners/types.d.ts +253 -0
- package/dist/partners/types.d.ts.map +1 -0
- package/dist/partners/types.js +111 -0
- package/dist/partners/types.js.map +1 -0
- package/dist/portal/partner-backend.d.ts +106 -0
- package/dist/portal/partner-backend.d.ts.map +1 -0
- package/dist/portal/partner-backend.js +254 -0
- package/dist/portal/partner-backend.js.map +1 -0
- package/dist/queen/agent-factory.d.ts +45 -0
- package/dist/queen/agent-factory.d.ts.map +1 -0
- package/dist/queen/agent-factory.js +659 -0
- package/dist/queen/agent-factory.js.map +1 -0
- package/dist/queen/index.d.ts +59 -0
- package/dist/queen/index.d.ts.map +1 -0
- package/dist/queen/index.js +80 -0
- package/dist/queen/index.js.map +1 -0
- package/dist/queen/mcp-execution-bridge.d.ts +115 -0
- package/dist/queen/mcp-execution-bridge.d.ts.map +1 -0
- package/dist/queen/mcp-execution-bridge.js +535 -0
- package/dist/queen/mcp-execution-bridge.js.map +1 -0
- package/dist/queen/neural-learning.d.ts +28 -0
- package/dist/queen/neural-learning.d.ts.map +1 -0
- package/dist/queen/neural-learning.js +252 -0
- package/dist/queen/neural-learning.js.map +1 -0
- package/dist/queen/parallel-agent-engine.d.ts +126 -0
- package/dist/queen/parallel-agent-engine.d.ts.map +1 -0
- package/dist/queen/parallel-agent-engine.js +704 -0
- package/dist/queen/parallel-agent-engine.js.map +1 -0
- package/dist/queen/queen-knowledge-base.d.ts +151 -0
- package/dist/queen/queen-knowledge-base.d.ts.map +1 -0
- package/dist/queen/queen-knowledge-base.js +283 -0
- package/dist/queen/queen-knowledge-base.js.map +1 -0
- package/dist/queen/queen-memory.d.ts +65 -0
- package/dist/queen/queen-memory.d.ts.map +1 -0
- package/dist/queen/queen-memory.js +467 -0
- package/dist/queen/queen-memory.js.map +1 -0
- package/dist/queen/servicenow-queen.d.ts +154 -0
- package/dist/queen/servicenow-queen.d.ts.map +1 -0
- package/dist/queen/servicenow-queen.js +1409 -0
- package/dist/queen/servicenow-queen.js.map +1 -0
- package/dist/queen/types.d.ts +65 -0
- package/dist/queen/types.d.ts.map +1 -0
- package/dist/queen/types.js +7 -0
- package/dist/queen/types.js.map +1 -0
- package/dist/sdk/queen-orchestrator.d.ts +94 -0
- package/dist/sdk/queen-orchestrator.d.ts.map +1 -0
- package/dist/sdk/queen-orchestrator.js +309 -0
- package/dist/sdk/queen-orchestrator.js.map +1 -0
- package/dist/sdk/universal-agent-spawner.d.ts +112 -0
- package/dist/sdk/universal-agent-spawner.d.ts.map +1 -0
- package/dist/sdk/universal-agent-spawner.js +353 -0
- package/dist/sdk/universal-agent-spawner.js.map +1 -0
- package/dist/sparc/sparc-help.d.ts +5 -0
- package/dist/sparc/sparc-help.d.ts.map +1 -0
- package/dist/sparc/sparc-help.js +52 -0
- package/dist/sparc/sparc-help.js.map +1 -0
- package/dist/sparc/team-sparc.d.ts +9 -0
- package/dist/sparc/team-sparc.d.ts.map +1 -0
- package/dist/sparc/team-sparc.js +83 -0
- package/dist/sparc/team-sparc.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Manual Instructions Generator - Creates detailed manual setup guides
|
|
4
|
+
*
|
|
5
|
+
* This module generates comprehensive, step-by-step instructions for ServiceNow
|
|
6
|
+
* configurations that cannot be automated through MCP tools or direct API calls.
|
|
7
|
+
*
|
|
8
|
+
* Features:
|
|
9
|
+
* - Role-specific instructions (admin, developer, end-user)
|
|
10
|
+
* - Environment-aware guidance (dev, test, prod)
|
|
11
|
+
* - Risk assessment and warnings
|
|
12
|
+
* - Prerequisites and dependencies
|
|
13
|
+
* - Verification steps and testing guidance
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ManualInstructionsGenerator = exports.MANUAL_INSTRUCTION_TEMPLATES = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Manual instruction templates for ServiceNow configurations
|
|
19
|
+
*/
|
|
20
|
+
exports.MANUAL_INSTRUCTION_TEMPLATES = {
|
|
21
|
+
// System Configuration
|
|
22
|
+
system_property: {
|
|
23
|
+
title: 'Create System Property',
|
|
24
|
+
overview: 'System properties control global ServiceNow behavior and should be configured carefully.',
|
|
25
|
+
prerequisites: ['admin role', 'understanding of property impact'],
|
|
26
|
+
riskLevel: 'medium',
|
|
27
|
+
requiredRoles: ['admin'],
|
|
28
|
+
instructions: [
|
|
29
|
+
{
|
|
30
|
+
step: 1,
|
|
31
|
+
title: 'Navigate to System Properties',
|
|
32
|
+
description: 'Access the system properties configuration',
|
|
33
|
+
navigation: ['System Definition', 'System Properties'],
|
|
34
|
+
actions: [
|
|
35
|
+
'Click on System Definition in the left navigation',
|
|
36
|
+
'Select System Properties from the submenu',
|
|
37
|
+
'Review existing properties to avoid duplicates'
|
|
38
|
+
],
|
|
39
|
+
estimatedTime: '1 minute'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
step: 2,
|
|
43
|
+
title: 'Create New Property',
|
|
44
|
+
description: 'Add the new system property with correct settings',
|
|
45
|
+
navigation: [],
|
|
46
|
+
actions: [
|
|
47
|
+
'Click the "New" button',
|
|
48
|
+
'Enter the property name (use descriptive naming)',
|
|
49
|
+
'Set the property value',
|
|
50
|
+
'Add a clear description explaining the purpose',
|
|
51
|
+
'Select appropriate type (string, boolean, integer, etc.)'
|
|
52
|
+
],
|
|
53
|
+
warnings: [
|
|
54
|
+
'Test property changes in development first',
|
|
55
|
+
'Document the business reason for the property',
|
|
56
|
+
'Some properties require instance restart'
|
|
57
|
+
],
|
|
58
|
+
estimatedTime: '3 minutes'
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
verificationGuide: [
|
|
62
|
+
'Verify property appears in system properties list',
|
|
63
|
+
'Test that property value is correctly applied',
|
|
64
|
+
'Monitor system logs for any warnings or errors'
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
// Database Management
|
|
68
|
+
database_index: {
|
|
69
|
+
title: 'Create Database Index',
|
|
70
|
+
overview: 'Database indexes improve query performance but should be created carefully to avoid negative impact.',
|
|
71
|
+
prerequisites: ['admin role', 'database performance knowledge', 'development environment testing'],
|
|
72
|
+
riskLevel: 'high',
|
|
73
|
+
requiredRoles: ['admin'],
|
|
74
|
+
instructions: [
|
|
75
|
+
{
|
|
76
|
+
step: 1,
|
|
77
|
+
title: 'Navigate to Table Configuration',
|
|
78
|
+
description: 'Access the target table for index creation',
|
|
79
|
+
navigation: ['System Definition', 'Tables'],
|
|
80
|
+
actions: [
|
|
81
|
+
'Search for the target table',
|
|
82
|
+
'Open the table definition',
|
|
83
|
+
'Go to the "Database Indexes" related list'
|
|
84
|
+
],
|
|
85
|
+
warnings: [
|
|
86
|
+
'NEVER create indexes on production without development testing',
|
|
87
|
+
'Monitor database performance during index creation'
|
|
88
|
+
],
|
|
89
|
+
estimatedTime: '2 minutes'
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
step: 2,
|
|
93
|
+
title: 'Create Index',
|
|
94
|
+
description: 'Configure the database index with optimal settings',
|
|
95
|
+
navigation: [],
|
|
96
|
+
actions: [
|
|
97
|
+
'Click "New" in the Database Indexes related list',
|
|
98
|
+
'Set a descriptive index name',
|
|
99
|
+
'Select index type (index, unique, etc.)',
|
|
100
|
+
'Add fields to index in optimal order',
|
|
101
|
+
'Consider composite indexes for multi-field queries'
|
|
102
|
+
],
|
|
103
|
+
warnings: [
|
|
104
|
+
'Index creation can impact database performance',
|
|
105
|
+
'Test query performance before and after',
|
|
106
|
+
'Consider maintenance windows for large tables'
|
|
107
|
+
],
|
|
108
|
+
verificationSteps: [
|
|
109
|
+
'Verify index appears in database',
|
|
110
|
+
'Test query performance improvement',
|
|
111
|
+
'Monitor for any locking issues'
|
|
112
|
+
],
|
|
113
|
+
estimatedTime: '10 minutes'
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
troubleshooting: [
|
|
117
|
+
{
|
|
118
|
+
issue: 'Index creation fails',
|
|
119
|
+
solution: 'Check for duplicate index names, verify field names exist, ensure sufficient database permissions'
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
issue: 'Performance degradation',
|
|
123
|
+
solution: 'Review index strategy, consider dropping unused indexes, analyze query execution plans'
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
// Navigation and UI
|
|
128
|
+
application_menu: {
|
|
129
|
+
title: 'Create Application Menu',
|
|
130
|
+
overview: 'Application menus organize functionality and provide user navigation within ServiceNow applications.',
|
|
131
|
+
prerequisites: ['admin role', 'understanding of application structure'],
|
|
132
|
+
riskLevel: 'low',
|
|
133
|
+
requiredRoles: ['admin'],
|
|
134
|
+
instructions: [
|
|
135
|
+
{
|
|
136
|
+
step: 1,
|
|
137
|
+
title: 'Navigate to Application Menus',
|
|
138
|
+
description: 'Access the application menu configuration',
|
|
139
|
+
navigation: ['System Definition', 'Application Menus'],
|
|
140
|
+
actions: [
|
|
141
|
+
'Find the target application',
|
|
142
|
+
'Note the existing menu structure',
|
|
143
|
+
'Plan the new menu placement'
|
|
144
|
+
],
|
|
145
|
+
estimatedTime: '1 minute'
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
step: 2,
|
|
149
|
+
title: 'Create Menu Module',
|
|
150
|
+
description: 'Add a new module to the application menu',
|
|
151
|
+
navigation: [],
|
|
152
|
+
actions: [
|
|
153
|
+
'Right-click on the application or existing module',
|
|
154
|
+
'Select "New Module"',
|
|
155
|
+
'Set the module title and order',
|
|
156
|
+
'Configure the link type (LIST, DETAIL, etc.)',
|
|
157
|
+
'Set appropriate roles and conditions'
|
|
158
|
+
],
|
|
159
|
+
verificationSteps: [
|
|
160
|
+
'Verify menu appears in application navigator',
|
|
161
|
+
'Test menu link functionality',
|
|
162
|
+
'Confirm proper role-based access'
|
|
163
|
+
],
|
|
164
|
+
estimatedTime: '3 minutes'
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
// Authentication and Security
|
|
169
|
+
ldap_config: {
|
|
170
|
+
title: 'Configure LDAP Authentication',
|
|
171
|
+
overview: 'LDAP integration enables Single Sign-On and centralized user management.',
|
|
172
|
+
prerequisites: ['security_admin role', 'LDAP server details', 'network connectivity'],
|
|
173
|
+
riskLevel: 'high',
|
|
174
|
+
requiredRoles: ['security_admin', 'admin'],
|
|
175
|
+
instructions: [
|
|
176
|
+
{
|
|
177
|
+
step: 1,
|
|
178
|
+
title: 'Navigate to LDAP Servers',
|
|
179
|
+
description: 'Access LDAP configuration interface',
|
|
180
|
+
navigation: ['System LDAP', 'LDAP Servers'],
|
|
181
|
+
actions: [
|
|
182
|
+
'Review existing LDAP configurations',
|
|
183
|
+
'Gather LDAP server connection details',
|
|
184
|
+
'Prepare test user accounts'
|
|
185
|
+
],
|
|
186
|
+
warnings: [
|
|
187
|
+
'LDAP configuration affects user authentication',
|
|
188
|
+
'Test thoroughly before enabling in production',
|
|
189
|
+
'Have fallback admin account ready'
|
|
190
|
+
],
|
|
191
|
+
estimatedTime: '2 minutes'
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
step: 2,
|
|
195
|
+
title: 'Create LDAP Server Configuration',
|
|
196
|
+
description: 'Configure connection to LDAP server',
|
|
197
|
+
navigation: [],
|
|
198
|
+
actions: [
|
|
199
|
+
'Click "New" to create LDAP server',
|
|
200
|
+
'Enter server hostname and port',
|
|
201
|
+
'Configure SSL settings if required',
|
|
202
|
+
'Set bind DN and password',
|
|
203
|
+
'Configure user and group search bases'
|
|
204
|
+
],
|
|
205
|
+
warnings: [
|
|
206
|
+
'Use secure connection (LDAPS) when possible',
|
|
207
|
+
'Store service account credentials securely',
|
|
208
|
+
'Test connection before saving'
|
|
209
|
+
],
|
|
210
|
+
estimatedTime: '15 minutes'
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
step: 3,
|
|
214
|
+
title: 'Configure User Mapping',
|
|
215
|
+
description: 'Map LDAP attributes to ServiceNow user fields',
|
|
216
|
+
navigation: [],
|
|
217
|
+
actions: [
|
|
218
|
+
'Set up attribute mapping for user fields',
|
|
219
|
+
'Configure group membership mapping',
|
|
220
|
+
'Set default roles for LDAP users',
|
|
221
|
+
'Enable user provisioning if needed'
|
|
222
|
+
],
|
|
223
|
+
verificationSteps: [
|
|
224
|
+
'Test LDAP connection',
|
|
225
|
+
'Verify user authentication',
|
|
226
|
+
'Confirm group membership sync',
|
|
227
|
+
'Test with multiple user accounts'
|
|
228
|
+
],
|
|
229
|
+
estimatedTime: '10 minutes'
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
troubleshooting: [
|
|
233
|
+
{
|
|
234
|
+
issue: 'Connection fails',
|
|
235
|
+
solution: 'Verify server details, check network connectivity, confirm firewall rules, validate credentials'
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
issue: 'Users cannot authenticate',
|
|
239
|
+
solution: 'Check user DN format, verify search base configuration, confirm attribute mapping'
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
// Performance and Monitoring
|
|
244
|
+
performance_analytics: {
|
|
245
|
+
title: 'Configure Performance Analytics',
|
|
246
|
+
overview: 'Performance Analytics provides data-driven insights through cubes and dashboards.',
|
|
247
|
+
prerequisites: ['pa_admin role', 'data source understanding', 'dashboard requirements'],
|
|
248
|
+
riskLevel: 'medium',
|
|
249
|
+
requiredRoles: ['pa_admin'],
|
|
250
|
+
instructions: [
|
|
251
|
+
{
|
|
252
|
+
step: 1,
|
|
253
|
+
title: 'Navigate to Performance Analytics',
|
|
254
|
+
description: 'Access PA configuration',
|
|
255
|
+
navigation: ['Performance Analytics', 'Data Collector', 'Cubes'],
|
|
256
|
+
actions: [
|
|
257
|
+
'Review existing cubes',
|
|
258
|
+
'Identify data sources',
|
|
259
|
+
'Plan cube structure'
|
|
260
|
+
],
|
|
261
|
+
estimatedTime: '3 minutes'
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
step: 2,
|
|
265
|
+
title: 'Create Data Cube',
|
|
266
|
+
description: 'Set up data collection cube',
|
|
267
|
+
navigation: [],
|
|
268
|
+
actions: [
|
|
269
|
+
'Click "New" to create cube',
|
|
270
|
+
'Set cube name and description',
|
|
271
|
+
'Select source table',
|
|
272
|
+
'Configure collection schedule',
|
|
273
|
+
'Define dimensions and measures'
|
|
274
|
+
],
|
|
275
|
+
estimatedTime: '15 minutes'
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
// Placeholder entries for other requirement types
|
|
280
|
+
module_navigation: { title: 'Configure Module Navigation' },
|
|
281
|
+
form_layout: { title: 'Design Form Layout' },
|
|
282
|
+
form_section: { title: 'Create Form Section' },
|
|
283
|
+
list_layout: { title: 'Configure List Layout' },
|
|
284
|
+
dictionary_entry: { title: 'Create Dictionary Entry' },
|
|
285
|
+
choice_list: { title: 'Configure Choice List' },
|
|
286
|
+
reference_qualifier: { title: 'Set Reference Qualifier' },
|
|
287
|
+
workflow_activity: { title: 'Create Workflow Activity' },
|
|
288
|
+
workflow_transition: { title: 'Configure Workflow Transition' },
|
|
289
|
+
sla_definition: { title: 'Define SLA' },
|
|
290
|
+
escalation_rule: { title: 'Create Escalation Rule' },
|
|
291
|
+
approval_definition: { title: 'Configure Approval Process' },
|
|
292
|
+
oauth_provider: { title: 'Set up OAuth Provider' },
|
|
293
|
+
saml_config: { title: 'Configure SAML Authentication' },
|
|
294
|
+
sso_config: { title: 'Configure Single Sign-On' },
|
|
295
|
+
mfa_config: { title: 'Set up Multi-Factor Authentication' },
|
|
296
|
+
web_service: { title: 'Create Web Service' },
|
|
297
|
+
soap_message: { title: 'Configure SOAP Message' },
|
|
298
|
+
import_set_transformer: { title: 'Create Import Set Transformer' },
|
|
299
|
+
data_source: { title: 'Configure Data Source' },
|
|
300
|
+
ldap_server: { title: 'Configure LDAP Server' },
|
|
301
|
+
email_template: { title: 'Create Email Template' },
|
|
302
|
+
inbound_email_action: { title: 'Configure Inbound Email Action' },
|
|
303
|
+
processor: { title: 'Create Processor' },
|
|
304
|
+
pdf_generator: { title: 'Configure PDF Generator' },
|
|
305
|
+
sys_script_validator: { title: 'Create Script Validator' },
|
|
306
|
+
scheduled_task: { title: 'Create Scheduled Task' },
|
|
307
|
+
metric_definition: { title: 'Define Metric' },
|
|
308
|
+
job_queue: { title: 'Configure Job Queue' },
|
|
309
|
+
transaction_quota: { title: 'Set Transaction Quota' },
|
|
310
|
+
database_view: { title: 'Create Database View' },
|
|
311
|
+
table_rotation: { title: 'Configure Table Rotation' },
|
|
312
|
+
partitioning_config: { title: 'Set up Table Partitioning' },
|
|
313
|
+
cache_configuration: { title: 'Configure Cache Settings' },
|
|
314
|
+
system_definition: { title: 'Update System Definition' },
|
|
315
|
+
theme_configuration: { title: 'Configure Theme' },
|
|
316
|
+
branding_config: { title: 'Set up Branding' },
|
|
317
|
+
formatter: { title: 'Create Formatter' },
|
|
318
|
+
related_list: { title: 'Configure Related List' },
|
|
319
|
+
coremeta_data: { title: 'Configure Core Metadata' },
|
|
320
|
+
// Core artifacts (should be handled by MCP tools, but fallback instructions)
|
|
321
|
+
widget: { title: 'Create Service Portal Widget' },
|
|
322
|
+
flow: { title: 'Create Flow Designer Flow' },
|
|
323
|
+
business_rule: { title: 'Create Business Rule' },
|
|
324
|
+
script_include: { title: 'Create Script Include' },
|
|
325
|
+
table: { title: 'Create Table' },
|
|
326
|
+
application: { title: 'Create Application' },
|
|
327
|
+
user_role: { title: 'Create User Role' },
|
|
328
|
+
user_group: { title: 'Create User Group' },
|
|
329
|
+
user_account: { title: 'Create User Account' },
|
|
330
|
+
group_membership: { title: 'Assign Group Membership' },
|
|
331
|
+
acl_rule: { title: 'Create Access Control Rule' },
|
|
332
|
+
data_policy: { title: 'Create Data Policy' },
|
|
333
|
+
ui_page: { title: 'Create UI Page' },
|
|
334
|
+
ui_action: { title: 'Create UI Action' },
|
|
335
|
+
ui_policy: { title: 'Create UI Policy' },
|
|
336
|
+
client_script: { title: 'Create Client Script' },
|
|
337
|
+
catalog_item: { title: 'Create Catalog Item' },
|
|
338
|
+
catalog_variable: { title: 'Create Catalog Variable' },
|
|
339
|
+
catalog_category: { title: 'Create Catalog Category' },
|
|
340
|
+
notification_rule: { title: 'Create Notification Rule' },
|
|
341
|
+
scheduled_job: { title: 'Create Scheduled Job' },
|
|
342
|
+
event_rule: { title: 'Create Event Rule' },
|
|
343
|
+
event_registration: { title: 'Register Event' },
|
|
344
|
+
rest_message: { title: 'Create REST Message' },
|
|
345
|
+
transform_map: { title: 'Create Transform Map' },
|
|
346
|
+
import_set: { title: 'Create Import Set' },
|
|
347
|
+
report: { title: 'Create Report' },
|
|
348
|
+
dashboard: { title: 'Create Dashboard' },
|
|
349
|
+
dashboard_tab: { title: 'Create Dashboard Tab' },
|
|
350
|
+
homepage: { title: 'Configure Homepage' },
|
|
351
|
+
update_set: { title: 'Create Update Set' },
|
|
352
|
+
workflow_integration: { title: 'Configure Workflow Integration' },
|
|
353
|
+
approval_workflow: { title: 'Create Approval Workflow' },
|
|
354
|
+
integration_endpoint: { title: 'Create Integration Endpoint' },
|
|
355
|
+
query_rule: { title: 'Create Query Rule' },
|
|
356
|
+
incident_table: { title: 'Configure Incident Table' },
|
|
357
|
+
incident__analysis: { title: 'Set up Incident Analysis' },
|
|
358
|
+
knowledge_article: { title: 'Create Knowledge Article' }
|
|
359
|
+
};
|
|
360
|
+
class ManualInstructionsGenerator {
|
|
361
|
+
/**
|
|
362
|
+
* Generate detailed manual instructions for a single requirement
|
|
363
|
+
*/
|
|
364
|
+
static generateInstructions(requirement) {
|
|
365
|
+
const template = exports.MANUAL_INSTRUCTION_TEMPLATES[requirement.type];
|
|
366
|
+
if (!template) {
|
|
367
|
+
return this.generateGenericInstructions(requirement);
|
|
368
|
+
}
|
|
369
|
+
// Merge template with requirement-specific data
|
|
370
|
+
const guide = {
|
|
371
|
+
requirement,
|
|
372
|
+
title: template.title || `Configure ${requirement.type}`,
|
|
373
|
+
overview: template.overview || `Manual setup required for ${requirement.name}`,
|
|
374
|
+
prerequisites: template.prerequisites || ['admin role', 'system understanding'],
|
|
375
|
+
totalEstimatedTime: this.calculateTotalTime(template.instructions || []),
|
|
376
|
+
riskLevel: template.riskLevel || 'medium',
|
|
377
|
+
requiredRoles: template.requiredRoles || ['admin'],
|
|
378
|
+
environment: 'development',
|
|
379
|
+
instructions: template.instructions || [],
|
|
380
|
+
verificationGuide: template.verificationGuide || this.generateGenericVerification(requirement),
|
|
381
|
+
troubleshooting: template.troubleshooting || [],
|
|
382
|
+
relatedDocuments: this.generateRelatedDocuments(requirement.type)
|
|
383
|
+
};
|
|
384
|
+
// Customize instructions with requirement-specific data
|
|
385
|
+
guide.instructions = this.customizeInstructions(guide.instructions, requirement);
|
|
386
|
+
return guide;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Generate bulk manual guide for multiple requirements
|
|
390
|
+
*/
|
|
391
|
+
static generateBulkInstructions(requirements) {
|
|
392
|
+
const guides = requirements.map(req => this.generateInstructions(req));
|
|
393
|
+
const executionOrder = this.planExecutionOrder(requirements);
|
|
394
|
+
return {
|
|
395
|
+
title: `Manual Configuration Guide for ${requirements.length} Requirements`,
|
|
396
|
+
overview: this.generateBulkOverview(requirements),
|
|
397
|
+
executionOrder,
|
|
398
|
+
guides,
|
|
399
|
+
overallRisks: this.identifyOverallRisks(guides),
|
|
400
|
+
coordinationNotes: this.generateCoordinationNotes(requirements)
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Generate instructions from failed automation results
|
|
405
|
+
*/
|
|
406
|
+
static generateFromFailedResults(results) {
|
|
407
|
+
return results
|
|
408
|
+
.filter(result => result.status === 'failed' || result.status === 'manual_required')
|
|
409
|
+
.map(result => {
|
|
410
|
+
const guide = this.generateInstructions(result.requirement);
|
|
411
|
+
// Add failure-specific information
|
|
412
|
+
if (result.errorMessage) {
|
|
413
|
+
guide.overview += ` Note: Automation failed with error: ${result.errorMessage}`;
|
|
414
|
+
}
|
|
415
|
+
if (result.manualSteps && result.manualSteps.length > 0) {
|
|
416
|
+
const failureStep = {
|
|
417
|
+
step: 0,
|
|
418
|
+
title: 'Automation Failure Recovery',
|
|
419
|
+
description: 'Steps to recover from failed automation attempt',
|
|
420
|
+
navigation: [],
|
|
421
|
+
actions: result.manualSteps,
|
|
422
|
+
warnings: ['Verify automation did not create partial configuration'],
|
|
423
|
+
estimatedTime: '2 minutes'
|
|
424
|
+
};
|
|
425
|
+
guide.instructions.unshift(failureStep);
|
|
426
|
+
}
|
|
427
|
+
return guide;
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Generate environment-specific instructions
|
|
432
|
+
*/
|
|
433
|
+
static generateForEnvironment(requirement, environment) {
|
|
434
|
+
const guide = this.generateInstructions(requirement);
|
|
435
|
+
guide.environment = environment;
|
|
436
|
+
// Add environment-specific warnings and procedures
|
|
437
|
+
switch (environment) {
|
|
438
|
+
case 'production':
|
|
439
|
+
guide.riskLevel = guide.riskLevel === 'low' ? 'medium' : 'high';
|
|
440
|
+
guide.prerequisites.push('change management approval', 'maintenance window', 'rollback plan');
|
|
441
|
+
guide.instructions.forEach(instruction => {
|
|
442
|
+
instruction.warnings = instruction.warnings || [];
|
|
443
|
+
instruction.warnings.push('PRODUCTION ENVIRONMENT - Exercise extreme caution');
|
|
444
|
+
});
|
|
445
|
+
break;
|
|
446
|
+
case 'testing':
|
|
447
|
+
guide.prerequisites.push('test data available', 'test scenarios defined');
|
|
448
|
+
break;
|
|
449
|
+
case 'development':
|
|
450
|
+
guide.prerequisites.push('development instance access');
|
|
451
|
+
break;
|
|
452
|
+
}
|
|
453
|
+
return guide;
|
|
454
|
+
}
|
|
455
|
+
// Private helper methods
|
|
456
|
+
static generateGenericInstructions(requirement) {
|
|
457
|
+
return {
|
|
458
|
+
requirement,
|
|
459
|
+
title: `Configure ${requirement.type}: ${requirement.name}`,
|
|
460
|
+
overview: `Manual configuration required for ${requirement.type}. This is a generic guide as specific instructions are not available.`,
|
|
461
|
+
prerequisites: ['admin role', 'ServiceNow platform knowledge'],
|
|
462
|
+
totalEstimatedTime: '15-30 minutes',
|
|
463
|
+
riskLevel: 'medium',
|
|
464
|
+
requiredRoles: ['admin'],
|
|
465
|
+
environment: 'development',
|
|
466
|
+
instructions: [
|
|
467
|
+
{
|
|
468
|
+
step: 1,
|
|
469
|
+
title: 'Research Configuration',
|
|
470
|
+
description: 'Find the appropriate ServiceNow configuration area',
|
|
471
|
+
navigation: ['Research in ServiceNow documentation'],
|
|
472
|
+
actions: [
|
|
473
|
+
'Search ServiceNow documentation for configuration steps',
|
|
474
|
+
'Identify the correct navigation path',
|
|
475
|
+
'Review similar existing configurations'
|
|
476
|
+
],
|
|
477
|
+
estimatedTime: '10 minutes'
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
step: 2,
|
|
481
|
+
title: 'Create Configuration',
|
|
482
|
+
description: 'Implement the required configuration',
|
|
483
|
+
navigation: ['Navigate to appropriate section'],
|
|
484
|
+
actions: [
|
|
485
|
+
'Create new configuration item',
|
|
486
|
+
'Set name and description appropriately',
|
|
487
|
+
'Configure settings according to requirements',
|
|
488
|
+
'Test configuration thoroughly'
|
|
489
|
+
],
|
|
490
|
+
warnings: ['Test in development environment first'],
|
|
491
|
+
estimatedTime: '15 minutes'
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
verificationGuide: this.generateGenericVerification(requirement),
|
|
495
|
+
troubleshooting: [
|
|
496
|
+
{
|
|
497
|
+
issue: 'Configuration not found',
|
|
498
|
+
solution: 'Check ServiceNow documentation or contact system administrator'
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
relatedDocuments: ['ServiceNow Product Documentation', 'Internal Configuration Standards']
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
static generateGenericVerification(requirement) {
|
|
505
|
+
return [
|
|
506
|
+
`Verify ${requirement.name} appears in the appropriate list`,
|
|
507
|
+
'Test functionality according to requirements',
|
|
508
|
+
'Confirm proper access controls are in place',
|
|
509
|
+
'Document configuration for future reference'
|
|
510
|
+
];
|
|
511
|
+
}
|
|
512
|
+
static calculateTotalTime(instructions) {
|
|
513
|
+
if (instructions.length === 0)
|
|
514
|
+
return '15 minutes';
|
|
515
|
+
const totalMinutes = instructions.reduce((total, instruction) => {
|
|
516
|
+
const time = instruction.estimatedTime || '5 minutes';
|
|
517
|
+
const minutes = parseInt(time.match(/\d+/)?.[0] || '5');
|
|
518
|
+
return total + minutes;
|
|
519
|
+
}, 0);
|
|
520
|
+
return `${totalMinutes} minutes`;
|
|
521
|
+
}
|
|
522
|
+
static customizeInstructions(instructions, requirement) {
|
|
523
|
+
return instructions.map(instruction => ({
|
|
524
|
+
...instruction,
|
|
525
|
+
actions: instruction.actions.map(action => action
|
|
526
|
+
.replace('${name}', requirement.name)
|
|
527
|
+
.replace('${description}', requirement.description || requirement.name))
|
|
528
|
+
}));
|
|
529
|
+
}
|
|
530
|
+
static generateBulkOverview(requirements) {
|
|
531
|
+
const typeCount = requirements.reduce((acc, req) => {
|
|
532
|
+
acc[req.type] = (acc[req.type] || 0) + 1;
|
|
533
|
+
return acc;
|
|
534
|
+
}, {});
|
|
535
|
+
const typeSummary = Object.entries(typeCount)
|
|
536
|
+
.map(([type, count]) => `${count} ${type}`)
|
|
537
|
+
.join(', ');
|
|
538
|
+
return `This guide covers manual configuration of ${requirements.length} ServiceNow requirements: ${typeSummary}. Follow the execution order to ensure proper sequencing and dependencies.`;
|
|
539
|
+
}
|
|
540
|
+
static planExecutionOrder(requirements) {
|
|
541
|
+
// Group requirements by logical execution phases
|
|
542
|
+
const phases = [
|
|
543
|
+
{
|
|
544
|
+
phase: 'Foundation Setup',
|
|
545
|
+
types: ['table', 'application', 'system_property', 'database_index'],
|
|
546
|
+
parallelExecution: false
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
phase: 'Security Configuration',
|
|
550
|
+
types: ['user_role', 'user_group', 'acl_rule', 'data_policy', 'ldap_config', 'oauth_provider'],
|
|
551
|
+
parallelExecution: true
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
phase: 'Core Development',
|
|
555
|
+
types: ['business_rule', 'script_include', 'client_script', 'ui_policy', 'ui_action'],
|
|
556
|
+
parallelExecution: true
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
phase: 'User Interface',
|
|
560
|
+
types: ['widget', 'ui_page', 'form_layout', 'form_section', 'application_menu'],
|
|
561
|
+
parallelExecution: true
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
phase: 'Workflows and Automation',
|
|
565
|
+
types: ['flow', 'workflow_activity', 'scheduled_job', 'notification_rule', 'event_rule'],
|
|
566
|
+
parallelExecution: true
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
phase: 'Integration and Analytics',
|
|
570
|
+
types: ['rest_message', 'web_service', 'performance_analytics', 'report', 'dashboard'],
|
|
571
|
+
parallelExecution: true
|
|
572
|
+
}
|
|
573
|
+
];
|
|
574
|
+
return phases
|
|
575
|
+
.map(phase => {
|
|
576
|
+
const phaseRequirements = requirements.filter(req => phase.types.includes(req.type));
|
|
577
|
+
if (phaseRequirements.length === 0)
|
|
578
|
+
return null;
|
|
579
|
+
const totalTime = phaseRequirements.length * 10; // Estimate 10 min per requirement
|
|
580
|
+
const estimatedTime = phase.parallelExecution
|
|
581
|
+
? `${Math.max(10, totalTime / 3)} minutes (parallel)`
|
|
582
|
+
: `${totalTime} minutes (sequential)`;
|
|
583
|
+
return {
|
|
584
|
+
phase: phase.phase,
|
|
585
|
+
requirements: phaseRequirements,
|
|
586
|
+
parallelExecution: phase.parallelExecution,
|
|
587
|
+
estimatedTime
|
|
588
|
+
};
|
|
589
|
+
})
|
|
590
|
+
.filter(Boolean);
|
|
591
|
+
}
|
|
592
|
+
static identifyOverallRisks(guides) {
|
|
593
|
+
const risks = [];
|
|
594
|
+
const highRiskCount = guides.filter(g => g.riskLevel === 'high').length;
|
|
595
|
+
if (highRiskCount > 0) {
|
|
596
|
+
risks.push(`${highRiskCount} high-risk configurations require extra caution`);
|
|
597
|
+
}
|
|
598
|
+
const securityConfigs = guides.filter(g => ['ldap_config', 'oauth_provider', 'saml_config', 'acl_rule'].includes(g.requirement.type)).length;
|
|
599
|
+
if (securityConfigs > 0) {
|
|
600
|
+
risks.push(`${securityConfigs} security configurations may affect user access`);
|
|
601
|
+
}
|
|
602
|
+
const databaseConfigs = guides.filter(g => ['database_index', 'table', 'database_view'].includes(g.requirement.type)).length;
|
|
603
|
+
if (databaseConfigs > 0) {
|
|
604
|
+
risks.push(`${databaseConfigs} database configurations may impact performance`);
|
|
605
|
+
}
|
|
606
|
+
return risks;
|
|
607
|
+
}
|
|
608
|
+
static generateCoordinationNotes(requirements) {
|
|
609
|
+
const notes = [];
|
|
610
|
+
// Check for common coordination scenarios
|
|
611
|
+
const hasTableAndBR = requirements.some(r => r.type === 'table') &&
|
|
612
|
+
requirements.some(r => r.type === 'business_rule');
|
|
613
|
+
if (hasTableAndBR) {
|
|
614
|
+
notes.push('Create tables before business rules to ensure proper field references');
|
|
615
|
+
}
|
|
616
|
+
const hasUserAndGroup = requirements.some(r => r.type === 'user_account') &&
|
|
617
|
+
requirements.some(r => r.type === 'user_group');
|
|
618
|
+
if (hasUserAndGroup) {
|
|
619
|
+
notes.push('Create user groups before individual user accounts for proper role assignment');
|
|
620
|
+
}
|
|
621
|
+
const hasFlowAndCatalog = requirements.some(r => r.type === 'flow') &&
|
|
622
|
+
requirements.some(r => r.type === 'catalog_item');
|
|
623
|
+
if (hasFlowAndCatalog) {
|
|
624
|
+
notes.push('Test flows independently before linking to catalog items');
|
|
625
|
+
}
|
|
626
|
+
return notes;
|
|
627
|
+
}
|
|
628
|
+
static generateRelatedDocuments(requirementType) {
|
|
629
|
+
const docMap = {
|
|
630
|
+
'system_property': ['System Properties Documentation', 'Configuration Management Guide'],
|
|
631
|
+
'database_index': ['Database Administration Guide', 'Performance Tuning Documentation'],
|
|
632
|
+
'ldap_config': ['LDAP Integration Guide', 'Authentication Configuration'],
|
|
633
|
+
'oauth_provider': ['OAuth Configuration Guide', 'Security Best Practices'],
|
|
634
|
+
'performance_analytics': ['PA Implementation Guide', 'Dashboard Design Standards'],
|
|
635
|
+
'workflow_activity': ['Workflow Development Guide', 'Process Design Documentation']
|
|
636
|
+
};
|
|
637
|
+
return docMap[requirementType] || ['ServiceNow Product Documentation', 'Implementation Best Practices'];
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
exports.ManualInstructionsGenerator = ManualInstructionsGenerator;
|
|
641
|
+
//# sourceMappingURL=manual-instructions-generator.js.map
|