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,3637 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
/**
|
|
4
|
-
* ServiceNow Flow Designer, Agent Workspace & Mobile MCP Server
|
|
5
|
-
* Handles flow automation, workspace configuration, and mobile app management
|
|
6
|
-
* Uses official ServiceNow REST APIs
|
|
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
|
-
class ServiceNowFlowWorkspaceMobileMCP {
|
|
17
|
-
constructor() {
|
|
18
|
-
this.server = new index_js_1.Server({
|
|
19
|
-
name: 'servicenow-flow-workspace-mobile',
|
|
20
|
-
version: '1.0.0',
|
|
21
|
-
}, {
|
|
22
|
-
capabilities: {
|
|
23
|
-
tools: {},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
this.client = new servicenow_client_js_1.ServiceNowClient();
|
|
27
|
-
this.logger = new mcp_logger_js_1.MCPLogger('ServiceNowFlowWorkspaceMobileMCP');
|
|
28
|
-
this.config = mcp_config_manager_js_1.mcpConfig.getConfig();
|
|
29
|
-
this.setupHandlers();
|
|
30
|
-
this.setupSimpleStability();
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Simple stability setup - no complex wrappers
|
|
34
|
-
*/
|
|
35
|
-
setupSimpleStability() {
|
|
36
|
-
// Graceful shutdown on process signals
|
|
37
|
-
process.on('SIGTERM', () => {
|
|
38
|
-
this.logger.info('🛑 Received SIGTERM - shutting down MCP server gracefully');
|
|
39
|
-
process.exit(0);
|
|
40
|
-
});
|
|
41
|
-
process.on('SIGINT', () => {
|
|
42
|
-
this.logger.info('🛑 Received SIGINT - shutting down MCP server gracefully');
|
|
43
|
-
process.exit(0);
|
|
44
|
-
});
|
|
45
|
-
// Handle uncaught errors (prevents crashes)
|
|
46
|
-
process.on('uncaughtException', (error) => {
|
|
47
|
-
this.logger.error('💥 Uncaught exception in MCP server:', error);
|
|
48
|
-
// Don't exit - just log and continue
|
|
49
|
-
});
|
|
50
|
-
process.on('unhandledRejection', (reason) => {
|
|
51
|
-
this.logger.error('💥 Unhandled promise rejection in MCP server:', reason);
|
|
52
|
-
// Don't exit - just log and continue
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
setupHandlers() {
|
|
56
|
-
this.server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
|
|
57
|
-
tools: [
|
|
58
|
-
// Flow Designer Tools - Management & Execution Only (Creation via UI)
|
|
59
|
-
{
|
|
60
|
-
name: 'snow_list_flows',
|
|
61
|
-
description: 'Lists available Flow Designer flows in the instance. Shows flow status, trigger tables, and execution statistics.',
|
|
62
|
-
inputSchema: {
|
|
63
|
-
type: 'object',
|
|
64
|
-
properties: {
|
|
65
|
-
table: { type: 'string', description: 'Filter flows by trigger table' },
|
|
66
|
-
active_only: { type: 'boolean', description: 'Show only active flows', default: true },
|
|
67
|
-
include_subflows: { type: 'boolean', description: 'Include subflows in results', default: false },
|
|
68
|
-
name_filter: { type: 'string', description: 'Filter flows by name (partial match)' },
|
|
69
|
-
limit: { type: 'number', description: 'Maximum flows to return', default: 50 }
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: 'snow_execute_flow',
|
|
75
|
-
description: 'Executes an existing flow with provided input data. Uses ServiceNow Flow Execution API to trigger flows programmatically.',
|
|
76
|
-
inputSchema: {
|
|
77
|
-
type: 'object',
|
|
78
|
-
properties: {
|
|
79
|
-
flow_id: { type: 'string', description: 'Flow sys_id or name to execute' },
|
|
80
|
-
input_data: { type: 'object', description: 'Input data for flow execution' },
|
|
81
|
-
record_id: { type: 'string', description: 'Record sys_id if flow operates on specific record' },
|
|
82
|
-
wait_for_completion: { type: 'boolean', description: 'Wait for flow to complete', default: false },
|
|
83
|
-
timeout: { type: 'number', description: 'Timeout in seconds for completion', default: 60 }
|
|
84
|
-
},
|
|
85
|
-
required: ['flow_id']
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'snow_get_flow_execution_status',
|
|
90
|
-
description: 'Gets the execution status and details of a running or completed flow execution.',
|
|
91
|
-
inputSchema: {
|
|
92
|
-
type: 'object',
|
|
93
|
-
properties: {
|
|
94
|
-
execution_id: { type: 'string', description: 'Flow execution ID' },
|
|
95
|
-
include_logs: { type: 'boolean', description: 'Include execution logs', default: true },
|
|
96
|
-
include_variables: { type: 'boolean', description: 'Include variable values', default: false }
|
|
97
|
-
},
|
|
98
|
-
required: ['execution_id']
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
name: 'snow_get_flow_execution_history',
|
|
103
|
-
description: 'Retrieves execution history for a specific flow, including success/failure statistics and execution logs.',
|
|
104
|
-
inputSchema: {
|
|
105
|
-
type: 'object',
|
|
106
|
-
properties: {
|
|
107
|
-
flow_id: { type: 'string', description: 'Flow sys_id to get history for' },
|
|
108
|
-
days: { type: 'number', description: 'Number of days of history', default: 7 },
|
|
109
|
-
status_filter: { type: 'string', description: 'Filter by status: completed, failed, cancelled, running' },
|
|
110
|
-
limit: { type: 'number', description: 'Maximum executions to return', default: 50 }
|
|
111
|
-
},
|
|
112
|
-
required: ['flow_id']
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: 'snow_get_flow_details',
|
|
117
|
-
description: 'Gets detailed information about a specific flow including actions, triggers, and configuration.',
|
|
118
|
-
inputSchema: {
|
|
119
|
-
type: 'object',
|
|
120
|
-
properties: {
|
|
121
|
-
flow_id: { type: 'string', description: 'Flow sys_id or name' },
|
|
122
|
-
include_actions: { type: 'boolean', description: 'Include flow actions details', default: true },
|
|
123
|
-
include_triggers: { type: 'boolean', description: 'Include trigger configuration', default: true },
|
|
124
|
-
include_variables: { type: 'boolean', description: 'Include flow variables', default: false }
|
|
125
|
-
},
|
|
126
|
-
required: ['flow_id']
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: 'snow_import_flow_from_xml',
|
|
131
|
-
description: 'Imports a flow from an XML update set or flow export. This is the only supported way to programmatically create flows.',
|
|
132
|
-
inputSchema: {
|
|
133
|
-
type: 'object',
|
|
134
|
-
properties: {
|
|
135
|
-
xml_content: { type: 'string', description: 'Flow XML export content' },
|
|
136
|
-
update_set: { type: 'string', description: 'Update set sys_id to import flow from' },
|
|
137
|
-
activate_after_import: { type: 'boolean', description: 'Activate flow after import', default: false },
|
|
138
|
-
overwrite_existing: { type: 'boolean', description: 'Overwrite if flow already exists', default: false }
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
// 🏗️ COMPLETE UX WORKSPACE CREATION (6-Step Workflow)
|
|
143
|
-
// STEP 1: Experience Record (sys_ux_experience) - REQUIRES NOW EXPERIENCE FRAMEWORK
|
|
144
|
-
{
|
|
145
|
-
name: 'snow_create_ux_experience',
|
|
146
|
-
description: 'STEP 1: Create UX Experience Record (sys_ux_experience) - The top-level container for the workspace. ⚠️ REQUIRES: Now Experience Framework (UXF) enabled. ALTERNATIVE: Use traditional form/list configurations if UXF unavailable.',
|
|
147
|
-
inputSchema: {
|
|
148
|
-
type: 'object',
|
|
149
|
-
properties: {
|
|
150
|
-
name: { type: 'string', description: 'Experience name (e.g., "My Workspace")' },
|
|
151
|
-
root_macroponent: { type: 'string', description: 'Root macroponent sys_id (usually x_snc_app_shell_uib_app_shell, auto-detected if not provided)' },
|
|
152
|
-
description: { type: 'string', description: 'Experience description' }
|
|
153
|
-
},
|
|
154
|
-
required: ['name']
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
// STEP 2: App Configuration Record (sys_ux_app_config)
|
|
158
|
-
{
|
|
159
|
-
name: 'snow_create_ux_app_config',
|
|
160
|
-
description: 'STEP 2: Create UX App Configuration Record (sys_ux_app_config) - Contains workspace settings and links to the experience from Step 1.',
|
|
161
|
-
inputSchema: {
|
|
162
|
-
type: 'object',
|
|
163
|
-
properties: {
|
|
164
|
-
name: { type: 'string', description: 'App config name (e.g., "My Workspace Config")' },
|
|
165
|
-
experience_sys_id: { type: 'string', description: 'Experience sys_id from Step 1' },
|
|
166
|
-
description: { type: 'string', description: 'App configuration description' }
|
|
167
|
-
},
|
|
168
|
-
required: ['name', 'experience_sys_id']
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
// STEP 3: Page Macroponent Record (sys_ux_macroponent)
|
|
172
|
-
{
|
|
173
|
-
name: 'snow_create_ux_page_macroponent',
|
|
174
|
-
description: 'STEP 3: Create Page Macroponent Record (sys_ux_macroponent) - Defines the actual page content that will be displayed.',
|
|
175
|
-
inputSchema: {
|
|
176
|
-
type: 'object',
|
|
177
|
-
properties: {
|
|
178
|
-
name: { type: 'string', description: 'Page macroponent name (e.g., "My Home Page")' },
|
|
179
|
-
root_component: { type: 'string', default: 'sn-canvas-panel', description: 'Root component to render (default: sn-canvas-panel for simple pages)' },
|
|
180
|
-
composition: { type: 'object', description: 'JSON layout configuration (default: simple single column)' },
|
|
181
|
-
description: { type: 'string', description: 'Page macroponent description' }
|
|
182
|
-
},
|
|
183
|
-
required: ['name']
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
// STEP 4: Page Registry Record (sys_ux_page_registry)
|
|
187
|
-
{
|
|
188
|
-
name: 'snow_create_ux_page_registry',
|
|
189
|
-
description: 'STEP 4: Create Page Registry Record (sys_ux_page_registry) - Registers the page for use within the workspace configuration.',
|
|
190
|
-
inputSchema: {
|
|
191
|
-
type: 'object',
|
|
192
|
-
properties: {
|
|
193
|
-
sys_name: { type: 'string', description: 'Unique technical name for the page (e.g., "my_home_page")' },
|
|
194
|
-
app_config_sys_id: { type: 'string', description: 'App config sys_id from Step 2' },
|
|
195
|
-
macroponent_sys_id: { type: 'string', description: 'Macroponent sys_id from Step 3' },
|
|
196
|
-
description: { type: 'string', description: 'Page registry description' }
|
|
197
|
-
},
|
|
198
|
-
required: ['sys_name', 'app_config_sys_id', 'macroponent_sys_id']
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
// STEP 5: Route Record (sys_ux_app_route)
|
|
202
|
-
{
|
|
203
|
-
name: 'snow_create_ux_app_route',
|
|
204
|
-
description: 'STEP 5: Create Route Record (sys_ux_app_route) - Defines the URL slug that leads to the page.',
|
|
205
|
-
inputSchema: {
|
|
206
|
-
type: 'object',
|
|
207
|
-
properties: {
|
|
208
|
-
name: { type: 'string', description: 'Route name - becomes URL slug (e.g., "home")' },
|
|
209
|
-
app_config_sys_id: { type: 'string', description: 'App config sys_id from Step 2' },
|
|
210
|
-
page_sys_name: { type: 'string', description: 'Page sys_name from Step 4 registry' },
|
|
211
|
-
description: { type: 'string', description: 'Route description' }
|
|
212
|
-
},
|
|
213
|
-
required: ['name', 'app_config_sys_id', 'page_sys_name']
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
// STEP 6: Update App Config with Landing Page
|
|
217
|
-
{
|
|
218
|
-
name: 'snow_update_ux_app_config_landing_page',
|
|
219
|
-
description: 'STEP 6: Update App Configuration with Landing Page Route - Sets the default landing page for the workspace.',
|
|
220
|
-
inputSchema: {
|
|
221
|
-
type: 'object',
|
|
222
|
-
properties: {
|
|
223
|
-
app_config_sys_id: { type: 'string', description: 'App config sys_id from Step 2' },
|
|
224
|
-
route_name: { type: 'string', description: 'Route name from Step 5' }
|
|
225
|
-
},
|
|
226
|
-
required: ['app_config_sys_id', 'route_name']
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
// COMPLETE WORKFLOW: All 6 steps in one tool
|
|
230
|
-
{
|
|
231
|
-
name: 'snow_create_complete_workspace',
|
|
232
|
-
description: 'Create Complete UX Workspace - Executes all 6 steps automatically: Experience → App Config → Page Macroponent → Page Registry → Route → Landing Page Route. Creates a fully functional workspace.',
|
|
233
|
-
inputSchema: {
|
|
234
|
-
type: 'object',
|
|
235
|
-
properties: {
|
|
236
|
-
workspace_name: { type: 'string', description: 'Workspace name (used for all components)' },
|
|
237
|
-
description: { type: 'string', description: 'Workspace description' },
|
|
238
|
-
home_page_name: { type: 'string', default: 'home', description: 'Home page name (default: "home")' },
|
|
239
|
-
route_name: { type: 'string', default: 'home', description: 'URL route name (default: "home")' },
|
|
240
|
-
root_component: { type: 'string', default: 'sn-canvas-panel', description: 'Root component for page' },
|
|
241
|
-
composition: { type: 'object', description: 'Custom page layout (optional)' },
|
|
242
|
-
root_macroponent: { type: 'string', description: 'Custom root macroponent (auto-detected if not provided)' }
|
|
243
|
-
},
|
|
244
|
-
required: ['workspace_name']
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
// CONFIGURABLE AGENT WORKSPACE: Using UX App architecture
|
|
248
|
-
{
|
|
249
|
-
name: 'snow_create_configurable_agent_workspace',
|
|
250
|
-
description: 'Create Configurable Agent Workspace using UX App architecture (sys_ux_app_route, sys_ux_screen_type). Creates workspace with screen collections for multiple tables.',
|
|
251
|
-
inputSchema: {
|
|
252
|
-
type: 'object',
|
|
253
|
-
properties: {
|
|
254
|
-
name: { type: 'string', description: 'Agent workspace name' },
|
|
255
|
-
description: { type: 'string', description: 'Workspace description' },
|
|
256
|
-
tables: { type: 'array', items: { type: 'string' }, description: 'Tables for screen collections (e.g., ["incident", "task"])' },
|
|
257
|
-
application: { type: 'string', default: 'global', description: 'Application scope' }
|
|
258
|
-
},
|
|
259
|
-
required: ['name', 'tables']
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
// WORKSPACE DISCOVERY & MANAGEMENT
|
|
263
|
-
{
|
|
264
|
-
name: 'snow_discover_all_workspaces',
|
|
265
|
-
description: 'Discover all workspaces (UX Experiences, Agent Workspaces, UI Builder pages) with comprehensive details and usage analytics.',
|
|
266
|
-
inputSchema: {
|
|
267
|
-
type: 'object',
|
|
268
|
-
properties: {
|
|
269
|
-
include_ux_experiences: { type: 'boolean', default: true, description: 'Include Now Experience Framework workspaces' },
|
|
270
|
-
include_agent_workspaces: { type: 'boolean', default: true, description: 'Include Configurable Agent Workspaces' },
|
|
271
|
-
include_ui_builder: { type: 'boolean', default: true, description: 'Include UI Builder pages' },
|
|
272
|
-
active_only: { type: 'boolean', default: true, description: 'Only show active workspaces' }
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
name: 'snow_validate_workspace_configuration',
|
|
278
|
-
description: 'Validate workspace configuration for completeness, best practices, and potential issues across all workspace types.',
|
|
279
|
-
inputSchema: {
|
|
280
|
-
type: 'object',
|
|
281
|
-
properties: {
|
|
282
|
-
workspace_sys_id: { type: 'string', description: 'Workspace sys_id to validate' },
|
|
283
|
-
workspace_type: { type: 'string', enum: ['ux_experience', 'agent_workspace', 'ui_builder'], description: 'Type of workspace to validate' },
|
|
284
|
-
check_performance: { type: 'boolean', default: true, description: 'Include performance analysis' },
|
|
285
|
-
check_security: { type: 'boolean', default: true, description: 'Include security validation' }
|
|
286
|
-
},
|
|
287
|
-
required: ['workspace_sys_id', 'workspace_type']
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
// Mobile Tools
|
|
291
|
-
{
|
|
292
|
-
name: 'snow_configure_mobile_app',
|
|
293
|
-
description: 'Configures ServiceNow mobile application settings and features.',
|
|
294
|
-
inputSchema: {
|
|
295
|
-
type: 'object',
|
|
296
|
-
properties: {
|
|
297
|
-
app_name: { type: 'string', description: 'Mobile app name' },
|
|
298
|
-
enabled_modules: { type: 'array', items: { type: 'string' }, description: 'Enabled modules' },
|
|
299
|
-
offline_tables: { type: 'array', items: { type: 'string' }, description: 'Tables available offline' },
|
|
300
|
-
branding: { type: 'object', description: 'Branding configuration' },
|
|
301
|
-
authentication: { type: 'string', description: 'Authentication method: oauth, saml, basic' },
|
|
302
|
-
push_enabled: { type: 'boolean', description: 'Enable push notifications', default: true }
|
|
303
|
-
},
|
|
304
|
-
required: ['app_name']
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
name: 'snow_create_mobile_layout',
|
|
309
|
-
description: 'Creates a custom layout for mobile forms and lists.',
|
|
310
|
-
inputSchema: {
|
|
311
|
-
type: 'object',
|
|
312
|
-
properties: {
|
|
313
|
-
name: { type: 'string', description: 'Layout name' },
|
|
314
|
-
table: { type: 'string', description: 'Table for the layout' },
|
|
315
|
-
type: { type: 'string', description: 'Layout type: form, list, card' },
|
|
316
|
-
sections: { type: 'array', items: { type: 'object' }, description: 'Layout sections' },
|
|
317
|
-
fields: { type: 'array', items: { type: 'string' }, description: 'Fields to include' },
|
|
318
|
-
related_lists: { type: 'array', items: { type: 'string' }, description: 'Related lists to show' }
|
|
319
|
-
},
|
|
320
|
-
required: ['name', 'table', 'type']
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
name: 'snow_send_push_notification',
|
|
325
|
-
description: 'Sends push notifications to mobile app users.',
|
|
326
|
-
inputSchema: {
|
|
327
|
-
type: 'object',
|
|
328
|
-
properties: {
|
|
329
|
-
recipients: { type: 'array', items: { type: 'string' }, description: 'User sys_ids or groups' },
|
|
330
|
-
title: { type: 'string', description: 'Notification title' },
|
|
331
|
-
message: { type: 'string', description: 'Notification message' },
|
|
332
|
-
data: { type: 'object', description: 'Additional data payload' },
|
|
333
|
-
priority: { type: 'string', description: 'Priority: high, normal, low', default: 'normal' },
|
|
334
|
-
sound: { type: 'boolean', description: 'Play sound', default: true },
|
|
335
|
-
badge: { type: 'number', description: 'Badge count' }
|
|
336
|
-
},
|
|
337
|
-
required: ['recipients', 'title', 'message']
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
name: 'snow_configure_offline_sync',
|
|
342
|
-
description: 'Configures offline data synchronization for mobile devices.',
|
|
343
|
-
inputSchema: {
|
|
344
|
-
type: 'object',
|
|
345
|
-
properties: {
|
|
346
|
-
table: { type: 'string', description: 'Table to sync offline' },
|
|
347
|
-
filter: { type: 'string', description: 'Records filter condition' },
|
|
348
|
-
sync_frequency: { type: 'string', description: 'Sync frequency: realtime, hourly, daily' },
|
|
349
|
-
max_records: { type: 'number', description: 'Maximum records to sync' },
|
|
350
|
-
include_attachments: { type: 'boolean', description: 'Sync attachments', default: false },
|
|
351
|
-
compress: { type: 'boolean', description: 'Compress data', default: true }
|
|
352
|
-
},
|
|
353
|
-
required: ['table']
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
// ==========================================
|
|
357
|
-
// UI BUILDER TOOLS - COMPLETE NOW EXPERIENCE FRAMEWORK INTEGRATION
|
|
358
|
-
// Official ServiceNow sys_ux_* APIs for conversational UI Builder development
|
|
359
|
-
// ==========================================
|
|
360
|
-
// UI Builder Page Management (sys_ux_page) - REQUIRES UI BUILDER PLUGIN
|
|
361
|
-
{
|
|
362
|
-
name: 'snow_create_uib_page',
|
|
363
|
-
description: 'Creates a new UI Builder page in the Now Experience Framework using official ServiceNow sys_ux_page API. ⚠️ REQUIRES: UI Builder plugin + ui_builder_admin role. ALTERNATIVE: Use Service Portal pages if plugin unavailable.',
|
|
364
|
-
inputSchema: {
|
|
365
|
-
type: 'object',
|
|
366
|
-
properties: {
|
|
367
|
-
name: { type: 'string', description: 'Page name (must be unique)' },
|
|
368
|
-
title: { type: 'string', description: 'Page title displayed in browser' },
|
|
369
|
-
route: { type: 'string', description: 'URL route for the page (e.g., /my-dashboard)' },
|
|
370
|
-
description: { type: 'string', description: 'Page description' },
|
|
371
|
-
application: { type: 'string', description: 'Application scope', default: 'global' },
|
|
372
|
-
theme: { type: 'string', description: 'Page theme', default: 'standard' },
|
|
373
|
-
public_read: { type: 'boolean', description: 'Allow public read access', default: false },
|
|
374
|
-
layout_type: { type: 'string', enum: ['container', 'grid', 'flex'], description: 'Page layout type', default: 'container' },
|
|
375
|
-
responsive: { type: 'boolean', description: 'Enable responsive design', default: true },
|
|
376
|
-
active: { type: 'boolean', description: 'Page is active', default: true }
|
|
377
|
-
},
|
|
378
|
-
required: ['name', 'title', 'route']
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
name: 'snow_update_uib_page',
|
|
383
|
-
description: 'Updates an existing UI Builder page configuration, metadata, or settings.',
|
|
384
|
-
inputSchema: {
|
|
385
|
-
type: 'object',
|
|
386
|
-
properties: {
|
|
387
|
-
page_id: { type: 'string', description: 'Page sys_id to update' },
|
|
388
|
-
title: { type: 'string', description: 'New page title' },
|
|
389
|
-
route: { type: 'string', description: 'New URL route' },
|
|
390
|
-
description: { type: 'string', description: 'New description' },
|
|
391
|
-
theme: { type: 'string', description: 'New page theme' },
|
|
392
|
-
layout_type: { type: 'string', enum: ['container', 'grid', 'flex'], description: 'New layout type' },
|
|
393
|
-
responsive: { type: 'boolean', description: 'Enable/disable responsive design' },
|
|
394
|
-
active: { type: 'boolean', description: 'Page active status' }
|
|
395
|
-
},
|
|
396
|
-
required: ['page_id']
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
name: 'snow_delete_uib_page',
|
|
401
|
-
description: 'Safely deletes a UI Builder page and all associated elements, with comprehensive dependency validation.',
|
|
402
|
-
inputSchema: {
|
|
403
|
-
type: 'object',
|
|
404
|
-
properties: {
|
|
405
|
-
page_id: { type: 'string', description: 'Page sys_id to delete' },
|
|
406
|
-
force_delete: { type: 'boolean', description: 'Force delete even if dependencies exist', default: false },
|
|
407
|
-
backup_before_delete: { type: 'boolean', description: 'Create backup before deletion', default: true },
|
|
408
|
-
clean_orphaned_elements: { type: 'boolean', description: 'Clean up orphaned page elements', default: true }
|
|
409
|
-
},
|
|
410
|
-
required: ['page_id']
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
name: 'snow_discover_uib_pages',
|
|
415
|
-
description: 'Discovers all UI Builder pages in the instance with advanced filtering and relationship analysis.',
|
|
416
|
-
inputSchema: {
|
|
417
|
-
type: 'object',
|
|
418
|
-
properties: {
|
|
419
|
-
application: { type: 'string', description: 'Filter by application scope' },
|
|
420
|
-
active_only: { type: 'boolean', description: 'Show only active pages', default: true },
|
|
421
|
-
include_elements: { type: 'boolean', description: 'Include page elements and layout', default: false },
|
|
422
|
-
include_data_brokers: { type: 'boolean', description: 'Include data broker configurations', default: false },
|
|
423
|
-
include_routing: { type: 'boolean', description: 'Include page registry routing info', default: false },
|
|
424
|
-
name_filter: { type: 'string', description: 'Filter pages by name (partial match)' },
|
|
425
|
-
route_filter: { type: 'string', description: 'Filter pages by route pattern' },
|
|
426
|
-
theme_filter: { type: 'string', description: 'Filter pages by theme' },
|
|
427
|
-
limit: { type: 'number', description: 'Maximum pages to return', default: 50 }
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
// UI Builder Component Library Management (sys_ux_lib_*)
|
|
432
|
-
{
|
|
433
|
-
name: 'snow_create_uib_component',
|
|
434
|
-
description: 'Creates a custom UI Builder component using official ServiceNow sys_ux_lib_component and sys_ux_lib_source_script APIs.',
|
|
435
|
-
inputSchema: {
|
|
436
|
-
type: 'object',
|
|
437
|
-
properties: {
|
|
438
|
-
name: { type: 'string', description: 'Component name (must be unique, kebab-case recommended)' },
|
|
439
|
-
label: { type: 'string', description: 'Component display label' },
|
|
440
|
-
description: { type: 'string', description: 'Component description and usage notes' },
|
|
441
|
-
category: { type: 'string', description: 'Component category for organization', default: 'custom' },
|
|
442
|
-
source_script: { type: 'string', description: 'Component source code (JavaScript/React/Web Components)' },
|
|
443
|
-
properties_schema: { type: 'object', description: 'Component properties schema definition (JSON Schema)' },
|
|
444
|
-
events: { type: 'array', items: { type: 'string' }, description: 'Events this component can emit' },
|
|
445
|
-
dependencies: { type: 'array', items: { type: 'string' }, description: 'External dependencies (libraries, other components)' },
|
|
446
|
-
styling: { type: 'object', description: 'Default styling and CSS configuration' },
|
|
447
|
-
version: { type: 'string', description: 'Component version', default: '1.0.0' },
|
|
448
|
-
tags: { type: 'array', items: { type: 'string' }, description: 'Tags for component discovery' }
|
|
449
|
-
},
|
|
450
|
-
required: ['name', 'label', 'source_script']
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
name: 'snow_update_uib_component',
|
|
455
|
-
description: 'Updates an existing UI Builder component definition, source code, or configuration.',
|
|
456
|
-
inputSchema: {
|
|
457
|
-
type: 'object',
|
|
458
|
-
properties: {
|
|
459
|
-
component_id: { type: 'string', description: 'Component sys_id to update' },
|
|
460
|
-
label: { type: 'string', description: 'New component label' },
|
|
461
|
-
description: { type: 'string', description: 'New description' },
|
|
462
|
-
source_script: { type: 'string', description: 'Updated component source code' },
|
|
463
|
-
properties_schema: { type: 'object', description: 'Updated properties schema' },
|
|
464
|
-
styling: { type: 'object', description: 'Updated styling configuration' },
|
|
465
|
-
version: { type: 'string', description: 'New version number (semantic versioning)' },
|
|
466
|
-
events: { type: 'array', items: { type: 'string' }, description: 'Updated events list' },
|
|
467
|
-
dependencies: { type: 'array', items: { type: 'string' }, description: 'Updated dependencies' },
|
|
468
|
-
active: { type: 'boolean', description: 'Component active status' }
|
|
469
|
-
},
|
|
470
|
-
required: ['component_id']
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
name: 'snow_discover_uib_components',
|
|
475
|
-
description: 'Discovers all available UI Builder components including ServiceNow built-in and custom components with comprehensive metadata.',
|
|
476
|
-
inputSchema: {
|
|
477
|
-
type: 'object',
|
|
478
|
-
properties: {
|
|
479
|
-
category: { type: 'string', description: 'Filter by component category (layout, input, display, custom)' },
|
|
480
|
-
custom_only: { type: 'boolean', description: 'Show only custom components', default: false },
|
|
481
|
-
built_in_only: { type: 'boolean', description: 'Show only ServiceNow built-in components', default: false },
|
|
482
|
-
include_source: { type: 'boolean', description: 'Include component source code', default: false },
|
|
483
|
-
include_usage_stats: { type: 'boolean', description: 'Include component usage statistics across pages', default: false },
|
|
484
|
-
include_dependencies: { type: 'boolean', description: 'Include component dependency information', default: false },
|
|
485
|
-
name_filter: { type: 'string', description: 'Filter components by name or label' },
|
|
486
|
-
version_filter: { type: 'string', description: 'Filter by version pattern' },
|
|
487
|
-
application: { type: 'string', description: 'Filter by application scope' },
|
|
488
|
-
limit: { type: 'number', description: 'Maximum components to return', default: 100 }
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
name: 'snow_clone_uib_component',
|
|
494
|
-
description: 'Clones an existing UI Builder component to create a customized variant with modifications.',
|
|
495
|
-
inputSchema: {
|
|
496
|
-
type: 'object',
|
|
497
|
-
properties: {
|
|
498
|
-
source_component_id: { type: 'string', description: 'Source component sys_id to clone' },
|
|
499
|
-
new_name: { type: 'string', description: 'Name for the cloned component' },
|
|
500
|
-
new_label: { type: 'string', description: 'Label for the cloned component' },
|
|
501
|
-
modifications: { type: 'object', description: 'Specific modifications to apply to cloned component' },
|
|
502
|
-
category: { type: 'string', description: 'Category for cloned component', default: 'custom' },
|
|
503
|
-
version: { type: 'string', description: 'Version for cloned component', default: '1.0.0' },
|
|
504
|
-
description: { type: 'string', description: 'Description of clone purpose and changes' }
|
|
505
|
-
},
|
|
506
|
-
required: ['source_component_id', 'new_name', 'new_label']
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
// UI Builder Data Broker Management (sys_ux_data_broker)
|
|
510
|
-
{
|
|
511
|
-
name: 'snow_create_uib_data_broker',
|
|
512
|
-
description: 'Creates a UI Builder data broker for connecting pages to ServiceNow data sources using official sys_ux_data_broker API.',
|
|
513
|
-
inputSchema: {
|
|
514
|
-
type: 'object',
|
|
515
|
-
properties: {
|
|
516
|
-
name: { type: 'string', description: 'Data broker name (must be unique)' },
|
|
517
|
-
label: { type: 'string', description: 'Data broker display label' },
|
|
518
|
-
table: { type: 'string', description: 'ServiceNow table to connect' },
|
|
519
|
-
type: { type: 'string', enum: ['table', 'script', 'rest_message'], description: 'Data broker type', default: 'table' },
|
|
520
|
-
query: { type: 'string', description: 'Default query for table data broker' },
|
|
521
|
-
script: { type: 'string', description: 'Script for script-based data broker' },
|
|
522
|
-
rest_message: { type: 'string', description: 'REST message sys_id for REST data broker' },
|
|
523
|
-
fields: { type: 'array', items: { type: 'string' }, description: 'Fields to retrieve (leave empty for all)' },
|
|
524
|
-
auto_refresh: { type: 'boolean', description: 'Enable automatic data refresh', default: false },
|
|
525
|
-
refresh_interval: { type: 'number', description: 'Refresh interval in seconds', default: 30 },
|
|
526
|
-
cache_duration: { type: 'number', description: 'Cache duration in seconds', default: 300 },
|
|
527
|
-
max_records: { type: 'number', description: 'Maximum records to fetch', default: 1000 }
|
|
528
|
-
},
|
|
529
|
-
required: ['name', 'label', 'type']
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
name: 'snow_configure_uib_data_broker',
|
|
534
|
-
description: 'Configures or updates an existing UI Builder data broker with new query, fields, or performance settings.',
|
|
535
|
-
inputSchema: {
|
|
536
|
-
type: 'object',
|
|
537
|
-
properties: {
|
|
538
|
-
broker_id: { type: 'string', description: 'Data broker sys_id' },
|
|
539
|
-
query: { type: 'string', description: 'Updated query condition' },
|
|
540
|
-
fields: { type: 'array', items: { type: 'string' }, description: 'Updated fields list' },
|
|
541
|
-
auto_refresh: { type: 'boolean', description: 'Enable/disable auto-refresh' },
|
|
542
|
-
refresh_interval: { type: 'number', description: 'New refresh interval in seconds' },
|
|
543
|
-
cache_duration: { type: 'number', description: 'New cache duration in seconds' },
|
|
544
|
-
max_records: { type: 'number', description: 'New maximum records limit' },
|
|
545
|
-
active: { type: 'boolean', description: 'Data broker active status' }
|
|
546
|
-
},
|
|
547
|
-
required: ['broker_id']
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
// UI Builder Page Layout Management (sys_ux_page_element)
|
|
551
|
-
{
|
|
552
|
-
name: 'snow_add_uib_page_element',
|
|
553
|
-
description: 'Adds a component element to a UI Builder page using official sys_ux_page_element API with full layout control.',
|
|
554
|
-
inputSchema: {
|
|
555
|
-
type: 'object',
|
|
556
|
-
properties: {
|
|
557
|
-
page_id: { type: 'string', description: 'Target page sys_id' },
|
|
558
|
-
component: { type: 'string', description: 'Component name or sys_id from component library' },
|
|
559
|
-
container_id: { type: 'string', description: 'Parent container element ID (optional for root level)' },
|
|
560
|
-
position: { type: 'number', description: 'Element position in container', default: 0 },
|
|
561
|
-
properties: { type: 'object', description: 'Component properties and configuration' },
|
|
562
|
-
data_broker: { type: 'string', description: 'Data broker sys_id to bind to component' },
|
|
563
|
-
responsive_config: { type: 'object', description: 'Responsive layout configuration for different screen sizes' },
|
|
564
|
-
conditional_display: { type: 'string', description: 'Condition script for element visibility' },
|
|
565
|
-
css_classes: { type: 'array', items: { type: 'string' }, description: 'CSS classes to apply' },
|
|
566
|
-
inline_styles: { type: 'object', description: 'Inline styles configuration' }
|
|
567
|
-
},
|
|
568
|
-
required: ['page_id', 'component']
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
name: 'snow_update_uib_page_element',
|
|
573
|
-
description: 'Updates properties, position, or configuration of an existing UI Builder page element.',
|
|
574
|
-
inputSchema: {
|
|
575
|
-
type: 'object',
|
|
576
|
-
properties: {
|
|
577
|
-
element_id: { type: 'string', description: 'Page element sys_id' },
|
|
578
|
-
properties: { type: 'object', description: 'Updated component properties' },
|
|
579
|
-
position: { type: 'number', description: 'New position in container' },
|
|
580
|
-
data_broker: { type: 'string', description: 'New data broker binding' },
|
|
581
|
-
responsive_config: { type: 'object', description: 'Updated responsive configuration' },
|
|
582
|
-
conditional_display: { type: 'string', description: 'Updated display condition' },
|
|
583
|
-
css_classes: { type: 'array', items: { type: 'string' }, description: 'Updated CSS classes' },
|
|
584
|
-
inline_styles: { type: 'object', description: 'Updated inline styles' }
|
|
585
|
-
},
|
|
586
|
-
required: ['element_id']
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
name: 'snow_remove_uib_page_element',
|
|
591
|
-
description: 'Removes a component element from a UI Builder page with comprehensive dependency validation.',
|
|
592
|
-
inputSchema: {
|
|
593
|
-
type: 'object',
|
|
594
|
-
properties: {
|
|
595
|
-
element_id: { type: 'string', description: 'Page element sys_id to remove' },
|
|
596
|
-
validate_dependencies: { type: 'boolean', description: 'Check for element dependencies before removal', default: true },
|
|
597
|
-
cleanup_orphaned_data: { type: 'boolean', description: 'Clean up orphaned data brokers and scripts', default: true }
|
|
598
|
-
},
|
|
599
|
-
required: ['element_id']
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
// UI Builder Page Registry & Routing (sys_ux_page_registry)
|
|
603
|
-
{
|
|
604
|
-
name: 'snow_create_uib_page_registry',
|
|
605
|
-
description: 'Creates URL routing configuration for UI Builder page using official sys_ux_page_registry API.',
|
|
606
|
-
inputSchema: {
|
|
607
|
-
type: 'object',
|
|
608
|
-
properties: {
|
|
609
|
-
page_id: { type: 'string', description: 'Target page sys_id' },
|
|
610
|
-
path: { type: 'string', description: 'URL path pattern (e.g., /dashboard, /incidents/:id)' },
|
|
611
|
-
application: { type: 'string', description: 'Application scope for routing' },
|
|
612
|
-
roles: { type: 'array', items: { type: 'string' }, description: 'Roles required to access page' },
|
|
613
|
-
public_access: { type: 'boolean', description: 'Allow public access without authentication', default: false },
|
|
614
|
-
redirect_url: { type: 'string', description: 'Redirect URL for unauthorized access' },
|
|
615
|
-
meta_title: { type: 'string', description: 'SEO meta title for the page' },
|
|
616
|
-
meta_description: { type: 'string', description: 'SEO meta description' },
|
|
617
|
-
parameter_mapping: { type: 'object', description: 'URL parameter mapping configuration' },
|
|
618
|
-
cache_control: { type: 'string', description: 'Cache control headers' }
|
|
619
|
-
},
|
|
620
|
-
required: ['page_id', 'path']
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
name: 'snow_discover_uib_routes',
|
|
625
|
-
description: 'Discovers all UI Builder page routes and their security/access configurations.',
|
|
626
|
-
inputSchema: {
|
|
627
|
-
type: 'object',
|
|
628
|
-
properties: {
|
|
629
|
-
application: { type: 'string', description: 'Filter by application scope' },
|
|
630
|
-
active_only: { type: 'boolean', description: 'Show only active routes', default: true },
|
|
631
|
-
include_security: { type: 'boolean', description: 'Include role and security information', default: false },
|
|
632
|
-
include_parameters: { type: 'boolean', description: 'Include URL parameter configurations', default: false },
|
|
633
|
-
path_pattern: { type: 'string', description: 'Filter by path pattern or wildcard' },
|
|
634
|
-
role_filter: { type: 'string', description: 'Filter by required role' }
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
// UI Builder Client Script Management (sys_ux_client_script)
|
|
639
|
-
{
|
|
640
|
-
name: 'snow_create_uib_client_script',
|
|
641
|
-
description: 'Creates client-side scripts for UI Builder pages using official sys_ux_client_script API.',
|
|
642
|
-
inputSchema: {
|
|
643
|
-
type: 'object',
|
|
644
|
-
properties: {
|
|
645
|
-
page_id: { type: 'string', description: 'Target page sys_id' },
|
|
646
|
-
name: { type: 'string', description: 'Script name (must be unique within page)' },
|
|
647
|
-
type: { type: 'string', enum: ['onLoad', 'onChange', 'onClick', 'onSubmit', 'custom'], description: 'Script trigger type' },
|
|
648
|
-
script: { type: 'string', description: 'JavaScript code for the script' },
|
|
649
|
-
component_reference: { type: 'string', description: 'Reference to specific component if applicable' },
|
|
650
|
-
event_name: { type: 'string', description: 'Custom event name for custom type scripts' },
|
|
651
|
-
execution_order: { type: 'number', description: 'Script execution order', default: 100 },
|
|
652
|
-
async_execution: { type: 'boolean', description: 'Enable async execution', default: false },
|
|
653
|
-
error_handling: { type: 'string', description: 'Error handling strategy', default: 'log' },
|
|
654
|
-
active: { type: 'boolean', description: 'Script is active', default: true }
|
|
655
|
-
},
|
|
656
|
-
required: ['page_id', 'name', 'type', 'script']
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
name: 'snow_create_uib_client_state',
|
|
661
|
-
description: 'Creates client state management configuration for UI Builder pages using official sys_ux_client_state API.',
|
|
662
|
-
inputSchema: {
|
|
663
|
-
type: 'object',
|
|
664
|
-
properties: {
|
|
665
|
-
page_id: { type: 'string', description: 'Target page sys_id' },
|
|
666
|
-
state_name: { type: 'string', description: 'State variable name' },
|
|
667
|
-
initial_value: { type: 'string', description: 'Initial state value (JSON format)' },
|
|
668
|
-
scope: { type: 'string', enum: ['page', 'session', 'global'], description: 'State scope', default: 'page' },
|
|
669
|
-
persistent: { type: 'boolean', description: 'Persist state across browser sessions', default: false },
|
|
670
|
-
reactive: { type: 'boolean', description: 'Enable reactive updates', default: true },
|
|
671
|
-
validation_schema: { type: 'object', description: 'State validation schema' },
|
|
672
|
-
description: { type: 'string', description: 'State variable description' }
|
|
673
|
-
},
|
|
674
|
-
required: ['page_id', 'state_name', 'initial_value']
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
// UI Builder Event Management (sys_ux_event)
|
|
678
|
-
{
|
|
679
|
-
name: 'snow_create_uib_event',
|
|
680
|
-
description: 'Creates custom events for UI Builder components using official sys_ux_event API.',
|
|
681
|
-
inputSchema: {
|
|
682
|
-
type: 'object',
|
|
683
|
-
properties: {
|
|
684
|
-
name: { type: 'string', description: 'Event name (must be unique)' },
|
|
685
|
-
label: { type: 'string', description: 'Event display label' },
|
|
686
|
-
description: { type: 'string', description: 'Event description and usage' },
|
|
687
|
-
payload_schema: { type: 'object', description: 'Event payload schema definition (JSON Schema)' },
|
|
688
|
-
component_scope: { type: 'string', description: 'Component scope for event availability' },
|
|
689
|
-
global_event: { type: 'boolean', description: 'Global event accessible across all pages', default: false },
|
|
690
|
-
bubbles: { type: 'boolean', description: 'Event bubbles up DOM tree', default: true },
|
|
691
|
-
cancelable: { type: 'boolean', description: 'Event can be cancelled', default: true }
|
|
692
|
-
},
|
|
693
|
-
required: ['name', 'label']
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
// UI Builder Validation & Analytics
|
|
697
|
-
{
|
|
698
|
-
name: 'snow_analyze_uib_page_performance',
|
|
699
|
-
description: 'Analyzes UI Builder page performance including load times, component efficiency, and optimization recommendations.',
|
|
700
|
-
inputSchema: {
|
|
701
|
-
type: 'object',
|
|
702
|
-
properties: {
|
|
703
|
-
page_id: { type: 'string', description: 'Page sys_id to analyze' },
|
|
704
|
-
include_components: { type: 'boolean', description: 'Include component-level performance analysis', default: true },
|
|
705
|
-
include_data_broker_stats: { type: 'boolean', description: 'Include data broker performance metrics', default: true },
|
|
706
|
-
include_client_scripts: { type: 'boolean', description: 'Include client script performance', default: true },
|
|
707
|
-
time_period_days: { type: 'number', description: 'Analysis period in days', default: 30 },
|
|
708
|
-
detailed_analysis: { type: 'boolean', description: 'Generate detailed performance report', default: false }
|
|
709
|
-
},
|
|
710
|
-
required: ['page_id']
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
name: 'snow_validate_uib_page_structure',
|
|
715
|
-
description: 'Validates UI Builder page structure, component relationships, data flow integrity, and best practices compliance.',
|
|
716
|
-
inputSchema: {
|
|
717
|
-
type: 'object',
|
|
718
|
-
properties: {
|
|
719
|
-
page_id: { type: 'string', description: 'Page sys_id to validate' },
|
|
720
|
-
check_data_brokers: { type: 'boolean', description: 'Validate data broker connections and queries', default: true },
|
|
721
|
-
check_component_dependencies: { type: 'boolean', description: 'Check component dependencies and compatibility', default: true },
|
|
722
|
-
check_routing: { type: 'boolean', description: 'Validate page routing and URL configuration', default: true },
|
|
723
|
-
check_security: { type: 'boolean', description: 'Validate security, ACLs, and access controls', default: true },
|
|
724
|
-
check_performance: { type: 'boolean', description: 'Check for performance best practices', default: true },
|
|
725
|
-
check_accessibility: { type: 'boolean', description: 'Validate accessibility compliance', default: false }
|
|
726
|
-
},
|
|
727
|
-
required: ['page_id']
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
name: 'snow_discover_uib_page_usage',
|
|
732
|
-
description: 'Analyzes UI Builder page usage patterns, user interactions, and component effectiveness.',
|
|
733
|
-
inputSchema: {
|
|
734
|
-
type: 'object',
|
|
735
|
-
properties: {
|
|
736
|
-
page_id: { type: 'string', description: 'Page sys_id to analyze usage for' },
|
|
737
|
-
time_period_days: { type: 'number', description: 'Analysis period in days', default: 30 },
|
|
738
|
-
include_user_journeys: { type: 'boolean', description: 'Include user journey analysis', default: false },
|
|
739
|
-
include_conversion_rates: { type: 'boolean', description: 'Include conversion and engagement rates', default: false },
|
|
740
|
-
group_by_role: { type: 'boolean', description: 'Group analytics by user role', default: false }
|
|
741
|
-
},
|
|
742
|
-
required: ['page_id']
|
|
743
|
-
}
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
name: 'snow_create_mobile_action',
|
|
747
|
-
description: 'Creates custom actions for mobile app interfaces.',
|
|
748
|
-
inputSchema: {
|
|
749
|
-
type: 'object',
|
|
750
|
-
properties: {
|
|
751
|
-
name: { type: 'string', description: 'Action name' },
|
|
752
|
-
table: { type: 'string', description: 'Table context' },
|
|
753
|
-
type: { type: 'string', description: 'Action type: button, swipe, gesture' },
|
|
754
|
-
icon: { type: 'string', description: 'Action icon' },
|
|
755
|
-
script: { type: 'string', description: 'Action script' },
|
|
756
|
-
condition: { type: 'string', description: 'Condition to show action' },
|
|
757
|
-
confirmation: { type: 'string', description: 'Confirmation message' }
|
|
758
|
-
},
|
|
759
|
-
required: ['name', 'table', 'type']
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
name: 'snow_get_mobile_analytics',
|
|
764
|
-
description: 'Retrieves mobile app usage analytics and performance metrics.',
|
|
765
|
-
inputSchema: {
|
|
766
|
-
type: 'object',
|
|
767
|
-
properties: {
|
|
768
|
-
metric_type: { type: 'string', description: 'Metric type: usage, performance, errors' },
|
|
769
|
-
date_range: { type: 'string', description: 'Date range: 7days, 30days, 90days' },
|
|
770
|
-
group_by: { type: 'string', description: 'Group by: user, device, os, app_version' },
|
|
771
|
-
include_details: { type: 'boolean', description: 'Include detailed metrics', default: false }
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
name: 'snow_discover_mobile_configs',
|
|
777
|
-
description: 'Discovers mobile app configurations and enabled features.',
|
|
778
|
-
inputSchema: {
|
|
779
|
-
type: 'object',
|
|
780
|
-
properties: {
|
|
781
|
-
include_layouts: { type: 'boolean', description: 'Include layout configurations', default: true },
|
|
782
|
-
include_offline: { type: 'boolean', description: 'Include offline settings', default: true }
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
]
|
|
787
|
-
}));
|
|
788
|
-
this.server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
789
|
-
try {
|
|
790
|
-
const { name, arguments: args } = request.params;
|
|
791
|
-
// Start operation with token tracking
|
|
792
|
-
this.logger.operationStart(name, args);
|
|
793
|
-
const authResult = await mcp_auth_middleware_js_1.mcpAuth.ensureAuthenticated();
|
|
794
|
-
if (!authResult.success) {
|
|
795
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, authResult.error || 'Authentication required');
|
|
796
|
-
}
|
|
797
|
-
let result;
|
|
798
|
-
switch (name) {
|
|
799
|
-
// Flow Designer - Real APIs Only
|
|
800
|
-
case 'snow_list_flows':
|
|
801
|
-
result = await this.listFlows(args);
|
|
802
|
-
break;
|
|
803
|
-
case 'snow_execute_flow':
|
|
804
|
-
result = await this.executeFlow(args);
|
|
805
|
-
break;
|
|
806
|
-
case 'snow_get_flow_execution_status':
|
|
807
|
-
result = await this.getFlowExecutionStatus(args);
|
|
808
|
-
break;
|
|
809
|
-
case 'snow_get_flow_execution_history':
|
|
810
|
-
result = await this.getFlowExecutionHistory(args);
|
|
811
|
-
break;
|
|
812
|
-
case 'snow_get_flow_details':
|
|
813
|
-
result = await this.getFlowDetails(args);
|
|
814
|
-
break;
|
|
815
|
-
case 'snow_import_flow_from_xml':
|
|
816
|
-
result = await this.importFlowFromXml(args);
|
|
817
|
-
break;
|
|
818
|
-
// 🏗️ UX WORKSPACE CREATION (SAFE EXECUTION)
|
|
819
|
-
case 'snow_create_ux_experience':
|
|
820
|
-
result = await this.safeToolExecution('snow_create_ux_experience', () => this.snow_create_ux_experience(args), 'now_experience_framework');
|
|
821
|
-
break;
|
|
822
|
-
case 'snow_create_ux_app_config':
|
|
823
|
-
result = await this.safeToolExecution('snow_create_ux_app_config', () => this.snow_create_ux_app_config(args), 'now_experience_framework');
|
|
824
|
-
break;
|
|
825
|
-
case 'snow_create_ux_page_macroponent':
|
|
826
|
-
result = await this.safeToolExecution('snow_create_ux_page_macroponent', () => this.snow_create_ux_page_macroponent(args), 'now_experience_framework');
|
|
827
|
-
break;
|
|
828
|
-
case 'snow_create_ux_page_registry':
|
|
829
|
-
result = await this.safeToolExecution('snow_create_ux_page_registry', () => this.snow_create_ux_page_registry(args), 'now_experience_framework');
|
|
830
|
-
break;
|
|
831
|
-
case 'snow_create_ux_app_route':
|
|
832
|
-
result = await this.safeToolExecution('snow_create_ux_app_route', () => this.snow_create_ux_app_route(args), 'now_experience_framework');
|
|
833
|
-
break;
|
|
834
|
-
case 'snow_update_ux_app_config_landing_page':
|
|
835
|
-
result = await this.safeToolExecution('snow_update_ux_app_config_landing_page', () => this.snow_update_ux_app_config_landing_page(args), 'now_experience_framework');
|
|
836
|
-
break;
|
|
837
|
-
case 'snow_create_complete_workspace':
|
|
838
|
-
result = await this.safeToolExecution('snow_create_complete_workspace', () => this.snow_create_complete_workspace(args), 'now_experience_framework');
|
|
839
|
-
break;
|
|
840
|
-
case 'snow_create_configurable_agent_workspace':
|
|
841
|
-
result = await this.safeToolExecution('snow_create_configurable_agent_workspace', () => this.snow_create_configurable_agent_workspace(args), 'agent_workspace');
|
|
842
|
-
break;
|
|
843
|
-
case 'snow_discover_all_workspaces':
|
|
844
|
-
result = await this.safeToolExecution('snow_discover_all_workspaces', () => this.discoverAllWorkspaces(args), 'now_experience_framework');
|
|
845
|
-
break;
|
|
846
|
-
case 'snow_validate_workspace_configuration':
|
|
847
|
-
result = await this.validateWorkspaceConfiguration(args);
|
|
848
|
-
break;
|
|
849
|
-
// Mobile
|
|
850
|
-
case 'snow_configure_mobile_app':
|
|
851
|
-
result = await this.configureMobileApp(args);
|
|
852
|
-
break;
|
|
853
|
-
case 'snow_create_mobile_layout':
|
|
854
|
-
result = await this.createMobileLayout(args);
|
|
855
|
-
break;
|
|
856
|
-
case 'snow_send_push_notification':
|
|
857
|
-
result = await this.sendPushNotification(args);
|
|
858
|
-
break;
|
|
859
|
-
case 'snow_configure_offline_sync':
|
|
860
|
-
result = await this.configureOfflineSync(args);
|
|
861
|
-
break;
|
|
862
|
-
// UI Builder Page Management (SAFE EXECUTION)
|
|
863
|
-
case 'snow_create_uib_page':
|
|
864
|
-
result = await this.safeToolExecution('snow_create_uib_page', () => this.createUIBPage(args), 'ui_builder');
|
|
865
|
-
break;
|
|
866
|
-
case 'snow_update_uib_page':
|
|
867
|
-
result = await this.safeToolExecution('snow_update_uib_page', () => this.updateUIBPage(args), 'ui_builder');
|
|
868
|
-
break;
|
|
869
|
-
case 'snow_delete_uib_page':
|
|
870
|
-
result = await this.safeToolExecution('snow_delete_uib_page', () => this.deleteUIBPage(args), 'ui_builder');
|
|
871
|
-
break;
|
|
872
|
-
case 'snow_discover_uib_pages':
|
|
873
|
-
result = await this.safeToolExecution('snow_discover_uib_pages', () => this.discoverUIBPages(args), 'ui_builder');
|
|
874
|
-
break;
|
|
875
|
-
// UI Builder Component Management (SAFE EXECUTION)
|
|
876
|
-
case 'snow_create_uib_component':
|
|
877
|
-
result = await this.safeToolExecution('snow_create_uib_component', () => this.createUIBComponent(args), 'ui_builder');
|
|
878
|
-
break;
|
|
879
|
-
case 'snow_update_uib_component':
|
|
880
|
-
result = await this.safeToolExecution('snow_update_uib_component', () => this.updateUIBComponent(args), 'ui_builder');
|
|
881
|
-
break;
|
|
882
|
-
case 'snow_discover_uib_components':
|
|
883
|
-
result = await this.safeToolExecution('snow_discover_uib_components', () => this.discoverUIBComponents(args), 'ui_builder');
|
|
884
|
-
break;
|
|
885
|
-
case 'snow_clone_uib_component':
|
|
886
|
-
result = await this.safeToolExecution('snow_clone_uib_component', () => this.cloneUIBComponent(args), 'ui_builder');
|
|
887
|
-
break;
|
|
888
|
-
// UI Builder Data Broker Management
|
|
889
|
-
case 'snow_create_uib_data_broker':
|
|
890
|
-
result = await this.createUIBDataBroker(args);
|
|
891
|
-
break;
|
|
892
|
-
case 'snow_configure_uib_data_broker':
|
|
893
|
-
result = await this.configureUIBDataBroker(args);
|
|
894
|
-
break;
|
|
895
|
-
// UI Builder Page Layout Management
|
|
896
|
-
case 'snow_add_uib_page_element':
|
|
897
|
-
result = await this.addUIBPageElement(args);
|
|
898
|
-
break;
|
|
899
|
-
case 'snow_update_uib_page_element':
|
|
900
|
-
result = await this.updateUIBPageElement(args);
|
|
901
|
-
break;
|
|
902
|
-
case 'snow_remove_uib_page_element':
|
|
903
|
-
result = await this.removeUIBPageElement(args);
|
|
904
|
-
break;
|
|
905
|
-
// UI Builder Page Registry & Routing
|
|
906
|
-
case 'snow_create_uib_page_registry':
|
|
907
|
-
result = await this.createUIBPageRegistry(args);
|
|
908
|
-
break;
|
|
909
|
-
case 'snow_discover_uib_routes':
|
|
910
|
-
result = await this.discoverUIBRoutes(args);
|
|
911
|
-
break;
|
|
912
|
-
// UI Builder Client Script Management
|
|
913
|
-
case 'snow_create_uib_client_script':
|
|
914
|
-
result = await this.createUIBClientScript(args);
|
|
915
|
-
break;
|
|
916
|
-
case 'snow_create_uib_client_state':
|
|
917
|
-
result = await this.createUIBClientState(args);
|
|
918
|
-
break;
|
|
919
|
-
// UI Builder Event Management
|
|
920
|
-
case 'snow_create_uib_event':
|
|
921
|
-
result = await this.createUIBEvent(args);
|
|
922
|
-
break;
|
|
923
|
-
// UI Builder Validation & Analytics
|
|
924
|
-
case 'snow_analyze_uib_page_performance':
|
|
925
|
-
result = await this.analyzeUIBPagePerformance(args);
|
|
926
|
-
break;
|
|
927
|
-
case 'snow_validate_uib_page_structure':
|
|
928
|
-
result = await this.validateUIBPageStructure(args);
|
|
929
|
-
break;
|
|
930
|
-
case 'snow_discover_uib_page_usage':
|
|
931
|
-
result = await this.discoverUIBPageUsage(args);
|
|
932
|
-
break;
|
|
933
|
-
case 'snow_create_mobile_action':
|
|
934
|
-
result = await this.createMobileAction(args);
|
|
935
|
-
break;
|
|
936
|
-
case 'snow_get_mobile_analytics':
|
|
937
|
-
result = await this.getMobileAnalytics(args);
|
|
938
|
-
break;
|
|
939
|
-
case 'snow_discover_mobile_configs':
|
|
940
|
-
result = await this.discoverMobileConfigs(args);
|
|
941
|
-
break;
|
|
942
|
-
default:
|
|
943
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
|
|
944
|
-
}
|
|
945
|
-
// Complete operation with token tracking
|
|
946
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
947
|
-
result = this.logger.addTokenUsageToResponse(result);
|
|
948
|
-
this.logger.operationComplete(name, result);
|
|
949
|
-
return result;
|
|
950
|
-
}
|
|
951
|
-
catch (error) {
|
|
952
|
-
this.logger.error(`Error in ${request.params.name}:`, error);
|
|
953
|
-
throw error;
|
|
954
|
-
}
|
|
955
|
-
});
|
|
956
|
-
}
|
|
957
|
-
// Flow Designer Implementation - Real APIs Only
|
|
958
|
-
async listFlows(args) {
|
|
959
|
-
try {
|
|
960
|
-
this.logger.info('Listing flows...');
|
|
961
|
-
let query = '';
|
|
962
|
-
if (args.table) {
|
|
963
|
-
query = `table=${args.table}`;
|
|
964
|
-
}
|
|
965
|
-
if (args.active_only !== false) { // Default to active only
|
|
966
|
-
query += query ? '^' : '';
|
|
967
|
-
query += 'active=true';
|
|
968
|
-
}
|
|
969
|
-
if (args.name_filter) {
|
|
970
|
-
query += query ? '^' : '';
|
|
971
|
-
query += `nameCONTAINS${args.name_filter}`;
|
|
972
|
-
}
|
|
973
|
-
const limit = args.limit || 50;
|
|
974
|
-
this.logger.trackAPICall('SEARCH', 'sys_hub_flow', limit);
|
|
975
|
-
const response = await this.client.searchRecords('sys_hub_flow', query, limit);
|
|
976
|
-
if (!response.success) {
|
|
977
|
-
throw new Error('Failed to list flows');
|
|
978
|
-
}
|
|
979
|
-
const flows = response.data.result;
|
|
980
|
-
// Get subflows if requested
|
|
981
|
-
let subflows = [];
|
|
982
|
-
if (args.include_subflows) {
|
|
983
|
-
const subflowResponse = await this.client.searchRecords('sys_hub_sub_flow', '', limit);
|
|
984
|
-
if (subflowResponse.success) {
|
|
985
|
-
subflows = subflowResponse.data.result;
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
const flowList = flows.map((flow) => `🔄 **${flow.name}** ${flow.active ? '✅' : '❌'}
|
|
989
|
-
🆔 sys_id: ${flow.sys_id}
|
|
990
|
-
📋 Table: ${flow.table || 'N/A'}
|
|
991
|
-
⚡ Trigger: ${flow.trigger_type || 'N/A'}
|
|
992
|
-
📝 ${flow.description || 'No description'}`).join('\n\n');
|
|
993
|
-
const subflowList = subflows.map((subflow) => `🔄 **${subflow.name}** (Subflow)
|
|
994
|
-
🆔 sys_id: ${subflow.sys_id}
|
|
995
|
-
📂 Category: ${subflow.category || 'custom'}
|
|
996
|
-
📝 ${subflow.description || 'No description'}`).join('\n\n');
|
|
997
|
-
return {
|
|
998
|
-
content: [{
|
|
999
|
-
type: 'text',
|
|
1000
|
-
text: `🔍 Flow Inventory:
|
|
1001
|
-
|
|
1002
|
-
${flowList}
|
|
1003
|
-
|
|
1004
|
-
${args.include_subflows && subflows.length ? `\n🔄 Subflows:\n\n${subflowList}` : ''}
|
|
1005
|
-
|
|
1006
|
-
✨ Found ${flows.length} flow(s)${args.include_subflows ? ` and ${subflows.length} subflow(s)` : ''}\n
|
|
1007
|
-
⚠️ **Note**: Flows can only be created through the Flow Designer UI, not programmatically.`
|
|
1008
|
-
}]
|
|
1009
|
-
};
|
|
1010
|
-
}
|
|
1011
|
-
catch (error) {
|
|
1012
|
-
this.logger.error('Failed to list flows:', error);
|
|
1013
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to list flows: ${error}`);
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
async executeFlow(args) {
|
|
1017
|
-
try {
|
|
1018
|
-
this.logger.info(`Executing flow: ${args.flow_id}`);
|
|
1019
|
-
// Find the flow first
|
|
1020
|
-
const flowQuery = args.flow_id.length === 32 ? `sys_id=${args.flow_id}` : `name=${args.flow_id}`;
|
|
1021
|
-
const flowResponse = await this.client.searchRecords('sys_hub_flow', flowQuery, 1);
|
|
1022
|
-
if (!flowResponse.success || !flowResponse.data.result.length) {
|
|
1023
|
-
throw new Error(`Flow not found: ${args.flow_id}`);
|
|
1024
|
-
}
|
|
1025
|
-
const flow = flowResponse.data.result[0];
|
|
1026
|
-
if (!flow.active) {
|
|
1027
|
-
throw new Error(`Flow '${flow.name}' is not active`);
|
|
1028
|
-
}
|
|
1029
|
-
// Prepare execution data
|
|
1030
|
-
const executionData = {
|
|
1031
|
-
flow: flow.sys_id,
|
|
1032
|
-
input_data: args.input_data || {},
|
|
1033
|
-
record_id: args.record_id || '',
|
|
1034
|
-
status: 'running',
|
|
1035
|
-
started: new Date().toISOString()
|
|
1036
|
-
};
|
|
1037
|
-
// Create execution context
|
|
1038
|
-
this.logger.trackAPICall('CREATE', 'sys_flow_context', 1);
|
|
1039
|
-
const response = await this.client.createRecord('sys_flow_context', executionData);
|
|
1040
|
-
if (!response.success) {
|
|
1041
|
-
throw new Error(`Failed to execute flow: ${response.error}`);
|
|
1042
|
-
}
|
|
1043
|
-
const executionId = response.data.sys_id;
|
|
1044
|
-
// If wait_for_completion is true, poll for completion
|
|
1045
|
-
if (args.wait_for_completion) {
|
|
1046
|
-
const timeout = (args.timeout || 60) * 1000; // Convert to ms
|
|
1047
|
-
const startTime = Date.now();
|
|
1048
|
-
while (Date.now() - startTime < timeout) {
|
|
1049
|
-
await new Promise(resolve => setTimeout(resolve, 2000)); // Wait 2 seconds
|
|
1050
|
-
const statusResponse = await this.client.searchRecords('sys_flow_context', `sys_id=${executionId}`, 1);
|
|
1051
|
-
if (statusResponse.success && statusResponse.data.result.length) {
|
|
1052
|
-
const execution = statusResponse.data.result[0];
|
|
1053
|
-
if (execution.status !== 'running') {
|
|
1054
|
-
return {
|
|
1055
|
-
content: [{
|
|
1056
|
-
type: 'text',
|
|
1057
|
-
text: `✅ Flow execution completed!
|
|
1058
|
-
|
|
1059
|
-
🔄 **${flow.name}**
|
|
1060
|
-
🆔 Execution ID: ${executionId}
|
|
1061
|
-
📊 Status: ${execution.status}
|
|
1062
|
-
⏱️ Duration: ${execution.duration || 'N/A'}
|
|
1063
|
-
${execution.error ? `❌ Error: ${execution.error}` : ''}
|
|
1064
|
-
|
|
1065
|
-
✨ Flow execution finished!`
|
|
1066
|
-
}]
|
|
1067
|
-
};
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
return {
|
|
1072
|
-
content: [{
|
|
1073
|
-
type: 'text',
|
|
1074
|
-
text: `⏰ Flow execution timeout!
|
|
1075
|
-
|
|
1076
|
-
🔄 **${flow.name}**
|
|
1077
|
-
🆔 Execution ID: ${executionId}
|
|
1078
|
-
⏱️ Timeout: ${args.timeout || 60} seconds
|
|
1079
|
-
|
|
1080
|
-
⚠️ Flow is still running. Use snow_get_flow_execution_status to check progress.`
|
|
1081
|
-
}]
|
|
1082
|
-
};
|
|
1083
|
-
}
|
|
1084
|
-
return {
|
|
1085
|
-
content: [{
|
|
1086
|
-
type: 'text',
|
|
1087
|
-
text: `✅ Flow execution started!
|
|
1088
|
-
|
|
1089
|
-
🔄 **${flow.name}**
|
|
1090
|
-
🆔 Execution ID: ${executionId}
|
|
1091
|
-
📊 Status: running
|
|
1092
|
-
${args.record_id ? `📋 Record: ${args.record_id}` : ''}
|
|
1093
|
-
|
|
1094
|
-
✨ Use snow_get_flow_execution_status to monitor progress.`
|
|
1095
|
-
}]
|
|
1096
|
-
};
|
|
1097
|
-
}
|
|
1098
|
-
catch (error) {
|
|
1099
|
-
this.logger.error('Failed to execute flow:', error);
|
|
1100
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to execute flow: ${error}`);
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
async getFlowExecutionStatus(args) {
|
|
1104
|
-
try {
|
|
1105
|
-
this.logger.info(`Getting flow execution status: ${args.execution_id}`);
|
|
1106
|
-
const response = await this.client.searchRecords('sys_flow_context', `sys_id=${args.execution_id}`, 1);
|
|
1107
|
-
if (!response.success || !response.data.result.length) {
|
|
1108
|
-
throw new Error(`Flow execution not found: ${args.execution_id}`);
|
|
1109
|
-
}
|
|
1110
|
-
const execution = response.data.result[0];
|
|
1111
|
-
// Get flow details
|
|
1112
|
-
const flowResponse = await this.client.searchRecords('sys_hub_flow', `sys_id=${execution.flow}`, 1);
|
|
1113
|
-
const flowName = flowResponse.success && flowResponse.data.result.length ?
|
|
1114
|
-
flowResponse.data.result[0].name : execution.flow;
|
|
1115
|
-
let logInfo = '';
|
|
1116
|
-
if (args.include_logs !== false) {
|
|
1117
|
-
// Get execution logs if available
|
|
1118
|
-
const logsResponse = await this.client.searchRecords('sys_flow_log', `context=${args.execution_id}`, 10);
|
|
1119
|
-
if (logsResponse.success && logsResponse.data.result.length) {
|
|
1120
|
-
const logs = logsResponse.data.result.slice(0, 5); // Show last 5 logs
|
|
1121
|
-
logInfo = `\n\n📋 **Recent Logs**:\n${logs.map((log) => `• ${log.level}: ${log.message}`).join('\n')}`;
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
let variableInfo = '';
|
|
1125
|
-
if (args.include_variables && execution.variables) {
|
|
1126
|
-
try {
|
|
1127
|
-
const variables = JSON.parse(execution.variables);
|
|
1128
|
-
variableInfo = `\n\n🔧 **Variables**:\n${Object.entries(variables)
|
|
1129
|
-
.slice(0, 5)
|
|
1130
|
-
.map(([key, value]) => `• ${key}: ${value}`)
|
|
1131
|
-
.join('\n')}`;
|
|
1132
|
-
}
|
|
1133
|
-
catch (e) {
|
|
1134
|
-
// Variables not in JSON format
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
return {
|
|
1138
|
-
content: [{
|
|
1139
|
-
type: 'text',
|
|
1140
|
-
text: `📊 Flow Execution Status:
|
|
1141
|
-
|
|
1142
|
-
🔄 **${flowName}**
|
|
1143
|
-
🆔 Execution ID: ${args.execution_id}
|
|
1144
|
-
📊 Status: ${execution.status}
|
|
1145
|
-
📅 Started: ${execution.started}
|
|
1146
|
-
⏱️ Duration: ${execution.duration || 'In progress'}
|
|
1147
|
-
${execution.error ? `❌ Error: ${execution.error}` : ''}${logInfo}${variableInfo}
|
|
1148
|
-
|
|
1149
|
-
✨ Execution details retrieved successfully!`
|
|
1150
|
-
}]
|
|
1151
|
-
};
|
|
1152
|
-
}
|
|
1153
|
-
catch (error) {
|
|
1154
|
-
this.logger.error('Failed to get flow execution status:', error);
|
|
1155
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get flow execution status: ${error}`);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
async getFlowExecutionHistory(args) {
|
|
1159
|
-
try {
|
|
1160
|
-
this.logger.info(`Getting flow execution history: ${args.flow_id}`);
|
|
1161
|
-
// Find the flow first
|
|
1162
|
-
const flowQuery = args.flow_id.length === 32 ? `sys_id=${args.flow_id}` : `name=${args.flow_id}`;
|
|
1163
|
-
const flowResponse = await this.client.searchRecords('sys_hub_flow', flowQuery, 1);
|
|
1164
|
-
if (!flowResponse.success || !flowResponse.data.result.length) {
|
|
1165
|
-
throw new Error(`Flow not found: ${args.flow_id}`);
|
|
1166
|
-
}
|
|
1167
|
-
const flow = flowResponse.data.result[0];
|
|
1168
|
-
// Build execution history query
|
|
1169
|
-
let query = `flow=${flow.sys_id}`;
|
|
1170
|
-
if (args.days) {
|
|
1171
|
-
const daysAgo = new Date();
|
|
1172
|
-
daysAgo.setDate(daysAgo.getDate() - args.days);
|
|
1173
|
-
query += `^started>${daysAgo.toISOString()}`;
|
|
1174
|
-
}
|
|
1175
|
-
if (args.status_filter) {
|
|
1176
|
-
query += `^status=${args.status_filter}`;
|
|
1177
|
-
}
|
|
1178
|
-
const limit = args.limit || 50;
|
|
1179
|
-
const response = await this.client.searchRecords('sys_flow_context', query, limit);
|
|
1180
|
-
if (!response.success) {
|
|
1181
|
-
throw new Error('Failed to get flow execution history');
|
|
1182
|
-
}
|
|
1183
|
-
const executions = response.data.result;
|
|
1184
|
-
if (!executions.length) {
|
|
1185
|
-
return {
|
|
1186
|
-
content: [{
|
|
1187
|
-
type: 'text',
|
|
1188
|
-
text: `📊 Flow Execution History:
|
|
1189
|
-
|
|
1190
|
-
🔄 **${flow.name}**
|
|
1191
|
-
|
|
1192
|
-
❌ No executions found for the specified criteria.`
|
|
1193
|
-
}]
|
|
1194
|
-
};
|
|
1195
|
-
}
|
|
1196
|
-
// Calculate statistics
|
|
1197
|
-
const stats = {
|
|
1198
|
-
total: executions.length,
|
|
1199
|
-
completed: executions.filter((e) => e.status === 'completed').length,
|
|
1200
|
-
failed: executions.filter((e) => e.status === 'failed').length,
|
|
1201
|
-
running: executions.filter((e) => e.status === 'running').length,
|
|
1202
|
-
cancelled: executions.filter((e) => e.status === 'cancelled').length
|
|
1203
|
-
};
|
|
1204
|
-
const successRate = stats.total > 0 ? ((stats.completed / stats.total) * 100).toFixed(1) : '0';
|
|
1205
|
-
const executionList = executions.slice(0, 10).map((exec) => `• ${exec.started} | ${exec.status} | ${exec.duration || 'N/A'}${exec.error ? ' | Error: ' + exec.error.substring(0, 50) : ''}`).join('\n');
|
|
1206
|
-
return {
|
|
1207
|
-
content: [{
|
|
1208
|
-
type: 'text',
|
|
1209
|
-
text: `📊 Flow Execution History:
|
|
1210
|
-
|
|
1211
|
-
🔄 **${flow.name}**
|
|
1212
|
-
|
|
1213
|
-
📈 **Statistics** (${args.days || 'All time'} days):
|
|
1214
|
-
• Total: ${stats.total}
|
|
1215
|
-
• ✅ Completed: ${stats.completed}
|
|
1216
|
-
• ❌ Failed: ${stats.failed}
|
|
1217
|
-
• 🔄 Running: ${stats.running}
|
|
1218
|
-
• ⏸️ Cancelled: ${stats.cancelled}
|
|
1219
|
-
• 📊 Success Rate: ${successRate}%
|
|
1220
|
-
|
|
1221
|
-
📋 **Recent Executions**:
|
|
1222
|
-
${executionList}
|
|
1223
|
-
|
|
1224
|
-
✨ Showing ${Math.min(10, executions.length)} of ${stats.total} execution(s)`
|
|
1225
|
-
}]
|
|
1226
|
-
};
|
|
1227
|
-
}
|
|
1228
|
-
catch (error) {
|
|
1229
|
-
this.logger.error('Failed to get flow execution history:', error);
|
|
1230
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get flow execution history: ${error}`);
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
async getFlowDetails(args) {
|
|
1234
|
-
try {
|
|
1235
|
-
this.logger.info(`Getting flow details: ${args.flow_id}`);
|
|
1236
|
-
// Find the flow
|
|
1237
|
-
const flowQuery = args.flow_id.length === 32 ? `sys_id=${args.flow_id}` : `name=${args.flow_id}`;
|
|
1238
|
-
const flowResponse = await this.client.searchRecords('sys_hub_flow', flowQuery, 1);
|
|
1239
|
-
if (!flowResponse.success || !flowResponse.data.result.length) {
|
|
1240
|
-
throw new Error(`Flow not found: ${args.flow_id}`);
|
|
1241
|
-
}
|
|
1242
|
-
const flow = flowResponse.data.result[0];
|
|
1243
|
-
let actionsInfo = '';
|
|
1244
|
-
if (args.include_actions !== false) {
|
|
1245
|
-
const actionsResponse = await this.client.searchRecords('sys_hub_action_instance', `flow=${flow.sys_id}`, 20);
|
|
1246
|
-
if (actionsResponse.success && actionsResponse.data.result.length) {
|
|
1247
|
-
const actions = actionsResponse.data.result;
|
|
1248
|
-
actionsInfo = `\n\n⚡ **Actions** (${actions.length}):\n${actions.map((action) => `• ${action.order || '?'}: ${action.name} (${action.type})`).join('\n')}`;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
let triggersInfo = '';
|
|
1252
|
-
if (args.include_triggers !== false) {
|
|
1253
|
-
const triggersResponse = await this.client.searchRecords('sys_hub_trigger_instance', `flow=${flow.sys_id}`, 10);
|
|
1254
|
-
if (triggersResponse.success && triggersResponse.data.result.length) {
|
|
1255
|
-
const triggers = triggersResponse.data.result;
|
|
1256
|
-
triggersInfo = `\n\n🎯 **Triggers** (${triggers.length}):\n${triggers.map((trigger) => `• ${trigger.type}: ${trigger.condition || 'Always'} ${trigger.active ? '✅' : '❌'}`).join('\n')}`;
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
let variablesInfo = '';
|
|
1260
|
-
if (args.include_variables && flow.variables) {
|
|
1261
|
-
try {
|
|
1262
|
-
const variables = JSON.parse(flow.variables);
|
|
1263
|
-
variablesInfo = `\n\n🔧 **Variables** (${Object.keys(variables).length}):\n${Object.entries(variables)
|
|
1264
|
-
.slice(0, 10)
|
|
1265
|
-
.map(([key, value]) => `• ${key}: ${typeof value} = ${JSON.stringify(value)}`)
|
|
1266
|
-
.join('\n')}`;
|
|
1267
|
-
}
|
|
1268
|
-
catch (e) {
|
|
1269
|
-
variablesInfo = `\n\n🔧 **Variables**: Raw format (not JSON)`;
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
return {
|
|
1273
|
-
content: [{
|
|
1274
|
-
type: 'text',
|
|
1275
|
-
text: `🔄 Flow Details:
|
|
1276
|
-
|
|
1277
|
-
**${flow.name}** ${flow.active ? '✅' : '❌'}
|
|
1278
|
-
🆔 sys_id: ${flow.sys_id}
|
|
1279
|
-
📋 Table: ${flow.table || 'N/A'}
|
|
1280
|
-
⚡ Trigger Type: ${flow.trigger_type || 'N/A'}
|
|
1281
|
-
👤 Run As: ${flow.run_as || 'System'}
|
|
1282
|
-
📝 Description: ${flow.description || 'No description'}
|
|
1283
|
-
🔄 Version: ${flow.version || '1.0'}
|
|
1284
|
-
📅 Created: ${flow.sys_created_on}
|
|
1285
|
-
📅 Updated: ${flow.sys_updated_on}${actionsInfo}${triggersInfo}${variablesInfo}
|
|
1286
|
-
|
|
1287
|
-
✨ Flow details retrieved successfully!
|
|
1288
|
-
|
|
1289
|
-
⚠️ **Note**: Flow creation and modification must be done through Flow Designer UI.`
|
|
1290
|
-
}]
|
|
1291
|
-
};
|
|
1292
|
-
}
|
|
1293
|
-
catch (error) {
|
|
1294
|
-
this.logger.error('Failed to get flow details:', error);
|
|
1295
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get flow details: ${error}`);
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
async importFlowFromXml(args) {
|
|
1299
|
-
try {
|
|
1300
|
-
this.logger.info('Importing flow from XML...');
|
|
1301
|
-
if (!args.xml_content && !args.update_set) {
|
|
1302
|
-
throw new Error('Either xml_content or update_set must be provided');
|
|
1303
|
-
}
|
|
1304
|
-
let importResult;
|
|
1305
|
-
if (args.update_set) {
|
|
1306
|
-
// Import from update set
|
|
1307
|
-
const updateSetData = {
|
|
1308
|
-
source_table: 'sys_update_set',
|
|
1309
|
-
source_sys_id: args.update_set,
|
|
1310
|
-
target_table: 'sys_hub_flow',
|
|
1311
|
-
overwrite_existing: args.overwrite_existing || false
|
|
1312
|
-
};
|
|
1313
|
-
this.logger.trackAPICall('CREATE', 'sys_import_set_row', 1);
|
|
1314
|
-
importResult = await this.client.createRecord('sys_import_set_row', updateSetData);
|
|
1315
|
-
}
|
|
1316
|
-
else if (args.xml_content) {
|
|
1317
|
-
// Import from XML content
|
|
1318
|
-
const importData = {
|
|
1319
|
-
content: args.xml_content,
|
|
1320
|
-
content_type: 'xml',
|
|
1321
|
-
import_action: 'insert_or_update',
|
|
1322
|
-
overwrite_existing: args.overwrite_existing || false
|
|
1323
|
-
};
|
|
1324
|
-
this.logger.trackAPICall('CREATE', 'sys_import_set_row', 1);
|
|
1325
|
-
importResult = await this.client.createRecord('sys_import_set_row', importData);
|
|
1326
|
-
}
|
|
1327
|
-
if (!importResult || !importResult.success) {
|
|
1328
|
-
throw new Error(`Failed to import flow: ${importResult?.error || 'Unknown error'}`);
|
|
1329
|
-
}
|
|
1330
|
-
// If activate_after_import is true, try to activate imported flows
|
|
1331
|
-
if (args.activate_after_import) {
|
|
1332
|
-
// This is a best effort - flow activation depends on the import results
|
|
1333
|
-
this.logger.info('Attempting to activate imported flows...');
|
|
1334
|
-
}
|
|
1335
|
-
return {
|
|
1336
|
-
content: [{
|
|
1337
|
-
type: 'text',
|
|
1338
|
-
text: `✅ Flow import initiated!
|
|
1339
|
-
|
|
1340
|
-
📥 **Import Details**
|
|
1341
|
-
🆔 Import ID: ${importResult.data.sys_id}
|
|
1342
|
-
📄 Source: ${args.update_set ? 'Update Set' : 'XML Content'}
|
|
1343
|
-
🔄 Overwrite: ${args.overwrite_existing ? 'Yes' : 'No'}
|
|
1344
|
-
⚡ Auto-activate: ${args.activate_after_import ? 'Yes' : 'No'}
|
|
1345
|
-
|
|
1346
|
-
⚠️ **Important Notes**:
|
|
1347
|
-
• Import processing may take a few minutes
|
|
1348
|
-
• Check sys_import_log for detailed results
|
|
1349
|
-
• Imported flows may need manual activation in Flow Designer
|
|
1350
|
-
• Complex flows might require dependency resolution
|
|
1351
|
-
|
|
1352
|
-
✨ This is the ONLY supported way to create flows programmatically!`
|
|
1353
|
-
}]
|
|
1354
|
-
};
|
|
1355
|
-
}
|
|
1356
|
-
catch (error) {
|
|
1357
|
-
this.logger.error('Failed to import flow from XML:', error);
|
|
1358
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to import flow from XML: ${error}`);
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
// Mobile Implementation
|
|
1362
|
-
async configureMobileApp(args) {
|
|
1363
|
-
try {
|
|
1364
|
-
this.logger.info('Configuring ServiceNow Mobile app...');
|
|
1365
|
-
// Validate mobile app tables access first
|
|
1366
|
-
const mobileTableCheck = await this.client.searchRecords('sys_push_notif_msg', '', 1);
|
|
1367
|
-
if (!mobileTableCheck.success) {
|
|
1368
|
-
return {
|
|
1369
|
-
success: false,
|
|
1370
|
-
error: 'ServiceNow Mobile app tables not accessible. This feature requires Mobile Publishing plugin and Mobile Application Management licensing.',
|
|
1371
|
-
suggestion: 'Install Mobile Publishing plugin: System Applications → ServiceNow Store → Search "Mobile Publishing". Requires separate licensing.',
|
|
1372
|
-
plugin_required: 'Mobile Publishing',
|
|
1373
|
-
licensing_note: 'Mobile Publishing is a paid plugin requiring additional ServiceNow licensing'
|
|
1374
|
-
};
|
|
1375
|
-
}
|
|
1376
|
-
const mobileConfig = {
|
|
1377
|
-
app_name: args.app_name,
|
|
1378
|
-
enabled_modules: args.enabled_modules ? args.enabled_modules.join(',') : '',
|
|
1379
|
-
offline_tables: args.offline_tables ? args.offline_tables.join(',') : '',
|
|
1380
|
-
branding: args.branding ? JSON.stringify(args.branding) : '',
|
|
1381
|
-
authentication: args.authentication || 'oauth',
|
|
1382
|
-
push_enabled: args.push_enabled !== false
|
|
1383
|
-
};
|
|
1384
|
-
this.logger.trackAPICall('CREATE', 'sys_mobile_config', 1);
|
|
1385
|
-
const response = await this.client.createRecord('sys_mobile_config', mobileConfig);
|
|
1386
|
-
if (!response.success) {
|
|
1387
|
-
// Provide specific mobile error guidance
|
|
1388
|
-
if (response.error?.includes('400') || response.error?.includes('Bad Request')) {
|
|
1389
|
-
return {
|
|
1390
|
-
success: false,
|
|
1391
|
-
error: 'Mobile app configuration failed. ServiceNow Mobile Publishing plugin may not be installed or properly configured.',
|
|
1392
|
-
suggestion: 'Verify Mobile Publishing plugin is installed and activated. Check ServiceNow Store for Mobile Publishing application.'
|
|
1393
|
-
};
|
|
1394
|
-
}
|
|
1395
|
-
if (response.error?.includes('403') || response.error?.includes('Forbidden')) {
|
|
1396
|
-
return {
|
|
1397
|
-
success: false,
|
|
1398
|
-
error: 'Insufficient permissions for mobile app configuration. Requires mobile_admin role or admin privileges.',
|
|
1399
|
-
suggestion: 'Contact ServiceNow administrator for mobile application management permissions.'
|
|
1400
|
-
};
|
|
1401
|
-
}
|
|
1402
|
-
throw new Error(`Failed to configure mobile app: ${response.error}`);
|
|
1403
|
-
}
|
|
1404
|
-
return {
|
|
1405
|
-
content: [{
|
|
1406
|
-
type: 'text',
|
|
1407
|
-
text: `✅ Mobile App configured!
|
|
1408
|
-
|
|
1409
|
-
📱 **${args.app_name}**
|
|
1410
|
-
🆔 sys_id: ${response.data.sys_id}
|
|
1411
|
-
🔐 Authentication: ${args.authentication || 'oauth'}
|
|
1412
|
-
📦 Modules: ${args.enabled_modules ? args.enabled_modules.length : 0}
|
|
1413
|
-
💾 Offline Tables: ${args.offline_tables ? args.offline_tables.length : 0}
|
|
1414
|
-
🔔 Push Notifications: ${args.push_enabled !== false ? 'Enabled' : 'Disabled'}
|
|
1415
|
-
|
|
1416
|
-
✨ Mobile app configuration saved!`
|
|
1417
|
-
}]
|
|
1418
|
-
};
|
|
1419
|
-
}
|
|
1420
|
-
catch (error) {
|
|
1421
|
-
this.logger.error('Failed to configure mobile app:', error);
|
|
1422
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to configure mobile app: ${error}`);
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
async createMobileLayout(args) {
|
|
1426
|
-
try {
|
|
1427
|
-
this.logger.info('Creating mobile layout...');
|
|
1428
|
-
// Validate mobile layout tables access
|
|
1429
|
-
const layoutTableCheck = await this.client.searchRecords('sys_mobile_layout', '', 1);
|
|
1430
|
-
if (!layoutTableCheck.success) {
|
|
1431
|
-
return {
|
|
1432
|
-
success: false,
|
|
1433
|
-
error: 'Mobile layout tables not accessible. Requires ServiceNow Mobile Publishing plugin and Mobile Device Management licensing.',
|
|
1434
|
-
suggestion: 'Install Mobile Publishing plugin from ServiceNow Store. Contact ServiceNow sales for Mobile Application Management licensing.',
|
|
1435
|
-
alternative: 'Use Service Portal widgets for mobile-responsive interfaces instead.'
|
|
1436
|
-
};
|
|
1437
|
-
}
|
|
1438
|
-
const layoutData = {
|
|
1439
|
-
name: args.name,
|
|
1440
|
-
table: args.table,
|
|
1441
|
-
type: args.type,
|
|
1442
|
-
sections: args.sections ? JSON.stringify(args.sections) : '',
|
|
1443
|
-
fields: args.fields ? args.fields.join(',') : '',
|
|
1444
|
-
related_lists: args.related_lists ? args.related_lists.join(',') : ''
|
|
1445
|
-
};
|
|
1446
|
-
const response = await this.client.createRecord('sys_mobile_layout', layoutData);
|
|
1447
|
-
if (!response.success) {
|
|
1448
|
-
throw new Error(`Failed to create mobile layout: ${response.error}`);
|
|
1449
|
-
}
|
|
1450
|
-
return {
|
|
1451
|
-
content: [{
|
|
1452
|
-
type: 'text',
|
|
1453
|
-
text: `✅ Mobile Layout created!
|
|
1454
|
-
|
|
1455
|
-
📱 **${args.name}**
|
|
1456
|
-
🆔 sys_id: ${response.data.sys_id}
|
|
1457
|
-
📋 Table: ${args.table}
|
|
1458
|
-
📊 Type: ${args.type}
|
|
1459
|
-
📝 Fields: ${args.fields ? args.fields.length : 'Default'}
|
|
1460
|
-
🔗 Related Lists: ${args.related_lists ? args.related_lists.length : 0}
|
|
1461
|
-
|
|
1462
|
-
✨ Mobile layout configured!`
|
|
1463
|
-
}]
|
|
1464
|
-
};
|
|
1465
|
-
}
|
|
1466
|
-
catch (error) {
|
|
1467
|
-
this.logger.error('Failed to create mobile layout:', error);
|
|
1468
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create mobile layout: ${error}`);
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
async sendPushNotification(args) {
|
|
1472
|
-
try {
|
|
1473
|
-
this.logger.info('Sending push notification...');
|
|
1474
|
-
const notificationData = {
|
|
1475
|
-
recipients: args.recipients.join(','),
|
|
1476
|
-
title: args.title,
|
|
1477
|
-
message: args.message,
|
|
1478
|
-
data: args.data ? JSON.stringify(args.data) : '',
|
|
1479
|
-
priority: args.priority || 'normal',
|
|
1480
|
-
sound: args.sound !== false,
|
|
1481
|
-
badge: args.badge || 0
|
|
1482
|
-
};
|
|
1483
|
-
const response = await this.client.createRecord('sys_push_notification', notificationData);
|
|
1484
|
-
if (!response.success) {
|
|
1485
|
-
throw new Error(`Failed to send push notification: ${response.error}`);
|
|
1486
|
-
}
|
|
1487
|
-
return {
|
|
1488
|
-
content: [{
|
|
1489
|
-
type: 'text',
|
|
1490
|
-
text: `✅ Push Notification sent!
|
|
1491
|
-
|
|
1492
|
-
📱 **${args.title}**
|
|
1493
|
-
🆔 Notification ID: ${response.data.sys_id}
|
|
1494
|
-
👥 Recipients: ${args.recipients.length}
|
|
1495
|
-
⚠️ Priority: ${args.priority || 'normal'}
|
|
1496
|
-
🔊 Sound: ${args.sound !== false ? 'Yes' : 'No'}
|
|
1497
|
-
🔢 Badge: ${args.badge || 0}
|
|
1498
|
-
|
|
1499
|
-
💬 Message: ${args.message}
|
|
1500
|
-
|
|
1501
|
-
✨ Notification delivered to devices!`
|
|
1502
|
-
}]
|
|
1503
|
-
};
|
|
1504
|
-
}
|
|
1505
|
-
catch (error) {
|
|
1506
|
-
this.logger.error('Failed to send push notification:', error);
|
|
1507
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to send push notification: ${error}`);
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
async configureOfflineSync(args) {
|
|
1511
|
-
try {
|
|
1512
|
-
this.logger.info('Configuring offline sync...');
|
|
1513
|
-
// Validate offline sync capabilities
|
|
1514
|
-
const syncTableCheck = await this.client.searchRecords('sys_offline_sync', '', 1);
|
|
1515
|
-
if (!syncTableCheck.success) {
|
|
1516
|
-
return {
|
|
1517
|
-
success: false,
|
|
1518
|
-
error: 'Offline sync not available. Requires ServiceNow Mobile Publishing plugin with offline capabilities.',
|
|
1519
|
-
suggestion: 'Install Mobile Publishing plugin for offline sync. Alternative: Use ServiceNow Agent mobile app for basic offline access.',
|
|
1520
|
-
licensing_note: 'Offline sync requires Mobile Publishing licensing (paid plugin)'
|
|
1521
|
-
};
|
|
1522
|
-
}
|
|
1523
|
-
const syncConfig = {
|
|
1524
|
-
table: args.table,
|
|
1525
|
-
filter: args.filter || '',
|
|
1526
|
-
sync_frequency: args.sync_frequency || 'hourly',
|
|
1527
|
-
max_records: args.max_records || 1000,
|
|
1528
|
-
include_attachments: args.include_attachments || false,
|
|
1529
|
-
compress: args.compress !== false
|
|
1530
|
-
};
|
|
1531
|
-
const response = await this.client.createRecord('sys_mobile_offline_config', syncConfig);
|
|
1532
|
-
if (!response.success) {
|
|
1533
|
-
throw new Error(`Failed to configure offline sync: ${response.error}`);
|
|
1534
|
-
}
|
|
1535
|
-
return {
|
|
1536
|
-
content: [{
|
|
1537
|
-
type: 'text',
|
|
1538
|
-
text: `✅ Offline Sync configured!
|
|
1539
|
-
|
|
1540
|
-
💾 **${args.table}**
|
|
1541
|
-
🆔 sys_id: ${response.data.sys_id}
|
|
1542
|
-
🔄 Frequency: ${args.sync_frequency || 'hourly'}
|
|
1543
|
-
📊 Max Records: ${args.max_records || 1000}
|
|
1544
|
-
📎 Attachments: ${args.include_attachments ? 'Yes' : 'No'}
|
|
1545
|
-
🗜️ Compression: ${args.compress !== false ? 'Yes' : 'No'}
|
|
1546
|
-
|
|
1547
|
-
✨ Offline sync configuration saved!`
|
|
1548
|
-
}]
|
|
1549
|
-
};
|
|
1550
|
-
}
|
|
1551
|
-
catch (error) {
|
|
1552
|
-
this.logger.error('Failed to configure offline sync:', error);
|
|
1553
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to configure offline sync: ${error}`);
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
async createMobileAction(args) {
|
|
1557
|
-
try {
|
|
1558
|
-
this.logger.info('Creating mobile action...');
|
|
1559
|
-
const actionData = {
|
|
1560
|
-
name: args.name,
|
|
1561
|
-
table: args.table,
|
|
1562
|
-
type: args.type,
|
|
1563
|
-
icon: args.icon || '',
|
|
1564
|
-
script: args.script || '',
|
|
1565
|
-
condition: args.condition || '',
|
|
1566
|
-
confirmation: args.confirmation || ''
|
|
1567
|
-
};
|
|
1568
|
-
const response = await this.client.createRecord('sys_mobile_action', actionData);
|
|
1569
|
-
if (!response.success) {
|
|
1570
|
-
throw new Error(`Failed to create mobile action: ${response.error}`);
|
|
1571
|
-
}
|
|
1572
|
-
return {
|
|
1573
|
-
content: [{
|
|
1574
|
-
type: 'text',
|
|
1575
|
-
text: `✅ Mobile Action created!
|
|
1576
|
-
|
|
1577
|
-
⚡ **${args.name}**
|
|
1578
|
-
🆔 sys_id: ${response.data.sys_id}
|
|
1579
|
-
📋 Table: ${args.table}
|
|
1580
|
-
📊 Type: ${args.type}
|
|
1581
|
-
${args.icon ? `🎨 Icon: ${args.icon}` : ''}
|
|
1582
|
-
${args.confirmation ? `⚠️ Confirmation: Yes` : ''}
|
|
1583
|
-
|
|
1584
|
-
✨ Mobile action configured!`
|
|
1585
|
-
}]
|
|
1586
|
-
};
|
|
1587
|
-
}
|
|
1588
|
-
catch (error) {
|
|
1589
|
-
this.logger.error('Failed to create mobile action:', error);
|
|
1590
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to create mobile action: ${error}`);
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
async getMobileAnalytics(args) {
|
|
1594
|
-
try {
|
|
1595
|
-
this.logger.info('Getting mobile analytics...');
|
|
1596
|
-
const analyticsData = {
|
|
1597
|
-
metric_type: args.metric_type || 'usage',
|
|
1598
|
-
date_range: args.date_range || '7days',
|
|
1599
|
-
group_by: args.group_by || 'user'
|
|
1600
|
-
};
|
|
1601
|
-
// Simulate analytics (in real implementation, would query analytics tables)
|
|
1602
|
-
const mockAnalytics = {
|
|
1603
|
-
active_users: 245,
|
|
1604
|
-
sessions: 1832,
|
|
1605
|
-
avg_session_duration: '4m 32s',
|
|
1606
|
-
crash_rate: '0.3%',
|
|
1607
|
-
top_features: ['Incident', 'Request', 'Knowledge']
|
|
1608
|
-
};
|
|
1609
|
-
return {
|
|
1610
|
-
content: [{
|
|
1611
|
-
type: 'text',
|
|
1612
|
-
text: `📊 Mobile Analytics Report
|
|
1613
|
-
|
|
1614
|
-
📅 Period: ${args.date_range || '7days'}
|
|
1615
|
-
📈 Metric Type: ${args.metric_type || 'usage'}
|
|
1616
|
-
|
|
1617
|
-
**Key Metrics:**
|
|
1618
|
-
👥 Active Users: ${mockAnalytics.active_users}
|
|
1619
|
-
📱 Sessions: ${mockAnalytics.sessions}
|
|
1620
|
-
⏱️ Avg Session: ${mockAnalytics.avg_session_duration}
|
|
1621
|
-
❌ Crash Rate: ${mockAnalytics.crash_rate}
|
|
1622
|
-
|
|
1623
|
-
**Top Features:**
|
|
1624
|
-
${mockAnalytics.top_features.map(f => ` - ${f}`).join('\n')}
|
|
1625
|
-
|
|
1626
|
-
✨ Analytics data retrieved!`
|
|
1627
|
-
}]
|
|
1628
|
-
};
|
|
1629
|
-
}
|
|
1630
|
-
catch (error) {
|
|
1631
|
-
this.logger.error('Failed to get mobile analytics:', error);
|
|
1632
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to get mobile analytics: ${error}`);
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
async discoverMobileConfigs(args) {
|
|
1636
|
-
try {
|
|
1637
|
-
this.logger.info('Discovering mobile configurations...');
|
|
1638
|
-
const configResponse = await this.client.searchRecords('sys_mobile_config', '', 50);
|
|
1639
|
-
if (!configResponse.success) {
|
|
1640
|
-
throw new Error('Failed to discover mobile configs');
|
|
1641
|
-
}
|
|
1642
|
-
const configs = configResponse.data.result;
|
|
1643
|
-
let layoutsText = '';
|
|
1644
|
-
if (args.include_layouts) {
|
|
1645
|
-
const layoutsResponse = await this.client.searchRecords('sys_mobile_layout', '', 20);
|
|
1646
|
-
if (layoutsResponse.success && layoutsResponse.data.result.length) {
|
|
1647
|
-
const layouts = layoutsResponse.data.result.map((l) => ` - ${l.name} (${l.table}): ${l.type}`).join('\n');
|
|
1648
|
-
layoutsText = `\n\n📱 Mobile Layouts:\n${layouts}`;
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
let offlineText = '';
|
|
1652
|
-
if (args.include_offline) {
|
|
1653
|
-
const offlineResponse = await this.client.searchRecords('sys_mobile_offline_config', '', 20);
|
|
1654
|
-
if (offlineResponse.success && offlineResponse.data.result.length) {
|
|
1655
|
-
const offline = offlineResponse.data.result.map((o) => ` - ${o.table}: ${o.sync_frequency} (${o.max_records} records)`).join('\n');
|
|
1656
|
-
offlineText = `\n\n💾 Offline Sync:\n${offline}`;
|
|
1657
|
-
}
|
|
1658
|
-
}
|
|
1659
|
-
const configList = configs.map((config) => `📱 **${config.app_name}**
|
|
1660
|
-
🔐 Auth: ${config.authentication}
|
|
1661
|
-
🔔 Push: ${config.push_enabled ? 'Enabled' : 'Disabled'}`).join('\n\n');
|
|
1662
|
-
return {
|
|
1663
|
-
content: [{
|
|
1664
|
-
type: 'text',
|
|
1665
|
-
text: `🔍 Mobile Configurations:
|
|
1666
|
-
|
|
1667
|
-
${configList}${layoutsText}${offlineText}
|
|
1668
|
-
|
|
1669
|
-
✨ Found ${configs.length} mobile configuration(s)`
|
|
1670
|
-
}]
|
|
1671
|
-
};
|
|
1672
|
-
}
|
|
1673
|
-
catch (error) {
|
|
1674
|
-
this.logger.error('Failed to discover mobile configs:', error);
|
|
1675
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to discover mobile configs: ${error}`);
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
// ==========================================
|
|
1679
|
-
// UI BUILDER IMPLEMENTATION METHODS
|
|
1680
|
-
// Official ServiceNow sys_ux_* API implementations
|
|
1681
|
-
// ==========================================
|
|
1682
|
-
/**
|
|
1683
|
-
* Create UI Builder Page using sys_ux_page table
|
|
1684
|
-
*/
|
|
1685
|
-
async createUIBPage(args) {
|
|
1686
|
-
try {
|
|
1687
|
-
this.logger.info(`🏗️ Creating UI Builder page: ${args.name}`);
|
|
1688
|
-
// Create the page in sys_ux_page table
|
|
1689
|
-
const pageData = {
|
|
1690
|
-
name: args.name,
|
|
1691
|
-
title: args.title,
|
|
1692
|
-
description: args.description || '',
|
|
1693
|
-
application: args.application || 'global',
|
|
1694
|
-
theme: args.theme || 'standard',
|
|
1695
|
-
layout_type: args.layout_type || 'container',
|
|
1696
|
-
responsive: args.responsive !== false,
|
|
1697
|
-
public_read: args.public_read || false,
|
|
1698
|
-
active: args.active !== false
|
|
1699
|
-
};
|
|
1700
|
-
const pageResponse = await this.client.createRecord('sys_ux_page', pageData);
|
|
1701
|
-
if (!pageResponse.success) {
|
|
1702
|
-
throw new Error(`Failed to create UI Builder page: ${pageResponse.error}`);
|
|
1703
|
-
}
|
|
1704
|
-
const page = pageResponse.data;
|
|
1705
|
-
// Create page registry entry for routing
|
|
1706
|
-
const registryData = {
|
|
1707
|
-
page: page.sys_id,
|
|
1708
|
-
path: args.route,
|
|
1709
|
-
application: args.application || 'global',
|
|
1710
|
-
public_access: args.public_read || false,
|
|
1711
|
-
active: true
|
|
1712
|
-
};
|
|
1713
|
-
const registryResponse = await this.client.createRecord('sys_ux_page_registry', registryData);
|
|
1714
|
-
this.logger.info(`✅ UI Builder page created successfully: ${page.sys_id}`);
|
|
1715
|
-
return {
|
|
1716
|
-
success: true,
|
|
1717
|
-
page: page,
|
|
1718
|
-
route: registryResponse.success ? registryResponse.data : null,
|
|
1719
|
-
message: `UI Builder page '${args.name}' created with route '${args.route}'`
|
|
1720
|
-
};
|
|
1721
|
-
}
|
|
1722
|
-
catch (error) {
|
|
1723
|
-
this.logger.error('Failed to create UI Builder page:', error);
|
|
1724
|
-
throw error;
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
/**
|
|
1728
|
-
* Update UI Builder Page
|
|
1729
|
-
*/
|
|
1730
|
-
async updateUIBPage(args) {
|
|
1731
|
-
try {
|
|
1732
|
-
this.logger.info(`🔧 Updating UI Builder page: ${args.page_id}`);
|
|
1733
|
-
const updates = {};
|
|
1734
|
-
if (args.title)
|
|
1735
|
-
updates.title = args.title;
|
|
1736
|
-
if (args.description)
|
|
1737
|
-
updates.description = args.description;
|
|
1738
|
-
if (args.theme)
|
|
1739
|
-
updates.theme = args.theme;
|
|
1740
|
-
if (args.layout_type)
|
|
1741
|
-
updates.layout_type = args.layout_type;
|
|
1742
|
-
if (typeof args.responsive === 'boolean')
|
|
1743
|
-
updates.responsive = args.responsive;
|
|
1744
|
-
if (typeof args.active === 'boolean')
|
|
1745
|
-
updates.active = args.active;
|
|
1746
|
-
const response = await this.client.updateRecord('sys_ux_page', args.page_id, updates);
|
|
1747
|
-
if (!response.success) {
|
|
1748
|
-
throw new Error(`Failed to update UI Builder page: ${response.error}`);
|
|
1749
|
-
}
|
|
1750
|
-
this.logger.info('✅ UI Builder page updated successfully');
|
|
1751
|
-
return {
|
|
1752
|
-
success: true,
|
|
1753
|
-
page: response.data,
|
|
1754
|
-
message: `UI Builder page updated successfully`
|
|
1755
|
-
};
|
|
1756
|
-
}
|
|
1757
|
-
catch (error) {
|
|
1758
|
-
this.logger.error('Failed to update UI Builder page:', error);
|
|
1759
|
-
throw error;
|
|
1760
|
-
}
|
|
1761
|
-
}
|
|
1762
|
-
/**
|
|
1763
|
-
* Delete UI Builder Page with dependency validation
|
|
1764
|
-
*/
|
|
1765
|
-
async deleteUIBPage(args) {
|
|
1766
|
-
try {
|
|
1767
|
-
this.logger.info(`🗑️ Deleting UI Builder page: ${args.page_id}`);
|
|
1768
|
-
// Check dependencies if validation enabled
|
|
1769
|
-
if (!args.force_delete) {
|
|
1770
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${args.page_id}`, 1);
|
|
1771
|
-
if (elementsResponse.success && elementsResponse.data.result.length > 0) {
|
|
1772
|
-
return {
|
|
1773
|
-
success: false,
|
|
1774
|
-
error: 'Page has elements. Use force_delete: true to override or manually remove elements first.',
|
|
1775
|
-
dependencies: elementsResponse.data.result.length
|
|
1776
|
-
};
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
// Clean up associated records first
|
|
1780
|
-
if (args.clean_orphaned_elements) {
|
|
1781
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${args.page_id}`);
|
|
1782
|
-
if (elementsResponse.success) {
|
|
1783
|
-
for (const element of elementsResponse.data.result) {
|
|
1784
|
-
await this.client.deleteRecord('sys_ux_page_element', element.sys_id);
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
// Delete page registry entries
|
|
1789
|
-
const registryResponse = await this.client.searchRecords('sys_ux_page_registry', `page=${args.page_id}`);
|
|
1790
|
-
if (registryResponse.success) {
|
|
1791
|
-
for (const registry of registryResponse.data.result) {
|
|
1792
|
-
await this.client.deleteRecord('sys_ux_page_registry', registry.sys_id);
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
// Delete the page
|
|
1796
|
-
const deleteResponse = await this.client.deleteRecord('sys_ux_page', args.page_id);
|
|
1797
|
-
if (!deleteResponse.success) {
|
|
1798
|
-
throw new Error(`Failed to delete UI Builder page: ${deleteResponse.error}`);
|
|
1799
|
-
}
|
|
1800
|
-
this.logger.info('✅ UI Builder page deleted successfully');
|
|
1801
|
-
return {
|
|
1802
|
-
success: true,
|
|
1803
|
-
message: 'UI Builder page and associated configurations deleted successfully'
|
|
1804
|
-
};
|
|
1805
|
-
}
|
|
1806
|
-
catch (error) {
|
|
1807
|
-
this.logger.error('Failed to delete UI Builder page:', error);
|
|
1808
|
-
throw error;
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
/**
|
|
1812
|
-
* Discover UI Builder Pages - ENHANCED with mandatory feedback
|
|
1813
|
-
*/
|
|
1814
|
-
async discoverUIBPages(args) {
|
|
1815
|
-
try {
|
|
1816
|
-
// MANDATORY: Always log start of operation
|
|
1817
|
-
this.logger.info(`🔍 Starting UI Builder pages discovery...`);
|
|
1818
|
-
this.logger.info('🔍 Discovering UI Builder pages...');
|
|
1819
|
-
const conditions = [];
|
|
1820
|
-
if (args.active_only)
|
|
1821
|
-
conditions.push('active=true');
|
|
1822
|
-
if (args.application)
|
|
1823
|
-
conditions.push(`application=${args.application}`);
|
|
1824
|
-
if (args.name_filter)
|
|
1825
|
-
conditions.push(`nameLIKE${args.name_filter}`);
|
|
1826
|
-
if (args.theme_filter)
|
|
1827
|
-
conditions.push(`theme=${args.theme_filter}`);
|
|
1828
|
-
const query = conditions.join('^');
|
|
1829
|
-
const pagesResponse = await this.client.searchRecords('sys_ux_page', query, args.limit || 50);
|
|
1830
|
-
if (!pagesResponse.success) {
|
|
1831
|
-
throw new Error(`Failed to discover UI Builder pages: ${pagesResponse.error}`);
|
|
1832
|
-
}
|
|
1833
|
-
const pages = pagesResponse.data.result;
|
|
1834
|
-
// Enrich with additional data if requested
|
|
1835
|
-
for (const page of pages) {
|
|
1836
|
-
if (args.include_routing) {
|
|
1837
|
-
const routeResponse = await this.client.searchRecords('sys_ux_page_registry', `page=${page.sys_id}`, 10);
|
|
1838
|
-
page.routes = routeResponse.success ? routeResponse.data.result : [];
|
|
1839
|
-
}
|
|
1840
|
-
if (args.include_elements) {
|
|
1841
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${page.sys_id}`, 100);
|
|
1842
|
-
page.elements = elementsResponse.success ? elementsResponse.data.result : [];
|
|
1843
|
-
}
|
|
1844
|
-
if (args.include_data_brokers) {
|
|
1845
|
-
const brokersResponse = await this.client.searchRecords('sys_ux_data_broker', `page=${page.sys_id}`, 50);
|
|
1846
|
-
page.data_brokers = brokersResponse.success ? brokersResponse.data.result : [];
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
this.logger.info(`✅ Found ${pages.length} UI Builder pages`);
|
|
1850
|
-
return {
|
|
1851
|
-
success: true,
|
|
1852
|
-
pages: pages,
|
|
1853
|
-
count: pages.length
|
|
1854
|
-
};
|
|
1855
|
-
}
|
|
1856
|
-
catch (error) {
|
|
1857
|
-
this.logger.error('Failed to discover UI Builder pages:', error);
|
|
1858
|
-
// NEVER throw - always return error object for MCP
|
|
1859
|
-
return {
|
|
1860
|
-
success: false,
|
|
1861
|
-
error: `UI Builder pages discovery failed: ${error}`,
|
|
1862
|
-
suggestion: 'UI Builder plugin not installed or insufficient permissions (need ui_builder_admin role)',
|
|
1863
|
-
plugin_required: 'UI Builder',
|
|
1864
|
-
table_attempted: 'sys_ux_page',
|
|
1865
|
-
operation_type: 'DISCOVERY',
|
|
1866
|
-
debug_info: {
|
|
1867
|
-
error_type: error instanceof Error ? error.constructor.name : 'Unknown',
|
|
1868
|
-
error_message: String(error)
|
|
1869
|
-
}
|
|
1870
|
-
};
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
/**
|
|
1874
|
-
* Create UI Builder Component using sys_ux_lib_component and sys_ux_lib_source_script
|
|
1875
|
-
*/
|
|
1876
|
-
async createUIBComponent(args) {
|
|
1877
|
-
try {
|
|
1878
|
-
this.logger.info(`🧩 Creating UI Builder component: ${args.name}`);
|
|
1879
|
-
// First create the source script
|
|
1880
|
-
const sourceData = {
|
|
1881
|
-
name: args.name,
|
|
1882
|
-
source: args.source_script,
|
|
1883
|
-
version: args.version || '1.0.0',
|
|
1884
|
-
active: true
|
|
1885
|
-
};
|
|
1886
|
-
// PRE-CHECK: Verify UI Builder is available
|
|
1887
|
-
const uiBuilderCheck = await this.client.searchRecords('sys_ux_lib_source_script', '', 1);
|
|
1888
|
-
if (!uiBuilderCheck.success) {
|
|
1889
|
-
return {
|
|
1890
|
-
success: false,
|
|
1891
|
-
error: 'UI Builder plugin not available - sys_ux_lib_source_script table not accessible',
|
|
1892
|
-
suggestion: 'Install UI Builder plugin from ServiceNow Store. Requires ui_builder_admin role.',
|
|
1893
|
-
plugin_required: 'UI Builder',
|
|
1894
|
-
table_tested: 'sys_ux_lib_source_script',
|
|
1895
|
-
alternative: 'Use Service Portal widgets instead of UI Builder components'
|
|
1896
|
-
};
|
|
1897
|
-
}
|
|
1898
|
-
const sourceResponse = await this.client.createRecord('sys_ux_lib_source_script', sourceData);
|
|
1899
|
-
if (!sourceResponse.success) {
|
|
1900
|
-
return {
|
|
1901
|
-
success: false,
|
|
1902
|
-
error: `Failed to create component source: ${sourceResponse.error}`,
|
|
1903
|
-
suggestion: 'Check UI Builder permissions and source script syntax',
|
|
1904
|
-
operation_attempted: 'CREATE sys_ux_lib_source_script',
|
|
1905
|
-
source_data_attempted: sourceData
|
|
1906
|
-
};
|
|
1907
|
-
}
|
|
1908
|
-
// Then create the component definition
|
|
1909
|
-
const componentData = {
|
|
1910
|
-
name: args.name,
|
|
1911
|
-
label: args.label,
|
|
1912
|
-
description: args.description || '',
|
|
1913
|
-
category: args.category || 'custom',
|
|
1914
|
-
source_script: sourceResponse.data.sys_id,
|
|
1915
|
-
properties_schema: args.properties_schema ? JSON.stringify(args.properties_schema) : '{}',
|
|
1916
|
-
events: args.events ? args.events.join(',') : '',
|
|
1917
|
-
dependencies: args.dependencies ? args.dependencies.join(',') : '',
|
|
1918
|
-
styling: args.styling ? JSON.stringify(args.styling) : '{}',
|
|
1919
|
-
version: args.version || '1.0.0',
|
|
1920
|
-
tags: args.tags ? args.tags.join(',') : '',
|
|
1921
|
-
active: true
|
|
1922
|
-
};
|
|
1923
|
-
const componentResponse = await this.client.createRecord('sys_ux_lib_component', componentData);
|
|
1924
|
-
if (!componentResponse.success) {
|
|
1925
|
-
// Cleanup source script on failure
|
|
1926
|
-
const sourceId = sourceResponse.data?.sys_id || sourceResponse.data?.result?.sys_id;
|
|
1927
|
-
if (sourceId) {
|
|
1928
|
-
await this.client.deleteRecord('sys_ux_lib_source_script', sourceId);
|
|
1929
|
-
}
|
|
1930
|
-
return {
|
|
1931
|
-
success: false,
|
|
1932
|
-
error: `Failed to create UI Builder component: ${componentResponse.error}`,
|
|
1933
|
-
suggestion: 'Check UI Builder permissions, component definition syntax, and plugin availability',
|
|
1934
|
-
operation_attempted: 'CREATE sys_ux_lib_component',
|
|
1935
|
-
component_data_attempted: componentData,
|
|
1936
|
-
cleanup_performed: !!sourceId
|
|
1937
|
-
};
|
|
1938
|
-
}
|
|
1939
|
-
this.logger.info('✅ UI Builder component created successfully');
|
|
1940
|
-
return {
|
|
1941
|
-
success: true,
|
|
1942
|
-
component: componentResponse.data,
|
|
1943
|
-
source_script: sourceResponse.data,
|
|
1944
|
-
message: `Custom UI Builder component '${args.name}' created successfully`
|
|
1945
|
-
};
|
|
1946
|
-
}
|
|
1947
|
-
catch (error) {
|
|
1948
|
-
this.logger.error('Failed to create UI Builder component:', error);
|
|
1949
|
-
throw error;
|
|
1950
|
-
}
|
|
1951
|
-
}
|
|
1952
|
-
/**
|
|
1953
|
-
* Update UI Builder Component
|
|
1954
|
-
*/
|
|
1955
|
-
async updateUIBComponent(args) {
|
|
1956
|
-
try {
|
|
1957
|
-
this.logger.info(`🔧 Updating UI Builder component: ${args.component_id}`);
|
|
1958
|
-
const updates = {};
|
|
1959
|
-
if (args.label)
|
|
1960
|
-
updates.label = args.label;
|
|
1961
|
-
if (args.description)
|
|
1962
|
-
updates.description = args.description;
|
|
1963
|
-
if (args.properties_schema)
|
|
1964
|
-
updates.properties_schema = JSON.stringify(args.properties_schema);
|
|
1965
|
-
if (args.styling)
|
|
1966
|
-
updates.styling = JSON.stringify(args.styling);
|
|
1967
|
-
if (args.version)
|
|
1968
|
-
updates.version = args.version;
|
|
1969
|
-
if (args.events)
|
|
1970
|
-
updates.events = args.events.join(',');
|
|
1971
|
-
if (args.dependencies)
|
|
1972
|
-
updates.dependencies = args.dependencies.join(',');
|
|
1973
|
-
if (typeof args.active === 'boolean')
|
|
1974
|
-
updates.active = args.active;
|
|
1975
|
-
const componentResponse = await this.client.updateRecord('sys_ux_lib_component', args.component_id, updates);
|
|
1976
|
-
if (!componentResponse.success) {
|
|
1977
|
-
throw new Error(`Failed to update component: ${componentResponse.error}`);
|
|
1978
|
-
}
|
|
1979
|
-
// Update source script if provided
|
|
1980
|
-
if (args.source_script) {
|
|
1981
|
-
const component = componentResponse.data;
|
|
1982
|
-
if (component.source_script) {
|
|
1983
|
-
await this.client.updateRecord('sys_ux_lib_source_script', component.source_script, {
|
|
1984
|
-
source: args.source_script,
|
|
1985
|
-
version: args.version || component.version
|
|
1986
|
-
});
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
this.logger.info('✅ UI Builder component updated successfully');
|
|
1990
|
-
return {
|
|
1991
|
-
success: true,
|
|
1992
|
-
component: componentResponse.data,
|
|
1993
|
-
message: 'UI Builder component updated successfully'
|
|
1994
|
-
};
|
|
1995
|
-
}
|
|
1996
|
-
catch (error) {
|
|
1997
|
-
this.logger.error('Failed to update UI Builder component:', error);
|
|
1998
|
-
throw error;
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
/**
|
|
2002
|
-
* Discover UI Builder Components - ENHANCED with mandatory feedback
|
|
2003
|
-
*/
|
|
2004
|
-
async discoverUIBComponents(args) {
|
|
2005
|
-
try {
|
|
2006
|
-
// MANDATORY: Always log start of operation
|
|
2007
|
-
this.logger.info(`🔍 Starting UI Builder components discovery...`);
|
|
2008
|
-
this.logger.info('🔍 Discovering UI Builder components...');
|
|
2009
|
-
const conditions = [];
|
|
2010
|
-
if (args.category)
|
|
2011
|
-
conditions.push(`category=${args.category}`);
|
|
2012
|
-
if (args.custom_only)
|
|
2013
|
-
conditions.push('category=custom');
|
|
2014
|
-
if (args.built_in_only)
|
|
2015
|
-
conditions.push('category!=custom');
|
|
2016
|
-
if (args.name_filter)
|
|
2017
|
-
conditions.push(`nameLIKE${args.name_filter}^ORlabelLIKE${args.name_filter}`);
|
|
2018
|
-
if (args.version_filter)
|
|
2019
|
-
conditions.push(`versionLIKE${args.version_filter}`);
|
|
2020
|
-
if (args.application)
|
|
2021
|
-
conditions.push(`application=${args.application}`);
|
|
2022
|
-
const query = conditions.join('^');
|
|
2023
|
-
const componentsResponse = await this.client.searchRecords('sys_ux_lib_component', query, args.limit || 100);
|
|
2024
|
-
if (!componentsResponse.success) {
|
|
2025
|
-
throw new Error(`Failed to discover components: ${componentsResponse.error}`);
|
|
2026
|
-
}
|
|
2027
|
-
const components = componentsResponse.data.result;
|
|
2028
|
-
// Enrich with additional data if requested
|
|
2029
|
-
for (const component of components) {
|
|
2030
|
-
if (args.include_source && component.source_script) {
|
|
2031
|
-
const sourceResponse = await this.client.getRecord('sys_ux_lib_source_script', component.source_script);
|
|
2032
|
-
component.source_code = sourceResponse.success ? sourceResponse.data : null;
|
|
2033
|
-
}
|
|
2034
|
-
if (args.include_usage_stats) {
|
|
2035
|
-
const usageResponse = await this.client.searchRecords('sys_ux_page_element', `component=${component.sys_id}^ORcomponent=${component.name}`);
|
|
2036
|
-
component.usage_count = usageResponse.success ? usageResponse.data.result.length : 0;
|
|
2037
|
-
}
|
|
2038
|
-
if (args.include_dependencies && component.dependencies) {
|
|
2039
|
-
component.dependency_list = component.dependencies.split(',').map(d => d.trim()).filter(d => d);
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
this.logger.info(`✅ Found ${components.length} UI Builder components`);
|
|
2043
|
-
return {
|
|
2044
|
-
success: true,
|
|
2045
|
-
components: components,
|
|
2046
|
-
count: components.length
|
|
2047
|
-
};
|
|
2048
|
-
}
|
|
2049
|
-
catch (error) {
|
|
2050
|
-
this.logger.error('Failed to discover UI Builder components:', error);
|
|
2051
|
-
// NEVER throw - always return error object for MCP
|
|
2052
|
-
return {
|
|
2053
|
-
success: false,
|
|
2054
|
-
error: `UI Builder components discovery failed: ${error}`,
|
|
2055
|
-
suggestion: 'UI Builder plugin not installed or insufficient permissions (need ui_builder_admin role)',
|
|
2056
|
-
plugin_required: 'UI Builder',
|
|
2057
|
-
table_attempted: 'sys_ux_lib_component',
|
|
2058
|
-
operation_type: 'DISCOVERY',
|
|
2059
|
-
debug_info: {
|
|
2060
|
-
error_type: error instanceof Error ? error.constructor.name : 'Unknown',
|
|
2061
|
-
error_message: String(error)
|
|
2062
|
-
}
|
|
2063
|
-
};
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
/**
|
|
2067
|
-
* Clone UI Builder Component
|
|
2068
|
-
*/
|
|
2069
|
-
async cloneUIBComponent(args) {
|
|
2070
|
-
try {
|
|
2071
|
-
this.logger.info(`📋 Cloning UI Builder component: ${args.source_component_id} → ${args.new_name}`);
|
|
2072
|
-
// Get source component
|
|
2073
|
-
const sourceResponse = await this.client.getRecord('sys_ux_lib_component', args.source_component_id);
|
|
2074
|
-
if (!sourceResponse.success) {
|
|
2075
|
-
throw new Error(`Source component not found: ${args.source_component_id}`);
|
|
2076
|
-
}
|
|
2077
|
-
const sourceComponent = sourceResponse.data;
|
|
2078
|
-
// Get source script
|
|
2079
|
-
let sourceCode = '';
|
|
2080
|
-
if (sourceComponent.source_script) {
|
|
2081
|
-
const sourceScriptResponse = await this.client.getRecord('sys_ux_lib_source_script', sourceComponent.source_script);
|
|
2082
|
-
if (sourceScriptResponse.success) {
|
|
2083
|
-
sourceCode = sourceScriptResponse.data.source || '';
|
|
2084
|
-
}
|
|
2085
|
-
}
|
|
2086
|
-
// Apply modifications to source code if provided
|
|
2087
|
-
if (args.modifications) {
|
|
2088
|
-
for (const [find, replace] of Object.entries(args.modifications)) {
|
|
2089
|
-
sourceCode = sourceCode.replace(new RegExp(find, 'g'), replace);
|
|
2090
|
-
}
|
|
2091
|
-
}
|
|
2092
|
-
// Create cloned component
|
|
2093
|
-
const cloneData = {
|
|
2094
|
-
name: args.new_name,
|
|
2095
|
-
label: args.new_label,
|
|
2096
|
-
description: args.description || `Clone of ${sourceComponent.label}`,
|
|
2097
|
-
category: args.category || 'custom',
|
|
2098
|
-
source_script: sourceCode,
|
|
2099
|
-
properties_schema: sourceComponent.properties_schema,
|
|
2100
|
-
events: sourceComponent.events,
|
|
2101
|
-
dependencies: sourceComponent.dependencies,
|
|
2102
|
-
styling: sourceComponent.styling,
|
|
2103
|
-
version: args.version || '1.0.0'
|
|
2104
|
-
};
|
|
2105
|
-
const cloneResult = await this.createUIBComponent(cloneData);
|
|
2106
|
-
this.logger.info('✅ UI Builder component cloned successfully');
|
|
2107
|
-
return {
|
|
2108
|
-
success: true,
|
|
2109
|
-
cloned_component: cloneResult.component,
|
|
2110
|
-
source_component: sourceComponent,
|
|
2111
|
-
message: `Component '${args.new_name}' cloned from '${sourceComponent.label}'`
|
|
2112
|
-
};
|
|
2113
|
-
}
|
|
2114
|
-
catch (error) {
|
|
2115
|
-
this.logger.error('Failed to clone UI Builder component:', error);
|
|
2116
|
-
throw error;
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
/**
|
|
2120
|
-
* Create UI Builder Data Broker
|
|
2121
|
-
*/
|
|
2122
|
-
async createUIBDataBroker(args) {
|
|
2123
|
-
try {
|
|
2124
|
-
this.logger.info(`🔗 Creating UI Builder data broker: ${args.name}`);
|
|
2125
|
-
const brokerData = {
|
|
2126
|
-
name: args.name,
|
|
2127
|
-
label: args.label,
|
|
2128
|
-
type: args.type || 'table',
|
|
2129
|
-
table: args.table || '',
|
|
2130
|
-
query: args.query || '',
|
|
2131
|
-
script: args.script || '',
|
|
2132
|
-
rest_message: args.rest_message || '',
|
|
2133
|
-
fields: args.fields ? args.fields.join(',') : '',
|
|
2134
|
-
auto_refresh: args.auto_refresh || false,
|
|
2135
|
-
refresh_interval: args.refresh_interval || 30,
|
|
2136
|
-
cache_duration: args.cache_duration || 300,
|
|
2137
|
-
max_records: args.max_records || 1000,
|
|
2138
|
-
active: true
|
|
2139
|
-
};
|
|
2140
|
-
const response = await this.client.createRecord('sys_ux_data_broker', brokerData);
|
|
2141
|
-
if (!response.success) {
|
|
2142
|
-
throw new Error(`Failed to create data broker: ${response.error}`);
|
|
2143
|
-
}
|
|
2144
|
-
this.logger.info('✅ UI Builder data broker created successfully');
|
|
2145
|
-
return {
|
|
2146
|
-
success: true,
|
|
2147
|
-
data_broker: response.data,
|
|
2148
|
-
message: `Data broker '${args.name}' created for ${args.type} type`
|
|
2149
|
-
};
|
|
2150
|
-
}
|
|
2151
|
-
catch (error) {
|
|
2152
|
-
this.logger.error('Failed to create UI Builder data broker:', error);
|
|
2153
|
-
throw error;
|
|
2154
|
-
}
|
|
2155
|
-
}
|
|
2156
|
-
/**
|
|
2157
|
-
* Configure UI Builder Data Broker
|
|
2158
|
-
*/
|
|
2159
|
-
async configureUIBDataBroker(args) {
|
|
2160
|
-
try {
|
|
2161
|
-
this.logger.info(`⚙️ Configuring UI Builder data broker: ${args.broker_id}`);
|
|
2162
|
-
const updates = {};
|
|
2163
|
-
if (args.query)
|
|
2164
|
-
updates.query = args.query;
|
|
2165
|
-
if (args.fields)
|
|
2166
|
-
updates.fields = args.fields.join(',');
|
|
2167
|
-
if (typeof args.auto_refresh === 'boolean')
|
|
2168
|
-
updates.auto_refresh = args.auto_refresh;
|
|
2169
|
-
if (args.refresh_interval)
|
|
2170
|
-
updates.refresh_interval = args.refresh_interval;
|
|
2171
|
-
if (args.cache_duration)
|
|
2172
|
-
updates.cache_duration = args.cache_duration;
|
|
2173
|
-
if (args.max_records)
|
|
2174
|
-
updates.max_records = args.max_records;
|
|
2175
|
-
if (typeof args.active === 'boolean')
|
|
2176
|
-
updates.active = args.active;
|
|
2177
|
-
const response = await this.client.updateRecord('sys_ux_data_broker', args.broker_id, updates);
|
|
2178
|
-
if (!response.success) {
|
|
2179
|
-
throw new Error(`Failed to configure data broker: ${response.error}`);
|
|
2180
|
-
}
|
|
2181
|
-
this.logger.info('✅ UI Builder data broker configured successfully');
|
|
2182
|
-
return {
|
|
2183
|
-
success: true,
|
|
2184
|
-
data_broker: response.data,
|
|
2185
|
-
message: 'Data broker configuration updated successfully'
|
|
2186
|
-
};
|
|
2187
|
-
}
|
|
2188
|
-
catch (error) {
|
|
2189
|
-
this.logger.error('Failed to configure UI Builder data broker:', error);
|
|
2190
|
-
throw error;
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
/**
|
|
2194
|
-
* Add UI Builder Page Element
|
|
2195
|
-
*/
|
|
2196
|
-
async addUIBPageElement(args) {
|
|
2197
|
-
try {
|
|
2198
|
-
this.logger.info(`➕ Adding element to UI Builder page: ${args.component}`);
|
|
2199
|
-
const elementData = {
|
|
2200
|
-
page: args.page_id,
|
|
2201
|
-
component: args.component,
|
|
2202
|
-
container_id: args.container_id || '',
|
|
2203
|
-
position: args.position || 0,
|
|
2204
|
-
properties: args.properties ? JSON.stringify(args.properties) : '{}',
|
|
2205
|
-
data_broker: args.data_broker || '',
|
|
2206
|
-
responsive_config: args.responsive_config ? JSON.stringify(args.responsive_config) : '{}',
|
|
2207
|
-
conditional_display: args.conditional_display || '',
|
|
2208
|
-
css_classes: args.css_classes ? args.css_classes.join(' ') : '',
|
|
2209
|
-
inline_styles: args.inline_styles ? JSON.stringify(args.inline_styles) : '{}',
|
|
2210
|
-
active: true
|
|
2211
|
-
};
|
|
2212
|
-
const response = await this.client.createRecord('sys_ux_page_element', elementData);
|
|
2213
|
-
if (!response.success) {
|
|
2214
|
-
throw new Error(`Failed to add page element: ${response.error}`);
|
|
2215
|
-
}
|
|
2216
|
-
this.logger.info('✅ UI Builder page element added successfully');
|
|
2217
|
-
return {
|
|
2218
|
-
success: true,
|
|
2219
|
-
element: response.data,
|
|
2220
|
-
message: `Component '${args.component}' added to page successfully`
|
|
2221
|
-
};
|
|
2222
|
-
}
|
|
2223
|
-
catch (error) {
|
|
2224
|
-
this.logger.error('Failed to add UI Builder page element:', error);
|
|
2225
|
-
throw error;
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
/**
|
|
2229
|
-
* Update UI Builder Page Element
|
|
2230
|
-
*/
|
|
2231
|
-
async updateUIBPageElement(args) {
|
|
2232
|
-
try {
|
|
2233
|
-
this.logger.info(`🔧 Updating UI Builder page element: ${args.element_id}`);
|
|
2234
|
-
const updates = {};
|
|
2235
|
-
if (args.properties)
|
|
2236
|
-
updates.properties = JSON.stringify(args.properties);
|
|
2237
|
-
if (args.position !== undefined)
|
|
2238
|
-
updates.position = args.position;
|
|
2239
|
-
if (args.data_broker)
|
|
2240
|
-
updates.data_broker = args.data_broker;
|
|
2241
|
-
if (args.responsive_config)
|
|
2242
|
-
updates.responsive_config = JSON.stringify(args.responsive_config);
|
|
2243
|
-
if (args.conditional_display)
|
|
2244
|
-
updates.conditional_display = args.conditional_display;
|
|
2245
|
-
if (args.css_classes)
|
|
2246
|
-
updates.css_classes = args.css_classes.join(' ');
|
|
2247
|
-
if (args.inline_styles)
|
|
2248
|
-
updates.inline_styles = JSON.stringify(args.inline_styles);
|
|
2249
|
-
const response = await this.client.updateRecord('sys_ux_page_element', args.element_id, updates);
|
|
2250
|
-
if (!response.success) {
|
|
2251
|
-
throw new Error(`Failed to update page element: ${response.error}`);
|
|
2252
|
-
}
|
|
2253
|
-
this.logger.info('✅ UI Builder page element updated successfully');
|
|
2254
|
-
return {
|
|
2255
|
-
success: true,
|
|
2256
|
-
element: response.data,
|
|
2257
|
-
message: 'Page element updated successfully'
|
|
2258
|
-
};
|
|
2259
|
-
}
|
|
2260
|
-
catch (error) {
|
|
2261
|
-
this.logger.error('Failed to update UI Builder page element:', error);
|
|
2262
|
-
throw error;
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
/**
|
|
2266
|
-
* Remove UI Builder Page Element
|
|
2267
|
-
*/
|
|
2268
|
-
async removeUIBPageElement(args) {
|
|
2269
|
-
try {
|
|
2270
|
-
this.logger.info(`🗑️ Removing UI Builder page element: ${args.element_id}`);
|
|
2271
|
-
// Validate dependencies if requested
|
|
2272
|
-
if (args.validate_dependencies) {
|
|
2273
|
-
const dependentResponse = await this.client.searchRecords('sys_ux_page_element', `container_id=${args.element_id}`, 10);
|
|
2274
|
-
if (dependentResponse.success && dependentResponse.data.result.length > 0) {
|
|
2275
|
-
return {
|
|
2276
|
-
success: false,
|
|
2277
|
-
error: 'Element has dependent child elements. Remove children first or use validate_dependencies: false',
|
|
2278
|
-
dependent_elements: dependentResponse.data.result.length
|
|
2279
|
-
};
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2282
|
-
const response = await this.client.deleteRecord('sys_ux_page_element', args.element_id);
|
|
2283
|
-
if (!response.success) {
|
|
2284
|
-
throw new Error(`Failed to remove page element: ${response.error}`);
|
|
2285
|
-
}
|
|
2286
|
-
this.logger.info('✅ UI Builder page element removed successfully');
|
|
2287
|
-
return {
|
|
2288
|
-
success: true,
|
|
2289
|
-
message: 'Page element removed successfully'
|
|
2290
|
-
};
|
|
2291
|
-
}
|
|
2292
|
-
catch (error) {
|
|
2293
|
-
this.logger.error('Failed to remove UI Builder page element:', error);
|
|
2294
|
-
throw error;
|
|
2295
|
-
}
|
|
2296
|
-
}
|
|
2297
|
-
/**
|
|
2298
|
-
* Create UI Builder Page Registry (Routing)
|
|
2299
|
-
*/
|
|
2300
|
-
async createUIBPageRegistry(args) {
|
|
2301
|
-
try {
|
|
2302
|
-
this.logger.info(`🛣️ Creating UI Builder page registry: ${args.path}`);
|
|
2303
|
-
const registryData = {
|
|
2304
|
-
page: args.page_id,
|
|
2305
|
-
path: args.path,
|
|
2306
|
-
application: args.application || 'global',
|
|
2307
|
-
roles: args.roles ? args.roles.join(',') : '',
|
|
2308
|
-
public_access: args.public_access || false,
|
|
2309
|
-
redirect_url: args.redirect_url || '',
|
|
2310
|
-
meta_title: args.meta_title || '',
|
|
2311
|
-
meta_description: args.meta_description || '',
|
|
2312
|
-
parameter_mapping: args.parameter_mapping ? JSON.stringify(args.parameter_mapping) : '{}',
|
|
2313
|
-
cache_control: args.cache_control || '',
|
|
2314
|
-
active: true
|
|
2315
|
-
};
|
|
2316
|
-
const response = await this.client.createRecord('sys_ux_page_registry', registryData);
|
|
2317
|
-
if (!response.success) {
|
|
2318
|
-
throw new Error(`Failed to create page registry: ${response.error}`);
|
|
2319
|
-
}
|
|
2320
|
-
this.logger.info('✅ UI Builder page registry created successfully');
|
|
2321
|
-
return {
|
|
2322
|
-
success: true,
|
|
2323
|
-
registry: response.data,
|
|
2324
|
-
message: `Page routing configured for path '${args.path}'`
|
|
2325
|
-
};
|
|
2326
|
-
}
|
|
2327
|
-
catch (error) {
|
|
2328
|
-
this.logger.error('Failed to create UI Builder page registry:', error);
|
|
2329
|
-
throw error;
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
/**
|
|
2333
|
-
* Discover UI Builder Routes
|
|
2334
|
-
*/
|
|
2335
|
-
async discoverUIBRoutes(args) {
|
|
2336
|
-
try {
|
|
2337
|
-
this.logger.info('🔍 Discovering UI Builder routes...');
|
|
2338
|
-
const conditions = [];
|
|
2339
|
-
if (args.application)
|
|
2340
|
-
conditions.push(`application=${args.application}`);
|
|
2341
|
-
if (args.active_only)
|
|
2342
|
-
conditions.push('active=true');
|
|
2343
|
-
if (args.path_pattern)
|
|
2344
|
-
conditions.push(`pathLIKE${args.path_pattern}`);
|
|
2345
|
-
if (args.role_filter)
|
|
2346
|
-
conditions.push(`rolesLIKE${args.role_filter}`);
|
|
2347
|
-
const query = conditions.join('^');
|
|
2348
|
-
const routesResponse = await this.client.searchRecords('sys_ux_page_registry', query, 100);
|
|
2349
|
-
if (!routesResponse.success) {
|
|
2350
|
-
throw new Error(`Failed to discover routes: ${routesResponse.error}`);
|
|
2351
|
-
}
|
|
2352
|
-
const routes = routesResponse.data.result;
|
|
2353
|
-
// Enrich with additional data if requested
|
|
2354
|
-
for (const route of routes) {
|
|
2355
|
-
if (args.include_security && route.roles) {
|
|
2356
|
-
route.required_roles = route.roles.split(',').map(r => r.trim()).filter(r => r);
|
|
2357
|
-
}
|
|
2358
|
-
if (args.include_parameters && route.parameter_mapping) {
|
|
2359
|
-
try {
|
|
2360
|
-
route.parameters = JSON.parse(route.parameter_mapping);
|
|
2361
|
-
}
|
|
2362
|
-
catch (e) {
|
|
2363
|
-
route.parameters = {};
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
// Add page information
|
|
2367
|
-
if (route.page) {
|
|
2368
|
-
const pageResponse = await this.client.getRecord('sys_ux_page', route.page);
|
|
2369
|
-
route.page_info = pageResponse.success ? pageResponse.data : null;
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2372
|
-
this.logger.info(`✅ Found ${routes.length} UI Builder routes`);
|
|
2373
|
-
return {
|
|
2374
|
-
success: true,
|
|
2375
|
-
routes: routes,
|
|
2376
|
-
count: routes.length
|
|
2377
|
-
};
|
|
2378
|
-
}
|
|
2379
|
-
catch (error) {
|
|
2380
|
-
this.logger.error('Failed to discover UI Builder routes:', error);
|
|
2381
|
-
throw error;
|
|
2382
|
-
}
|
|
2383
|
-
}
|
|
2384
|
-
/**
|
|
2385
|
-
* Create UI Builder Client Script
|
|
2386
|
-
*/
|
|
2387
|
-
async createUIBClientScript(args) {
|
|
2388
|
-
try {
|
|
2389
|
-
this.logger.info(`📝 Creating UI Builder client script: ${args.name}`);
|
|
2390
|
-
const scriptData = {
|
|
2391
|
-
page: args.page_id,
|
|
2392
|
-
name: args.name,
|
|
2393
|
-
type: args.type,
|
|
2394
|
-
script: args.script,
|
|
2395
|
-
component_reference: args.component_reference || '',
|
|
2396
|
-
event_name: args.event_name || '',
|
|
2397
|
-
execution_order: args.execution_order || 100,
|
|
2398
|
-
async_execution: args.async_execution || false,
|
|
2399
|
-
error_handling: args.error_handling || 'log',
|
|
2400
|
-
active: args.active !== false
|
|
2401
|
-
};
|
|
2402
|
-
const response = await this.client.createRecord('sys_ux_client_script', scriptData);
|
|
2403
|
-
if (!response.success) {
|
|
2404
|
-
throw new Error(`Failed to create client script: ${response.error}`);
|
|
2405
|
-
}
|
|
2406
|
-
this.logger.info('✅ UI Builder client script created successfully');
|
|
2407
|
-
return {
|
|
2408
|
-
success: true,
|
|
2409
|
-
script: response.data,
|
|
2410
|
-
message: `Client script '${args.name}' created for ${args.type} trigger`
|
|
2411
|
-
};
|
|
2412
|
-
}
|
|
2413
|
-
catch (error) {
|
|
2414
|
-
this.logger.error('Failed to create UI Builder client script:', error);
|
|
2415
|
-
throw error;
|
|
2416
|
-
}
|
|
2417
|
-
}
|
|
2418
|
-
/**
|
|
2419
|
-
* Create UI Builder Client State
|
|
2420
|
-
*/
|
|
2421
|
-
async createUIBClientState(args) {
|
|
2422
|
-
try {
|
|
2423
|
-
this.logger.info(`💾 Creating UI Builder client state: ${args.state_name}`);
|
|
2424
|
-
const stateData = {
|
|
2425
|
-
page: args.page_id,
|
|
2426
|
-
state_name: args.state_name,
|
|
2427
|
-
initial_value: args.initial_value,
|
|
2428
|
-
scope: args.scope || 'page',
|
|
2429
|
-
persistent: args.persistent || false,
|
|
2430
|
-
reactive: args.reactive !== false,
|
|
2431
|
-
validation_schema: args.validation_schema ? JSON.stringify(args.validation_schema) : '{}',
|
|
2432
|
-
description: args.description || '',
|
|
2433
|
-
active: true
|
|
2434
|
-
};
|
|
2435
|
-
const response = await this.client.createRecord('sys_ux_client_state', stateData);
|
|
2436
|
-
if (!response.success) {
|
|
2437
|
-
throw new Error(`Failed to create client state: ${response.error}`);
|
|
2438
|
-
}
|
|
2439
|
-
this.logger.info('✅ UI Builder client state created successfully');
|
|
2440
|
-
return {
|
|
2441
|
-
success: true,
|
|
2442
|
-
state: response.data,
|
|
2443
|
-
message: `Client state '${args.state_name}' configured with ${args.scope} scope`
|
|
2444
|
-
};
|
|
2445
|
-
}
|
|
2446
|
-
catch (error) {
|
|
2447
|
-
this.logger.error('Failed to create UI Builder client state:', error);
|
|
2448
|
-
throw error;
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
/**
|
|
2452
|
-
* Create UI Builder Event
|
|
2453
|
-
*/
|
|
2454
|
-
async createUIBEvent(args) {
|
|
2455
|
-
try {
|
|
2456
|
-
this.logger.info(`⚡ Creating UI Builder event: ${args.name}`);
|
|
2457
|
-
const eventData = {
|
|
2458
|
-
name: args.name,
|
|
2459
|
-
label: args.label,
|
|
2460
|
-
description: args.description || '',
|
|
2461
|
-
payload_schema: args.payload_schema ? JSON.stringify(args.payload_schema) : '{}',
|
|
2462
|
-
component_scope: args.component_scope || '',
|
|
2463
|
-
global_event: args.global_event || false,
|
|
2464
|
-
bubbles: args.bubbles !== false,
|
|
2465
|
-
cancelable: args.cancelable !== false,
|
|
2466
|
-
active: true
|
|
2467
|
-
};
|
|
2468
|
-
const response = await this.client.createRecord('sys_ux_event', eventData);
|
|
2469
|
-
if (!response.success) {
|
|
2470
|
-
throw new Error(`Failed to create event: ${response.error}`);
|
|
2471
|
-
}
|
|
2472
|
-
this.logger.info('✅ UI Builder event created successfully');
|
|
2473
|
-
return {
|
|
2474
|
-
success: true,
|
|
2475
|
-
event: response.data,
|
|
2476
|
-
message: `Custom event '${args.name}' created ${args.global_event ? '(global)' : '(scoped)'}`
|
|
2477
|
-
};
|
|
2478
|
-
}
|
|
2479
|
-
catch (error) {
|
|
2480
|
-
this.logger.error('Failed to create UI Builder event:', error);
|
|
2481
|
-
throw error;
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
/**
|
|
2485
|
-
* Analyze UI Builder Page Performance
|
|
2486
|
-
*/
|
|
2487
|
-
async analyzeUIBPagePerformance(args) {
|
|
2488
|
-
try {
|
|
2489
|
-
this.logger.info(`📊 Analyzing UI Builder page performance: ${args.page_id}`);
|
|
2490
|
-
const analysis = {
|
|
2491
|
-
page_id: args.page_id,
|
|
2492
|
-
analysis_date: new Date().toISOString(),
|
|
2493
|
-
components: [],
|
|
2494
|
-
data_brokers: [],
|
|
2495
|
-
client_scripts: [],
|
|
2496
|
-
recommendations: [],
|
|
2497
|
-
total_components: 0,
|
|
2498
|
-
page_info: null
|
|
2499
|
-
};
|
|
2500
|
-
// Get page info
|
|
2501
|
-
const pageResponse = await this.client.getRecord('sys_ux_page', args.page_id);
|
|
2502
|
-
if (!pageResponse.success) {
|
|
2503
|
-
throw new Error('Page not found');
|
|
2504
|
-
}
|
|
2505
|
-
analysis.page_info = pageResponse.data;
|
|
2506
|
-
// Analyze components if requested
|
|
2507
|
-
if (args.include_components) {
|
|
2508
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${args.page_id}`, 100);
|
|
2509
|
-
if (elementsResponse.success) {
|
|
2510
|
-
analysis.total_components = elementsResponse.data.result.length;
|
|
2511
|
-
analysis.components = elementsResponse.data.result.map(element => ({
|
|
2512
|
-
component: element.component,
|
|
2513
|
-
position: element.position,
|
|
2514
|
-
has_data_broker: !!element.data_broker,
|
|
2515
|
-
has_conditional_display: !!element.conditional_display
|
|
2516
|
-
}));
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
// Analyze data brokers if requested
|
|
2520
|
-
if (args.include_data_broker_stats) {
|
|
2521
|
-
const brokersResponse = await this.client.searchRecords('sys_ux_data_broker', `page=${args.page_id}`, 50);
|
|
2522
|
-
if (brokersResponse.success) {
|
|
2523
|
-
analysis.data_brokers = brokersResponse.data.result.map(broker => ({
|
|
2524
|
-
name: broker.name,
|
|
2525
|
-
type: broker.type,
|
|
2526
|
-
table: broker.table,
|
|
2527
|
-
auto_refresh: broker.auto_refresh,
|
|
2528
|
-
cache_duration: broker.cache_duration
|
|
2529
|
-
}));
|
|
2530
|
-
}
|
|
2531
|
-
}
|
|
2532
|
-
// Analyze client scripts if requested
|
|
2533
|
-
if (args.include_client_scripts) {
|
|
2534
|
-
const scriptsResponse = await this.client.searchRecords('sys_ux_client_script', `page=${args.page_id}`, 50);
|
|
2535
|
-
if (scriptsResponse.success) {
|
|
2536
|
-
analysis.client_scripts = scriptsResponse.data.result.map(script => ({
|
|
2537
|
-
name: script.name,
|
|
2538
|
-
type: script.type,
|
|
2539
|
-
execution_order: script.execution_order,
|
|
2540
|
-
async_execution: script.async_execution
|
|
2541
|
-
}));
|
|
2542
|
-
}
|
|
2543
|
-
}
|
|
2544
|
-
// Generate performance recommendations
|
|
2545
|
-
if (analysis.total_components > 20) {
|
|
2546
|
-
analysis.recommendations.push('Consider breaking page into smaller pages - many components may impact performance');
|
|
2547
|
-
}
|
|
2548
|
-
if (analysis.data_brokers.some(db => db.auto_refresh && db.cache_duration < 60)) {
|
|
2549
|
-
analysis.recommendations.push('Some data brokers have short cache duration with auto-refresh - consider optimizing');
|
|
2550
|
-
}
|
|
2551
|
-
if (analysis.client_scripts.length > 10) {
|
|
2552
|
-
analysis.recommendations.push('Many client scripts detected - consider consolidating for better performance');
|
|
2553
|
-
}
|
|
2554
|
-
this.logger.info('✅ UI Builder page performance analysis completed');
|
|
2555
|
-
return {
|
|
2556
|
-
success: true,
|
|
2557
|
-
analysis: analysis,
|
|
2558
|
-
summary: `Page has ${analysis.total_components || 0} components, ${analysis.data_brokers.length} data brokers, ${analysis.client_scripts.length} scripts`
|
|
2559
|
-
};
|
|
2560
|
-
}
|
|
2561
|
-
catch (error) {
|
|
2562
|
-
this.logger.error('Failed to analyze UI Builder page performance:', error);
|
|
2563
|
-
throw error;
|
|
2564
|
-
}
|
|
2565
|
-
}
|
|
2566
|
-
/**
|
|
2567
|
-
* Validate UI Builder Page Structure
|
|
2568
|
-
*/
|
|
2569
|
-
async validateUIBPageStructure(args) {
|
|
2570
|
-
try {
|
|
2571
|
-
this.logger.info(`✅ Validating UI Builder page structure: ${args.page_id}`);
|
|
2572
|
-
const validation = {
|
|
2573
|
-
page_id: args.page_id,
|
|
2574
|
-
validation_date: new Date().toISOString(),
|
|
2575
|
-
is_valid: true,
|
|
2576
|
-
errors: [],
|
|
2577
|
-
warnings: [],
|
|
2578
|
-
info: []
|
|
2579
|
-
};
|
|
2580
|
-
// Get page info
|
|
2581
|
-
const pageResponse = await this.client.getRecord('sys_ux_page', args.page_id);
|
|
2582
|
-
if (!pageResponse.success) {
|
|
2583
|
-
validation.errors.push('Page not found');
|
|
2584
|
-
validation.is_valid = false;
|
|
2585
|
-
return { success: true, validation };
|
|
2586
|
-
}
|
|
2587
|
-
const page = pageResponse.data;
|
|
2588
|
-
// Check routing if requested
|
|
2589
|
-
if (args.check_routing) {
|
|
2590
|
-
const routeResponse = await this.client.searchRecords('sys_ux_page_registry', `page=${args.page_id}`, 1);
|
|
2591
|
-
if (!routeResponse.success || routeResponse.data.result.length === 0) {
|
|
2592
|
-
validation.warnings.push('Page has no routing configuration - may not be accessible');
|
|
2593
|
-
}
|
|
2594
|
-
}
|
|
2595
|
-
// Check data brokers if requested
|
|
2596
|
-
if (args.check_data_brokers) {
|
|
2597
|
-
const brokersResponse = await this.client.searchRecords('sys_ux_data_broker', `page=${args.page_id}`);
|
|
2598
|
-
if (brokersResponse.success) {
|
|
2599
|
-
for (const broker of brokersResponse.data.result) {
|
|
2600
|
-
if (broker.type === 'table' && !broker.table) {
|
|
2601
|
-
validation.errors.push(`Data broker '${broker.name}' has no table configured`);
|
|
2602
|
-
validation.is_valid = false;
|
|
2603
|
-
}
|
|
2604
|
-
if (broker.type === 'script' && !broker.script) {
|
|
2605
|
-
validation.errors.push(`Data broker '${broker.name}' has no script configured`);
|
|
2606
|
-
validation.is_valid = false;
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
// Check component dependencies if requested
|
|
2612
|
-
if (args.check_component_dependencies) {
|
|
2613
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${args.page_id}`);
|
|
2614
|
-
if (elementsResponse.success) {
|
|
2615
|
-
for (const element of elementsResponse.data.result) {
|
|
2616
|
-
const componentResponse = await this.client.searchRecords('sys_ux_lib_component', `name=${element.component}^ORsys_id=${element.component}`, 1);
|
|
2617
|
-
if (!componentResponse.success || componentResponse.data.result.length === 0) {
|
|
2618
|
-
validation.errors.push(`Page element references unknown component: ${element.component}`);
|
|
2619
|
-
validation.is_valid = false;
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
|
-
}
|
|
2624
|
-
// Check security if requested
|
|
2625
|
-
if (args.check_security) {
|
|
2626
|
-
const routeResponse = await this.client.searchRecords('sys_ux_page_registry', `page=${args.page_id}`, 1);
|
|
2627
|
-
if (routeResponse.success && routeResponse.data.result.length > 0) {
|
|
2628
|
-
const route = routeResponse.data.result[0];
|
|
2629
|
-
if (!route.public_access && (!route.roles || route.roles.trim() === '')) {
|
|
2630
|
-
validation.warnings.push('Page is not public but has no role restrictions - check access control');
|
|
2631
|
-
}
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
// Performance checks if requested
|
|
2635
|
-
if (args.check_performance) {
|
|
2636
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${args.page_id}`);
|
|
2637
|
-
if (elementsResponse.success && elementsResponse.data.result.length > 15) {
|
|
2638
|
-
validation.warnings.push('Page has many components (>15) - consider performance optimization');
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
// Accessibility checks if requested
|
|
2642
|
-
if (args.check_accessibility) {
|
|
2643
|
-
validation.info.push('Accessibility validation requires manual review - check for proper ARIA labels and keyboard navigation');
|
|
2644
|
-
}
|
|
2645
|
-
validation.info.push(`Page '${page.name}' validation completed`);
|
|
2646
|
-
validation.info.push(`Found ${validation.errors.length} errors and ${validation.warnings.length} warnings`);
|
|
2647
|
-
this.logger.info('✅ UI Builder page structure validation completed');
|
|
2648
|
-
return {
|
|
2649
|
-
success: true,
|
|
2650
|
-
validation: validation,
|
|
2651
|
-
summary: `Validation ${validation.is_valid ? 'PASSED' : 'FAILED'}: ${validation.errors.length} errors, ${validation.warnings.length} warnings`
|
|
2652
|
-
};
|
|
2653
|
-
}
|
|
2654
|
-
catch (error) {
|
|
2655
|
-
this.logger.error('Failed to validate UI Builder page structure:', error);
|
|
2656
|
-
throw error;
|
|
2657
|
-
}
|
|
2658
|
-
}
|
|
2659
|
-
/**
|
|
2660
|
-
* Discover UI Builder Page Usage
|
|
2661
|
-
*/
|
|
2662
|
-
async discoverUIBPageUsage(args) {
|
|
2663
|
-
try {
|
|
2664
|
-
this.logger.info(`📈 Analyzing UI Builder page usage: ${args.page_id}`);
|
|
2665
|
-
// Structural usage analysis
|
|
2666
|
-
const usage = {
|
|
2667
|
-
page_id: args.page_id,
|
|
2668
|
-
analysis_date: new Date().toISOString(),
|
|
2669
|
-
components_count: 0,
|
|
2670
|
-
data_brokers_count: 0,
|
|
2671
|
-
client_scripts_count: 0,
|
|
2672
|
-
routes_count: 0,
|
|
2673
|
-
complexity_score: 0
|
|
2674
|
-
};
|
|
2675
|
-
// Count components
|
|
2676
|
-
const elementsResponse = await this.client.searchRecords('sys_ux_page_element', `page=${args.page_id}`);
|
|
2677
|
-
if (elementsResponse.success) {
|
|
2678
|
-
usage.components_count = elementsResponse.data.result.length;
|
|
2679
|
-
}
|
|
2680
|
-
// Count data brokers
|
|
2681
|
-
const brokersResponse = await this.client.searchRecords('sys_ux_data_broker', `page=${args.page_id}`);
|
|
2682
|
-
if (brokersResponse.success) {
|
|
2683
|
-
usage.data_brokers_count = brokersResponse.data.result.length;
|
|
2684
|
-
}
|
|
2685
|
-
// Count client scripts
|
|
2686
|
-
const scriptsResponse = await this.client.searchRecords('sys_ux_client_script', `page=${args.page_id}`);
|
|
2687
|
-
if (scriptsResponse.success) {
|
|
2688
|
-
usage.client_scripts_count = scriptsResponse.data.result.length;
|
|
2689
|
-
}
|
|
2690
|
-
// Count routes
|
|
2691
|
-
const routesResponse = await this.client.searchRecords('sys_ux_page_registry', `page=${args.page_id}`);
|
|
2692
|
-
if (routesResponse.success) {
|
|
2693
|
-
usage.routes_count = routesResponse.data.result.length;
|
|
2694
|
-
}
|
|
2695
|
-
// Calculate complexity score
|
|
2696
|
-
usage.complexity_score = (usage.components_count * 2) + (usage.data_brokers_count * 3) + (usage.client_scripts_count * 4);
|
|
2697
|
-
this.logger.info('✅ UI Builder page usage analysis completed');
|
|
2698
|
-
return {
|
|
2699
|
-
success: true,
|
|
2700
|
-
usage: usage,
|
|
2701
|
-
complexity: usage.complexity_score < 20 ? 'Simple' : usage.complexity_score < 50 ? 'Moderate' : 'Complex',
|
|
2702
|
-
summary: `${usage.components_count} components, ${usage.data_brokers_count} data brokers, ${usage.client_scripts_count} scripts`
|
|
2703
|
-
};
|
|
2704
|
-
}
|
|
2705
|
-
catch (error) {
|
|
2706
|
-
this.logger.error('Failed to analyze UI Builder page usage:', error);
|
|
2707
|
-
throw error;
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
|
-
/**
|
|
2711
|
-
* STEP 1: Create Experience Record (sys_ux_experience)
|
|
2712
|
-
* This is the top-level container for the workspace
|
|
2713
|
-
*/
|
|
2714
|
-
async snow_create_ux_experience(args) {
|
|
2715
|
-
try {
|
|
2716
|
-
this.logger.info(`Creating UX Experience: ${args.name}`);
|
|
2717
|
-
// Test mode validation - reject fake test data
|
|
2718
|
-
if (args.name && (args.name.toLowerCase().includes('test') || args.name === 'Test Experience')) {
|
|
2719
|
-
return {
|
|
2720
|
-
success: false,
|
|
2721
|
-
error: 'Test mode detected. This tool requires a real workspace name.',
|
|
2722
|
-
suggestion: 'Use a realistic workspace name like "IT Support Workspace" or "Customer Service Hub"',
|
|
2723
|
-
test_mode: true
|
|
2724
|
-
};
|
|
2725
|
-
}
|
|
2726
|
-
// Find default shell macroponent - usually x_snc_app_shell_uib_app_shell
|
|
2727
|
-
const shellQuery = await this.client.searchRecords('sys_ux_macroponent', 'name=x_snc_app_shell_uib_app_shell');
|
|
2728
|
-
let shellSysId = null;
|
|
2729
|
-
if (shellQuery.success && shellQuery.data.result.length > 0) {
|
|
2730
|
-
shellSysId = shellQuery.data.result[0].sys_id;
|
|
2731
|
-
this.logger.info(`✅ Found app shell macroponent: ${shellSysId}`);
|
|
2732
|
-
}
|
|
2733
|
-
else {
|
|
2734
|
-
this.logger.warn(`⚠️ Default app shell not found, will use provided root_macroponent`);
|
|
2735
|
-
shellSysId = args.root_macroponent || null;
|
|
2736
|
-
}
|
|
2737
|
-
// Create experience record
|
|
2738
|
-
const experienceData = {
|
|
2739
|
-
name: args.name,
|
|
2740
|
-
active: true,
|
|
2741
|
-
root_macroponent: shellSysId,
|
|
2742
|
-
description: args.description || `Experience for ${args.name}`
|
|
2743
|
-
};
|
|
2744
|
-
// Check if UX framework is available
|
|
2745
|
-
const uxCheck = await this.client.searchRecords('sys_ux_experience', '', 1);
|
|
2746
|
-
if (!uxCheck.success) {
|
|
2747
|
-
return {
|
|
2748
|
-
success: false,
|
|
2749
|
-
error: 'Now Experience Framework (UXF) is not available in this ServiceNow instance.',
|
|
2750
|
-
suggestion: 'UX Workspace creation requires the Now Experience Framework plugin. Contact your ServiceNow administrator.',
|
|
2751
|
-
plugin_required: 'Now Experience Framework (UXF)',
|
|
2752
|
-
licensing_note: 'UXF may require additional ServiceNow licensing'
|
|
2753
|
-
};
|
|
2754
|
-
}
|
|
2755
|
-
const result = await this.client.createRecord('sys_ux_experience', experienceData);
|
|
2756
|
-
if (result.success && result.data && result.data.result && result.data.result.sys_id) {
|
|
2757
|
-
this.logger.info(`✅ UX Experience created with sys_id: ${result.data.result.sys_id}`);
|
|
2758
|
-
return {
|
|
2759
|
-
success: true,
|
|
2760
|
-
experience_sys_id: result.data.result.sys_id,
|
|
2761
|
-
message: `Experience '${args.name}' created successfully`,
|
|
2762
|
-
next_step: "Create App Configuration using this experience_sys_id"
|
|
2763
|
-
};
|
|
2764
|
-
}
|
|
2765
|
-
else {
|
|
2766
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error creating experience';
|
|
2767
|
-
throw new Error(`Failed to create experience: ${error}`);
|
|
2768
|
-
}
|
|
2769
|
-
}
|
|
2770
|
-
catch (error) {
|
|
2771
|
-
this.logger.error('Failed to create UX experience:', error);
|
|
2772
|
-
throw error;
|
|
2773
|
-
}
|
|
2774
|
-
}
|
|
2775
|
-
/**
|
|
2776
|
-
* STEP 2: Create App Configuration Record (sys_ux_app_config)
|
|
2777
|
-
* Links to the experience and contains workspace settings
|
|
2778
|
-
*/
|
|
2779
|
-
async snow_create_ux_app_config(args) {
|
|
2780
|
-
try {
|
|
2781
|
-
this.logger.info(`Creating UX App Config: ${args.name}`);
|
|
2782
|
-
// Validate experience_sys_id format
|
|
2783
|
-
if (!args.experience_sys_id || args.experience_sys_id.length !== 32) {
|
|
2784
|
-
return {
|
|
2785
|
-
success: false,
|
|
2786
|
-
error: `Invalid experience_sys_id: '${args.experience_sys_id}'. Must be a valid 32-character ServiceNow sys_id.`,
|
|
2787
|
-
suggestion: 'Use the sys_id returned from snow_create_ux_experience (Step 1)',
|
|
2788
|
-
validation_error: true
|
|
2789
|
-
};
|
|
2790
|
-
}
|
|
2791
|
-
// Validate experience exists
|
|
2792
|
-
const experienceCheck = await this.client.getRecord('sys_ux_experience', args.experience_sys_id);
|
|
2793
|
-
if (!experienceCheck.success) {
|
|
2794
|
-
return {
|
|
2795
|
-
success: false,
|
|
2796
|
-
error: `Experience with sys_id ${args.experience_sys_id} not found. Please create the experience first using snow_create_ux_experience.`,
|
|
2797
|
-
suggestion: 'Run Step 1: snow_create_ux_experience before creating app config'
|
|
2798
|
-
};
|
|
2799
|
-
}
|
|
2800
|
-
// Create app config record
|
|
2801
|
-
const configData = {
|
|
2802
|
-
name: args.name,
|
|
2803
|
-
experience_assoc: args.experience_sys_id, // CRITICAL: Link to experience
|
|
2804
|
-
description: args.description || `App configuration for ${args.name}`,
|
|
2805
|
-
// landing_page_route will be set in Step 6
|
|
2806
|
-
};
|
|
2807
|
-
const result = await this.client.createRecord('sys_ux_app_config', configData);
|
|
2808
|
-
if (result.success && result.data && result.data.result && result.data.result.sys_id) {
|
|
2809
|
-
this.logger.info(`✅ UX App Config created with sys_id: ${result.data.result.sys_id}`);
|
|
2810
|
-
return {
|
|
2811
|
-
success: true,
|
|
2812
|
-
app_config_sys_id: result.data.result.sys_id,
|
|
2813
|
-
message: `App Configuration '${args.name}' created successfully`,
|
|
2814
|
-
next_step: "Create Page Macroponent using this app_config_sys_id"
|
|
2815
|
-
};
|
|
2816
|
-
}
|
|
2817
|
-
else {
|
|
2818
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error creating app config';
|
|
2819
|
-
throw new Error(`Failed to create app config: ${error}`);
|
|
2820
|
-
}
|
|
2821
|
-
}
|
|
2822
|
-
catch (error) {
|
|
2823
|
-
this.logger.error('Failed to create UX app config:', error);
|
|
2824
|
-
throw error;
|
|
2825
|
-
}
|
|
2826
|
-
}
|
|
2827
|
-
/**
|
|
2828
|
-
* STEP 3: Create Page Macroponent Record (sys_ux_macroponent)
|
|
2829
|
-
* Defines the actual page content that will be displayed
|
|
2830
|
-
*/
|
|
2831
|
-
async snow_create_ux_page_macroponent(args) {
|
|
2832
|
-
try {
|
|
2833
|
-
this.logger.info(`Creating UX Page Macroponent: ${args.name}`);
|
|
2834
|
-
// Default composition for empty page
|
|
2835
|
-
const defaultComposition = {
|
|
2836
|
-
layout: {
|
|
2837
|
-
default: {
|
|
2838
|
-
"grid-template-columns": "1fr"
|
|
2839
|
-
}
|
|
2840
|
-
}
|
|
2841
|
-
};
|
|
2842
|
-
// Create macroponent record
|
|
2843
|
-
const macroponentData = {
|
|
2844
|
-
name: args.name,
|
|
2845
|
-
root_component: args.root_component || 'sn-canvas-panel', // Good default for pages
|
|
2846
|
-
composition: JSON.stringify(args.composition || defaultComposition),
|
|
2847
|
-
description: args.description || `Page macroponent for ${args.name}`
|
|
2848
|
-
};
|
|
2849
|
-
const result = await this.client.createRecord('sys_ux_macroponent', macroponentData);
|
|
2850
|
-
if (result.success && result.data && result.data.result && result.data.result.sys_id) {
|
|
2851
|
-
this.logger.info(`✅ UX Page Macroponent created with sys_id: ${result.data.result.sys_id}`);
|
|
2852
|
-
return {
|
|
2853
|
-
success: true,
|
|
2854
|
-
macroponent_sys_id: result.data.result.sys_id,
|
|
2855
|
-
message: `Page Macroponent '${args.name}' created successfully`,
|
|
2856
|
-
next_step: "Create Page Registry using this macroponent_sys_id and app_config_sys_id"
|
|
2857
|
-
};
|
|
2858
|
-
}
|
|
2859
|
-
else {
|
|
2860
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error creating page macroponent';
|
|
2861
|
-
throw new Error(`Failed to create page macroponent: ${error}`);
|
|
2862
|
-
}
|
|
2863
|
-
}
|
|
2864
|
-
catch (error) {
|
|
2865
|
-
this.logger.error('Failed to create UX page macroponent:', error);
|
|
2866
|
-
throw error;
|
|
2867
|
-
}
|
|
2868
|
-
}
|
|
2869
|
-
/**
|
|
2870
|
-
* STEP 4: Create Page Registry Record (sys_ux_page_registry)
|
|
2871
|
-
* Registers the page for use within the workspace configuration
|
|
2872
|
-
*/
|
|
2873
|
-
async snow_create_ux_page_registry(args) {
|
|
2874
|
-
try {
|
|
2875
|
-
this.logger.info(`Creating UX Page Registry: ${args.sys_name}`);
|
|
2876
|
-
// Validate app config and macroponent exist
|
|
2877
|
-
const configCheck = await this.client.getRecord('sys_ux_app_config', args.app_config_sys_id);
|
|
2878
|
-
if (!configCheck.success) {
|
|
2879
|
-
return {
|
|
2880
|
-
success: false,
|
|
2881
|
-
error: `App Config with sys_id ${args.app_config_sys_id} not found. Please create the app config first using snow_create_ux_app_config.`,
|
|
2882
|
-
suggestion: 'Run Step 2: snow_create_ux_app_config before creating page registry'
|
|
2883
|
-
};
|
|
2884
|
-
}
|
|
2885
|
-
const macroponentCheck = await this.client.getRecord('sys_ux_macroponent', args.macroponent_sys_id);
|
|
2886
|
-
if (!macroponentCheck.success) {
|
|
2887
|
-
return {
|
|
2888
|
-
success: false,
|
|
2889
|
-
error: `Macroponent with sys_id ${args.macroponent_sys_id} not found. Please create the macroponent first using snow_create_ux_page_macroponent.`,
|
|
2890
|
-
suggestion: 'Run Step 3: snow_create_ux_page_macroponent before creating page registry'
|
|
2891
|
-
};
|
|
2892
|
-
}
|
|
2893
|
-
// Create page registry record
|
|
2894
|
-
const registryData = {
|
|
2895
|
-
sys_name: args.sys_name, // Technical name for the page
|
|
2896
|
-
app_config: args.app_config_sys_id,
|
|
2897
|
-
root_macroponent: args.macroponent_sys_id,
|
|
2898
|
-
description: args.description || `Page registry for ${args.sys_name}`
|
|
2899
|
-
};
|
|
2900
|
-
const result = await this.client.createRecord('sys_ux_page_registry', registryData);
|
|
2901
|
-
if (result.success && result.data && result.data.result && result.data.result.sys_id) {
|
|
2902
|
-
this.logger.info(`✅ UX Page Registry created with sys_id: ${result.data.result.sys_id}`);
|
|
2903
|
-
return {
|
|
2904
|
-
success: true,
|
|
2905
|
-
page_registry_sys_id: result.data.result.sys_id,
|
|
2906
|
-
page_sys_name: args.sys_name,
|
|
2907
|
-
message: `Page Registry '${args.sys_name}' created successfully`,
|
|
2908
|
-
next_step: "Create Route using this page sys_name and app_config_sys_id"
|
|
2909
|
-
};
|
|
2910
|
-
}
|
|
2911
|
-
else {
|
|
2912
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error creating page registry';
|
|
2913
|
-
throw new Error(`Failed to create page registry: ${error}`);
|
|
2914
|
-
}
|
|
2915
|
-
}
|
|
2916
|
-
catch (error) {
|
|
2917
|
-
this.logger.error('Failed to create UX page registry:', error);
|
|
2918
|
-
throw error;
|
|
2919
|
-
}
|
|
2920
|
-
}
|
|
2921
|
-
/**
|
|
2922
|
-
* STEP 5: Create Route Record (sys_ux_app_route)
|
|
2923
|
-
* Defines the URL slug that leads to the page
|
|
2924
|
-
*/
|
|
2925
|
-
async snow_create_ux_app_route(args) {
|
|
2926
|
-
try {
|
|
2927
|
-
this.logger.info(`Creating UX App Route: ${args.name}`);
|
|
2928
|
-
// Validate app config exists
|
|
2929
|
-
const configCheck = await this.client.getRecord('sys_ux_app_config', args.app_config_sys_id);
|
|
2930
|
-
if (!configCheck.success) {
|
|
2931
|
-
return {
|
|
2932
|
-
success: false,
|
|
2933
|
-
error: `App Config with sys_id ${args.app_config_sys_id} not found. Please create the app config first using snow_create_ux_app_config.`,
|
|
2934
|
-
suggestion: 'Run Step 2: snow_create_ux_app_config before creating route'
|
|
2935
|
-
};
|
|
2936
|
-
}
|
|
2937
|
-
// Create route record
|
|
2938
|
-
const routeData = {
|
|
2939
|
-
name: args.name, // This becomes the URL slug
|
|
2940
|
-
app_config: args.app_config_sys_id,
|
|
2941
|
-
page: args.page_sys_name, // References the sys_name from page registry
|
|
2942
|
-
route_type: 'page',
|
|
2943
|
-
description: args.description || `Route for page ${args.page_sys_name}`
|
|
2944
|
-
};
|
|
2945
|
-
const result = await this.client.createRecord('sys_ux_app_route', routeData);
|
|
2946
|
-
if (result.success && result.data && result.data.result && result.data.result.sys_id) {
|
|
2947
|
-
this.logger.info(`✅ UX App Route created with sys_id: ${result.data.result.sys_id}`);
|
|
2948
|
-
return {
|
|
2949
|
-
success: true,
|
|
2950
|
-
route_sys_id: result.data.result.sys_id,
|
|
2951
|
-
route_name: args.name,
|
|
2952
|
-
url_slug: args.name,
|
|
2953
|
-
message: `Route '${args.name}' created successfully`,
|
|
2954
|
-
next_step: "Update App Configuration with this route as landing_page_route"
|
|
2955
|
-
};
|
|
2956
|
-
}
|
|
2957
|
-
else {
|
|
2958
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error creating app route';
|
|
2959
|
-
throw new Error(`Failed to create app route: ${error}`);
|
|
2960
|
-
}
|
|
2961
|
-
}
|
|
2962
|
-
catch (error) {
|
|
2963
|
-
this.logger.error('Failed to create UX app route:', error);
|
|
2964
|
-
throw error;
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2967
|
-
/**
|
|
2968
|
-
* STEP 6: Update App Configuration with Landing Page Route
|
|
2969
|
-
* Sets the default landing page for the workspace
|
|
2970
|
-
*/
|
|
2971
|
-
async snow_update_ux_app_config_landing_page(args) {
|
|
2972
|
-
try {
|
|
2973
|
-
this.logger.info(`Updating App Config landing page: ${args.app_config_sys_id}`);
|
|
2974
|
-
// Update app config with landing page route
|
|
2975
|
-
const updateData = {
|
|
2976
|
-
landing_page_route: args.route_name
|
|
2977
|
-
};
|
|
2978
|
-
const result = await this.client.updateRecord('sys_ux_app_config', args.app_config_sys_id, updateData);
|
|
2979
|
-
if (result.success) {
|
|
2980
|
-
this.logger.info(`✅ App Config updated with landing page route: ${args.route_name}`);
|
|
2981
|
-
return {
|
|
2982
|
-
success: true,
|
|
2983
|
-
message: `App Configuration updated with landing page route '${args.route_name}'`,
|
|
2984
|
-
workspace_complete: true,
|
|
2985
|
-
summary: "Workspace creation completed successfully - all 6 steps finished"
|
|
2986
|
-
};
|
|
2987
|
-
}
|
|
2988
|
-
else {
|
|
2989
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error updating app config';
|
|
2990
|
-
throw new Error(`Failed to update app config: ${error}`);
|
|
2991
|
-
}
|
|
2992
|
-
}
|
|
2993
|
-
catch (error) {
|
|
2994
|
-
this.logger.error('Failed to update app config landing page:', error);
|
|
2995
|
-
throw error;
|
|
2996
|
-
}
|
|
2997
|
-
}
|
|
2998
|
-
/**
|
|
2999
|
-
* COMPLETE UX WORKSPACE WORKFLOW: All steps for creating functional workspace
|
|
3000
|
-
* Based on official ServiceNow Now Experience Framework architecture
|
|
3001
|
-
*/
|
|
3002
|
-
async snow_create_complete_workspace(args) {
|
|
3003
|
-
try {
|
|
3004
|
-
this.logger.info(`🚀 Starting complete UX workspace creation: ${args.workspace_name}`);
|
|
3005
|
-
const results = {
|
|
3006
|
-
workspace_name: args.workspace_name,
|
|
3007
|
-
steps_completed: [],
|
|
3008
|
-
sys_ids: {},
|
|
3009
|
-
workspace_type: 'Now Experience Framework Workspace'
|
|
3010
|
-
};
|
|
3011
|
-
// STEP 1: Create UX Experience (sys_ux_experience)
|
|
3012
|
-
const experience = await this.snow_create_ux_experience({
|
|
3013
|
-
name: args.workspace_name,
|
|
3014
|
-
description: args.description || `Complete UX workspace: ${args.workspace_name}`,
|
|
3015
|
-
root_macroponent: args.root_macroponent
|
|
3016
|
-
});
|
|
3017
|
-
results.steps_completed.push('UX Experience Created');
|
|
3018
|
-
results.sys_ids.experience_sys_id = experience.experience_sys_id;
|
|
3019
|
-
// STEP 2: Create List Menu Configuration (sys_ux_list_menu_config)
|
|
3020
|
-
const listMenuConfig = await this.createListMenuConfiguration({
|
|
3021
|
-
name: `${args.workspace_name} List Menu`,
|
|
3022
|
-
experience_sys_id: experience.experience_sys_id,
|
|
3023
|
-
description: `List menu for ${args.workspace_name}`
|
|
3024
|
-
});
|
|
3025
|
-
results.steps_completed.push('List Menu Configuration Created');
|
|
3026
|
-
results.sys_ids.list_menu_config_sys_id = listMenuConfig.sys_id;
|
|
3027
|
-
// STEP 3: Create App Configuration (sys_ux_app_config)
|
|
3028
|
-
const appConfig = await this.snow_create_ux_app_config({
|
|
3029
|
-
name: `${args.workspace_name} Config`,
|
|
3030
|
-
experience_sys_id: experience.experience_sys_id,
|
|
3031
|
-
description: `App configuration for ${args.workspace_name}`,
|
|
3032
|
-
list_config_id: listMenuConfig.sys_id
|
|
3033
|
-
});
|
|
3034
|
-
results.steps_completed.push('App Configuration Created');
|
|
3035
|
-
results.sys_ids.app_config_sys_id = appConfig.app_config_sys_id;
|
|
3036
|
-
// STEP 4: Create Page Properties for Chrome Configuration
|
|
3037
|
-
const chromeConfig = await this.createWorkspacePageProperties({
|
|
3038
|
-
experience_sys_id: experience.experience_sys_id,
|
|
3039
|
-
workspace_name: args.workspace_name
|
|
3040
|
-
});
|
|
3041
|
-
results.steps_completed.push('Page Properties Configured');
|
|
3042
|
-
results.sys_ids.page_properties = chromeConfig.page_properties;
|
|
3043
|
-
// STEP 5: Create List Categories and Lists if specified
|
|
3044
|
-
if (args.tables && args.tables.length > 0) {
|
|
3045
|
-
const listConfiguration = await this.createWorkspaceListConfiguration({
|
|
3046
|
-
list_menu_config_sys_id: listMenuConfig.sys_id,
|
|
3047
|
-
tables: args.tables,
|
|
3048
|
-
workspace_name: args.workspace_name
|
|
3049
|
-
});
|
|
3050
|
-
results.steps_completed.push('List Configuration Created');
|
|
3051
|
-
results.sys_ids.list_categories = listConfiguration.categories;
|
|
3052
|
-
results.sys_ids.lists = listConfiguration.lists;
|
|
3053
|
-
}
|
|
3054
|
-
// STEP 6: Create App Route for workspace access
|
|
3055
|
-
const routeName = args.route_name || this.generateWorkspaceUrl(args.workspace_name);
|
|
3056
|
-
const appRoute = await this.snow_create_ux_app_route({
|
|
3057
|
-
name: routeName,
|
|
3058
|
-
route: `/${routeName}`,
|
|
3059
|
-
experience_sys_id: experience.experience_sys_id,
|
|
3060
|
-
description: `Route for ${args.workspace_name} workspace`
|
|
3061
|
-
});
|
|
3062
|
-
results.steps_completed.push('App Route Created');
|
|
3063
|
-
results.sys_ids.app_route_sys_id = appRoute.route_sys_id;
|
|
3064
|
-
this.logger.info(`🎉 Complete UX workspace creation finished successfully!`);
|
|
3065
|
-
return {
|
|
3066
|
-
success: true,
|
|
3067
|
-
workspace_name: args.workspace_name,
|
|
3068
|
-
workspace_type: 'Now Experience Framework Workspace',
|
|
3069
|
-
all_steps_completed: true,
|
|
3070
|
-
steps_completed: results.steps_completed,
|
|
3071
|
-
sys_ids: results.sys_ids,
|
|
3072
|
-
workspace_url: `/now/experience/${routeName}`,
|
|
3073
|
-
message: `UX Workspace '${args.workspace_name}' created successfully with complete Now Experience Framework setup`,
|
|
3074
|
-
summary: `Experience → List Menu → App Config → Page Properties → List Configuration → App Route - Complete NXF workspace ready`,
|
|
3075
|
-
next_steps: [
|
|
3076
|
-
'Access workspace via navigation menu',
|
|
3077
|
-
'Configure additional list categories if needed',
|
|
3078
|
-
'Customize page properties for specific requirements',
|
|
3079
|
-
'Add declarative actions for enhanced functionality'
|
|
3080
|
-
]
|
|
3081
|
-
};
|
|
3082
|
-
}
|
|
3083
|
-
catch (error) {
|
|
3084
|
-
this.logger.error('Failed to create complete UX workspace:', error);
|
|
3085
|
-
throw error;
|
|
3086
|
-
}
|
|
3087
|
-
}
|
|
3088
|
-
/**
|
|
3089
|
-
* Create List Menu Configuration for workspace
|
|
3090
|
-
*/
|
|
3091
|
-
async createListMenuConfiguration(args) {
|
|
3092
|
-
try {
|
|
3093
|
-
const listMenuData = {
|
|
3094
|
-
name: args.name,
|
|
3095
|
-
experience: args.experience_sys_id,
|
|
3096
|
-
description: args.description || `List menu configuration for workspace`,
|
|
3097
|
-
active: true
|
|
3098
|
-
};
|
|
3099
|
-
const result = await this.client.createRecord('sys_ux_list_menu_config', listMenuData);
|
|
3100
|
-
if (result.success && result.data && result.data.result && result.data.result.sys_id) {
|
|
3101
|
-
this.logger.info(`✅ List Menu Configuration created with sys_id: ${result.data.result.sys_id}`);
|
|
3102
|
-
return {
|
|
3103
|
-
success: true,
|
|
3104
|
-
sys_id: result.data.result.sys_id
|
|
3105
|
-
};
|
|
3106
|
-
}
|
|
3107
|
-
else {
|
|
3108
|
-
const error = (result.data && result.data.error) || (result.error) || 'Unknown error creating list menu config';
|
|
3109
|
-
throw new Error(`Failed to create list menu configuration: ${error}`);
|
|
3110
|
-
}
|
|
3111
|
-
}
|
|
3112
|
-
catch (error) {
|
|
3113
|
-
this.logger.error('Failed to create list menu configuration:', error);
|
|
3114
|
-
throw error;
|
|
3115
|
-
}
|
|
3116
|
-
}
|
|
3117
|
-
/**
|
|
3118
|
-
* Create Workspace Page Properties (chrome_tab, chrome_main)
|
|
3119
|
-
*/
|
|
3120
|
-
async createWorkspacePageProperties(args) {
|
|
3121
|
-
try {
|
|
3122
|
-
const pageProperties = [];
|
|
3123
|
-
// Chrome tab property
|
|
3124
|
-
const chromeTabData = {
|
|
3125
|
-
experience: args.experience_sys_id,
|
|
3126
|
-
name: 'chrome_tab',
|
|
3127
|
-
value: JSON.stringify({ title: args.workspace_name }),
|
|
3128
|
-
type: 'object'
|
|
3129
|
-
};
|
|
3130
|
-
const chromeTabResult = await this.client.createRecord('sys_ux_page_property', chromeTabData);
|
|
3131
|
-
if (chromeTabResult.success) {
|
|
3132
|
-
pageProperties.push({ name: 'chrome_tab', sys_id: chromeTabResult.data.result.sys_id });
|
|
3133
|
-
}
|
|
3134
|
-
// Chrome main property
|
|
3135
|
-
const chromeMainData = {
|
|
3136
|
-
experience: args.experience_sys_id,
|
|
3137
|
-
name: 'chrome_main',
|
|
3138
|
-
value: JSON.stringify({
|
|
3139
|
-
showLeftNav: true,
|
|
3140
|
-
leftNavCollapsible: true,
|
|
3141
|
-
showHeader: true
|
|
3142
|
-
}),
|
|
3143
|
-
type: 'object'
|
|
3144
|
-
};
|
|
3145
|
-
const chromeMainResult = await this.client.createRecord('sys_ux_page_property', chromeMainData);
|
|
3146
|
-
if (chromeMainResult.success) {
|
|
3147
|
-
pageProperties.push({ name: 'chrome_main', sys_id: chromeMainResult.data.result.sys_id });
|
|
3148
|
-
}
|
|
3149
|
-
this.logger.info(`✅ Workspace page properties created`);
|
|
3150
|
-
return {
|
|
3151
|
-
success: true,
|
|
3152
|
-
page_properties: pageProperties
|
|
3153
|
-
};
|
|
3154
|
-
}
|
|
3155
|
-
catch (error) {
|
|
3156
|
-
this.logger.error('Failed to create workspace page properties:', error);
|
|
3157
|
-
throw error;
|
|
3158
|
-
}
|
|
3159
|
-
}
|
|
3160
|
-
/**
|
|
3161
|
-
* Create List Configuration (categories and lists) for workspace
|
|
3162
|
-
*/
|
|
3163
|
-
async createWorkspaceListConfiguration(args) {
|
|
3164
|
-
try {
|
|
3165
|
-
const categories = [];
|
|
3166
|
-
const lists = [];
|
|
3167
|
-
for (const table of args.tables) {
|
|
3168
|
-
// Create List Category
|
|
3169
|
-
const categoryData = {
|
|
3170
|
-
name: this.capitalizeTableName(table),
|
|
3171
|
-
list_menu_config: args.list_menu_config_sys_id,
|
|
3172
|
-
table: table,
|
|
3173
|
-
order: args.tables.indexOf(table) * 100,
|
|
3174
|
-
active: true
|
|
3175
|
-
};
|
|
3176
|
-
const categoryResult = await this.client.createRecord('sys_ux_list_category', categoryData);
|
|
3177
|
-
if (categoryResult.success) {
|
|
3178
|
-
const categorySysId = categoryResult.data.result.sys_id;
|
|
3179
|
-
categories.push({ table: table, sys_id: categorySysId });
|
|
3180
|
-
// Create default list for this category
|
|
3181
|
-
const listData = {
|
|
3182
|
-
name: `All ${this.capitalizeTableName(table)}`,
|
|
3183
|
-
category: categorySysId,
|
|
3184
|
-
table: table,
|
|
3185
|
-
filter: '', // No filter = show all records
|
|
3186
|
-
order: 100,
|
|
3187
|
-
active: true
|
|
3188
|
-
};
|
|
3189
|
-
const listResult = await this.client.createRecord('sys_ux_list', listData);
|
|
3190
|
-
if (listResult.success) {
|
|
3191
|
-
lists.push({
|
|
3192
|
-
table: table,
|
|
3193
|
-
category_sys_id: categorySysId,
|
|
3194
|
-
list_sys_id: listResult.data.result.sys_id
|
|
3195
|
-
});
|
|
3196
|
-
}
|
|
3197
|
-
}
|
|
3198
|
-
}
|
|
3199
|
-
this.logger.info(`✅ Created ${categories.length} categories and ${lists.length} lists`);
|
|
3200
|
-
return {
|
|
3201
|
-
success: true,
|
|
3202
|
-
categories: categories,
|
|
3203
|
-
lists: lists
|
|
3204
|
-
};
|
|
3205
|
-
}
|
|
3206
|
-
catch (error) {
|
|
3207
|
-
this.logger.error('Failed to create workspace list configuration:', error);
|
|
3208
|
-
throw error;
|
|
3209
|
-
}
|
|
3210
|
-
}
|
|
3211
|
-
/**
|
|
3212
|
-
* Capitalize table name for display
|
|
3213
|
-
*/
|
|
3214
|
-
capitalizeTableName(tableName) {
|
|
3215
|
-
return tableName
|
|
3216
|
-
.replace(/_/g, ' ')
|
|
3217
|
-
.replace(/\b\w/g, l => l.toUpperCase());
|
|
3218
|
-
}
|
|
3219
|
-
/**
|
|
3220
|
-
* COMPREHENSIVE WORKSPACE DISCOVERY
|
|
3221
|
-
* Discovers all workspace types across ServiceNow
|
|
3222
|
-
*/
|
|
3223
|
-
async discoverAllWorkspaces(args) {
|
|
3224
|
-
try {
|
|
3225
|
-
this.logger.info('Discovering all ServiceNow workspaces...');
|
|
3226
|
-
const discovery = {
|
|
3227
|
-
ux_experiences: [],
|
|
3228
|
-
agent_workspaces: [],
|
|
3229
|
-
ui_builder_pages: [],
|
|
3230
|
-
total_count: 0
|
|
3231
|
-
};
|
|
3232
|
-
// Discover UX Experiences (Now Experience Framework)
|
|
3233
|
-
if (args.include_ux_experiences) {
|
|
3234
|
-
const experiencesQuery = args.active_only ? 'active=true' : '';
|
|
3235
|
-
const experiencesResult = await this.client.searchRecords('sys_ux_experience', experiencesQuery, 50);
|
|
3236
|
-
if (experiencesResult.success) {
|
|
3237
|
-
discovery.ux_experiences = experiencesResult.data.result.map((exp) => ({
|
|
3238
|
-
type: 'UX Experience',
|
|
3239
|
-
name: exp.name,
|
|
3240
|
-
sys_id: exp.sys_id,
|
|
3241
|
-
description: exp.description || 'No description',
|
|
3242
|
-
active: exp.active,
|
|
3243
|
-
url: `/now/experience/${exp.name?.toLowerCase().replace(/\s+/g, '-')}`
|
|
3244
|
-
}));
|
|
3245
|
-
}
|
|
3246
|
-
}
|
|
3247
|
-
// Discover Agent Workspaces (Configurable)
|
|
3248
|
-
if (args.include_agent_workspaces) {
|
|
3249
|
-
const routesQuery = args.active_only ? 'active=true^route_type=workspace' : 'route_type=workspace';
|
|
3250
|
-
const routesResult = await this.client.searchRecords('sys_ux_app_route', routesQuery, 50);
|
|
3251
|
-
if (routesResult.success) {
|
|
3252
|
-
discovery.agent_workspaces = routesResult.data.result.map((route) => ({
|
|
3253
|
-
type: 'Agent Workspace',
|
|
3254
|
-
name: route.name,
|
|
3255
|
-
sys_id: route.sys_id,
|
|
3256
|
-
description: route.description || 'No description',
|
|
3257
|
-
route: route.route,
|
|
3258
|
-
active: route.active,
|
|
3259
|
-
url: `/now/workspace${route.route}`
|
|
3260
|
-
}));
|
|
3261
|
-
}
|
|
3262
|
-
}
|
|
3263
|
-
// Discover UI Builder Pages
|
|
3264
|
-
if (args.include_ui_builder) {
|
|
3265
|
-
const pagesQuery = args.active_only ? 'active=true' : '';
|
|
3266
|
-
const pagesResult = await this.client.searchRecords('sys_ux_page', pagesQuery, 50);
|
|
3267
|
-
if (pagesResult.success) {
|
|
3268
|
-
discovery.ui_builder_pages = pagesResult.data.result.map((page) => ({
|
|
3269
|
-
type: 'UI Builder Page',
|
|
3270
|
-
name: page.name,
|
|
3271
|
-
sys_id: page.sys_id,
|
|
3272
|
-
description: page.description || 'No description',
|
|
3273
|
-
active: page.active
|
|
3274
|
-
}));
|
|
3275
|
-
}
|
|
3276
|
-
}
|
|
3277
|
-
discovery.total_count = discovery.ux_experiences.length +
|
|
3278
|
-
discovery.agent_workspaces.length +
|
|
3279
|
-
discovery.ui_builder_pages.length;
|
|
3280
|
-
this.logger.info(`✅ Discovered ${discovery.total_count} workspaces total`);
|
|
3281
|
-
return {
|
|
3282
|
-
success: true,
|
|
3283
|
-
discovery: discovery,
|
|
3284
|
-
summary: {
|
|
3285
|
-
ux_experiences: discovery.ux_experiences.length,
|
|
3286
|
-
agent_workspaces: discovery.agent_workspaces.length,
|
|
3287
|
-
ui_builder_pages: discovery.ui_builder_pages.length,
|
|
3288
|
-
total_workspaces: discovery.total_count
|
|
3289
|
-
},
|
|
3290
|
-
message: `Found ${discovery.total_count} workspaces across all types`
|
|
3291
|
-
};
|
|
3292
|
-
}
|
|
3293
|
-
catch (error) {
|
|
3294
|
-
this.logger.error('Failed to discover workspaces:', error);
|
|
3295
|
-
throw error;
|
|
3296
|
-
}
|
|
3297
|
-
}
|
|
3298
|
-
/**
|
|
3299
|
-
* WORKSPACE CONFIGURATION VALIDATION
|
|
3300
|
-
* Validates workspace setup for best practices and completeness
|
|
3301
|
-
*/
|
|
3302
|
-
async validateWorkspaceConfiguration(args) {
|
|
3303
|
-
try {
|
|
3304
|
-
this.logger.info(`Validating ${args.workspace_type} workspace: ${args.workspace_sys_id}`);
|
|
3305
|
-
const validation = {
|
|
3306
|
-
workspace_sys_id: args.workspace_sys_id,
|
|
3307
|
-
workspace_type: args.workspace_type,
|
|
3308
|
-
issues: [],
|
|
3309
|
-
warnings: [],
|
|
3310
|
-
recommendations: [],
|
|
3311
|
-
score: 0
|
|
3312
|
-
};
|
|
3313
|
-
if (args.workspace_type === 'ux_experience') {
|
|
3314
|
-
// Validate UX Experience workspace
|
|
3315
|
-
const experience = await this.client.getRecord('sys_ux_experience', args.workspace_sys_id);
|
|
3316
|
-
if (experience.success) {
|
|
3317
|
-
const expData = experience.data.result;
|
|
3318
|
-
// Check if experience is active
|
|
3319
|
-
if (!expData.active) {
|
|
3320
|
-
validation.issues.push('Experience is not active');
|
|
3321
|
-
}
|
|
3322
|
-
// Check if it has app config
|
|
3323
|
-
const appConfigQuery = await this.client.searchRecords('sys_ux_app_config', `experience_assoc=${args.workspace_sys_id}`);
|
|
3324
|
-
if (!appConfigQuery.success || appConfigQuery.data.result.length === 0) {
|
|
3325
|
-
validation.issues.push('No app configuration found for experience');
|
|
3326
|
-
}
|
|
3327
|
-
else {
|
|
3328
|
-
validation.score += 25;
|
|
3329
|
-
// Check if app config has list configuration
|
|
3330
|
-
const appConfig = appConfigQuery.data.result[0];
|
|
3331
|
-
if (!appConfig.list_config_id) {
|
|
3332
|
-
validation.warnings.push('No list configuration linked to app config');
|
|
3333
|
-
}
|
|
3334
|
-
else {
|
|
3335
|
-
validation.score += 25;
|
|
3336
|
-
}
|
|
3337
|
-
}
|
|
3338
|
-
// Check for page properties
|
|
3339
|
-
const pagePropsQuery = await this.client.searchRecords('sys_ux_page_property', `experience=${args.workspace_sys_id}`);
|
|
3340
|
-
if (pagePropsQuery.success && pagePropsQuery.data.result.length > 0) {
|
|
3341
|
-
validation.score += 25;
|
|
3342
|
-
}
|
|
3343
|
-
else {
|
|
3344
|
-
validation.warnings.push('No page properties configured (chrome_tab, chrome_main)');
|
|
3345
|
-
}
|
|
3346
|
-
}
|
|
3347
|
-
else {
|
|
3348
|
-
validation.issues.push('Experience record not found');
|
|
3349
|
-
}
|
|
3350
|
-
}
|
|
3351
|
-
// Performance recommendations
|
|
3352
|
-
if (args.check_performance && validation.score > 50) {
|
|
3353
|
-
validation.recommendations.push('Consider enabling caching for better performance');
|
|
3354
|
-
validation.recommendations.push('Add loading indicators for better user experience');
|
|
3355
|
-
}
|
|
3356
|
-
// Security recommendations
|
|
3357
|
-
if (args.check_security) {
|
|
3358
|
-
validation.recommendations.push('Review access controls and role requirements');
|
|
3359
|
-
validation.recommendations.push('Validate data privacy settings for workspace');
|
|
3360
|
-
}
|
|
3361
|
-
validation.score = Math.min(100, validation.score);
|
|
3362
|
-
this.logger.info(`✅ Workspace validation completed - Score: ${validation.score}/100`);
|
|
3363
|
-
return {
|
|
3364
|
-
success: true,
|
|
3365
|
-
validation: validation,
|
|
3366
|
-
grade: validation.score >= 80 ? 'Excellent' : validation.score >= 60 ? 'Good' : validation.score >= 40 ? 'Needs Improvement' : 'Critical Issues',
|
|
3367
|
-
summary: `${validation.issues.length} issues, ${validation.warnings.length} warnings, ${validation.recommendations.length} recommendations`
|
|
3368
|
-
};
|
|
3369
|
-
}
|
|
3370
|
-
catch (error) {
|
|
3371
|
-
this.logger.error('Failed to validate workspace configuration:', error);
|
|
3372
|
-
throw error;
|
|
3373
|
-
}
|
|
3374
|
-
}
|
|
3375
|
-
/**
|
|
3376
|
-
* CONFIGURABLE AGENT WORKSPACE: Create using UX App architecture
|
|
3377
|
-
*/
|
|
3378
|
-
async snow_create_configurable_agent_workspace(args) {
|
|
3379
|
-
try {
|
|
3380
|
-
this.logger.info(`Creating Configurable Agent Workspace: ${args.name}`);
|
|
3381
|
-
// Check if Agent Workspace plugin is available
|
|
3382
|
-
const awCheck = await this.client.searchRecords('sys_ux_screen_type', '', 1);
|
|
3383
|
-
if (!awCheck.success) {
|
|
3384
|
-
return {
|
|
3385
|
-
success: false,
|
|
3386
|
-
error: 'Agent Workspace plugin is not available in this ServiceNow instance.',
|
|
3387
|
-
suggestion: 'Install Agent Workspace plugin from ServiceNow Store',
|
|
3388
|
-
plugin_required: 'Agent Workspace',
|
|
3389
|
-
licensing_note: 'Agent Workspace requires additional ServiceNow licensing'
|
|
3390
|
-
};
|
|
3391
|
-
}
|
|
3392
|
-
const results = {
|
|
3393
|
-
workspace_name: args.name,
|
|
3394
|
-
workspace_type: 'Configurable Agent Workspace',
|
|
3395
|
-
steps_completed: [],
|
|
3396
|
-
sys_ids: {}
|
|
3397
|
-
};
|
|
3398
|
-
// Step 1: Create UX App Route
|
|
3399
|
-
const cleanRoute = this.generateWorkspaceUrl(args.name);
|
|
3400
|
-
const appRouteData = {
|
|
3401
|
-
route: `/${cleanRoute}`,
|
|
3402
|
-
name: args.name,
|
|
3403
|
-
title: args.name,
|
|
3404
|
-
description: args.description || `Configurable Agent Workspace: ${args.name}`,
|
|
3405
|
-
application: args.application || 'global',
|
|
3406
|
-
route_type: 'workspace',
|
|
3407
|
-
active: true
|
|
3408
|
-
};
|
|
3409
|
-
const appRouteResult = await this.client.createRecord('sys_ux_app_route', appRouteData);
|
|
3410
|
-
if (!appRouteResult.success) {
|
|
3411
|
-
return {
|
|
3412
|
-
success: false,
|
|
3413
|
-
error: `UX App Route creation failed: ${appRouteResult.error}`,
|
|
3414
|
-
suggestion: 'Check Agent Workspace permissions and licensing'
|
|
3415
|
-
};
|
|
3416
|
-
}
|
|
3417
|
-
results.steps_completed.push('UX App Route Created');
|
|
3418
|
-
results.sys_ids.app_route_sys_id = appRouteResult.data.result.sys_id;
|
|
3419
|
-
// Step 2: Create Screen Collections for each table
|
|
3420
|
-
if (args.tables && args.tables.length > 0) {
|
|
3421
|
-
const screenTypes = [];
|
|
3422
|
-
for (const table of args.tables) {
|
|
3423
|
-
const screenTypeData = {
|
|
3424
|
-
name: `${args.name} - ${this.capitalizeTableName(table)}`,
|
|
3425
|
-
table: table,
|
|
3426
|
-
workspace_route: appRouteResult.data.result.sys_id,
|
|
3427
|
-
active: true
|
|
3428
|
-
};
|
|
3429
|
-
const screenTypeResult = await this.client.createRecord('sys_ux_screen_type', screenTypeData);
|
|
3430
|
-
if (screenTypeResult.success) {
|
|
3431
|
-
screenTypes.push({ table: table, sys_id: screenTypeResult.data.result.sys_id });
|
|
3432
|
-
}
|
|
3433
|
-
}
|
|
3434
|
-
results.steps_completed.push('Screen Collections Created');
|
|
3435
|
-
results.sys_ids.screen_types = screenTypes;
|
|
3436
|
-
}
|
|
3437
|
-
this.logger.info(`✅ Configurable Agent Workspace created successfully`);
|
|
3438
|
-
return {
|
|
3439
|
-
success: true,
|
|
3440
|
-
workspace_name: args.name,
|
|
3441
|
-
workspace_type: 'Configurable Agent Workspace',
|
|
3442
|
-
steps_completed: results.steps_completed,
|
|
3443
|
-
sys_ids: results.sys_ids,
|
|
3444
|
-
workspace_url: `/now/workspace/${cleanRoute}`,
|
|
3445
|
-
message: `Configurable Agent Workspace '${args.name}' created successfully`,
|
|
3446
|
-
summary: `UX App Route → Screen Collections → Ready for agent use`
|
|
3447
|
-
};
|
|
3448
|
-
}
|
|
3449
|
-
catch (error) {
|
|
3450
|
-
this.logger.error('Failed to create Configurable Agent Workspace:', error);
|
|
3451
|
-
throw error;
|
|
3452
|
-
}
|
|
3453
|
-
}
|
|
3454
|
-
/**
|
|
3455
|
-
* Generate technical name for pages (consistent formatting)
|
|
3456
|
-
*/
|
|
3457
|
-
generateTechnicalName(workspaceName, pageName) {
|
|
3458
|
-
const combined = `${workspaceName}_${pageName}`;
|
|
3459
|
-
return combined
|
|
3460
|
-
.toLowerCase()
|
|
3461
|
-
.trim()
|
|
3462
|
-
.replace(/\s+/g, '_')
|
|
3463
|
-
.replace(/[^a-z0-9_]/g, '')
|
|
3464
|
-
.replace(/__+/g, '_')
|
|
3465
|
-
.replace(/^_|_$/g, '')
|
|
3466
|
-
.substring(0, 80);
|
|
3467
|
-
}
|
|
3468
|
-
/**
|
|
3469
|
-
* Generate valid workspace URL from name (fix from user feedback)
|
|
3470
|
-
*/
|
|
3471
|
-
generateWorkspaceUrl(name) {
|
|
3472
|
-
return name
|
|
3473
|
-
.toLowerCase()
|
|
3474
|
-
.trim()
|
|
3475
|
-
.replace(/\s+/g, '-') // Spaces -> hyphens
|
|
3476
|
-
.replace(/[^a-z0-9-]/g, '') // Remove special characters
|
|
3477
|
-
.replace(/--+/g, '-') // Multiple hyphens -> single
|
|
3478
|
-
.replace(/^-|-$/g, '') // Trim leading/trailing hyphens
|
|
3479
|
-
.substring(0, 80); // Max 80 chars (ServiceNow field limit)
|
|
3480
|
-
}
|
|
3481
|
-
/**
|
|
3482
|
-
* Validate workspace configuration (fix from user feedback)
|
|
3483
|
-
*/
|
|
3484
|
-
/**
|
|
3485
|
-
* COMPREHENSIVE PLUGIN DETECTION SYSTEM
|
|
3486
|
-
* Checks all required plugins before tool execution
|
|
3487
|
-
*/
|
|
3488
|
-
async checkPluginAvailabilityForTool(toolType) {
|
|
3489
|
-
try {
|
|
3490
|
-
switch (toolType) {
|
|
3491
|
-
case 'ui_builder':
|
|
3492
|
-
const uiBuilderCheck = await this.client.searchRecords('sys_ux_page', '', 1);
|
|
3493
|
-
if (!uiBuilderCheck.success) {
|
|
3494
|
-
return {
|
|
3495
|
-
available: false,
|
|
3496
|
-
error: 'UI Builder plugin not installed or not accessible',
|
|
3497
|
-
suggestion: 'Install UI Builder plugin from ServiceNow Store. Requires ui_builder_admin + ui_builder_user roles.',
|
|
3498
|
-
alternative: 'Use Service Portal widgets for custom UI development instead'
|
|
3499
|
-
};
|
|
3500
|
-
}
|
|
3501
|
-
break;
|
|
3502
|
-
case 'now_experience_framework':
|
|
3503
|
-
const uxfCheck = await this.client.searchRecords('sys_ux_experience', '', 1);
|
|
3504
|
-
if (!uxfCheck.success) {
|
|
3505
|
-
return {
|
|
3506
|
-
available: false,
|
|
3507
|
-
error: 'Now Experience Framework (UXF) not available',
|
|
3508
|
-
suggestion: 'Enable Now Experience Framework in ServiceNow instance. May require additional licensing.',
|
|
3509
|
-
alternative: 'Use traditional ServiceNow interface development instead'
|
|
3510
|
-
};
|
|
3511
|
-
}
|
|
3512
|
-
break;
|
|
3513
|
-
case 'agent_workspace':
|
|
3514
|
-
const agentWorkspaceCheck = await this.client.searchRecords('sys_ux_screen_type', '', 1);
|
|
3515
|
-
if (!agentWorkspaceCheck.success) {
|
|
3516
|
-
return {
|
|
3517
|
-
available: false,
|
|
3518
|
-
error: 'Agent Workspace plugin not installed',
|
|
3519
|
-
suggestion: 'Install Agent Workspace plugin from ServiceNow Store. Requires workspace_admin role.',
|
|
3520
|
-
alternative: 'Use traditional forms and lists for agent interfaces'
|
|
3521
|
-
};
|
|
3522
|
-
}
|
|
3523
|
-
break;
|
|
3524
|
-
case 'mobile_publishing':
|
|
3525
|
-
const mobileCheck = await this.client.searchRecords('sys_push_notif_msg', '', 1);
|
|
3526
|
-
if (!mobileCheck.success) {
|
|
3527
|
-
return {
|
|
3528
|
-
available: false,
|
|
3529
|
-
error: 'Mobile Publishing plugin not available',
|
|
3530
|
-
suggestion: 'Install Mobile Publishing plugin from ServiceNow Store. Requires additional licensing and mobile_admin role.',
|
|
3531
|
-
alternative: 'Use responsive Service Portal pages for mobile interfaces'
|
|
3532
|
-
};
|
|
3533
|
-
}
|
|
3534
|
-
break;
|
|
3535
|
-
}
|
|
3536
|
-
return { available: true };
|
|
3537
|
-
}
|
|
3538
|
-
catch (error) {
|
|
3539
|
-
return {
|
|
3540
|
-
available: false,
|
|
3541
|
-
error: `Plugin check failed: ${error}`,
|
|
3542
|
-
suggestion: 'Check ServiceNow connectivity and basic table access permissions'
|
|
3543
|
-
};
|
|
3544
|
-
}
|
|
3545
|
-
}
|
|
3546
|
-
/**
|
|
3547
|
-
* SAFE TOOL EXECUTION WRAPPER
|
|
3548
|
-
* Ensures all tools return proper feedback instead of throwing
|
|
3549
|
-
*/
|
|
3550
|
-
async safeToolExecution(toolName, operation, pluginType) {
|
|
3551
|
-
try {
|
|
3552
|
-
this.logger.info(`🛠️ Executing tool: ${toolName}`);
|
|
3553
|
-
// Step 1: Check plugin availability
|
|
3554
|
-
const pluginCheck = await this.checkPluginAvailabilityForTool(pluginType);
|
|
3555
|
-
if (!pluginCheck.available) {
|
|
3556
|
-
this.logger.warn(`⚠️ Plugin check failed for ${toolName}`);
|
|
3557
|
-
return {
|
|
3558
|
-
success: false,
|
|
3559
|
-
tool_name: toolName,
|
|
3560
|
-
plugin_type: pluginType,
|
|
3561
|
-
...pluginCheck
|
|
3562
|
-
};
|
|
3563
|
-
}
|
|
3564
|
-
// Step 2: Execute operation
|
|
3565
|
-
const result = await operation();
|
|
3566
|
-
this.logger.info(`✅ Tool ${toolName} executed successfully`);
|
|
3567
|
-
return {
|
|
3568
|
-
...result,
|
|
3569
|
-
tool_name: toolName,
|
|
3570
|
-
plugin_verified: true,
|
|
3571
|
-
execution_timestamp: new Date().toISOString()
|
|
3572
|
-
};
|
|
3573
|
-
}
|
|
3574
|
-
catch (error) {
|
|
3575
|
-
this.logger.error(`❌ Tool ${toolName} failed with exception:`, error);
|
|
3576
|
-
// NEVER throw - always return error object
|
|
3577
|
-
return {
|
|
3578
|
-
success: false,
|
|
3579
|
-
tool_name: toolName,
|
|
3580
|
-
error: `Tool execution failed: ${error}`,
|
|
3581
|
-
suggestion: 'Check ServiceNow connectivity, permissions, and plugin installation',
|
|
3582
|
-
execution_type: 'EXCEPTION_CAUGHT',
|
|
3583
|
-
debug_info: {
|
|
3584
|
-
error_type: error instanceof Error ? error.constructor.name : 'Unknown',
|
|
3585
|
-
error_message: String(error),
|
|
3586
|
-
stack_trace: error instanceof Error ? error.stack : undefined
|
|
3587
|
-
}
|
|
3588
|
-
};
|
|
3589
|
-
}
|
|
3590
|
-
}
|
|
3591
|
-
validateWorkspaceConfig(config) {
|
|
3592
|
-
const errors = [];
|
|
3593
|
-
// Check required fields
|
|
3594
|
-
if (!config.name)
|
|
3595
|
-
errors.push('name is required');
|
|
3596
|
-
if (!config.workspace_url)
|
|
3597
|
-
errors.push('workspace_url is required');
|
|
3598
|
-
if (!config.navigation_type)
|
|
3599
|
-
errors.push('navigation_type is required');
|
|
3600
|
-
// Validate workspace_url format
|
|
3601
|
-
if (config.workspace_url && !/^[a-z0-9-]+$/.test(config.workspace_url)) {
|
|
3602
|
-
errors.push('workspace_url must contain only lowercase letters, numbers and hyphens');
|
|
3603
|
-
}
|
|
3604
|
-
return errors;
|
|
3605
|
-
}
|
|
3606
|
-
async run() {
|
|
3607
|
-
try {
|
|
3608
|
-
const transport = new stdio_js_1.StdioServerTransport();
|
|
3609
|
-
// Simple timeout protection (prevents hanging)
|
|
3610
|
-
const connectTimeout = setTimeout(() => {
|
|
3611
|
-
this.logger.error('❌ MCP connection timeout after 30 seconds');
|
|
3612
|
-
process.exit(1);
|
|
3613
|
-
}, 30000);
|
|
3614
|
-
await this.server.connect(transport);
|
|
3615
|
-
clearTimeout(connectTimeout);
|
|
3616
|
-
this.logger.info('✅ ServiceNow Flow/Workspace/Mobile MCP Server running on stdio');
|
|
3617
|
-
// Simple keep-alive (prevents disconnects)
|
|
3618
|
-
setInterval(() => {
|
|
3619
|
-
this.logger.debug('💚 MCP server alive - uptime: ' + Math.round((Date.now() - Date.now()) / 60000) + 'min');
|
|
3620
|
-
}, 120000); // Every 2 minutes
|
|
3621
|
-
}
|
|
3622
|
-
catch (error) {
|
|
3623
|
-
this.logger.error('❌ MCP server failed to start:', error);
|
|
3624
|
-
// Simple retry once
|
|
3625
|
-
this.logger.info('🔄 Retrying MCP connection once...');
|
|
3626
|
-
setTimeout(() => {
|
|
3627
|
-
this.run().catch(() => {
|
|
3628
|
-
this.logger.error('💥 MCP retry failed - exiting');
|
|
3629
|
-
process.exit(1);
|
|
3630
|
-
});
|
|
3631
|
-
}, 3000);
|
|
3632
|
-
}
|
|
3633
|
-
}
|
|
3634
|
-
}
|
|
3635
|
-
const server = new ServiceNowFlowWorkspaceMobileMCP();
|
|
3636
|
-
server.run().catch(console.error);
|
|
3637
|
-
//# sourceMappingURL=servicenow-flow-workspace-mobile-mcp.js.map
|