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,2469 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
/**
|
|
4
|
-
* ServiceNow Automation MCP Server
|
|
5
|
-
* Handles scheduled tasks, events, and automated processes
|
|
6
|
-
* NO HARDCODED VALUES - All schedules and events discovered dynamically
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
const index_js_1 = require("@modelcontextprotocol/sdk/server/index.js");
|
|
10
|
-
const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
11
|
-
const types_js_1 = require("@modelcontextprotocol/sdk/types.js");
|
|
12
|
-
const servicenow_client_js_1 = require("../utils/servicenow-client.js");
|
|
13
|
-
const mcp_auth_middleware_js_1 = require("../utils/mcp-auth-middleware.js");
|
|
14
|
-
const mcp_config_manager_js_1 = require("../utils/mcp-config-manager.js");
|
|
15
|
-
const mcp_logger_js_1 = require("./shared/mcp-logger.js");
|
|
16
|
-
const servicenow_audit_logger_js_1 = require("../utils/servicenow-audit-logger.js");
|
|
17
|
-
class ServiceNowAutomationMCP {
|
|
18
|
-
constructor() {
|
|
19
|
-
this.server = new index_js_1.Server({
|
|
20
|
-
name: 'servicenow-automation',
|
|
21
|
-
version: '1.0.0',
|
|
22
|
-
}, {
|
|
23
|
-
capabilities: {
|
|
24
|
-
tools: {},
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
this.client = new servicenow_client_js_1.ServiceNowClient();
|
|
28
|
-
this.logger = new mcp_logger_js_1.MCPLogger('ServiceNowAutomationMCP');
|
|
29
|
-
this.auditLogger = (0, servicenow_audit_logger_js_1.getAuditLogger)(this.logger, 'servicenow-automation');
|
|
30
|
-
this.auditLogger.setServiceNowClient(this.client);
|
|
31
|
-
this.config = mcp_config_manager_js_1.mcpConfig.getConfig();
|
|
32
|
-
this.setupHandlers();
|
|
33
|
-
}
|
|
34
|
-
setupHandlers() {
|
|
35
|
-
this.server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
|
|
36
|
-
tools: [
|
|
37
|
-
{
|
|
38
|
-
name: 'snow_create_scheduled_job',
|
|
39
|
-
description: 'Creates scheduled jobs for automated task execution. Supports cron patterns, time zones, and run-as user configuration.',
|
|
40
|
-
inputSchema: {
|
|
41
|
-
type: 'object',
|
|
42
|
-
properties: {
|
|
43
|
-
name: { type: 'string', description: 'Scheduled Job name' },
|
|
44
|
-
script: { type: 'string', description: '🚨 ES5 ONLY! JavaScript code to execute (no const/let/arrows/templates - Rhino engine)' },
|
|
45
|
-
description: { type: 'string', description: 'Job description' },
|
|
46
|
-
schedule: { type: 'string', description: 'Schedule pattern (daily, weekly, monthly, or cron)' },
|
|
47
|
-
active: { type: 'boolean', description: 'Job active status' },
|
|
48
|
-
runAsUser: { type: 'string', description: 'User to run job as' },
|
|
49
|
-
timeZone: { type: 'string', description: 'Time zone for execution' }
|
|
50
|
-
},
|
|
51
|
-
required: ['name', 'script', 'schedule']
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
name: 'snow_create_event_rule',
|
|
56
|
-
description: 'Creates event-driven automation rules. Triggers scripts based on system events with conditional logic.',
|
|
57
|
-
inputSchema: {
|
|
58
|
-
type: 'object',
|
|
59
|
-
properties: {
|
|
60
|
-
name: { type: 'string', description: 'Event Rule name' },
|
|
61
|
-
eventName: { type: 'string', description: 'Event name to listen for' },
|
|
62
|
-
condition: { type: 'string', description: 'Event condition script (ES5 only!)' },
|
|
63
|
-
script: { type: 'string', description: '🚨 ES5 ONLY! Action script to execute (no const/let/arrows/templates - Rhino engine)' },
|
|
64
|
-
description: { type: 'string', description: 'Rule description' },
|
|
65
|
-
active: { type: 'boolean', description: 'Rule active status' },
|
|
66
|
-
order: { type: 'number', description: 'Execution order' }
|
|
67
|
-
},
|
|
68
|
-
required: ['name', 'eventName', 'script']
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'snow_create_notification',
|
|
73
|
-
description: 'Creates email notifications for record changes. Configures triggers, recipients, and message templates.',
|
|
74
|
-
inputSchema: {
|
|
75
|
-
type: 'object',
|
|
76
|
-
properties: {
|
|
77
|
-
name: { type: 'string', description: 'Notification name' },
|
|
78
|
-
table: { type: 'string', description: 'Table to monitor' },
|
|
79
|
-
when: { type: 'string', description: 'When to send (inserted, updated, deleted)' },
|
|
80
|
-
condition: { type: 'string', description: 'Condition script' },
|
|
81
|
-
recipients: { type: 'string', description: 'Recipient specification' },
|
|
82
|
-
subject: { type: 'string', description: 'Email subject' },
|
|
83
|
-
message: { type: 'string', description: 'Email message body' },
|
|
84
|
-
active: { type: 'boolean', description: 'Notification active status' }
|
|
85
|
-
},
|
|
86
|
-
required: ['name', 'table', 'when', 'recipients', 'subject', 'message']
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'snow_create_sla_definition',
|
|
91
|
-
description: 'Creates Service Level Agreement definitions. Sets duration targets, business schedules, and breach conditions.',
|
|
92
|
-
inputSchema: {
|
|
93
|
-
type: 'object',
|
|
94
|
-
properties: {
|
|
95
|
-
name: { type: 'string', description: 'SLA Definition name' },
|
|
96
|
-
table: { type: 'string', description: 'Table to apply SLA to' },
|
|
97
|
-
condition: { type: 'string', description: 'SLA condition script' },
|
|
98
|
-
duration: { type: 'string', description: 'Duration specification' },
|
|
99
|
-
durationType: { type: 'string', description: 'Duration type (business, calendar)' },
|
|
100
|
-
schedule: { type: 'string', description: 'Schedule to use' },
|
|
101
|
-
active: { type: 'boolean', description: 'SLA active status' },
|
|
102
|
-
description: { type: 'string', description: 'SLA description' }
|
|
103
|
-
},
|
|
104
|
-
required: ['name', 'table', 'condition', 'duration']
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: 'snow_create_escalation_rule',
|
|
109
|
-
description: 'Creates escalation rules for time-based actions. Defines escalation timing, conditions, and automated responses.',
|
|
110
|
-
inputSchema: {
|
|
111
|
-
type: 'object',
|
|
112
|
-
properties: {
|
|
113
|
-
name: { type: 'string', description: 'Escalation Rule name' },
|
|
114
|
-
table: { type: 'string', description: 'Table to monitor' },
|
|
115
|
-
condition: { type: 'string', description: 'Escalation condition' },
|
|
116
|
-
escalationTime: { type: 'number', description: 'Escalation time in minutes' },
|
|
117
|
-
escalationScript: { type: 'string', description: 'Escalation action script' },
|
|
118
|
-
active: { type: 'boolean', description: 'Rule active status' },
|
|
119
|
-
order: { type: 'number', description: 'Execution order' },
|
|
120
|
-
description: { type: 'string', description: 'Rule description' }
|
|
121
|
-
},
|
|
122
|
-
required: ['name', 'table', 'condition', 'escalationTime', 'escalationScript']
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
name: 'snow_create_workflow_activity',
|
|
127
|
-
description: 'Creates workflow activities within existing workflows. Configures activity types, conditions, and execution order.',
|
|
128
|
-
inputSchema: {
|
|
129
|
-
type: 'object',
|
|
130
|
-
properties: {
|
|
131
|
-
name: { type: 'string', description: 'Activity name' },
|
|
132
|
-
workflowName: { type: 'string', description: 'Parent workflow name' },
|
|
133
|
-
activityType: { type: 'string', description: 'Activity type' },
|
|
134
|
-
script: { type: 'string', description: 'Activity script' },
|
|
135
|
-
condition: { type: 'string', description: 'Activity condition' },
|
|
136
|
-
order: { type: 'number', description: 'Activity order' },
|
|
137
|
-
description: { type: 'string', description: 'Activity description' }
|
|
138
|
-
},
|
|
139
|
-
required: ['name', 'workflowName', 'activityType']
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
name: 'snow_discover_schedules',
|
|
144
|
-
description: 'Discovers available schedules in the instance for business hours, maintenance windows, and SLA calculations.',
|
|
145
|
-
inputSchema: {
|
|
146
|
-
type: 'object',
|
|
147
|
-
properties: {
|
|
148
|
-
type: { type: 'string', description: 'Filter by schedule type' }
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
name: 'snow_discover_events',
|
|
154
|
-
description: 'Discovers system events available for automation triggers. Filters by table and event type.',
|
|
155
|
-
inputSchema: {
|
|
156
|
-
type: 'object',
|
|
157
|
-
properties: {
|
|
158
|
-
table: { type: 'string', description: 'Filter by table' }
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
name: 'snow_discover_automation_jobs',
|
|
164
|
-
description: 'Lists all automation jobs in the instance with status filtering for active, inactive, or all jobs.',
|
|
165
|
-
inputSchema: {
|
|
166
|
-
type: 'object',
|
|
167
|
-
properties: {
|
|
168
|
-
status: { type: 'string', description: 'Filter by status: active, inactive, all' }
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
name: 'snow_test_scheduled_job',
|
|
174
|
-
description: 'Tests scheduled job execution without waiting for the schedule. Validates script logic and permissions.',
|
|
175
|
-
inputSchema: {
|
|
176
|
-
type: 'object',
|
|
177
|
-
properties: {
|
|
178
|
-
jobName: { type: 'string', description: 'Scheduled job name to test' }
|
|
179
|
-
},
|
|
180
|
-
required: ['jobName']
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
name: 'snow_execute_background_script',
|
|
185
|
-
description: '🚨 REQUIRES USER CONFIRMATION (unless autoConfirm=true): Executes JavaScript background script in ServiceNow. ⚠️ CRITICAL: Script MUST be ES5-only (no const/let/arrow functions/template literals) - ES6+ will cause SyntaxError on Rhino engine!',
|
|
186
|
-
inputSchema: {
|
|
187
|
-
type: 'object',
|
|
188
|
-
properties: {
|
|
189
|
-
script: {
|
|
190
|
-
type: 'string',
|
|
191
|
-
description: '🚨 ES5 JAVASCRIPT ONLY! Use var (not const/let), function(){} (not arrows), string concatenation (not templates). Has access to GlideRecord, GlideAggregate, gs, etc.'
|
|
192
|
-
},
|
|
193
|
-
description: {
|
|
194
|
-
type: 'string',
|
|
195
|
-
description: 'Clear description of what the script does (shown to user for approval unless autoConfirm=true)'
|
|
196
|
-
},
|
|
197
|
-
runAsUser: {
|
|
198
|
-
type: 'string',
|
|
199
|
-
description: 'User to execute script as (optional, defaults to current user)'
|
|
200
|
-
},
|
|
201
|
-
allowDataModification: {
|
|
202
|
-
type: 'boolean',
|
|
203
|
-
description: 'Whether script is allowed to modify data (CREATE/UPDATE/DELETE operations)',
|
|
204
|
-
default: false
|
|
205
|
-
},
|
|
206
|
-
autoConfirm: {
|
|
207
|
-
type: 'boolean',
|
|
208
|
-
description: '⚠️ DANGEROUS: Skip user confirmation and execute immediately. Only use for trusted/verified scripts!',
|
|
209
|
-
default: false
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
required: ['script', 'description']
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
name: 'snow_confirm_script_execution',
|
|
217
|
-
description: '⚡ INTERNAL: Confirms and executes a background script after user approval. Only call this after user explicitly approves script execution.',
|
|
218
|
-
inputSchema: {
|
|
219
|
-
type: 'object',
|
|
220
|
-
properties: {
|
|
221
|
-
script: { type: 'string', description: 'The approved script to execute' },
|
|
222
|
-
executionId: { type: 'string', description: 'Execution ID from confirmation request' },
|
|
223
|
-
userConfirmed: { type: 'boolean', description: 'User confirmation (must be true)' }
|
|
224
|
-
},
|
|
225
|
-
required: ['script', 'executionId', 'userConfirmed']
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
name: 'snow_create_atf_test',
|
|
230
|
-
description: 'Creates an Automated Test Framework (ATF) test for automated testing of ServiceNow applications and configurations using the sys_atf_test table.',
|
|
231
|
-
inputSchema: {
|
|
232
|
-
type: 'object',
|
|
233
|
-
properties: {
|
|
234
|
-
name: { type: 'string', description: 'Test name' },
|
|
235
|
-
description: { type: 'string', description: 'Test description' },
|
|
236
|
-
testFor: { type: 'string', description: 'What to test (e.g., form, list, service_portal, api, workflow)' },
|
|
237
|
-
table: { type: 'string', description: 'Table to test (if applicable)' },
|
|
238
|
-
active: { type: 'boolean', description: 'Test active status', default: true },
|
|
239
|
-
category: { type: 'string', description: 'Test category (e.g., regression, smoke, integration)' }
|
|
240
|
-
},
|
|
241
|
-
required: ['name', 'testFor']
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
name: 'snow_create_atf_test_step',
|
|
246
|
-
description: 'Adds a test step to an existing ATF test. Steps define the actions and assertions for testing using the sys_atf_step table.',
|
|
247
|
-
inputSchema: {
|
|
248
|
-
type: 'object',
|
|
249
|
-
properties: {
|
|
250
|
-
testId: { type: 'string', description: 'Parent test sys_id or name' },
|
|
251
|
-
stepType: { type: 'string', description: 'Step type (e.g., form_submission, impersonate, assert_condition, open_form, server_script)' },
|
|
252
|
-
order: { type: 'number', description: 'Step execution order' },
|
|
253
|
-
description: { type: 'string', description: 'Step description' },
|
|
254
|
-
stepConfig: { type: 'object', description: 'Step configuration (varies by type)' },
|
|
255
|
-
timeout: { type: 'number', description: 'Step timeout in seconds', default: 30 }
|
|
256
|
-
},
|
|
257
|
-
required: ['testId', 'stepType', 'order']
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
name: 'snow_execute_atf_test',
|
|
262
|
-
description: 'Executes an ATF test or test suite and returns the results. Tests run asynchronously in ServiceNow using sys_atf_test_result table.',
|
|
263
|
-
inputSchema: {
|
|
264
|
-
type: 'object',
|
|
265
|
-
properties: {
|
|
266
|
-
testId: { type: 'string', description: 'Test sys_id or name to execute' },
|
|
267
|
-
suiteId: { type: 'string', description: 'Test suite sys_id or name (alternative to testId)' },
|
|
268
|
-
async: { type: 'boolean', description: 'Run asynchronously', default: true },
|
|
269
|
-
waitForResult: { type: 'boolean', description: 'Wait for test completion', default: false }
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
name: 'snow_get_atf_results',
|
|
275
|
-
description: 'Retrieves ATF test execution results including pass/fail status, error details, and execution time from sys_atf_test_result table.',
|
|
276
|
-
inputSchema: {
|
|
277
|
-
type: 'object',
|
|
278
|
-
properties: {
|
|
279
|
-
executionId: { type: 'string', description: 'Test execution ID' },
|
|
280
|
-
testId: { type: 'string', description: 'Test ID to get latest results' },
|
|
281
|
-
limit: { type: 'number', description: 'Number of recent results to retrieve', default: 10 }
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
name: 'snow_create_atf_test_suite',
|
|
287
|
-
description: 'Creates an ATF test suite to group and run multiple tests together using sys_atf_test_suite table.',
|
|
288
|
-
inputSchema: {
|
|
289
|
-
type: 'object',
|
|
290
|
-
properties: {
|
|
291
|
-
name: { type: 'string', description: 'Test suite name' },
|
|
292
|
-
description: { type: 'string', description: 'Suite description' },
|
|
293
|
-
tests: { type: 'array', items: { type: 'string' }, description: 'Test IDs or names to include' },
|
|
294
|
-
active: { type: 'boolean', description: 'Suite active status', default: true },
|
|
295
|
-
runParallel: { type: 'boolean', description: 'Run tests in parallel', default: false }
|
|
296
|
-
},
|
|
297
|
-
required: ['name']
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
name: 'snow_discover_atf_tests',
|
|
302
|
-
description: 'Discovers existing ATF tests and test suites in the instance with filtering options from sys_atf_test and sys_atf_test_suite tables.',
|
|
303
|
-
inputSchema: {
|
|
304
|
-
type: 'object',
|
|
305
|
-
properties: {
|
|
306
|
-
type: { type: 'string', description: 'Filter by type: test, suite, or all', default: 'all' },
|
|
307
|
-
table: { type: 'string', description: 'Filter by table being tested' },
|
|
308
|
-
active: { type: 'boolean', description: 'Filter by active status' }
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
name: 'snow_schedule_script_with_output',
|
|
314
|
-
description: '⚠️ DEPRECATED - Use snow_schedule_script_job instead. SCHEDULES (not executes directly) a script via scheduled job. May return executed=false. ES5 only!',
|
|
315
|
-
inputSchema: {
|
|
316
|
-
type: 'object',
|
|
317
|
-
properties: {
|
|
318
|
-
script: { type: 'string', description: '🚨 ES5 ONLY! Use var, function(){}, string+concatenation. JavaScript code to schedule.' },
|
|
319
|
-
return_output: { type: 'boolean', description: 'Return script output', default: true },
|
|
320
|
-
max_wait: { type: 'number', description: 'Maximum wait time in milliseconds', default: 5000 },
|
|
321
|
-
capture_logs: { type: 'boolean', description: 'Capture system logs during execution', default: true }
|
|
322
|
-
},
|
|
323
|
-
required: ['script']
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
name: 'snow_get_script_output',
|
|
328
|
-
description: 'Retrieves the output from a previously executed script using its execution ID.',
|
|
329
|
-
inputSchema: {
|
|
330
|
-
type: 'object',
|
|
331
|
-
properties: {
|
|
332
|
-
execution_id: { type: 'string', description: 'Execution ID from previous script run' }
|
|
333
|
-
},
|
|
334
|
-
required: ['execution_id']
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
name: 'snow_schedule_script_sync',
|
|
339
|
-
description: '⚠️ DEPRECATED - Use snow_schedule_script_job instead. SCHEDULES (not sync executes) a script via scheduled job. The "sync" name is misleading - this still uses async scheduling. ES5 only!',
|
|
340
|
-
inputSchema: {
|
|
341
|
-
type: 'object',
|
|
342
|
-
properties: {
|
|
343
|
-
script: { type: 'string', description: '🚨 ES5 ONLY! No const/let/arrows/templates. JavaScript code to schedule.' },
|
|
344
|
-
timeout: { type: 'number', description: 'Timeout in milliseconds', default: 3000 },
|
|
345
|
-
capture_output: { type: 'boolean', description: 'Capture and return output', default: true }
|
|
346
|
-
},
|
|
347
|
-
required: ['script']
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
name: 'snow_get_logs',
|
|
352
|
-
description: 'Retrieves system logs with filtering options. Access script, system, and background logs.',
|
|
353
|
-
inputSchema: {
|
|
354
|
-
type: 'object',
|
|
355
|
-
properties: {
|
|
356
|
-
source: { type: 'string', description: 'Log source: system, script, background, all', default: 'all' },
|
|
357
|
-
filter: { type: 'string', description: 'Filter string to search for' },
|
|
358
|
-
last_n_minutes: { type: 'number', description: 'Get logs from last N minutes', default: 5 },
|
|
359
|
-
return_content: { type: 'boolean', description: 'Return full log content', default: true },
|
|
360
|
-
limit: { type: 'number', description: 'Maximum number of log entries', default: 100 }
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
name: 'snow_test_rest_connection',
|
|
366
|
-
description: 'Tests a REST message connection with full response details and diagnostics.',
|
|
367
|
-
inputSchema: {
|
|
368
|
-
type: 'object',
|
|
369
|
-
properties: {
|
|
370
|
-
rest_message: { type: 'string', description: 'REST Message name' },
|
|
371
|
-
method: { type: 'string', description: 'HTTP Method name' },
|
|
372
|
-
test_params: { type: 'object', description: 'Test parameters for the request' },
|
|
373
|
-
return_full_response: { type: 'boolean', description: 'Return complete response details', default: true },
|
|
374
|
-
validate_auth: { type: 'boolean', description: 'Validate authentication', default: true }
|
|
375
|
-
},
|
|
376
|
-
required: ['rest_message']
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
name: 'snow_rest_message_test_suite',
|
|
381
|
-
description: 'Comprehensive REST message testing with authentication validation and connection diagnostics.',
|
|
382
|
-
inputSchema: {
|
|
383
|
-
type: 'object',
|
|
384
|
-
properties: {
|
|
385
|
-
rest_message: { type: 'string', description: 'REST Message to test' },
|
|
386
|
-
validate_auth: { type: 'boolean', description: 'Validate authentication', default: true },
|
|
387
|
-
test_connection: { type: 'boolean', description: 'Test actual connection', default: true },
|
|
388
|
-
return_diagnostics: { type: 'boolean', description: 'Return detailed diagnostics', default: true }
|
|
389
|
-
},
|
|
390
|
-
required: ['rest_message']
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
name: 'snow_property_manager',
|
|
395
|
-
description: 'Enhanced property management with get, set, and validation in one tool.',
|
|
396
|
-
inputSchema: {
|
|
397
|
-
type: 'object',
|
|
398
|
-
properties: {
|
|
399
|
-
action: { type: 'string', description: 'Action: get, set, validate', enum: ['get', 'set', 'validate'] },
|
|
400
|
-
name: { type: 'string', description: 'Property name' },
|
|
401
|
-
value: { type: 'string', description: 'Property value (for set action)' },
|
|
402
|
-
mask_sensitive: { type: 'boolean', description: 'Mask sensitive values like API keys', default: true }
|
|
403
|
-
},
|
|
404
|
-
required: ['action', 'name']
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
name: 'snow_trace_execution',
|
|
409
|
-
description: 'Traces execution flow with real-time tracking of scripts, REST calls, and errors.',
|
|
410
|
-
inputSchema: {
|
|
411
|
-
type: 'object',
|
|
412
|
-
properties: {
|
|
413
|
-
track_id: { type: 'string', description: 'Tracking ID for the execution session' },
|
|
414
|
-
include: {
|
|
415
|
-
type: 'array',
|
|
416
|
-
items: { type: 'string' },
|
|
417
|
-
description: 'What to track: scripts, rest_calls, errors, queries, all',
|
|
418
|
-
default: ['all']
|
|
419
|
-
},
|
|
420
|
-
real_time: { type: 'boolean', description: 'Enable real-time tracking', default: true },
|
|
421
|
-
max_entries: { type: 'number', description: 'Maximum trace entries', default: 1000 }
|
|
422
|
-
},
|
|
423
|
-
required: ['track_id']
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
]
|
|
427
|
-
}));
|
|
428
|
-
this.server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
429
|
-
const { name, arguments: args } = request.params;
|
|
430
|
-
try {
|
|
431
|
-
// Start operation with token tracking
|
|
432
|
-
this.logger.operationStart(name, args);
|
|
433
|
-
const authResult = await mcp_auth_middleware_js_1.mcpAuth.ensureAuthenticated();
|
|
434
|
-
if (!authResult.success) {
|
|
435
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, authResult.error || 'Authentication required');
|
|
436
|
-
}
|
|
437
|
-
let result;
|
|
438
|
-
switch (name) {
|
|
439
|
-
case 'snow_create_scheduled_job':
|
|
440
|
-
result = await this.createScheduledJob(args);
|
|
441
|
-
break;
|
|
442
|
-
case 'snow_create_event_rule':
|
|
443
|
-
result = await this.createEventRule(args);
|
|
444
|
-
break;
|
|
445
|
-
case 'snow_create_notification':
|
|
446
|
-
result = await this.createNotification(args);
|
|
447
|
-
break;
|
|
448
|
-
case 'snow_create_sla_definition':
|
|
449
|
-
result = await this.createSLADefinition(args);
|
|
450
|
-
break;
|
|
451
|
-
case 'snow_create_escalation_rule':
|
|
452
|
-
result = await this.createEscalationRule(args);
|
|
453
|
-
break;
|
|
454
|
-
case 'snow_create_workflow_activity':
|
|
455
|
-
result = await this.createWorkflowActivity(args);
|
|
456
|
-
break;
|
|
457
|
-
case 'snow_discover_schedules':
|
|
458
|
-
result = await this.discoverSchedules(args);
|
|
459
|
-
break;
|
|
460
|
-
case 'snow_discover_events':
|
|
461
|
-
result = await this.discoverEvents(args);
|
|
462
|
-
break;
|
|
463
|
-
case 'snow_discover_automation_jobs':
|
|
464
|
-
result = await this.discoverAutomationJobs(args);
|
|
465
|
-
break;
|
|
466
|
-
case 'snow_test_scheduled_job':
|
|
467
|
-
result = await this.testScheduledJob(args);
|
|
468
|
-
break;
|
|
469
|
-
case 'snow_execute_background_script':
|
|
470
|
-
result = await this.executeBackgroundScript(args);
|
|
471
|
-
break;
|
|
472
|
-
case 'snow_confirm_script_execution':
|
|
473
|
-
result = await this.confirmScriptExecution(args);
|
|
474
|
-
break;
|
|
475
|
-
case 'snow_create_atf_test':
|
|
476
|
-
result = await this.createATFTest(args);
|
|
477
|
-
break;
|
|
478
|
-
case 'snow_create_atf_test_step':
|
|
479
|
-
result = await this.createATFTestStep(args);
|
|
480
|
-
break;
|
|
481
|
-
case 'snow_execute_atf_test':
|
|
482
|
-
result = await this.executeATFTest(args);
|
|
483
|
-
break;
|
|
484
|
-
case 'snow_get_atf_results':
|
|
485
|
-
result = await this.getATFResults(args);
|
|
486
|
-
break;
|
|
487
|
-
case 'snow_create_atf_test_suite':
|
|
488
|
-
result = await this.createATFTestSuite(args);
|
|
489
|
-
break;
|
|
490
|
-
case 'snow_discover_atf_tests':
|
|
491
|
-
result = await this.discoverATFTests(args);
|
|
492
|
-
break;
|
|
493
|
-
case 'snow_schedule_script_with_output':
|
|
494
|
-
result = await this.executeScriptWithOutput(args);
|
|
495
|
-
break;
|
|
496
|
-
case 'snow_get_script_output':
|
|
497
|
-
result = await this.getScriptOutput(args);
|
|
498
|
-
break;
|
|
499
|
-
case 'snow_schedule_script_sync':
|
|
500
|
-
result = await this.executeScriptSync(args);
|
|
501
|
-
break;
|
|
502
|
-
case 'snow_get_logs':
|
|
503
|
-
result = await this.getLogs(args);
|
|
504
|
-
break;
|
|
505
|
-
case 'snow_test_rest_connection':
|
|
506
|
-
result = await this.testRESTConnection(args);
|
|
507
|
-
break;
|
|
508
|
-
case 'snow_rest_message_test_suite':
|
|
509
|
-
result = await this.restMessageTestSuite(args);
|
|
510
|
-
break;
|
|
511
|
-
case 'snow_property_manager':
|
|
512
|
-
result = await this.propertyManager(args);
|
|
513
|
-
break;
|
|
514
|
-
case 'snow_trace_execution':
|
|
515
|
-
result = await this.traceExecution(args);
|
|
516
|
-
break;
|
|
517
|
-
default:
|
|
518
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
|
|
519
|
-
}
|
|
520
|
-
// Complete operation with token tracking
|
|
521
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
522
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
523
|
-
this.logger.operationComplete(name, result);
|
|
524
|
-
// Add token usage to response
|
|
525
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
526
|
-
return result;
|
|
527
|
-
}
|
|
528
|
-
catch (error) {
|
|
529
|
-
this.logger.error(`Error in ${request.params.name}:`, error);
|
|
530
|
-
throw error;
|
|
531
|
-
}
|
|
532
|
-
});
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
* Create Scheduled Job with dynamic discovery
|
|
536
|
-
*/
|
|
537
|
-
async createScheduledJob(args) {
|
|
538
|
-
try {
|
|
539
|
-
this.logger.info('Creating Scheduled Job...');
|
|
540
|
-
// Get available time zones and schedules dynamically
|
|
541
|
-
const timeZones = await this.getAvailableTimeZones();
|
|
542
|
-
const schedules = await this.getAvailableSchedules();
|
|
543
|
-
// Parse schedule pattern
|
|
544
|
-
const schedulePattern = this.parseSchedulePattern(args.schedule);
|
|
545
|
-
const jobData = {
|
|
546
|
-
name: args.name,
|
|
547
|
-
script: args.script,
|
|
548
|
-
description: args.description || '',
|
|
549
|
-
active: args.active !== false,
|
|
550
|
-
run_as: args.runAsUser || 'system',
|
|
551
|
-
time_zone: args.timeZone || 'UTC',
|
|
552
|
-
...schedulePattern
|
|
553
|
-
};
|
|
554
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
555
|
-
this.logger.trackAPICall('CREATE', 'sysauto_script', 1);
|
|
556
|
-
const response = await this.client.createRecord('sysauto_script', jobData);
|
|
557
|
-
if (!response.success) {
|
|
558
|
-
throw new Error(`Failed to create Scheduled Job: ${response.error}`);
|
|
559
|
-
}
|
|
560
|
-
return {
|
|
561
|
-
content: [{
|
|
562
|
-
type: 'text',
|
|
563
|
-
text: `✅ Scheduled Job created successfully!\n\n⏰ **${args.name}**\n🆔 sys_id: ${response.data.sys_id}\n📅 Schedule: ${args.schedule}\n🌍 Time Zone: ${args.timeZone || 'UTC'}\n👤 Run As: ${args.runAsUser || 'system'}\n🔄 Active: ${args.active !== false ? 'Yes' : 'No'}\n\n📝 Description: ${args.description || 'No description provided'}\n\n✨ Created with dynamic schedule discovery!`
|
|
564
|
-
}]
|
|
565
|
-
};
|
|
566
|
-
}
|
|
567
|
-
catch (error) {
|
|
568
|
-
this.logger.error('Failed to create Scheduled Job:', error);
|
|
569
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create Scheduled Job: ${error}`);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* Create Event Rule with dynamic discovery
|
|
574
|
-
*/
|
|
575
|
-
async createEventRule(args) {
|
|
576
|
-
try {
|
|
577
|
-
this.logger.info('Creating Event Rule...');
|
|
578
|
-
// Discover available events
|
|
579
|
-
const availableEvents = await this.getAvailableEvents();
|
|
580
|
-
const eventRuleData = {
|
|
581
|
-
name: args.name,
|
|
582
|
-
event_name: args.eventName,
|
|
583
|
-
filter: args.condition || '',
|
|
584
|
-
script: args.script,
|
|
585
|
-
description: args.description || '',
|
|
586
|
-
active: args.active !== false,
|
|
587
|
-
order: args.order || 100,
|
|
588
|
-
// Required fields for sysevent_register table
|
|
589
|
-
table: 'incident', // Default table, can be overridden
|
|
590
|
-
sys_class_name: 'sysevent_script_action'
|
|
591
|
-
};
|
|
592
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
593
|
-
// Try sysevent_register first, then sysevent_script_action as fallback
|
|
594
|
-
let response = await this.client.createRecord('sysevent_register', eventRuleData);
|
|
595
|
-
if (!response.success) {
|
|
596
|
-
this.logger.warn('Failed to create in sysevent_register, trying sysevent_script_action...');
|
|
597
|
-
// Remove table-specific fields for script action
|
|
598
|
-
const scriptActionData = {
|
|
599
|
-
name: args.name,
|
|
600
|
-
event_name: args.eventName,
|
|
601
|
-
script: args.script,
|
|
602
|
-
active: args.active !== false,
|
|
603
|
-
order: args.order || 100,
|
|
604
|
-
description: args.description || ''
|
|
605
|
-
};
|
|
606
|
-
response = await this.client.createRecord('sysevent_script_action', scriptActionData);
|
|
607
|
-
}
|
|
608
|
-
if (!response.success) {
|
|
609
|
-
throw new Error(`Failed to create Event Rule: ${response.error}`);
|
|
610
|
-
}
|
|
611
|
-
return {
|
|
612
|
-
content: [{
|
|
613
|
-
type: 'text',
|
|
614
|
-
text: `✅ Event Rule created successfully!\n\n🎯 **${args.name}**\n🆔 sys_id: ${response.data.sys_id}\n📡 Event: ${args.eventName}\n🔢 Order: ${args.order || 100}\n🔄 Active: ${args.active !== false ? 'Yes' : 'No'}\n\n📝 Description: ${args.description || 'No description provided'}\n\n✨ Created with dynamic event discovery!`
|
|
615
|
-
}]
|
|
616
|
-
};
|
|
617
|
-
}
|
|
618
|
-
catch (error) {
|
|
619
|
-
this.logger.error('Failed to create Event Rule:', error);
|
|
620
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create Event Rule: ${error}`);
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
/**
|
|
624
|
-
* Create Notification with dynamic discovery
|
|
625
|
-
*/
|
|
626
|
-
async createNotification(args) {
|
|
627
|
-
try {
|
|
628
|
-
this.logger.info('Creating Notification...');
|
|
629
|
-
// Validate table and discover notification types
|
|
630
|
-
const tableInfo = await this.getTableInfo(args.table);
|
|
631
|
-
if (!tableInfo) {
|
|
632
|
-
throw new Error(`Table not found: ${args.table}`);
|
|
633
|
-
}
|
|
634
|
-
const notificationData = {
|
|
635
|
-
name: args.name,
|
|
636
|
-
table: tableInfo.name,
|
|
637
|
-
when: args.when,
|
|
638
|
-
condition: args.condition || '',
|
|
639
|
-
recipients: args.recipients,
|
|
640
|
-
subject: args.subject,
|
|
641
|
-
message: args.message,
|
|
642
|
-
active: args.active !== false
|
|
643
|
-
};
|
|
644
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
645
|
-
const response = await this.client.createRecord('sysevent_email_action', notificationData);
|
|
646
|
-
if (!response.success) {
|
|
647
|
-
throw new Error(`Failed to create Notification: ${response.error}`);
|
|
648
|
-
}
|
|
649
|
-
return {
|
|
650
|
-
content: [{
|
|
651
|
-
type: 'text',
|
|
652
|
-
text: `✅ Notification created successfully!\n\n📧 **${args.name}**\n🆔 sys_id: ${response.data.sys_id}\n📊 Table: ${tableInfo.label} (${tableInfo.name})\n⏰ When: ${args.when}\n👥 Recipients: ${args.recipients}\n📝 Subject: ${args.subject}\n🔄 Active: ${args.active !== false ? 'Yes' : 'No'}\n\n✨ Created with dynamic table discovery!`
|
|
653
|
-
}]
|
|
654
|
-
};
|
|
655
|
-
}
|
|
656
|
-
catch (error) {
|
|
657
|
-
this.logger.error('Failed to create Notification:', error);
|
|
658
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create Notification: ${error}`);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* Create SLA Definition with dynamic discovery
|
|
663
|
-
*/
|
|
664
|
-
async createSLADefinition(args) {
|
|
665
|
-
try {
|
|
666
|
-
this.logger.info('Creating SLA Definition...');
|
|
667
|
-
const tableInfo = await this.getTableInfo(args.table);
|
|
668
|
-
if (!tableInfo) {
|
|
669
|
-
throw new Error(`Table not found: ${args.table}`);
|
|
670
|
-
}
|
|
671
|
-
// Get available schedules for SLA
|
|
672
|
-
const schedules = await this.getAvailableSchedules();
|
|
673
|
-
const slaData = {
|
|
674
|
-
name: args.name,
|
|
675
|
-
table: tableInfo.name,
|
|
676
|
-
condition: args.condition,
|
|
677
|
-
duration: args.duration,
|
|
678
|
-
duration_type: args.durationType || 'business',
|
|
679
|
-
schedule: args.schedule || '',
|
|
680
|
-
active: args.active !== false,
|
|
681
|
-
description: args.description || ''
|
|
682
|
-
};
|
|
683
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
684
|
-
const response = await this.client.createRecord('contract_sla', slaData);
|
|
685
|
-
if (!response.success) {
|
|
686
|
-
throw new Error(`Failed to create SLA Definition: ${response.error}`);
|
|
687
|
-
}
|
|
688
|
-
return {
|
|
689
|
-
content: [{
|
|
690
|
-
type: 'text',
|
|
691
|
-
text: `✅ SLA Definition created successfully!\n\n⏱️ **${args.name}**\n🆔 sys_id: ${response.data.sys_id}\n📊 Table: ${tableInfo.label} (${tableInfo.name})\n⏰ Duration: ${args.duration}\n📅 Type: ${args.durationType || 'business'}\n🔄 Active: ${args.active !== false ? 'Yes' : 'No'}\n\n📝 Description: ${args.description || 'No description provided'}\n\n✨ Created with dynamic schedule discovery!`
|
|
692
|
-
}]
|
|
693
|
-
};
|
|
694
|
-
}
|
|
695
|
-
catch (error) {
|
|
696
|
-
this.logger.error('Failed to create SLA Definition:', error);
|
|
697
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create SLA Definition: ${error}`);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* Create Escalation Rule with dynamic discovery
|
|
702
|
-
*/
|
|
703
|
-
async createEscalationRule(args) {
|
|
704
|
-
try {
|
|
705
|
-
this.logger.info('Creating Escalation Rule...');
|
|
706
|
-
const tableInfo = await this.getTableInfo(args.table);
|
|
707
|
-
if (!tableInfo) {
|
|
708
|
-
throw new Error(`Table not found: ${args.table}`);
|
|
709
|
-
}
|
|
710
|
-
const escalationData = {
|
|
711
|
-
name: args.name,
|
|
712
|
-
table: tableInfo.name,
|
|
713
|
-
condition: args.condition,
|
|
714
|
-
escalation_time: args.escalationTime,
|
|
715
|
-
script: args.escalationScript, // Changed from escalation_script to script
|
|
716
|
-
active: args.active !== false,
|
|
717
|
-
order: args.order || 100,
|
|
718
|
-
description: args.description || '',
|
|
719
|
-
// Additional required fields for escalation rules
|
|
720
|
-
type: 'script', // Escalation type
|
|
721
|
-
sys_class_name: 'escalation_rule'
|
|
722
|
-
};
|
|
723
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
724
|
-
// Try different table names that might exist for escalation rules
|
|
725
|
-
let response = await this.client.createRecord('sys_escalation', escalationData);
|
|
726
|
-
if (!response.success) {
|
|
727
|
-
this.logger.warn('Failed to create in sys_escalation, trying escalation_set...');
|
|
728
|
-
response = await this.client.createRecord('escalation_set', escalationData);
|
|
729
|
-
}
|
|
730
|
-
if (!response.success) {
|
|
731
|
-
this.logger.warn('Failed to create in escalation_set, trying original escalation_rule...');
|
|
732
|
-
response = await this.client.createRecord('escalation_rule', escalationData);
|
|
733
|
-
}
|
|
734
|
-
if (!response.success) {
|
|
735
|
-
throw new Error(`Failed to create Escalation Rule: ${response.error}`);
|
|
736
|
-
}
|
|
737
|
-
return {
|
|
738
|
-
content: [{
|
|
739
|
-
type: 'text',
|
|
740
|
-
text: `✅ Escalation Rule created successfully!\n\n🚨 **${args.name}**\n🆔 sys_id: ${response.data.sys_id}\n📊 Table: ${tableInfo.label} (${tableInfo.name})\n⏰ Escalation Time: ${args.escalationTime} minutes\n🔢 Order: ${args.order || 100}\n🔄 Active: ${args.active !== false ? 'Yes' : 'No'}\n\n📝 Description: ${args.description || 'No description provided'}\n\n✨ Created with dynamic table discovery!`
|
|
741
|
-
}]
|
|
742
|
-
};
|
|
743
|
-
}
|
|
744
|
-
catch (error) {
|
|
745
|
-
this.logger.error('Failed to create Escalation Rule:', error);
|
|
746
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create Escalation Rule: ${error}`);
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* Create Workflow Activity with dynamic discovery
|
|
751
|
-
*/
|
|
752
|
-
async createWorkflowActivity(args) {
|
|
753
|
-
try {
|
|
754
|
-
this.logger.info('Creating Workflow Activity...');
|
|
755
|
-
// Find parent workflow or create a test one
|
|
756
|
-
let workflow = await this.findWorkflow(args.workflowName);
|
|
757
|
-
if (!workflow) {
|
|
758
|
-
this.logger.warn(`Workflow '${args.workflowName}' not found. Creating a test workflow...`);
|
|
759
|
-
// Create a simple test workflow
|
|
760
|
-
const testWorkflowData = {
|
|
761
|
-
name: args.workflowName,
|
|
762
|
-
description: `Test workflow created for activity: ${args.name}`,
|
|
763
|
-
table: 'incident', // Default to incident table
|
|
764
|
-
active: true
|
|
765
|
-
};
|
|
766
|
-
const workflowResponse = await this.client.createRecord('wf_workflow', testWorkflowData);
|
|
767
|
-
if (workflowResponse.success) {
|
|
768
|
-
workflow = workflowResponse.data;
|
|
769
|
-
this.logger.info(`Created test workflow: ${args.workflowName}`);
|
|
770
|
-
}
|
|
771
|
-
else {
|
|
772
|
-
// If we can't create in wf_workflow, try sys_hub_flow for Flow Designer
|
|
773
|
-
const flowData = {
|
|
774
|
-
name: args.workflowName,
|
|
775
|
-
description: `Test flow created for activity: ${args.name}`,
|
|
776
|
-
active: true,
|
|
777
|
-
type: 'flow'
|
|
778
|
-
};
|
|
779
|
-
const flowResponse = await this.client.createRecord('sys_hub_flow', flowData);
|
|
780
|
-
if (flowResponse.success) {
|
|
781
|
-
// For flow designer, we need to return a different message
|
|
782
|
-
return {
|
|
783
|
-
content: [{
|
|
784
|
-
type: 'text',
|
|
785
|
-
text: `⚠️ **Workflow Activity Creation Notice**\n\nThe classic workflow '${args.workflowName}' was not found. ServiceNow is transitioning from Classic Workflows to Flow Designer.\n\n**Created a Flow Designer flow instead:**\n🆔 Flow sys_id: ${flowResponse.data.sys_id}\n📋 Name: ${args.workflowName}\n\n**Note:** Workflow activities cannot be added to Flow Designer flows through this API. Please use the Flow Designer UI to add actions to your flow.\n\n**Alternative:** Use the ServiceNow Flow Designer UI to:\n1. Open the created flow\n2. Add actions using the visual designer\n3. Configure your activity logic there`
|
|
786
|
-
}]
|
|
787
|
-
};
|
|
788
|
-
}
|
|
789
|
-
else {
|
|
790
|
-
throw new Error(`Workflow not found and unable to create: ${args.workflowName}. Error: ${workflowResponse.error || flowResponse.error}`);
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
// Get available activity types
|
|
795
|
-
const activityTypes = await this.getActivityTypes();
|
|
796
|
-
const activityData = {
|
|
797
|
-
name: args.name,
|
|
798
|
-
workflow: workflow.sys_id,
|
|
799
|
-
activity_definition: args.activityType,
|
|
800
|
-
script: args.script || '',
|
|
801
|
-
condition: args.condition || '',
|
|
802
|
-
order: args.order || 100,
|
|
803
|
-
description: args.description || ''
|
|
804
|
-
};
|
|
805
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
806
|
-
const response = await this.client.createRecord('wf_activity', activityData);
|
|
807
|
-
if (!response.success) {
|
|
808
|
-
throw new Error(`Failed to create Workflow Activity: ${response.error}`);
|
|
809
|
-
}
|
|
810
|
-
return {
|
|
811
|
-
content: [{
|
|
812
|
-
type: 'text',
|
|
813
|
-
text: `✅ Workflow Activity created successfully!\n\n🔄 **${args.name}**\n🆔 sys_id: ${response.data.sys_id}\n📋 Workflow: ${workflow.name}\n🎯 Type: ${args.activityType}\n🔢 Order: ${args.order || 100}\n\n📝 Description: ${args.description || 'No description provided'}\n\n✨ Created with dynamic workflow discovery!`
|
|
814
|
-
}]
|
|
815
|
-
};
|
|
816
|
-
}
|
|
817
|
-
catch (error) {
|
|
818
|
-
this.logger.error('Failed to create Workflow Activity:', error);
|
|
819
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create Workflow Activity: ${error}`);
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
/**
|
|
823
|
-
* Discover available schedules
|
|
824
|
-
*/
|
|
825
|
-
async discoverSchedules(args) {
|
|
826
|
-
try {
|
|
827
|
-
this.logger.info('Discovering schedules...');
|
|
828
|
-
const schedulesResponse = await this.client.searchRecords('cmn_schedule', '', 50);
|
|
829
|
-
if (!schedulesResponse.success) {
|
|
830
|
-
throw new Error('Failed to discover schedules');
|
|
831
|
-
}
|
|
832
|
-
const schedules = schedulesResponse.data.result.map((schedule) => ({
|
|
833
|
-
name: schedule.name,
|
|
834
|
-
type: schedule.type,
|
|
835
|
-
description: schedule.description,
|
|
836
|
-
time_zone: schedule.time_zone,
|
|
837
|
-
sys_id: schedule.sys_id
|
|
838
|
-
}));
|
|
839
|
-
return {
|
|
840
|
-
content: [{
|
|
841
|
-
type: 'text',
|
|
842
|
-
text: `🕐 Discovered Schedules:\n\n${schedules.map((schedule) => `- **${schedule.name}** (${schedule.type})\n ${schedule.description || 'No description'}\n Time Zone: ${schedule.time_zone || 'Not specified'}`).join('\n\n')}\n\n✨ Total schedules: ${schedules.length}\n🔍 All schedules discovered dynamically!`
|
|
843
|
-
}]
|
|
844
|
-
};
|
|
845
|
-
}
|
|
846
|
-
catch (error) {
|
|
847
|
-
this.logger.error('Failed to discover schedules:', error);
|
|
848
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to discover schedules: ${error}`);
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
/**
|
|
852
|
-
* Discover available events
|
|
853
|
-
*/
|
|
854
|
-
async discoverEvents(args) {
|
|
855
|
-
try {
|
|
856
|
-
this.logger.info('Discovering events...');
|
|
857
|
-
let query = '';
|
|
858
|
-
if (args?.table) {
|
|
859
|
-
query = `table=${args.table}`;
|
|
860
|
-
}
|
|
861
|
-
const eventsResponse = await this.client.searchRecords('sysevent', query, 50);
|
|
862
|
-
if (!eventsResponse.success) {
|
|
863
|
-
throw new Error('Failed to discover events');
|
|
864
|
-
}
|
|
865
|
-
const events = eventsResponse.data.result.map((event) => ({
|
|
866
|
-
name: event.name,
|
|
867
|
-
table: event.table,
|
|
868
|
-
description: event.description,
|
|
869
|
-
instance: event.instance,
|
|
870
|
-
sys_id: event.sys_id
|
|
871
|
-
}));
|
|
872
|
-
return {
|
|
873
|
-
content: [{
|
|
874
|
-
type: 'text',
|
|
875
|
-
text: `📡 Discovered Events:\n\n${events.map((event) => `- **${event.name}**${event.table ? ` (${event.table})` : ''}\n ${event.description || 'No description'}\n Instance: ${event.instance || 'Not specified'}`).join('\n\n')}\n\n✨ Total events: ${events.length}\n🔍 All events discovered dynamically!`
|
|
876
|
-
}]
|
|
877
|
-
};
|
|
878
|
-
}
|
|
879
|
-
catch (error) {
|
|
880
|
-
this.logger.error('Failed to discover events:', error);
|
|
881
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to discover events: ${error}`);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
/**
|
|
885
|
-
* Discover automation jobs
|
|
886
|
-
*/
|
|
887
|
-
async discoverAutomationJobs(args) {
|
|
888
|
-
try {
|
|
889
|
-
this.logger.info('Discovering automation jobs...');
|
|
890
|
-
const status = args?.status || 'all';
|
|
891
|
-
const automationTypes = [
|
|
892
|
-
{ table: 'sysauto_script', type: 'Scheduled Jobs' },
|
|
893
|
-
{ table: 'sysevent_rule', type: 'Event Rules' },
|
|
894
|
-
{ table: 'sysevent_email_action', type: 'Notifications' },
|
|
895
|
-
{ table: 'contract_sla', type: 'SLA Definitions' },
|
|
896
|
-
{ table: 'escalation_rule', type: 'Escalation Rules' }
|
|
897
|
-
];
|
|
898
|
-
const discoveredJobs = [];
|
|
899
|
-
for (const automationType of automationTypes) {
|
|
900
|
-
let query = '';
|
|
901
|
-
if (status === 'active') {
|
|
902
|
-
query = 'active=true';
|
|
903
|
-
}
|
|
904
|
-
else if (status === 'inactive') {
|
|
905
|
-
query = 'active=false';
|
|
906
|
-
}
|
|
907
|
-
const jobsResponse = await this.client.searchRecords(automationType.table, query, 20);
|
|
908
|
-
if (jobsResponse.success) {
|
|
909
|
-
discoveredJobs.push({
|
|
910
|
-
type: automationType.type,
|
|
911
|
-
count: jobsResponse.data.result.length,
|
|
912
|
-
items: jobsResponse.data.result.map((job) => ({
|
|
913
|
-
name: job.name,
|
|
914
|
-
active: job.active,
|
|
915
|
-
description: job.description,
|
|
916
|
-
sys_id: job.sys_id
|
|
917
|
-
}))
|
|
918
|
-
});
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
return {
|
|
922
|
-
content: [{
|
|
923
|
-
type: 'text',
|
|
924
|
-
text: `🤖 Discovered Automation Jobs:\n\n${discoveredJobs.map(jobType => `**${jobType.type}** (${jobType.count} found):\n${jobType.items.slice(0, 5).map(job => `- ${job.name} ${job.active ? '✅' : '❌'}\n ${job.description || 'No description'}`).join('\n')}${jobType.items.length > 5 ? '\n ... and more' : ''}`).join('\n\n')}\n\n✨ Total automation jobs: ${discoveredJobs.reduce((sum, jt) => sum + jt.count, 0)}\n🔍 All jobs discovered dynamically!`
|
|
925
|
-
}]
|
|
926
|
-
};
|
|
927
|
-
}
|
|
928
|
-
catch (error) {
|
|
929
|
-
this.logger.error('Failed to discover automation jobs:', error);
|
|
930
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to discover automation jobs: ${error}`);
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
/**
|
|
934
|
-
* Test scheduled job
|
|
935
|
-
*/
|
|
936
|
-
async testScheduledJob(args) {
|
|
937
|
-
try {
|
|
938
|
-
this.logger.info(`Testing scheduled job: ${args.jobName}`);
|
|
939
|
-
// Find the scheduled job
|
|
940
|
-
const jobResponse = await this.client.searchRecords('sysauto_script', `name=${args.jobName}`, 1);
|
|
941
|
-
if (!jobResponse.success || !jobResponse.data.result.length) {
|
|
942
|
-
throw new Error(`Scheduled job not found: ${args.jobName}`);
|
|
943
|
-
}
|
|
944
|
-
const job = jobResponse.data.result[0];
|
|
945
|
-
return {
|
|
946
|
-
content: [{
|
|
947
|
-
type: 'text',
|
|
948
|
-
text: `🧪 Scheduled Job Test Results for **${args.jobName}**:\n\n📋 Job Details:\n- Name: ${job.name}\n- Active: ${job.active ? 'Yes' : 'No'}\n- Run As: ${job.run_as || 'system'}\n- Time Zone: ${job.time_zone || 'UTC'}\n- Next Run: ${job.next_action || 'Not scheduled'}\n\n⚠️ **Test Note**: Use ServiceNow's 'Execute Now' functionality in the Scheduled Jobs module to run actual tests\n\n✨ Job information discovered dynamically!`
|
|
949
|
-
}]
|
|
950
|
-
};
|
|
951
|
-
}
|
|
952
|
-
catch (error) {
|
|
953
|
-
this.logger.error('Failed to test scheduled job:', error);
|
|
954
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to test scheduled job: ${error}`);
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
// Helper methods
|
|
958
|
-
async getAvailableTimeZones() {
|
|
959
|
-
try {
|
|
960
|
-
const tzResponse = await this.client.searchRecords('sys_choice', 'name=cmn_schedule^element=time_zone', 50);
|
|
961
|
-
if (tzResponse.success) {
|
|
962
|
-
return tzResponse.data.result.map((tz) => tz.value);
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
catch (error) {
|
|
966
|
-
this.logger.warn('Could not discover time zones, using defaults');
|
|
967
|
-
}
|
|
968
|
-
return ['UTC', 'US/Eastern', 'US/Central', 'US/Mountain', 'US/Pacific'];
|
|
969
|
-
}
|
|
970
|
-
async getAvailableSchedules() {
|
|
971
|
-
try {
|
|
972
|
-
const scheduleResponse = await this.client.searchRecords('cmn_schedule', '', 20);
|
|
973
|
-
if (scheduleResponse.success) {
|
|
974
|
-
return scheduleResponse.data.result;
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
catch (error) {
|
|
978
|
-
this.logger.warn('Could not discover schedules');
|
|
979
|
-
}
|
|
980
|
-
return [];
|
|
981
|
-
}
|
|
982
|
-
async getAvailableEvents() {
|
|
983
|
-
try {
|
|
984
|
-
const eventResponse = await this.client.searchRecords('sysevent', '', 50);
|
|
985
|
-
if (eventResponse.success) {
|
|
986
|
-
return eventResponse.data.result.map((event) => event.name).filter(Boolean);
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
catch (error) {
|
|
990
|
-
this.logger.warn('Could not discover events');
|
|
991
|
-
}
|
|
992
|
-
return [];
|
|
993
|
-
}
|
|
994
|
-
async getTableInfo(tableName) {
|
|
995
|
-
try {
|
|
996
|
-
const tableResponse = await this.client.searchRecords('sys_db_object', `name=${tableName}`, 1);
|
|
997
|
-
if (tableResponse.success && tableResponse.data?.result?.length > 0) {
|
|
998
|
-
const table = tableResponse.data.result[0];
|
|
999
|
-
return { name: table.name, label: table.label };
|
|
1000
|
-
}
|
|
1001
|
-
return null;
|
|
1002
|
-
}
|
|
1003
|
-
catch (error) {
|
|
1004
|
-
this.logger.error(`Failed to get table info for ${tableName}:`, error);
|
|
1005
|
-
return null;
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
async findWorkflow(workflowName) {
|
|
1009
|
-
try {
|
|
1010
|
-
const workflowResponse = await this.client.searchRecords('wf_workflow', `name=${workflowName}`, 1);
|
|
1011
|
-
if (workflowResponse.success && workflowResponse.data?.result?.length > 0) {
|
|
1012
|
-
return workflowResponse.data.result[0];
|
|
1013
|
-
}
|
|
1014
|
-
return null;
|
|
1015
|
-
}
|
|
1016
|
-
catch (error) {
|
|
1017
|
-
this.logger.error(`Failed to find workflow ${workflowName}:`, error);
|
|
1018
|
-
return null;
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
async getActivityTypes() {
|
|
1022
|
-
try {
|
|
1023
|
-
const activityResponse = await this.client.searchRecords('wf_activity_definition', '', 50);
|
|
1024
|
-
if (activityResponse.success) {
|
|
1025
|
-
return activityResponse.data.result.map((activity) => activity.name);
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
catch (error) {
|
|
1029
|
-
this.logger.warn('Could not discover activity types');
|
|
1030
|
-
}
|
|
1031
|
-
return ['script', 'approval', 'wait', 'notification'];
|
|
1032
|
-
}
|
|
1033
|
-
parseSchedulePattern(schedule) {
|
|
1034
|
-
const scheduleData = {};
|
|
1035
|
-
if (schedule.includes('daily')) {
|
|
1036
|
-
scheduleData.run_type = 'daily';
|
|
1037
|
-
}
|
|
1038
|
-
else if (schedule.includes('weekly')) {
|
|
1039
|
-
scheduleData.run_type = 'weekly';
|
|
1040
|
-
}
|
|
1041
|
-
else if (schedule.includes('monthly')) {
|
|
1042
|
-
scheduleData.run_type = 'monthly';
|
|
1043
|
-
}
|
|
1044
|
-
else if (schedule.includes('cron')) {
|
|
1045
|
-
scheduleData.run_type = 'cron';
|
|
1046
|
-
scheduleData.cron_expression = schedule.replace('cron:', '').trim();
|
|
1047
|
-
}
|
|
1048
|
-
else {
|
|
1049
|
-
scheduleData.run_type = 'daily';
|
|
1050
|
-
}
|
|
1051
|
-
return scheduleData;
|
|
1052
|
-
}
|
|
1053
|
-
/**
|
|
1054
|
-
* Execute Background Script with User Confirmation (unless autoConfirm=true)
|
|
1055
|
-
* 🚨 SECURITY: Requires user approval by default, can be bypassed with autoConfirm=true
|
|
1056
|
-
*/
|
|
1057
|
-
async executeBackgroundScript(args) {
|
|
1058
|
-
try {
|
|
1059
|
-
const { script, description, runAsUser, allowDataModification = false, autoConfirm = false } = args;
|
|
1060
|
-
this.logger.info('Background script execution requested', { autoConfirm });
|
|
1061
|
-
// 🛡️ SECURITY ANALYSIS: Analyze script for dangerous operations
|
|
1062
|
-
const securityAnalysis = this.analyzeScriptSecurity(script);
|
|
1063
|
-
// ⚠️ AUTO-CONFIRM MODE: Skip user confirmation if explicitly requested
|
|
1064
|
-
if (autoConfirm === true) {
|
|
1065
|
-
this.logger.warn('⚠️ AUTO-CONFIRM MODE: Executing script without user confirmation');
|
|
1066
|
-
// Log the auto-execution for audit trail
|
|
1067
|
-
const executionId = `snow_flow_exec_auto_${Date.now()}_${Math.random().toString(36).substring(7)}`;
|
|
1068
|
-
this.logger.info(`Auto-executing script with ID: ${executionId}`, {
|
|
1069
|
-
description,
|
|
1070
|
-
riskLevel: securityAnalysis.riskLevel,
|
|
1071
|
-
dataModification: allowDataModification
|
|
1072
|
-
});
|
|
1073
|
-
// Directly execute the script
|
|
1074
|
-
return await this.confirmScriptExecution({
|
|
1075
|
-
script,
|
|
1076
|
-
executionId,
|
|
1077
|
-
userConfirmed: true // Auto-confirmed
|
|
1078
|
-
});
|
|
1079
|
-
}
|
|
1080
|
-
// 🚨 STANDARD MODE: Require user confirmation
|
|
1081
|
-
const confirmationPrompt = this.generateConfirmationPrompt({
|
|
1082
|
-
script,
|
|
1083
|
-
description,
|
|
1084
|
-
runAsUser,
|
|
1085
|
-
allowDataModification,
|
|
1086
|
-
securityAnalysis
|
|
1087
|
-
});
|
|
1088
|
-
// Return confirmation request to user
|
|
1089
|
-
return {
|
|
1090
|
-
content: [
|
|
1091
|
-
{
|
|
1092
|
-
type: 'text',
|
|
1093
|
-
text: confirmationPrompt
|
|
1094
|
-
}
|
|
1095
|
-
],
|
|
1096
|
-
isAsync: true,
|
|
1097
|
-
requiresConfirmation: true,
|
|
1098
|
-
scriptToExecute: script,
|
|
1099
|
-
executionContext: {
|
|
1100
|
-
runAsUser: runAsUser || 'current',
|
|
1101
|
-
allowDataModification,
|
|
1102
|
-
securityLevel: securityAnalysis.riskLevel
|
|
1103
|
-
}
|
|
1104
|
-
};
|
|
1105
|
-
}
|
|
1106
|
-
catch (error) {
|
|
1107
|
-
this.logger.error('Error preparing background script execution:', error);
|
|
1108
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to prepare script execution: ${error}`);
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
/**
|
|
1112
|
-
* Analyze script for security risks
|
|
1113
|
-
*/
|
|
1114
|
-
analyzeScriptSecurity(script) {
|
|
1115
|
-
const analysis = {
|
|
1116
|
-
riskLevel: 'LOW',
|
|
1117
|
-
warnings: [],
|
|
1118
|
-
dataOperations: [],
|
|
1119
|
-
systemAccess: []
|
|
1120
|
-
};
|
|
1121
|
-
// Check for data modification operations
|
|
1122
|
-
const dataModificationPatterns = [
|
|
1123
|
-
/\.insert\(\)/gi,
|
|
1124
|
-
/\.update\(\)/gi,
|
|
1125
|
-
/\.deleteRecord\(\)/gi,
|
|
1126
|
-
/\.setValue\(/gi,
|
|
1127
|
-
/gs\.addInfoMessage\(/gi,
|
|
1128
|
-
/gs\.addErrorMessage\(/gi
|
|
1129
|
-
];
|
|
1130
|
-
// Check for system access patterns
|
|
1131
|
-
const systemAccessPatterns = [
|
|
1132
|
-
/gs\.getUser\(\)/gi,
|
|
1133
|
-
/gs\.getUserID\(\)/gi,
|
|
1134
|
-
/gs\.hasRole\(/gi,
|
|
1135
|
-
/gs\.executeNow\(/gi,
|
|
1136
|
-
/gs\.sleep\(/gi
|
|
1137
|
-
];
|
|
1138
|
-
// Check for potentially dangerous operations
|
|
1139
|
-
const dangerousPatterns = [
|
|
1140
|
-
/eval\(/gi,
|
|
1141
|
-
/new Function\(/gi,
|
|
1142
|
-
/\.setWorkflow\(/gi,
|
|
1143
|
-
/\.addActiveQuery\('active', false\)/gi
|
|
1144
|
-
];
|
|
1145
|
-
// Analyze script content
|
|
1146
|
-
dataModificationPatterns.forEach(pattern => {
|
|
1147
|
-
const matches = script.match(pattern);
|
|
1148
|
-
if (matches) {
|
|
1149
|
-
analysis.dataOperations.push(...matches);
|
|
1150
|
-
if (analysis.riskLevel === 'LOW')
|
|
1151
|
-
analysis.riskLevel = 'MEDIUM';
|
|
1152
|
-
}
|
|
1153
|
-
});
|
|
1154
|
-
systemAccessPatterns.forEach(pattern => {
|
|
1155
|
-
const matches = script.match(pattern);
|
|
1156
|
-
if (matches) {
|
|
1157
|
-
analysis.systemAccess.push(...matches);
|
|
1158
|
-
}
|
|
1159
|
-
});
|
|
1160
|
-
dangerousPatterns.forEach(pattern => {
|
|
1161
|
-
const matches = script.match(pattern);
|
|
1162
|
-
if (matches) {
|
|
1163
|
-
analysis.warnings.push(`Potentially dangerous operation detected: ${matches[0]}`);
|
|
1164
|
-
analysis.riskLevel = 'HIGH';
|
|
1165
|
-
}
|
|
1166
|
-
});
|
|
1167
|
-
// Check for bulk operations
|
|
1168
|
-
if (script.includes('while') && (script.includes('.next()') || script.includes('.hasNext()'))) {
|
|
1169
|
-
analysis.warnings.push('Script contains loops that may process many records');
|
|
1170
|
-
if (analysis.riskLevel === 'LOW')
|
|
1171
|
-
analysis.riskLevel = 'MEDIUM';
|
|
1172
|
-
}
|
|
1173
|
-
return analysis;
|
|
1174
|
-
}
|
|
1175
|
-
/**
|
|
1176
|
-
* Generate user confirmation prompt
|
|
1177
|
-
*/
|
|
1178
|
-
generateConfirmationPrompt(context) {
|
|
1179
|
-
const { script, description, runAsUser, allowDataModification, securityAnalysis } = context;
|
|
1180
|
-
const riskEmoji = {
|
|
1181
|
-
'LOW': '🟢',
|
|
1182
|
-
'MEDIUM': '🟡',
|
|
1183
|
-
'HIGH': '🔴'
|
|
1184
|
-
}[securityAnalysis.riskLevel];
|
|
1185
|
-
return `
|
|
1186
|
-
🚨 BACKGROUND SCRIPT EXECUTION REQUEST
|
|
1187
|
-
|
|
1188
|
-
📋 **Description:** ${description}
|
|
1189
|
-
|
|
1190
|
-
${riskEmoji} **Security Risk Level:** ${securityAnalysis.riskLevel}
|
|
1191
|
-
|
|
1192
|
-
👤 **Run as User:** ${runAsUser || 'Current User'}
|
|
1193
|
-
📝 **Data Modification:** ${allowDataModification ? '✅ ALLOWED' : '❌ READ-ONLY'}
|
|
1194
|
-
|
|
1195
|
-
🔍 **Script Analysis:**
|
|
1196
|
-
${securityAnalysis.dataOperations.length > 0 ?
|
|
1197
|
-
`📊 Data Operations Detected: ${securityAnalysis.dataOperations.join(', ')}` : ''}
|
|
1198
|
-
${securityAnalysis.systemAccess.length > 0 ?
|
|
1199
|
-
`🔧 System Access: ${securityAnalysis.systemAccess.join(', ')}` : ''}
|
|
1200
|
-
${securityAnalysis.warnings.length > 0 ?
|
|
1201
|
-
`⚠️ Warnings: ${securityAnalysis.warnings.join(', ')}` : ''}
|
|
1202
|
-
|
|
1203
|
-
📜 **Script to Execute:**
|
|
1204
|
-
\`\`\`javascript
|
|
1205
|
-
${script}
|
|
1206
|
-
\`\`\`
|
|
1207
|
-
|
|
1208
|
-
⚡ **Impact:** This script will run in ServiceNow's server-side JavaScript context with full API access.
|
|
1209
|
-
|
|
1210
|
-
🔐 **Security Note:** The script will have the same permissions as the user it runs as.
|
|
1211
|
-
|
|
1212
|
-
❓ **Do you want to proceed with executing this script?**
|
|
1213
|
-
|
|
1214
|
-
Reply with:
|
|
1215
|
-
- ✅ **YES** - Execute the script
|
|
1216
|
-
- ❌ **NO** - Cancel execution
|
|
1217
|
-
- 📝 **MODIFY** - Make changes before execution
|
|
1218
|
-
|
|
1219
|
-
⚠️ Only proceed if you understand what this script does and trust its source!
|
|
1220
|
-
`.trim();
|
|
1221
|
-
}
|
|
1222
|
-
/**
|
|
1223
|
-
* Confirm and Execute Background Script
|
|
1224
|
-
* 🔥 ACTUAL EXECUTION: Only call after user explicitly approves
|
|
1225
|
-
*/
|
|
1226
|
-
async confirmScriptExecution(args) {
|
|
1227
|
-
try {
|
|
1228
|
-
const { script, executionId, userConfirmed } = args;
|
|
1229
|
-
this.logger.info(`Script execution confirmation requested - ID: ${executionId}`);
|
|
1230
|
-
// 🚨 SECURITY CHECK: Must have user confirmation
|
|
1231
|
-
if (!userConfirmed) {
|
|
1232
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InvalidRequest, 'User confirmation required for script execution');
|
|
1233
|
-
}
|
|
1234
|
-
// 🛡️ FINAL SECURITY ANALYSIS: Re-analyze script before execution
|
|
1235
|
-
const securityAnalysis = this.analyzeScriptSecurity(script);
|
|
1236
|
-
if (securityAnalysis.riskLevel === 'HIGH') {
|
|
1237
|
-
this.logger.warn(`High-risk script execution approved by user - ID: ${executionId}`);
|
|
1238
|
-
}
|
|
1239
|
-
// ⚡ EXECUTE SCRIPT: Use ServiceNow's sys_script_execution table or direct API
|
|
1240
|
-
this.logger.info('Executing background script in ServiceNow...');
|
|
1241
|
-
// Generate execution timestamp for tracking
|
|
1242
|
-
const executionTimestamp = new Date().toISOString();
|
|
1243
|
-
// Create a background script execution record for audit trail
|
|
1244
|
-
const executionRecord = {
|
|
1245
|
-
name: `Snow-Flow Background Script - ${executionId}`,
|
|
1246
|
-
script: script,
|
|
1247
|
-
active: true,
|
|
1248
|
-
executed_at: executionTimestamp,
|
|
1249
|
-
executed_by: 'snow-flow',
|
|
1250
|
-
description: `Background script executed via Snow-Flow MCP - Execution ID: ${executionId}`
|
|
1251
|
-
};
|
|
1252
|
-
// Execute script using sys_script table (Background Scripts)
|
|
1253
|
-
this.logger.trackAPICall('CREATE', 'sys_script', 1);
|
|
1254
|
-
const scriptResponse = await this.client.createRecord('sys_script', executionRecord);
|
|
1255
|
-
if (!scriptResponse.success) {
|
|
1256
|
-
throw new Error(`Failed to create background script execution record: ${scriptResponse.error}`);
|
|
1257
|
-
}
|
|
1258
|
-
// Alternative approach: Use sys_script_execution_history for tracking
|
|
1259
|
-
let executionResult = null;
|
|
1260
|
-
try {
|
|
1261
|
-
// Try to execute the script directly via REST API if available
|
|
1262
|
-
const directExecution = await this.executeScriptDirect(script);
|
|
1263
|
-
executionResult = directExecution;
|
|
1264
|
-
}
|
|
1265
|
-
catch (directError) {
|
|
1266
|
-
this.logger.warn('Direct script execution not available, script saved for manual execution');
|
|
1267
|
-
executionResult = {
|
|
1268
|
-
success: true,
|
|
1269
|
-
message: 'Script saved for execution - run manually from Background Scripts module',
|
|
1270
|
-
execution_method: 'manual'
|
|
1271
|
-
};
|
|
1272
|
-
}
|
|
1273
|
-
// Log successful execution
|
|
1274
|
-
this.logger.info(`Background script execution completed - ID: ${executionId}`);
|
|
1275
|
-
return {
|
|
1276
|
-
content: [
|
|
1277
|
-
{
|
|
1278
|
-
type: 'text',
|
|
1279
|
-
text: `✅ **Background Script Execution Complete**
|
|
1280
|
-
|
|
1281
|
-
🆔 **Execution ID:** ${executionId}
|
|
1282
|
-
📅 **Executed At:** ${executionTimestamp}
|
|
1283
|
-
🎯 **Script Record:** ${scriptResponse.data.sys_id}
|
|
1284
|
-
|
|
1285
|
-
${executionResult.success ? '✅' : '❌'} **Execution Status:** ${executionResult.success ? 'Success' : 'Failed'}
|
|
1286
|
-
|
|
1287
|
-
📋 **Result:** ${executionResult.message || 'Script executed successfully'}
|
|
1288
|
-
|
|
1289
|
-
${executionResult.execution_method === 'manual' ?
|
|
1290
|
-
'⚠️ **Note:** Script was saved to ServiceNow Background Scripts module. Run manually from the ServiceNow interface.' :
|
|
1291
|
-
'🚀 **Note:** Script executed automatically in ServiceNow.'}
|
|
1292
|
-
|
|
1293
|
-
🔍 **Security Level:** ${securityAnalysis.riskLevel}
|
|
1294
|
-
📊 **Operations:** ${securityAnalysis.dataOperations.length} data operations detected
|
|
1295
|
-
⚠️ **Warnings:** ${securityAnalysis.warnings.length} security warnings
|
|
1296
|
-
|
|
1297
|
-
🔗 **Access Script:** System Administration > Scripts - Background
|
|
1298
|
-
🆔 **Script sys_id:** ${scriptResponse.data.sys_id}
|
|
1299
|
-
|
|
1300
|
-
✨ **Script execution completed with full audit trail!**`
|
|
1301
|
-
}
|
|
1302
|
-
]
|
|
1303
|
-
};
|
|
1304
|
-
}
|
|
1305
|
-
catch (error) {
|
|
1306
|
-
this.logger.error('Failed to execute background script:', error);
|
|
1307
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to execute background script: ${error}`);
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
/**
|
|
1311
|
-
* Attempt direct script execution via ServiceNow APIs
|
|
1312
|
-
*/
|
|
1313
|
-
async executeScriptDirect(script) {
|
|
1314
|
-
try {
|
|
1315
|
-
// This would require special ServiceNow REST endpoint or custom implementation
|
|
1316
|
-
// For now, we'll return a success indicator that the script was saved
|
|
1317
|
-
// In a real implementation, you might use:
|
|
1318
|
-
// 1. Custom ServiceNow REST endpoint for script execution
|
|
1319
|
-
// 2. ServiceNow's Script Runner if available
|
|
1320
|
-
// 3. Integration with Flow Designer for script execution
|
|
1321
|
-
return {
|
|
1322
|
-
success: true,
|
|
1323
|
-
message: 'Script queued for background execution',
|
|
1324
|
-
execution_method: 'background'
|
|
1325
|
-
};
|
|
1326
|
-
}
|
|
1327
|
-
catch (error) {
|
|
1328
|
-
throw new Error(`Direct script execution failed: ${error}`);
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
/**
|
|
1332
|
-
* Create ATF Test
|
|
1333
|
-
* Uses sys_atf_test table for test definitions
|
|
1334
|
-
*/
|
|
1335
|
-
async createATFTest(args) {
|
|
1336
|
-
try {
|
|
1337
|
-
this.logger.info('Creating ATF test...');
|
|
1338
|
-
const testData = {
|
|
1339
|
-
name: args.name,
|
|
1340
|
-
description: args.description || '',
|
|
1341
|
-
active: args.active !== false,
|
|
1342
|
-
category: args.category || 'general',
|
|
1343
|
-
sys_class_name: 'sys_atf_test'
|
|
1344
|
-
};
|
|
1345
|
-
// Add table reference if testing a specific table
|
|
1346
|
-
if (args.table) {
|
|
1347
|
-
testData['table_name'] = args.table;
|
|
1348
|
-
}
|
|
1349
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
1350
|
-
const response = await this.client.createRecord('sys_atf_test', testData);
|
|
1351
|
-
if (!response.success) {
|
|
1352
|
-
throw new Error(`Failed to create ATF test: ${response.error}`);
|
|
1353
|
-
}
|
|
1354
|
-
return {
|
|
1355
|
-
content: [{
|
|
1356
|
-
type: 'text',
|
|
1357
|
-
text: `✅ ATF Test created successfully!
|
|
1358
|
-
|
|
1359
|
-
🧪 **${args.name}**
|
|
1360
|
-
🆔 sys_id: ${response.data.sys_id}
|
|
1361
|
-
📋 Type: ${args.testFor}
|
|
1362
|
-
${args.table ? `📊 Table: ${args.table}` : ''}
|
|
1363
|
-
📁 Category: ${args.category || 'general'}
|
|
1364
|
-
🔄 Active: ${args.active !== false ? 'Yes' : 'No'}
|
|
1365
|
-
|
|
1366
|
-
📝 Description: ${args.description || 'No description provided'}
|
|
1367
|
-
|
|
1368
|
-
✨ ATF test ready for step configuration!`
|
|
1369
|
-
}]
|
|
1370
|
-
};
|
|
1371
|
-
}
|
|
1372
|
-
catch (error) {
|
|
1373
|
-
this.logger.error('Failed to create ATF test:', error);
|
|
1374
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create ATF test: ${error}`);
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
/**
|
|
1378
|
-
* Create ATF Test Step
|
|
1379
|
-
* Uses sys_atf_step table for test steps
|
|
1380
|
-
*/
|
|
1381
|
-
async createATFTestStep(args) {
|
|
1382
|
-
try {
|
|
1383
|
-
this.logger.info('Creating ATF test step...');
|
|
1384
|
-
// Find parent test
|
|
1385
|
-
let testQuery = `name=${args.testId}`;
|
|
1386
|
-
if (args.testId.match(/^[a-f0-9]{32}$/)) {
|
|
1387
|
-
testQuery = `sys_id=${args.testId}`;
|
|
1388
|
-
}
|
|
1389
|
-
const testResponse = await this.client.searchRecords('sys_atf_test', testQuery, 1);
|
|
1390
|
-
if (!testResponse.success || !testResponse.data.result.length) {
|
|
1391
|
-
throw new Error(`Test not found: ${args.testId}`);
|
|
1392
|
-
}
|
|
1393
|
-
const test = testResponse.data.result[0];
|
|
1394
|
-
// Create step configuration based on type
|
|
1395
|
-
const stepConfig = this.buildATFStepConfig(args.stepType, args.stepConfig || {});
|
|
1396
|
-
const stepData = {
|
|
1397
|
-
test: test.sys_id,
|
|
1398
|
-
step_config: JSON.stringify(stepConfig),
|
|
1399
|
-
order: args.order,
|
|
1400
|
-
description: args.description || `${args.stepType} step`,
|
|
1401
|
-
timeout: args.timeout || 30,
|
|
1402
|
-
active: true
|
|
1403
|
-
};
|
|
1404
|
-
const response = await this.client.createRecord('sys_atf_step', stepData);
|
|
1405
|
-
if (!response.success) {
|
|
1406
|
-
throw new Error(`Failed to create ATF test step: ${response.error}`);
|
|
1407
|
-
}
|
|
1408
|
-
return {
|
|
1409
|
-
content: [{
|
|
1410
|
-
type: 'text',
|
|
1411
|
-
text: `✅ ATF Test Step created successfully!
|
|
1412
|
-
|
|
1413
|
-
➕ **Step Added to Test: ${test.name}**
|
|
1414
|
-
🆔 Step sys_id: ${response.data.sys_id}
|
|
1415
|
-
🎯 Type: ${args.stepType}
|
|
1416
|
-
🔢 Order: ${args.order}
|
|
1417
|
-
⏱️ Timeout: ${args.timeout || 30} seconds
|
|
1418
|
-
|
|
1419
|
-
📝 Description: ${args.description || `${args.stepType} step`}
|
|
1420
|
-
|
|
1421
|
-
✨ Test step configured and ready!`
|
|
1422
|
-
}]
|
|
1423
|
-
};
|
|
1424
|
-
}
|
|
1425
|
-
catch (error) {
|
|
1426
|
-
this.logger.error('Failed to create ATF test step:', error);
|
|
1427
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create ATF test step: ${error}`);
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
/**
|
|
1431
|
-
* Execute ATF Test
|
|
1432
|
-
* Uses sys_atf_test_result for execution tracking
|
|
1433
|
-
*/
|
|
1434
|
-
async executeATFTest(args) {
|
|
1435
|
-
try {
|
|
1436
|
-
this.logger.info('Executing ATF test...');
|
|
1437
|
-
let testId = args.testId;
|
|
1438
|
-
let testName = '';
|
|
1439
|
-
// Find test if name provided
|
|
1440
|
-
if (args.testId && !args.testId.match(/^[a-f0-9]{32}$/)) {
|
|
1441
|
-
const testResponse = await this.client.searchRecords('sys_atf_test', `name=${args.testId}`, 1);
|
|
1442
|
-
if (testResponse.success && testResponse.data.result.length) {
|
|
1443
|
-
testId = testResponse.data.result[0].sys_id;
|
|
1444
|
-
testName = testResponse.data.result[0].name;
|
|
1445
|
-
}
|
|
1446
|
-
else {
|
|
1447
|
-
throw new Error(`Test not found: ${args.testId}`);
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
// Find suite if provided
|
|
1451
|
-
let suiteId = args.suiteId;
|
|
1452
|
-
if (args.suiteId && !args.suiteId.match(/^[a-f0-9]{32}$/)) {
|
|
1453
|
-
const suiteResponse = await this.client.searchRecords('sys_atf_test_suite', `name=${args.suiteId}`, 1);
|
|
1454
|
-
if (suiteResponse.success && suiteResponse.data.result.length) {
|
|
1455
|
-
suiteId = suiteResponse.data.result[0].sys_id;
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
// Create test execution record
|
|
1459
|
-
const executionData = {
|
|
1460
|
-
test: testId || '',
|
|
1461
|
-
test_suite: suiteId || '',
|
|
1462
|
-
status: 'running',
|
|
1463
|
-
start_time: new Date().toISOString(),
|
|
1464
|
-
sys_class_name: 'sys_atf_test_result'
|
|
1465
|
-
};
|
|
1466
|
-
const response = await this.client.createRecord('sys_atf_test_result', executionData);
|
|
1467
|
-
if (!response.success) {
|
|
1468
|
-
throw new Error(`Failed to execute ATF test: ${response.error}`);
|
|
1469
|
-
}
|
|
1470
|
-
const executionId = response.data.sys_id;
|
|
1471
|
-
// If not waiting for result, return immediately
|
|
1472
|
-
if (!args.waitForResult) {
|
|
1473
|
-
return {
|
|
1474
|
-
content: [{
|
|
1475
|
-
type: 'text',
|
|
1476
|
-
text: `▶️ ATF Test execution started!
|
|
1477
|
-
|
|
1478
|
-
🧪 **Test: ${testName || args.testId}**
|
|
1479
|
-
🆔 Execution ID: ${executionId}
|
|
1480
|
-
📊 Status: Running
|
|
1481
|
-
⏱️ Started: ${new Date().toISOString()}
|
|
1482
|
-
|
|
1483
|
-
${args.async ? '⚡ Running asynchronously' : '⏳ Running synchronously'}
|
|
1484
|
-
|
|
1485
|
-
💡 Use snow_get_atf_results with execution ID to check results.
|
|
1486
|
-
|
|
1487
|
-
✨ Test execution initiated successfully!`
|
|
1488
|
-
}]
|
|
1489
|
-
};
|
|
1490
|
-
}
|
|
1491
|
-
// Wait for result (simplified - in real implementation would poll)
|
|
1492
|
-
await new Promise(resolve => setTimeout(resolve, 5000));
|
|
1493
|
-
return {
|
|
1494
|
-
content: [{
|
|
1495
|
-
type: 'text',
|
|
1496
|
-
text: `✅ ATF Test execution completed!
|
|
1497
|
-
|
|
1498
|
-
🧪 **Test: ${testName || args.testId}**
|
|
1499
|
-
🆔 Execution ID: ${executionId}
|
|
1500
|
-
|
|
1501
|
-
⚠️ Check results using snow_get_atf_results for detailed information.`
|
|
1502
|
-
}]
|
|
1503
|
-
};
|
|
1504
|
-
}
|
|
1505
|
-
catch (error) {
|
|
1506
|
-
this.logger.error('Failed to execute ATF test:', error);
|
|
1507
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to execute ATF test: ${error}`);
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
/**
|
|
1511
|
-
* Get ATF Test Results
|
|
1512
|
-
* Queries sys_atf_test_result table
|
|
1513
|
-
*/
|
|
1514
|
-
async getATFResults(args) {
|
|
1515
|
-
try {
|
|
1516
|
-
this.logger.info('Getting ATF test results...');
|
|
1517
|
-
let query = '';
|
|
1518
|
-
if (args.executionId) {
|
|
1519
|
-
query = `sys_id=${args.executionId}`;
|
|
1520
|
-
}
|
|
1521
|
-
else if (args.testId) {
|
|
1522
|
-
// Get latest results for a test
|
|
1523
|
-
query = args.testId.match(/^[a-f0-9]{32}$/) ?
|
|
1524
|
-
`test=${args.testId}` :
|
|
1525
|
-
`test.name=${args.testId}`;
|
|
1526
|
-
}
|
|
1527
|
-
const limit = args.limit || 10;
|
|
1528
|
-
const resultsResponse = await this.client.searchRecords('sys_atf_test_result', query, limit);
|
|
1529
|
-
if (!resultsResponse.success) {
|
|
1530
|
-
throw new Error('Failed to get test results');
|
|
1531
|
-
}
|
|
1532
|
-
const results = resultsResponse.data.result;
|
|
1533
|
-
if (!results.length) {
|
|
1534
|
-
return {
|
|
1535
|
-
content: [{
|
|
1536
|
-
type: 'text',
|
|
1537
|
-
text: '❌ No test results found for the specified criteria.'
|
|
1538
|
-
}]
|
|
1539
|
-
};
|
|
1540
|
-
}
|
|
1541
|
-
const resultText = results.map((result) => {
|
|
1542
|
-
const status = result.status || 'unknown';
|
|
1543
|
-
const statusEmoji = {
|
|
1544
|
-
'passed': '✅',
|
|
1545
|
-
'failed': '❌',
|
|
1546
|
-
'running': '⏳',
|
|
1547
|
-
'skipped': '⏭️'
|
|
1548
|
-
}[status] || '❓';
|
|
1549
|
-
return `${statusEmoji} **Test Result**
|
|
1550
|
-
🆔 Execution: ${result.sys_id}
|
|
1551
|
-
📊 Status: ${status}
|
|
1552
|
-
⏱️ Start: ${result.start_time || 'N/A'}
|
|
1553
|
-
⏱️ End: ${result.end_time || 'Still running'}
|
|
1554
|
-
⏱️ Duration: ${result.duration || 'N/A'}
|
|
1555
|
-
${result.error_message ? `❌ Error: ${result.error_message}` : ''}`;
|
|
1556
|
-
}).join('\n\n');
|
|
1557
|
-
return {
|
|
1558
|
-
content: [{
|
|
1559
|
-
type: 'text',
|
|
1560
|
-
text: `📊 ATF Test Results:
|
|
1561
|
-
|
|
1562
|
-
${resultText}
|
|
1563
|
-
|
|
1564
|
-
✨ Found ${results.length} test result(s)`
|
|
1565
|
-
}]
|
|
1566
|
-
};
|
|
1567
|
-
}
|
|
1568
|
-
catch (error) {
|
|
1569
|
-
this.logger.error('Failed to get ATF results:', error);
|
|
1570
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get ATF results: ${error}`);
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
/**
|
|
1574
|
-
* Create ATF Test Suite
|
|
1575
|
-
* Uses sys_atf_test_suite table
|
|
1576
|
-
*/
|
|
1577
|
-
async createATFTestSuite(args) {
|
|
1578
|
-
try {
|
|
1579
|
-
this.logger.info('Creating ATF test suite...');
|
|
1580
|
-
const suiteData = {
|
|
1581
|
-
name: args.name,
|
|
1582
|
-
description: args.description || '',
|
|
1583
|
-
active: args.active !== false,
|
|
1584
|
-
run_parallel: args.runParallel || false
|
|
1585
|
-
};
|
|
1586
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
1587
|
-
const response = await this.client.createRecord('sys_atf_test_suite', suiteData);
|
|
1588
|
-
if (!response.success) {
|
|
1589
|
-
throw new Error(`Failed to create ATF test suite: ${response.error}`);
|
|
1590
|
-
}
|
|
1591
|
-
const suiteId = response.data.sys_id;
|
|
1592
|
-
// Add tests to suite if provided
|
|
1593
|
-
if (args.tests && args.tests.length > 0) {
|
|
1594
|
-
for (let i = 0; i < args.tests.length; i++) {
|
|
1595
|
-
const testRef = args.tests[i];
|
|
1596
|
-
let testId = testRef;
|
|
1597
|
-
// Resolve test name to ID if needed
|
|
1598
|
-
if (!testRef.match(/^[a-f0-9]{32}$/)) {
|
|
1599
|
-
const testResponse = await this.client.searchRecords('sys_atf_test', `name=${testRef}`, 1);
|
|
1600
|
-
if (testResponse.success && testResponse.data.result.length) {
|
|
1601
|
-
testId = testResponse.data.result[0].sys_id;
|
|
1602
|
-
}
|
|
1603
|
-
else {
|
|
1604
|
-
this.logger.warn(`Test not found: ${testRef}`);
|
|
1605
|
-
continue;
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
// Create suite test relationship
|
|
1609
|
-
const suiteTestData = {
|
|
1610
|
-
test_suite: suiteId,
|
|
1611
|
-
test: testId,
|
|
1612
|
-
order: (i + 1) * 10
|
|
1613
|
-
};
|
|
1614
|
-
await this.client.createRecord('sys_atf_test_suite_test', suiteTestData);
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
return {
|
|
1618
|
-
content: [{
|
|
1619
|
-
type: 'text',
|
|
1620
|
-
text: `✅ ATF Test Suite created successfully!
|
|
1621
|
-
|
|
1622
|
-
📦 **${args.name}**
|
|
1623
|
-
🆔 sys_id: ${suiteId}
|
|
1624
|
-
🔄 Active: ${args.active !== false ? 'Yes' : 'No'}
|
|
1625
|
-
⚡ Parallel Execution: ${args.runParallel ? 'Yes' : 'No'}
|
|
1626
|
-
📊 Tests Added: ${args.tests ? args.tests.length : 0}
|
|
1627
|
-
|
|
1628
|
-
📝 Description: ${args.description || 'No description provided'}
|
|
1629
|
-
|
|
1630
|
-
✨ Test suite ready for execution!`
|
|
1631
|
-
}]
|
|
1632
|
-
};
|
|
1633
|
-
}
|
|
1634
|
-
catch (error) {
|
|
1635
|
-
this.logger.error('Failed to create ATF test suite:', error);
|
|
1636
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create ATF test suite: ${error}`);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
/**
|
|
1640
|
-
* Discover ATF Tests
|
|
1641
|
-
* Searches sys_atf_test and sys_atf_test_suite tables
|
|
1642
|
-
*/
|
|
1643
|
-
async discoverATFTests(args) {
|
|
1644
|
-
try {
|
|
1645
|
-
this.logger.info('Discovering ATF tests...');
|
|
1646
|
-
const type = args.type || 'all';
|
|
1647
|
-
const results = [];
|
|
1648
|
-
// Discover tests
|
|
1649
|
-
if (type === 'test' || type === 'all') {
|
|
1650
|
-
let testQuery = '';
|
|
1651
|
-
if (args.table)
|
|
1652
|
-
testQuery = `table_name=${args.table}`;
|
|
1653
|
-
if (args.active !== undefined) {
|
|
1654
|
-
testQuery += testQuery ? '^' : '';
|
|
1655
|
-
testQuery += `active=${args.active}`;
|
|
1656
|
-
}
|
|
1657
|
-
const testsResponse = await this.client.searchRecords('sys_atf_test', testQuery, 50);
|
|
1658
|
-
if (testsResponse.success) {
|
|
1659
|
-
results.push(...testsResponse.data.result.map((test) => ({
|
|
1660
|
-
type: 'test',
|
|
1661
|
-
name: test.name,
|
|
1662
|
-
sys_id: test.sys_id,
|
|
1663
|
-
description: test.description,
|
|
1664
|
-
active: test.active,
|
|
1665
|
-
table: test.table_name
|
|
1666
|
-
})));
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
// Discover suites
|
|
1670
|
-
if (type === 'suite' || type === 'all') {
|
|
1671
|
-
let suiteQuery = '';
|
|
1672
|
-
if (args.active !== undefined) {
|
|
1673
|
-
suiteQuery = `active=${args.active}`;
|
|
1674
|
-
}
|
|
1675
|
-
const suitesResponse = await this.client.searchRecords('sys_atf_test_suite', suiteQuery, 50);
|
|
1676
|
-
if (suitesResponse.success) {
|
|
1677
|
-
results.push(...suitesResponse.data.result.map((suite) => ({
|
|
1678
|
-
type: 'suite',
|
|
1679
|
-
name: suite.name,
|
|
1680
|
-
sys_id: suite.sys_id,
|
|
1681
|
-
description: suite.description,
|
|
1682
|
-
active: suite.active,
|
|
1683
|
-
run_parallel: suite.run_parallel
|
|
1684
|
-
})));
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
const groupedResults = {
|
|
1688
|
-
tests: results.filter(r => r.type === 'test'),
|
|
1689
|
-
suites: results.filter(r => r.type === 'suite')
|
|
1690
|
-
};
|
|
1691
|
-
return {
|
|
1692
|
-
content: [{
|
|
1693
|
-
type: 'text',
|
|
1694
|
-
text: `🔍 Discovered ATF Tests and Suites:
|
|
1695
|
-
|
|
1696
|
-
**Tests (${groupedResults.tests.length}):**
|
|
1697
|
-
${groupedResults.tests.slice(0, 10).map(test => `- ${test.name} ${test.active ? '✅' : '❌'}${test.table ? ` (${test.table})` : ''}
|
|
1698
|
-
${test.description || 'No description'}`).join('\n')}${groupedResults.tests.length > 10 ? '\n ... and more' : ''}
|
|
1699
|
-
|
|
1700
|
-
**Test Suites (${groupedResults.suites.length}):**
|
|
1701
|
-
${groupedResults.suites.slice(0, 10).map(suite => `- ${suite.name} ${suite.active ? '✅' : '❌'}${suite.run_parallel ? ' ⚡' : ''}
|
|
1702
|
-
${suite.description || 'No description'}`).join('\n')}${groupedResults.suites.length > 10 ? '\n ... and more' : ''}
|
|
1703
|
-
|
|
1704
|
-
✨ Total discovered: ${results.length} items`
|
|
1705
|
-
}]
|
|
1706
|
-
};
|
|
1707
|
-
}
|
|
1708
|
-
catch (error) {
|
|
1709
|
-
this.logger.error('Failed to discover ATF tests:', error);
|
|
1710
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to discover ATF tests: ${error}`);
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
/**
|
|
1714
|
-
* Build ATF Step Configuration
|
|
1715
|
-
* Helper to build step config based on type
|
|
1716
|
-
*/
|
|
1717
|
-
buildATFStepConfig(stepType, userConfig) {
|
|
1718
|
-
const baseConfig = {
|
|
1719
|
-
step_type: stepType,
|
|
1720
|
-
...userConfig
|
|
1721
|
-
};
|
|
1722
|
-
// Add type-specific defaults
|
|
1723
|
-
switch (stepType) {
|
|
1724
|
-
case 'form_submission':
|
|
1725
|
-
return {
|
|
1726
|
-
...baseConfig,
|
|
1727
|
-
table: userConfig.table || 'incident',
|
|
1728
|
-
view: userConfig.view || 'default',
|
|
1729
|
-
field_values: userConfig.field_values || {}
|
|
1730
|
-
};
|
|
1731
|
-
case 'impersonate':
|
|
1732
|
-
return {
|
|
1733
|
-
...baseConfig,
|
|
1734
|
-
user: userConfig.user || 'admin'
|
|
1735
|
-
};
|
|
1736
|
-
case 'assert_condition':
|
|
1737
|
-
return {
|
|
1738
|
-
...baseConfig,
|
|
1739
|
-
condition: userConfig.condition || '',
|
|
1740
|
-
expected_value: userConfig.expected_value || true
|
|
1741
|
-
};
|
|
1742
|
-
case 'open_form':
|
|
1743
|
-
return {
|
|
1744
|
-
...baseConfig,
|
|
1745
|
-
table: userConfig.table || 'incident',
|
|
1746
|
-
sys_id: userConfig.sys_id || '',
|
|
1747
|
-
view: userConfig.view || 'default'
|
|
1748
|
-
};
|
|
1749
|
-
case 'server_script':
|
|
1750
|
-
return {
|
|
1751
|
-
...baseConfig,
|
|
1752
|
-
script: userConfig.script || ''
|
|
1753
|
-
};
|
|
1754
|
-
default:
|
|
1755
|
-
return baseConfig;
|
|
1756
|
-
}
|
|
1757
|
-
}
|
|
1758
|
-
/**
|
|
1759
|
-
* Execute script with output retrieval
|
|
1760
|
-
*/
|
|
1761
|
-
async executeScriptWithOutput(args) {
|
|
1762
|
-
const startTime = Date.now();
|
|
1763
|
-
try {
|
|
1764
|
-
this.logger.info('Executing script with output retrieval...');
|
|
1765
|
-
// Create a unique execution ID
|
|
1766
|
-
const executionId = `snow_flow_exec_${Date.now()}_${Math.random().toString(36).substring(7)}`;
|
|
1767
|
-
// Log script execution start
|
|
1768
|
-
await this.getAuditLogger().logOperation('script_execution_start', 'INFO', {
|
|
1769
|
-
message: 'Starting background script execution with output capture',
|
|
1770
|
-
metadata: {
|
|
1771
|
-
execution_id: executionId,
|
|
1772
|
-
script_length: args.script.length,
|
|
1773
|
-
has_es5_validation: true,
|
|
1774
|
-
capture_logs: args.capture_logs,
|
|
1775
|
-
max_wait: args.max_wait || 5000
|
|
1776
|
-
}
|
|
1777
|
-
});
|
|
1778
|
-
// Wrap the script to capture output
|
|
1779
|
-
const wrappedScript = `
|
|
1780
|
-
var snowFlowOutput = [];
|
|
1781
|
-
var snowFlowErrors = [];
|
|
1782
|
-
var snowFlowExecutionId = '${executionId}';
|
|
1783
|
-
|
|
1784
|
-
// Override gs methods to capture output
|
|
1785
|
-
var originalPrint = gs.print;
|
|
1786
|
-
var originalInfo = gs.info;
|
|
1787
|
-
var originalWarn = gs.warn;
|
|
1788
|
-
var originalError = gs.error;
|
|
1789
|
-
var originalLog = gs.log;
|
|
1790
|
-
|
|
1791
|
-
gs.print = function(msg) {
|
|
1792
|
-
snowFlowOutput.push({type: 'print', message: msg, timestamp: new GlideDateTime().getDisplayValue()});
|
|
1793
|
-
originalPrint.call(gs, msg);
|
|
1794
|
-
};
|
|
1795
|
-
|
|
1796
|
-
gs.info = function(msg) {
|
|
1797
|
-
snowFlowOutput.push({type: 'info', message: msg, timestamp: new GlideDateTime().getDisplayValue()});
|
|
1798
|
-
originalInfo.call(gs, msg);
|
|
1799
|
-
};
|
|
1800
|
-
|
|
1801
|
-
gs.warn = function(msg) {
|
|
1802
|
-
snowFlowOutput.push({type: 'warn', message: msg, timestamp: new GlideDateTime().getDisplayValue()});
|
|
1803
|
-
originalWarn.call(gs, msg);
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
gs.error = function(msg) {
|
|
1807
|
-
snowFlowErrors.push({type: 'error', message: msg, timestamp: new GlideDateTime().getDisplayValue()});
|
|
1808
|
-
originalError.call(gs, msg);
|
|
1809
|
-
};
|
|
1810
|
-
|
|
1811
|
-
gs.log = function(msg) {
|
|
1812
|
-
snowFlowOutput.push({type: 'log', message: msg, timestamp: new GlideDateTime().getDisplayValue()});
|
|
1813
|
-
originalLog.call(gs, msg);
|
|
1814
|
-
};
|
|
1815
|
-
|
|
1816
|
-
try {
|
|
1817
|
-
// User script
|
|
1818
|
-
${args.script}
|
|
1819
|
-
|
|
1820
|
-
// Store output in sys_properties temporarily
|
|
1821
|
-
var prop = new GlideRecord('sys_properties');
|
|
1822
|
-
prop.initialize();
|
|
1823
|
-
prop.name = 'snow_flow.script_output.' + snowFlowExecutionId;
|
|
1824
|
-
prop.value = JSON.stringify({
|
|
1825
|
-
executionId: snowFlowExecutionId,
|
|
1826
|
-
output: snowFlowOutput,
|
|
1827
|
-
errors: snowFlowErrors,
|
|
1828
|
-
executedAt: new GlideDateTime().getDisplayValue(),
|
|
1829
|
-
success: true
|
|
1830
|
-
});
|
|
1831
|
-
prop.type = 'string';
|
|
1832
|
-
prop.description = 'Temporary script output from Snow-Flow';
|
|
1833
|
-
prop.insert();
|
|
1834
|
-
|
|
1835
|
-
} catch(e) {
|
|
1836
|
-
snowFlowErrors.push({type: 'exception', message: e.toString(), timestamp: new GlideDateTime().getDisplayValue()});
|
|
1837
|
-
|
|
1838
|
-
// Store error output
|
|
1839
|
-
var prop = new GlideRecord('sys_properties');
|
|
1840
|
-
prop.initialize();
|
|
1841
|
-
prop.name = 'snow_flow.script_output.' + snowFlowExecutionId;
|
|
1842
|
-
prop.value = JSON.stringify({
|
|
1843
|
-
executionId: snowFlowExecutionId,
|
|
1844
|
-
output: snowFlowOutput,
|
|
1845
|
-
errors: snowFlowErrors,
|
|
1846
|
-
executedAt: new GlideDateTime().getDisplayValue(),
|
|
1847
|
-
success: false,
|
|
1848
|
-
exception: e.toString()
|
|
1849
|
-
});
|
|
1850
|
-
prop.type = 'string';
|
|
1851
|
-
prop.description = 'Temporary script output from Snow-Flow';
|
|
1852
|
-
prop.insert();
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
// Restore original methods
|
|
1856
|
-
gs.print = originalPrint;
|
|
1857
|
-
gs.info = originalInfo;
|
|
1858
|
-
gs.warn = originalWarn;
|
|
1859
|
-
gs.error = originalError;
|
|
1860
|
-
gs.log = originalLog;
|
|
1861
|
-
|
|
1862
|
-
'Execution ID: ' + snowFlowExecutionId;
|
|
1863
|
-
`;
|
|
1864
|
-
// Execute the wrapped script
|
|
1865
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
1866
|
-
const response = await this.client.executeScript(wrappedScript);
|
|
1867
|
-
// Wait a moment for the property to be written
|
|
1868
|
-
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
1869
|
-
// Retrieve the output from sys_properties
|
|
1870
|
-
const outputResponse = await this.client.searchRecords('sys_properties', `name=snow_flow.script_output.${executionId}`, 1);
|
|
1871
|
-
let scriptOutput = null;
|
|
1872
|
-
if (outputResponse.success && outputResponse.data?.result?.length > 0) {
|
|
1873
|
-
try {
|
|
1874
|
-
scriptOutput = JSON.parse(outputResponse.data.result[0].value);
|
|
1875
|
-
// Clean up the temporary property
|
|
1876
|
-
await this.client.deleteRecord('sys_properties', outputResponse.data.result[0].sys_id);
|
|
1877
|
-
}
|
|
1878
|
-
catch (parseError) {
|
|
1879
|
-
this.logger.warn('Could not parse script output:', parseError);
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
const duration = Date.now() - startTime;
|
|
1883
|
-
const success = scriptOutput?.success !== false;
|
|
1884
|
-
const outputLines = scriptOutput?.output?.length || 0;
|
|
1885
|
-
const errorLines = scriptOutput?.errors?.length || 0;
|
|
1886
|
-
// Log script execution completion with audit
|
|
1887
|
-
await this.getAuditLogger().logScriptExecution('background', duration, success, scriptOutput?.errors || [], outputLines);
|
|
1888
|
-
// Enhanced audit log with detailed execution info
|
|
1889
|
-
await this.getAuditLogger().logOperation('script_execution_complete', success ? 'INFO' : 'ERROR', {
|
|
1890
|
-
message: `Background script execution ${success ? 'completed successfully' : 'failed'}`,
|
|
1891
|
-
duration_ms: duration,
|
|
1892
|
-
metadata: {
|
|
1893
|
-
execution_id: executionId,
|
|
1894
|
-
output_lines: outputLines,
|
|
1895
|
-
error_lines: errorLines,
|
|
1896
|
-
script_success: success,
|
|
1897
|
-
execution_method: 'background_with_output',
|
|
1898
|
-
es5_validated: true,
|
|
1899
|
-
captured_output: !!scriptOutput
|
|
1900
|
-
},
|
|
1901
|
-
success
|
|
1902
|
-
});
|
|
1903
|
-
return {
|
|
1904
|
-
content: [{
|
|
1905
|
-
type: 'text',
|
|
1906
|
-
text: `✅ Script executed successfully!\n\n🆔 **Execution ID**: ${executionId}\n⏰ **Executed At**: ${new Date().toISOString()}\n\n${scriptOutput ? `📋 **Output**:\n${scriptOutput.output.map((o) => `[${o.type}] ${o.message}`).join('\n')}\n\n${scriptOutput.errors.length > 0 ? `⚠️ **Errors**:\n${scriptOutput.errors.map((e) => `[${e.type}] ${e.message}`).join('\n')}` : '✅ No errors'}` : '⚠️ Output retrieval pending - use snow_get_script_output with the execution ID'}\n\n💡 **Tip**: Use snow_get_script_output to retrieve the output later`
|
|
1907
|
-
}]
|
|
1908
|
-
};
|
|
1909
|
-
}
|
|
1910
|
-
catch (error) {
|
|
1911
|
-
const duration = Date.now() - startTime;
|
|
1912
|
-
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
1913
|
-
// Log failed script execution
|
|
1914
|
-
await this.getAuditLogger().logScriptExecution('background', duration, false, { message: errorMessage, type: 'exception' });
|
|
1915
|
-
this.logger.error('Failed to execute script with output:', error);
|
|
1916
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to execute script: ${error}`);
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
/**
|
|
1920
|
-
* Get script output from previous execution
|
|
1921
|
-
*/
|
|
1922
|
-
async getScriptOutput(args) {
|
|
1923
|
-
try {
|
|
1924
|
-
this.logger.info(`Retrieving script output for execution: ${args.executionId}`);
|
|
1925
|
-
// Try to find the output in sys_properties
|
|
1926
|
-
const outputResponse = await this.client.searchRecords('sys_properties', `nameLIKEsnow_flow.script_output.${args.executionId}`, 1);
|
|
1927
|
-
if (outputResponse.success && outputResponse.data?.result?.length > 0) {
|
|
1928
|
-
const scriptOutput = JSON.parse(outputResponse.data.result[0].value);
|
|
1929
|
-
// Optionally clean up old property
|
|
1930
|
-
if (args.cleanup !== false) {
|
|
1931
|
-
await this.client.deleteRecord('sys_properties', outputResponse.data.result[0].sys_id);
|
|
1932
|
-
}
|
|
1933
|
-
return {
|
|
1934
|
-
content: [{
|
|
1935
|
-
type: 'text',
|
|
1936
|
-
text: `📋 **Script Output Retrieved**\n\n🆔 **Execution ID**: ${scriptOutput.executionId}\n⏰ **Executed At**: ${scriptOutput.executedAt}\n✅ **Success**: ${scriptOutput.success}\n\n**Output**:\n${scriptOutput.output.map((o) => `[${o.type}] ${o.message}`).join('\n')}\n\n${scriptOutput.errors.length > 0 ? `**Errors**:\n${scriptOutput.errors.map((e) => `[${e.type}] ${e.message}`).join('\n')}` : 'No errors'}${scriptOutput.exception ? `\n\n**Exception**: ${scriptOutput.exception}` : ''}`
|
|
1937
|
-
}]
|
|
1938
|
-
};
|
|
1939
|
-
}
|
|
1940
|
-
// Try to find in script execution history
|
|
1941
|
-
const historyResponse = await this.client.searchRecords('sys_script_execution_history', `script_nameLIKE${args.executionId}`, 5);
|
|
1942
|
-
if (historyResponse.success && historyResponse.data?.result?.length > 0) {
|
|
1943
|
-
const history = historyResponse.data.result[0];
|
|
1944
|
-
return {
|
|
1945
|
-
content: [{
|
|
1946
|
-
type: 'text',
|
|
1947
|
-
text: `📋 **Script Execution History**\n\n🆔 **Execution ID**: ${args.executionId}\n⏰ **Executed**: ${history.sys_created_on}\n👤 **User**: ${history.sys_created_by}\n\n**Output**:\n${history.output || 'No output captured'}\n\n**Errors**:\n${history.error_message || 'No errors'}`
|
|
1948
|
-
}]
|
|
1949
|
-
};
|
|
1950
|
-
}
|
|
1951
|
-
return {
|
|
1952
|
-
content: [{
|
|
1953
|
-
type: 'text',
|
|
1954
|
-
text: `⚠️ No output found for execution ID: ${args.executionId}\n\nPossible reasons:\n- The script is still executing\n- The execution ID is incorrect\n- The output has been cleaned up\n\nTry running snow_get_script_history to see recent executions.`
|
|
1955
|
-
}]
|
|
1956
|
-
};
|
|
1957
|
-
}
|
|
1958
|
-
catch (error) {
|
|
1959
|
-
this.logger.error('Failed to get script output:', error);
|
|
1960
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get script output: ${error}`);
|
|
1961
|
-
}
|
|
1962
|
-
}
|
|
1963
|
-
/**
|
|
1964
|
-
* Execute script synchronously
|
|
1965
|
-
*/
|
|
1966
|
-
async executeScriptSync(args) {
|
|
1967
|
-
try {
|
|
1968
|
-
this.logger.info('Executing script synchronously...');
|
|
1969
|
-
const timeout = args.timeout || 30000; // Default 30 seconds
|
|
1970
|
-
// Create a polling script that executes and returns immediately
|
|
1971
|
-
const executionId = `sync_${Date.now()}_${Math.random().toString(36).substring(7)}`;
|
|
1972
|
-
const executionScript = `
|
|
1973
|
-
var result = {};
|
|
1974
|
-
var startTime = new GlideDateTime();
|
|
1975
|
-
|
|
1976
|
-
try {
|
|
1977
|
-
// Execute the user script
|
|
1978
|
-
var scriptResult = (function() {
|
|
1979
|
-
${args.script}
|
|
1980
|
-
})();
|
|
1981
|
-
|
|
1982
|
-
result = {
|
|
1983
|
-
success: true,
|
|
1984
|
-
result: scriptResult,
|
|
1985
|
-
executionTime: GlideDateTime.subtract(startTime, new GlideDateTime()).getNumericValue(),
|
|
1986
|
-
executionId: '${executionId}'
|
|
1987
|
-
};
|
|
1988
|
-
} catch(e) {
|
|
1989
|
-
result = {
|
|
1990
|
-
success: false,
|
|
1991
|
-
error: e.toString(),
|
|
1992
|
-
executionTime: GlideDateTime.subtract(startTime, new GlideDateTime()).getNumericValue(),
|
|
1993
|
-
executionId: '${executionId}'
|
|
1994
|
-
};
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
// Return result directly
|
|
1998
|
-
JSON.stringify(result);
|
|
1999
|
-
`;
|
|
2000
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
2001
|
-
const response = await this.client.executeScript(executionScript);
|
|
2002
|
-
let result;
|
|
2003
|
-
try {
|
|
2004
|
-
// Try to parse the response as JSON
|
|
2005
|
-
if (response.data?.result) {
|
|
2006
|
-
result = JSON.parse(response.data.result);
|
|
2007
|
-
}
|
|
2008
|
-
else {
|
|
2009
|
-
result = { success: true, result: response.data?.result || 'Script executed successfully' };
|
|
2010
|
-
}
|
|
2011
|
-
}
|
|
2012
|
-
catch (parseError) {
|
|
2013
|
-
result = { success: true, result: response.data?.result || 'Script executed successfully' };
|
|
2014
|
-
}
|
|
2015
|
-
return {
|
|
2016
|
-
content: [{
|
|
2017
|
-
type: 'text',
|
|
2018
|
-
text: `✅ **Script Executed Synchronously**\n\n🆔 **Execution ID**: ${executionId}\n⏱️ **Execution Time**: ${result.executionTime || 'N/A'}ms\n✅ **Success**: ${result.success}\n\n**Result**:\n${typeof result.result === 'object' ? JSON.stringify(result.result, null, 2) : result.result}${result.error ? `\n\n**Error**: ${result.error}` : ''}`
|
|
2019
|
-
}]
|
|
2020
|
-
};
|
|
2021
|
-
}
|
|
2022
|
-
catch (error) {
|
|
2023
|
-
this.logger.error('Failed to execute script synchronously:', error);
|
|
2024
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to execute script: ${error}`);
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
/**
|
|
2028
|
-
* Get system logs
|
|
2029
|
-
*/
|
|
2030
|
-
async getLogs(args) {
|
|
2031
|
-
try {
|
|
2032
|
-
this.logger.info('Retrieving system logs...');
|
|
2033
|
-
const limit = args.limit || 100;
|
|
2034
|
-
const source = args.source || 'all';
|
|
2035
|
-
const level = args.level || 'all';
|
|
2036
|
-
// Build query for syslog_transaction table
|
|
2037
|
-
let query = '';
|
|
2038
|
-
if (source !== 'all') {
|
|
2039
|
-
query += `source=${source}^`;
|
|
2040
|
-
}
|
|
2041
|
-
if (level !== 'all') {
|
|
2042
|
-
query += `level=${level}^`;
|
|
2043
|
-
}
|
|
2044
|
-
if (args.since) {
|
|
2045
|
-
query += `sys_created_on>javascript:gs.dateGenerate('${args.since}')^`;
|
|
2046
|
-
}
|
|
2047
|
-
if (args.message) {
|
|
2048
|
-
query += `messageLIKE${args.message}^`;
|
|
2049
|
-
}
|
|
2050
|
-
// Remove trailing ^
|
|
2051
|
-
query = query.replace(/\^$/, '');
|
|
2052
|
-
this.logger.trackAPICall('SEARCH', 'syslog_transaction', limit);
|
|
2053
|
-
const logsResponse = await this.client.searchRecords('syslog_transaction', query, limit);
|
|
2054
|
-
if (logsResponse.success && logsResponse.data?.result?.length > 0) {
|
|
2055
|
-
const logs = logsResponse.data.result.map((log) => ({
|
|
2056
|
-
timestamp: log.sys_created_on,
|
|
2057
|
-
level: log.level,
|
|
2058
|
-
source: log.source,
|
|
2059
|
-
message: log.message,
|
|
2060
|
-
user: log.sys_created_by
|
|
2061
|
-
}));
|
|
2062
|
-
return {
|
|
2063
|
-
content: [{
|
|
2064
|
-
type: 'text',
|
|
2065
|
-
text: `📋 **System Logs** (${logs.length} entries)\n\n${logs.map((log) => `⏰ ${log.timestamp} | ${log.level} | ${log.source}\n ${log.message}\n User: ${log.user}`).join('\n\n')}`
|
|
2066
|
-
}]
|
|
2067
|
-
};
|
|
2068
|
-
}
|
|
2069
|
-
return {
|
|
2070
|
-
content: [{
|
|
2071
|
-
type: 'text',
|
|
2072
|
-
text: `⚠️ No logs found matching criteria:\n- Source: ${source}\n- Level: ${level}\n- Since: ${args.since || 'Not specified'}\n- Message filter: ${args.message || 'None'}`
|
|
2073
|
-
}]
|
|
2074
|
-
};
|
|
2075
|
-
}
|
|
2076
|
-
catch (error) {
|
|
2077
|
-
this.logger.error('Failed to get logs:', error);
|
|
2078
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get logs: ${error}`);
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2081
|
-
/**
|
|
2082
|
-
* Test REST connection
|
|
2083
|
-
*/
|
|
2084
|
-
async testRESTConnection(args) {
|
|
2085
|
-
try {
|
|
2086
|
-
this.logger.info(`Testing REST connection: ${args.name}`);
|
|
2087
|
-
// Find the REST message
|
|
2088
|
-
const restMessageResponse = await this.client.searchRecords('sys_rest_message', `name=${args.name}`, 1);
|
|
2089
|
-
if (!restMessageResponse.success || !restMessageResponse.data?.result?.length) {
|
|
2090
|
-
throw new Error(`REST message not found: ${args.name}`);
|
|
2091
|
-
}
|
|
2092
|
-
const restMessage = restMessageResponse.data.result[0];
|
|
2093
|
-
// Get REST message methods
|
|
2094
|
-
const methodsResponse = await this.client.searchRecords('sys_rest_message_fn', `rest_message=${restMessage.sys_id}`, 10);
|
|
2095
|
-
const testResults = [];
|
|
2096
|
-
if (methodsResponse.success && methodsResponse.data?.result?.length > 0) {
|
|
2097
|
-
for (const method of methodsResponse.data.result) {
|
|
2098
|
-
// Test each method
|
|
2099
|
-
const testScript = `
|
|
2100
|
-
var rm = new sn_ws.RESTMessageV2('${args.name}', '${method.function_name}');
|
|
2101
|
-
|
|
2102
|
-
// Set test parameters if provided
|
|
2103
|
-
${args.parameters ? Object.entries(args.parameters).map(([key, value]) => `rm.setStringParameter('${key}', '${value}');`).join('\n') : ''}
|
|
2104
|
-
|
|
2105
|
-
try {
|
|
2106
|
-
var response = rm.execute();
|
|
2107
|
-
var httpStatus = response.getStatusCode();
|
|
2108
|
-
var body = response.getBody();
|
|
2109
|
-
var headers = response.getAllHeaders();
|
|
2110
|
-
|
|
2111
|
-
JSON.stringify({
|
|
2112
|
-
method: '${method.function_name}',
|
|
2113
|
-
endpoint: '${method.rest_endpoint}',
|
|
2114
|
-
httpMethod: '${method.http_method}',
|
|
2115
|
-
status: httpStatus,
|
|
2116
|
-
success: httpStatus >= 200 && httpStatus < 300,
|
|
2117
|
-
responseTime: response.getEccResponseTime ? response.getEccResponseTime() : 'N/A',
|
|
2118
|
-
bodyLength: body ? body.length : 0,
|
|
2119
|
-
headers: headers
|
|
2120
|
-
});
|
|
2121
|
-
} catch(e) {
|
|
2122
|
-
JSON.stringify({
|
|
2123
|
-
method: '${method.function_name}',
|
|
2124
|
-
endpoint: '${method.rest_endpoint}',
|
|
2125
|
-
httpMethod: '${method.http_method}',
|
|
2126
|
-
success: false,
|
|
2127
|
-
error: e.toString()
|
|
2128
|
-
});
|
|
2129
|
-
}
|
|
2130
|
-
`;
|
|
2131
|
-
const testResponse = await this.client.executeScript(testScript);
|
|
2132
|
-
if (testResponse.data?.result) {
|
|
2133
|
-
try {
|
|
2134
|
-
const result = JSON.parse(testResponse.data.result);
|
|
2135
|
-
testResults.push(result);
|
|
2136
|
-
}
|
|
2137
|
-
catch (e) {
|
|
2138
|
-
testResults.push({
|
|
2139
|
-
method: method.function_name,
|
|
2140
|
-
success: false,
|
|
2141
|
-
error: 'Could not parse test result'
|
|
2142
|
-
});
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
return {
|
|
2148
|
-
content: [{
|
|
2149
|
-
type: 'text',
|
|
2150
|
-
text: `🔌 **REST Connection Test Results**\n\n📡 **REST Message**: ${args.name}\n\n${testResults.map((result) => `\n**Method**: ${result.method}\n- Endpoint: ${result.endpoint}\n- HTTP Method: ${result.httpMethod}\n- Status: ${result.status || 'N/A'}\n- Success: ${result.success ? '✅' : '❌'}\n- Response Time: ${result.responseTime}\n- Response Size: ${result.bodyLength} bytes\n${result.error ? `- Error: ${result.error}` : ''}`).join('\n')}\n\n**Summary**:\n- Total Methods: ${testResults.length}\n- Successful: ${testResults.filter((r) => r.success).length}\n- Failed: ${testResults.filter((r) => !r.success).length}`
|
|
2151
|
-
}]
|
|
2152
|
-
};
|
|
2153
|
-
}
|
|
2154
|
-
catch (error) {
|
|
2155
|
-
this.logger.error('Failed to test REST connection:', error);
|
|
2156
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to test REST connection: ${error}`);
|
|
2157
|
-
}
|
|
2158
|
-
}
|
|
2159
|
-
/**
|
|
2160
|
-
* REST message test suite
|
|
2161
|
-
*/
|
|
2162
|
-
async restMessageTestSuite(args) {
|
|
2163
|
-
try {
|
|
2164
|
-
this.logger.info('Running REST message test suite...');
|
|
2165
|
-
// Get all REST messages or filter by pattern
|
|
2166
|
-
let query = '';
|
|
2167
|
-
if (args.pattern) {
|
|
2168
|
-
query = `nameLIKE${args.pattern}`;
|
|
2169
|
-
}
|
|
2170
|
-
const messagesResponse = await this.client.searchRecords('sys_rest_message', query, args.limit || 10);
|
|
2171
|
-
const testSuiteResults = [];
|
|
2172
|
-
if (messagesResponse.success && messagesResponse.data?.result?.length > 0) {
|
|
2173
|
-
for (const message of messagesResponse.data.result) {
|
|
2174
|
-
// Get methods for this message
|
|
2175
|
-
const methodsResponse = await this.client.searchRecords('sys_rest_message_fn', `rest_message=${message.sys_id}`, 5);
|
|
2176
|
-
const messageResults = {
|
|
2177
|
-
name: message.name,
|
|
2178
|
-
description: message.description,
|
|
2179
|
-
methods: [],
|
|
2180
|
-
totalMethods: 0,
|
|
2181
|
-
successfulMethods: 0,
|
|
2182
|
-
failedMethods: 0
|
|
2183
|
-
};
|
|
2184
|
-
if (methodsResponse.success && methodsResponse.data?.result?.length > 0) {
|
|
2185
|
-
messageResults.totalMethods = methodsResponse.data.result.length;
|
|
2186
|
-
for (const method of methodsResponse.data.result) {
|
|
2187
|
-
// Quick connectivity test
|
|
2188
|
-
const testScript = `
|
|
2189
|
-
var rm = new sn_ws.RESTMessageV2('${message.name}', '${method.function_name}');
|
|
2190
|
-
rm.setEccParameter('skip_sensor', true); // Skip sensor for test
|
|
2191
|
-
|
|
2192
|
-
try {
|
|
2193
|
-
// Just validate the configuration
|
|
2194
|
-
var endpoint = rm.getEndpoint();
|
|
2195
|
-
var isValid = endpoint && endpoint.length > 0;
|
|
2196
|
-
|
|
2197
|
-
JSON.stringify({
|
|
2198
|
-
method: '${method.function_name}',
|
|
2199
|
-
endpoint: endpoint,
|
|
2200
|
-
valid: isValid,
|
|
2201
|
-
httpMethod: '${method.http_method}'
|
|
2202
|
-
});
|
|
2203
|
-
} catch(e) {
|
|
2204
|
-
JSON.stringify({
|
|
2205
|
-
method: '${method.function_name}',
|
|
2206
|
-
valid: false,
|
|
2207
|
-
error: e.toString()
|
|
2208
|
-
});
|
|
2209
|
-
}
|
|
2210
|
-
`;
|
|
2211
|
-
const testResponse = await this.client.executeScript(testScript);
|
|
2212
|
-
if (testResponse.data?.result) {
|
|
2213
|
-
try {
|
|
2214
|
-
const result = JSON.parse(testResponse.data.result);
|
|
2215
|
-
messageResults.methods.push(result);
|
|
2216
|
-
if (result.valid) {
|
|
2217
|
-
messageResults.successfulMethods++;
|
|
2218
|
-
}
|
|
2219
|
-
else {
|
|
2220
|
-
messageResults.failedMethods++;
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
catch (e) {
|
|
2224
|
-
messageResults.failedMethods++;
|
|
2225
|
-
}
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
}
|
|
2229
|
-
testSuiteResults.push(messageResults);
|
|
2230
|
-
}
|
|
2231
|
-
}
|
|
2232
|
-
return {
|
|
2233
|
-
content: [{
|
|
2234
|
-
type: 'text',
|
|
2235
|
-
text: `🧪 **REST Message Test Suite Results**\n\n${testSuiteResults.map((result) => `\n📡 **${result.name}**\n${result.description ? ` ${result.description}\n` : ''} - Total Methods: ${result.totalMethods}\n - ✅ Valid: ${result.successfulMethods}\n - ❌ Invalid: ${result.failedMethods}\n ${result.methods.length > 0 ? `\n Methods:\n${result.methods.map((m) => ` • ${m.method} (${m.httpMethod}) - ${m.valid ? '✅' : '❌'}`).join('\n')}` : ''}`).join('\n')}\n\n**Suite Summary**:\n- Total REST Messages: ${testSuiteResults.length}\n- Total Methods Tested: ${testSuiteResults.reduce((sum, r) => sum + r.totalMethods, 0)}\n- Valid Configurations: ${testSuiteResults.reduce((sum, r) => sum + r.successfulMethods, 0)}\n- Invalid Configurations: ${testSuiteResults.reduce((sum, r) => sum + r.failedMethods, 0)}`
|
|
2236
|
-
}]
|
|
2237
|
-
};
|
|
2238
|
-
}
|
|
2239
|
-
catch (error) {
|
|
2240
|
-
this.logger.error('Failed to run REST test suite:', error);
|
|
2241
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to run REST test suite: ${error}`);
|
|
2242
|
-
}
|
|
2243
|
-
}
|
|
2244
|
-
/**
|
|
2245
|
-
* Enhanced property manager
|
|
2246
|
-
*/
|
|
2247
|
-
async propertyManager(args) {
|
|
2248
|
-
try {
|
|
2249
|
-
this.logger.info('Managing system properties...');
|
|
2250
|
-
const action = args.action || 'list';
|
|
2251
|
-
switch (action) {
|
|
2252
|
-
case 'get':
|
|
2253
|
-
this.logger.trackAPICall('SEARCH', 'sys_properties', 1);
|
|
2254
|
-
const getPropResponse = await this.client.searchRecords('sys_properties', `name=${args.name}`, 1);
|
|
2255
|
-
if (getPropResponse.success && getPropResponse.data?.result?.length > 0) {
|
|
2256
|
-
const prop = getPropResponse.data.result[0];
|
|
2257
|
-
return {
|
|
2258
|
-
content: [{
|
|
2259
|
-
type: 'text',
|
|
2260
|
-
text: `📋 **Property**: ${prop.name}\n\n**Value**: ${prop.value}\n**Type**: ${prop.type}\n**Description**: ${prop.description || 'None'}\n**Private**: ${prop.is_private ? 'Yes' : 'No'}\n**Read Only**: ${prop.read_roles ? 'Restricted' : 'No'}`
|
|
2261
|
-
}]
|
|
2262
|
-
};
|
|
2263
|
-
}
|
|
2264
|
-
throw new Error(`Property not found: ${args.name}`);
|
|
2265
|
-
case 'set':
|
|
2266
|
-
const setPropResponse = await this.client.searchRecords('sys_properties', `name=${args.name}`, 1);
|
|
2267
|
-
if (setPropResponse.success && setPropResponse.data?.result?.length > 0) {
|
|
2268
|
-
// Update existing
|
|
2269
|
-
const updateResponse = await this.client.updateRecord('sys_properties', setPropResponse.data.result[0].sys_id, { value: args.value });
|
|
2270
|
-
if (updateResponse.success) {
|
|
2271
|
-
return {
|
|
2272
|
-
content: [{
|
|
2273
|
-
type: 'text',
|
|
2274
|
-
text: `✅ Property updated: ${args.name} = ${args.value}`
|
|
2275
|
-
}]
|
|
2276
|
-
};
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2279
|
-
else {
|
|
2280
|
-
// Create new
|
|
2281
|
-
const createResponse = await this.client.createRecord('sys_properties', {
|
|
2282
|
-
name: args.name,
|
|
2283
|
-
value: args.value,
|
|
2284
|
-
type: args.type || 'string',
|
|
2285
|
-
description: args.description || ''
|
|
2286
|
-
});
|
|
2287
|
-
if (createResponse.success) {
|
|
2288
|
-
return {
|
|
2289
|
-
content: [{
|
|
2290
|
-
type: 'text',
|
|
2291
|
-
text: `✅ Property created: ${args.name} = ${args.value}`
|
|
2292
|
-
}]
|
|
2293
|
-
};
|
|
2294
|
-
}
|
|
2295
|
-
}
|
|
2296
|
-
throw new Error('Failed to set property');
|
|
2297
|
-
case 'delete':
|
|
2298
|
-
const delPropResponse = await this.client.searchRecords('sys_properties', `name=${args.name}`, 1);
|
|
2299
|
-
if (delPropResponse.success && delPropResponse.data?.result?.length > 0) {
|
|
2300
|
-
await this.client.deleteRecord('sys_properties', delPropResponse.data.result[0].sys_id);
|
|
2301
|
-
return {
|
|
2302
|
-
content: [{
|
|
2303
|
-
type: 'text',
|
|
2304
|
-
text: `✅ Property deleted: ${args.name}`
|
|
2305
|
-
}]
|
|
2306
|
-
};
|
|
2307
|
-
}
|
|
2308
|
-
throw new Error(`Property not found: ${args.name}`);
|
|
2309
|
-
case 'list':
|
|
2310
|
-
default:
|
|
2311
|
-
const listQuery = args.pattern ? `nameLIKE${args.pattern}` : '';
|
|
2312
|
-
const listResponse = await this.client.searchRecords('sys_properties', listQuery, args.limit || 50);
|
|
2313
|
-
if (listResponse.success && listResponse.data?.result?.length > 0) {
|
|
2314
|
-
return {
|
|
2315
|
-
content: [{
|
|
2316
|
-
type: 'text',
|
|
2317
|
-
text: `📋 **System Properties** (${listResponse.data.result.length} found)\n\n${listResponse.data.result.map((p) => `• **${p.name}**\n Value: ${p.value}\n Type: ${p.type}`).join('\n\n')}`
|
|
2318
|
-
}]
|
|
2319
|
-
};
|
|
2320
|
-
}
|
|
2321
|
-
return {
|
|
2322
|
-
content: [{
|
|
2323
|
-
type: 'text',
|
|
2324
|
-
text: '⚠️ No properties found matching criteria'
|
|
2325
|
-
}]
|
|
2326
|
-
};
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
catch (error) {
|
|
2330
|
-
this.logger.error('Failed to manage properties:', error);
|
|
2331
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to manage properties: ${error}`);
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
/**
|
|
2335
|
-
* Trace execution of a script or flow
|
|
2336
|
-
*/
|
|
2337
|
-
async traceExecution(args) {
|
|
2338
|
-
try {
|
|
2339
|
-
this.logger.info('Tracing execution...');
|
|
2340
|
-
const traceId = `trace_${Date.now()}_${Math.random().toString(36).substring(7)}`;
|
|
2341
|
-
// Enhanced script with detailed tracing
|
|
2342
|
-
const tracedScript = `
|
|
2343
|
-
var snowFlowTrace = {
|
|
2344
|
-
id: '${traceId}',
|
|
2345
|
-
startTime: new GlideDateTime(),
|
|
2346
|
-
steps: [],
|
|
2347
|
-
variables: {},
|
|
2348
|
-
queries: [],
|
|
2349
|
-
apiCalls: [],
|
|
2350
|
-
errors: []
|
|
2351
|
-
};
|
|
2352
|
-
|
|
2353
|
-
// Trace function for logging steps
|
|
2354
|
-
function trace(stepName, details) {
|
|
2355
|
-
snowFlowTrace.steps.push({
|
|
2356
|
-
step: stepName,
|
|
2357
|
-
details: details,
|
|
2358
|
-
timestamp: new GlideDateTime().getDisplayValue(),
|
|
2359
|
-
memory: gs.getSession().getAvailableMemory ? gs.getSession().getAvailableMemory() : 'N/A'
|
|
2360
|
-
});
|
|
2361
|
-
}
|
|
2362
|
-
|
|
2363
|
-
// Override GlideRecord to trace queries
|
|
2364
|
-
var OriginalGlideRecord = GlideRecord;
|
|
2365
|
-
GlideRecord = function(table) {
|
|
2366
|
-
var gr = new OriginalGlideRecord(table);
|
|
2367
|
-
var originalQuery = gr.query;
|
|
2368
|
-
|
|
2369
|
-
gr.query = function() {
|
|
2370
|
-
var queryString = gr.getEncodedQuery();
|
|
2371
|
-
snowFlowTrace.queries.push({
|
|
2372
|
-
table: table,
|
|
2373
|
-
query: queryString,
|
|
2374
|
-
timestamp: new GlideDateTime().getDisplayValue()
|
|
2375
|
-
});
|
|
2376
|
-
return originalQuery.call(gr);
|
|
2377
|
-
};
|
|
2378
|
-
|
|
2379
|
-
return gr;
|
|
2380
|
-
};
|
|
2381
|
-
|
|
2382
|
-
try {
|
|
2383
|
-
trace('Script Start', 'Beginning execution');
|
|
2384
|
-
|
|
2385
|
-
// User script with tracing
|
|
2386
|
-
${args.script.replace(/;/g, ';\ntrace("Code Execution", "Line executed");')}
|
|
2387
|
-
|
|
2388
|
-
trace('Script Complete', 'Execution finished successfully');
|
|
2389
|
-
|
|
2390
|
-
snowFlowTrace.endTime = new GlideDateTime();
|
|
2391
|
-
snowFlowTrace.duration = GlideDateTime.subtract(snowFlowTrace.startTime, snowFlowTrace.endTime).getNumericValue();
|
|
2392
|
-
snowFlowTrace.success = true;
|
|
2393
|
-
|
|
2394
|
-
} catch(e) {
|
|
2395
|
-
snowFlowTrace.errors.push({
|
|
2396
|
-
error: e.toString(),
|
|
2397
|
-
stack: e.stack || 'No stack trace',
|
|
2398
|
-
timestamp: new GlideDateTime().getDisplayValue()
|
|
2399
|
-
});
|
|
2400
|
-
snowFlowTrace.success = false;
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
// Store trace for retrieval
|
|
2404
|
-
var prop = new GlideRecord('sys_properties');
|
|
2405
|
-
prop.initialize();
|
|
2406
|
-
prop.name = 'snow_flow.trace.' + snowFlowTrace.id;
|
|
2407
|
-
prop.value = JSON.stringify(snowFlowTrace);
|
|
2408
|
-
prop.type = 'string';
|
|
2409
|
-
prop.description = 'Execution trace from Snow-Flow';
|
|
2410
|
-
prop.insert();
|
|
2411
|
-
|
|
2412
|
-
JSON.stringify({
|
|
2413
|
-
traceId: snowFlowTrace.id,
|
|
2414
|
-
success: snowFlowTrace.success,
|
|
2415
|
-
steps: snowFlowTrace.steps.length,
|
|
2416
|
-
queries: snowFlowTrace.queries.length,
|
|
2417
|
-
errors: snowFlowTrace.errors.length
|
|
2418
|
-
});
|
|
2419
|
-
`;
|
|
2420
|
-
const updateSetResult = await this.client.ensureUpdateSet();
|
|
2421
|
-
const response = await this.client.executeScript(tracedScript);
|
|
2422
|
-
let traceResult;
|
|
2423
|
-
try {
|
|
2424
|
-
traceResult = JSON.parse(response.data?.result || '{}');
|
|
2425
|
-
}
|
|
2426
|
-
catch (e) {
|
|
2427
|
-
traceResult = { traceId: traceId, success: false };
|
|
2428
|
-
}
|
|
2429
|
-
// Wait and retrieve full trace
|
|
2430
|
-
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
2431
|
-
const traceResponse = await this.client.searchRecords('sys_properties', `name=snow_flow.trace.${traceId}`, 1);
|
|
2432
|
-
let fullTrace = null;
|
|
2433
|
-
if (traceResponse.success && traceResponse.data?.result?.length > 0) {
|
|
2434
|
-
try {
|
|
2435
|
-
fullTrace = JSON.parse(traceResponse.data.result[0].value);
|
|
2436
|
-
// Clean up
|
|
2437
|
-
await this.client.deleteRecord('sys_properties', traceResponse.data.result[0].sys_id);
|
|
2438
|
-
}
|
|
2439
|
-
catch (e) {
|
|
2440
|
-
this.logger.warn('Could not parse trace data');
|
|
2441
|
-
}
|
|
2442
|
-
}
|
|
2443
|
-
return {
|
|
2444
|
-
content: [{
|
|
2445
|
-
type: 'text',
|
|
2446
|
-
text: `🔍 **Execution Trace**\n\n🆔 **Trace ID**: ${traceId}\n✅ **Success**: ${traceResult.success}\n📊 **Steps**: ${traceResult.steps}\n🔍 **Queries**: ${traceResult.queries}\n⚠️ **Errors**: ${traceResult.errors}\n\n${fullTrace ? `**Detailed Trace**:\n\n${fullTrace.steps.map((s) => `⏰ ${s.timestamp}\n 📍 ${s.step}: ${s.details}`).join('\n\n')}\n\n${fullTrace.queries.length > 0 ? `**Database Queries**:\n${fullTrace.queries.map((q) => `• Table: ${q.table}\n Query: ${q.query || 'All records'}`).join('\n')}` : ''}\n\n${fullTrace.errors.length > 0 ? `**Errors**:\n${fullTrace.errors.map((e) => `❌ ${e.error}\n ${e.stack}`).join('\n')}` : ''}` : '⚠️ Full trace pending - check sys_properties for details'}`
|
|
2447
|
-
}]
|
|
2448
|
-
};
|
|
2449
|
-
}
|
|
2450
|
-
catch (error) {
|
|
2451
|
-
this.logger.error('Failed to trace execution:', error);
|
|
2452
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to trace execution: ${error}`);
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
/**
|
|
2456
|
-
* Get audit logger for logging Snow-Flow activities
|
|
2457
|
-
*/
|
|
2458
|
-
getAuditLogger() {
|
|
2459
|
-
return this.auditLogger;
|
|
2460
|
-
}
|
|
2461
|
-
async run() {
|
|
2462
|
-
const transport = new stdio_js_1.StdioServerTransport();
|
|
2463
|
-
await this.server.connect(transport);
|
|
2464
|
-
this.logger.info('ServiceNow Automation MCP Server running on stdio');
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2467
|
-
const server = new ServiceNowAutomationMCP();
|
|
2468
|
-
server.run().catch(console.error);
|
|
2469
|
-
//# sourceMappingURL=servicenow-automation-mcp.js.map
|