snow-flow 8.42.12 → 9.0.1
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/README.md +6 -229
- package/bin/snow-code +0 -0
- package/bin/snowcode.cmd +58 -0
- package/bunfig.toml +2 -0
- package/package.json +96 -548
- package/postinstall.cjs +39 -0
- package/script/postinstall.mjs +135 -0
- package/script/preinstall.mjs +45 -0
- package/src/acp/README.md +164 -0
- package/src/agent/generate.txt +75 -0
- package/src/dag/README.md +473 -0
- package/src/session/prompt/anthropic-20250930.txt +166 -0
- package/src/session/prompt/anthropic.txt +235 -0
- package/src/session/prompt/anthropic_spoof.txt +1 -0
- package/src/session/prompt/beast.txt +200 -0
- package/src/session/prompt/build-switch.txt +5 -0
- package/src/session/prompt/codex.txt +353 -0
- package/src/session/prompt/copilot-gpt-5.txt +143 -0
- package/src/session/prompt/gemini.txt +217 -0
- package/src/session/prompt/initialize.txt +8 -0
- package/src/session/prompt/plan.txt +8 -0
- package/src/session/prompt/qwen.txt +141 -0
- package/src/session/prompt/summarize-turn.txt +5 -0
- package/src/session/prompt/summarize.txt +10 -0
- package/src/session/prompt/title.txt +24 -0
- package/src/tool/bash.txt +121 -0
- package/src/tool/edit.txt +10 -0
- package/src/tool/glob.txt +6 -0
- package/src/tool/grep.txt +8 -0
- package/src/tool/ls.txt +1 -0
- package/src/tool/lsp-diagnostics.txt +1 -0
- package/src/tool/lsp-hover.txt +1 -0
- package/src/tool/multiedit.txt +41 -0
- package/src/tool/patch.txt +1 -0
- package/src/tool/read.txt +12 -0
- package/src/tool/task.txt +76 -0
- package/src/tool/todoread.txt +14 -0
- package/src/tool/todowrite.txt +167 -0
- package/src/tool/webfetch.txt +14 -0
- package/src/tool/websearch.txt +11 -0
- package/src/tool/write.txt +8 -0
- package/test-codespace-detection.js +51 -0
- package/.env.example +0 -203
- package/.mcp.json.template +0 -32
- package/CLAUDE.md +0 -941
- package/LICENSE +0 -93
- package/bin/snow-code-with-mcp +0 -129
- package/bin/snow-flow +0 -4
- package/bin/snow-flow.js +0 -3
- package/dist/agents/index.d.ts +0 -9
- package/dist/agents/index.d.ts.map +0 -1
- package/dist/agents/index.js +0 -11
- package/dist/agents/index.js.map +0 -1
- package/dist/api/health-api.d.ts +0 -8
- package/dist/api/health-api.d.ts.map +0 -1
- package/dist/api/health-api.js +0 -294
- package/dist/api/health-api.js.map +0 -1
- package/dist/api/simple-health-api.d.ts +0 -7
- package/dist/api/simple-health-api.d.ts.map +0 -1
- package/dist/api/simple-health-api.js +0 -450
- package/dist/api/simple-health-api.js.map +0 -1
- package/dist/cli/auth.d.ts +0 -9
- package/dist/cli/auth.d.ts.map +0 -1
- package/dist/cli/auth.js +0 -770
- package/dist/cli/auth.js.map +0 -1
- package/dist/cli/deploy-artifact.d.ts +0 -7
- package/dist/cli/deploy-artifact.d.ts.map +0 -1
- package/dist/cli/deploy-artifact.js +0 -279
- package/dist/cli/deploy-artifact.js.map +0 -1
- package/dist/cli/enterprise-refresh.d.ts +0 -10
- package/dist/cli/enterprise-refresh.d.ts.map +0 -1
- package/dist/cli/enterprise-refresh.js +0 -123
- package/dist/cli/enterprise-refresh.js.map +0 -1
- package/dist/cli/enterprise.d.ts +0 -55
- package/dist/cli/enterprise.d.ts.map +0 -1
- package/dist/cli/enterprise.js +0 -365
- package/dist/cli/enterprise.js.map +0 -1
- package/dist/cli/session.d.ts +0 -3
- package/dist/cli/session.d.ts.map +0 -1
- package/dist/cli/session.js +0 -46
- package/dist/cli/session.js.map +0 -1
- package/dist/cli.d.ts +0 -6
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -2611
- package/dist/cli.js.map +0 -1
- package/dist/compliance/advanced-compliance-system.d.ts +0 -324
- package/dist/compliance/advanced-compliance-system.d.ts.map +0 -1
- package/dist/compliance/advanced-compliance-system.js +0 -887
- package/dist/compliance/advanced-compliance-system.js.map +0 -1
- package/dist/compliance/index.d.ts +0 -6
- package/dist/compliance/index.d.ts.map +0 -1
- package/dist/compliance/index.js +0 -9
- package/dist/compliance/index.js.map +0 -1
- package/dist/config/llm-config-loader.d.ts +0 -45
- package/dist/config/llm-config-loader.d.ts.map +0 -1
- package/dist/config/llm-config-loader.js +0 -49
- package/dist/config/llm-config-loader.js.map +0 -1
- package/dist/config/snow-code-config.d.ts +0 -75
- package/dist/config/snow-code-config.d.ts.map +0 -1
- package/dist/config/snow-code-config.js +0 -442
- package/dist/config/snow-code-config.js.map +0 -1
- package/dist/config/snow-flow-config.d.ts +0 -452
- package/dist/config/snow-flow-config.d.ts.map +0 -1
- package/dist/config/snow-flow-config.js +0 -1277
- package/dist/config/snow-flow-config.js.map +0 -1
- package/dist/documentation/index.d.ts +0 -6
- package/dist/documentation/index.d.ts.map +0 -1
- package/dist/documentation/index.js +0 -9
- package/dist/documentation/index.js.map +0 -1
- package/dist/documentation/self-documenting-system.d.ts +0 -292
- package/dist/documentation/self-documenting-system.d.ts.map +0 -1
- package/dist/documentation/self-documenting-system.js +0 -998
- package/dist/documentation/self-documenting-system.js.map +0 -1
- package/dist/dynamic-version.d.ts +0 -7
- package/dist/dynamic-version.d.ts.map +0 -1
- package/dist/dynamic-version.js +0 -43
- package/dist/dynamic-version.js.map +0 -1
- package/dist/healing/index.d.ts +0 -6
- package/dist/healing/index.d.ts.map +0 -1
- package/dist/healing/index.js +0 -9
- package/dist/healing/index.js.map +0 -1
- package/dist/healing/self-healing-system.d.ts +0 -320
- package/dist/healing/self-healing-system.d.ts.map +0 -1
- package/dist/healing/self-healing-system.js +0 -1067
- package/dist/healing/self-healing-system.js.map +0 -1
- package/dist/health/system-health.d.ts +0 -156
- package/dist/health/system-health.d.ts.map +0 -1
- package/dist/health/system-health.js +0 -849
- package/dist/health/system-health.js.map +0 -1
- package/dist/index.d.ts +0 -31
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -63
- package/dist/index.js.map +0 -1
- package/dist/license/index.d.ts +0 -5
- package/dist/license/index.d.ts.map +0 -1
- package/dist/license/index.js +0 -12
- package/dist/license/index.js.map +0 -1
- package/dist/license/parser.d.ts +0 -47
- package/dist/license/parser.d.ts.map +0 -1
- package/dist/license/parser.js +0 -149
- package/dist/license/parser.js.map +0 -1
- package/dist/managers/scope-manager.d.ts +0 -75
- package/dist/managers/scope-manager.d.ts.map +0 -1
- package/dist/managers/scope-manager.js +0 -449
- package/dist/managers/scope-manager.js.map +0 -1
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts +0 -712
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts.map +0 -1
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.js +0 -9404
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.js.map +0 -1
- package/dist/mcp/agent-discovery-methods.d.ts +0 -21
- package/dist/mcp/agent-discovery-methods.d.ts.map +0 -1
- package/dist/mcp/agent-discovery-methods.js +0 -223
- package/dist/mcp/agent-discovery-methods.js.map +0 -1
- package/dist/mcp/base-mcp-server.d.ts +0 -144
- package/dist/mcp/base-mcp-server.d.ts.map +0 -1
- package/dist/mcp/base-mcp-server.js +0 -584
- package/dist/mcp/base-mcp-server.js.map +0 -1
- package/dist/mcp/bridge.d.ts +0 -10
- package/dist/mcp/bridge.d.ts.map +0 -1
- package/dist/mcp/bridge.js +0 -31
- package/dist/mcp/bridge.js.map +0 -1
- package/dist/mcp/clients/enterprise-remote-client.d.ts +0 -80
- package/dist/mcp/clients/enterprise-remote-client.d.ts.map +0 -1
- package/dist/mcp/clients/enterprise-remote-client.js +0 -264
- package/dist/mcp/clients/enterprise-remote-client.js.map +0 -1
- package/dist/mcp/enhancements/smart-query-enhancement.d.ts +0 -49
- package/dist/mcp/enhancements/smart-query-enhancement.d.ts.map +0 -1
- package/dist/mcp/enhancements/smart-query-enhancement.js +0 -233
- package/dist/mcp/enhancements/smart-query-enhancement.js.map +0 -1
- package/dist/mcp/enterprise-proxy/credentials.d.ts +0 -39
- package/dist/mcp/enterprise-proxy/credentials.d.ts.map +0 -1
- package/dist/mcp/enterprise-proxy/credentials.js +0 -166
- package/dist/mcp/enterprise-proxy/credentials.js.map +0 -1
- package/dist/mcp/enterprise-proxy/index.d.ts +0 -7
- package/dist/mcp/enterprise-proxy/index.d.ts.map +0 -1
- package/dist/mcp/enterprise-proxy/index.js +0 -134
- package/dist/mcp/enterprise-proxy/index.js.map +0 -1
- package/dist/mcp/enterprise-proxy/logger.d.ts +0 -17
- package/dist/mcp/enterprise-proxy/logger.d.ts.map +0 -1
- package/dist/mcp/enterprise-proxy/logger.js +0 -104
- package/dist/mcp/enterprise-proxy/logger.js.map +0 -1
- package/dist/mcp/enterprise-proxy/proxy.d.ts +0 -33
- package/dist/mcp/enterprise-proxy/proxy.d.ts.map +0 -1
- package/dist/mcp/enterprise-proxy/proxy.js +0 -359
- package/dist/mcp/enterprise-proxy/proxy.js.map +0 -1
- package/dist/mcp/enterprise-proxy/server.d.ts +0 -23
- package/dist/mcp/enterprise-proxy/server.d.ts.map +0 -1
- package/dist/mcp/enterprise-proxy/server.js +0 -168
- package/dist/mcp/enterprise-proxy/server.js.map +0 -1
- package/dist/mcp/enterprise-proxy/types.d.ts +0 -65
- package/dist/mcp/enterprise-proxy/types.d.ts.map +0 -1
- package/dist/mcp/enterprise-proxy/types.js +0 -6
- package/dist/mcp/enterprise-proxy/types.js.map +0 -1
- package/dist/mcp/http-transport-wrapper.d.ts +0 -30
- package/dist/mcp/http-transport-wrapper.d.ts.map +0 -1
- package/dist/mcp/http-transport-wrapper.js +0 -379
- package/dist/mcp/http-transport-wrapper.js.map +0 -1
- package/dist/mcp/intelligent-reporting-mcp.d.ts +0 -7
- package/dist/mcp/intelligent-reporting-mcp.d.ts.map +0 -1
- package/dist/mcp/intelligent-reporting-mcp.js +0 -379
- package/dist/mcp/intelligent-reporting-mcp.js.map +0 -1
- package/dist/mcp/mcp-on-demand-proxy.d.ts +0 -7
- package/dist/mcp/mcp-on-demand-proxy.d.ts.map +0 -1
- package/dist/mcp/mcp-on-demand-proxy.js +0 -187
- package/dist/mcp/mcp-on-demand-proxy.js.map +0 -1
- package/dist/mcp/service-discovery-client.d.ts +0 -87
- package/dist/mcp/service-discovery-client.d.ts.map +0 -1
- package/dist/mcp/service-discovery-client.js +0 -242
- package/dist/mcp/service-discovery-client.js.map +0 -1
- package/dist/mcp/servicenow-automation-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-automation-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-automation-mcp.js +0 -2469
- package/dist/mcp/servicenow-automation-mcp.js.map +0 -1
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp-enhanced.d.ts +0 -7
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp-enhanced.d.ts.map +0 -1
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp-enhanced.js +0 -816
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp-enhanced.js.map +0 -1
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp.js +0 -1264
- package/dist/mcp/servicenow-change-virtualagent-pa-mcp.js.map +0 -1
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp-enhanced.d.ts +0 -7
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp-enhanced.d.ts.map +0 -1
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp-enhanced.js +0 -1112
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp-enhanced.js.map +0 -1
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp.js +0 -1452
- package/dist/mcp/servicenow-cmdb-event-hr-csm-devops-mcp.js.map +0 -1
- package/dist/mcp/servicenow-deployment-mcp.d.ts +0 -7
- package/dist/mcp/servicenow-deployment-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-deployment-mcp.js +0 -9220
- package/dist/mcp/servicenow-deployment-mcp.js.map +0 -1
- package/dist/mcp/servicenow-development-assistant-mcp.d.ts +0 -143
- package/dist/mcp/servicenow-development-assistant-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-development-assistant-mcp.js +0 -4217
- package/dist/mcp/servicenow-development-assistant-mcp.js.map +0 -1
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp-enhanced.d.ts +0 -7
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp-enhanced.d.ts.map +0 -1
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp-enhanced.js +0 -885
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp-enhanced.js.map +0 -1
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp.js +0 -3637
- package/dist/mcp/servicenow-flow-workspace-mobile-mcp.js.map +0 -1
- package/dist/mcp/servicenow-integration-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-integration-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-integration-mcp.js +0 -752
- package/dist/mcp/servicenow-integration-mcp.js.map +0 -1
- package/dist/mcp/servicenow-itam-mcp.d.ts +0 -29
- package/dist/mcp/servicenow-itam-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-itam-mcp.js +0 -537
- package/dist/mcp/servicenow-itam-mcp.js.map +0 -1
- package/dist/mcp/servicenow-knowledge-catalog-mcp-enhanced.d.ts +0 -7
- package/dist/mcp/servicenow-knowledge-catalog-mcp-enhanced.d.ts.map +0 -1
- package/dist/mcp/servicenow-knowledge-catalog-mcp-enhanced.js +0 -709
- package/dist/mcp/servicenow-knowledge-catalog-mcp-enhanced.js.map +0 -1
- package/dist/mcp/servicenow-knowledge-catalog-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-knowledge-catalog-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-knowledge-catalog-mcp.js +0 -1613
- package/dist/mcp/servicenow-knowledge-catalog-mcp.js.map +0 -1
- package/dist/mcp/servicenow-local-development-mcp.d.ts +0 -26
- package/dist/mcp/servicenow-local-development-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-local-development-mcp.js +0 -534
- package/dist/mcp/servicenow-local-development-mcp.js.map +0 -1
- package/dist/mcp/servicenow-machine-learning-mcp.d.ts +0 -162
- package/dist/mcp/servicenow-machine-learning-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-machine-learning-mcp.js +0 -3457
- package/dist/mcp/servicenow-machine-learning-mcp.js.map +0 -1
- package/dist/mcp/servicenow-mcp-server.d.ts +0 -37
- package/dist/mcp/servicenow-mcp-server.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-server.js +0 -648
- package/dist/mcp/servicenow-mcp-server.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/index.d.ts +0 -18
- package/dist/mcp/servicenow-mcp-unified/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/index.js +0 -103
- package/dist/mcp/servicenow-mcp-unified/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/scripts/validate-tools.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/scripts/validate-tools.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/scripts/validate-tools.js +0 -89
- package/dist/mcp/servicenow-mcp-unified/scripts/validate-tools.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/server.d.ts +0 -73
- package/dist/mcp/servicenow-mcp-unified/server.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/server.js +0 -430
- package/dist/mcp/servicenow-mcp-unified/server.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/permission-validator.test.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/permission-validator.test.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/permission-validator.test.js +0 -451
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/permission-validator.test.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/stakeholder-write-protection.test.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/stakeholder-write-protection.test.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/stakeholder-write-protection.test.js +0 -535
- package/dist/mcp/servicenow-mcp-unified/shared/__tests__/stakeholder-write-protection.test.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/auth.d.ts +0 -106
- package/dist/mcp/servicenow-mcp-unified/shared/auth.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/auth.js +0 -474
- package/dist/mcp/servicenow-mcp-unified/shared/auth.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/error-handler.d.ts +0 -103
- package/dist/mcp/servicenow-mcp-unified/shared/error-handler.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/error-handler.js +0 -381
- package/dist/mcp/servicenow-mcp-unified/shared/error-handler.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/permission-validator.d.ts +0 -31
- package/dist/mcp/servicenow-mcp-unified/shared/permission-validator.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/permission-validator.js +0 -218
- package/dist/mcp/servicenow-mcp-unified/shared/permission-validator.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/tool-registry.d.ts +0 -75
- package/dist/mcp/servicenow-mcp-unified/shared/tool-registry.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/tool-registry.js +0 -352
- package/dist/mcp/servicenow-mcp-unified/shared/tool-registry.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/types.d.ts +0 -241
- package/dist/mcp/servicenow-mcp-unified/shared/types.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/shared/types.js +0 -6
- package/dist/mcp/servicenow-mcp-unified/shared/types.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/index.d.ts +0 -5
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/index.js +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl_role.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl_role.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl_role.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_create_acl_role.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_get_user_roles.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_get_user_roles.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_get_user_roles.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_get_user_roles.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_test_acl.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_test_acl.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_test_acl.js +0 -59
- package/dist/mcp/servicenow-mcp-unified/tools/access-control/snow_test_acl.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/index.d.ts +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/index.js +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/adapters/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/addons/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/addons/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_backup_instance.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_backup_instance.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_backup_instance.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_backup_instance.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_cicd_deploy.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_cicd_deploy.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_cicd_deploy.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_cicd_deploy.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_clone_instance.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_clone_instance.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_clone_instance.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/addons/snow_clone_instance.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/index.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/index.js +0 -28
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ai_classify.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ai_classify.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ai_classify.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ai_classify.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_anomaly_detection.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_anomaly_detection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_anomaly_detection.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_anomaly_detection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_autocomplete.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_autocomplete.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_autocomplete.js +0 -58
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_autocomplete.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_duplicate_detection.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_duplicate_detection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_duplicate_detection.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_duplicate_detection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_fuzzy_search.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_fuzzy_search.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_fuzzy_search.js +0 -267
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_fuzzy_search.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ml_predict.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ml_predict.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ml_predict.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_ml_predict.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_recommendation_engine.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_recommendation_engine.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_recommendation_engine.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_recommendation_engine.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_sentiment_analysis.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_sentiment_analysis.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_sentiment_analysis.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/advanced/snow_sentiment_analysis.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/snow_aggregate_metrics.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/snow_aggregate_metrics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/snow_aggregate_metrics.js +0 -58
- package/dist/mcp/servicenow-mcp-unified/tools/aggregators/snow_aggregate_metrics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_predict.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_predict.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_predict.js +0 -44
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_predict.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_train_classifier.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_train_classifier.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_train_classifier.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/ai-ml-MIGRATED/snow_train_classifier.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/applications/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/applications/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_create_application.d.ts +0 -15
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_create_application.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_create_application.js +0 -276
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_create_application.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_get_current_scope.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_get_current_scope.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_get_current_scope.js +0 -220
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_get_current_scope.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_install_application.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_install_application.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_install_application.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_install_application.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_list_applications.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_list_applications.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_list_applications.js +0 -236
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_list_applications.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_switch_application_scope.d.ts +0 -18
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_switch_application_scope.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_switch_application_scope.js +0 -297
- package/dist/mcp/servicenow-mcp-unified/tools/applications/snow_switch_application_scope.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_approve_reject.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_approve_reject.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_approve_reject.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_approve_reject.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_get_pending_approvals.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_get_pending_approvals.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_get_pending_approvals.js +0 -54
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_get_pending_approvals.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_request_approval.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_request_approval.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_request_approval.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/approvals/snow_request_approval.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/index.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/asset/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/index.js +0 -28
- package/dist/mcp/servicenow-mcp-unified/tools/asset/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_compliance_report.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_compliance_report.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_compliance_report.js +0 -138
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_compliance_report.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_discovery.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_discovery.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_discovery.js +0 -116
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_asset_discovery.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_create_asset.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_create_asset.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_create_asset.js +0 -53
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_create_asset.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_manage_software_license.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_manage_software_license.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_manage_software_license.js +0 -86
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_manage_software_license.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_optimize_licenses.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_optimize_licenses.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_optimize_licenses.js +0 -121
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_optimize_licenses.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_retire_asset.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_retire_asset.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_retire_asset.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_retire_asset.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_track_asset_lifecycle.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_track_asset_lifecycle.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_track_asset_lifecycle.js +0 -89
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_track_asset_lifecycle.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_transfer_asset.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_transfer_asset.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_transfer_asset.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/asset/snow_transfer_asset.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/index.d.ts +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/atf/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/atf/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test.js +0 -75
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_step.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_step.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_step.js +0 -83
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_step.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_suite.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_suite.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_suite.js +0 -94
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_create_atf_test_suite.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_discover_atf_tests.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_discover_atf_tests.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_discover_atf_tests.js +0 -82
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_discover_atf_tests.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_execute_atf_test.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_execute_atf_test.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_execute_atf_test.js +0 -121
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_execute_atf_test.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_get_atf_results.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_get_atf_results.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_get_atf_results.js +0 -96
- package/dist/mcp/servicenow-mcp-unified/tools/atf/snow_get_atf_results.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_delete_attachment.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_delete_attachment.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_delete_attachment.js +0 -44
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_delete_attachment.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_get_attachments.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_get_attachments.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_get_attachments.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_get_attachments.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_upload_attachment.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_upload_attachment.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_upload_attachment.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/attachments/snow_upload_attachment.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/index.d.ts +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/automation/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/index.js +0 -72
- package/dist/mcp/servicenow-mcp-unified/tools/automation/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_confirm_script_execution.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_confirm_script_execution.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_confirm_script_execution.js +0 -252
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_confirm_script_execution.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_escalation_rule.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_escalation_rule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_escalation_rule.js +0 -78
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_escalation_rule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_event_rule.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_event_rule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_event_rule.js +0 -77
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_event_rule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_sla_definition.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_sla_definition.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_sla_definition.js +0 -89
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_sla_definition.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_workflow_activity.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_workflow_activity.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_workflow_activity.js +0 -88
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_create_workflow_activity.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_automation_jobs.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_automation_jobs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_automation_jobs.js +0 -76
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_automation_jobs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_events.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_events.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_events.js +0 -73
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_events.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_schedules.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_schedules.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_schedules.js +0 -73
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_discover_schedules.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_email_logs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_email_logs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_email_logs.js +0 -185
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_email_logs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_flow_execution_logs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_flow_execution_logs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_flow_execution_logs.js +0 -280
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_flow_execution_logs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_inbound_http_logs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_inbound_http_logs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_inbound_http_logs.js +0 -233
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_inbound_http_logs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_logs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_logs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_logs.js +0 -140
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_logs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_outbound_http_logs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_outbound_http_logs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_outbound_http_logs.js +0 -218
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_outbound_http_logs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_scheduled_job_logs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_scheduled_job_logs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_scheduled_job_logs.js +0 -285
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_scheduled_job_logs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_script_output.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_script_output.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_script_output.js +0 -102
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_script_output.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_slow_queries.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_slow_queries.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_slow_queries.js +0 -340
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_get_slow_queries.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_property_manager.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_property_manager.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_property_manager.js +0 -176
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_property_manager.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_rest_message_test_suite.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_rest_message_test_suite.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_rest_message_test_suite.js +0 -145
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_rest_message_test_suite.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_schedule_script_job.d.ts +0 -26
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_schedule_script_job.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_schedule_script_job.js +0 -486
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_schedule_script_job.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_test_scheduled_job.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_test_scheduled_job.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_test_scheduled_job.js +0 -96
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_test_scheduled_job.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_trace_execution.d.ts +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_trace_execution.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_trace_execution.js +0 -139
- package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_trace_execution.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_create_business_rule.d.ts +0 -18
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_create_business_rule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_create_business_rule.js +0 -227
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_create_business_rule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_disable_business_rule.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_disable_business_rule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_disable_business_rule.js +0 -44
- package/dist/mcp/servicenow-mcp-unified/tools/business-rules/snow_disable_business_rule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/snow_calculate_sla_duration.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/snow_calculate_sla_duration.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/snow_calculate_sla_duration.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/calculators/snow_calculate_sla_duration.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/index.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/index.js +0 -28
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_client_script.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_client_script.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_client_script.js +0 -70
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_client_script.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_ui_policy.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_ui_policy.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_ui_policy.js +0 -128
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_create_catalog_ui_policy.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_discover_catalogs.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_discover_catalogs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_discover_catalogs.js +0 -78
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_discover_catalogs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_get_catalog_item_details.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_get_catalog_item_details.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_get_catalog_item_details.js +0 -95
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_get_catalog_item_details.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_order_catalog_item.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_order_catalog_item.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_order_catalog_item.js +0 -91
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_order_catalog_item.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_search_catalog.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_search_catalog.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_search_catalog.js +0 -97
- package/dist/mcp/servicenow-mcp-unified/tools/catalog/snow_search_catalog.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/change/index.d.ts +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/change/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/change/index.js +0 -18
- package/dist/mcp/servicenow-mcp-unified/tools/change/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_manage.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_manage.js +0 -173
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_query.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_query.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_query.js +0 -207
- package/dist/mcp/servicenow-mcp-unified/tools/change/snow_change_query.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/index.d.ts +0 -17
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/index.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_ci_health_check.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_ci_health_check.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_ci_health_check.js +0 -60
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_ci_health_check.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci.js +0 -53
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci_relationship.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci_relationship.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci_relationship.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_create_ci_relationship.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_details.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_details.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_details.js +0 -67
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_details.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_history.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_history.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_history.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_history.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_impact.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_impact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_impact.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_impact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_relationships.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_relationships.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_relationships.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_ci_relationships.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_event_correlation.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_event_correlation.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_event_correlation.js +0 -117
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_get_event_correlation.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_impact_analysis.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_impact_analysis.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_impact_analysis.js +0 -120
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_impact_analysis.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_reconcile_ci.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_reconcile_ci.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_reconcile_ci.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_reconcile_ci.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_run_discovery.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_run_discovery.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_run_discovery.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_run_discovery.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_search_cmdb.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_search_cmdb.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_search_cmdb.js +0 -68
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_search_cmdb.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_update_ci.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_update_ci.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_update_ci.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/cmdb/snow_update_ci.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_batch_request.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_batch_request.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_batch_request.js +0 -63
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_batch_request.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_check_health.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_check_health.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_check_health.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_check_health.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_configure_connection.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_configure_connection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_configure_connection.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_configure_connection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_get_instance_info.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_get_instance_info.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_get_instance_info.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_get_instance_info.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_test_connection.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_test_connection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_test_connection.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/connectors/snow_test_connection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/converters/index.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/converters/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/converters/index.js +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/converters/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_data_convert.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_data_convert.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_data_convert.js +0 -157
- package/dist/mcp/servicenow-mcp-unified/tools/converters/snow_data_convert.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/index.d.ts +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/csm/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/index.js +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/csm/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_customer_account.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_customer_account.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_customer_account.js +0 -60
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_customer_account.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_entitlement.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_entitlement.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_entitlement.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_create_entitlement.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_get_customer_history.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_get_customer_history.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_get_customer_history.js +0 -64
- package/dist/mcp/servicenow-mcp-unified/tools/csm/snow_get_customer_history.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_add_dashboard_widget.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_add_dashboard_widget.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_add_dashboard_widget.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_add_dashboard_widget.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_create_dashboard.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_create_dashboard.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_create_dashboard.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/dashboards/snow_create_dashboard.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_bulk_update.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_bulk_update.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_bulk_update.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_bulk_update.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_choice.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_choice.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_choice.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_choice.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_field.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_field.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_field.js +0 -61
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_field.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_table.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_table.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_table.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_create_table.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_data_export.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_data_export.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_data_export.js +0 -58
- package/dist/mcp/servicenow-mcp-unified/tools/data-management/snow_data_export.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy.js +0 -57
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy_rule.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy_rule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy_rule.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/data-policies/snow_create_data_policy_rule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/snow_jwt_decode.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/snow_jwt_decode.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/snow_jwt_decode.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/decoders/snow_jwt_decode.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/index.d.ts +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/index.js +0 -45
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_auth_diagnostics.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_auth_diagnostics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_auth_diagnostics.js +0 -206
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_auth_diagnostics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_clone_instance_artifact.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_clone_instance_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_clone_instance_artifact.js +0 -73
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_clone_instance_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_artifact.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_artifact.js +0 -958
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_solution_package.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_solution_package.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_solution_package.js +0 -128
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_create_solution_package.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_debug.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_debug.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_debug.js +0 -135
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_debug.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_status.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_status.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_status.js +0 -152
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_deployment_status.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_export_artifact.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_export_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_export_artifact.js +0 -120
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_export_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_import_artifact.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_import_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_import_artifact.js +0 -164
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_import_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_rollback_deployment.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_rollback_deployment.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_rollback_deployment.js +0 -194
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_rollback_deployment.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_update.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_update.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_update.js +0 -202
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_update.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_validate_deployment.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_validate_deployment.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_validate_deployment.js +0 -298
- package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_validate_deployment.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/index.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/development/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/index.js +0 -39
- package/dist/mcp/servicenow-mcp-unified/tools/development/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_artifact.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_artifact.js +0 -107
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_requirements.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_requirements.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_requirements.js +0 -193
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_analyze_requirements.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_artifact.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_artifact.js +0 -107
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_by_sysid.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_by_sysid.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_by_sysid.js +0 -96
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_edit_by_sysid.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_find_artifact.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_find_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_find_artifact.js +0 -101
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_find_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_get_by_sysid.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_get_by_sysid.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_get_by_sysid.js +0 -88
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_get_by_sysid.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_memory_search.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_memory_search.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_memory_search.js +0 -94
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_memory_search.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_orchestrate_development.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_orchestrate_development.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_orchestrate_development.js +0 -146
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_orchestrate_development.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_sync_data_consistency.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_sync_data_consistency.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_sync_data_consistency.js +0 -132
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_sync_data_consistency.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_validate_live_connection.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_validate_live_connection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_validate_live_connection.js +0 -137
- package/dist/mcp/servicenow-mcp-unified/tools/development/snow_validate_live_connection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/devops/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/devops/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_change.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_change.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_change.js +0 -61
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_change.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_pipeline.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_pipeline.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_pipeline.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_create_devops_pipeline.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_get_devops_insights.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_get_devops_insights.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_get_devops_insights.js +0 -62
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_get_devops_insights.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_track_deployment.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_track_deployment.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_track_deployment.js +0 -60
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_track_deployment.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_velocity_tracking.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_velocity_tracking.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_velocity_tracking.js +0 -59
- package/dist/mcp/servicenow-mcp-unified/tools/devops/snow_velocity_tracking.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/email/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/email/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_email_template.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_email_template.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_email_template.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_email_template.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_notification.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_notification.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_notification.js +0 -63
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_create_notification.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_send_email.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_send_email.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_send_email.js +0 -148
- package/dist/mcp/servicenow-mcp-unified/tools/email/snow_send_email.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_base64.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_base64.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_base64.js +0 -42
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_base64.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_url.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_url.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_url.js +0 -42
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_decode_url.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_base64.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_base64.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_base64.js +0 -42
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_base64.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_url.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_url.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_url.js +0 -42
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_encode_url.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_hash_string.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_hash_string.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_hash_string.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/encoders/snow_hash_string.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/events/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/events/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert.js +0 -53
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert_rule.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert_rule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert_rule.js +0 -69
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_alert_rule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_event.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_event.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_event.js +0 -57
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_create_event.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_get_event_queue.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_get_event_queue.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_get_event_queue.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_get_event_queue.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_monitor_metrics.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_monitor_metrics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_monitor_metrics.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/events/snow_monitor_metrics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_custom_api.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_custom_api.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_custom_api.js +0 -69
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_custom_api.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_download.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_download.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_download.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_download.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_upload.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_upload.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_upload.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_file_upload.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_graphql_query.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_graphql_query.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_graphql_query.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_graphql_query.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_scripted_rest_api.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_scripted_rest_api.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_scripted_rest_api.js +0 -68
- package/dist/mcp/servicenow-mcp-unified/tools/extensions/snow_scripted_rest_api.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/index.d.ts +0 -5
- package/dist/mcp/servicenow-mcp-unified/tools/filters/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/index.js +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/filters/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_create_saved_filter.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_create_saved_filter.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_create_saved_filter.js +0 -93
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_create_saved_filter.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_date_filter.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_date_filter.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_date_filter.js +0 -69
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_date_filter.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_field_filter.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_field_filter.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_field_filter.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_field_filter.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_query_filter.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_query_filter.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_query_filter.js +0 -59
- package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_query_filter.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_date.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_date.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_date.js +0 -67
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_date.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_number.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_number.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_number.js +0 -60
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_number.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_text.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_text.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_text.js +0 -64
- package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_text.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/forms/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/forms/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_add_form_field.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_add_form_field.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_add_form_field.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_add_form_field.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_layout.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_layout.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_layout.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_layout.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_section.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_section.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_section.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/forms/snow_create_form_section.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/generators/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/generators/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/generators/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/generators/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/generators/snow_generate_records.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/generators/snow_generate_records.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/generators/snow_generate_records.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/generators/snow_generate_records.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/index.d.ts +0 -5
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/index.js +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_callback_handler.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_callback_handler.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_callback_handler.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_callback_handler.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_error_handler.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_error_handler.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_error_handler.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_error_handler.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_event_handler.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_event_handler.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_event_handler.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_event_handler.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_exception_handler.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_exception_handler.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_exception_handler.js +0 -53
- package/dist/mcp/servicenow-mcp-unified/tools/handlers/snow_exception_handler.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/index.d.ts +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/index.js +0 -22
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_get.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_get.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_get.js +0 -45
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_get.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_set.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_set.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_set.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_cache_set.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_diff_objects.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_diff_objects.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_diff_objects.js +0 -60
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_diff_objects.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_paginate.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_paginate.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_paginate.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_paginate.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_rate_limit.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_rate_limit.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_rate_limit.js +0 -45
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_rate_limit.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_retry_operation.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_retry_operation.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_retry_operation.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/helpers/snow_retry_operation.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/hr/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/hr/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_create_hr_task.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_create_hr_task.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_create_hr_task.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_create_hr_task.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_employee_offboarding.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_employee_offboarding.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_employee_offboarding.js +0 -59
- package/dist/mcp/servicenow-mcp-unified/tools/hr/snow_employee_offboarding.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_customer_case.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_customer_case.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_customer_case.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_customer_case.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_hr_case.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_hr_case.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_hr_case.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_create_hr_case.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_employee_onboarding.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_employee_onboarding.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_employee_onboarding.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/hr-csm/snow_employee_onboarding.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/index.d.ts +0 -5
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/index.js +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_import_set.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_import_set.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_import_set.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_import_set.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_transform_map.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_transform_map.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_transform_map.js +0 -124
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_create_transform_map.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_execute_transform.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_execute_transform.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_execute_transform.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_execute_transform.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_export_to_xml.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_export_to_xml.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_export_to_xml.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/import-export/snow_export_to_xml.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/index.d.ts +0 -29
- package/dist/mcp/servicenow-mcp-unified/tools/integration/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/index.js +0 -85
- package/dist/mcp/servicenow-mcp-unified/tools/integration/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_analyze_query.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_analyze_query.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_analyze_query.js +0 -221
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_analyze_query.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_batch_api.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_batch_api.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_batch_api.js +0 -132
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_batch_api.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_configure_mid_server.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_configure_mid_server.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_configure_mid_server.js +0 -397
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_configure_mid_server.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_connection_alias.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_connection_alias.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_connection_alias.js +0 -234
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_connection_alias.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_credential_alias.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_credential_alias.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_credential_alias.js +0 -280
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_credential_alias.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_email_config.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_email_config.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_email_config.js +0 -120
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_email_config.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_field_map.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_field_map.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_field_map.js +0 -113
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_field_map.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_flow_action.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_flow_action.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_flow_action.js +0 -358
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_flow_action.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_oauth_profile.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_oauth_profile.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_oauth_profile.js +0 -237
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_oauth_profile.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_rest_message.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_rest_message.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_rest_message.js +0 -227
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_rest_message.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_web_service.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_web_service.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_web_service.js +0 -111
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_create_web_service.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_detect_code_patterns.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_detect_code_patterns.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_detect_code_patterns.js +0 -285
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_detect_code_patterns.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_data_sources.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_data_sources.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_data_sources.js +0 -157
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_data_sources.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_integration_endpoints.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_integration_endpoints.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_integration_endpoints.js +0 -143
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_discover_integration_endpoints.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_generate_docs.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_generate_docs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_generate_docs.js +0 -249
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_generate_docs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_install_spoke.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_install_spoke.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_install_spoke.js +0 -326
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_install_spoke.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_mid_capabilities.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_mid_capabilities.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_mid_capabilities.js +0 -442
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_mid_capabilities.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_oauth_tokens.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_oauth_tokens.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_oauth_tokens.js +0 -348
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_oauth_tokens.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_spoke_connection.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_spoke_connection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_spoke_connection.js +0 -427
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_manage_spoke_connection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_rest_message_manage.d.ts +0 -26
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_rest_message_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_rest_message_manage.js +0 -1280
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_rest_message_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_schedule_job.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_schedule_job.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_schedule_job.js +0 -210
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_schedule_job.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_integration.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_integration.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_integration.js +0 -296
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_integration.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_mid_connectivity.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_mid_connectivity.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_mid_connectivity.js +0 -432
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_mid_connectivity.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_rest_connection.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_rest_connection.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_rest_connection.js +0 -139
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_test_rest_connection.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_workflow_analyze.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_workflow_analyze.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_workflow_analyze.js +0 -196
- package/dist/mcp/servicenow-mcp-unified/tools/integration/snow_workflow_analyze.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/journals/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/journals/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/journals/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/journals/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_add_comment.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_add_comment.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_add_comment.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_add_comment.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_get_journal_entries.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_get_journal_entries.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_get_journal_entries.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/journals/snow_get_journal_entries.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/index.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/index.js +0 -26
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_item.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_item.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_item.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_item.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_variable.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_variable.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_variable.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_catalog_variable.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_base.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_base.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_base.js +0 -70
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_create_knowledge_base.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_discover_knowledge_bases.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_discover_knowledge_bases.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_discover_knowledge_bases.js +0 -73
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_discover_knowledge_bases.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_knowledge_article_manage.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_knowledge_article_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_knowledge_article_manage.js +0 -339
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_knowledge_article_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_order_catalog_item.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_order_catalog_item.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_order_catalog_item.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/knowledge/snow_order_catalog_item.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/index.d.ts +0 -5
- package/dist/mcp/servicenow-mcp-unified/tools/lists/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/index.js +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/lists/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_add_list_column.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_add_list_column.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_add_list_column.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_add_list_column.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_layout.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_layout.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_layout.js +0 -146
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_layout.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_view.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_view.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_view.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_list_view.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_related_list.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_related_list.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_related_list.js +0 -54
- package/dist/mcp/servicenow-mcp-unified/tools/lists/snow_create_related_list.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/index.d.ts +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_convert_to_es5.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_convert_to_es5.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_convert_to_es5.js +0 -148
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_convert_to_es5.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_list_supported_artifacts.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_list_supported_artifacts.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_list_supported_artifacts.js +0 -129
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_list_supported_artifacts.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_pull_artifact.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_pull_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_pull_artifact.js +0 -197
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_pull_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_push_artifact.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_push_artifact.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_push_artifact.js +0 -207
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_push_artifact.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_cleanup.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_cleanup.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_cleanup.js +0 -200
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_cleanup.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_status.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_status.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_status.js +0 -254
- package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_sync_status.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/index.d.ts +0 -21
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/index.js +0 -42
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_classify_incident.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_classify_incident.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_classify_incident.js +0 -176
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_classify_incident.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_detect_anomalies.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_detect_anomalies.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_detect_anomalies.js +0 -178
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_detect_anomalies.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_forecast_incidents.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_forecast_incidents.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_forecast_incidents.js +0 -260
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_forecast_incidents.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_hybrid_recommendation.d.ts +0 -15
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_hybrid_recommendation.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_hybrid_recommendation.js +0 -317
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_hybrid_recommendation.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_performance_analytics.d.ts +0 -15
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_performance_analytics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_performance_analytics.js +0 -203
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_performance_analytics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_predict_change_risk.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_predict_change_risk.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_predict_change_risk.js +0 -164
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_predict_change_risk.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_anomaly_detector.d.ts +0 -22
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_anomaly_detector.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_anomaly_detector.js +0 -298
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_anomaly_detector.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_change_risk.d.ts +0 -23
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_change_risk.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_change_risk.js +0 -262
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_change_risk.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_incident_classifier.d.ts +0 -23
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_incident_classifier.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_incident_classifier.js +0 -355
- package/dist/mcp/servicenow-mcp-unified/tools/machine-learning-MIGRATED/ml_train_incident_classifier.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_data_mapper.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_data_mapper.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_data_mapper.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_data_mapper.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_field_mapper.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_field_mapper.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_field_mapper.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/mappers/snow_field_mapper.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/menus/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/menus/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/menus/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/menus/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu_item.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu_item.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu_item.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/menus/snow_create_menu_item.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_collect_metric.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_collect_metric.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_collect_metric.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_collect_metric.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_create_metric.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_create_metric.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_create_metric.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/metrics/snow_create_metric.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/index.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_mobile_app.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_mobile_app.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_mobile_app.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_mobile_app.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_offline_sync.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_offline_sync.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_offline_sync.js +0 -87
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_configure_offline_sync.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_action.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_action.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_action.js +0 -101
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_action.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_layout.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_layout.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_layout.js +0 -100
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_create_mobile_layout.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_discover_mobile_configs.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_discover_mobile_configs.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_discover_mobile_configs.js +0 -114
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_discover_mobile_configs.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_get_mobile_analytics.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_get_mobile_analytics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_get_mobile_analytics.js +0 -116
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_get_mobile_analytics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_send_push_notification.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_send_push_notification.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_send_push_notification.js +0 -117
- package/dist/mcp/servicenow-mcp-unified/tools/mobile/snow_send_push_notification.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/index.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_create_notification_template.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_create_notification_template.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_create_notification_template.js +0 -83
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_create_notification_template.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_emergency_broadcast.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_emergency_broadcast.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_emergency_broadcast.js +0 -113
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_emergency_broadcast.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_analytics.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_analytics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_analytics.js +0 -115
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_analytics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_preferences.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_preferences.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_preferences.js +0 -114
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_notification_preferences.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_schedule_notification.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_schedule_notification.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_schedule_notification.js +0 -126
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_schedule_notification.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_notification.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_notification.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_notification.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_notification.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_push.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_push.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_push.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/notifications/snow_send_push.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_analyze_incident.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_analyze_incident.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_analyze_incident.js +0 -180
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_analyze_incident.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_task.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_task.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_task.js +0 -213
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_assign_task.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_attach_file.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_attach_file.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_attach_file.js +0 -185
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_attach_file.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_auto_resolve_incident.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_auto_resolve_incident.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_auto_resolve_incident.js +0 -140
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_auto_resolve_incident.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_manager.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_manager.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_manager.js +0 -138
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_manager.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_search.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_search.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_search.js +0 -92
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_catalog_item_search.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cleanup_test_artifacts.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cleanup_test_artifacts.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cleanup_test_artifacts.js +0 -107
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cleanup_test_artifacts.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cmdb_search.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cmdb_search.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cmdb_search.js +0 -163
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_cmdb_search.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_comprehensive_search.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_comprehensive_search.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_comprehensive_search.js +0 -316
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_comprehensive_search.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_incident.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_incident.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_incident.js +0 -224
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_incident.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_user_group.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_user_group.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_user_group.js +0 -120
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_create_user_group.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_discover_table_fields.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_discover_table_fields.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_discover_table_fields.js +0 -146
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_discover_table_fields.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_get_by_sysid.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_get_by_sysid.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_get_by_sysid.js +0 -91
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_get_by_sysid.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_manage_group_membership.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_manage_group_membership.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_manage_group_membership.js +0 -247
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_manage_group_membership.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_operational_metrics.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_operational_metrics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_operational_metrics.js +0 -140
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_operational_metrics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_pattern_analysis.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_pattern_analysis.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_pattern_analysis.js +0 -218
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_pattern_analysis.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_predictive_analysis.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_predictive_analysis.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_predictive_analysis.js +0 -175
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_predictive_analysis.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_incidents.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_incidents.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_incidents.js +0 -151
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_incidents.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_problems.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_problems.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_problems.js +0 -125
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_problems.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_requests.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_requests.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_requests.js +0 -128
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_requests.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_table.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_table.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_table.js +0 -156
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_query_table.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_record_manage.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_record_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_record_manage.js +0 -366
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_record_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_incident.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_incident.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_incident.js +0 -240
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_update_incident.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_user_lookup.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_user_lookup.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_user_lookup.js +0 -140
- package/dist/mcp/servicenow-mcp-unified/tools/operations/snow_user_lookup.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/snow_parse_json.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/snow_parse_json.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/snow_parse_json.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/parsers/snow_parse_json.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/index.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_create.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_create.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_create.js +0 -311
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_create.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_discover.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_discover.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_discover.js +0 -134
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_discover.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_operate.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_operate.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_operate.js +0 -186
- package/dist/mcp/servicenow-mcp-unified/tools/performance-analytics/snow_pa_operate.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_client_script.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_client_script.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_client_script.js +0 -157
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_client_script.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_script_include.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_script_include.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_script_include.js +0 -161
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_script_include.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_action.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_action.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_action.js +0 -169
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_action.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_page.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_page.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_page.js +0 -149
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_page.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_policy.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_policy.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_policy.js +0 -164
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_create_ui_policy.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_discover_platform_tables.d.ts +0 -18
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_discover_platform_tables.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_discover_platform_tables.js +0 -282
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_discover_platform_tables.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_table_schema_discovery.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_table_schema_discovery.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_table_schema_discovery.js +0 -207
- package/dist/mcp/servicenow-mcp-unified/tools/platform/snow_table_schema_discovery.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_activate_plugin.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_activate_plugin.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_activate_plugin.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_activate_plugin.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_custom_plugin.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_custom_plugin.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_custom_plugin.js +0 -46
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_custom_plugin.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_list_plugins.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_list_plugins.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_list_plugins.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/plugins/snow_list_plugins.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/index.d.ts +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/index.js +0 -28
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_activate_pi_solution.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_activate_pi_solution.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_activate_pi_solution.js +0 -168
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_activate_pi_solution.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_create_pi_solution.d.ts +0 -20
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_create_pi_solution.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_create_pi_solution.js +0 -235
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_create_pi_solution.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_list_pi_solutions.d.ts +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_list_pi_solutions.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_list_pi_solutions.js +0 -166
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_list_pi_solutions.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_monitor_pi_training.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_monitor_pi_training.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_monitor_pi_training.js +0 -142
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_monitor_pi_training.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_train_pi_solution.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_train_pi_solution.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_train_pi_solution.js +0 -149
- package/dist/mcp/servicenow-mcp-unified/tools/predictive-intelligence-MIGRATED/snow_train_pi_solution.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/processors/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/processors/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/processors/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/processors/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/processors/snow_create_processor.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/processors/snow_create_processor.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/processors/snow_create_processor.js +0 -55
- package/dist/mcp/servicenow-mcp-unified/tools/processors/snow_create_processor.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_approve_procurement.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_approve_procurement.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_approve_procurement.js +0 -47
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_approve_procurement.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_create_purchase_order.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_create_purchase_order.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_create_purchase_order.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/procurement/snow_create_purchase_order.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/project/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/project/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/project/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/project/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project.js +0 -54
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project_task.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project_task.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project_task.js +0 -51
- package/dist/mcp/servicenow-mcp-unified/tools/project/snow_create_project_task.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/queues/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/queues/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/queues/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/queues/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_create_queue.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_create_queue.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_create_queue.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_create_queue.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_get_queue_items.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_get_queue_items.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_get_queue_items.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/queues/snow_get_queue_items.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_analyze_data_quality.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_analyze_data_quality.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_analyze_data_quality.js +0 -138
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_analyze_data_quality.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_dashboard.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_dashboard.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_dashboard.js +0 -80
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_dashboard.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_report.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_report.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_report.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_create_report.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_define_kpi.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_define_kpi.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_define_kpi.js +0 -79
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_define_kpi.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_schedule_report_delivery.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_schedule_report_delivery.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_schedule_report_delivery.js +0 -81
- package/dist/mcp/servicenow-mcp-unified/tools/reporting/snow_schedule_report_delivery.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_create_scheduled_job.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_create_scheduled_job.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_create_scheduled_job.js +0 -60
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_create_scheduled_job.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_get_job_history.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_get_job_history.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_get_job_history.js +0 -54
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_get_job_history.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_trigger_scheduled_job.d.ts +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_trigger_scheduled_job.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_trigger_scheduled_job.js +0 -142
- package/dist/mcp/servicenow-mcp-unified/tools/scheduled-jobs/snow_trigger_scheduled_job.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_add_schedule_entry.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_add_schedule_entry.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_add_schedule_entry.js +0 -57
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_add_schedule_entry.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_create_schedule.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_create_schedule.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_create_schedule.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/schedules/snow_create_schedule.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_page.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_page.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_page.js +0 -45
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_page.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_widget.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_widget.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_widget.js +0 -57
- package/dist/mcp/servicenow-mcp-unified/tools/service-portal/snow_create_sp_widget.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/sla/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/sla/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/sla/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/sla/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_create_sla.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_create_sla.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_create_sla.js +0 -54
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_create_sla.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_get_sla_status.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_get_sla_status.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_get_sla_status.js +0 -53
- package/dist/mcp/servicenow-mcp-unified/tools/sla/snow_get_sla_status.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_bulk.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_bulk.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_bulk.js +0 -174
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_bulk.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_io.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_io.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_io.js +0 -239
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_io.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_manage.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_manage.js +0 -303
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_query.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_query.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_query.js +0 -155
- package/dist/mcp/servicenow-mcp-unified/tools/system-properties/snow_property_query.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/templates/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/templates/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/templates/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/templates/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_apply_template.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_apply_template.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_apply_template.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_apply_template.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_create_template.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_create_template.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_create_template.js +0 -53
- package/dist/mcp/servicenow-mcp-unified/tools/templates/snow_create_template.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/index.d.ts +0 -2
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/index.js +0 -7
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/snow_transform_data.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/snow_transform_data.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/snow_transform_data.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/transformers/snow_transform_data.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/index.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/index.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_analyze_uib_page_performance.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_analyze_uib_page_performance.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_analyze_uib_page_performance.js +0 -143
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_analyze_uib_page_performance.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_configure_uib_data_broker.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_configure_uib_data_broker.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_configure_uib_data_broker.js +0 -94
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_configure_uib_data_broker.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_script.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_script.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_script.js +0 -87
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_script.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_state.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_state.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_state.js +0 -82
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_client_state.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_data_broker.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_data_broker.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_data_broker.js +0 -95
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_data_broker.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_event.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_event.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_event.js +0 -82
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_event.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page_registry.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page_registry.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page_registry.js +0 -83
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_uib_page_registry.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_workspace.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_workspace.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_workspace.js +0 -109
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_create_workspace.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_debug_widget_fetch.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_debug_widget_fetch.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_debug_widget_fetch.js +0 -94
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_debug_widget_fetch.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_component_manage.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_component_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_component_manage.js +0 -149
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_component_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_discover.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_discover.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_discover.js +0 -234
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_discover.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_page_manage.d.ts +0 -15
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_page_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_page_manage.js +0 -341
- package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_uib_page_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-policies/snow_create_ui_policy_action.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/ui-policies/snow_create_ui_policy_action.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/ui-policies/snow_create_ui_policy_action.js +0 -58
- package/dist/mcp/servicenow-mcp-unified/tools/ui-policies/snow_create_ui_policy_action.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/index.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/index.js +0 -23
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_ensure_active_update_set.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_ensure_active_update_set.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_ensure_active_update_set.js +0 -156
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_ensure_active_update_set.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_manage.d.ts +0 -16
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_manage.js +0 -711
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_query.d.ts +0 -14
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_query.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_query.js +0 -158
- package/dist/mcp/servicenow-mcp-unified/tools/update-sets/snow_update_set_query.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/index.d.ts +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/index.js +0 -18
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_role_group_manage.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_role_group_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_role_group_manage.js +0 -169
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_role_group_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_user_manage.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_user_manage.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_user_manage.js +0 -132
- package/dist/mcp/servicenow-mcp-unified/tools/user-admin/snow_user_manage.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/index.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_convert_es6_to_es5.d.ts +0 -20
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_convert_es6_to_es5.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_convert_es6_to_es5.js +0 -283
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_convert_es6_to_es5.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_generate_guid.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_generate_guid.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_generate_guid.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_generate_guid.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_merge_objects.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_merge_objects.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_merge_objects.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_merge_objects.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_random_string.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_random_string.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_random_string.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_random_string.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sanitize_input.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sanitize_input.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sanitize_input.js +0 -64
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sanitize_input.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sleep.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sleep.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sleep.js +0 -41
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_sleep.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_timestamp.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_timestamp.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_timestamp.js +0 -59
- package/dist/mcp/servicenow-mcp-unified/tools/utilities/snow_timestamp.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/index.d.ts +0 -6
- package/dist/mcp/servicenow-mcp-unified/tools/validators/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/index.js +0 -19
- package/dist/mcp/servicenow-mcp-unified/tools/validators/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_preview_widget.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_preview_widget.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_preview_widget.js +0 -235
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_preview_widget.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_field.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_field.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_field.js +0 -62
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_field.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_record.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_record.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_record.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_record.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_sysid.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_sysid.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_sysid.js +0 -118
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_validate_sysid.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_widget_test.d.ts +0 -11
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_widget_test.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_widget_test.js +0 -196
- package/dist/mcp/servicenow-mcp-unified/tools/validators/snow_widget_test.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/variables/index.d.ts +0 -3
- package/dist/mcp/servicenow-mcp-unified/tools/variables/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/variables/index.js +0 -10
- package/dist/mcp/servicenow-mcp-unified/tools/variables/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable.js +0 -56
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable_set.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable_set.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable_set.js +0 -49
- package/dist/mcp/servicenow-mcp-unified/tools/variables/snow_create_variable_set.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/index.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/index.js +0 -25
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic.js +0 -48
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic_block.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic_block.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic_block.js +0 -92
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_create_va_topic_block.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_discover_va_topics.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_discover_va_topics.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_discover_va_topics.js +0 -81
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_discover_va_topics.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_get_va_conversation.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_get_va_conversation.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_get_va_conversation.js +0 -94
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_get_va_conversation.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_handoff_to_agent.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_handoff_to_agent.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_handoff_to_agent.js +0 -96
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_handoff_to_agent.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_send_va_message.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_send_va_message.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_send_va_message.js +0 -91
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_send_va_message.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_train_va_nlu.d.ts +0 -8
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_train_va_nlu.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_train_va_nlu.js +0 -43
- package/dist/mcp/servicenow-mcp-unified/tools/virtual-agent/snow_train_va_nlu.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/index.d.ts +0 -4
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/index.js +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow.js +0 -52
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow_activity.d.ts +0 -9
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow_activity.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow_activity.js +0 -50
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_create_workflow_activity.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_start_workflow.d.ts +0 -15
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_start_workflow.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_start_workflow.js +0 -136
- package/dist/mcp/servicenow-mcp-unified/tools/workflow/snow_start_workflow.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/index.d.ts +0 -15
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/index.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/index.js +0 -38
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/index.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_complete_workspace.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_complete_workspace.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_complete_workspace.js +0 -218
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_complete_workspace.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_configurable_agent_workspace.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_configurable_agent_workspace.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_configurable_agent_workspace.js +0 -117
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_configurable_agent_workspace.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_config.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_config.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_config.js +0 -86
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_config.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_route.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_route.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_route.js +0 -96
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_app_route.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_experience.d.ts +0 -13
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_experience.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_experience.js +0 -87
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_experience.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_macroponent.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_macroponent.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_macroponent.js +0 -84
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_macroponent.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_registry.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_registry.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_registry.js +0 -89
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_page_registry.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_discover_all_workspaces.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_discover_all_workspaces.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_discover_all_workspaces.js +0 -145
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_discover_all_workspaces.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_update_ux_app_config_landing_page.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_update_ux_app_config_landing_page.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_update_ux_app_config_landing_page.js +0 -71
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_update_ux_app_config_landing_page.js.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_validate_workspace_configuration.d.ts +0 -12
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_validate_workspace_configuration.d.ts.map +0 -1
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_validate_workspace_configuration.js +0 -219
- package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_validate_workspace_configuration.js.map +0 -1
- package/dist/mcp/servicenow-notifications-mcp.d.ts +0 -24
- package/dist/mcp/servicenow-notifications-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-notifications-mcp.js +0 -327
- package/dist/mcp/servicenow-notifications-mcp.js.map +0 -1
- package/dist/mcp/servicenow-operations-mcp.d.ts +0 -86
- package/dist/mcp/servicenow-operations-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-operations-mcp.js +0 -3296
- package/dist/mcp/servicenow-operations-mcp.js.map +0 -1
- package/dist/mcp/servicenow-platform-development-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-platform-development-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-platform-development-mcp.js +0 -875
- package/dist/mcp/servicenow-platform-development-mcp.js.map +0 -1
- package/dist/mcp/servicenow-progressive-indexer.d.ts +0 -79
- package/dist/mcp/servicenow-progressive-indexer.d.ts.map +0 -1
- package/dist/mcp/servicenow-progressive-indexer.js +0 -320
- package/dist/mcp/servicenow-progressive-indexer.js.map +0 -1
- package/dist/mcp/servicenow-reporting-analytics-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-reporting-analytics-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-reporting-analytics-mcp.js +0 -1269
- package/dist/mcp/servicenow-reporting-analytics-mcp.js.map +0 -1
- package/dist/mcp/servicenow-secops-mcp.d.ts +0 -28
- package/dist/mcp/servicenow-secops-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-secops-mcp.js +0 -560
- package/dist/mcp/servicenow-secops-mcp.js.map +0 -1
- package/dist/mcp/servicenow-security-compliance-mcp.d.ts +0 -8
- package/dist/mcp/servicenow-security-compliance-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-security-compliance-mcp.js +0 -1055
- package/dist/mcp/servicenow-security-compliance-mcp.js.map +0 -1
- package/dist/mcp/servicenow-system-properties-mcp.d.ts +0 -70
- package/dist/mcp/servicenow-system-properties-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-system-properties-mcp.js +0 -1173
- package/dist/mcp/servicenow-system-properties-mcp.js.map +0 -1
- package/dist/mcp/servicenow-update-set-mcp.d.ts +0 -7
- package/dist/mcp/servicenow-update-set-mcp.d.ts.map +0 -1
- package/dist/mcp/servicenow-update-set-mcp.js +0 -830
- package/dist/mcp/servicenow-update-set-mcp.js.map +0 -1
- package/dist/mcp/shared/agent-context-provider.d.ts +0 -77
- package/dist/mcp/shared/agent-context-provider.d.ts.map +0 -1
- package/dist/mcp/shared/agent-context-provider.js +0 -292
- package/dist/mcp/shared/agent-context-provider.js.map +0 -1
- package/dist/mcp/shared/base-mcp-server.d.ts +0 -311
- package/dist/mcp/shared/base-mcp-server.d.ts.map +0 -1
- package/dist/mcp/shared/base-mcp-server.js +0 -2071
- package/dist/mcp/shared/base-mcp-server.js.map +0 -1
- package/dist/mcp/shared/enhanced-base-mcp-server.d.ts +0 -73
- package/dist/mcp/shared/enhanced-base-mcp-server.d.ts.map +0 -1
- package/dist/mcp/shared/enhanced-base-mcp-server.js +0 -309
- package/dist/mcp/shared/enhanced-base-mcp-server.js.map +0 -1
- package/dist/mcp/shared/mcp-logger.d.ts +0 -89
- package/dist/mcp/shared/mcp-logger.d.ts.map +0 -1
- package/dist/mcp/shared/mcp-logger.js +0 -226
- package/dist/mcp/shared/mcp-logger.js.map +0 -1
- package/dist/mcp/shared/mcp-memory-manager.d.ts +0 -87
- package/dist/mcp/shared/mcp-memory-manager.d.ts.map +0 -1
- package/dist/mcp/shared/mcp-memory-manager.js +0 -423
- package/dist/mcp/shared/mcp-memory-manager.js.map +0 -1
- package/dist/mcp/shared/mcp-resource-manager.d.ts +0 -99
- package/dist/mcp/shared/mcp-resource-manager.d.ts.map +0 -1
- package/dist/mcp/shared/mcp-resource-manager.js +0 -305
- package/dist/mcp/shared/mcp-resource-manager.js.map +0 -1
- package/dist/mcp/shared/mcp-types.d.ts +0 -51
- package/dist/mcp/shared/mcp-types.d.ts.map +0 -1
- package/dist/mcp/shared/mcp-types.js +0 -7
- package/dist/mcp/shared/mcp-types.js.map +0 -1
- package/dist/mcp/shared/reliable-memory-manager.d.ts +0 -78
- package/dist/mcp/shared/reliable-memory-manager.d.ts.map +0 -1
- package/dist/mcp/shared/reliable-memory-manager.js +0 -288
- package/dist/mcp/shared/reliable-memory-manager.js.map +0 -1
- package/dist/mcp/shared/response-limiter.d.ts +0 -26
- package/dist/mcp/shared/response-limiter.d.ts.map +0 -1
- package/dist/mcp/shared/response-limiter.js +0 -116
- package/dist/mcp/shared/response-limiter.js.map +0 -1
- package/dist/mcp/snow-flow-mcp.d.ts +0 -6
- package/dist/mcp/snow-flow-mcp.d.ts.map +0 -1
- package/dist/mcp/snow-flow-mcp.js +0 -1605
- package/dist/mcp/snow-flow-mcp.js.map +0 -1
- package/dist/mcp/start-servicenow-mcp.d.ts +0 -7
- package/dist/mcp/start-servicenow-mcp.d.ts.map +0 -1
- package/dist/mcp/start-servicenow-mcp.js +0 -64
- package/dist/mcp/start-servicenow-mcp.js.map +0 -1
- package/dist/memory/hierarchical-memory-system.d.ts +0 -42
- package/dist/memory/hierarchical-memory-system.d.ts.map +0 -1
- package/dist/memory/hierarchical-memory-system.js +0 -60
- package/dist/memory/hierarchical-memory-system.js.map +0 -1
- package/dist/memory/memory-system.d.ts +0 -34
- package/dist/memory/memory-system.d.ts.map +0 -1
- package/dist/memory/memory-system.js +0 -36
- package/dist/memory/memory-system.js.map +0 -1
- package/dist/memory/servicenow-artifact-indexer.d.ts +0 -119
- package/dist/memory/servicenow-artifact-indexer.d.ts.map +0 -1
- package/dist/memory/servicenow-artifact-indexer.js +0 -560
- package/dist/memory/servicenow-artifact-indexer.js.map +0 -1
- package/dist/memory/session-memory.d.ts +0 -70
- package/dist/memory/session-memory.d.ts.map +0 -1
- package/dist/memory/session-memory.js +0 -110
- package/dist/memory/session-memory.js.map +0 -1
- package/dist/memory/snow-flow-memory-patterns.d.ts +0 -52
- package/dist/memory/snow-flow-memory-patterns.d.ts.map +0 -1
- package/dist/memory/snow-flow-memory-patterns.js +0 -56
- package/dist/memory/snow-flow-memory-patterns.js.map +0 -1
- package/dist/monitoring/performance-tracker.d.ts +0 -157
- package/dist/monitoring/performance-tracker.d.ts.map +0 -1
- package/dist/monitoring/performance-tracker.js +0 -607
- package/dist/monitoring/performance-tracker.js.map +0 -1
- package/dist/optimization/cost-optimization-engine.d.ts +0 -277
- package/dist/optimization/cost-optimization-engine.d.ts.map +0 -1
- package/dist/optimization/cost-optimization-engine.js +0 -805
- package/dist/optimization/cost-optimization-engine.js.map +0 -1
- package/dist/optimization/index.d.ts +0 -5
- package/dist/optimization/index.d.ts.map +0 -1
- package/dist/optimization/index.js +0 -13
- package/dist/optimization/index.js.map +0 -1
- package/dist/rollback/smart-rollback-system.d.ts +0 -350
- package/dist/rollback/smart-rollback-system.d.ts.map +0 -1
- package/dist/rollback/smart-rollback-system.js +0 -463
- package/dist/rollback/smart-rollback-system.js.map +0 -1
- package/dist/sdk/index.d.ts +0 -9
- package/dist/sdk/index.d.ts.map +0 -1
- package/dist/sdk/index.js +0 -11
- package/dist/sdk/index.js.map +0 -1
- package/dist/services/tensorflow-ml-service.d.ts +0 -105
- package/dist/services/tensorflow-ml-service.d.ts.map +0 -1
- package/dist/services/tensorflow-ml-service.js +0 -456
- package/dist/services/tensorflow-ml-service.js.map +0 -1
- package/dist/services/widget-deployment-service.d.ts +0 -108
- package/dist/services/widget-deployment-service.d.ts.map +0 -1
- package/dist/services/widget-deployment-service.js +0 -333
- package/dist/services/widget-deployment-service.js.map +0 -1
- package/dist/session/store.d.ts +0 -47
- package/dist/session/store.d.ts.map +0 -1
- package/dist/session/store.js +0 -74
- package/dist/session/store.js.map +0 -1
- package/dist/snow-flow-system.d.ts +0 -135
- package/dist/snow-flow-system.d.ts.map +0 -1
- package/dist/snow-flow-system.js +0 -420
- package/dist/snow-flow-system.js.map +0 -1
- package/dist/strategies/global-scope-strategy.d.ts +0 -123
- package/dist/strategies/global-scope-strategy.d.ts.map +0 -1
- package/dist/strategies/global-scope-strategy.js +0 -602
- package/dist/strategies/global-scope-strategy.js.map +0 -1
- package/dist/templates/agents-md-template.d.ts +0 -3
- package/dist/templates/agents-md-template.d.ts.map +0 -1
- package/dist/templates/agents-md-template.js +0 -381
- package/dist/templates/agents-md-template.js.map +0 -1
- package/dist/templates/claude-md-template.d.ts +0 -3
- package/dist/templates/claude-md-template.d.ts.map +0 -1
- package/dist/templates/claude-md-template.js +0 -934
- package/dist/templates/claude-md-template.js.map +0 -1
- package/dist/templates/readme-template.d.ts +0 -2
- package/dist/templates/readme-template.d.ts.map +0 -1
- package/dist/templates/readme-template.js +0 -339
- package/dist/templates/readme-template.js.map +0 -1
- package/dist/types/index.d.ts +0 -139
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/types/servicenow.types.d.ts +0 -260
- package/dist/types/servicenow.types.d.ts.map +0 -1
- package/dist/types/servicenow.types.js +0 -3
- package/dist/types/servicenow.types.js.map +0 -1
- package/dist/types/snow-flow.types.d.ts +0 -115
- package/dist/types/snow-flow.types.d.ts.map +0 -1
- package/dist/types/snow-flow.types.js +0 -3
- package/dist/types/snow-flow.types.js.map +0 -1
- package/dist/types/todo.types.d.ts +0 -61
- package/dist/types/todo.types.d.ts.map +0 -1
- package/dist/types/todo.types.js +0 -7
- package/dist/types/todo.types.js.map +0 -1
- package/dist/utils/action-type-cache.d.ts +0 -66
- package/dist/utils/action-type-cache.d.ts.map +0 -1
- package/dist/utils/action-type-cache.js +0 -238
- package/dist/utils/action-type-cache.js.map +0 -1
- package/dist/utils/agent-detector.d.ts +0 -71
- package/dist/utils/agent-detector.d.ts.map +0 -1
- package/dist/utils/agent-detector.js +0 -751
- package/dist/utils/agent-detector.js.map +0 -1
- package/dist/utils/anti-mock-data-validator.d.ts +0 -66
- package/dist/utils/anti-mock-data-validator.d.ts.map +0 -1
- package/dist/utils/anti-mock-data-validator.js +0 -316
- package/dist/utils/anti-mock-data-validator.js.map +0 -1
- package/dist/utils/artifact-local-sync.d.ts +0 -135
- package/dist/utils/artifact-local-sync.d.ts.map +0 -1
- package/dist/utils/artifact-local-sync.js +0 -1043
- package/dist/utils/artifact-local-sync.js.map +0 -1
- package/dist/utils/artifact-sync/artifact-registry.d.ts +0 -66
- package/dist/utils/artifact-sync/artifact-registry.d.ts.map +0 -1
- package/dist/utils/artifact-sync/artifact-registry.js +0 -450
- package/dist/utils/artifact-sync/artifact-registry.js.map +0 -1
- package/dist/utils/artifact-sync/index.d.ts +0 -33
- package/dist/utils/artifact-sync/index.d.ts.map +0 -1
- package/dist/utils/artifact-sync/index.js +0 -52
- package/dist/utils/artifact-sync/index.js.map +0 -1
- package/dist/utils/artifact-tracker.d.ts +0 -73
- package/dist/utils/artifact-tracker.d.ts.map +0 -1
- package/dist/utils/artifact-tracker.js +0 -292
- package/dist/utils/artifact-tracker.js.map +0 -1
- package/dist/utils/auto-update-snow-code.d.ts +0 -57
- package/dist/utils/auto-update-snow-code.d.ts.map +0 -1
- package/dist/utils/auto-update-snow-code.js +0 -322
- package/dist/utils/auto-update-snow-code.js.map +0 -1
- package/dist/utils/chunking-manager.d.ts +0 -39
- package/dist/utils/chunking-manager.d.ts.map +0 -1
- package/dist/utils/chunking-manager.js +0 -143
- package/dist/utils/chunking-manager.js.map +0 -1
- package/dist/utils/claude-desktop-exporter.d.ts +0 -31
- package/dist/utils/claude-desktop-exporter.d.ts.map +0 -1
- package/dist/utils/claude-desktop-exporter.js +0 -202
- package/dist/utils/claude-desktop-exporter.js.map +0 -1
- package/dist/utils/config-cache.d.ts +0 -50
- package/dist/utils/config-cache.d.ts.map +0 -1
- package/dist/utils/config-cache.js +0 -153
- package/dist/utils/config-cache.js.map +0 -1
- package/dist/utils/data-fetch-safety.d.ts +0 -31
- package/dist/utils/data-fetch-safety.d.ts.map +0 -1
- package/dist/utils/data-fetch-safety.js +0 -71
- package/dist/utils/data-fetch-safety.js.map +0 -1
- package/dist/utils/dependency-detector.d.ts +0 -44
- package/dist/utils/dependency-detector.d.ts.map +0 -1
- package/dist/utils/dependency-detector.js +0 -208
- package/dist/utils/dependency-detector.js.map +0 -1
- package/dist/utils/deployment-auth-fix.d.ts +0 -43
- package/dist/utils/deployment-auth-fix.d.ts.map +0 -1
- package/dist/utils/deployment-auth-fix.js +0 -274
- package/dist/utils/deployment-auth-fix.js.map +0 -1
- package/dist/utils/deployment-metadata-handler.d.ts +0 -110
- package/dist/utils/deployment-metadata-handler.d.ts.map +0 -1
- package/dist/utils/deployment-metadata-handler.js +0 -423
- package/dist/utils/deployment-metadata-handler.js.map +0 -1
- package/dist/utils/dynamic-models.d.ts +0 -30
- package/dist/utils/dynamic-models.d.ts.map +0 -1
- package/dist/utils/dynamic-models.js +0 -265
- package/dist/utils/dynamic-models.js.map +0 -1
- package/dist/utils/error-recovery.d.ts +0 -101
- package/dist/utils/error-recovery.d.ts.map +0 -1
- package/dist/utils/error-recovery.js +0 -548
- package/dist/utils/error-recovery.js.map +0 -1
- package/dist/utils/find-enterprise-proxy.d.ts +0 -28
- package/dist/utils/find-enterprise-proxy.d.ts.map +0 -1
- package/dist/utils/find-enterprise-proxy.js +0 -132
- package/dist/utils/find-enterprise-proxy.js.map +0 -1
- package/dist/utils/logger.d.ts +0 -19
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/logger.js +0 -81
- package/dist/utils/logger.js.map +0 -1
- package/dist/utils/mcp-auth-middleware.d.ts +0 -58
- package/dist/utils/mcp-auth-middleware.d.ts.map +0 -1
- package/dist/utils/mcp-auth-middleware.js +0 -227
- package/dist/utils/mcp-auth-middleware.js.map +0 -1
- package/dist/utils/mcp-config-manager.d.ts +0 -126
- package/dist/utils/mcp-config-manager.d.ts.map +0 -1
- package/dist/utils/mcp-config-manager.js +0 -213
- package/dist/utils/mcp-config-manager.js.map +0 -1
- package/dist/utils/mcp-on-demand-manager.d.ts +0 -69
- package/dist/utils/mcp-on-demand-manager.d.ts.map +0 -1
- package/dist/utils/mcp-on-demand-manager.js +0 -322
- package/dist/utils/mcp-on-demand-manager.js.map +0 -1
- package/dist/utils/mcp-output-formatter.d.ts +0 -128
- package/dist/utils/mcp-output-formatter.d.ts.map +0 -1
- package/dist/utils/mcp-output-formatter.js +0 -442
- package/dist/utils/mcp-output-formatter.js.map +0 -1
- package/dist/utils/mcp-persistent-guard.d.ts +0 -51
- package/dist/utils/mcp-persistent-guard.d.ts.map +0 -1
- package/dist/utils/mcp-persistent-guard.js +0 -143
- package/dist/utils/mcp-persistent-guard.js.map +0 -1
- package/dist/utils/mcp-process-manager-safe.d.ts +0 -70
- package/dist/utils/mcp-process-manager-safe.d.ts.map +0 -1
- package/dist/utils/mcp-process-manager-safe.js +0 -319
- package/dist/utils/mcp-process-manager-safe.js.map +0 -1
- package/dist/utils/mcp-process-manager.d.ts +0 -70
- package/dist/utils/mcp-process-manager.d.ts.map +0 -1
- package/dist/utils/mcp-process-manager.js +0 -319
- package/dist/utils/mcp-process-manager.js.map +0 -1
- package/dist/utils/mcp-singleton-lock.d.ts +0 -39
- package/dist/utils/mcp-singleton-lock.d.ts.map +0 -1
- package/dist/utils/mcp-singleton-lock.js +0 -159
- package/dist/utils/mcp-singleton-lock.js.map +0 -1
- package/dist/utils/mcp-timeout-config.d.ts +0 -39
- package/dist/utils/mcp-timeout-config.d.ts.map +0 -1
- package/dist/utils/mcp-timeout-config.js +0 -123
- package/dist/utils/mcp-timeout-config.js.map +0 -1
- package/dist/utils/mcp-tool-registry.d.ts +0 -69
- package/dist/utils/mcp-tool-registry.d.ts.map +0 -1
- package/dist/utils/mcp-tool-registry.js +0 -354
- package/dist/utils/mcp-tool-registry.js.map +0 -1
- package/dist/utils/memory-pool.d.ts +0 -56
- package/dist/utils/memory-pool.d.ts.map +0 -1
- package/dist/utils/memory-pool.js +0 -103
- package/dist/utils/memory-pool.js.map +0 -1
- package/dist/utils/memory-safe-collections.d.ts +0 -119
- package/dist/utils/memory-safe-collections.d.ts.map +0 -1
- package/dist/utils/memory-safe-collections.js +0 -212
- package/dist/utils/memory-safe-collections.js.map +0 -1
- package/dist/utils/migrate-snow-flow.d.ts +0 -22
- package/dist/utils/migrate-snow-flow.d.ts.map +0 -1
- package/dist/utils/migrate-snow-flow.js +0 -120
- package/dist/utils/migrate-snow-flow.js.map +0 -1
- package/dist/utils/ml-data-fetcher.d.ts +0 -66
- package/dist/utils/ml-data-fetcher.d.ts.map +0 -1
- package/dist/utils/ml-data-fetcher.js +0 -349
- package/dist/utils/ml-data-fetcher.js.map +0 -1
- package/dist/utils/oauth-html-templates.d.ts +0 -11
- package/dist/utils/oauth-html-templates.d.ts.map +0 -1
- package/dist/utils/oauth-html-templates.js +0 -355
- package/dist/utils/oauth-html-templates.js.map +0 -1
- package/dist/utils/servicenow-audit-logger.d.ts +0 -109
- package/dist/utils/servicenow-audit-logger.d.ts.map +0 -1
- package/dist/utils/servicenow-audit-logger.js +0 -267
- package/dist/utils/servicenow-audit-logger.js.map +0 -1
- package/dist/utils/servicenow-client-with-tracking.d.ts +0 -46
- package/dist/utils/servicenow-client-with-tracking.d.ts.map +0 -1
- package/dist/utils/servicenow-client-with-tracking.js +0 -164
- package/dist/utils/servicenow-client-with-tracking.js.map +0 -1
- package/dist/utils/servicenow-client.d.ts +0 -356
- package/dist/utils/servicenow-client.d.ts.map +0 -1
- package/dist/utils/servicenow-client.js +0 -3020
- package/dist/utils/servicenow-client.js.map +0 -1
- package/dist/utils/servicenow-eventual-consistency.d.ts +0 -120
- package/dist/utils/servicenow-eventual-consistency.d.ts.map +0 -1
- package/dist/utils/servicenow-eventual-consistency.js +0 -220
- package/dist/utils/servicenow-eventual-consistency.js.map +0 -1
- package/dist/utils/servicenow-id-generator.d.ts +0 -107
- package/dist/utils/servicenow-id-generator.d.ts.map +0 -1
- package/dist/utils/servicenow-id-generator.js +0 -172
- package/dist/utils/servicenow-id-generator.js.map +0 -1
- package/dist/utils/smart-field-fetcher.d.ts +0 -72
- package/dist/utils/smart-field-fetcher.d.ts.map +0 -1
- package/dist/utils/smart-field-fetcher.js +0 -521
- package/dist/utils/smart-field-fetcher.js.map +0 -1
- package/dist/utils/snow-memory-manager.d.ts +0 -78
- package/dist/utils/snow-memory-manager.d.ts.map +0 -1
- package/dist/utils/snow-memory-manager.js +0 -530
- package/dist/utils/snow-memory-manager.js.map +0 -1
- package/dist/utils/snow-oauth.d.ts +0 -120
- package/dist/utils/snow-oauth.d.ts.map +0 -1
- package/dist/utils/snow-oauth.js +0 -1033
- package/dist/utils/snow-oauth.js.map +0 -1
- package/dist/utils/snowcode-output-interceptor.d.ts +0 -40
- package/dist/utils/snowcode-output-interceptor.d.ts.map +0 -1
- package/dist/utils/snowcode-output-interceptor.js +0 -258
- package/dist/utils/snowcode-output-interceptor.js.map +0 -1
- package/dist/utils/sync-mcp-configs.d.ts +0 -28
- package/dist/utils/sync-mcp-configs.d.ts.map +0 -1
- package/dist/utils/sync-mcp-configs.js +0 -92
- package/dist/utils/sync-mcp-configs.js.map +0 -1
- package/dist/utils/template-engine.d.ts +0 -76
- package/dist/utils/template-engine.d.ts.map +0 -1
- package/dist/utils/template-engine.js +0 -391
- package/dist/utils/template-engine.js.map +0 -1
- package/dist/utils/theme-manager.d.ts +0 -54
- package/dist/utils/theme-manager.d.ts.map +0 -1
- package/dist/utils/theme-manager.js +0 -214
- package/dist/utils/theme-manager.js.map +0 -1
- package/dist/utils/timeout-manager.d.ts +0 -62
- package/dist/utils/timeout-manager.d.ts.map +0 -1
- package/dist/utils/timeout-manager.js +0 -352
- package/dist/utils/timeout-manager.js.map +0 -1
- package/dist/utils/timer-registry.d.ts +0 -138
- package/dist/utils/timer-registry.d.ts.map +0 -1
- package/dist/utils/timer-registry.js +0 -286
- package/dist/utils/timer-registry.js.map +0 -1
- package/dist/utils/todo-manager-mcp.d.ts +0 -87
- package/dist/utils/todo-manager-mcp.d.ts.map +0 -1
- package/dist/utils/todo-manager-mcp.js +0 -211
- package/dist/utils/todo-manager-mcp.js.map +0 -1
- package/dist/utils/unified-auth-store.d.ts +0 -55
- package/dist/utils/unified-auth-store.d.ts.map +0 -1
- package/dist/utils/unified-auth-store.js +0 -194
- package/dist/utils/unified-auth-store.js.map +0 -1
- package/dist/utils/update-set-importer.d.ts +0 -72
- package/dist/utils/update-set-importer.d.ts.map +0 -1
- package/dist/utils/update-set-importer.js +0 -370
- package/dist/utils/update-set-importer.js.map +0 -1
- package/dist/utils/update-set-xml-packager.d.ts +0 -85
- package/dist/utils/update-set-xml-packager.d.ts.map +0 -1
- package/dist/utils/update-set-xml-packager.js +0 -340
- package/dist/utils/update-set-xml-packager.js.map +0 -1
- package/dist/utils/widget-template-generator.d.ts +0 -110
- package/dist/utils/widget-template-generator.d.ts.map +0 -1
- package/dist/utils/widget-template-generator.js +0 -1760
- package/dist/utils/widget-template-generator.js.map +0 -1
- package/dist/version.d.ts +0 -2
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js +0 -6
- package/dist/version.js.map +0 -1
- package/patches/zod+4.1.12.patch +0 -13
|
@@ -1,3296 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
/**
|
|
4
|
-
* ServiceNow Operations MCP Server
|
|
5
|
-
*
|
|
6
|
-
* Handles operational data queries, incident management, and intelligent analysis
|
|
7
|
-
* Features:
|
|
8
|
-
* - Incident, Request, Problem, Change management
|
|
9
|
-
* - CMDB and User management
|
|
10
|
-
* - Intelligent incident _analysis and auto-resolution
|
|
11
|
-
* - Pattern recognition and root cause analysis
|
|
12
|
-
* - Knowledge base integration
|
|
13
|
-
* - Predictive analytics
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ServiceNowOperationsMCP = void 0;
|
|
17
|
-
const index_js_1 = require("@modelcontextprotocol/sdk/server/index.js");
|
|
18
|
-
const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
19
|
-
const types_js_1 = require("@modelcontextprotocol/sdk/types.js");
|
|
20
|
-
const servicenow_client_js_1 = require("../utils/servicenow-client.js");
|
|
21
|
-
const mcp_logger_js_1 = require("./shared/mcp-logger.js");
|
|
22
|
-
// Operational table mappings for ServiceNow
|
|
23
|
-
const operationalTableMapping = {
|
|
24
|
-
// ITIL Core Processes
|
|
25
|
-
incident: 'incident',
|
|
26
|
-
request: 'sc_request',
|
|
27
|
-
request_item: 'sc_req_item',
|
|
28
|
-
problem: 'problem',
|
|
29
|
-
change_request: 'change_request',
|
|
30
|
-
// Service Catalog
|
|
31
|
-
catalog: 'sc_catalog',
|
|
32
|
-
catalog_item: 'sc_cat_item',
|
|
33
|
-
catalog_category: 'sc_category',
|
|
34
|
-
catalog_variable: 'item_option_new',
|
|
35
|
-
catalog_variable_set: 'io_set_item',
|
|
36
|
-
catalog_ui_policy: 'catalog_ui_policy',
|
|
37
|
-
catalog_client_script: 'catalog_script_client',
|
|
38
|
-
catalog_template: 'sc_template',
|
|
39
|
-
// Task Management
|
|
40
|
-
task: 'task',
|
|
41
|
-
incident_task: 'incident_task',
|
|
42
|
-
problem_task: 'problem_task',
|
|
43
|
-
change_task: 'change_task',
|
|
44
|
-
approval: 'sysapproval_approver',
|
|
45
|
-
// User & Group Management
|
|
46
|
-
user: 'sys_user',
|
|
47
|
-
user_group: 'sys_user_group',
|
|
48
|
-
user_role: 'sys_user_has_role',
|
|
49
|
-
// CMDB (Configuration Management Database)
|
|
50
|
-
configuration_item: 'cmdb_ci',
|
|
51
|
-
server: 'cmdb_ci_server',
|
|
52
|
-
application: 'cmdb_ci_application',
|
|
53
|
-
database: 'cmdb_ci_database',
|
|
54
|
-
network_device: 'cmdb_ci_network_device',
|
|
55
|
-
service: 'cmdb_ci_service',
|
|
56
|
-
// Logging & Audit
|
|
57
|
-
system_log: 'syslog',
|
|
58
|
-
audit_log: 'sys_audit',
|
|
59
|
-
email: 'sys_email',
|
|
60
|
-
attachment: 'sys_attachment',
|
|
61
|
-
// Knowledge Management
|
|
62
|
-
knowledge_base: 'kb_knowledge_base',
|
|
63
|
-
knowledge: 'kb_knowledge',
|
|
64
|
-
// Metrics & Analytics
|
|
65
|
-
metric: 'sys_metric',
|
|
66
|
-
metric_instance: 'sys_metric_instance',
|
|
67
|
-
// Notifications
|
|
68
|
-
notification: 'sysevent_email_action',
|
|
69
|
-
email_log: 'sys_email'
|
|
70
|
-
};
|
|
71
|
-
// Common operational queries for intelligent analysis
|
|
72
|
-
const commonPatterns = {
|
|
73
|
-
// Network connectivity issues
|
|
74
|
-
network_issues: {
|
|
75
|
-
keywords: ['network', 'connectivity', 'ping', 'dns', 'timeout', 'unreachable'],
|
|
76
|
-
common_solutions: [
|
|
77
|
-
'Check network connectivity',
|
|
78
|
-
'Verify DNS resolution',
|
|
79
|
-
'Test ping to server',
|
|
80
|
-
'Review firewall rules'
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
// Database connectivity
|
|
84
|
-
database_issues: {
|
|
85
|
-
keywords: ['database', 'connection', 'sql', 'timeout', 'deadlock', 'performance'],
|
|
86
|
-
common_solutions: [
|
|
87
|
-
'Check database connection',
|
|
88
|
-
'Review connection pool settings',
|
|
89
|
-
'Analyze query performance',
|
|
90
|
-
'Check for blocking processes'
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
// Application errors
|
|
94
|
-
application_errors: {
|
|
95
|
-
keywords: ['application', 'error', 'exception', 'crash', 'memory', 'cpu'],
|
|
96
|
-
common_solutions: [
|
|
97
|
-
'Check application logs',
|
|
98
|
-
'Review memory usage',
|
|
99
|
-
'Analyze CPU utilization',
|
|
100
|
-
'Restart application service'
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
// Authentication issues
|
|
104
|
-
auth_issues: {
|
|
105
|
-
keywords: ['authentication', 'login', 'password', 'ldap', 'sso', 'unauthorized'],
|
|
106
|
-
common_solutions: [
|
|
107
|
-
'Reset user password',
|
|
108
|
-
'Check LDAP connectivity',
|
|
109
|
-
'Verify SSO configuration',
|
|
110
|
-
'Review user permissions'
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
class ServiceNowOperationsMCP {
|
|
115
|
-
constructor() {
|
|
116
|
-
this.server = new index_js_1.Server({
|
|
117
|
-
name: 'servicenow-operations-mcp',
|
|
118
|
-
version: '1.0.0',
|
|
119
|
-
}, {
|
|
120
|
-
capabilities: {
|
|
121
|
-
tools: {},
|
|
122
|
-
},
|
|
123
|
-
});
|
|
124
|
-
this.client = new servicenow_client_js_1.ServiceNowClient();
|
|
125
|
-
this.logger = new mcp_logger_js_1.MCPLogger('ServiceNowOperationsMCP');
|
|
126
|
-
this.setupToolHandlers();
|
|
127
|
-
}
|
|
128
|
-
setupToolHandlers() {
|
|
129
|
-
// List available tools
|
|
130
|
-
this.server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => {
|
|
131
|
-
return {
|
|
132
|
-
tools: [
|
|
133
|
-
// 🎯 UNIVERSAL TABLE QUERY - Works for ANY ServiceNow table!
|
|
134
|
-
{
|
|
135
|
-
name: 'snow_query_table',
|
|
136
|
-
description: 'Universal query tool for any ServiceNow table. SMART ANALYTICS: OMIT limit for ALL records with minimal fields. For display use limit:50. For counting use include_content:false. See CLAUDE.md for optimal query patterns.',
|
|
137
|
-
inputSchema: {
|
|
138
|
-
type: 'object',
|
|
139
|
-
properties: {
|
|
140
|
-
table: {
|
|
141
|
-
type: 'string',
|
|
142
|
-
description: 'ServiceNow table name (e.g., incident, sc_request, problem, task, change_request, u_custom_table)',
|
|
143
|
-
examples: ['incident', 'sc_request', 'sc_req_item', 'problem', 'change_request', 'task', 'cmdb_ci']
|
|
144
|
-
},
|
|
145
|
-
query: {
|
|
146
|
-
type: 'string',
|
|
147
|
-
description: 'ServiceNow encoded query or natural language description'
|
|
148
|
-
},
|
|
149
|
-
limit: {
|
|
150
|
-
type: 'number',
|
|
151
|
-
description: 'Maximum records to return. OMIT for analytics (gets ALL records). Use 10-50 for display, 5000+ for ML training. No default - system auto-detects best approach.',
|
|
152
|
-
examples: [50, 1000, 5000]
|
|
153
|
-
},
|
|
154
|
-
include_content: {
|
|
155
|
-
type: 'boolean',
|
|
156
|
-
description: 'Include full record data. Default false for performance, returns count only. Set true for detailed results.',
|
|
157
|
-
default: false
|
|
158
|
-
},
|
|
159
|
-
fields: {
|
|
160
|
-
type: 'array',
|
|
161
|
-
items: { type: 'string' },
|
|
162
|
-
description: 'Specific fields to return (automatically sets include_content=true). Examples: ["number", "short_description", "state"]'
|
|
163
|
-
},
|
|
164
|
-
include_display_values: {
|
|
165
|
-
type: 'boolean',
|
|
166
|
-
description: 'Include display values for reference fields (e.g., show user names instead of sys_ids)',
|
|
167
|
-
default: false
|
|
168
|
-
},
|
|
169
|
-
group_by: {
|
|
170
|
-
type: 'string',
|
|
171
|
-
description: 'Field to group results by (returns counts per group)'
|
|
172
|
-
},
|
|
173
|
-
order_by: {
|
|
174
|
-
type: 'string',
|
|
175
|
-
description: 'Field to sort by (prefix with - for descending)',
|
|
176
|
-
examples: ['created_on', '-priority', 'number']
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
required: ['table', 'query']
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
// Core Operational Queries (keeping for backwards compatibility)
|
|
183
|
-
{
|
|
184
|
-
name: 'snow_query_incidents',
|
|
185
|
-
description: 'Query incidents with advanced filtering and analysis capabilities. Optimized for performance with optional content inclusion.',
|
|
186
|
-
inputSchema: {
|
|
187
|
-
type: 'object',
|
|
188
|
-
properties: {
|
|
189
|
-
query: {
|
|
190
|
-
type: 'string',
|
|
191
|
-
description: 'ServiceNow encoded query or natural language description'
|
|
192
|
-
},
|
|
193
|
-
limit: {
|
|
194
|
-
type: 'number',
|
|
195
|
-
description: 'Maximum number of results (default: 10)',
|
|
196
|
-
default: 10
|
|
197
|
-
},
|
|
198
|
-
include_content: {
|
|
199
|
-
type: 'boolean',
|
|
200
|
-
description: 'Include full incident data. Default false for performance, returns count only.',
|
|
201
|
-
default: false
|
|
202
|
-
},
|
|
203
|
-
include__analysis: {
|
|
204
|
-
type: 'boolean',
|
|
205
|
-
description: 'Include intelligent _analysis of incidents (requires include_content=true)',
|
|
206
|
-
default: false
|
|
207
|
-
},
|
|
208
|
-
fields: {
|
|
209
|
-
type: 'array',
|
|
210
|
-
items: { type: 'string' },
|
|
211
|
-
description: 'Specific fields to return (automatically sets include_content=true)'
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
required: ['query']
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
name: 'snow_analyze_incident',
|
|
219
|
-
description: 'Analyzes specific incidents with pattern recognition, similar incident matching, and automated resolution suggestions.',
|
|
220
|
-
inputSchema: {
|
|
221
|
-
type: 'object',
|
|
222
|
-
properties: {
|
|
223
|
-
incident_id: {
|
|
224
|
-
type: 'string',
|
|
225
|
-
description: 'Incident number or sys_id'
|
|
226
|
-
},
|
|
227
|
-
include_similar: {
|
|
228
|
-
type: 'boolean',
|
|
229
|
-
description: 'Include similar incidents in _analysis',
|
|
230
|
-
default: true
|
|
231
|
-
},
|
|
232
|
-
suggest_resolution: {
|
|
233
|
-
type: 'boolean',
|
|
234
|
-
description: 'Generate automated resolution suggestions',
|
|
235
|
-
default: true
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
required: ['incident_id']
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
name: 'snow_auto_resolve_incident',
|
|
243
|
-
description: 'Attempts automated resolution of technical incidents based on known patterns and previous solutions. Includes dry-run mode for safety.',
|
|
244
|
-
inputSchema: {
|
|
245
|
-
type: 'object',
|
|
246
|
-
properties: {
|
|
247
|
-
incident_id: {
|
|
248
|
-
type: 'string',
|
|
249
|
-
description: 'Incident number or sys_id'
|
|
250
|
-
},
|
|
251
|
-
dry_run: {
|
|
252
|
-
type: 'boolean',
|
|
253
|
-
description: 'Preview actions without executing',
|
|
254
|
-
default: true
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
required: ['incident_id']
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
name: 'snow_query_requests',
|
|
262
|
-
description: 'Queries service requests with optional inclusion of request items and fulfillment details.',
|
|
263
|
-
inputSchema: {
|
|
264
|
-
type: 'object',
|
|
265
|
-
properties: {
|
|
266
|
-
query: {
|
|
267
|
-
type: 'string',
|
|
268
|
-
description: 'ServiceNow encoded query or natural language'
|
|
269
|
-
},
|
|
270
|
-
limit: {
|
|
271
|
-
type: 'number',
|
|
272
|
-
description: 'Maximum number of results',
|
|
273
|
-
default: 10
|
|
274
|
-
},
|
|
275
|
-
include_items: {
|
|
276
|
-
type: 'boolean',
|
|
277
|
-
description: 'Include request items',
|
|
278
|
-
default: false
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
required: ['query']
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
name: 'snow_query_problems',
|
|
286
|
-
description: 'Queries problem records with root cause analysis and optional inclusion of related incidents.',
|
|
287
|
-
inputSchema: {
|
|
288
|
-
type: 'object',
|
|
289
|
-
properties: {
|
|
290
|
-
query: {
|
|
291
|
-
type: 'string',
|
|
292
|
-
description: 'ServiceNow encoded query or natural language'
|
|
293
|
-
},
|
|
294
|
-
limit: {
|
|
295
|
-
type: 'number',
|
|
296
|
-
description: 'Maximum number of results',
|
|
297
|
-
default: 10
|
|
298
|
-
},
|
|
299
|
-
include_incidents: {
|
|
300
|
-
type: 'boolean',
|
|
301
|
-
description: 'Include related incidents',
|
|
302
|
-
default: false
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
required: ['query']
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
name: 'snow_cmdb_search',
|
|
310
|
-
description: 'Searches Configuration Management Database (CMDB) for configuration items with relationship mapping.',
|
|
311
|
-
inputSchema: {
|
|
312
|
-
type: 'object',
|
|
313
|
-
properties: {
|
|
314
|
-
query: {
|
|
315
|
-
type: 'string',
|
|
316
|
-
description: 'Search query for configuration items'
|
|
317
|
-
},
|
|
318
|
-
ci_type: {
|
|
319
|
-
type: 'string',
|
|
320
|
-
description: 'Type of CI (server, application, service, etc.)',
|
|
321
|
-
enum: ['server', 'application', 'database', 'network_device', 'service', 'any']
|
|
322
|
-
},
|
|
323
|
-
limit: {
|
|
324
|
-
type: 'number',
|
|
325
|
-
description: 'Maximum number of results',
|
|
326
|
-
default: 10
|
|
327
|
-
},
|
|
328
|
-
include_relationships: {
|
|
329
|
-
type: 'boolean',
|
|
330
|
-
description: 'Include CI relationships',
|
|
331
|
-
default: false
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
required: ['query']
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
name: 'snow_user_lookup',
|
|
339
|
-
description: 'Retrieves user information including roles, groups, and permissions. Supports lookup by ID, email, or name.',
|
|
340
|
-
inputSchema: {
|
|
341
|
-
type: 'object',
|
|
342
|
-
properties: {
|
|
343
|
-
identifier: {
|
|
344
|
-
type: 'string',
|
|
345
|
-
description: 'User ID, email, or name'
|
|
346
|
-
},
|
|
347
|
-
include_roles: {
|
|
348
|
-
type: 'boolean',
|
|
349
|
-
description: 'Include user roles',
|
|
350
|
-
default: true
|
|
351
|
-
},
|
|
352
|
-
include_groups: {
|
|
353
|
-
type: 'boolean',
|
|
354
|
-
description: 'Include user groups',
|
|
355
|
-
default: true
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
required: ['identifier']
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
name: 'snow_operational_metrics',
|
|
363
|
-
description: 'Provides operational metrics and analytics including incident trends, resolution times, and performance indicators.',
|
|
364
|
-
inputSchema: {
|
|
365
|
-
type: 'object',
|
|
366
|
-
properties: {
|
|
367
|
-
timeframe: {
|
|
368
|
-
type: 'string',
|
|
369
|
-
description: 'Time period for metrics',
|
|
370
|
-
enum: ['today', 'week', 'month', 'quarter'],
|
|
371
|
-
default: 'week'
|
|
372
|
-
},
|
|
373
|
-
metric_types: {
|
|
374
|
-
type: 'array',
|
|
375
|
-
items: { type: 'string' },
|
|
376
|
-
description: 'Types of metrics to include'
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
name: 'snow_pattern__analysis',
|
|
383
|
-
description: 'Analyzes patterns across incidents, requests, and problems to identify trends, common issues, and improvement opportunities.',
|
|
384
|
-
inputSchema: {
|
|
385
|
-
type: 'object',
|
|
386
|
-
properties: {
|
|
387
|
-
analysis_type: {
|
|
388
|
-
type: 'string',
|
|
389
|
-
description: 'Type of pattern _analysis',
|
|
390
|
-
enum: ['incident_patterns', 'request_trends', 'problem_root_causes', 'user_behavior']
|
|
391
|
-
},
|
|
392
|
-
timeframe: {
|
|
393
|
-
type: 'string',
|
|
394
|
-
description: 'Time period for _analysis',
|
|
395
|
-
enum: ['day', 'week', 'month', 'quarter'],
|
|
396
|
-
default: 'week'
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
required: ['analysis_type']
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
name: 'snow_knowledge_search',
|
|
404
|
-
description: 'Searches knowledge base articles using intelligent matching algorithms. Links articles to incidents for resolution guidance.',
|
|
405
|
-
inputSchema: {
|
|
406
|
-
type: 'object',
|
|
407
|
-
properties: {
|
|
408
|
-
query: {
|
|
409
|
-
type: 'string',
|
|
410
|
-
description: 'Search query or incident description'
|
|
411
|
-
},
|
|
412
|
-
match_incident: {
|
|
413
|
-
type: 'string',
|
|
414
|
-
description: 'Match knowledge to specific incident'
|
|
415
|
-
},
|
|
416
|
-
limit: {
|
|
417
|
-
type: 'number',
|
|
418
|
-
description: 'Maximum number of results',
|
|
419
|
-
default: 5
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
required: ['query']
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
name: 'snow_predictive__analysis',
|
|
427
|
-
description: 'Provides predictive analysis for incident volumes, system failures, and resource issues based on historical patterns.',
|
|
428
|
-
inputSchema: {
|
|
429
|
-
type: 'object',
|
|
430
|
-
properties: {
|
|
431
|
-
prediction_type: {
|
|
432
|
-
type: 'string',
|
|
433
|
-
description: 'Type of prediction',
|
|
434
|
-
enum: ['incident_volume', 'system_failure', 'resource_exhaustion', 'user_impact']
|
|
435
|
-
},
|
|
436
|
-
timeframe: {
|
|
437
|
-
type: 'string',
|
|
438
|
-
description: 'Prediction timeframe',
|
|
439
|
-
enum: ['day', 'week', 'month'],
|
|
440
|
-
default: 'week'
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
required: ['prediction_type']
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
// Service Catalog Management
|
|
447
|
-
{
|
|
448
|
-
name: 'snow_catalog_item_manager',
|
|
449
|
-
description: 'Comprehensive service catalog management including item creation, variable configuration, workflow attachment, and lifecycle management.',
|
|
450
|
-
inputSchema: {
|
|
451
|
-
type: 'object',
|
|
452
|
-
properties: {
|
|
453
|
-
action: {
|
|
454
|
-
type: 'string',
|
|
455
|
-
description: 'Action to perform',
|
|
456
|
-
enum: ['create', 'update', 'list', 'get', 'add_variable', 'set_workflow', 'publish', 'retire']
|
|
457
|
-
},
|
|
458
|
-
catalog_id: {
|
|
459
|
-
type: 'string',
|
|
460
|
-
description: 'Catalog sys_id (for create action)'
|
|
461
|
-
},
|
|
462
|
-
category_id: {
|
|
463
|
-
type: 'string',
|
|
464
|
-
description: 'Category sys_id'
|
|
465
|
-
},
|
|
466
|
-
item_id: {
|
|
467
|
-
type: 'string',
|
|
468
|
-
description: 'Catalog item sys_id (for update/get actions)'
|
|
469
|
-
},
|
|
470
|
-
name: {
|
|
471
|
-
type: 'string',
|
|
472
|
-
description: 'Catalog item name'
|
|
473
|
-
},
|
|
474
|
-
short_description: {
|
|
475
|
-
type: 'string',
|
|
476
|
-
description: 'Short description'
|
|
477
|
-
},
|
|
478
|
-
description: {
|
|
479
|
-
type: 'string',
|
|
480
|
-
description: 'Full description'
|
|
481
|
-
},
|
|
482
|
-
price: {
|
|
483
|
-
type: 'string',
|
|
484
|
-
description: 'Item price (e.g., "100.00")'
|
|
485
|
-
},
|
|
486
|
-
recurring_price: {
|
|
487
|
-
type: 'string',
|
|
488
|
-
description: 'Recurring price if applicable'
|
|
489
|
-
},
|
|
490
|
-
picture: {
|
|
491
|
-
type: 'string',
|
|
492
|
-
description: 'Picture attachment sys_id'
|
|
493
|
-
},
|
|
494
|
-
workflow: {
|
|
495
|
-
type: 'string',
|
|
496
|
-
description: 'Workflow to attach'
|
|
497
|
-
},
|
|
498
|
-
variable_set: {
|
|
499
|
-
type: 'string',
|
|
500
|
-
description: 'Variable set sys_id to attach'
|
|
501
|
-
},
|
|
502
|
-
variables: {
|
|
503
|
-
type: 'array',
|
|
504
|
-
description: 'Variables to add',
|
|
505
|
-
items: {
|
|
506
|
-
type: 'object',
|
|
507
|
-
properties: {
|
|
508
|
-
name: { type: 'string' },
|
|
509
|
-
label: { type: 'string' },
|
|
510
|
-
type: {
|
|
511
|
-
type: 'string',
|
|
512
|
-
enum: ['single_line_text', 'multi_line_text', 'select_box', 'checkbox', 'reference', 'date', 'datetime']
|
|
513
|
-
},
|
|
514
|
-
mandatory: { type: 'boolean' },
|
|
515
|
-
default_value: { type: 'string' },
|
|
516
|
-
choices: { type: 'array', items: { type: 'string' } }
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
|
-
active: {
|
|
521
|
-
type: 'boolean',
|
|
522
|
-
description: 'Whether the item is active',
|
|
523
|
-
default: true
|
|
524
|
-
},
|
|
525
|
-
billable: {
|
|
526
|
-
type: 'boolean',
|
|
527
|
-
description: 'Whether the item is billable',
|
|
528
|
-
default: false
|
|
529
|
-
},
|
|
530
|
-
sc_catalogs: {
|
|
531
|
-
type: 'string',
|
|
532
|
-
description: 'Comma-separated catalog sys_ids'
|
|
533
|
-
},
|
|
534
|
-
sc_categories: {
|
|
535
|
-
type: 'string',
|
|
536
|
-
description: 'Comma-separated category sys_ids'
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
required: ['action']
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
name: 'snow_catalog_item_search',
|
|
544
|
-
description: 'Searches service catalog items with fuzzy matching and category filtering. Returns items with full variable and pricing details.',
|
|
545
|
-
inputSchema: {
|
|
546
|
-
type: 'object',
|
|
547
|
-
properties: {
|
|
548
|
-
query: {
|
|
549
|
-
type: 'string',
|
|
550
|
-
description: 'Search query (e.g., "iPhone", "laptop", "mobile device")'
|
|
551
|
-
},
|
|
552
|
-
include_inactive: {
|
|
553
|
-
type: 'boolean',
|
|
554
|
-
description: 'Include inactive catalog items',
|
|
555
|
-
default: false
|
|
556
|
-
},
|
|
557
|
-
fuzzy_match: {
|
|
558
|
-
type: 'boolean',
|
|
559
|
-
description: 'Enable fuzzy matching for similar items',
|
|
560
|
-
default: true
|
|
561
|
-
},
|
|
562
|
-
category_filter: {
|
|
563
|
-
type: 'string',
|
|
564
|
-
description: 'Filter by category name or sys_id'
|
|
565
|
-
},
|
|
566
|
-
limit: {
|
|
567
|
-
type: 'number',
|
|
568
|
-
description: 'Maximum results to return',
|
|
569
|
-
default: 50
|
|
570
|
-
},
|
|
571
|
-
include_variables: {
|
|
572
|
-
type: 'boolean',
|
|
573
|
-
description: 'Include catalog item variables in results',
|
|
574
|
-
default: false
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
required: ['query']
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
name: 'snow_cleanup_test_artifacts',
|
|
582
|
-
description: 'Removes test artifacts (Test*, Mock*, Demo*) from ServiceNow while preserving Update Set history for audit compliance.',
|
|
583
|
-
inputSchema: {
|
|
584
|
-
type: 'object',
|
|
585
|
-
properties: {
|
|
586
|
-
artifact_types: {
|
|
587
|
-
type: 'array',
|
|
588
|
-
description: 'Types of artifacts to clean up',
|
|
589
|
-
items: {
|
|
590
|
-
type: 'string',
|
|
591
|
-
enum: ['catalog_items', 'flows', 'users', 'requests', 'all']
|
|
592
|
-
},
|
|
593
|
-
default: ['catalog_items', 'flows', 'users']
|
|
594
|
-
},
|
|
595
|
-
test_patterns: {
|
|
596
|
-
type: 'array',
|
|
597
|
-
description: 'Name patterns that identify test artifacts',
|
|
598
|
-
items: { type: 'string' },
|
|
599
|
-
default: ['Test%', 'Mock%', 'Demo%', '%_test_%', '%test', '%mock']
|
|
600
|
-
},
|
|
601
|
-
max_age_hours: {
|
|
602
|
-
type: 'number',
|
|
603
|
-
description: 'Only clean artifacts older than this (hours)',
|
|
604
|
-
default: 1
|
|
605
|
-
},
|
|
606
|
-
dry_run: {
|
|
607
|
-
type: 'boolean',
|
|
608
|
-
description: 'Preview what would be deleted without actually deleting',
|
|
609
|
-
default: false
|
|
610
|
-
},
|
|
611
|
-
preserve_update_set_entries: {
|
|
612
|
-
type: 'boolean',
|
|
613
|
-
description: 'Keep Update Set entries as audit trail',
|
|
614
|
-
default: true
|
|
615
|
-
},
|
|
616
|
-
update_set_filter: {
|
|
617
|
-
type: 'string',
|
|
618
|
-
description: 'Only clean from specific Update Set (optional)'
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
// User and Group Management Tools
|
|
624
|
-
{
|
|
625
|
-
name: 'snow_create_user_group',
|
|
626
|
-
description: 'Creates user groups in ServiceNow with configurable hierarchy, managers, and types for access control and assignment management.',
|
|
627
|
-
inputSchema: {
|
|
628
|
-
type: 'object',
|
|
629
|
-
properties: {
|
|
630
|
-
name: {
|
|
631
|
-
type: 'string',
|
|
632
|
-
description: 'Group name (e.g., "Need Approval")'
|
|
633
|
-
},
|
|
634
|
-
description: {
|
|
635
|
-
type: 'string',
|
|
636
|
-
description: 'Group description'
|
|
637
|
-
},
|
|
638
|
-
email: {
|
|
639
|
-
type: 'string',
|
|
640
|
-
description: 'Group email address (optional)'
|
|
641
|
-
},
|
|
642
|
-
manager: {
|
|
643
|
-
type: 'string',
|
|
644
|
-
description: 'Group manager sys_id or user_name (optional)'
|
|
645
|
-
},
|
|
646
|
-
parent: {
|
|
647
|
-
type: 'string',
|
|
648
|
-
description: 'Parent group sys_id (optional)'
|
|
649
|
-
},
|
|
650
|
-
type: {
|
|
651
|
-
type: 'string',
|
|
652
|
-
description: 'Group type (optional)',
|
|
653
|
-
enum: ['', 'catalog', 'change', 'incident', 'problem', 'request']
|
|
654
|
-
},
|
|
655
|
-
active: {
|
|
656
|
-
type: 'boolean',
|
|
657
|
-
description: 'Is group active',
|
|
658
|
-
default: true
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
|
-
required: ['name']
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
name: 'snow_create_user',
|
|
666
|
-
description: 'Creates new users in ServiceNow with complete profile information including department, manager, and initial credentials.',
|
|
667
|
-
inputSchema: {
|
|
668
|
-
type: 'object',
|
|
669
|
-
properties: {
|
|
670
|
-
user_name: {
|
|
671
|
-
type: 'string',
|
|
672
|
-
description: 'Unique username for login'
|
|
673
|
-
},
|
|
674
|
-
first_name: {
|
|
675
|
-
type: 'string',
|
|
676
|
-
description: 'User first name'
|
|
677
|
-
},
|
|
678
|
-
last_name: {
|
|
679
|
-
type: 'string',
|
|
680
|
-
description: 'User last name'
|
|
681
|
-
},
|
|
682
|
-
email: {
|
|
683
|
-
type: 'string',
|
|
684
|
-
description: 'User email address'
|
|
685
|
-
},
|
|
686
|
-
department: {
|
|
687
|
-
type: 'string',
|
|
688
|
-
description: 'Department name or sys_id (optional)'
|
|
689
|
-
},
|
|
690
|
-
manager: {
|
|
691
|
-
type: 'string',
|
|
692
|
-
description: 'Manager sys_id or user_name (optional)'
|
|
693
|
-
},
|
|
694
|
-
phone: {
|
|
695
|
-
type: 'string',
|
|
696
|
-
description: 'Phone number (optional)'
|
|
697
|
-
},
|
|
698
|
-
title: {
|
|
699
|
-
type: 'string',
|
|
700
|
-
description: 'Job title (optional)'
|
|
701
|
-
},
|
|
702
|
-
location: {
|
|
703
|
-
type: 'string',
|
|
704
|
-
description: 'Location name or sys_id (optional)'
|
|
705
|
-
},
|
|
706
|
-
active: {
|
|
707
|
-
type: 'boolean',
|
|
708
|
-
description: 'Is user active',
|
|
709
|
-
default: true
|
|
710
|
-
},
|
|
711
|
-
password: {
|
|
712
|
-
type: 'string',
|
|
713
|
-
description: 'Initial password (will require change on first login)'
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
required: ['user_name', 'first_name', 'last_name', 'email']
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
name: 'snow_assign_user_to_group',
|
|
721
|
-
description: 'Assigns users to groups for role-based access control and workflow assignments. Supports lookup by sys_id or username.',
|
|
722
|
-
inputSchema: {
|
|
723
|
-
type: 'object',
|
|
724
|
-
properties: {
|
|
725
|
-
user: {
|
|
726
|
-
type: 'string',
|
|
727
|
-
description: 'User sys_id or user_name'
|
|
728
|
-
},
|
|
729
|
-
group: {
|
|
730
|
-
type: 'string',
|
|
731
|
-
description: 'Group sys_id or name'
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
required: ['user', 'group']
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
name: 'snow_remove_user_from_group',
|
|
739
|
-
description: 'Removes users from groups to revoke access and update role assignments. Maintains audit trail of membership changes.',
|
|
740
|
-
inputSchema: {
|
|
741
|
-
type: 'object',
|
|
742
|
-
properties: {
|
|
743
|
-
user: {
|
|
744
|
-
type: 'string',
|
|
745
|
-
description: 'User sys_id or user_name'
|
|
746
|
-
},
|
|
747
|
-
group: {
|
|
748
|
-
type: 'string',
|
|
749
|
-
description: 'Group sys_id or name'
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
required: ['user', 'group']
|
|
753
|
-
}
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
name: 'snow_list_group_members',
|
|
757
|
-
description: 'Lists all members of a specified group with filtering for active/inactive users. Returns user details and roles.',
|
|
758
|
-
inputSchema: {
|
|
759
|
-
type: 'object',
|
|
760
|
-
properties: {
|
|
761
|
-
group: {
|
|
762
|
-
type: 'string',
|
|
763
|
-
description: 'Group sys_id or name'
|
|
764
|
-
},
|
|
765
|
-
active_only: {
|
|
766
|
-
type: 'boolean',
|
|
767
|
-
description: 'Only show active users',
|
|
768
|
-
default: true
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
required: ['group']
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
};
|
|
776
|
-
});
|
|
777
|
-
// Handle tool calls
|
|
778
|
-
this.server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
779
|
-
const { name, arguments: args } = request.params;
|
|
780
|
-
try {
|
|
781
|
-
// Start operation with token tracking
|
|
782
|
-
this.logger.operationStart(name, args);
|
|
783
|
-
let result;
|
|
784
|
-
switch (name) {
|
|
785
|
-
case 'snow_query_table':
|
|
786
|
-
result = await this.handleUniversalQuery(args);
|
|
787
|
-
break;
|
|
788
|
-
case 'snow_query_incidents':
|
|
789
|
-
result = await this.handleQueryIncidents(args);
|
|
790
|
-
break;
|
|
791
|
-
case 'snow_analyze_incident':
|
|
792
|
-
result = await this.handleAnalyzeIncident(args);
|
|
793
|
-
break;
|
|
794
|
-
case 'snow_auto_resolve_incident':
|
|
795
|
-
result = await this.handleAutoResolveIncident(args);
|
|
796
|
-
break;
|
|
797
|
-
case 'snow_query_requests':
|
|
798
|
-
result = await this.handleQueryRequests(args);
|
|
799
|
-
break;
|
|
800
|
-
case 'snow_query_problems':
|
|
801
|
-
result = await this.handleQueryProblems(args);
|
|
802
|
-
break;
|
|
803
|
-
case 'snow_cmdb_search':
|
|
804
|
-
result = await this.handleCMDBSearch(args);
|
|
805
|
-
break;
|
|
806
|
-
case 'snow_user_lookup':
|
|
807
|
-
result = await this.handleUserLookup(args);
|
|
808
|
-
break;
|
|
809
|
-
case 'snow_operational_metrics':
|
|
810
|
-
result = await this.handleOperationalMetrics(args);
|
|
811
|
-
break;
|
|
812
|
-
case 'snow_pattern__analysis':
|
|
813
|
-
result = await this.handlePatternAnalysis(args);
|
|
814
|
-
break;
|
|
815
|
-
case 'snow_knowledge_search':
|
|
816
|
-
result = await this.handleKnowledgeSearch(args);
|
|
817
|
-
break;
|
|
818
|
-
case 'snow_predictive__analysis':
|
|
819
|
-
result = await this.handlePredictiveAnalysis(args);
|
|
820
|
-
break;
|
|
821
|
-
case 'snow_catalog_item_manager':
|
|
822
|
-
result = await this.handleCatalogItemManager(args);
|
|
823
|
-
break;
|
|
824
|
-
case 'snow_catalog_item_search':
|
|
825
|
-
result = await this.handleCatalogItemSearch(args);
|
|
826
|
-
break;
|
|
827
|
-
case 'snow_cleanup_test_artifacts':
|
|
828
|
-
result = await this.handleCleanupTestArtifacts(args);
|
|
829
|
-
break;
|
|
830
|
-
case 'snow_create_user_group':
|
|
831
|
-
result = await this.handleCreateUserGroup(args);
|
|
832
|
-
break;
|
|
833
|
-
case 'snow_create_user':
|
|
834
|
-
result = await this.handleCreateUser(args);
|
|
835
|
-
break;
|
|
836
|
-
case 'snow_assign_user_to_group':
|
|
837
|
-
result = await this.handleAssignUserToGroup(args);
|
|
838
|
-
break;
|
|
839
|
-
case 'snow_remove_user_from_group':
|
|
840
|
-
result = await this.handleRemoveUserFromGroup(args);
|
|
841
|
-
break;
|
|
842
|
-
case 'snow_list_group_members':
|
|
843
|
-
result = await this.handleListGroupMembers(args);
|
|
844
|
-
break;
|
|
845
|
-
default:
|
|
846
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.MethodNotFound, `Tool ${name} not found`);
|
|
847
|
-
}
|
|
848
|
-
// Complete operation with token tracking
|
|
849
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
850
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
851
|
-
this.logger.operationComplete(name, result);
|
|
852
|
-
// Add token usage to response
|
|
853
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
854
|
-
return result;
|
|
855
|
-
}
|
|
856
|
-
catch (error) {
|
|
857
|
-
this.logger.operationError(name, error);
|
|
858
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to execute ${name}: ${error}`);
|
|
859
|
-
}
|
|
860
|
-
});
|
|
861
|
-
}
|
|
862
|
-
async handleUniversalQuery(args) {
|
|
863
|
-
// 🧠 INTELLIGENT LIMIT STRATEGY - Think about the use case!
|
|
864
|
-
const determineSmartLimit = (providedLimit, table, query, includeContent, fields) => {
|
|
865
|
-
// User explicitly set limit - respect it
|
|
866
|
-
if (providedLimit !== undefined)
|
|
867
|
-
return providedLimit;
|
|
868
|
-
// 📊 ANALYTICS DETECTION - Need ALL data
|
|
869
|
-
const isAnalyticsContext = query?.toLowerCase().includes('analyz') ||
|
|
870
|
-
query?.toLowerCase().includes('trend') ||
|
|
871
|
-
query?.toLowerCase().includes('when') ||
|
|
872
|
-
query?.toLowerCase().includes('pattern') ||
|
|
873
|
-
query?.toLowerCase().includes('all') ||
|
|
874
|
-
query?.toLowerCase().includes('onboard') ||
|
|
875
|
-
(fields && fields.length <= 2); // Minimal fields = analytics
|
|
876
|
-
if (isAnalyticsContext) {
|
|
877
|
-
this.logger.info(`📊 Analytics context detected - NO LIMIT applied for complete analysis`);
|
|
878
|
-
return undefined; // No limit - get ALL records
|
|
879
|
-
}
|
|
880
|
-
// 🤖 ML Training context
|
|
881
|
-
const isMLContext = query?.toLowerCase().includes('train') ||
|
|
882
|
-
query?.toLowerCase().includes('ml') ||
|
|
883
|
-
table?.toLowerCase().includes('train');
|
|
884
|
-
if (isMLContext) {
|
|
885
|
-
this.logger.info(`🧠 ML context detected - using ML-optimized limit: 5000`);
|
|
886
|
-
return 5000; // ML training needs substantial data
|
|
887
|
-
}
|
|
888
|
-
// 📈 Count-only queries - efficient
|
|
889
|
-
if (!includeContent) {
|
|
890
|
-
this.logger.info(`📈 Count-only query - can handle large datasets efficiently`);
|
|
891
|
-
return 10000; // Count queries are very memory-efficient
|
|
892
|
-
}
|
|
893
|
-
// 🖥️ Display context - limited data needed
|
|
894
|
-
if (includeContent && fields && fields.length > 5) {
|
|
895
|
-
this.logger.info(`🖥️ Display context detected - limiting to viewable records`);
|
|
896
|
-
return 100; // Display queries need less data
|
|
897
|
-
}
|
|
898
|
-
// Default: moderate limit
|
|
899
|
-
this.logger.info(`⚠️ No specific context detected - using conservative limit. Consider specifying limit for your use case!`);
|
|
900
|
-
return 500; // Conservative default
|
|
901
|
-
};
|
|
902
|
-
const { table, query = '', include_content = false, fields, include_display_values = false, group_by, order_by, offset = 0 // ✅ NEW: Support pagination!
|
|
903
|
-
} = args;
|
|
904
|
-
// Validate table name
|
|
905
|
-
if (!table) {
|
|
906
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InvalidParams, 'Table name is required');
|
|
907
|
-
}
|
|
908
|
-
// Apply intelligent limit strategy
|
|
909
|
-
const limit = determineSmartLimit(args.limit, table, query, include_content || !!fields, fields);
|
|
910
|
-
// For analytics, we want NO limit at all
|
|
911
|
-
const effectiveLimit = limit === undefined ? 999999 : limit; // ServiceNow theoretical max (actual varies by instance)
|
|
912
|
-
// 🚨 ML Training Warning for low limits
|
|
913
|
-
const isMLTrainingContext = query?.toLowerCase().includes('train') ||
|
|
914
|
-
query?.toLowerCase().includes('ml') ||
|
|
915
|
-
args.limit !== undefined && args.limit < 1000;
|
|
916
|
-
if (isMLTrainingContext && limit < 1000) {
|
|
917
|
-
this.logger.warn(`⚠️ ML Training detected with low limit (${limit}). Consider setting limit=5000+ for better training data!`);
|
|
918
|
-
}
|
|
919
|
-
this.logger.info(`Universal query on table '${table}' with: ${query} (limit: ${limit === undefined ? 'UNLIMITED' : limit}, offset: ${offset}, include_content: ${include_content})`);
|
|
920
|
-
try {
|
|
921
|
-
// Convert natural language to ServiceNow query if needed
|
|
922
|
-
const processedQuery = this.processNaturalLanguageQuery(query || '', table);
|
|
923
|
-
// Build the query with CORRECT order_by syntax
|
|
924
|
-
let finalQuery = processedQuery;
|
|
925
|
-
if (order_by) {
|
|
926
|
-
// ✅ FIX: Use correct ServiceNow ordering syntax
|
|
927
|
-
const orderDirection = order_by.startsWith('-') ? 'DESC' : '';
|
|
928
|
-
const orderField = order_by.replace(/^-/, '');
|
|
929
|
-
finalQuery += `^ORDERBY${orderDirection ? orderDirection : ''}${orderField}`;
|
|
930
|
-
}
|
|
931
|
-
// ✅ NEW: Use searchRecordsWithOffset when offset is provided
|
|
932
|
-
this.logger.trackAPICall('SEARCH', table, effectiveLimit);
|
|
933
|
-
const records = offset > 0
|
|
934
|
-
? await this.client.searchRecordsWithOffset(table, finalQuery, effectiveLimit, offset)
|
|
935
|
-
: await this.client.searchRecords(table, finalQuery, effectiveLimit);
|
|
936
|
-
let result = {
|
|
937
|
-
table: table,
|
|
938
|
-
total_results: records.success ? records.data.result.length : 0,
|
|
939
|
-
query_used: processedQuery
|
|
940
|
-
};
|
|
941
|
-
// Handle group_by aggregation
|
|
942
|
-
if (group_by && records.success) {
|
|
943
|
-
const grouped = {};
|
|
944
|
-
records.data.result.forEach((record) => {
|
|
945
|
-
const groupValue = record[group_by] || 'undefined';
|
|
946
|
-
grouped[groupValue] = (grouped[groupValue] || 0) + 1;
|
|
947
|
-
});
|
|
948
|
-
result.grouped_counts = grouped;
|
|
949
|
-
result.unique_values = Object.keys(grouped).length;
|
|
950
|
-
}
|
|
951
|
-
// ✅ IMPROVED: Clear content decision logic
|
|
952
|
-
const shouldIncludeContent = include_content === true || (fields && fields.length > 0);
|
|
953
|
-
if (shouldIncludeContent) {
|
|
954
|
-
// Include full record data when specifically requested
|
|
955
|
-
result.records = records.success ? records.data.result : [];
|
|
956
|
-
// If specific fields requested, filter and validate them
|
|
957
|
-
if (fields && fields.length > 0 && records.success && records.data.result.length > 0) {
|
|
958
|
-
// ✅ NEW: Validate fields exist
|
|
959
|
-
const sampleRecord = records.data.result[0];
|
|
960
|
-
const validFields = fields.filter((field) => {
|
|
961
|
-
const exists = sampleRecord.hasOwnProperty(field) ||
|
|
962
|
-
sampleRecord.hasOwnProperty(`${field}_display_value`);
|
|
963
|
-
if (!exists) {
|
|
964
|
-
this.logger.warn(`⚠️ Field '${field}' not found in table '${table}'`);
|
|
965
|
-
}
|
|
966
|
-
return exists;
|
|
967
|
-
});
|
|
968
|
-
if (validFields.length === 0 && fields.length > 0) {
|
|
969
|
-
// All requested fields are invalid
|
|
970
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InvalidParams, `None of the requested fields exist in table '${table}'. Available fields: ${Object.keys(sampleRecord).slice(0, 10).join(', ')}...`);
|
|
971
|
-
}
|
|
972
|
-
result.records = records.data.result.map((record) => {
|
|
973
|
-
const filtered = {};
|
|
974
|
-
// Always include sys_id and number/name if available
|
|
975
|
-
if (record.sys_id)
|
|
976
|
-
filtered.sys_id = record.sys_id;
|
|
977
|
-
if (record.number && !validFields.includes('number'))
|
|
978
|
-
filtered.number = record.number;
|
|
979
|
-
if (record.name && !validFields.includes('name'))
|
|
980
|
-
filtered.name = record.name;
|
|
981
|
-
// Add requested fields
|
|
982
|
-
validFields.forEach((field) => {
|
|
983
|
-
if (record[field] !== undefined) {
|
|
984
|
-
filtered[field] = record[field];
|
|
985
|
-
// ✅ FIX: Properly handle display values
|
|
986
|
-
if (include_display_values) {
|
|
987
|
-
// Check for standard display value pattern
|
|
988
|
-
const displayField = `dv_${field}`; // Some tables use dv_ prefix
|
|
989
|
-
const displayFieldAlt = `${field}_display_value`; // Others use _display_value suffix
|
|
990
|
-
if (record[displayField]) {
|
|
991
|
-
filtered[`${field}_display`] = record[displayField];
|
|
992
|
-
}
|
|
993
|
-
else if (record[displayFieldAlt]) {
|
|
994
|
-
filtered[`${field}_display`] = record[displayFieldAlt];
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
});
|
|
999
|
-
return filtered;
|
|
1000
|
-
});
|
|
1001
|
-
// Add metadata about fields
|
|
1002
|
-
result.fields_info = {
|
|
1003
|
-
requested: fields,
|
|
1004
|
-
valid: validFields,
|
|
1005
|
-
invalid: fields.filter((f) => !validFields.includes(f))
|
|
1006
|
-
};
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
else {
|
|
1010
|
-
// 🚀 PERFORMANCE MODE: Only return summary for large datasets
|
|
1011
|
-
result.summary = {
|
|
1012
|
-
count: records.success ? records.data.result.length : 0,
|
|
1013
|
-
message: `Use include_content=true to retrieve full ${table} data`
|
|
1014
|
-
};
|
|
1015
|
-
// Provide intelligent sample based on table type
|
|
1016
|
-
if (records.success && records.data.result.length > 0) {
|
|
1017
|
-
const sampleSize = Math.min(5, records.data.result.length);
|
|
1018
|
-
const sample = records.data.result.slice(0, sampleSize);
|
|
1019
|
-
// Dynamic field detection for sample
|
|
1020
|
-
const commonFields = this.detectCommonFields(table, sample);
|
|
1021
|
-
result.summary.sample = {
|
|
1022
|
-
record_identifiers: sample.map((r) => r.number || r.name || r.sys_id),
|
|
1023
|
-
common_fields: commonFields
|
|
1024
|
-
};
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
// ✅ NEW: Add pagination info when offset is used
|
|
1028
|
-
if (offset > 0) {
|
|
1029
|
-
result.pagination = {
|
|
1030
|
-
offset: offset,
|
|
1031
|
-
limit: effectiveLimit,
|
|
1032
|
-
has_more: records.success && records.data.result.length === effectiveLimit,
|
|
1033
|
-
next_offset: offset + effectiveLimit
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
return {
|
|
1037
|
-
content: [
|
|
1038
|
-
{
|
|
1039
|
-
type: 'text',
|
|
1040
|
-
text: `Found ${records.success ? records.data.result.length : 0} ${table} records${offset > 0 ? ` (offset: ${offset})` : ''} matching query: "${query || 'all'}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1041
|
-
}
|
|
1042
|
-
]
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
catch (error) {
|
|
1046
|
-
// ✅ IMPROVED: Better error messages
|
|
1047
|
-
this.logger.error(`Error querying ${table}:`, error);
|
|
1048
|
-
if (error.code === 'ECONNREFUSED') {
|
|
1049
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Cannot connect to ServiceNow. Please check your instance URL and network connection.`);
|
|
1050
|
-
}
|
|
1051
|
-
if (error.response?.status === 401) {
|
|
1052
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InvalidRequest, `Authentication failed. Please run: snow-flow auth login`);
|
|
1053
|
-
}
|
|
1054
|
-
if (error.response?.status === 404) {
|
|
1055
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InvalidParams, `Table '${table}' not found. Please check the table name.`);
|
|
1056
|
-
}
|
|
1057
|
-
if (error.response?.status === 400) {
|
|
1058
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InvalidParams, `Invalid query syntax: ${query}. Check ServiceNow encoded query format.`);
|
|
1059
|
-
}
|
|
1060
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to query ${table}: ${error.message || error}`);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
detectCommonFields(table, records) {
|
|
1064
|
-
const commonFields = {};
|
|
1065
|
-
// Fields to check based on table type
|
|
1066
|
-
const fieldsToCheck = ['state', 'priority', 'category', 'type', 'status', 'active', 'stage'];
|
|
1067
|
-
records.forEach(record => {
|
|
1068
|
-
fieldsToCheck.forEach(field => {
|
|
1069
|
-
if (record[field] !== undefined && record[field] !== null) {
|
|
1070
|
-
if (!commonFields[field])
|
|
1071
|
-
commonFields[field] = new Set();
|
|
1072
|
-
commonFields[field].add(record[field]);
|
|
1073
|
-
}
|
|
1074
|
-
});
|
|
1075
|
-
});
|
|
1076
|
-
// Convert sets to arrays for JSON serialization
|
|
1077
|
-
const result = {};
|
|
1078
|
-
Object.entries(commonFields).forEach(([field, values]) => {
|
|
1079
|
-
result[field] = Array.from(values);
|
|
1080
|
-
});
|
|
1081
|
-
return result;
|
|
1082
|
-
}
|
|
1083
|
-
async handleQueryIncidents(args) {
|
|
1084
|
-
const { query, limit = 10, include__analysis = false, fields, include_content = false // 🎯 NEW: Explicit control over returning full incident data
|
|
1085
|
-
} = args;
|
|
1086
|
-
this.logger.info(`Querying incidents with: ${query} (include_content: ${include_content})`);
|
|
1087
|
-
try {
|
|
1088
|
-
// Convert natural language to ServiceNow query if needed
|
|
1089
|
-
const processedQuery = this.processNaturalLanguageQuery(query, 'incident');
|
|
1090
|
-
// Query incidents
|
|
1091
|
-
this.logger.trackAPICall('SEARCH', 'incident', limit);
|
|
1092
|
-
const incidents = await this.client.searchRecords('incident', processedQuery, limit);
|
|
1093
|
-
let result = {
|
|
1094
|
-
total_results: incidents.success ? incidents.data.result.length : 0,
|
|
1095
|
-
query_used: processedQuery
|
|
1096
|
-
};
|
|
1097
|
-
// 🎯 SMART CONTENT DECISION: Only include full data if explicitly requested
|
|
1098
|
-
if (include_content || (fields && fields.length > 0)) {
|
|
1099
|
-
// Include full incident data when specifically requested
|
|
1100
|
-
result.incidents = incidents.success ? incidents.data.result : [];
|
|
1101
|
-
// If specific fields requested, filter them
|
|
1102
|
-
if (fields && fields.length > 0 && incidents.success) {
|
|
1103
|
-
result.incidents = incidents.data.result.map((inc) => {
|
|
1104
|
-
const filtered = {};
|
|
1105
|
-
fields.forEach((field) => {
|
|
1106
|
-
if (inc[field] !== undefined)
|
|
1107
|
-
filtered[field] = inc[field];
|
|
1108
|
-
});
|
|
1109
|
-
return filtered;
|
|
1110
|
-
});
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
else {
|
|
1114
|
-
// 🚀 PERFORMANCE MODE: Only return summary for large datasets
|
|
1115
|
-
result.summary = {
|
|
1116
|
-
count: incidents.success ? incidents.data.result.length : 0,
|
|
1117
|
-
message: `Use include_content=true to retrieve full incident data`
|
|
1118
|
-
};
|
|
1119
|
-
// Provide a small sample for context
|
|
1120
|
-
if (incidents.success && incidents.data.result.length > 0) {
|
|
1121
|
-
result.summary.sample = {
|
|
1122
|
-
first_incident: incidents.data.result[0].number || 'Unknown',
|
|
1123
|
-
categories: [...new Set(incidents.data.result.slice(0, 5).map((inc) => inc.category || 'none'))],
|
|
1124
|
-
priorities: [...new Set(incidents.data.result.slice(0, 5).map((inc) => inc.priority || 'none'))],
|
|
1125
|
-
states: [...new Set(incidents.data.result.slice(0, 5).map((inc) => inc.state || 'unknown'))]
|
|
1126
|
-
};
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
// Add intelligent _analysis if requested (only works with content)
|
|
1130
|
-
if (include__analysis && incidents.success && incidents.data.result.length > 0) {
|
|
1131
|
-
const _analysis = await this.analyzeIncidents(incidents.data.result);
|
|
1132
|
-
result = { ...result, ..._analysis };
|
|
1133
|
-
}
|
|
1134
|
-
return {
|
|
1135
|
-
content: [
|
|
1136
|
-
{
|
|
1137
|
-
type: 'text',
|
|
1138
|
-
text: `Found ${incidents.success ? incidents.data.result.length : 0} incidents matching query: "${query}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1139
|
-
}
|
|
1140
|
-
]
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1143
|
-
catch (error) {
|
|
1144
|
-
this.logger.error('Error querying incidents:', error);
|
|
1145
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to query incidents: ${error}`);
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
async handleAnalyzeIncident(args) {
|
|
1149
|
-
const { incident_id, include_similar = true, suggest_resolution = true } = args;
|
|
1150
|
-
this.logger.info(`Analyzing incident: ${incident_id}`);
|
|
1151
|
-
try {
|
|
1152
|
-
// Get incident details
|
|
1153
|
-
const incident = await this.getIncidentDetails(incident_id);
|
|
1154
|
-
if (!incident) {
|
|
1155
|
-
throw new Error(`Incident ${incident_id} not found`);
|
|
1156
|
-
}
|
|
1157
|
-
// Perform intelligent analysis
|
|
1158
|
-
const _analysis = await this.performIncidentAnalysis(incident, include_similar, suggest_resolution);
|
|
1159
|
-
return {
|
|
1160
|
-
content: [
|
|
1161
|
-
{
|
|
1162
|
-
type: 'text',
|
|
1163
|
-
text: `Incident Analysis for ${incident_id}:\n\n${JSON.stringify(_analysis, null, 2)}`
|
|
1164
|
-
}
|
|
1165
|
-
]
|
|
1166
|
-
};
|
|
1167
|
-
}
|
|
1168
|
-
catch (error) {
|
|
1169
|
-
this.logger.error('Error analyzing incident:', error);
|
|
1170
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to analyze incident: ${error}`);
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
async handleAutoResolveIncident(args) {
|
|
1174
|
-
const { incident_id, dry_run = true } = args;
|
|
1175
|
-
this.logger.info(`Auto-resolving incident: ${incident_id} (dry_run: ${dry_run})`);
|
|
1176
|
-
try {
|
|
1177
|
-
// Get incident details
|
|
1178
|
-
const incident = await this.getIncidentDetails(incident_id);
|
|
1179
|
-
if (!incident) {
|
|
1180
|
-
throw new Error(`Incident ${incident_id} not found`);
|
|
1181
|
-
}
|
|
1182
|
-
// Analyze incident for auto-resolution potential
|
|
1183
|
-
const _analysis = await this.performIncidentAnalysis(incident, true, true);
|
|
1184
|
-
// Generate automated resolution actions
|
|
1185
|
-
const resolutionActions = await this.generateResolutionActions(incident, _analysis);
|
|
1186
|
-
const result = {
|
|
1187
|
-
incident_id,
|
|
1188
|
-
_analysis,
|
|
1189
|
-
resolution_actions: resolutionActions,
|
|
1190
|
-
dry_run,
|
|
1191
|
-
actions_executed: []
|
|
1192
|
-
};
|
|
1193
|
-
// Execute actions if not dry run
|
|
1194
|
-
if (!dry_run && resolutionActions.length > 0) {
|
|
1195
|
-
result.actions_executed = await this.executeResolutionActions(incident_id, resolutionActions);
|
|
1196
|
-
}
|
|
1197
|
-
return {
|
|
1198
|
-
content: [
|
|
1199
|
-
{
|
|
1200
|
-
type: 'text',
|
|
1201
|
-
text: `Auto-Resolution Analysis for ${incident_id}:\n\n${JSON.stringify(result, null, 2)}`
|
|
1202
|
-
}
|
|
1203
|
-
]
|
|
1204
|
-
};
|
|
1205
|
-
}
|
|
1206
|
-
catch (error) {
|
|
1207
|
-
this.logger.error('Error auto-resolving incident:', error);
|
|
1208
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to auto-resolve incident: ${error}`);
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
async handleQueryRequests(args) {
|
|
1212
|
-
const { query, limit = 10, include_items = false } = args;
|
|
1213
|
-
this.logger.info(`Querying requests with: ${query}`);
|
|
1214
|
-
try {
|
|
1215
|
-
const processedQuery = this.processNaturalLanguageQuery(query, 'request');
|
|
1216
|
-
const requests = await this.client.searchRecords('sc_request', processedQuery, limit);
|
|
1217
|
-
let result = {
|
|
1218
|
-
total_results: requests.success ? requests.data.result.length : 0,
|
|
1219
|
-
requests: requests.success ? requests.data.result : []
|
|
1220
|
-
};
|
|
1221
|
-
// Include request items if requested
|
|
1222
|
-
if (include_items && requests.success && requests.data.result.length > 0) {
|
|
1223
|
-
const requestItems = await this.getRequestItems(requests.data.result);
|
|
1224
|
-
result = { ...result, request_items: requestItems };
|
|
1225
|
-
}
|
|
1226
|
-
return {
|
|
1227
|
-
content: [
|
|
1228
|
-
{
|
|
1229
|
-
type: 'text',
|
|
1230
|
-
text: `Found ${requests.success ? requests.data.result.length : 0} requests matching query: "${query}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1231
|
-
}
|
|
1232
|
-
]
|
|
1233
|
-
};
|
|
1234
|
-
}
|
|
1235
|
-
catch (error) {
|
|
1236
|
-
this.logger.error('Error querying requests:', error);
|
|
1237
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to query requests: ${error}`);
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
async handleQueryProblems(args) {
|
|
1241
|
-
const { query, limit = 10, include_incidents = false } = args;
|
|
1242
|
-
this.logger.info(`Querying problems with: ${query}`);
|
|
1243
|
-
try {
|
|
1244
|
-
const processedQuery = this.processNaturalLanguageQuery(query, 'problem');
|
|
1245
|
-
const problems = await this.client.searchRecords('problem', processedQuery, limit);
|
|
1246
|
-
let result = {
|
|
1247
|
-
total_results: problems.success ? problems.data.result.length : 0,
|
|
1248
|
-
problems: problems.success ? problems.data.result : []
|
|
1249
|
-
};
|
|
1250
|
-
// Include related incidents if requested
|
|
1251
|
-
if (include_incidents && problems.success && problems.data.result.length > 0) {
|
|
1252
|
-
const incidents = await this.getRelatedIncidents(problems.data.result);
|
|
1253
|
-
result = { ...result, related_incidents: incidents };
|
|
1254
|
-
}
|
|
1255
|
-
return {
|
|
1256
|
-
content: [
|
|
1257
|
-
{
|
|
1258
|
-
type: 'text',
|
|
1259
|
-
text: `Found ${problems.success ? problems.data.result.length : 0} problems matching query: "${query}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1260
|
-
}
|
|
1261
|
-
]
|
|
1262
|
-
};
|
|
1263
|
-
}
|
|
1264
|
-
catch (error) {
|
|
1265
|
-
this.logger.error('Error querying problems:', error);
|
|
1266
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to query problems: ${error}`);
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
async handleCMDBSearch(args) {
|
|
1270
|
-
const { query, ci_type = 'any', limit = 10, include_relationships = false } = args;
|
|
1271
|
-
this.logger.info(`Searching CMDB with: ${query}, type: ${ci_type}`);
|
|
1272
|
-
try {
|
|
1273
|
-
const ciTable = ci_type === 'any' ? 'cmdb_ci' : operationalTableMapping[ci_type] || 'cmdb_ci';
|
|
1274
|
-
const processedQuery = this.processNaturalLanguageQuery(query, 'cmdb');
|
|
1275
|
-
const configItems = await this.client.searchRecords(ciTable, processedQuery, limit);
|
|
1276
|
-
let result = {
|
|
1277
|
-
total_results: configItems.success ? configItems.data.result.length : 0,
|
|
1278
|
-
configuration_items: configItems.success ? configItems.data.result : [],
|
|
1279
|
-
ci_type: ci_type
|
|
1280
|
-
};
|
|
1281
|
-
// Include relationships if requested
|
|
1282
|
-
if (include_relationships && configItems.success && configItems.data.result.length > 0) {
|
|
1283
|
-
const relationships = await this.getCIRelationships(configItems.data.result);
|
|
1284
|
-
result = { ...result, relationships };
|
|
1285
|
-
}
|
|
1286
|
-
return {
|
|
1287
|
-
content: [
|
|
1288
|
-
{
|
|
1289
|
-
type: 'text',
|
|
1290
|
-
text: `Found ${configItems.success ? configItems.data.result.length : 0} configuration items matching query: "${query}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1291
|
-
}
|
|
1292
|
-
]
|
|
1293
|
-
};
|
|
1294
|
-
}
|
|
1295
|
-
catch (error) {
|
|
1296
|
-
this.logger.error('Error searching CMDB:', error);
|
|
1297
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to search CMDB: ${error}`);
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
async handleUserLookup(args) {
|
|
1301
|
-
const { identifier, include_roles = true, include_groups = true } = args;
|
|
1302
|
-
this.logger.info(`Looking up user: ${identifier}`);
|
|
1303
|
-
try {
|
|
1304
|
-
// Try different user lookup strategies
|
|
1305
|
-
let userQuery = '';
|
|
1306
|
-
if (identifier.includes('@')) {
|
|
1307
|
-
userQuery = `email=${identifier}`;
|
|
1308
|
-
}
|
|
1309
|
-
else if (identifier.includes('.')) {
|
|
1310
|
-
userQuery = `user_name=${identifier}`;
|
|
1311
|
-
}
|
|
1312
|
-
else {
|
|
1313
|
-
userQuery = `nameLIKE${identifier}^ORuser_nameLIKE${identifier}^ORemailLIKE${identifier}`;
|
|
1314
|
-
}
|
|
1315
|
-
const users = await this.client.searchRecords('sys_user', userQuery, 5);
|
|
1316
|
-
if (!users.success || users.data.result.length === 0) {
|
|
1317
|
-
return {
|
|
1318
|
-
content: [
|
|
1319
|
-
{
|
|
1320
|
-
type: 'text',
|
|
1321
|
-
text: `No users found matching identifier: "${identifier}"`
|
|
1322
|
-
}
|
|
1323
|
-
]
|
|
1324
|
-
};
|
|
1325
|
-
}
|
|
1326
|
-
let result = {
|
|
1327
|
-
total_results: users.data.result.length,
|
|
1328
|
-
users: users.data.result
|
|
1329
|
-
};
|
|
1330
|
-
// Include roles and groups if requested
|
|
1331
|
-
if (include_roles || include_groups) {
|
|
1332
|
-
const userDetails = await this.getUserDetails(users.data.result[0].sys_id, include_roles, include_groups);
|
|
1333
|
-
result = { ...result, user_details: userDetails };
|
|
1334
|
-
}
|
|
1335
|
-
return {
|
|
1336
|
-
content: [
|
|
1337
|
-
{
|
|
1338
|
-
type: 'text',
|
|
1339
|
-
text: `Found ${users.success ? users.data.result.length : 0} users matching identifier: "${identifier}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1340
|
-
}
|
|
1341
|
-
]
|
|
1342
|
-
};
|
|
1343
|
-
}
|
|
1344
|
-
catch (error) {
|
|
1345
|
-
this.logger.error('Error looking up user:', error);
|
|
1346
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to lookup user: ${error}`);
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
async handleOperationalMetrics(args) {
|
|
1350
|
-
const { timeframe = 'week', metric_types = [] } = args;
|
|
1351
|
-
this.logger.info(`Getting operational metrics for timeframe: ${timeframe}`);
|
|
1352
|
-
try {
|
|
1353
|
-
const metrics = await this.calculateOperationalMetrics(timeframe, metric_types);
|
|
1354
|
-
return {
|
|
1355
|
-
content: [
|
|
1356
|
-
{
|
|
1357
|
-
type: 'text',
|
|
1358
|
-
text: `Operational Metrics (${timeframe}):\n\n${JSON.stringify(metrics, null, 2)}`
|
|
1359
|
-
}
|
|
1360
|
-
]
|
|
1361
|
-
};
|
|
1362
|
-
}
|
|
1363
|
-
catch (error) {
|
|
1364
|
-
this.logger.error('Error getting operational metrics:', error);
|
|
1365
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get operational metrics: ${error}`);
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
async handlePatternAnalysis(args) {
|
|
1369
|
-
const { analysis_type, timeframe = 'week' } = args;
|
|
1370
|
-
this.logger.info(`Performing pattern _analysis: ${analysis_type} for ${timeframe}`);
|
|
1371
|
-
try {
|
|
1372
|
-
const patterns = await this.analyzePatterns(analysis_type, timeframe);
|
|
1373
|
-
return {
|
|
1374
|
-
content: [
|
|
1375
|
-
{
|
|
1376
|
-
type: 'text',
|
|
1377
|
-
text: `Pattern Analysis (${analysis_type} - ${timeframe}):\n\n${JSON.stringify(patterns, null, 2)}`
|
|
1378
|
-
}
|
|
1379
|
-
]
|
|
1380
|
-
};
|
|
1381
|
-
}
|
|
1382
|
-
catch (error) {
|
|
1383
|
-
this.logger.error('Error analyzing patterns:', error);
|
|
1384
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to analyze patterns: ${error}`);
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
async handleKnowledgeSearch(args) {
|
|
1388
|
-
const { query, match_incident, limit = 5 } = args;
|
|
1389
|
-
this.logger.info(`Searching knowledge base with: ${query}`);
|
|
1390
|
-
try {
|
|
1391
|
-
const processedQuery = this.processNaturalLanguageQuery(query, 'knowledge');
|
|
1392
|
-
const articles = await this.client.searchRecords('kb_knowledge', processedQuery, limit);
|
|
1393
|
-
let result = {
|
|
1394
|
-
total_results: articles.success ? articles.data.result.length : 0,
|
|
1395
|
-
knowledge_articles: articles.success ? articles.data.result : []
|
|
1396
|
-
};
|
|
1397
|
-
// If matching to incident, provide relevance scoring
|
|
1398
|
-
if (match_incident) {
|
|
1399
|
-
const incident = await this.getIncidentDetails(match_incident);
|
|
1400
|
-
if (incident) {
|
|
1401
|
-
const relevanceScores = await this.calculateKnowledgeRelevance(articles.success ? articles.data.result : [], incident);
|
|
1402
|
-
result = { ...result, relevance_scores: relevanceScores };
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
return {
|
|
1406
|
-
content: [
|
|
1407
|
-
{
|
|
1408
|
-
type: 'text',
|
|
1409
|
-
text: `Found ${articles.success ? articles.data.result.length : 0} knowledge articles matching query: "${query}"\n\n${JSON.stringify(result, null, 2)}`
|
|
1410
|
-
}
|
|
1411
|
-
]
|
|
1412
|
-
};
|
|
1413
|
-
}
|
|
1414
|
-
catch (error) {
|
|
1415
|
-
this.logger.error('Error searching knowledge base:', error);
|
|
1416
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to search knowledge base: ${error}`);
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
async handlePredictiveAnalysis(args) {
|
|
1420
|
-
const { prediction_type, timeframe = 'week' } = args;
|
|
1421
|
-
this.logger.info(`Performing predictive _analysis: ${prediction_type} for ${timeframe}`);
|
|
1422
|
-
try {
|
|
1423
|
-
const predictions = await this.performPredictiveAnalysis(prediction_type, timeframe);
|
|
1424
|
-
return {
|
|
1425
|
-
content: [
|
|
1426
|
-
{
|
|
1427
|
-
type: 'text',
|
|
1428
|
-
text: `Predictive Analysis (${prediction_type} - ${timeframe}):\n\n${JSON.stringify(predictions, null, 2)}`
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
};
|
|
1432
|
-
}
|
|
1433
|
-
catch (error) {
|
|
1434
|
-
this.logger.error('Error performing predictive _analysis:', error);
|
|
1435
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to perform predictive _analysis: ${error}`);
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
// Helper methods for intelligent analysis
|
|
1439
|
-
processNaturalLanguageQuery(query, context) {
|
|
1440
|
-
// Convert natural language to ServiceNow encoded query
|
|
1441
|
-
const lowerQuery = query.toLowerCase();
|
|
1442
|
-
// If already a ServiceNow encoded query, return as-is
|
|
1443
|
-
if (query.includes('=') || query.includes('!=') || query.includes('^') || query.includes('LIKE')) {
|
|
1444
|
-
this.logger.info(`Using raw ServiceNow query: ${query}`);
|
|
1445
|
-
return query;
|
|
1446
|
-
}
|
|
1447
|
-
// Common ServiceNow query patterns
|
|
1448
|
-
if (lowerQuery.includes('high priority')) {
|
|
1449
|
-
return 'priority=1';
|
|
1450
|
-
}
|
|
1451
|
-
if (lowerQuery.includes('critical')) {
|
|
1452
|
-
return 'priority=1^ORseverity=1';
|
|
1453
|
-
}
|
|
1454
|
-
if (lowerQuery.includes('open') || lowerQuery.includes('active')) {
|
|
1455
|
-
return 'active=true^state!=6^state!=7';
|
|
1456
|
-
}
|
|
1457
|
-
if (lowerQuery.includes('closed') || lowerQuery.includes('resolved')) {
|
|
1458
|
-
return 'state=6^ORstate=7';
|
|
1459
|
-
}
|
|
1460
|
-
if (lowerQuery.includes('all') || lowerQuery === '') {
|
|
1461
|
-
return ''; // Empty query returns all records
|
|
1462
|
-
}
|
|
1463
|
-
if (lowerQuery.includes('today')) {
|
|
1464
|
-
return 'sys_created_onONToday@javascript:gs.daysAgoStart(0)@javascript:gs.daysAgoEnd(0)';
|
|
1465
|
-
}
|
|
1466
|
-
if (lowerQuery.includes('last week')) {
|
|
1467
|
-
return 'sys_created_onONLast week@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(1)';
|
|
1468
|
-
}
|
|
1469
|
-
// Context-specific processing
|
|
1470
|
-
if (context === 'incident') {
|
|
1471
|
-
if (lowerQuery.includes('network')) {
|
|
1472
|
-
return 'categoryLIKEnetwork^ORshort_descriptionLIKEnetwork';
|
|
1473
|
-
}
|
|
1474
|
-
if (lowerQuery.includes('database')) {
|
|
1475
|
-
return 'categoryLIKEdatabase^ORshort_descriptionLIKEdatabase';
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
// Default: treat as general search
|
|
1479
|
-
return `short_descriptionLIKE${query}^ORdescriptionLIKE${query}`;
|
|
1480
|
-
}
|
|
1481
|
-
async analyzeIncidents(incidents) {
|
|
1482
|
-
const patterns = [];
|
|
1483
|
-
const categories = new Map();
|
|
1484
|
-
for (const incident of incidents) {
|
|
1485
|
-
// Count categories
|
|
1486
|
-
const category = incident.category || 'uncategorized';
|
|
1487
|
-
categories.set(category, (categories.get(category) || 0) + 1);
|
|
1488
|
-
// Detect patterns
|
|
1489
|
-
const description = (incident.short_description || '').toLowerCase();
|
|
1490
|
-
for (const [patternName, pattern] of Object.entries(commonPatterns)) {
|
|
1491
|
-
if (pattern.keywords.some(keyword => description.includes(keyword))) {
|
|
1492
|
-
patterns.push({
|
|
1493
|
-
incident_number: incident.number,
|
|
1494
|
-
pattern: patternName,
|
|
1495
|
-
confidence: 0.8
|
|
1496
|
-
});
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
return {
|
|
1501
|
-
patterns_detected: patterns,
|
|
1502
|
-
category_distribution: Object.fromEntries(categories),
|
|
1503
|
-
total_analyzed: incidents.length
|
|
1504
|
-
};
|
|
1505
|
-
}
|
|
1506
|
-
async getIncidentDetails(incident_id) {
|
|
1507
|
-
// Try to get incident by number first, then by sys_id
|
|
1508
|
-
let query = `number=${incident_id}`;
|
|
1509
|
-
let incidents = await this.client.searchRecords('incident', query, 1);
|
|
1510
|
-
if (!incidents.success || incidents.data.result.length === 0) {
|
|
1511
|
-
// Try by sys_id
|
|
1512
|
-
query = `sys_id=${incident_id}`;
|
|
1513
|
-
incidents = await this.client.searchRecords('incident', query, 1);
|
|
1514
|
-
}
|
|
1515
|
-
return (incidents.success && incidents.data.result.length > 0) ? incidents.data.result[0] : null;
|
|
1516
|
-
}
|
|
1517
|
-
async performIncidentAnalysis(incident, include_similar, suggest_resolution) {
|
|
1518
|
-
const _analysis = {
|
|
1519
|
-
incident_id: incident.number,
|
|
1520
|
-
patterns_found: [],
|
|
1521
|
-
root_cause__analysis: '',
|
|
1522
|
-
suggested_resolution: [],
|
|
1523
|
-
confidence_score: 0,
|
|
1524
|
-
similar_incidents: [],
|
|
1525
|
-
knowledge_articles: [],
|
|
1526
|
-
automated_actions: []
|
|
1527
|
-
};
|
|
1528
|
-
// Pattern detection
|
|
1529
|
-
const description = (incident.short_description || '').toLowerCase();
|
|
1530
|
-
for (const [patternName, pattern] of Object.entries(commonPatterns)) {
|
|
1531
|
-
if (pattern.keywords.some(keyword => description.includes(keyword))) {
|
|
1532
|
-
_analysis.patterns_found.push(patternName);
|
|
1533
|
-
_analysis.suggested_resolution.push(...pattern.common_solutions);
|
|
1534
|
-
_analysis.confidence_score += 0.2;
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
// Find similar incidents
|
|
1538
|
-
if (include_similar) {
|
|
1539
|
-
const similarQuery = `short_descriptionLIKE${incident.short_description}^sys_id!=${incident.sys_id}^state=6`;
|
|
1540
|
-
const similarIncidents = await this.client.searchRecords('incident', similarQuery, 5);
|
|
1541
|
-
_analysis.similar_incidents = similarIncidents.success ? similarIncidents.data.result : [];
|
|
1542
|
-
}
|
|
1543
|
-
// Root cause analysis
|
|
1544
|
-
_analysis.root_cause__analysis = this.generateRootCauseAnalysis(incident, _analysis.patterns_found);
|
|
1545
|
-
// Search knowledge base
|
|
1546
|
-
const kbQuery = `textLIKE${incident.short_description}^workflow_state=published`;
|
|
1547
|
-
const kbArticles = await this.client.searchRecords('kb_knowledge', kbQuery, 3);
|
|
1548
|
-
_analysis.knowledge_articles = kbArticles.success ? kbArticles.data.result : [];
|
|
1549
|
-
// Automated actions
|
|
1550
|
-
_analysis.automated_actions = this.generateAutomatedActions(incident, _analysis.patterns_found);
|
|
1551
|
-
return _analysis;
|
|
1552
|
-
}
|
|
1553
|
-
generateRootCauseAnalysis(incident, patterns) {
|
|
1554
|
-
if (patterns.length === 0) {
|
|
1555
|
-
return 'No specific patterns detected. Manual investigation required.';
|
|
1556
|
-
}
|
|
1557
|
-
const _analysis = [];
|
|
1558
|
-
if (patterns.includes('network_issues')) {
|
|
1559
|
-
_analysis.push('Network connectivity issue detected. Check network infrastructure, DNS, and firewall rules.');
|
|
1560
|
-
}
|
|
1561
|
-
if (patterns.includes('database_issues')) {
|
|
1562
|
-
_analysis.push('Database connectivity or performance issue detected. Check database server, connection pools, and query performance.');
|
|
1563
|
-
}
|
|
1564
|
-
if (patterns.includes('application_errors')) {
|
|
1565
|
-
_analysis.push('Application error detected. Check application logs, resource utilization, and service status.');
|
|
1566
|
-
}
|
|
1567
|
-
if (patterns.includes('auth_issues')) {
|
|
1568
|
-
_analysis.push('Authentication issue detected. Check user credentials, LDAP/SSO configuration, and permissions.');
|
|
1569
|
-
}
|
|
1570
|
-
return _analysis.join(' ');
|
|
1571
|
-
}
|
|
1572
|
-
generateAutomatedActions(incident, patterns) {
|
|
1573
|
-
const actions = [];
|
|
1574
|
-
if (patterns.includes('network_issues')) {
|
|
1575
|
-
actions.push('Execute network connectivity test');
|
|
1576
|
-
actions.push('Check DNS resolution');
|
|
1577
|
-
actions.push('Verify firewall rules');
|
|
1578
|
-
}
|
|
1579
|
-
if (patterns.includes('database_issues')) {
|
|
1580
|
-
actions.push('Test database connectivity');
|
|
1581
|
-
actions.push('Check database performance metrics');
|
|
1582
|
-
actions.push('Review connection pool status');
|
|
1583
|
-
}
|
|
1584
|
-
if (patterns.includes('application_errors')) {
|
|
1585
|
-
actions.push('Restart application service');
|
|
1586
|
-
actions.push('Check application logs');
|
|
1587
|
-
actions.push('Monitor resource utilization');
|
|
1588
|
-
}
|
|
1589
|
-
if (patterns.includes('auth_issues')) {
|
|
1590
|
-
actions.push('Reset user session');
|
|
1591
|
-
actions.push('Verify user permissions');
|
|
1592
|
-
actions.push('Check authentication service status');
|
|
1593
|
-
}
|
|
1594
|
-
return actions;
|
|
1595
|
-
}
|
|
1596
|
-
async generateResolutionActions(incident, _analysis) {
|
|
1597
|
-
const actions = [];
|
|
1598
|
-
// Add high-confidence automated actions
|
|
1599
|
-
if (_analysis.confidence_score > 0.6) {
|
|
1600
|
-
actions.push(..._analysis.automated_actions);
|
|
1601
|
-
}
|
|
1602
|
-
// Add knowledge-based actions
|
|
1603
|
-
if (_analysis.knowledge_articles.length > 0) {
|
|
1604
|
-
actions.push('Apply resolution from knowledge article');
|
|
1605
|
-
}
|
|
1606
|
-
// Add pattern-based actions
|
|
1607
|
-
if (_analysis.similar_incidents.length > 0) {
|
|
1608
|
-
actions.push('Apply resolution from similar incident');
|
|
1609
|
-
}
|
|
1610
|
-
return actions;
|
|
1611
|
-
}
|
|
1612
|
-
async executeResolutionActions(incident_id, actions) {
|
|
1613
|
-
const executed = [];
|
|
1614
|
-
for (const action of actions) {
|
|
1615
|
-
try {
|
|
1616
|
-
// This would integrate with actual automation systems
|
|
1617
|
-
this.logger.info(`Executing action: ${action} for incident ${incident_id}`);
|
|
1618
|
-
executed.push(`✅ ${action}`);
|
|
1619
|
-
}
|
|
1620
|
-
catch (error) {
|
|
1621
|
-
executed.push(`❌ ${action}: ${error}`);
|
|
1622
|
-
}
|
|
1623
|
-
}
|
|
1624
|
-
return executed;
|
|
1625
|
-
}
|
|
1626
|
-
async getRequestItems(requests) {
|
|
1627
|
-
const items = [];
|
|
1628
|
-
for (const request of requests) {
|
|
1629
|
-
const requestItems = await this.client.searchRecords('sc_req_item', `request=${request.sys_id}`, 10);
|
|
1630
|
-
if (requestItems.success) {
|
|
1631
|
-
items.push(...requestItems.data.result);
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
return items;
|
|
1635
|
-
}
|
|
1636
|
-
async getRelatedIncidents(problems) {
|
|
1637
|
-
const incidents = [];
|
|
1638
|
-
for (const problem of problems) {
|
|
1639
|
-
const relatedIncidents = await this.client.searchRecords('incident', `problem_id=${problem.sys_id}`, 10);
|
|
1640
|
-
if (relatedIncidents.success) {
|
|
1641
|
-
incidents.push(...relatedIncidents.data.result);
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
return incidents;
|
|
1645
|
-
}
|
|
1646
|
-
async getCIRelationships(configItems) {
|
|
1647
|
-
const relationships = [];
|
|
1648
|
-
for (const ci of configItems) {
|
|
1649
|
-
try {
|
|
1650
|
-
const ciRelationships = await this.client.searchRecords('cmdb_rel_ci', `parent=${ci.sys_id}^ORchild=${ci.sys_id}`, 10);
|
|
1651
|
-
relationships.push({
|
|
1652
|
-
ci_id: ci.sys_id,
|
|
1653
|
-
ci_name: ci.name,
|
|
1654
|
-
relationships: ciRelationships
|
|
1655
|
-
});
|
|
1656
|
-
}
|
|
1657
|
-
catch (error) {
|
|
1658
|
-
this.logger.error(`Error getting relationships for CI ${ci.sys_id}:`, error);
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
return relationships;
|
|
1662
|
-
}
|
|
1663
|
-
async getUserDetails(userId, include_roles, include_groups) {
|
|
1664
|
-
const details = {};
|
|
1665
|
-
if (include_roles) {
|
|
1666
|
-
details.roles = await this.client.searchRecords('sys_user_has_role', `user=${userId}`, 20);
|
|
1667
|
-
}
|
|
1668
|
-
if (include_groups) {
|
|
1669
|
-
details.groups = await this.client.searchRecords('sys_user_grmember', `user=${userId}`, 20);
|
|
1670
|
-
}
|
|
1671
|
-
return details;
|
|
1672
|
-
}
|
|
1673
|
-
async calculateOperationalMetrics(timeframe, metricTypes) {
|
|
1674
|
-
const dateFilter = this.getDateFilter(timeframe);
|
|
1675
|
-
const metrics = {
|
|
1676
|
-
total_incidents: 0,
|
|
1677
|
-
open_incidents: 0,
|
|
1678
|
-
high_priority_incidents: 0,
|
|
1679
|
-
avg_resolution_time: 0,
|
|
1680
|
-
common_categories: [],
|
|
1681
|
-
trending_issues: []
|
|
1682
|
-
};
|
|
1683
|
-
try {
|
|
1684
|
-
// Get total incidents
|
|
1685
|
-
const totalIncidents = await this.client.searchRecords('incident', `sys_created_on${dateFilter}`, 1000);
|
|
1686
|
-
metrics.total_incidents = totalIncidents.success ? totalIncidents.data.result.length : 0;
|
|
1687
|
-
// Get open incidents
|
|
1688
|
-
const openIncidents = await this.client.searchRecords('incident', `active=true^sys_created_on${dateFilter}`, 1000);
|
|
1689
|
-
metrics.open_incidents = openIncidents.success ? openIncidents.data.result.length : 0;
|
|
1690
|
-
// Get high priority incidents
|
|
1691
|
-
const highPriorityIncidents = await this.client.searchRecords('incident', `priority=1^sys_created_on${dateFilter}`, 1000);
|
|
1692
|
-
metrics.high_priority_incidents = highPriorityIncidents.success ? highPriorityIncidents.data.result.length : 0;
|
|
1693
|
-
// Calculate common categories
|
|
1694
|
-
const categories = new Map();
|
|
1695
|
-
if (totalIncidents.success) {
|
|
1696
|
-
totalIncidents.data.result.forEach((incident) => {
|
|
1697
|
-
const category = incident.category || 'uncategorized';
|
|
1698
|
-
categories.set(category, (categories.get(category) || 0) + 1);
|
|
1699
|
-
});
|
|
1700
|
-
}
|
|
1701
|
-
metrics.common_categories = Array.from(categories.entries())
|
|
1702
|
-
.sort((a, b) => b[1] - a[1])
|
|
1703
|
-
.slice(0, 5)
|
|
1704
|
-
.map(([category, count]) => `${category}: ${count}`);
|
|
1705
|
-
}
|
|
1706
|
-
catch (error) {
|
|
1707
|
-
this.logger.error('Error calculating operational metrics:', error);
|
|
1708
|
-
}
|
|
1709
|
-
return metrics;
|
|
1710
|
-
}
|
|
1711
|
-
getDateFilter(timeframe) {
|
|
1712
|
-
switch (timeframe) {
|
|
1713
|
-
case 'today':
|
|
1714
|
-
return 'ONToday@javascript:gs.daysAgoStart(0)@javascript:gs.daysAgoEnd(0)';
|
|
1715
|
-
case 'week':
|
|
1716
|
-
return 'ONLast 7 days@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)';
|
|
1717
|
-
case 'month':
|
|
1718
|
-
return 'ONLast 30 days@javascript:gs.daysAgoStart(30)@javascript:gs.daysAgoEnd(0)';
|
|
1719
|
-
case 'quarter':
|
|
1720
|
-
return 'ONLast 90 days@javascript:gs.daysAgoStart(90)@javascript:gs.daysAgoEnd(0)';
|
|
1721
|
-
default:
|
|
1722
|
-
return 'ONLast 7 days@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)';
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
async analyzePatterns(analysisType, timeframe) {
|
|
1726
|
-
const dateFilter = this.getDateFilter(timeframe);
|
|
1727
|
-
switch (analysisType) {
|
|
1728
|
-
case 'incident_patterns':
|
|
1729
|
-
return await this.analyzeIncidentPatterns(dateFilter);
|
|
1730
|
-
case 'request_trends':
|
|
1731
|
-
return await this.analyzeRequestTrends(dateFilter);
|
|
1732
|
-
case 'problem_root_causes':
|
|
1733
|
-
return await this.analyzeProblemRootCauses(dateFilter);
|
|
1734
|
-
case 'user_behavior':
|
|
1735
|
-
return await this.analyzeUserBehavior(dateFilter);
|
|
1736
|
-
default:
|
|
1737
|
-
return { error: 'Unknown _analysis type' };
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
async analyzeIncidentPatterns(dateFilter) {
|
|
1741
|
-
const incidents = await this.client.searchRecords('incident', `sys_created_on${dateFilter}`, 1000);
|
|
1742
|
-
const patterns = {
|
|
1743
|
-
by_category: new Map(),
|
|
1744
|
-
by_priority: new Map(),
|
|
1745
|
-
by_state: new Map(),
|
|
1746
|
-
by_hour: new Map(),
|
|
1747
|
-
common_keywords: new Map()
|
|
1748
|
-
};
|
|
1749
|
-
if (incidents.success) {
|
|
1750
|
-
incidents.data.result.forEach((incident) => {
|
|
1751
|
-
// Category patterns
|
|
1752
|
-
const category = incident.category || 'uncategorized';
|
|
1753
|
-
patterns.by_category.set(category, (patterns.by_category.get(category) || 0) + 1);
|
|
1754
|
-
// Priority patterns
|
|
1755
|
-
const priority = incident.priority || 'unknown';
|
|
1756
|
-
patterns.by_priority.set(priority, (patterns.by_priority.get(priority) || 0) + 1);
|
|
1757
|
-
// State patterns
|
|
1758
|
-
const state = incident.state || 'unknown';
|
|
1759
|
-
patterns.by_state.set(state, (patterns.by_state.get(state) || 0) + 1);
|
|
1760
|
-
// Time patterns
|
|
1761
|
-
if (incident.sys_created_on) {
|
|
1762
|
-
const hour = new Date(incident.sys_created_on).getHours();
|
|
1763
|
-
patterns.by_hour.set(hour, (patterns.by_hour.get(hour) || 0) + 1);
|
|
1764
|
-
}
|
|
1765
|
-
// Keyword patterns
|
|
1766
|
-
const description = (incident.short_description || '').toLowerCase();
|
|
1767
|
-
const keywords = description.split(/\s+/).filter((word) => word.length > 3);
|
|
1768
|
-
keywords.forEach((keyword) => {
|
|
1769
|
-
patterns.common_keywords.set(keyword, (patterns.common_keywords.get(keyword) || 0) + 1);
|
|
1770
|
-
});
|
|
1771
|
-
});
|
|
1772
|
-
}
|
|
1773
|
-
return {
|
|
1774
|
-
total_incidents: incidents.success ? incidents.data.result.length : 0,
|
|
1775
|
-
patterns: {
|
|
1776
|
-
by_category: Object.fromEntries(patterns.by_category),
|
|
1777
|
-
by_priority: Object.fromEntries(patterns.by_priority),
|
|
1778
|
-
by_state: Object.fromEntries(patterns.by_state),
|
|
1779
|
-
by_hour: Object.fromEntries(patterns.by_hour),
|
|
1780
|
-
top_keywords: Array.from(patterns.common_keywords.entries())
|
|
1781
|
-
.sort((a, b) => b[1] - a[1])
|
|
1782
|
-
.slice(0, 10)
|
|
1783
|
-
.map(([keyword, count]) => ({ keyword, count }))
|
|
1784
|
-
}
|
|
1785
|
-
};
|
|
1786
|
-
}
|
|
1787
|
-
async analyzeRequestTrends(dateFilter) {
|
|
1788
|
-
const requests = await this.client.searchRecords('sc_request', `sys_created_on${dateFilter}`, 1000);
|
|
1789
|
-
const trends = {
|
|
1790
|
-
by_state: new Map(),
|
|
1791
|
-
by_requested_for: new Map(),
|
|
1792
|
-
by_approval_status: new Map()
|
|
1793
|
-
};
|
|
1794
|
-
if (requests.success) {
|
|
1795
|
-
requests.data.result.forEach((request) => {
|
|
1796
|
-
const state = request.state || 'unknown';
|
|
1797
|
-
trends.by_state.set(state, (trends.by_state.get(state) || 0) + 1);
|
|
1798
|
-
const requestedFor = request.requested_for || 'unknown';
|
|
1799
|
-
trends.by_requested_for.set(requestedFor, (trends.by_requested_for.get(requestedFor) || 0) + 1);
|
|
1800
|
-
const approvalStatus = request.approval || 'unknown';
|
|
1801
|
-
trends.by_approval_status.set(approvalStatus, (trends.by_approval_status.get(approvalStatus) || 0) + 1);
|
|
1802
|
-
});
|
|
1803
|
-
}
|
|
1804
|
-
return {
|
|
1805
|
-
total_requests: requests.success ? requests.data.result.length : 0,
|
|
1806
|
-
trends: {
|
|
1807
|
-
by_state: Object.fromEntries(trends.by_state),
|
|
1808
|
-
top_requesters: Array.from(trends.by_requested_for.entries())
|
|
1809
|
-
.sort((a, b) => b[1] - a[1])
|
|
1810
|
-
.slice(0, 10),
|
|
1811
|
-
by_approval_status: Object.fromEntries(trends.by_approval_status)
|
|
1812
|
-
}
|
|
1813
|
-
};
|
|
1814
|
-
}
|
|
1815
|
-
async analyzeProblemRootCauses(dateFilter) {
|
|
1816
|
-
const problems = await this.client.searchRecords('problem', `sys_created_on${dateFilter}`, 1000);
|
|
1817
|
-
const rootCauses = {
|
|
1818
|
-
by_category: new Map(),
|
|
1819
|
-
by_state: new Map(),
|
|
1820
|
-
resolution_patterns: new Map()
|
|
1821
|
-
};
|
|
1822
|
-
if (problems.success) {
|
|
1823
|
-
problems.data.result.forEach((problem) => {
|
|
1824
|
-
const category = problem.category || 'uncategorized';
|
|
1825
|
-
rootCauses.by_category.set(category, (rootCauses.by_category.get(category) || 0) + 1);
|
|
1826
|
-
const state = problem.state || 'unknown';
|
|
1827
|
-
rootCauses.by_state.set(state, (rootCauses.by_state.get(state) || 0) + 1);
|
|
1828
|
-
if (problem.resolution_notes) {
|
|
1829
|
-
const resolution = problem.resolution_notes.toLowerCase();
|
|
1830
|
-
// Simple pattern matching for resolution types
|
|
1831
|
-
if (resolution.includes('restart')) {
|
|
1832
|
-
rootCauses.resolution_patterns.set('restart', (rootCauses.resolution_patterns.get('restart') || 0) + 1);
|
|
1833
|
-
}
|
|
1834
|
-
if (resolution.includes('configuration')) {
|
|
1835
|
-
rootCauses.resolution_patterns.set('configuration', (rootCauses.resolution_patterns.get('configuration') || 0) + 1);
|
|
1836
|
-
}
|
|
1837
|
-
if (resolution.includes('patch') || resolution.includes('update')) {
|
|
1838
|
-
rootCauses.resolution_patterns.set('patch/update', (rootCauses.resolution_patterns.get('patch/update') || 0) + 1);
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
});
|
|
1842
|
-
}
|
|
1843
|
-
return {
|
|
1844
|
-
total_problems: problems.success ? problems.data.result.length : 0,
|
|
1845
|
-
root_causes: {
|
|
1846
|
-
by_category: Object.fromEntries(rootCauses.by_category),
|
|
1847
|
-
by_state: Object.fromEntries(rootCauses.by_state),
|
|
1848
|
-
resolution_patterns: Object.fromEntries(rootCauses.resolution_patterns)
|
|
1849
|
-
}
|
|
1850
|
-
};
|
|
1851
|
-
}
|
|
1852
|
-
async analyzeUserBehavior(dateFilter) {
|
|
1853
|
-
try {
|
|
1854
|
-
// Query actual user activity data from ServiceNow
|
|
1855
|
-
const activities = [];
|
|
1856
|
-
// Get recent incidents created by users
|
|
1857
|
-
const incidents = await this.client.searchRecords('incident', `sys_created_on>=${dateFilter}^caller_idISNOTEMPTY`, 100);
|
|
1858
|
-
if (incidents.success && incidents.data) {
|
|
1859
|
-
const incidentData = Array.isArray(incidents.data) ? incidents.data : [incidents.data];
|
|
1860
|
-
const userIncidents = new Map();
|
|
1861
|
-
incidentData.forEach(inc => {
|
|
1862
|
-
const userId = inc.caller_id?.value || inc.caller_id;
|
|
1863
|
-
if (userId) {
|
|
1864
|
-
userIncidents.set(userId, (userIncidents.get(userId) || 0) + 1);
|
|
1865
|
-
}
|
|
1866
|
-
});
|
|
1867
|
-
activities.push({
|
|
1868
|
-
metric: 'incident_reporting',
|
|
1869
|
-
total_incidents: incidentData.length,
|
|
1870
|
-
unique_users: userIncidents.size,
|
|
1871
|
-
avg_per_user: userIncidents.size > 0 ? Math.round(incidentData.length / userIncidents.size * 10) / 10 : 0
|
|
1872
|
-
});
|
|
1873
|
-
}
|
|
1874
|
-
// Get service requests
|
|
1875
|
-
const requests = await this.client.searchRecords('sc_request', `sys_created_on>=${dateFilter}^requested_forISNOTEMPTY`, 100);
|
|
1876
|
-
if (requests.success && requests.data) {
|
|
1877
|
-
const requestData = Array.isArray(requests.data) ? requests.data : [requests.data];
|
|
1878
|
-
activities.push({
|
|
1879
|
-
metric: 'request_frequency',
|
|
1880
|
-
total_requests: requestData.length,
|
|
1881
|
-
period: dateFilter
|
|
1882
|
-
});
|
|
1883
|
-
}
|
|
1884
|
-
return {
|
|
1885
|
-
analysis_period: dateFilter,
|
|
1886
|
-
generated_at: new Date().toISOString(),
|
|
1887
|
-
user_activities: activities,
|
|
1888
|
-
summary: `Analyzed ${activities.length} activity metrics for period: ${dateFilter}`,
|
|
1889
|
-
note: 'Analysis based on actual ServiceNow data from incident and request tables'
|
|
1890
|
-
};
|
|
1891
|
-
}
|
|
1892
|
-
catch (error) {
|
|
1893
|
-
return {
|
|
1894
|
-
error: 'User behavior _analysis failed',
|
|
1895
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1896
|
-
available_metrics: ['incident_reporting', 'request_frequency']
|
|
1897
|
-
};
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
async calculateKnowledgeRelevance(articles, incident) {
|
|
1901
|
-
const relevanceScores = [];
|
|
1902
|
-
const incidentDescription = (incident.short_description || '').toLowerCase();
|
|
1903
|
-
const incidentKeywords = incidentDescription.split(/\s+/).filter((word) => word.length > 3);
|
|
1904
|
-
articles.forEach(article => {
|
|
1905
|
-
const articleText = (article.text || '').toLowerCase();
|
|
1906
|
-
const articleKeywords = articleText.split(/\s+/).filter((word) => word.length > 3);
|
|
1907
|
-
// Simple relevance scoring based on keyword overlap
|
|
1908
|
-
const commonKeywords = incidentKeywords.filter((keyword) => articleKeywords.includes(keyword));
|
|
1909
|
-
const relevanceScore = commonKeywords.length / Math.max(incidentKeywords.length, 1);
|
|
1910
|
-
relevanceScores.push({
|
|
1911
|
-
article_id: article.sys_id,
|
|
1912
|
-
article_title: article.title,
|
|
1913
|
-
relevance_score: relevanceScore,
|
|
1914
|
-
common_keywords: commonKeywords
|
|
1915
|
-
});
|
|
1916
|
-
});
|
|
1917
|
-
return relevanceScores.sort((a, b) => b.relevance_score - a.relevance_score);
|
|
1918
|
-
}
|
|
1919
|
-
async performPredictiveAnalysis(predictionType, timeframe) {
|
|
1920
|
-
try {
|
|
1921
|
-
const currentDate = new Date();
|
|
1922
|
-
const _analysis = {
|
|
1923
|
-
prediction_type: predictionType,
|
|
1924
|
-
timeframe: timeframe,
|
|
1925
|
-
generated_at: currentDate.toISOString(),
|
|
1926
|
-
analysis_method: 'trend__analysis',
|
|
1927
|
-
data_points: []
|
|
1928
|
-
};
|
|
1929
|
-
switch (predictionType) {
|
|
1930
|
-
case 'incident_volume':
|
|
1931
|
-
_analysis.data_points = await this.analyzeIncidentTrends(timeframe);
|
|
1932
|
-
_analysis.interpretation = 'Based on recent incident creation patterns';
|
|
1933
|
-
break;
|
|
1934
|
-
case 'system_failure':
|
|
1935
|
-
_analysis.data_points = await this.analyzeSystemHealthTrends(timeframe);
|
|
1936
|
-
_analysis.interpretation = 'Based on critical incident patterns and system health indicators';
|
|
1937
|
-
break;
|
|
1938
|
-
case 'resource_exhaustion':
|
|
1939
|
-
_analysis.data_points = await this.analyzeResourceTrends(timeframe);
|
|
1940
|
-
_analysis.interpretation = 'Based on request volumes and capacity indicators';
|
|
1941
|
-
break;
|
|
1942
|
-
case 'user_impact':
|
|
1943
|
-
_analysis.data_points = await this.analyzeUserImpactTrends(timeframe);
|
|
1944
|
-
_analysis.interpretation = 'Based on user-reported incidents and service requests';
|
|
1945
|
-
break;
|
|
1946
|
-
default:
|
|
1947
|
-
_analysis.data_points = [{ error: 'Unknown prediction type', supported_types: ['incident_volume', 'system_failure', 'resource_exhaustion', 'user_impact'] }];
|
|
1948
|
-
_analysis.interpretation = 'Unsupported _analysis type';
|
|
1949
|
-
}
|
|
1950
|
-
return _analysis;
|
|
1951
|
-
}
|
|
1952
|
-
catch (error) {
|
|
1953
|
-
return {
|
|
1954
|
-
prediction_type: predictionType,
|
|
1955
|
-
timeframe: timeframe,
|
|
1956
|
-
error: 'Analysis failed',
|
|
1957
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1958
|
-
generated_at: new Date().toISOString()
|
|
1959
|
-
};
|
|
1960
|
-
}
|
|
1961
|
-
}
|
|
1962
|
-
// New trend _analysis methods
|
|
1963
|
-
async analyzeIncidentTrends(timeframe) {
|
|
1964
|
-
try {
|
|
1965
|
-
const incidents = await this.client.searchRecords('incident', 'sys_created_onONToday@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)', 100);
|
|
1966
|
-
if (incidents.success && incidents.data) {
|
|
1967
|
-
const incidentData = Array.isArray(incidents.data) ? incidents.data : [incidents.data];
|
|
1968
|
-
const dailyCounts = new Map();
|
|
1969
|
-
incidentData.forEach(incident => {
|
|
1970
|
-
const date = new Date(incident.sys_created_on).toDateString();
|
|
1971
|
-
dailyCounts.set(date, (dailyCounts.get(date) || 0) + 1);
|
|
1972
|
-
});
|
|
1973
|
-
return Array.from(dailyCounts.entries()).map(([date, count]) => ({
|
|
1974
|
-
date,
|
|
1975
|
-
incident_count: count,
|
|
1976
|
-
trend: count > 5 ? 'increasing' : 'stable'
|
|
1977
|
-
}));
|
|
1978
|
-
}
|
|
1979
|
-
}
|
|
1980
|
-
catch (error) {
|
|
1981
|
-
return [{ error: 'Failed to analyze incident trends', message: String(error) }];
|
|
1982
|
-
}
|
|
1983
|
-
return [{ message: 'No incident data available for _analysis' }];
|
|
1984
|
-
}
|
|
1985
|
-
async analyzeSystemHealthTrends(timeframe) {
|
|
1986
|
-
try {
|
|
1987
|
-
const criticalIncidents = await this.client.searchRecords('incident', 'priority=1^sys_created_onONToday@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)', 50);
|
|
1988
|
-
if (criticalIncidents.success && criticalIncidents.data) {
|
|
1989
|
-
const criticalData = Array.isArray(criticalIncidents.data) ? criticalIncidents.data : [criticalIncidents.data];
|
|
1990
|
-
return [{
|
|
1991
|
-
metric: 'critical_incidents',
|
|
1992
|
-
count: criticalData.length,
|
|
1993
|
-
health_indicator: criticalData.length > 3 ? 'at_risk' : 'stable',
|
|
1994
|
-
recent_issues: criticalData.slice(0, 3).map(inc => inc.short_description)
|
|
1995
|
-
}];
|
|
1996
|
-
}
|
|
1997
|
-
}
|
|
1998
|
-
catch (error) {
|
|
1999
|
-
return [{ error: 'Failed to analyze system health trends', message: String(error) }];
|
|
2000
|
-
}
|
|
2001
|
-
return [{ message: 'No system health data available' }];
|
|
2002
|
-
}
|
|
2003
|
-
async analyzeResourceTrends(timeframe) {
|
|
2004
|
-
try {
|
|
2005
|
-
const requests = await this.client.searchRecords('sc_request', 'sys_created_onONToday@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)', 100);
|
|
2006
|
-
if (requests.success && requests.data) {
|
|
2007
|
-
const requestData = Array.isArray(requests.data) ? requests.data : [requests.data];
|
|
2008
|
-
return [{
|
|
2009
|
-
metric: 'request_volume',
|
|
2010
|
-
total_requests: requestData.length,
|
|
2011
|
-
resource_pressure: requestData.length > 20 ? 'high' : 'normal',
|
|
2012
|
-
trend: 'stable'
|
|
2013
|
-
}];
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
catch (error) {
|
|
2017
|
-
return [{ error: 'Failed to analyze resource trends', message: String(error) }];
|
|
2018
|
-
}
|
|
2019
|
-
return [{ message: 'No resource usage data available' }];
|
|
2020
|
-
}
|
|
2021
|
-
async analyzeUserImpactTrends(timeframe) {
|
|
2022
|
-
try {
|
|
2023
|
-
const userIncidents = await this.client.searchRecords('incident', 'caller_idISNOTEMPTY^sys_created_onONToday@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)', 100);
|
|
2024
|
-
if (userIncidents.success && userIncidents.data) {
|
|
2025
|
-
const incidentData = Array.isArray(userIncidents.data) ? userIncidents.data : [userIncidents.data];
|
|
2026
|
-
const impactCounts = new Map();
|
|
2027
|
-
incidentData.forEach(incident => {
|
|
2028
|
-
const impact = incident.impact || 'unknown';
|
|
2029
|
-
impactCounts.set(impact, (impactCounts.get(impact) || 0) + 1);
|
|
2030
|
-
});
|
|
2031
|
-
return [{
|
|
2032
|
-
metric: 'user_impact_distribution',
|
|
2033
|
-
high_impact: impactCounts.get('1') || 0,
|
|
2034
|
-
medium_impact: impactCounts.get('2') || 0,
|
|
2035
|
-
low_impact: impactCounts.get('3') || 0,
|
|
2036
|
-
total_affected_users: incidentData.length,
|
|
2037
|
-
impact_trend: (impactCounts.get('1') || 0) > 5 ? 'increasing' : 'stable'
|
|
2038
|
-
}];
|
|
2039
|
-
}
|
|
2040
|
-
}
|
|
2041
|
-
catch (error) {
|
|
2042
|
-
return [{ error: 'Failed to analyze user impact trends', message: String(error) }];
|
|
2043
|
-
}
|
|
2044
|
-
return [{ message: 'No user impact data available' }];
|
|
2045
|
-
}
|
|
2046
|
-
async predictIncidentVolume(timeframe) {
|
|
2047
|
-
// Get historical incident data
|
|
2048
|
-
const historicalData = await this.client.searchRecords('incident', 'sys_created_onONLast 30 days@javascript:gs.daysAgoStart(30)@javascript:gs.daysAgoEnd(0)', 1000);
|
|
2049
|
-
const dailyVolume = new Map();
|
|
2050
|
-
if (historicalData.success) {
|
|
2051
|
-
historicalData.data.result.forEach((incident) => {
|
|
2052
|
-
const date = new Date(incident.sys_created_on).toDateString();
|
|
2053
|
-
dailyVolume.set(date, (dailyVolume.get(date) || 0) + 1);
|
|
2054
|
-
});
|
|
2055
|
-
}
|
|
2056
|
-
const avgDailyVolume = Array.from(dailyVolume.values()).reduce((a, b) => a + b, 0) / dailyVolume.size;
|
|
2057
|
-
return [
|
|
2058
|
-
{
|
|
2059
|
-
metric: 'daily_incident_volume',
|
|
2060
|
-
predicted_value: Math.round(avgDailyVolume * 1.1), // Simple trend prediction
|
|
2061
|
-
current_average: Math.round(avgDailyVolume),
|
|
2062
|
-
trend: 'increasing',
|
|
2063
|
-
confidence: 0.6
|
|
2064
|
-
}
|
|
2065
|
-
];
|
|
2066
|
-
}
|
|
2067
|
-
async predictSystemFailure(timeframe) {
|
|
2068
|
-
// Analyze problem records and incident patterns
|
|
2069
|
-
const problems = await this.client.searchRecords('problem', 'sys_created_onONLast 30 days@javascript:gs.daysAgoStart(30)@javascript:gs.daysAgoEnd(0)', 100);
|
|
2070
|
-
const systemFailures = problems.success ? problems.data.result.filter((problem) => (problem.short_description || '').toLowerCase().includes('system') ||
|
|
2071
|
-
(problem.short_description || '').toLowerCase().includes('failure') ||
|
|
2072
|
-
(problem.short_description || '').toLowerCase().includes('outage')) : [];
|
|
2073
|
-
return [
|
|
2074
|
-
{
|
|
2075
|
-
metric: 'system_failure_risk',
|
|
2076
|
-
predicted_value: systemFailures.length > 5 ? 'high' : 'medium',
|
|
2077
|
-
current_problems: systemFailures.length,
|
|
2078
|
-
risk_factors: ['Historical system problems', 'Incident patterns'],
|
|
2079
|
-
confidence: 0.5
|
|
2080
|
-
}
|
|
2081
|
-
];
|
|
2082
|
-
}
|
|
2083
|
-
async predictResourceExhaustion(timeframe) {
|
|
2084
|
-
// This would require integration with monitoring systems
|
|
2085
|
-
return [
|
|
2086
|
-
{
|
|
2087
|
-
metric: 'resource_exhaustion_risk',
|
|
2088
|
-
predicted_value: 'low',
|
|
2089
|
-
message: 'Resource exhaustion prediction requires monitoring system integration',
|
|
2090
|
-
confidence: 0.3
|
|
2091
|
-
}
|
|
2092
|
-
];
|
|
2093
|
-
}
|
|
2094
|
-
async predictUserImpact(timeframe) {
|
|
2095
|
-
// Analyze user-reported incidents
|
|
2096
|
-
const userIncidents = await this.client.searchRecords('incident', 'sys_created_onONLast 7 days@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)^priority=1', 100);
|
|
2097
|
-
const impactLevels = new Map();
|
|
2098
|
-
if (userIncidents.success) {
|
|
2099
|
-
userIncidents.data.result.forEach((incident) => {
|
|
2100
|
-
const impact = incident.impact || 'unknown';
|
|
2101
|
-
impactLevels.set(impact, (impactLevels.get(impact) || 0) + 1);
|
|
2102
|
-
});
|
|
2103
|
-
}
|
|
2104
|
-
return [
|
|
2105
|
-
{
|
|
2106
|
-
metric: 'user_impact_prediction',
|
|
2107
|
-
predicted_value: impactLevels.get('1') > 5 ? 'high' : 'medium',
|
|
2108
|
-
current_high_impact: impactLevels.get('1') || 0,
|
|
2109
|
-
trend_factors: ['High priority incidents', 'User complaints'],
|
|
2110
|
-
confidence: 0.6
|
|
2111
|
-
}
|
|
2112
|
-
];
|
|
2113
|
-
}
|
|
2114
|
-
async handleCatalogItemManager(args) {
|
|
2115
|
-
const { action, item_id, ...params } = args;
|
|
2116
|
-
this.logger.info(`Catalog item manager action: ${action}`, { item_id, params });
|
|
2117
|
-
try {
|
|
2118
|
-
switch (action) {
|
|
2119
|
-
case 'create': {
|
|
2120
|
-
// Get default catalog if none provided
|
|
2121
|
-
let catalogId = params.sc_catalogs || params.catalog_id;
|
|
2122
|
-
let categoryId = params.sc_categories || params.category_id;
|
|
2123
|
-
if (!catalogId) {
|
|
2124
|
-
// Find default Service Catalog
|
|
2125
|
-
const defaultCatalogResult = await this.client.searchRecords('sc_catalog', 'active=true^ORDERBYsys_created_on', 1);
|
|
2126
|
-
if (defaultCatalogResult.success && defaultCatalogResult.data?.result?.length > 0) {
|
|
2127
|
-
catalogId = defaultCatalogResult.data.result[0].sys_id;
|
|
2128
|
-
this.logger.info('Using default catalog:', {
|
|
2129
|
-
catalogId,
|
|
2130
|
-
catalogName: defaultCatalogResult.data.result[0].title
|
|
2131
|
-
});
|
|
2132
|
-
}
|
|
2133
|
-
else {
|
|
2134
|
-
this.logger.warn('No catalogs found, catalog item may not be visible');
|
|
2135
|
-
}
|
|
2136
|
-
}
|
|
2137
|
-
if (!categoryId) {
|
|
2138
|
-
// Find a default category like "Hardware" or "General"
|
|
2139
|
-
const defaultCategoryResult = await this.client.searchRecords('sc_category', 'active=true^titleLIKEHardware^ORtitleLIKEGeneral^ORtitleLIKEIT^ORDERBYsys_created_on', 1);
|
|
2140
|
-
if (defaultCategoryResult.success && defaultCategoryResult.data?.result?.length > 0) {
|
|
2141
|
-
categoryId = defaultCategoryResult.data.result[0].sys_id;
|
|
2142
|
-
this.logger.info('Using default category:', {
|
|
2143
|
-
categoryId,
|
|
2144
|
-
categoryName: defaultCategoryResult.data.result[0].title
|
|
2145
|
-
});
|
|
2146
|
-
}
|
|
2147
|
-
}
|
|
2148
|
-
const catalogItem = {
|
|
2149
|
-
name: params.name,
|
|
2150
|
-
short_description: params.short_description,
|
|
2151
|
-
description: params.description,
|
|
2152
|
-
price: params.price || '0',
|
|
2153
|
-
recurring_price: params.recurring_price || '0',
|
|
2154
|
-
billable: params.billable || false,
|
|
2155
|
-
active: params.active !== false,
|
|
2156
|
-
workflow: params.workflow,
|
|
2157
|
-
picture: params.picture,
|
|
2158
|
-
sc_catalogs: catalogId,
|
|
2159
|
-
sc_categories: categoryId,
|
|
2160
|
-
sys_class_name: 'sc_cat_item'
|
|
2161
|
-
};
|
|
2162
|
-
const result = await this.client.createRecord('sc_cat_item', catalogItem);
|
|
2163
|
-
if (result.success && params.variables && params.variables.length > 0) {
|
|
2164
|
-
// Add variables to the catalog item
|
|
2165
|
-
for (const variable of params.variables) {
|
|
2166
|
-
await this.createCatalogVariable(result.data.sys_id, variable);
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
return {
|
|
2170
|
-
content: [{
|
|
2171
|
-
type: 'text',
|
|
2172
|
-
text: result.success
|
|
2173
|
-
? `✅ Catalog item created successfully!\n\nSys ID: ${result.data.sys_id}\nName: ${result.data.name}\n\nView at: ${this.getServiceNowUrl()}/nav_to.do?uri=sc_cat_item.do?sys_id=${result.data.sys_id}`
|
|
2174
|
-
: `❌ Failed to create catalog item: ${result.error}`
|
|
2175
|
-
}]
|
|
2176
|
-
};
|
|
2177
|
-
}
|
|
2178
|
-
case 'update': {
|
|
2179
|
-
if (!item_id) {
|
|
2180
|
-
throw new Error('item_id is required for update action');
|
|
2181
|
-
}
|
|
2182
|
-
const updateData = {};
|
|
2183
|
-
if (params.name)
|
|
2184
|
-
updateData.name = params.name;
|
|
2185
|
-
if (params.short_description)
|
|
2186
|
-
updateData.short_description = params.short_description;
|
|
2187
|
-
if (params.description)
|
|
2188
|
-
updateData.description = params.description;
|
|
2189
|
-
if (params.price)
|
|
2190
|
-
updateData.price = params.price;
|
|
2191
|
-
if (params.recurring_price)
|
|
2192
|
-
updateData.recurring_price = params.recurring_price;
|
|
2193
|
-
if (params.billable !== undefined)
|
|
2194
|
-
updateData.billable = params.billable;
|
|
2195
|
-
if (params.active !== undefined)
|
|
2196
|
-
updateData.active = params.active;
|
|
2197
|
-
if (params.workflow)
|
|
2198
|
-
updateData.workflow = params.workflow;
|
|
2199
|
-
if (params.sc_catalogs)
|
|
2200
|
-
updateData.sc_catalogs = params.sc_catalogs;
|
|
2201
|
-
if (params.sc_categories)
|
|
2202
|
-
updateData.sc_categories = params.sc_categories;
|
|
2203
|
-
const result = await this.client.updateRecord('sc_cat_item', item_id, updateData);
|
|
2204
|
-
return {
|
|
2205
|
-
content: [{
|
|
2206
|
-
type: 'text',
|
|
2207
|
-
text: result.success
|
|
2208
|
-
? `✅ Catalog item updated successfully!\n\nSys ID: ${item_id}\n\nView at: ${this.getServiceNowUrl()}/nav_to.do?uri=sc_cat_item.do?sys_id=${item_id}`
|
|
2209
|
-
: `❌ Failed to update catalog item: ${result.error}`
|
|
2210
|
-
}]
|
|
2211
|
-
};
|
|
2212
|
-
}
|
|
2213
|
-
case 'list': {
|
|
2214
|
-
const query = params.category_id ? `sc_categories=${params.category_id}` : 'active=true';
|
|
2215
|
-
const result = await this.client.searchRecords('sc_cat_item', query, 50);
|
|
2216
|
-
if (result.success) {
|
|
2217
|
-
const items = result.data.result.map((item) => ({
|
|
2218
|
-
sys_id: item.sys_id,
|
|
2219
|
-
name: item.name,
|
|
2220
|
-
short_description: item.short_description,
|
|
2221
|
-
price: item.price,
|
|
2222
|
-
active: item.active,
|
|
2223
|
-
category: item.category?.display_value
|
|
2224
|
-
}));
|
|
2225
|
-
return {
|
|
2226
|
-
content: [{
|
|
2227
|
-
type: 'text',
|
|
2228
|
-
text: `📋 Found ${items.length} catalog items:\n\n${JSON.stringify(items, null, 2)}`
|
|
2229
|
-
}]
|
|
2230
|
-
};
|
|
2231
|
-
}
|
|
2232
|
-
else {
|
|
2233
|
-
throw new Error(`Failed to list catalog items: ${result.error}`);
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
case 'get': {
|
|
2237
|
-
if (!item_id) {
|
|
2238
|
-
throw new Error('item_id is required for get action');
|
|
2239
|
-
}
|
|
2240
|
-
const result = await this.client.getRecord('sc_cat_item', item_id);
|
|
2241
|
-
if (result.success) {
|
|
2242
|
-
// Get variables for the item
|
|
2243
|
-
const variables = await this.client.searchRecords('item_option_new', `cat_item=${item_id}`, 50);
|
|
2244
|
-
return {
|
|
2245
|
-
content: [{
|
|
2246
|
-
type: 'text',
|
|
2247
|
-
text: `📋 Catalog Item Details:\n\n${JSON.stringify(result.data, null, 2)}\n\n📊 Variables:\n${JSON.stringify(variables.data?.result || [], null, 2)}`
|
|
2248
|
-
}]
|
|
2249
|
-
};
|
|
2250
|
-
}
|
|
2251
|
-
else {
|
|
2252
|
-
throw new Error(`Failed to get catalog item: ${result.error}`);
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
case 'add_variable': {
|
|
2256
|
-
if (!item_id) {
|
|
2257
|
-
throw new Error('item_id is required for add_variable action');
|
|
2258
|
-
}
|
|
2259
|
-
if (!params.variables || params.variables.length === 0) {
|
|
2260
|
-
throw new Error('variables array is required');
|
|
2261
|
-
}
|
|
2262
|
-
const results = [];
|
|
2263
|
-
for (const variable of params.variables) {
|
|
2264
|
-
const result = await this.createCatalogVariable(item_id, variable);
|
|
2265
|
-
results.push(result);
|
|
2266
|
-
}
|
|
2267
|
-
return {
|
|
2268
|
-
content: [{
|
|
2269
|
-
type: 'text',
|
|
2270
|
-
text: `✅ Added ${results.length} variables to catalog item ${item_id}`
|
|
2271
|
-
}]
|
|
2272
|
-
};
|
|
2273
|
-
}
|
|
2274
|
-
case 'set_workflow': {
|
|
2275
|
-
if (!item_id) {
|
|
2276
|
-
throw new Error('item_id is required for set_workflow action');
|
|
2277
|
-
}
|
|
2278
|
-
if (!params.workflow) {
|
|
2279
|
-
throw new Error('workflow is required');
|
|
2280
|
-
}
|
|
2281
|
-
const result = await this.client.updateRecord('sc_cat_item', item_id, {
|
|
2282
|
-
workflow: params.workflow
|
|
2283
|
-
});
|
|
2284
|
-
return {
|
|
2285
|
-
content: [{
|
|
2286
|
-
type: 'text',
|
|
2287
|
-
text: result.success
|
|
2288
|
-
? `✅ Workflow set successfully for catalog item ${item_id}`
|
|
2289
|
-
: `❌ Failed to set workflow: ${result.error}`
|
|
2290
|
-
}]
|
|
2291
|
-
};
|
|
2292
|
-
}
|
|
2293
|
-
case 'publish': {
|
|
2294
|
-
if (!item_id) {
|
|
2295
|
-
throw new Error('item_id is required for publish action');
|
|
2296
|
-
}
|
|
2297
|
-
const result = await this.client.updateRecord('sc_cat_item', item_id, {
|
|
2298
|
-
active: true
|
|
2299
|
-
});
|
|
2300
|
-
return {
|
|
2301
|
-
content: [{
|
|
2302
|
-
type: 'text',
|
|
2303
|
-
text: result.success
|
|
2304
|
-
? `✅ Catalog item ${item_id} published successfully`
|
|
2305
|
-
: `❌ Failed to publish catalog item: ${result.error}`
|
|
2306
|
-
}]
|
|
2307
|
-
};
|
|
2308
|
-
}
|
|
2309
|
-
case 'retire': {
|
|
2310
|
-
if (!item_id) {
|
|
2311
|
-
throw new Error('item_id is required for retire action');
|
|
2312
|
-
}
|
|
2313
|
-
const result = await this.client.updateRecord('sc_cat_item', item_id, {
|
|
2314
|
-
active: false
|
|
2315
|
-
});
|
|
2316
|
-
return {
|
|
2317
|
-
content: [{
|
|
2318
|
-
type: 'text',
|
|
2319
|
-
text: result.success
|
|
2320
|
-
? `✅ Catalog item ${item_id} retired successfully`
|
|
2321
|
-
: `❌ Failed to retire catalog item: ${result.error}`
|
|
2322
|
-
}]
|
|
2323
|
-
};
|
|
2324
|
-
}
|
|
2325
|
-
default:
|
|
2326
|
-
throw new Error(`Unknown action: ${action}`);
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
catch (error) {
|
|
2330
|
-
this.logger.error('Error in catalog item manager:', error);
|
|
2331
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Catalog item manager error: ${error}`);
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
async createCatalogVariable(catalogItemId, variable) {
|
|
2335
|
-
const variableData = {
|
|
2336
|
-
cat_item: catalogItemId,
|
|
2337
|
-
name: variable.name,
|
|
2338
|
-
question_text: variable.label || variable.name,
|
|
2339
|
-
type: this.mapVariableType(variable.type),
|
|
2340
|
-
mandatory: variable.mandatory || false,
|
|
2341
|
-
default_value: variable.default_value || '',
|
|
2342
|
-
order: variable.order || 100
|
|
2343
|
-
};
|
|
2344
|
-
// Handle select box choices
|
|
2345
|
-
if (variable.type === 'select_box' && variable.choices) {
|
|
2346
|
-
variableData.lookup_table = 'question_choice';
|
|
2347
|
-
// Note: In a real implementation, you'd need to create choice records
|
|
2348
|
-
}
|
|
2349
|
-
return await this.client.createRecord('item_option_new', variableData);
|
|
2350
|
-
}
|
|
2351
|
-
mapVariableType(type) {
|
|
2352
|
-
const typeMap = {
|
|
2353
|
-
'single_line_text': '6', // Single Line Text
|
|
2354
|
-
'multi_line_text': '2', // Multi Line Text
|
|
2355
|
-
'select_box': '3', // Select Box
|
|
2356
|
-
'checkbox': '7', // Checkbox
|
|
2357
|
-
'reference': '8', // Reference
|
|
2358
|
-
'date': '9', // Date
|
|
2359
|
-
'datetime': '10' // Date/Time
|
|
2360
|
-
};
|
|
2361
|
-
return typeMap[type] || '6'; // Default to single line text
|
|
2362
|
-
}
|
|
2363
|
-
async handleCatalogItemSearch(args) {
|
|
2364
|
-
const { query, include_inactive = false, fuzzy_match = true, category_filter, limit = 50, include_variables = false } = args;
|
|
2365
|
-
this.logger.info(`Searching catalog items for: ${query}`, { fuzzy_match, category_filter, limit });
|
|
2366
|
-
try {
|
|
2367
|
-
// Build search queries
|
|
2368
|
-
const searchQueries = [];
|
|
2369
|
-
// Exact match
|
|
2370
|
-
searchQueries.push(`name=${query}`);
|
|
2371
|
-
// Contains match
|
|
2372
|
-
searchQueries.push(`nameLIKE${query}`);
|
|
2373
|
-
searchQueries.push(`short_descriptionLIKE${query}`);
|
|
2374
|
-
// Fuzzy matching for similar items
|
|
2375
|
-
if (fuzzy_match) {
|
|
2376
|
-
// Handle common variations
|
|
2377
|
-
const variations = this.generateSearchVariations(query);
|
|
2378
|
-
variations.forEach(variation => {
|
|
2379
|
-
searchQueries.push(`nameLIKE${variation}`);
|
|
2380
|
-
searchQueries.push(`short_descriptionLIKE${variation}`);
|
|
2381
|
-
});
|
|
2382
|
-
}
|
|
2383
|
-
// Add active filter
|
|
2384
|
-
const activeFilter = include_inactive ? '' : '^active=true';
|
|
2385
|
-
// Add category filter if provided
|
|
2386
|
-
let categoryFilter = '';
|
|
2387
|
-
if (category_filter) {
|
|
2388
|
-
// First try to find the category
|
|
2389
|
-
const categoryResult = await this.client.searchRecords('sc_category', `nameLIKE${category_filter}^ORtitle=${category_filter}^ORsys_id=${category_filter}`, 10);
|
|
2390
|
-
if (categoryResult.success && categoryResult.data?.result?.length > 0) {
|
|
2391
|
-
// Try to find the most relevant category
|
|
2392
|
-
const exactMatch = categoryResult.data.result.find((c) => c.name.toLowerCase() === category_filter.toLowerCase());
|
|
2393
|
-
const category = exactMatch || categoryResult.data.result[0];
|
|
2394
|
-
categoryFilter = `^sc_categoriesLIKE${category.sys_id}`;
|
|
2395
|
-
}
|
|
2396
|
-
}
|
|
2397
|
-
// Execute searches
|
|
2398
|
-
const allResults = new Map();
|
|
2399
|
-
for (const searchQuery of searchQueries) {
|
|
2400
|
-
const fullQuery = searchQuery + activeFilter + categoryFilter;
|
|
2401
|
-
const result = await this.client.searchRecords('sc_cat_item', fullQuery, limit);
|
|
2402
|
-
if (result.success && result.data?.result) {
|
|
2403
|
-
result.data.result.forEach((item) => {
|
|
2404
|
-
if (!allResults.has(item.sys_id)) {
|
|
2405
|
-
// Filter out items that don't make sense for the search
|
|
2406
|
-
const itemName = (item.name || '').toLowerCase();
|
|
2407
|
-
const itemDesc = (item.short_description || '').toLowerCase();
|
|
2408
|
-
// Skip items that are clearly not what the user is looking for
|
|
2409
|
-
if (this.shouldExcludeItem(query, itemName, itemDesc)) {
|
|
2410
|
-
return;
|
|
2411
|
-
}
|
|
2412
|
-
allResults.set(item.sys_id, {
|
|
2413
|
-
sys_id: item.sys_id,
|
|
2414
|
-
name: item.name,
|
|
2415
|
-
short_description: item.short_description,
|
|
2416
|
-
price: item.price,
|
|
2417
|
-
recurring_price: item.recurring_price,
|
|
2418
|
-
active: item.active,
|
|
2419
|
-
category: item.sc_categories?.display_value,
|
|
2420
|
-
catalog: item.sc_catalogs?.display_value,
|
|
2421
|
-
model_number: item.model,
|
|
2422
|
-
manufacturer: item.vendor,
|
|
2423
|
-
variables: []
|
|
2424
|
-
});
|
|
2425
|
-
}
|
|
2426
|
-
});
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
// Get variables if requested
|
|
2430
|
-
if (include_variables && allResults.size > 0) {
|
|
2431
|
-
for (const [sys_id, item] of allResults) {
|
|
2432
|
-
const variablesResult = await this.client.searchRecords('item_option_new', `cat_item=${sys_id}`, 50);
|
|
2433
|
-
if (variablesResult.success && variablesResult.data?.result) {
|
|
2434
|
-
item.variables = variablesResult.data.result.map((v) => ({
|
|
2435
|
-
name: v.name,
|
|
2436
|
-
label: v.question_text,
|
|
2437
|
-
type: v.type,
|
|
2438
|
-
mandatory: v.mandatory,
|
|
2439
|
-
default_value: v.default_value
|
|
2440
|
-
}));
|
|
2441
|
-
}
|
|
2442
|
-
}
|
|
2443
|
-
}
|
|
2444
|
-
const resultsArray = Array.from(allResults.values());
|
|
2445
|
-
// Sort by relevance (exact matches first)
|
|
2446
|
-
resultsArray.sort((a, b) => {
|
|
2447
|
-
const aExact = a.name.toLowerCase() === query.toLowerCase();
|
|
2448
|
-
const bExact = b.name.toLowerCase() === query.toLowerCase();
|
|
2449
|
-
if (aExact && !bExact)
|
|
2450
|
-
return -1;
|
|
2451
|
-
if (!aExact && bExact)
|
|
2452
|
-
return 1;
|
|
2453
|
-
return 0;
|
|
2454
|
-
});
|
|
2455
|
-
if (resultsArray.length === 0) {
|
|
2456
|
-
// Provide suggestions if no results found
|
|
2457
|
-
const suggestions = this.generateSearchSuggestions(query);
|
|
2458
|
-
return {
|
|
2459
|
-
content: [{
|
|
2460
|
-
type: 'text',
|
|
2461
|
-
text: `❌ No catalog items found for "${query}"\n\n` +
|
|
2462
|
-
`💡 Suggestions:\n` +
|
|
2463
|
-
suggestions.map(s => `- Try searching for "${s}"`).join('\n') +
|
|
2464
|
-
`\n\n💡 Tips:\n` +
|
|
2465
|
-
`- Check if the item name is spelled correctly\n` +
|
|
2466
|
-
`- Try searching with partial names (e.g., "iPhone" instead of "iPhone 6S")\n` +
|
|
2467
|
-
`- Use category filter to narrow down results\n` +
|
|
2468
|
-
`- Enable include_inactive if looking for retired items`
|
|
2469
|
-
}]
|
|
2470
|
-
};
|
|
2471
|
-
}
|
|
2472
|
-
// Format results
|
|
2473
|
-
let resultText = `🔍 Found ${resultsArray.length} catalog items matching "${query}":\n\n`;
|
|
2474
|
-
resultsArray.forEach((item, index) => {
|
|
2475
|
-
resultText += `${index + 1}. **${item.name}** (${item.sys_id})\n`;
|
|
2476
|
-
resultText += ` 📝 ${item.short_description || 'No description'}\n`;
|
|
2477
|
-
resultText += ` 💰 Price: $${item.price || '0'} ${item.recurring_price ? `(+ $${item.recurring_price}/month)` : ''}\n`;
|
|
2478
|
-
resultText += ` 📁 Category: ${item.category || 'Uncategorized'}\n`;
|
|
2479
|
-
resultText += ` 📚 Catalog: ${item.catalog || 'Default'}\n`;
|
|
2480
|
-
if (item.model_number) {
|
|
2481
|
-
resultText += ` 🔢 Model: ${item.model_number}\n`;
|
|
2482
|
-
}
|
|
2483
|
-
if (item.manufacturer) {
|
|
2484
|
-
resultText += ` 🏭 Manufacturer: ${item.manufacturer}\n`;
|
|
2485
|
-
}
|
|
2486
|
-
resultText += ` ✅ Status: ${item.active ? 'Active' : 'Inactive'}\n`;
|
|
2487
|
-
if (item.variables && item.variables.length > 0) {
|
|
2488
|
-
resultText += ` 📋 Variables (${item.variables.length}):\n`;
|
|
2489
|
-
item.variables.forEach((v) => {
|
|
2490
|
-
resultText += ` - ${v.label} (${v.name}) - ${v.type}${v.mandatory ? ' *Required' : ''}\n`;
|
|
2491
|
-
});
|
|
2492
|
-
}
|
|
2493
|
-
resultText += '\n';
|
|
2494
|
-
});
|
|
2495
|
-
resultText += `\n💡 Use snow_catalog_item_manager to create or update catalog items`;
|
|
2496
|
-
return {
|
|
2497
|
-
content: [{
|
|
2498
|
-
type: 'text',
|
|
2499
|
-
text: resultText
|
|
2500
|
-
}]
|
|
2501
|
-
};
|
|
2502
|
-
}
|
|
2503
|
-
catch (error) {
|
|
2504
|
-
this.logger.error('Error searching catalog items:', error);
|
|
2505
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Catalog search error: ${error}`);
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
generateSearchVariations(query) {
|
|
2509
|
-
const variations = [];
|
|
2510
|
-
const lowerQuery = query.toLowerCase();
|
|
2511
|
-
// Handle common product variations
|
|
2512
|
-
if (lowerQuery.includes('iphone')) {
|
|
2513
|
-
// Add variations without spaces, with different numbers
|
|
2514
|
-
const baseModel = query.replace(/iphone\s*/i, 'iPhone ');
|
|
2515
|
-
variations.push(baseModel);
|
|
2516
|
-
variations.push(baseModel.replace(' ', ''));
|
|
2517
|
-
// Try different model numbers
|
|
2518
|
-
const modelMatch = query.match(/\d+/);
|
|
2519
|
-
if (modelMatch) {
|
|
2520
|
-
const modelNum = parseInt(modelMatch[0]);
|
|
2521
|
-
variations.push(query.replace(modelNum.toString(), (modelNum + 1).toString()));
|
|
2522
|
-
variations.push(query.replace(modelNum.toString(), (modelNum - 1).toString()));
|
|
2523
|
-
}
|
|
2524
|
-
}
|
|
2525
|
-
// Handle laptop/computer variations
|
|
2526
|
-
if (lowerQuery.includes('laptop') || lowerQuery.includes('computer')) {
|
|
2527
|
-
variations.push('notebook', 'macbook', 'thinkpad', 'dell', 'hp');
|
|
2528
|
-
}
|
|
2529
|
-
// Handle phone variations
|
|
2530
|
-
if (lowerQuery.includes('phone') || lowerQuery.includes('mobile')) {
|
|
2531
|
-
variations.push('smartphone', 'android', 'samsung', 'pixel');
|
|
2532
|
-
}
|
|
2533
|
-
// Handle monitor/display variations
|
|
2534
|
-
if (lowerQuery.includes('monitor') || lowerQuery.includes('display') ||
|
|
2535
|
-
lowerQuery.includes('screen') || lowerQuery.includes('lcd')) {
|
|
2536
|
-
variations.push('monitor', 'display', 'screen', 'lcd', 'led', 'desktop monitor', 'computer monitor', 'external display', 'lcd monitor', 'led monitor', 'dell monitor', 'hp monitor', 'samsung monitor', 'lg monitor');
|
|
2537
|
-
}
|
|
2538
|
-
// Handle desktop/workstation variations
|
|
2539
|
-
if (lowerQuery.includes('desktop') || lowerQuery.includes('workstation')) {
|
|
2540
|
-
variations.push('desktop computer', 'workstation', 'pc', 'desktop pc', 'dell desktop', 'hp desktop', 'lenovo desktop');
|
|
2541
|
-
}
|
|
2542
|
-
// Handle specific hardware terms
|
|
2543
|
-
if (lowerQuery.includes('hardware') || lowerQuery.includes('equipment')) {
|
|
2544
|
-
// Extract specific items from the query
|
|
2545
|
-
const specificItems = [];
|
|
2546
|
-
if (lowerQuery.includes('monitor') || lowerQuery.includes('display') || lowerQuery.includes('screen')) {
|
|
2547
|
-
specificItems.push('monitor', 'display');
|
|
2548
|
-
}
|
|
2549
|
-
if (lowerQuery.includes('desktop')) {
|
|
2550
|
-
specificItems.push('desktop', 'computer');
|
|
2551
|
-
}
|
|
2552
|
-
if (lowerQuery.includes('laptop')) {
|
|
2553
|
-
specificItems.push('laptop', 'notebook');
|
|
2554
|
-
}
|
|
2555
|
-
// If we found specific items, use those instead of generic "hardware"
|
|
2556
|
-
if (specificItems.length > 0) {
|
|
2557
|
-
variations.push(...specificItems);
|
|
2558
|
-
}
|
|
2559
|
-
}
|
|
2560
|
-
// Remove duplicates and empty strings
|
|
2561
|
-
return [...new Set(variations)].filter(v => v && v.length > 0);
|
|
2562
|
-
}
|
|
2563
|
-
generateSearchSuggestions(query) {
|
|
2564
|
-
const suggestions = [];
|
|
2565
|
-
const lowerQuery = query.toLowerCase();
|
|
2566
|
-
if (lowerQuery.includes('iphone')) {
|
|
2567
|
-
suggestions.push('iPhone', 'Apple iPhone', 'iOS device', 'Apple mobile');
|
|
2568
|
-
}
|
|
2569
|
-
else if (lowerQuery.includes('laptop')) {
|
|
2570
|
-
suggestions.push('notebook', 'computer', 'workstation', 'MacBook', 'ThinkPad');
|
|
2571
|
-
}
|
|
2572
|
-
else if (lowerQuery.includes('software')) {
|
|
2573
|
-
suggestions.push('license', 'application', 'subscription', 'SaaS');
|
|
2574
|
-
}
|
|
2575
|
-
else if (lowerQuery.includes('monitor') || lowerQuery.includes('display') ||
|
|
2576
|
-
lowerQuery.includes('screen') || lowerQuery.includes('lcd')) {
|
|
2577
|
-
suggestions.push('monitor', 'display', 'external monitor', 'desktop monitor', 'Dell monitor', 'HP monitor', 'Samsung monitor');
|
|
2578
|
-
}
|
|
2579
|
-
else if (lowerQuery.includes('desktop')) {
|
|
2580
|
-
suggestions.push('desktop computer', 'workstation', 'PC', 'desktop PC', 'Dell desktop', 'HP desktop');
|
|
2581
|
-
}
|
|
2582
|
-
else if (lowerQuery.includes('hardware')) {
|
|
2583
|
-
// For hardware searches, suggest specific item types
|
|
2584
|
-
suggestions.push('monitor', 'keyboard', 'mouse', 'laptop', 'desktop', 'printer', 'scanner', 'docking station', 'headset');
|
|
2585
|
-
}
|
|
2586
|
-
else {
|
|
2587
|
-
// Generic suggestions based on the query
|
|
2588
|
-
const words = query.split(' ');
|
|
2589
|
-
if (words.length > 1) {
|
|
2590
|
-
// Try individual words
|
|
2591
|
-
suggestions.push(...words.filter(w => w.length > 3));
|
|
2592
|
-
// Try first and last word
|
|
2593
|
-
suggestions.push(words[0], words[words.length - 1]);
|
|
2594
|
-
}
|
|
2595
|
-
// Add generic category suggestions
|
|
2596
|
-
suggestions.push('hardware', 'software', 'equipment', 'device', 'accessory');
|
|
2597
|
-
}
|
|
2598
|
-
return [...new Set(suggestions)].filter(s => s && s !== query && s.length > 0);
|
|
2599
|
-
}
|
|
2600
|
-
shouldExcludeItem(query, itemName, itemDesc) {
|
|
2601
|
-
const lowerQuery = query.toLowerCase();
|
|
2602
|
-
// If searching for hardware/monitors/displays, exclude service/process items
|
|
2603
|
-
if ((lowerQuery.includes('hardware') || lowerQuery.includes('monitor') ||
|
|
2604
|
-
lowerQuery.includes('display') || lowerQuery.includes('screen') ||
|
|
2605
|
-
lowerQuery.includes('desktop') || lowerQuery.includes('equipment')) &&
|
|
2606
|
-
(itemName.includes('decommission') || itemName.includes('service') ||
|
|
2607
|
-
itemName.includes('process') || itemName.includes('request') ||
|
|
2608
|
-
itemName.includes('removal') || itemName.includes('decomm') ||
|
|
2609
|
-
itemDesc.includes('decommission') || itemDesc.includes('service process'))) {
|
|
2610
|
-
return true;
|
|
2611
|
-
}
|
|
2612
|
-
// If searching for specific hardware, exclude unrelated items
|
|
2613
|
-
if (lowerQuery.includes('monitor') || lowerQuery.includes('display') || lowerQuery.includes('screen')) {
|
|
2614
|
-
// Exclude items that are clearly not monitors
|
|
2615
|
-
if ((itemName.includes('server') || itemName.includes('controller') ||
|
|
2616
|
-
itemName.includes('software') || itemName.includes('license') ||
|
|
2617
|
-
itemName.includes('training') || itemName.includes('support')) &&
|
|
2618
|
-
!itemName.includes('monitor') && !itemName.includes('display') &&
|
|
2619
|
-
!itemName.includes('screen')) {
|
|
2620
|
-
return true;
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
|
-
// If searching for desktops, exclude non-desktop items
|
|
2624
|
-
if (lowerQuery.includes('desktop')) {
|
|
2625
|
-
if ((itemName.includes('mobile') || itemName.includes('phone') ||
|
|
2626
|
-
itemName.includes('tablet') || itemName.includes('service')) &&
|
|
2627
|
-
!itemName.includes('desktop')) {
|
|
2628
|
-
return true;
|
|
2629
|
-
}
|
|
2630
|
-
}
|
|
2631
|
-
return false;
|
|
2632
|
-
}
|
|
2633
|
-
async handleCleanupTestArtifacts(args) {
|
|
2634
|
-
const { artifact_types = ['catalog_items', 'flows', 'users'], test_patterns = ['Test%', 'Mock%', 'Demo%', '%_test_%', '%test', '%mock'], max_age_hours = 1, dry_run = false, preserve_update_set_entries = true, update_set_filter } = args;
|
|
2635
|
-
this.logger.info('Starting test artifact cleanup', {
|
|
2636
|
-
artifact_types,
|
|
2637
|
-
test_patterns,
|
|
2638
|
-
max_age_hours,
|
|
2639
|
-
dry_run
|
|
2640
|
-
});
|
|
2641
|
-
const cleanupResults = {
|
|
2642
|
-
start_time: new Date().toISOString(),
|
|
2643
|
-
dry_run,
|
|
2644
|
-
artifacts_found: {
|
|
2645
|
-
catalog_items: [],
|
|
2646
|
-
flows: [],
|
|
2647
|
-
users: [],
|
|
2648
|
-
requests: []
|
|
2649
|
-
},
|
|
2650
|
-
artifacts_deleted: {
|
|
2651
|
-
catalog_items: 0,
|
|
2652
|
-
flows: 0,
|
|
2653
|
-
users: 0,
|
|
2654
|
-
requests: 0
|
|
2655
|
-
},
|
|
2656
|
-
update_set_entries_preserved: 0,
|
|
2657
|
-
errors: [],
|
|
2658
|
-
summary: ''
|
|
2659
|
-
};
|
|
2660
|
-
try {
|
|
2661
|
-
// Calculate cutoff time
|
|
2662
|
-
const cutoffTime = new Date();
|
|
2663
|
-
cutoffTime.setHours(cutoffTime.getHours() - max_age_hours);
|
|
2664
|
-
const cutoffISO = cutoffTime.toISOString();
|
|
2665
|
-
// Process each artifact type
|
|
2666
|
-
for (const artifactType of artifact_types) {
|
|
2667
|
-
if (artifactType === 'all' || artifact_types.includes('catalog_items')) {
|
|
2668
|
-
await this.cleanupTestCatalogItems(test_patterns, cutoffISO, dry_run, cleanupResults, update_set_filter);
|
|
2669
|
-
}
|
|
2670
|
-
// Flow cleanup removed in v1.4.38 - flows no longer supported
|
|
2671
|
-
if (artifactType === 'all' || artifact_types.includes('users')) {
|
|
2672
|
-
await this.cleanupTestUsers(test_patterns, cutoffISO, dry_run, cleanupResults, update_set_filter);
|
|
2673
|
-
}
|
|
2674
|
-
if (artifactType === 'all' || artifact_types.includes('requests')) {
|
|
2675
|
-
await this.cleanupTestRequests(test_patterns, cutoffISO, dry_run, cleanupResults, update_set_filter);
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
// Generate summary
|
|
2679
|
-
const totalFound = Object.values(cleanupResults.artifacts_found)
|
|
2680
|
-
.reduce((sum, items) => (typeof sum === 'number' ? sum : 0) + (Array.isArray(items) ? items.length : 0), 0);
|
|
2681
|
-
const totalDeleted = Object.values(cleanupResults.artifacts_deleted)
|
|
2682
|
-
.reduce((sum, count) => sum + (typeof count === 'number' ? count : 0), 0);
|
|
2683
|
-
cleanupResults.summary = dry_run
|
|
2684
|
-
? `🔍 Dry Run: Found ${totalFound} test artifacts that would be cleaned up`
|
|
2685
|
-
: `🧹 Cleaned up ${totalDeleted} test artifacts successfully`;
|
|
2686
|
-
// Format results
|
|
2687
|
-
let resultText = `🧹 Test Artifact Cleanup Results\n${'='.repeat(50)}\n\n`;
|
|
2688
|
-
if (dry_run) {
|
|
2689
|
-
resultText += `🔍 **DRY RUN MODE** - No actual deletion performed\n\n`;
|
|
2690
|
-
}
|
|
2691
|
-
resultText += `⏰ **Cleanup Configuration:**\n`;
|
|
2692
|
-
resultText += `- Artifact Types: ${artifact_types.join(', ')}\n`;
|
|
2693
|
-
resultText += `- Test Patterns: ${test_patterns.join(', ')}\n`;
|
|
2694
|
-
resultText += `- Max Age: ${max_age_hours} hours\n`;
|
|
2695
|
-
resultText += `- Cutoff Time: ${cutoffISO}\n`;
|
|
2696
|
-
resultText += `- Preserve Update Set Entries: ${preserve_update_set_entries ? '✅' : '❌'}\n\n`;
|
|
2697
|
-
// Report findings by type
|
|
2698
|
-
['catalog_items', 'flows', 'users', 'requests'].forEach(type => {
|
|
2699
|
-
const found = cleanupResults.artifacts_found[type] || [];
|
|
2700
|
-
const deleted = cleanupResults.artifacts_deleted[type] || 0;
|
|
2701
|
-
if (found.length > 0) {
|
|
2702
|
-
resultText += `📦 **${type.replace('_', ' ').toUpperCase()}:**\n`;
|
|
2703
|
-
resultText += ` ${dry_run ? 'Found' : 'Deleted'}: ${dry_run ? found.length : deleted}\n`;
|
|
2704
|
-
if (dry_run && found.length > 0) {
|
|
2705
|
-
found.slice(0, 10).forEach((item) => {
|
|
2706
|
-
resultText += ` - ${item.name} (${item.sys_id}) - Created: ${item.sys_created_on}\n`;
|
|
2707
|
-
});
|
|
2708
|
-
if (found.length > 10) {
|
|
2709
|
-
resultText += ` ... and ${found.length - 10} more\n`;
|
|
2710
|
-
}
|
|
2711
|
-
}
|
|
2712
|
-
resultText += '\n';
|
|
2713
|
-
}
|
|
2714
|
-
});
|
|
2715
|
-
if (cleanupResults.update_set_entries_preserved > 0) {
|
|
2716
|
-
resultText += `📋 **Update Set Audit Trail Preserved:** ${cleanupResults.update_set_entries_preserved} entries\n\n`;
|
|
2717
|
-
}
|
|
2718
|
-
if (cleanupResults.errors.length > 0) {
|
|
2719
|
-
resultText += `❌ **Errors:**\n`;
|
|
2720
|
-
cleanupResults.errors.forEach(error => {
|
|
2721
|
-
resultText += ` - ${error}\n`;
|
|
2722
|
-
});
|
|
2723
|
-
resultText += '\n';
|
|
2724
|
-
}
|
|
2725
|
-
resultText += `✅ **${cleanupResults.summary}**\n\n`;
|
|
2726
|
-
if (!dry_run && totalDeleted > 0) {
|
|
2727
|
-
resultText += `💡 **Note:** Update Set entries have been preserved as audit trail.\n`;
|
|
2728
|
-
resultText += `This shows that testing was performed and cleanup was completed.\n\n`;
|
|
2729
|
-
}
|
|
2730
|
-
if (dry_run) {
|
|
2731
|
-
resultText += `▶️ **Next Steps:**\n`;
|
|
2732
|
-
resultText += `1. Review the artifacts that would be deleted\n`;
|
|
2733
|
-
resultText += `2. Run again with dry_run: false to perform actual cleanup\n`;
|
|
2734
|
-
resultText += `3. Verify Update Set entries are preserved as intended\n`;
|
|
2735
|
-
}
|
|
2736
|
-
return {
|
|
2737
|
-
content: [{
|
|
2738
|
-
type: 'text',
|
|
2739
|
-
text: resultText
|
|
2740
|
-
}]
|
|
2741
|
-
};
|
|
2742
|
-
}
|
|
2743
|
-
catch (error) {
|
|
2744
|
-
this.logger.error('Error during test artifact cleanup:', error);
|
|
2745
|
-
return {
|
|
2746
|
-
content: [{
|
|
2747
|
-
type: 'text',
|
|
2748
|
-
text: `❌ Test artifact cleanup failed\n\nError: ${error.message}\n\n` +
|
|
2749
|
-
`🔧 Troubleshooting:\n` +
|
|
2750
|
-
`1. Check ServiceNow connection and permissions\n` +
|
|
2751
|
-
`2. Verify test patterns are correct\n` +
|
|
2752
|
-
`3. Ensure artifacts exist and are accessible\n\n` +
|
|
2753
|
-
`Debug Info: ${JSON.stringify(cleanupResults, null, 2)}`
|
|
2754
|
-
}]
|
|
2755
|
-
};
|
|
2756
|
-
}
|
|
2757
|
-
}
|
|
2758
|
-
async cleanupTestCatalogItems(patterns, cutoffTime, dryRun, results, updateSetFilter) {
|
|
2759
|
-
try {
|
|
2760
|
-
// Build query for test catalog items
|
|
2761
|
-
const patternQueries = patterns.map(pattern => {
|
|
2762
|
-
if (pattern.includes('%')) {
|
|
2763
|
-
return `nameLIKE${pattern.replace(/%/g, '')}`;
|
|
2764
|
-
}
|
|
2765
|
-
else {
|
|
2766
|
-
return `name=${pattern}`;
|
|
2767
|
-
}
|
|
2768
|
-
});
|
|
2769
|
-
const query = `(${patternQueries.join('^OR')})^sys_created_on<${cutoffTime}`;
|
|
2770
|
-
const searchResult = await this.client.searchRecords('sc_cat_item', query, 100);
|
|
2771
|
-
if (searchResult.success && searchResult.data?.result) {
|
|
2772
|
-
results.artifacts_found.catalog_items = searchResult.data.result.map((item) => ({
|
|
2773
|
-
sys_id: item.sys_id,
|
|
2774
|
-
name: item.name,
|
|
2775
|
-
sys_created_on: item.sys_created_on
|
|
2776
|
-
}));
|
|
2777
|
-
if (!dryRun) {
|
|
2778
|
-
// Delete each catalog item
|
|
2779
|
-
for (const item of searchResult.data.result) {
|
|
2780
|
-
const deleteResult = await this.client.deleteRecord('sc_cat_item', item.sys_id);
|
|
2781
|
-
if (deleteResult.success) {
|
|
2782
|
-
results.artifacts_deleted.catalog_items++;
|
|
2783
|
-
}
|
|
2784
|
-
else {
|
|
2785
|
-
results.errors.push(`Failed to delete catalog item ${item.name}: ${deleteResult.error}`);
|
|
2786
|
-
}
|
|
2787
|
-
}
|
|
2788
|
-
}
|
|
2789
|
-
}
|
|
2790
|
-
}
|
|
2791
|
-
catch (error) {
|
|
2792
|
-
results.errors.push(`Error cleaning catalog items: ${error.message}`);
|
|
2793
|
-
}
|
|
2794
|
-
}
|
|
2795
|
-
async cleanupTestUsers(patterns, cutoffTime, dryRun, results, updateSetFilter) {
|
|
2796
|
-
try {
|
|
2797
|
-
const patternQueries = patterns.map(pattern => {
|
|
2798
|
-
if (pattern.includes('%')) {
|
|
2799
|
-
return `user_nameLIKE${pattern.replace(/%/g, '')}^ORfirst_nameLIKE${pattern.replace(/%/g, '')}`;
|
|
2800
|
-
}
|
|
2801
|
-
else {
|
|
2802
|
-
return `user_name=${pattern}^ORfirst_name=${pattern}`;
|
|
2803
|
-
}
|
|
2804
|
-
});
|
|
2805
|
-
const query = `(${patternQueries.join('^OR')})^sys_created_on<${cutoffTime}^active=false`;
|
|
2806
|
-
const searchResult = await this.client.searchRecords('sys_user', query, 100);
|
|
2807
|
-
if (searchResult.success && searchResult.data?.result) {
|
|
2808
|
-
results.artifacts_found.users = searchResult.data.result.map((user) => ({
|
|
2809
|
-
sys_id: user.sys_id,
|
|
2810
|
-
name: user.user_name || user.name,
|
|
2811
|
-
sys_created_on: user.sys_created_on
|
|
2812
|
-
}));
|
|
2813
|
-
if (!dryRun) {
|
|
2814
|
-
for (const user of searchResult.data.result) {
|
|
2815
|
-
const deleteResult = await this.client.deleteRecord('sys_user', user.sys_id);
|
|
2816
|
-
if (deleteResult.success) {
|
|
2817
|
-
results.artifacts_deleted.users++;
|
|
2818
|
-
}
|
|
2819
|
-
else {
|
|
2820
|
-
results.errors.push(`Failed to delete user ${user.user_name}: ${deleteResult.error}`);
|
|
2821
|
-
}
|
|
2822
|
-
}
|
|
2823
|
-
}
|
|
2824
|
-
}
|
|
2825
|
-
}
|
|
2826
|
-
catch (error) {
|
|
2827
|
-
results.errors.push(`Error cleaning users: ${error.message}`);
|
|
2828
|
-
}
|
|
2829
|
-
}
|
|
2830
|
-
async cleanupTestRequests(patterns, cutoffTime, dryRun, results, updateSetFilter) {
|
|
2831
|
-
try {
|
|
2832
|
-
const patternQueries = patterns.map(pattern => {
|
|
2833
|
-
if (pattern.includes('%')) {
|
|
2834
|
-
return `short_descriptionLIKE${pattern.replace(/%/g, '')}`;
|
|
2835
|
-
}
|
|
2836
|
-
else {
|
|
2837
|
-
return `short_description=${pattern}`;
|
|
2838
|
-
}
|
|
2839
|
-
});
|
|
2840
|
-
const query = `(${patternQueries.join('^OR')})^sys_created_on<${cutoffTime}`;
|
|
2841
|
-
const searchResult = await this.client.searchRecords('sc_request', query, 100);
|
|
2842
|
-
if (searchResult.success && searchResult.data?.result) {
|
|
2843
|
-
results.artifacts_found.requests = searchResult.data.result.map((req) => ({
|
|
2844
|
-
sys_id: req.sys_id,
|
|
2845
|
-
name: req.number || req.short_description,
|
|
2846
|
-
sys_created_on: req.sys_created_on
|
|
2847
|
-
}));
|
|
2848
|
-
if (!dryRun) {
|
|
2849
|
-
for (const request of searchResult.data.result) {
|
|
2850
|
-
// Cancel request instead of deleting (safer)
|
|
2851
|
-
const updateResult = await this.client.updateRecord('sc_request', request.sys_id, {
|
|
2852
|
-
state: '4', // Cancelled
|
|
2853
|
-
comments: 'Cancelled by test cleanup automation'
|
|
2854
|
-
});
|
|
2855
|
-
if (updateResult.success) {
|
|
2856
|
-
results.artifacts_deleted.requests++;
|
|
2857
|
-
}
|
|
2858
|
-
else {
|
|
2859
|
-
results.errors.push(`Failed to cancel request ${request.number}: ${updateResult.error}`);
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
}
|
|
2863
|
-
}
|
|
2864
|
-
}
|
|
2865
|
-
catch (error) {
|
|
2866
|
-
results.errors.push(`Error cleaning requests: ${error.message}`);
|
|
2867
|
-
}
|
|
2868
|
-
}
|
|
2869
|
-
getServiceNowUrl() {
|
|
2870
|
-
// This would need to get the instance URL from credentials
|
|
2871
|
-
return 'https://instance.service-now.com';
|
|
2872
|
-
}
|
|
2873
|
-
async handleCreateUserGroup(args) {
|
|
2874
|
-
const { name, description, email, manager, parent, type, active = true } = args;
|
|
2875
|
-
this.logger.info(`Creating user group: ${name}`);
|
|
2876
|
-
try {
|
|
2877
|
-
// Check if group already exists
|
|
2878
|
-
const existingGroup = await this.client.get('/api/now/table/sys_user_group', {
|
|
2879
|
-
sysparm_query: `name=${name}`,
|
|
2880
|
-
sysparm_limit: 1
|
|
2881
|
-
});
|
|
2882
|
-
if (existingGroup.result?.length > 0) {
|
|
2883
|
-
return {
|
|
2884
|
-
content: [{
|
|
2885
|
-
type: 'text',
|
|
2886
|
-
text: `✅ Group "${name}" already exists!\n\nSys ID: ${existingGroup.result[0].sys_id}\nManager: ${existingGroup.result[0].manager?.display_value || 'None'}\nType: ${existingGroup.result[0].type || 'Standard'}\nActive: ${existingGroup.result[0].active}\n\nNo action taken.`
|
|
2887
|
-
}]
|
|
2888
|
-
};
|
|
2889
|
-
}
|
|
2890
|
-
// Prepare group data
|
|
2891
|
-
const groupData = {
|
|
2892
|
-
name,
|
|
2893
|
-
active: active.toString()
|
|
2894
|
-
};
|
|
2895
|
-
if (description)
|
|
2896
|
-
groupData.description = description;
|
|
2897
|
-
if (email)
|
|
2898
|
-
groupData.email = email;
|
|
2899
|
-
if (type)
|
|
2900
|
-
groupData.type = type;
|
|
2901
|
-
// Handle manager lookup
|
|
2902
|
-
if (manager) {
|
|
2903
|
-
const managerUser = await this.findUserBySysIdOrUsername(manager);
|
|
2904
|
-
if (managerUser) {
|
|
2905
|
-
groupData.manager = managerUser.sys_id;
|
|
2906
|
-
}
|
|
2907
|
-
else {
|
|
2908
|
-
this.logger.warn(`Manager "${manager}" not found, creating group without manager`);
|
|
2909
|
-
}
|
|
2910
|
-
}
|
|
2911
|
-
// Handle parent group lookup
|
|
2912
|
-
if (parent) {
|
|
2913
|
-
const parentGroup = await this.findGroupBySysIdOrName(parent);
|
|
2914
|
-
if (parentGroup) {
|
|
2915
|
-
groupData.parent = parentGroup.sys_id;
|
|
2916
|
-
}
|
|
2917
|
-
else {
|
|
2918
|
-
this.logger.warn(`Parent group "${parent}" not found, creating group without parent`);
|
|
2919
|
-
}
|
|
2920
|
-
}
|
|
2921
|
-
// Create the group
|
|
2922
|
-
const result = await this.client.post('/api/now/table/sys_user_group', groupData);
|
|
2923
|
-
if (result.result) {
|
|
2924
|
-
const groupUrl = `${process.env.SNOW_INSTANCE ? `https://${process.env.SNOW_INSTANCE.replace(/\/$/, '')}.service-now.com` : ''}/sys_user_group.do?sys_id=${result.result.sys_id}`;
|
|
2925
|
-
return {
|
|
2926
|
-
content: [{
|
|
2927
|
-
type: 'text',
|
|
2928
|
-
text: `✅ **User Group Created Successfully!**\n\n**Group Name:** ${result.result.name}\n**Sys ID:** ${result.result.sys_id}\n**Type:** ${result.result.type || 'Standard'}\n**Active:** ${result.result.active}\n${result.result.manager ? `**Manager:** ${result.result.manager.display_value}` : ''}\n${result.result.parent ? `**Parent Group:** ${result.result.parent.display_value}` : ''}\n\n**View Group:** ${groupUrl}\n\nYou can now assign users to this group using \`snow_assign_user_to_group\`.`
|
|
2929
|
-
}]
|
|
2930
|
-
};
|
|
2931
|
-
}
|
|
2932
|
-
else {
|
|
2933
|
-
throw new Error('Failed to create group - no result returned');
|
|
2934
|
-
}
|
|
2935
|
-
}
|
|
2936
|
-
catch (error) {
|
|
2937
|
-
return {
|
|
2938
|
-
content: [{
|
|
2939
|
-
type: 'text',
|
|
2940
|
-
text: `❌ **Failed to create user group**\n\nError: ${error instanceof Error ? error.message : String(error)}\n\nTip: Ensure you have the necessary permissions to create groups (admin or user_admin role).`
|
|
2941
|
-
}]
|
|
2942
|
-
};
|
|
2943
|
-
}
|
|
2944
|
-
}
|
|
2945
|
-
async handleCreateUser(args) {
|
|
2946
|
-
const { user_name, first_name, last_name, email, department, manager, phone, title, location, active = true, password } = args;
|
|
2947
|
-
this.logger.info(`Creating user: ${user_name}`);
|
|
2948
|
-
try {
|
|
2949
|
-
// Check if user already exists
|
|
2950
|
-
const existingUser = await this.client.get('/api/now/table/sys_user', {
|
|
2951
|
-
sysparm_query: `user_name=${user_name}`,
|
|
2952
|
-
sysparm_limit: 1
|
|
2953
|
-
});
|
|
2954
|
-
if (existingUser.result?.length > 0) {
|
|
2955
|
-
return {
|
|
2956
|
-
content: [{
|
|
2957
|
-
type: 'text',
|
|
2958
|
-
text: `✅ User "${user_name}" already exists!\n\nSys ID: ${existingUser.result[0].sys_id}\nName: ${existingUser.result[0].first_name} ${existingUser.result[0].last_name}\nEmail: ${existingUser.result[0].email}\nActive: ${existingUser.result[0].active}\n\nNo action taken.`
|
|
2959
|
-
}]
|
|
2960
|
-
};
|
|
2961
|
-
}
|
|
2962
|
-
// Prepare user data
|
|
2963
|
-
const userData = {
|
|
2964
|
-
user_name,
|
|
2965
|
-
first_name,
|
|
2966
|
-
last_name,
|
|
2967
|
-
email,
|
|
2968
|
-
active: active.toString()
|
|
2969
|
-
};
|
|
2970
|
-
if (phone)
|
|
2971
|
-
userData.phone = phone;
|
|
2972
|
-
if (title)
|
|
2973
|
-
userData.title = title;
|
|
2974
|
-
if (password)
|
|
2975
|
-
userData.user_password = password;
|
|
2976
|
-
// Handle manager lookup
|
|
2977
|
-
if (manager) {
|
|
2978
|
-
const managerUser = await this.findUserBySysIdOrUsername(manager);
|
|
2979
|
-
if (managerUser) {
|
|
2980
|
-
userData.manager = managerUser.sys_id;
|
|
2981
|
-
}
|
|
2982
|
-
else {
|
|
2983
|
-
this.logger.warn(`Manager "${manager}" not found, creating user without manager`);
|
|
2984
|
-
}
|
|
2985
|
-
}
|
|
2986
|
-
// Handle department lookup
|
|
2987
|
-
if (department) {
|
|
2988
|
-
const dept = await this.findDepartment(department);
|
|
2989
|
-
if (dept) {
|
|
2990
|
-
userData.department = dept.sys_id;
|
|
2991
|
-
}
|
|
2992
|
-
else {
|
|
2993
|
-
this.logger.warn(`Department "${department}" not found, creating user without department`);
|
|
2994
|
-
}
|
|
2995
|
-
}
|
|
2996
|
-
// Handle location lookup
|
|
2997
|
-
if (location) {
|
|
2998
|
-
const loc = await this.findLocation(location);
|
|
2999
|
-
if (loc) {
|
|
3000
|
-
userData.location = loc.sys_id;
|
|
3001
|
-
}
|
|
3002
|
-
else {
|
|
3003
|
-
this.logger.warn(`Location "${location}" not found, creating user without location`);
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
3006
|
-
// Create the user
|
|
3007
|
-
const result = await this.client.post('/api/now/table/sys_user', userData);
|
|
3008
|
-
if (result.result) {
|
|
3009
|
-
const userUrl = `${process.env.SNOW_INSTANCE ? `https://${process.env.SNOW_INSTANCE.replace(/\/$/, '')}.service-now.com` : ''}/sys_user.do?sys_id=${result.result.sys_id}`;
|
|
3010
|
-
return {
|
|
3011
|
-
content: [{
|
|
3012
|
-
type: 'text',
|
|
3013
|
-
text: `✅ **User Created Successfully!**\n\n**Username:** ${result.result.user_name}\n**Name:** ${result.result.first_name} ${result.result.last_name}\n**Email:** ${result.result.email}\n**Sys ID:** ${result.result.sys_id}\n**Active:** ${result.result.active}\n${result.result.manager ? `**Manager:** ${result.result.manager.display_value}` : ''}\n${result.result.department ? `**Department:** ${result.result.department.display_value}` : ''}\n${password ? '\n⚠️ **Note:** User will be required to change password on first login.' : ''}\n\n**View User:** ${userUrl}\n\nYou can now assign this user to groups using \`snow_assign_user_to_group\`.`
|
|
3014
|
-
}]
|
|
3015
|
-
};
|
|
3016
|
-
}
|
|
3017
|
-
else {
|
|
3018
|
-
throw new Error('Failed to create user - no result returned');
|
|
3019
|
-
}
|
|
3020
|
-
}
|
|
3021
|
-
catch (error) {
|
|
3022
|
-
return {
|
|
3023
|
-
content: [{
|
|
3024
|
-
type: 'text',
|
|
3025
|
-
text: `❌ **Failed to create user**\n\nError: ${error instanceof Error ? error.message : String(error)}\n\nTip: Ensure you have the necessary permissions to create users (admin or user_admin role).`
|
|
3026
|
-
}]
|
|
3027
|
-
};
|
|
3028
|
-
}
|
|
3029
|
-
}
|
|
3030
|
-
async handleAssignUserToGroup(args) {
|
|
3031
|
-
const { user, group } = args;
|
|
3032
|
-
this.logger.info(`Assigning user ${user} to group ${group}`);
|
|
3033
|
-
try {
|
|
3034
|
-
// Find the user
|
|
3035
|
-
const userRecord = await this.findUserBySysIdOrUsername(user);
|
|
3036
|
-
if (!userRecord) {
|
|
3037
|
-
return {
|
|
3038
|
-
content: [{
|
|
3039
|
-
type: 'text',
|
|
3040
|
-
text: `❌ User "${user}" not found. Please check the username or sys_id.`
|
|
3041
|
-
}]
|
|
3042
|
-
};
|
|
3043
|
-
}
|
|
3044
|
-
// Find the group
|
|
3045
|
-
const groupRecord = await this.findGroupBySysIdOrName(group);
|
|
3046
|
-
if (!groupRecord) {
|
|
3047
|
-
return {
|
|
3048
|
-
content: [{
|
|
3049
|
-
type: 'text',
|
|
3050
|
-
text: `❌ Group "${group}" not found. Please check the group name or sys_id.\n\nTip: You can create a new group using \`snow_create_user_group\`.`
|
|
3051
|
-
}]
|
|
3052
|
-
};
|
|
3053
|
-
}
|
|
3054
|
-
// Check if user is already in group
|
|
3055
|
-
const existingMembership = await this.client.get('/api/now/table/sys_user_grmember', {
|
|
3056
|
-
sysparm_query: `user=${userRecord.sys_id}^group=${groupRecord.sys_id}`,
|
|
3057
|
-
sysparm_limit: 1
|
|
3058
|
-
});
|
|
3059
|
-
if (existingMembership.result?.length > 0) {
|
|
3060
|
-
return {
|
|
3061
|
-
content: [{
|
|
3062
|
-
type: 'text',
|
|
3063
|
-
text: `ℹ️ User "${userRecord.user_name}" is already a member of group "${groupRecord.name}".\n\nNo action taken.`
|
|
3064
|
-
}]
|
|
3065
|
-
};
|
|
3066
|
-
}
|
|
3067
|
-
// Add user to group
|
|
3068
|
-
const result = await this.client.post('/api/now/table/sys_user_grmember', {
|
|
3069
|
-
user: userRecord.sys_id,
|
|
3070
|
-
group: groupRecord.sys_id
|
|
3071
|
-
});
|
|
3072
|
-
if (result.result) {
|
|
3073
|
-
return {
|
|
3074
|
-
content: [{
|
|
3075
|
-
type: 'text',
|
|
3076
|
-
text: `✅ **User Added to Group Successfully!**\n\n**User:** ${userRecord.first_name} ${userRecord.last_name} (${userRecord.user_name})\n**Group:** ${groupRecord.name}\n**Membership Sys ID:** ${result.result.sys_id}\n\nThe user now has all permissions associated with the "${groupRecord.name}" group.`
|
|
3077
|
-
}]
|
|
3078
|
-
};
|
|
3079
|
-
}
|
|
3080
|
-
else {
|
|
3081
|
-
throw new Error('Failed to add user to group - no result returned');
|
|
3082
|
-
}
|
|
3083
|
-
}
|
|
3084
|
-
catch (error) {
|
|
3085
|
-
return {
|
|
3086
|
-
content: [{
|
|
3087
|
-
type: 'text',
|
|
3088
|
-
text: `❌ **Failed to assign user to group**\n\nError: ${error instanceof Error ? error.message : String(error)}\n\nTip: Ensure you have the necessary permissions to manage group membership.`
|
|
3089
|
-
}]
|
|
3090
|
-
};
|
|
3091
|
-
}
|
|
3092
|
-
}
|
|
3093
|
-
async handleRemoveUserFromGroup(args) {
|
|
3094
|
-
const { user, group } = args;
|
|
3095
|
-
this.logger.info(`Removing user ${user} from group ${group}`);
|
|
3096
|
-
try {
|
|
3097
|
-
// Find the user
|
|
3098
|
-
const userRecord = await this.findUserBySysIdOrUsername(user);
|
|
3099
|
-
if (!userRecord) {
|
|
3100
|
-
return {
|
|
3101
|
-
content: [{
|
|
3102
|
-
type: 'text',
|
|
3103
|
-
text: `❌ User "${user}" not found. Please check the username or sys_id.`
|
|
3104
|
-
}]
|
|
3105
|
-
};
|
|
3106
|
-
}
|
|
3107
|
-
// Find the group
|
|
3108
|
-
const groupRecord = await this.findGroupBySysIdOrName(group);
|
|
3109
|
-
if (!groupRecord) {
|
|
3110
|
-
return {
|
|
3111
|
-
content: [{
|
|
3112
|
-
type: 'text',
|
|
3113
|
-
text: `❌ Group "${group}" not found. Please check the group name or sys_id.`
|
|
3114
|
-
}]
|
|
3115
|
-
};
|
|
3116
|
-
}
|
|
3117
|
-
// Find the membership record
|
|
3118
|
-
const membership = await this.client.get('/api/now/table/sys_user_grmember', {
|
|
3119
|
-
sysparm_query: `user=${userRecord.sys_id}^group=${groupRecord.sys_id}`,
|
|
3120
|
-
sysparm_limit: 1
|
|
3121
|
-
});
|
|
3122
|
-
if (!membership.result || membership.result.length === 0) {
|
|
3123
|
-
return {
|
|
3124
|
-
content: [{
|
|
3125
|
-
type: 'text',
|
|
3126
|
-
text: `ℹ️ User "${userRecord.user_name}" is not a member of group "${groupRecord.name}".\n\nNo action taken.`
|
|
3127
|
-
}]
|
|
3128
|
-
};
|
|
3129
|
-
}
|
|
3130
|
-
// Remove user from group
|
|
3131
|
-
await this.client.delete(`/api/now/table/sys_user_grmember/${membership.result[0].sys_id}`);
|
|
3132
|
-
return {
|
|
3133
|
-
content: [{
|
|
3134
|
-
type: 'text',
|
|
3135
|
-
text: `✅ **User Removed from Group Successfully!**\n\n**User:** ${userRecord.first_name} ${userRecord.last_name} (${userRecord.user_name})\n**Group:** ${groupRecord.name}\n\nThe user no longer has permissions associated with the "${groupRecord.name}" group.`
|
|
3136
|
-
}]
|
|
3137
|
-
};
|
|
3138
|
-
}
|
|
3139
|
-
catch (error) {
|
|
3140
|
-
return {
|
|
3141
|
-
content: [{
|
|
3142
|
-
type: 'text',
|
|
3143
|
-
text: `❌ **Failed to remove user from group**\n\nError: ${error instanceof Error ? error.message : String(error)}\n\nTip: Ensure you have the necessary permissions to manage group membership.`
|
|
3144
|
-
}]
|
|
3145
|
-
};
|
|
3146
|
-
}
|
|
3147
|
-
}
|
|
3148
|
-
async handleListGroupMembers(args) {
|
|
3149
|
-
const { group, active_only = true } = args;
|
|
3150
|
-
this.logger.info(`Listing members of group: ${group}`);
|
|
3151
|
-
try {
|
|
3152
|
-
// Find the group
|
|
3153
|
-
const groupRecord = await this.findGroupBySysIdOrName(group);
|
|
3154
|
-
if (!groupRecord) {
|
|
3155
|
-
return {
|
|
3156
|
-
content: [{
|
|
3157
|
-
type: 'text',
|
|
3158
|
-
text: `❌ Group "${group}" not found. Please check the group name or sys_id.`
|
|
3159
|
-
}]
|
|
3160
|
-
};
|
|
3161
|
-
}
|
|
3162
|
-
// Get group members
|
|
3163
|
-
let query = `group=${groupRecord.sys_id}`;
|
|
3164
|
-
if (active_only) {
|
|
3165
|
-
query += '^user.active=true';
|
|
3166
|
-
}
|
|
3167
|
-
const members = await this.client.get('/api/now/table/sys_user_grmember', {
|
|
3168
|
-
sysparm_query: query,
|
|
3169
|
-
sysparm_fields: 'user.user_name,user.first_name,user.last_name,user.email,user.title,user.active,user.sys_id',
|
|
3170
|
-
sysparm_limit: 100
|
|
3171
|
-
});
|
|
3172
|
-
if (!members.result || members.result.length === 0) {
|
|
3173
|
-
return {
|
|
3174
|
-
content: [{
|
|
3175
|
-
type: 'text',
|
|
3176
|
-
text: `ℹ️ **Group "${groupRecord.name}" has no members.**\n\nYou can add users to this group using \`snow_assign_user_to_group\`.`
|
|
3177
|
-
}]
|
|
3178
|
-
};
|
|
3179
|
-
}
|
|
3180
|
-
// Format member list
|
|
3181
|
-
let response = `👥 **Members of "${groupRecord.name}" Group**\n\n`;
|
|
3182
|
-
response += `**Total Members:** ${members.result.length}${active_only ? ' (active only)' : ''}\n\n`;
|
|
3183
|
-
members.result.forEach((member, index) => {
|
|
3184
|
-
const u = member.user;
|
|
3185
|
-
// Defensive programming: check if user object exists and has required fields
|
|
3186
|
-
if (!u || !u.user_name) {
|
|
3187
|
-
this.logger.warn(`Group member ${index + 1} has invalid user data:`, member);
|
|
3188
|
-
response += `${index + 1}. **Invalid User Data** - ${member.sys_id || 'Unknown ID'}\n\n`;
|
|
3189
|
-
return;
|
|
3190
|
-
}
|
|
3191
|
-
const firstName = u.first_name || 'N/A';
|
|
3192
|
-
const lastName = u.last_name || 'N/A';
|
|
3193
|
-
const email = u.email || 'N/A';
|
|
3194
|
-
const title = u.title || '';
|
|
3195
|
-
const active = u.active !== undefined ? u.active : 'Unknown';
|
|
3196
|
-
const sysId = u.sys_id || 'N/A';
|
|
3197
|
-
response += `${index + 1}. **${firstName} ${lastName}** (${u.user_name})\n`;
|
|
3198
|
-
response += ` - Email: ${email}\n`;
|
|
3199
|
-
if (title)
|
|
3200
|
-
response += ` - Title: ${title}\n`;
|
|
3201
|
-
response += ` - Active: ${active}\n`;
|
|
3202
|
-
response += ` - Sys ID: ${sysId}\n\n`;
|
|
3203
|
-
});
|
|
3204
|
-
if (members.result.length === 100) {
|
|
3205
|
-
response += `\n⚠️ **Note:** Results limited to 100 members. The group may have additional members.`;
|
|
3206
|
-
}
|
|
3207
|
-
return {
|
|
3208
|
-
content: [{
|
|
3209
|
-
type: 'text',
|
|
3210
|
-
text: response
|
|
3211
|
-
}]
|
|
3212
|
-
};
|
|
3213
|
-
}
|
|
3214
|
-
catch (error) {
|
|
3215
|
-
return {
|
|
3216
|
-
content: [{
|
|
3217
|
-
type: 'text',
|
|
3218
|
-
text: `❌ **Failed to list group members**\n\nError: ${error instanceof Error ? error.message : String(error)}`
|
|
3219
|
-
}]
|
|
3220
|
-
};
|
|
3221
|
-
}
|
|
3222
|
-
}
|
|
3223
|
-
// Helper methods
|
|
3224
|
-
async findUserBySysIdOrUsername(identifier) {
|
|
3225
|
-
// First try as sys_id
|
|
3226
|
-
if (identifier.match(/^[a-f0-9]{32}$/)) {
|
|
3227
|
-
const result = await this.client.get(`/api/now/table/sys_user/${identifier}`);
|
|
3228
|
-
if (result.result)
|
|
3229
|
-
return result.result;
|
|
3230
|
-
}
|
|
3231
|
-
// Then try as username
|
|
3232
|
-
const result = await this.client.get('/api/now/table/sys_user', {
|
|
3233
|
-
sysparm_query: `user_name=${identifier}`,
|
|
3234
|
-
sysparm_limit: 1
|
|
3235
|
-
});
|
|
3236
|
-
return result.result?.[0] || null;
|
|
3237
|
-
}
|
|
3238
|
-
async findGroupBySysIdOrName(identifier) {
|
|
3239
|
-
// First try as sys_id
|
|
3240
|
-
if (identifier.match(/^[a-f0-9]{32}$/)) {
|
|
3241
|
-
const result = await this.client.get(`/api/now/table/sys_user_group/${identifier}`);
|
|
3242
|
-
if (result.result)
|
|
3243
|
-
return result.result;
|
|
3244
|
-
}
|
|
3245
|
-
// Then try as name
|
|
3246
|
-
const result = await this.client.get('/api/now/table/sys_user_group', {
|
|
3247
|
-
sysparm_query: `name=${identifier}`,
|
|
3248
|
-
sysparm_limit: 1
|
|
3249
|
-
});
|
|
3250
|
-
return result.result?.[0] || null;
|
|
3251
|
-
}
|
|
3252
|
-
async findDepartment(identifier) {
|
|
3253
|
-
// First try as sys_id
|
|
3254
|
-
if (identifier.match(/^[a-f0-9]{32}$/)) {
|
|
3255
|
-
const result = await this.client.get(`/api/now/table/cmn_department/${identifier}`);
|
|
3256
|
-
if (result.result)
|
|
3257
|
-
return result.result;
|
|
3258
|
-
}
|
|
3259
|
-
// Then try as name
|
|
3260
|
-
const result = await this.client.get('/api/now/table/cmn_department', {
|
|
3261
|
-
sysparm_query: `name=${identifier}`,
|
|
3262
|
-
sysparm_limit: 1
|
|
3263
|
-
});
|
|
3264
|
-
return result.result?.[0] || null;
|
|
3265
|
-
}
|
|
3266
|
-
async findLocation(identifier) {
|
|
3267
|
-
// First try as sys_id
|
|
3268
|
-
if (identifier.match(/^[a-f0-9]{32}$/)) {
|
|
3269
|
-
const result = await this.client.get(`/api/now/table/cmn_location/${identifier}`);
|
|
3270
|
-
if (result.result)
|
|
3271
|
-
return result.result;
|
|
3272
|
-
}
|
|
3273
|
-
// Then try as name
|
|
3274
|
-
const result = await this.client.get('/api/now/table/cmn_location', {
|
|
3275
|
-
sysparm_query: `name=${identifier}`,
|
|
3276
|
-
sysparm_limit: 1
|
|
3277
|
-
});
|
|
3278
|
-
return result.result?.[0] || null;
|
|
3279
|
-
}
|
|
3280
|
-
async run() {
|
|
3281
|
-
const transport = new stdio_js_1.StdioServerTransport();
|
|
3282
|
-
await this.server.connect(transport);
|
|
3283
|
-
// Use stderr for logs to keep stdout clean for JSON-RPC
|
|
3284
|
-
console.error('ServiceNow Operations MCP Server running on stdio');
|
|
3285
|
-
}
|
|
3286
|
-
}
|
|
3287
|
-
exports.ServiceNowOperationsMCP = ServiceNowOperationsMCP;
|
|
3288
|
-
// Start the server only if run directly
|
|
3289
|
-
if (require.main === module) {
|
|
3290
|
-
const server = new ServiceNowOperationsMCP();
|
|
3291
|
-
server.run().catch((error) => {
|
|
3292
|
-
console.error('Failed to start ServiceNow Operations MCP server:', error);
|
|
3293
|
-
process.exit(1);
|
|
3294
|
-
});
|
|
3295
|
-
}
|
|
3296
|
-
//# sourceMappingURL=servicenow-operations-mcp.js.map
|