snow-flow 8.31.32 → 8.31.35
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 +150 -565
- 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/dist/templates/readme-template.d.ts +1 -1
- package/dist/templates/readme-template.d.ts.map +1 -1
- package/dist/templates/readme-template.js +3 -3
- package/package.json +2 -9
|
@@ -0,0 +1,978 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Requirements Analyzer - Intelligent Gap Analysis Engine
|
|
4
|
+
*
|
|
5
|
+
* Analyzes objectives to identify ALL required ServiceNow components,
|
|
6
|
+
* not just what MCP tools can handle.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.RequirementsAnalyzer = void 0;
|
|
10
|
+
const logger_1 = require("../utils/logger");
|
|
11
|
+
class RequirementsAnalyzer {
|
|
12
|
+
/**
|
|
13
|
+
* Analyze an objective and identify all required ServiceNow components
|
|
14
|
+
*/
|
|
15
|
+
static analyzeObjective(objective) {
|
|
16
|
+
logger_1.logger.info(`🔍 Analyzing objective: ${objective}`);
|
|
17
|
+
const requirements = this.identifyRequirements(objective);
|
|
18
|
+
const mcpCoveredCount = requirements.filter(r => r.mcpCoverage).length;
|
|
19
|
+
const gapCount = requirements.length - mcpCoveredCount;
|
|
20
|
+
const mcpCoveragePercentage = Math.round((mcpCoveredCount / requirements.length) * 100);
|
|
21
|
+
const categories = [...new Set(requirements.map(r => r.category))];
|
|
22
|
+
const estimatedComplexity = this.calculateComplexity(requirements);
|
|
23
|
+
const riskAssessment = this.assessRisk(requirements);
|
|
24
|
+
const criticalPath = this.calculateCriticalPath(requirements);
|
|
25
|
+
const estimatedDuration = this.estimateDuration(requirements);
|
|
26
|
+
const _analysis = {
|
|
27
|
+
objective,
|
|
28
|
+
requirements,
|
|
29
|
+
totalRequirements: requirements.length,
|
|
30
|
+
mcpCoveredCount,
|
|
31
|
+
gapCount,
|
|
32
|
+
mcpCoveragePercentage,
|
|
33
|
+
estimatedComplexity,
|
|
34
|
+
riskAssessment,
|
|
35
|
+
categories,
|
|
36
|
+
criticalPath,
|
|
37
|
+
estimatedDuration
|
|
38
|
+
};
|
|
39
|
+
logger_1.logger.info(`📊 Analysis complete: ${requirements.length} requirements, ${gapCount} gaps (${100 - mcpCoveragePercentage}% coverage gap)`);
|
|
40
|
+
return _analysis;
|
|
41
|
+
}
|
|
42
|
+
static identifyRequirements(objective) {
|
|
43
|
+
const requirements = [];
|
|
44
|
+
const objectiveLower = objective.toLowerCase();
|
|
45
|
+
// Check against all pattern definitions
|
|
46
|
+
for (const [patternName, pattern] of Object.entries(this.OBJECTIVE_PATTERNS)) {
|
|
47
|
+
const matchScore = pattern.keywords.reduce((score, keyword) => {
|
|
48
|
+
return objectiveLower.includes(keyword.toLowerCase()) ? score + 1 : score;
|
|
49
|
+
}, 0);
|
|
50
|
+
if (matchScore > 0) {
|
|
51
|
+
logger_1.logger.info(`🎯 Matched pattern: ${patternName} (score: ${matchScore})`);
|
|
52
|
+
// Add pattern requirements
|
|
53
|
+
for (const reqType of pattern.requirements) {
|
|
54
|
+
if (!requirements.find(r => r.type === reqType)) {
|
|
55
|
+
const requirement = this.createRequirement(reqType, objective);
|
|
56
|
+
if (requirement) {
|
|
57
|
+
requirements.push(requirement);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
// Add core requirements based on direct keyword matching
|
|
64
|
+
this.addCoreRequirements(objectiveLower, requirements);
|
|
65
|
+
// Add implied requirements based on dependencies
|
|
66
|
+
this.addImpliedRequirements(requirements);
|
|
67
|
+
// Sort by priority and dependencies
|
|
68
|
+
return this.sortRequirements(requirements);
|
|
69
|
+
}
|
|
70
|
+
static createRequirement(type, objective) {
|
|
71
|
+
const definition = this.REQUIREMENT_DEFINITIONS[type];
|
|
72
|
+
if (!definition)
|
|
73
|
+
return null;
|
|
74
|
+
return {
|
|
75
|
+
id: `req_${type}_${Date.now()}`,
|
|
76
|
+
type,
|
|
77
|
+
name: this.generateRequirementName(type, objective),
|
|
78
|
+
description: definition.description,
|
|
79
|
+
priority: this.calculatePriority(type, objective),
|
|
80
|
+
dependencies: definition.prerequisites,
|
|
81
|
+
estimatedEffort: definition.estimatedEffort,
|
|
82
|
+
automatable: definition.automatable,
|
|
83
|
+
mcpCoverage: definition.mcpCoverage,
|
|
84
|
+
category: definition.category,
|
|
85
|
+
specificSteps: this.generateSpecificSteps(type, objective),
|
|
86
|
+
validationCriteria: this.generateValidationCriteria(type),
|
|
87
|
+
riskLevel: definition.riskLevel
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
static addCoreRequirements(objective, requirements) {
|
|
91
|
+
// Widget keywords
|
|
92
|
+
if (/widget|dashboard|portal|chart|display/.test(objective)) {
|
|
93
|
+
this.addRequirementIfMissing('widget', objective, requirements);
|
|
94
|
+
}
|
|
95
|
+
// Flow keywords
|
|
96
|
+
if (/flow|workflow|process|approval|automation/.test(objective)) {
|
|
97
|
+
this.addRequirementIfMissing('flow', objective, requirements);
|
|
98
|
+
}
|
|
99
|
+
// Table keywords
|
|
100
|
+
if (/table|record|data|store|database/.test(objective)) {
|
|
101
|
+
this.addRequirementIfMissing('table', objective, requirements);
|
|
102
|
+
}
|
|
103
|
+
// Security keywords
|
|
104
|
+
if (/security|permission|access|role|auth/.test(objective)) {
|
|
105
|
+
this.addRequirementIfMissing('user_role', objective, requirements);
|
|
106
|
+
this.addRequirementIfMissing('acl_rule', objective, requirements);
|
|
107
|
+
}
|
|
108
|
+
// Email keywords
|
|
109
|
+
if (/email|notification|alert|notify/.test(objective)) {
|
|
110
|
+
this.addRequirementIfMissing('email_template', objective, requirements);
|
|
111
|
+
this.addRequirementIfMissing('notification', objective, requirements);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
static addRequirementIfMissing(type, objective, requirements) {
|
|
115
|
+
if (!requirements.find(r => r.type === type)) {
|
|
116
|
+
const requirement = this.createRequirement(type, objective);
|
|
117
|
+
if (requirement) {
|
|
118
|
+
requirements.push(requirement);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
static addImpliedRequirements(requirements) {
|
|
123
|
+
const typesPresent = new Set(requirements.map(r => r.type));
|
|
124
|
+
// If we have flows, we probably need notifications
|
|
125
|
+
if (typesPresent.has('flow') && !typesPresent.has('notification')) {
|
|
126
|
+
const notification = this.createRequirement('notification', 'flow notification');
|
|
127
|
+
if (notification)
|
|
128
|
+
requirements.push(notification);
|
|
129
|
+
}
|
|
130
|
+
// If we have tables, we probably need some basic security
|
|
131
|
+
if (typesPresent.has('table') && !typesPresent.has('acl_rule')) {
|
|
132
|
+
const acl = this.createRequirement('acl_rule', 'table security');
|
|
133
|
+
if (acl)
|
|
134
|
+
requirements.push(acl);
|
|
135
|
+
}
|
|
136
|
+
// If we have widgets, we might need portal configuration
|
|
137
|
+
if (typesPresent.has('widget') && !typesPresent.has('service_portal_config')) {
|
|
138
|
+
const portalConfig = this.createRequirement('service_portal_config', 'widget portal setup');
|
|
139
|
+
if (portalConfig)
|
|
140
|
+
requirements.push(portalConfig);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
static generateRequirementName(type, objective) {
|
|
144
|
+
const words = objective.toLowerCase().replace(/[^a-z\s]/g, '').split(/\s+/);
|
|
145
|
+
const relevantWords = words.filter(w => w.length > 3).slice(0, 3);
|
|
146
|
+
const prefix = relevantWords.join(' ') || 'custom';
|
|
147
|
+
return `${prefix} ${type.replace(/_/g, ' ')}`;
|
|
148
|
+
}
|
|
149
|
+
static calculatePriority(type, objective) {
|
|
150
|
+
const definition = this.REQUIREMENT_DEFINITIONS[type];
|
|
151
|
+
// High priority for core functionality and security
|
|
152
|
+
if (['table', 'acl_rule', 'user_role', 'security_policy'].includes(type)) {
|
|
153
|
+
return 'high';
|
|
154
|
+
}
|
|
155
|
+
// High priority if mentioned directly in objective
|
|
156
|
+
if (objective.toLowerCase().includes(type.replace(/_/g, ' '))) {
|
|
157
|
+
return 'high';
|
|
158
|
+
}
|
|
159
|
+
// Medium priority for automation and integration
|
|
160
|
+
if (['flow', 'workflow', 'business_rule'].includes(type)) {
|
|
161
|
+
return 'medium';
|
|
162
|
+
}
|
|
163
|
+
return definition.riskLevel === 'high' ? 'medium' : 'low';
|
|
164
|
+
}
|
|
165
|
+
static generateSpecificSteps(type, objective) {
|
|
166
|
+
// Generate specific implementation steps based on requirement type
|
|
167
|
+
const steps = [];
|
|
168
|
+
switch (type) {
|
|
169
|
+
case 'email_template':
|
|
170
|
+
steps.push('Navigate to System Notification > Email > Templates', 'Create new email template with subject and body', 'Configure template variables and placeholders', 'Test template with sample data');
|
|
171
|
+
break;
|
|
172
|
+
case 'user_role':
|
|
173
|
+
steps.push('Navigate to User Administration > Roles', 'Create new role with appropriate name', 'Add necessary permissions and ACLs', 'Assign role to relevant users or groups');
|
|
174
|
+
break;
|
|
175
|
+
case 'navigator_module':
|
|
176
|
+
steps.push('Navigate to System Definition > Application Menus', 'Create new module under appropriate application', 'Configure table, view, and filter settings', 'Set proper role requirements for access');
|
|
177
|
+
break;
|
|
178
|
+
default:
|
|
179
|
+
steps.push(`Configure ${type.replace(/_/g, ' ')} according to requirements`);
|
|
180
|
+
}
|
|
181
|
+
return steps;
|
|
182
|
+
}
|
|
183
|
+
static generateValidationCriteria(type) {
|
|
184
|
+
const criteria = [];
|
|
185
|
+
switch (type) {
|
|
186
|
+
case 'email_template':
|
|
187
|
+
criteria.push('Template renders correctly with test data', 'All variables are properly substituted', 'Email formatting is valid HTML');
|
|
188
|
+
break;
|
|
189
|
+
case 'user_role':
|
|
190
|
+
criteria.push('Role has minimum required permissions', 'Role can be assigned to users', 'Access controls work as expected');
|
|
191
|
+
break;
|
|
192
|
+
default:
|
|
193
|
+
criteria.push(`${type.replace(/_/g, ' ')} functions as intended`);
|
|
194
|
+
}
|
|
195
|
+
return criteria;
|
|
196
|
+
}
|
|
197
|
+
static sortRequirements(requirements) {
|
|
198
|
+
// Sort by: priority (high first), then by dependency order, then by MCP coverage
|
|
199
|
+
return requirements.sort((a, b) => {
|
|
200
|
+
// Priority sorting
|
|
201
|
+
const priorityOrder = { high: 3, medium: 2, low: 1 };
|
|
202
|
+
if (priorityOrder[a.priority] !== priorityOrder[b.priority]) {
|
|
203
|
+
return priorityOrder[b.priority] - priorityOrder[a.priority];
|
|
204
|
+
}
|
|
205
|
+
// MCP coverage (covered items first for easier handling)
|
|
206
|
+
if (a.mcpCoverage !== b.mcpCoverage) {
|
|
207
|
+
return a.mcpCoverage ? -1 : 1;
|
|
208
|
+
}
|
|
209
|
+
// Risk level (low risk first)
|
|
210
|
+
const riskOrder = { low: 1, medium: 2, high: 3 };
|
|
211
|
+
return riskOrder[a.riskLevel] - riskOrder[b.riskLevel];
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
static calculateComplexity(requirements) {
|
|
215
|
+
const totalCount = requirements.length;
|
|
216
|
+
const highEffortCount = requirements.filter(r => r.estimatedEffort === 'high').length;
|
|
217
|
+
const gapCount = requirements.filter(r => !r.mcpCoverage).length;
|
|
218
|
+
const categories = new Set(requirements.map(r => r.category)).size;
|
|
219
|
+
if (totalCount > 15 || highEffortCount > 5 || categories > 5) {
|
|
220
|
+
return 'enterprise';
|
|
221
|
+
}
|
|
222
|
+
else if (totalCount > 10 || gapCount > 5 || categories > 3) {
|
|
223
|
+
return 'high';
|
|
224
|
+
}
|
|
225
|
+
else if (totalCount > 5 || gapCount > 2) {
|
|
226
|
+
return 'medium';
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
return 'low';
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
static assessRisk(requirements) {
|
|
233
|
+
const highRiskCount = requirements.filter(r => r.riskLevel === 'high').length;
|
|
234
|
+
const securityCount = requirements.filter(r => r.category === 'security_compliance').length;
|
|
235
|
+
const nonAutomatableCount = requirements.filter(r => !r.automatable).length;
|
|
236
|
+
if (highRiskCount > 3 || securityCount > 2 || nonAutomatableCount > 5) {
|
|
237
|
+
return 'high';
|
|
238
|
+
}
|
|
239
|
+
else if (highRiskCount > 1 || securityCount > 0 || nonAutomatableCount > 2) {
|
|
240
|
+
return 'medium';
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
return 'low';
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
static calculateCriticalPath(requirements) {
|
|
247
|
+
// Find the sequence of high-priority requirements that are dependencies for others
|
|
248
|
+
const highPriorityReqs = requirements.filter(r => r.priority === 'high');
|
|
249
|
+
const path = highPriorityReqs
|
|
250
|
+
.filter(r => !r.mcpCoverage) // Focus on gaps
|
|
251
|
+
.slice(0, 5) // Top 5 critical items
|
|
252
|
+
.map(r => r.name);
|
|
253
|
+
return path;
|
|
254
|
+
}
|
|
255
|
+
static estimateDuration(requirements) {
|
|
256
|
+
const effortHours = requirements.reduce((total, req) => {
|
|
257
|
+
const baseHours = req.estimatedEffort === 'high' ? 8 :
|
|
258
|
+
req.estimatedEffort === 'medium' ? 4 : 2;
|
|
259
|
+
// Add complexity for non-MCP items
|
|
260
|
+
const complexity = req.mcpCoverage ? 1 : 2;
|
|
261
|
+
return total + (baseHours * complexity);
|
|
262
|
+
}, 0);
|
|
263
|
+
if (effortHours > 80) {
|
|
264
|
+
return `${Math.ceil(effortHours / 40)} weeks`;
|
|
265
|
+
}
|
|
266
|
+
else if (effortHours > 16) {
|
|
267
|
+
return `${Math.ceil(effortHours / 8)} days`;
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
return `${effortHours} hours`;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
exports.RequirementsAnalyzer = RequirementsAnalyzer;
|
|
275
|
+
RequirementsAnalyzer.OBJECTIVE_PATTERNS = {
|
|
276
|
+
// User Management & Security
|
|
277
|
+
user_provisioning: {
|
|
278
|
+
keywords: ['user', 'provisioning', 'account', 'create user', 'new employee', 'onboarding'],
|
|
279
|
+
requirements: ['user_role', 'acl_rule', 'group_membership', 'email_template', 'workflow']
|
|
280
|
+
},
|
|
281
|
+
access_control: {
|
|
282
|
+
keywords: ['access', 'permission', 'role', 'security', 'authorization'],
|
|
283
|
+
requirements: ['user_role', 'acl_rule', 'security_policy', 'audit_rule']
|
|
284
|
+
},
|
|
285
|
+
// Data Integration
|
|
286
|
+
data_import: {
|
|
287
|
+
keywords: ['import', 'data load', 'csv', 'excel', 'migration', 'sync'],
|
|
288
|
+
requirements: ['import_set', 'transform_map', 'field_map', 'scheduled_job']
|
|
289
|
+
},
|
|
290
|
+
api_integration: {
|
|
291
|
+
keywords: ['api', 'rest', 'soap', 'web service', 'integration', 'external'],
|
|
292
|
+
requirements: ['rest_message', 'web_service', 'oauth_provider', 'business_rule']
|
|
293
|
+
},
|
|
294
|
+
// Process Automation
|
|
295
|
+
approval_process: {
|
|
296
|
+
keywords: ['approval', 'review', 'authorize', 'escalate', 'workflow'],
|
|
297
|
+
requirements: ['workflow', 'approval_rule', 'notification', 'email_template', 'sla_definition']
|
|
298
|
+
},
|
|
299
|
+
notification_system: {
|
|
300
|
+
keywords: ['notification', 'email', 'alert', 'notify', 'message'],
|
|
301
|
+
requirements: ['notification', 'email_template', 'event_rule', 'email_config']
|
|
302
|
+
},
|
|
303
|
+
// User Interface
|
|
304
|
+
dashboard_portal: {
|
|
305
|
+
keywords: ['dashboard', 'portal', 'homepage', 'overview', 'metrics'],
|
|
306
|
+
requirements: ['widget', 'portal_page', 'portal_theme', 'navigator_module']
|
|
307
|
+
},
|
|
308
|
+
custom_form: {
|
|
309
|
+
keywords: ['form', 'ui', 'input', 'custom fields', 'validation'],
|
|
310
|
+
requirements: ['dictionary_entry', 'ui_policy', 'client_script', 'data_policy']
|
|
311
|
+
},
|
|
312
|
+
// Reporting & Analytics
|
|
313
|
+
reporting_system: {
|
|
314
|
+
keywords: ['report', 'analytics', 'metrics', 'kpi', 'dashboard'],
|
|
315
|
+
requirements: ['report', 'dashboard', 'scheduled_report', 'data_source']
|
|
316
|
+
},
|
|
317
|
+
// Infrastructure & Monitoring
|
|
318
|
+
monitoring_system: {
|
|
319
|
+
keywords: ['monitor', 'alert', 'health', 'performance', 'discovery'],
|
|
320
|
+
requirements: ['probe', 'sensor', 'event_rule', 'notification', 'scheduled_job']
|
|
321
|
+
},
|
|
322
|
+
// ITSM Processes
|
|
323
|
+
incident_management: {
|
|
324
|
+
keywords: ['incident', 'ticket', 'issue', 'problem', 'support'],
|
|
325
|
+
requirements: ['table', 'workflow', 'business_rule', 'notification', 'sla_definition']
|
|
326
|
+
},
|
|
327
|
+
change_management: {
|
|
328
|
+
keywords: ['change', 'release', 'deployment', 'cab', 'approval'],
|
|
329
|
+
requirements: ['workflow', 'approval_rule', 'scheduled_job', 'notification']
|
|
330
|
+
},
|
|
331
|
+
// Mobile & Modern
|
|
332
|
+
mobile_app: {
|
|
333
|
+
keywords: ['mobile', 'app', 'phone', 'tablet', 'ios', 'android'],
|
|
334
|
+
requirements: ['mobile_app_config', 'mobile_ui_policy', 'rest_message']
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
RequirementsAnalyzer.REQUIREMENT_DEFINITIONS = {
|
|
338
|
+
// Core Development (MCP Covered)
|
|
339
|
+
widget: {
|
|
340
|
+
description: 'Service Portal widget for user interface',
|
|
341
|
+
category: 'core_development',
|
|
342
|
+
automatable: true,
|
|
343
|
+
mcpCoverage: true,
|
|
344
|
+
estimatedEffort: 'medium',
|
|
345
|
+
riskLevel: 'low',
|
|
346
|
+
prerequisites: []
|
|
347
|
+
},
|
|
348
|
+
flow: {
|
|
349
|
+
description: 'Flow Designer workflow for process automation',
|
|
350
|
+
category: 'core_development',
|
|
351
|
+
automatable: true,
|
|
352
|
+
mcpCoverage: true,
|
|
353
|
+
estimatedEffort: 'medium',
|
|
354
|
+
riskLevel: 'low',
|
|
355
|
+
prerequisites: []
|
|
356
|
+
},
|
|
357
|
+
business_rule: {
|
|
358
|
+
description: 'Server-side business logic and validation',
|
|
359
|
+
category: 'core_development',
|
|
360
|
+
automatable: true,
|
|
361
|
+
mcpCoverage: true,
|
|
362
|
+
estimatedEffort: 'low',
|
|
363
|
+
riskLevel: 'medium',
|
|
364
|
+
prerequisites: []
|
|
365
|
+
},
|
|
366
|
+
script_include: {
|
|
367
|
+
description: 'Reusable server-side JavaScript functions',
|
|
368
|
+
category: 'core_development',
|
|
369
|
+
automatable: true,
|
|
370
|
+
mcpCoverage: true,
|
|
371
|
+
estimatedEffort: 'low',
|
|
372
|
+
riskLevel: 'low',
|
|
373
|
+
prerequisites: []
|
|
374
|
+
},
|
|
375
|
+
table: {
|
|
376
|
+
description: 'Database table for data storage',
|
|
377
|
+
category: 'core_development',
|
|
378
|
+
automatable: true,
|
|
379
|
+
mcpCoverage: true,
|
|
380
|
+
estimatedEffort: 'high',
|
|
381
|
+
riskLevel: 'high',
|
|
382
|
+
prerequisites: []
|
|
383
|
+
},
|
|
384
|
+
application: {
|
|
385
|
+
description: 'ServiceNow application container',
|
|
386
|
+
category: 'core_development',
|
|
387
|
+
automatable: true,
|
|
388
|
+
mcpCoverage: true,
|
|
389
|
+
estimatedEffort: 'high',
|
|
390
|
+
riskLevel: 'medium',
|
|
391
|
+
prerequisites: []
|
|
392
|
+
},
|
|
393
|
+
// Security & Compliance (Gaps!)
|
|
394
|
+
user_role: {
|
|
395
|
+
description: 'User roles and permission groups',
|
|
396
|
+
category: 'security_compliance',
|
|
397
|
+
automatable: true,
|
|
398
|
+
mcpCoverage: false,
|
|
399
|
+
estimatedEffort: 'medium',
|
|
400
|
+
riskLevel: 'high',
|
|
401
|
+
prerequisites: []
|
|
402
|
+
},
|
|
403
|
+
acl_rule: {
|
|
404
|
+
description: 'Access control list rules for data security',
|
|
405
|
+
category: 'security_compliance',
|
|
406
|
+
automatable: true,
|
|
407
|
+
mcpCoverage: false,
|
|
408
|
+
estimatedEffort: 'medium',
|
|
409
|
+
riskLevel: 'high',
|
|
410
|
+
prerequisites: ['table']
|
|
411
|
+
},
|
|
412
|
+
oauth_provider: {
|
|
413
|
+
description: 'OAuth authentication provider configuration',
|
|
414
|
+
category: 'security_compliance',
|
|
415
|
+
automatable: false,
|
|
416
|
+
mcpCoverage: false,
|
|
417
|
+
estimatedEffort: 'high',
|
|
418
|
+
riskLevel: 'high',
|
|
419
|
+
prerequisites: []
|
|
420
|
+
},
|
|
421
|
+
sso_config: {
|
|
422
|
+
description: 'Single Sign-On configuration',
|
|
423
|
+
category: 'security_compliance',
|
|
424
|
+
automatable: false,
|
|
425
|
+
mcpCoverage: false,
|
|
426
|
+
estimatedEffort: 'high',
|
|
427
|
+
riskLevel: 'high',
|
|
428
|
+
prerequisites: []
|
|
429
|
+
},
|
|
430
|
+
data_policy: {
|
|
431
|
+
description: 'Data validation and mandatory field policies',
|
|
432
|
+
category: 'security_compliance',
|
|
433
|
+
automatable: true,
|
|
434
|
+
mcpCoverage: false,
|
|
435
|
+
estimatedEffort: 'low',
|
|
436
|
+
riskLevel: 'low',
|
|
437
|
+
prerequisites: ['table']
|
|
438
|
+
},
|
|
439
|
+
security_policy: {
|
|
440
|
+
description: 'Security policies and compliance rules',
|
|
441
|
+
category: 'security_compliance',
|
|
442
|
+
automatable: true,
|
|
443
|
+
mcpCoverage: true,
|
|
444
|
+
estimatedEffort: 'medium',
|
|
445
|
+
riskLevel: 'high',
|
|
446
|
+
prerequisites: []
|
|
447
|
+
},
|
|
448
|
+
audit_rule: {
|
|
449
|
+
description: 'Audit rules for tracking data changes',
|
|
450
|
+
category: 'security_compliance',
|
|
451
|
+
automatable: true,
|
|
452
|
+
mcpCoverage: true,
|
|
453
|
+
estimatedEffort: 'low',
|
|
454
|
+
riskLevel: 'medium',
|
|
455
|
+
prerequisites: ['table']
|
|
456
|
+
},
|
|
457
|
+
encryption_context: {
|
|
458
|
+
description: 'Field encryption configuration',
|
|
459
|
+
category: 'security_compliance',
|
|
460
|
+
automatable: false,
|
|
461
|
+
mcpCoverage: false,
|
|
462
|
+
estimatedEffort: 'high',
|
|
463
|
+
riskLevel: 'high',
|
|
464
|
+
prerequisites: ['table']
|
|
465
|
+
},
|
|
466
|
+
// Data Integration (Partial MCP Coverage)
|
|
467
|
+
import_set: {
|
|
468
|
+
description: 'Import set table for data loading',
|
|
469
|
+
category: 'data_integration',
|
|
470
|
+
automatable: true,
|
|
471
|
+
mcpCoverage: true,
|
|
472
|
+
estimatedEffort: 'medium',
|
|
473
|
+
riskLevel: 'low',
|
|
474
|
+
prerequisites: []
|
|
475
|
+
},
|
|
476
|
+
transform_map: {
|
|
477
|
+
description: 'Transform map for data transformation',
|
|
478
|
+
category: 'data_integration',
|
|
479
|
+
automatable: true,
|
|
480
|
+
mcpCoverage: true,
|
|
481
|
+
estimatedEffort: 'medium',
|
|
482
|
+
riskLevel: 'medium',
|
|
483
|
+
prerequisites: ['import_set']
|
|
484
|
+
},
|
|
485
|
+
field_map: {
|
|
486
|
+
description: 'Field mapping for data transformation',
|
|
487
|
+
category: 'data_integration',
|
|
488
|
+
automatable: true,
|
|
489
|
+
mcpCoverage: true,
|
|
490
|
+
estimatedEffort: 'low',
|
|
491
|
+
riskLevel: 'low',
|
|
492
|
+
prerequisites: ['transform_map']
|
|
493
|
+
},
|
|
494
|
+
web_service: {
|
|
495
|
+
description: 'SOAP web service for integration',
|
|
496
|
+
category: 'data_integration',
|
|
497
|
+
automatable: true,
|
|
498
|
+
mcpCoverage: true,
|
|
499
|
+
estimatedEffort: 'medium',
|
|
500
|
+
riskLevel: 'medium',
|
|
501
|
+
prerequisites: []
|
|
502
|
+
},
|
|
503
|
+
rest_message: {
|
|
504
|
+
description: 'REST message for API integration',
|
|
505
|
+
category: 'data_integration',
|
|
506
|
+
automatable: true,
|
|
507
|
+
mcpCoverage: true,
|
|
508
|
+
estimatedEffort: 'medium',
|
|
509
|
+
riskLevel: 'medium',
|
|
510
|
+
prerequisites: []
|
|
511
|
+
},
|
|
512
|
+
email_config: {
|
|
513
|
+
description: 'Email server configuration',
|
|
514
|
+
category: 'data_integration',
|
|
515
|
+
automatable: true,
|
|
516
|
+
mcpCoverage: true,
|
|
517
|
+
estimatedEffort: 'high',
|
|
518
|
+
riskLevel: 'high',
|
|
519
|
+
prerequisites: []
|
|
520
|
+
},
|
|
521
|
+
ldap_config: {
|
|
522
|
+
description: 'LDAP server configuration for user sync',
|
|
523
|
+
category: 'data_integration',
|
|
524
|
+
automatable: false,
|
|
525
|
+
mcpCoverage: false,
|
|
526
|
+
estimatedEffort: 'high',
|
|
527
|
+
riskLevel: 'high',
|
|
528
|
+
prerequisites: []
|
|
529
|
+
},
|
|
530
|
+
database_view: {
|
|
531
|
+
description: 'Database view for complex queries',
|
|
532
|
+
category: 'data_integration',
|
|
533
|
+
automatable: false,
|
|
534
|
+
mcpCoverage: false,
|
|
535
|
+
estimatedEffort: 'high',
|
|
536
|
+
riskLevel: 'high',
|
|
537
|
+
prerequisites: ['table']
|
|
538
|
+
},
|
|
539
|
+
database_index: {
|
|
540
|
+
description: 'Database index for performance optimization',
|
|
541
|
+
category: 'data_integration',
|
|
542
|
+
automatable: false,
|
|
543
|
+
mcpCoverage: false,
|
|
544
|
+
estimatedEffort: 'medium',
|
|
545
|
+
riskLevel: 'medium',
|
|
546
|
+
prerequisites: ['table']
|
|
547
|
+
},
|
|
548
|
+
// User Interface (Partial MCP Coverage)
|
|
549
|
+
ui_action: {
|
|
550
|
+
description: 'Custom UI actions and buttons',
|
|
551
|
+
category: 'user_interface',
|
|
552
|
+
automatable: true,
|
|
553
|
+
mcpCoverage: true,
|
|
554
|
+
estimatedEffort: 'low',
|
|
555
|
+
riskLevel: 'low',
|
|
556
|
+
prerequisites: ['table']
|
|
557
|
+
},
|
|
558
|
+
ui_policy: {
|
|
559
|
+
description: 'UI policies for dynamic form behavior',
|
|
560
|
+
category: 'user_interface',
|
|
561
|
+
automatable: true,
|
|
562
|
+
mcpCoverage: true,
|
|
563
|
+
estimatedEffort: 'medium',
|
|
564
|
+
riskLevel: 'low',
|
|
565
|
+
prerequisites: ['table']
|
|
566
|
+
},
|
|
567
|
+
ui_page: {
|
|
568
|
+
description: 'Custom UI pages and interfaces',
|
|
569
|
+
category: 'user_interface',
|
|
570
|
+
automatable: true,
|
|
571
|
+
mcpCoverage: true,
|
|
572
|
+
estimatedEffort: 'high',
|
|
573
|
+
riskLevel: 'medium',
|
|
574
|
+
prerequisites: []
|
|
575
|
+
},
|
|
576
|
+
ui_macro: {
|
|
577
|
+
description: 'Reusable UI components and macros',
|
|
578
|
+
category: 'user_interface',
|
|
579
|
+
automatable: false,
|
|
580
|
+
mcpCoverage: false,
|
|
581
|
+
estimatedEffort: 'medium',
|
|
582
|
+
riskLevel: 'low',
|
|
583
|
+
prerequisites: []
|
|
584
|
+
},
|
|
585
|
+
ui_script: {
|
|
586
|
+
description: 'UI scripts for enhanced functionality',
|
|
587
|
+
category: 'user_interface',
|
|
588
|
+
automatable: true,
|
|
589
|
+
mcpCoverage: true,
|
|
590
|
+
estimatedEffort: 'low',
|
|
591
|
+
riskLevel: 'low',
|
|
592
|
+
prerequisites: []
|
|
593
|
+
},
|
|
594
|
+
client_script: {
|
|
595
|
+
description: 'Client-side JavaScript for forms',
|
|
596
|
+
category: 'user_interface',
|
|
597
|
+
automatable: true,
|
|
598
|
+
mcpCoverage: true,
|
|
599
|
+
estimatedEffort: 'low',
|
|
600
|
+
riskLevel: 'low',
|
|
601
|
+
prerequisites: ['table']
|
|
602
|
+
},
|
|
603
|
+
css_include: {
|
|
604
|
+
description: 'Custom CSS styles and themes',
|
|
605
|
+
category: 'user_interface',
|
|
606
|
+
automatable: false,
|
|
607
|
+
mcpCoverage: false,
|
|
608
|
+
estimatedEffort: 'low',
|
|
609
|
+
riskLevel: 'low',
|
|
610
|
+
prerequisites: []
|
|
611
|
+
},
|
|
612
|
+
navigator_module: {
|
|
613
|
+
description: 'Application navigator menu items',
|
|
614
|
+
category: 'user_interface',
|
|
615
|
+
automatable: false,
|
|
616
|
+
mcpCoverage: false,
|
|
617
|
+
estimatedEffort: 'low',
|
|
618
|
+
riskLevel: 'low',
|
|
619
|
+
prerequisites: ['application']
|
|
620
|
+
},
|
|
621
|
+
homepage: {
|
|
622
|
+
description: 'Custom homepage and dashboards',
|
|
623
|
+
category: 'user_interface',
|
|
624
|
+
automatable: false,
|
|
625
|
+
mcpCoverage: false,
|
|
626
|
+
estimatedEffort: 'high',
|
|
627
|
+
riskLevel: 'medium',
|
|
628
|
+
prerequisites: ['widget']
|
|
629
|
+
},
|
|
630
|
+
// Process Automation (Partial MCP Coverage)
|
|
631
|
+
workflow: {
|
|
632
|
+
description: 'Legacy workflow for process automation',
|
|
633
|
+
category: 'process_automation',
|
|
634
|
+
automatable: true,
|
|
635
|
+
mcpCoverage: false,
|
|
636
|
+
estimatedEffort: 'high',
|
|
637
|
+
riskLevel: 'medium',
|
|
638
|
+
prerequisites: []
|
|
639
|
+
},
|
|
640
|
+
scheduled_job: {
|
|
641
|
+
description: 'Scheduled jobs for automation',
|
|
642
|
+
category: 'process_automation',
|
|
643
|
+
automatable: true,
|
|
644
|
+
mcpCoverage: true,
|
|
645
|
+
estimatedEffort: 'medium',
|
|
646
|
+
riskLevel: 'medium',
|
|
647
|
+
prerequisites: []
|
|
648
|
+
},
|
|
649
|
+
event_rule: {
|
|
650
|
+
description: 'Event rules for automatic actions',
|
|
651
|
+
category: 'process_automation',
|
|
652
|
+
automatable: true,
|
|
653
|
+
mcpCoverage: true,
|
|
654
|
+
estimatedEffort: 'medium',
|
|
655
|
+
riskLevel: 'medium',
|
|
656
|
+
prerequisites: []
|
|
657
|
+
},
|
|
658
|
+
notification: {
|
|
659
|
+
description: 'Email notifications and alerts',
|
|
660
|
+
category: 'process_automation',
|
|
661
|
+
automatable: true,
|
|
662
|
+
mcpCoverage: true,
|
|
663
|
+
estimatedEffort: 'low',
|
|
664
|
+
riskLevel: 'low',
|
|
665
|
+
prerequisites: ['email_template']
|
|
666
|
+
},
|
|
667
|
+
email_template: {
|
|
668
|
+
description: 'Email templates for notifications',
|
|
669
|
+
category: 'process_automation',
|
|
670
|
+
automatable: false,
|
|
671
|
+
mcpCoverage: false,
|
|
672
|
+
estimatedEffort: 'low',
|
|
673
|
+
riskLevel: 'low',
|
|
674
|
+
prerequisites: []
|
|
675
|
+
},
|
|
676
|
+
sla_definition: {
|
|
677
|
+
description: 'SLA definitions and tracking',
|
|
678
|
+
category: 'process_automation',
|
|
679
|
+
automatable: true,
|
|
680
|
+
mcpCoverage: true,
|
|
681
|
+
estimatedEffort: 'medium',
|
|
682
|
+
riskLevel: 'medium',
|
|
683
|
+
prerequisites: ['table']
|
|
684
|
+
},
|
|
685
|
+
escalation_rule: {
|
|
686
|
+
description: 'Escalation rules for SLA breaches',
|
|
687
|
+
category: 'process_automation',
|
|
688
|
+
automatable: true,
|
|
689
|
+
mcpCoverage: true,
|
|
690
|
+
estimatedEffort: 'medium',
|
|
691
|
+
riskLevel: 'medium',
|
|
692
|
+
prerequisites: ['sla_definition']
|
|
693
|
+
},
|
|
694
|
+
approval_rule: {
|
|
695
|
+
description: 'Approval rules and delegation',
|
|
696
|
+
category: 'process_automation',
|
|
697
|
+
automatable: false,
|
|
698
|
+
mcpCoverage: false,
|
|
699
|
+
estimatedEffort: 'medium',
|
|
700
|
+
riskLevel: 'medium',
|
|
701
|
+
prerequisites: []
|
|
702
|
+
},
|
|
703
|
+
state_flow: {
|
|
704
|
+
description: 'State flow for record transitions',
|
|
705
|
+
category: 'process_automation',
|
|
706
|
+
automatable: false,
|
|
707
|
+
mcpCoverage: false,
|
|
708
|
+
estimatedEffort: 'high',
|
|
709
|
+
riskLevel: 'high',
|
|
710
|
+
prerequisites: ['table']
|
|
711
|
+
},
|
|
712
|
+
// System Configuration (Major Gaps!)
|
|
713
|
+
dictionary_entry: {
|
|
714
|
+
description: 'Table field definitions and properties',
|
|
715
|
+
category: 'system_configuration',
|
|
716
|
+
automatable: false,
|
|
717
|
+
mcpCoverage: false,
|
|
718
|
+
estimatedEffort: 'low',
|
|
719
|
+
riskLevel: 'medium',
|
|
720
|
+
prerequisites: ['table']
|
|
721
|
+
},
|
|
722
|
+
choice_list: {
|
|
723
|
+
description: 'Choice lists for dropdown fields',
|
|
724
|
+
category: 'system_configuration',
|
|
725
|
+
automatable: false,
|
|
726
|
+
mcpCoverage: false,
|
|
727
|
+
estimatedEffort: 'low',
|
|
728
|
+
riskLevel: 'low',
|
|
729
|
+
prerequisites: ['dictionary_entry']
|
|
730
|
+
},
|
|
731
|
+
ui_formatter: {
|
|
732
|
+
description: 'Custom field formatters and displays',
|
|
733
|
+
category: 'system_configuration',
|
|
734
|
+
automatable: false,
|
|
735
|
+
mcpCoverage: false,
|
|
736
|
+
estimatedEffort: 'medium',
|
|
737
|
+
riskLevel: 'low',
|
|
738
|
+
prerequisites: []
|
|
739
|
+
},
|
|
740
|
+
display_value: {
|
|
741
|
+
description: 'Display value configurations',
|
|
742
|
+
category: 'system_configuration',
|
|
743
|
+
automatable: false,
|
|
744
|
+
mcpCoverage: false,
|
|
745
|
+
estimatedEffort: 'low',
|
|
746
|
+
riskLevel: 'low',
|
|
747
|
+
prerequisites: ['dictionary_entry']
|
|
748
|
+
},
|
|
749
|
+
reference_qualifier: {
|
|
750
|
+
description: 'Reference field qualifiers and filters',
|
|
751
|
+
category: 'system_configuration',
|
|
752
|
+
automatable: false,
|
|
753
|
+
mcpCoverage: false,
|
|
754
|
+
estimatedEffort: 'medium',
|
|
755
|
+
riskLevel: 'medium',
|
|
756
|
+
prerequisites: ['dictionary_entry']
|
|
757
|
+
},
|
|
758
|
+
data_lookup: {
|
|
759
|
+
description: 'Data lookup definitions and rules',
|
|
760
|
+
category: 'system_configuration',
|
|
761
|
+
automatable: false,
|
|
762
|
+
mcpCoverage: false,
|
|
763
|
+
estimatedEffort: 'medium',
|
|
764
|
+
riskLevel: 'low',
|
|
765
|
+
prerequisites: []
|
|
766
|
+
},
|
|
767
|
+
sys_property: {
|
|
768
|
+
description: 'System properties and configuration',
|
|
769
|
+
category: 'system_configuration',
|
|
770
|
+
automatable: false,
|
|
771
|
+
mcpCoverage: false,
|
|
772
|
+
estimatedEffort: 'low',
|
|
773
|
+
riskLevel: 'high',
|
|
774
|
+
prerequisites: []
|
|
775
|
+
},
|
|
776
|
+
system_setting: {
|
|
777
|
+
description: 'System settings and preferences',
|
|
778
|
+
category: 'system_configuration',
|
|
779
|
+
automatable: false,
|
|
780
|
+
mcpCoverage: false,
|
|
781
|
+
estimatedEffort: 'medium',
|
|
782
|
+
riskLevel: 'high',
|
|
783
|
+
prerequisites: []
|
|
784
|
+
},
|
|
785
|
+
// Reporting & Analytics (Partial MCP Coverage)
|
|
786
|
+
report: {
|
|
787
|
+
description: 'Reports and data _analysis',
|
|
788
|
+
category: 'reporting_analytics',
|
|
789
|
+
automatable: true,
|
|
790
|
+
mcpCoverage: true,
|
|
791
|
+
estimatedEffort: 'medium',
|
|
792
|
+
riskLevel: 'low',
|
|
793
|
+
prerequisites: ['table']
|
|
794
|
+
},
|
|
795
|
+
dashboard: {
|
|
796
|
+
description: 'Dashboards and data visualization',
|
|
797
|
+
category: 'reporting_analytics',
|
|
798
|
+
automatable: true,
|
|
799
|
+
mcpCoverage: true,
|
|
800
|
+
estimatedEffort: 'medium',
|
|
801
|
+
riskLevel: 'low',
|
|
802
|
+
prerequisites: ['report']
|
|
803
|
+
},
|
|
804
|
+
metric: {
|
|
805
|
+
description: 'Custom metrics and indicators',
|
|
806
|
+
category: 'reporting_analytics',
|
|
807
|
+
automatable: true,
|
|
808
|
+
mcpCoverage: true,
|
|
809
|
+
estimatedEffort: 'low',
|
|
810
|
+
riskLevel: 'low',
|
|
811
|
+
prerequisites: []
|
|
812
|
+
},
|
|
813
|
+
kpi: {
|
|
814
|
+
description: 'Key Performance Indicators',
|
|
815
|
+
category: 'reporting_analytics',
|
|
816
|
+
automatable: true,
|
|
817
|
+
mcpCoverage: true,
|
|
818
|
+
estimatedEffort: 'medium',
|
|
819
|
+
riskLevel: 'low',
|
|
820
|
+
prerequisites: ['metric']
|
|
821
|
+
},
|
|
822
|
+
scheduled_report: {
|
|
823
|
+
description: 'Scheduled report delivery',
|
|
824
|
+
category: 'reporting_analytics',
|
|
825
|
+
automatable: true,
|
|
826
|
+
mcpCoverage: true,
|
|
827
|
+
estimatedEffort: 'low',
|
|
828
|
+
riskLevel: 'low',
|
|
829
|
+
prerequisites: ['report']
|
|
830
|
+
},
|
|
831
|
+
data_source: {
|
|
832
|
+
description: 'Data sources for reporting',
|
|
833
|
+
category: 'reporting_analytics',
|
|
834
|
+
automatable: false,
|
|
835
|
+
mcpCoverage: false,
|
|
836
|
+
estimatedEffort: 'high',
|
|
837
|
+
riskLevel: 'medium',
|
|
838
|
+
prerequisites: []
|
|
839
|
+
},
|
|
840
|
+
gauge: {
|
|
841
|
+
description: 'Performance gauges and meters',
|
|
842
|
+
category: 'reporting_analytics',
|
|
843
|
+
automatable: false,
|
|
844
|
+
mcpCoverage: false,
|
|
845
|
+
estimatedEffort: 'medium',
|
|
846
|
+
riskLevel: 'low',
|
|
847
|
+
prerequisites: ['metric']
|
|
848
|
+
},
|
|
849
|
+
chart_configuration: {
|
|
850
|
+
description: 'Chart configuration and styling',
|
|
851
|
+
category: 'reporting_analytics',
|
|
852
|
+
automatable: false,
|
|
853
|
+
mcpCoverage: false,
|
|
854
|
+
estimatedEffort: 'low',
|
|
855
|
+
riskLevel: 'low',
|
|
856
|
+
prerequisites: ['dashboard']
|
|
857
|
+
},
|
|
858
|
+
// Mobile & Portal (Major Gaps!)
|
|
859
|
+
mobile_app_config: {
|
|
860
|
+
description: 'Mobile application configuration',
|
|
861
|
+
category: 'mobile_portal',
|
|
862
|
+
automatable: false,
|
|
863
|
+
mcpCoverage: false,
|
|
864
|
+
estimatedEffort: 'high',
|
|
865
|
+
riskLevel: 'high',
|
|
866
|
+
prerequisites: []
|
|
867
|
+
},
|
|
868
|
+
service_portal_config: {
|
|
869
|
+
description: 'Service Portal configuration',
|
|
870
|
+
category: 'mobile_portal',
|
|
871
|
+
automatable: false,
|
|
872
|
+
mcpCoverage: false,
|
|
873
|
+
estimatedEffort: 'high',
|
|
874
|
+
riskLevel: 'medium',
|
|
875
|
+
prerequisites: []
|
|
876
|
+
},
|
|
877
|
+
portal_widget: {
|
|
878
|
+
description: 'Service Portal widgets',
|
|
879
|
+
category: 'mobile_portal',
|
|
880
|
+
automatable: true,
|
|
881
|
+
mcpCoverage: true,
|
|
882
|
+
estimatedEffort: 'medium',
|
|
883
|
+
riskLevel: 'low',
|
|
884
|
+
prerequisites: ['service_portal_config']
|
|
885
|
+
},
|
|
886
|
+
portal_page: {
|
|
887
|
+
description: 'Service Portal pages',
|
|
888
|
+
category: 'mobile_portal',
|
|
889
|
+
automatable: false,
|
|
890
|
+
mcpCoverage: false,
|
|
891
|
+
estimatedEffort: 'medium',
|
|
892
|
+
riskLevel: 'low',
|
|
893
|
+
prerequisites: ['service_portal_config']
|
|
894
|
+
},
|
|
895
|
+
portal_theme: {
|
|
896
|
+
description: 'Service Portal themes and styling',
|
|
897
|
+
category: 'mobile_portal',
|
|
898
|
+
automatable: false,
|
|
899
|
+
mcpCoverage: false,
|
|
900
|
+
estimatedEffort: 'high',
|
|
901
|
+
riskLevel: 'low',
|
|
902
|
+
prerequisites: ['service_portal_config']
|
|
903
|
+
},
|
|
904
|
+
mobile_ui_policy: {
|
|
905
|
+
description: 'Mobile-specific UI policies',
|
|
906
|
+
category: 'mobile_portal',
|
|
907
|
+
automatable: false,
|
|
908
|
+
mcpCoverage: false,
|
|
909
|
+
estimatedEffort: 'medium',
|
|
910
|
+
riskLevel: 'medium',
|
|
911
|
+
prerequisites: ['mobile_app_config']
|
|
912
|
+
},
|
|
913
|
+
// Monitoring & Operations (Major Gaps!)
|
|
914
|
+
probe: {
|
|
915
|
+
description: 'Discovery probes for monitoring',
|
|
916
|
+
category: 'monitoring_operations',
|
|
917
|
+
automatable: false,
|
|
918
|
+
mcpCoverage: false,
|
|
919
|
+
estimatedEffort: 'high',
|
|
920
|
+
riskLevel: 'high',
|
|
921
|
+
prerequisites: []
|
|
922
|
+
},
|
|
923
|
+
sensor: {
|
|
924
|
+
description: 'Discovery sensors and patterns',
|
|
925
|
+
category: 'monitoring_operations',
|
|
926
|
+
automatable: false,
|
|
927
|
+
mcpCoverage: false,
|
|
928
|
+
estimatedEffort: 'high',
|
|
929
|
+
riskLevel: 'high',
|
|
930
|
+
prerequisites: []
|
|
931
|
+
},
|
|
932
|
+
discovery_rule: {
|
|
933
|
+
description: 'Discovery rules and classification',
|
|
934
|
+
category: 'monitoring_operations',
|
|
935
|
+
automatable: false,
|
|
936
|
+
mcpCoverage: false,
|
|
937
|
+
estimatedEffort: 'high',
|
|
938
|
+
riskLevel: 'high',
|
|
939
|
+
prerequisites: []
|
|
940
|
+
},
|
|
941
|
+
cmdb_identification: {
|
|
942
|
+
description: 'CMDB identification rules',
|
|
943
|
+
category: 'monitoring_operations',
|
|
944
|
+
automatable: false,
|
|
945
|
+
mcpCoverage: false,
|
|
946
|
+
estimatedEffort: 'high',
|
|
947
|
+
riskLevel: 'high',
|
|
948
|
+
prerequisites: []
|
|
949
|
+
},
|
|
950
|
+
orchestration_workflow: {
|
|
951
|
+
description: 'Orchestration workflows',
|
|
952
|
+
category: 'monitoring_operations',
|
|
953
|
+
automatable: false,
|
|
954
|
+
mcpCoverage: false,
|
|
955
|
+
estimatedEffort: 'high',
|
|
956
|
+
riskLevel: 'high',
|
|
957
|
+
prerequisites: []
|
|
958
|
+
},
|
|
959
|
+
runbook: {
|
|
960
|
+
description: 'Automated runbooks',
|
|
961
|
+
category: 'monitoring_operations',
|
|
962
|
+
automatable: false,
|
|
963
|
+
mcpCoverage: false,
|
|
964
|
+
estimatedEffort: 'high',
|
|
965
|
+
riskLevel: 'medium',
|
|
966
|
+
prerequisites: []
|
|
967
|
+
},
|
|
968
|
+
knowledge_article: {
|
|
969
|
+
description: 'Knowledge base articles',
|
|
970
|
+
category: 'monitoring_operations',
|
|
971
|
+
automatable: false,
|
|
972
|
+
mcpCoverage: false,
|
|
973
|
+
estimatedEffort: 'medium',
|
|
974
|
+
riskLevel: 'low',
|
|
975
|
+
prerequisites: []
|
|
976
|
+
}
|
|
977
|
+
};
|
|
978
|
+
//# sourceMappingURL=requirements-analyzer.js.map
|