snow-flow 1.4.6 → 1.4.8
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/.snow-flow/cache/action_types.json +7154 -0
- package/.snow-flow/cache/trigger_types.json +17 -0
- package/.snow-flow/mcp-servers.json +67 -0
- package/LICENSE +1 -1
- package/dist/agents/base-agent.d.ts +1 -1
- package/dist/agents/base-agent.d.ts.map +1 -1
- package/dist/agents/base-agent.js +2 -1
- package/dist/agents/base-agent.js.map +1 -1
- package/dist/agents/coordinator.d.ts.map +1 -1
- package/dist/agents/coordinator.js +5 -2
- package/dist/agents/coordinator.js.map +1 -1
- package/dist/agents/index.d.ts +0 -4
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/queen-403-handler.d.ts +2 -2
- package/dist/agents/queen-403-handler.d.ts.map +1 -1
- package/dist/agents/queen-403-handler.js +3 -2
- package/dist/agents/queen-403-handler.js.map +1 -1
- package/dist/agents/queen-agent.d.ts +4 -0
- package/dist/agents/queen-agent.d.ts.map +1 -1
- package/dist/agents/queen-agent.js +137 -34
- package/dist/agents/queen-agent.js.map +1 -1
- package/dist/agents/script-writer-agent.js +1 -0
- package/dist/agents/security-agent.js +28 -27
- package/dist/agents/security-agent.js.map +1 -1
- package/dist/agents/widget-creator-agent.d.ts.map +1 -1
- package/dist/agents/widget-creator-agent.js +121 -62
- package/dist/agents/widget-creator-agent.js.map +1 -1
- package/dist/api/error-handling.d.ts +112 -1
- package/dist/api/error-handling.d.ts.map +1 -1
- package/dist/api/error-handling.js +2 -1
- package/dist/api/error-handling.js.map +1 -1
- package/dist/api/natural-language-mapper.d.ts +3 -5
- package/dist/api/natural-language-mapper.d.ts.map +1 -1
- package/dist/api/natural-language-mapper.js +1 -0
- package/dist/api/natural-language-mapper.js.map +1 -1
- package/dist/api/performance-optimizer.d.ts.map +1 -1
- package/dist/api/performance-optimizer.js +1 -0
- package/dist/api/performance-optimizer.js.map +1 -1
- package/dist/api/transaction-manager.js +1 -0
- package/dist/cli/deploy-artifact.js +1 -0
- package/dist/cli/snow-flow-cli-integration.d.ts.map +1 -1
- package/dist/cli/snow-flow-cli-integration.js +1 -0
- package/dist/cli/snow-flow-cli-integration.js.map +1 -1
- package/dist/cli.js +10 -9
- package/dist/cli.js.map +1 -1
- package/dist/compliance/advanced-compliance-system.d.ts +316 -0
- package/dist/compliance/advanced-compliance-system.d.ts.map +1 -0
- package/dist/compliance/advanced-compliance-system.js +1 -0
- package/dist/compliance/advanced-compliance-system.js.map +1 -0
- package/dist/compliance/index.d.ts +6 -0
- package/dist/compliance/index.d.ts.map +1 -0
- package/dist/compliance/index.js +1 -0
- package/dist/compliance/index.js.map +1 -0
- package/dist/config/snow-flow-config.d.ts +279 -241
- package/dist/config/snow-flow-config.d.ts.map +1 -1
- package/dist/config/snow-flow-config.js +1 -0
- package/dist/config/snow-flow-config.js.map +1 -1
- package/dist/documentation/index.d.ts +6 -0
- package/dist/documentation/index.d.ts.map +1 -0
- package/dist/documentation/index.js +1 -0
- package/dist/documentation/index.js.map +1 -0
- package/dist/documentation/self-documenting-system.d.ts +287 -0
- package/dist/documentation/self-documenting-system.d.ts.map +1 -0
- package/dist/documentation/self-documenting-system.js +38 -37
- package/dist/documentation/self-documenting-system.js.map +1 -0
- package/dist/healing/index.d.ts +6 -0
- package/dist/healing/index.d.ts.map +1 -0
- package/dist/healing/index.js +1 -0
- package/dist/healing/index.js.map +1 -0
- package/dist/healing/self-healing-system.d.ts +315 -0
- package/dist/healing/self-healing-system.d.ts.map +1 -0
- package/dist/healing/self-healing-system.js +1 -0
- package/dist/healing/self-healing-system.js.map +1 -0
- package/dist/health/system-health.d.ts +34 -0
- package/dist/health/system-health.d.ts.map +1 -1
- package/dist/health/system-health.js +1 -0
- package/dist/health/system-health.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/intelligence/acl-analyzer.d.ts +1 -1
- package/dist/intelligence/acl-analyzer.d.ts.map +1 -1
- package/dist/intelligence/acl-analyzer.js +4 -3
- package/dist/intelligence/acl-analyzer.js.map +1 -1
- package/dist/intelligence/auto-resolution-engine.js +1 -0
- package/dist/intelligence/auto-resolution-engine.js.map +1 -1
- package/dist/intelligence/gap-analysis-engine.d.ts +3 -3
- package/dist/intelligence/gap-analysis-engine.js +14 -13
- package/dist/intelligence/gap-analysis-engine.js.map +1 -1
- package/dist/intelligence/manual-instructions-generator.d.ts +1 -1
- package/dist/intelligence/manual-instructions-generator.d.ts.map +1 -1
- package/dist/intelligence/manual-instructions-generator.js +2 -1
- package/dist/intelligence/manual-instructions-generator.js.map +1 -1
- package/dist/intelligence/mcp-coverage-analyzer.js +4 -3
- package/dist/intelligence/mcp-coverage-analyzer.js.map +1 -1
- package/dist/intelligence/multi-pass-requirements-analyzer.d.ts +79 -0
- package/dist/intelligence/multi-pass-requirements-analyzer.d.ts.map +1 -0
- package/dist/intelligence/multi-pass-requirements-analyzer.js +13 -12
- package/dist/intelligence/multi-pass-requirements-analyzer.js.map +1 -0
- package/dist/intelligence/performance-recommendations-engine.d.ts +236 -0
- package/dist/intelligence/performance-recommendations-engine.d.ts.map +1 -0
- package/dist/intelligence/performance-recommendations-engine.js +5 -4
- package/dist/intelligence/performance-recommendations-engine.js.map +1 -0
- package/dist/intelligence/requirements-analyzer.d.ts +1 -1
- package/dist/intelligence/requirements-analyzer.d.ts.map +1 -1
- package/dist/intelligence/requirements-analyzer.js +4 -3
- package/dist/intelligence/requirements-analyzer.js.map +1 -1
- package/dist/intelligence/task-analyzer.d.ts +2 -2
- package/dist/intelligence/task-analyzer.d.ts.map +1 -1
- package/dist/intelligence/task-analyzer.js +40 -39
- package/dist/intelligence/task-analyzer.js.map +1 -1
- package/dist/managers/scope-manager.d.ts.map +1 -1
- package/dist/managers/scope-manager.js +2 -1
- package/dist/managers/scope-manager.js.map +1 -1
- package/dist/mcp/base-mcp-server.d.ts +26 -2
- package/dist/mcp/base-mcp-server.d.ts.map +1 -1
- package/dist/mcp/base-mcp-server.js +2 -1
- package/dist/mcp/base-mcp-server.js.map +1 -1
- package/dist/mcp/http-transport-wrapper.d.ts +1 -0
- package/dist/mcp/http-transport-wrapper.d.ts.map +1 -1
- package/dist/mcp/http-transport-wrapper.js +1 -0
- package/dist/mcp/http-transport-wrapper.js.map +1 -1
- package/dist/mcp/service-discovery-client.js +1 -0
- package/dist/mcp/servicenow-automation-mcp-refactored.d.ts.map +1 -1
- package/dist/mcp/servicenow-automation-mcp-refactored.js +1 -1
- package/dist/mcp/servicenow-automation-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-automation-mcp.js +1 -0
- package/dist/mcp/servicenow-deployment-mcp-refactored.d.ts +5 -0
- package/dist/mcp/servicenow-deployment-mcp-refactored.d.ts.map +1 -1
- package/dist/mcp/servicenow-deployment-mcp-refactored.js +1 -0
- package/dist/mcp/servicenow-deployment-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-deployment-mcp.js +500 -131
- package/dist/mcp/servicenow-deployment-mcp.js.map +1 -1
- package/dist/mcp/servicenow-graph-memory-mcp-refactored.js +5 -4
- package/dist/mcp/servicenow-graph-memory-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-graph-memory-mcp.js +6 -5
- package/dist/mcp/servicenow-graph-memory-mcp.js.map +1 -1
- package/dist/mcp/servicenow-integration-mcp-refactored.d.ts.map +1 -1
- package/dist/mcp/servicenow-integration-mcp-refactored.js +1 -0
- package/dist/mcp/servicenow-integration-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-integration-mcp.js +1 -0
- package/dist/mcp/servicenow-intelligent-mcp-refactored.js +24 -23
- package/dist/mcp/servicenow-intelligent-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-intelligent-mcp.d.ts +38 -1
- package/dist/mcp/servicenow-intelligent-mcp.d.ts.map +1 -1
- package/dist/mcp/servicenow-intelligent-mcp.js +35 -34
- package/dist/mcp/servicenow-intelligent-mcp.js.map +1 -1
- package/dist/mcp/servicenow-mcp-server.js +1 -0
- package/dist/mcp/servicenow-memory-mcp.d.ts +5 -4
- package/dist/mcp/servicenow-memory-mcp.d.ts.map +1 -1
- package/dist/mcp/servicenow-memory-mcp.js +1 -0
- package/dist/mcp/servicenow-memory-mcp.js.map +1 -1
- package/dist/mcp/servicenow-operations-mcp-refactored.d.ts +1 -1
- package/dist/mcp/servicenow-operations-mcp-refactored.d.ts.map +1 -1
- package/dist/mcp/servicenow-operations-mcp-refactored.js +34 -33
- package/dist/mcp/servicenow-operations-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-operations-mcp.d.ts +1 -1
- package/dist/mcp/servicenow-operations-mcp.js +68 -67
- package/dist/mcp/servicenow-operations-mcp.js.map +1 -1
- package/dist/mcp/servicenow-platform-development-mcp-refactored.js +1 -0
- package/dist/mcp/servicenow-platform-development-mcp.js +2 -1
- package/dist/mcp/servicenow-platform-development-mcp.js.map +1 -1
- package/dist/mcp/servicenow-progressive-indexer.js +1 -0
- package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.d.ts.map +1 -1
- package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.js +6 -5
- package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-reporting-analytics-mcp.js +9 -8
- package/dist/mcp/servicenow-reporting-analytics-mcp.js.map +1 -1
- package/dist/mcp/servicenow-security-compliance-mcp-refactored.js +3 -2
- package/dist/mcp/servicenow-security-compliance-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-security-compliance-mcp.js +6 -5
- package/dist/mcp/servicenow-security-compliance-mcp.js.map +1 -1
- package/dist/mcp/servicenow-update-set-mcp-refactored.d.ts.map +1 -1
- package/dist/mcp/servicenow-update-set-mcp-refactored.js +1 -0
- package/dist/mcp/servicenow-update-set-mcp-refactored.js.map +1 -1
- package/dist/mcp/servicenow-update-set-mcp.js +1 -0
- package/dist/mcp/servicenow-update-set-mcp.js.map +1 -1
- package/dist/mcp/servicenow-xml-flow-mcp.d.ts +53 -0
- package/dist/mcp/servicenow-xml-flow-mcp.d.ts.map +1 -0
- package/dist/mcp/servicenow-xml-flow-mcp.js +14 -13
- package/dist/mcp/servicenow-xml-flow-mcp.js.map +1 -0
- package/dist/mcp/shared/agent-context-provider.js +1 -0
- package/dist/mcp/shared/base-mcp-server.d.ts +142 -0
- package/dist/mcp/shared/base-mcp-server.d.ts.map +1 -1
- package/dist/mcp/shared/base-mcp-server.js +5 -4
- package/dist/mcp/shared/base-mcp-server.js.map +1 -1
- package/dist/mcp/shared/mcp-memory-manager.js +1 -0
- package/dist/mcp/shared/mcp-resource-manager.d.ts +99 -0
- package/dist/mcp/shared/mcp-resource-manager.d.ts.map +1 -0
- package/dist/mcp/shared/mcp-resource-manager.js +1 -0
- package/dist/mcp/shared/mcp-resource-manager.js.map +1 -0
- package/dist/mcp/start-all-mcp-servers.js +1 -0
- package/dist/mcp/start-servicenow-mcp.js +1 -0
- package/dist/monitoring/enhanced-monitoring-system.d.ts +172 -0
- package/dist/monitoring/enhanced-monitoring-system.d.ts.map +1 -0
- package/dist/monitoring/enhanced-monitoring-system.js +2 -1
- package/dist/monitoring/enhanced-monitoring-system.js.map +1 -0
- package/dist/monitoring/performance-tracker.d.ts.map +1 -1
- package/dist/monitoring/performance-tracker.js +1 -0
- package/dist/optimization/cost-optimization-engine.d.ts +271 -0
- package/dist/optimization/cost-optimization-engine.d.ts.map +1 -0
- package/dist/optimization/cost-optimization-engine.js +3 -2
- package/dist/optimization/cost-optimization-engine.js.map +1 -0
- package/dist/optimization/index.d.ts +5 -0
- package/dist/optimization/index.d.ts.map +1 -0
- package/dist/optimization/index.js +1 -0
- package/dist/optimization/index.js.map +1 -0
- package/dist/queen/agent-factory.d.ts.map +1 -1
- package/dist/queen/agent-factory.js +18 -3
- package/dist/queen/agent-factory.js.map +1 -1
- package/dist/queen/index.js +1 -0
- package/dist/queen/mcp-execution-bridge.d.ts +4 -0
- package/dist/queen/mcp-execution-bridge.d.ts.map +1 -1
- package/dist/queen/mcp-execution-bridge.js +1 -0
- package/dist/queen/mcp-execution-bridge.js.map +1 -1
- package/dist/queen/neural-learning.d.ts.map +1 -1
- package/dist/queen/neural-learning.js +5 -0
- package/dist/queen/neural-learning.js.map +1 -1
- package/dist/queen/parallel-agent-engine.d.ts +1 -0
- package/dist/queen/parallel-agent-engine.d.ts.map +1 -1
- package/dist/queen/parallel-agent-engine.js +2 -1
- package/dist/queen/parallel-agent-engine.js.map +1 -1
- package/dist/queen/queen-memory-system.d.ts +164 -0
- package/dist/queen/queen-memory-system.d.ts.map +1 -0
- package/dist/queen/queen-memory-system.js +11 -10
- package/dist/queen/queen-memory-system.js.map +1 -0
- package/dist/queen/queen-memory.js +1 -0
- package/dist/queen/servicenow-queen.d.ts +3 -2
- package/dist/queen/servicenow-queen.d.ts.map +1 -1
- package/dist/queen/servicenow-queen.js +20 -19
- package/dist/queen/servicenow-queen.js.map +1 -1
- package/dist/queen/types.d.ts +11 -5
- package/dist/queen/types.d.ts.map +1 -1
- package/dist/queen/types.js +1 -0
- package/dist/rollback/smart-rollback-system.d.ts +350 -0
- package/dist/rollback/smart-rollback-system.d.ts.map +1 -0
- package/dist/rollback/smart-rollback-system.js +1 -0
- package/dist/rollback/smart-rollback-system.js.map +1 -0
- package/dist/snow-flow-system.d.ts +3 -3
- package/dist/snow-flow-system.d.ts.map +1 -1
- package/dist/snow-flow-system.js +4 -3
- package/dist/snow-flow-system.js.map +1 -1
- package/dist/sparc/sparc-help.d.ts +1 -2
- package/dist/sparc/sparc-help.d.ts.map +1 -1
- package/dist/sparc/sparc-help.js +2 -1
- package/dist/sparc/sparc-help.js.map +1 -1
- package/dist/sparc/team-sparc.d.ts +2 -2
- package/dist/sparc/team-sparc.d.ts.map +1 -1
- package/dist/sparc/team-sparc.js +4 -3
- package/dist/sparc/team-sparc.js.map +1 -1
- package/dist/strategies/global-scope-strategy.js +4 -3
- package/dist/strategies/global-scope-strategy.js.map +1 -1
- package/dist/testing/integration-test-suite.d.ts +303 -0
- package/dist/testing/integration-test-suite.d.ts.map +1 -0
- package/dist/testing/integration-test-suite.js +4 -3
- package/dist/testing/integration-test-suite.js.map +1 -0
- package/dist/types/index.d.ts +2 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/servicenow.types.js +1 -0
- package/dist/types/snow-flow.types.d.ts +1 -1
- package/dist/types/snow-flow.types.d.ts.map +1 -1
- package/dist/types/snow-flow.types.js +1 -0
- package/dist/types/todo.types.js +1 -0
- package/dist/utils/action-type-cache.d.ts.map +1 -1
- package/dist/utils/action-type-cache.js +1 -0
- package/dist/utils/action-type-cache.js.map +1 -1
- package/dist/utils/agent-detector.d.ts +1 -1
- package/dist/utils/agent-detector.d.ts.map +1 -1
- package/dist/utils/agent-detector.js +11 -10
- package/dist/utils/agent-detector.js.map +1 -1
- package/dist/utils/artifact-tracker.js +1 -0
- package/dist/utils/dependency-detector.js +1 -0
- package/dist/utils/deployment-metadata-handler.d.ts +110 -0
- package/dist/utils/deployment-metadata-handler.d.ts.map +1 -0
- package/dist/utils/deployment-metadata-handler.js +1 -0
- package/dist/utils/deployment-metadata-handler.js.map +1 -0
- package/dist/utils/error-recovery.js +1 -0
- package/dist/utils/logger.js +1 -0
- package/dist/utils/mcp-auth-middleware.js +1 -0
- package/dist/utils/mcp-config-manager.d.ts.map +1 -1
- package/dist/utils/mcp-config-manager.js +1 -0
- package/dist/utils/mcp-config-manager.js.map +1 -1
- package/dist/utils/mcp-server-manager.d.ts.map +1 -1
- package/dist/utils/mcp-server-manager.js +1 -0
- package/dist/utils/mcp-server-manager.js.map +1 -1
- package/dist/utils/mcp-tool-registry.d.ts +69 -0
- package/dist/utils/mcp-tool-registry.d.ts.map +1 -0
- package/dist/utils/mcp-tool-registry.js +1 -0
- package/dist/utils/mcp-tool-registry.js.map +1 -0
- package/dist/utils/scope-utils.d.ts +2 -2
- package/dist/utils/scope-utils.d.ts.map +1 -1
- package/dist/utils/scope-utils.js +32 -31
- package/dist/utils/scope-utils.js.map +1 -1
- package/dist/utils/servicenow-client.d.ts +18 -1
- package/dist/utils/servicenow-client.d.ts.map +1 -1
- package/dist/utils/servicenow-client.js +1 -0
- package/dist/utils/servicenow-client.js.map +1 -1
- package/dist/utils/servicenow-id-generator.d.ts +107 -0
- package/dist/utils/servicenow-id-generator.d.ts.map +1 -0
- package/dist/utils/servicenow-id-generator.js +1 -0
- package/dist/utils/servicenow-id-generator.js.map +1 -0
- package/dist/utils/snow-oauth.d.ts +20 -0
- package/dist/utils/snow-oauth.d.ts.map +1 -1
- package/dist/utils/snow-oauth.js +1 -0
- package/dist/utils/snow-oauth.js.map +1 -1
- package/dist/utils/template-engine.js +1 -0
- package/dist/utils/theme-manager.js +1 -0
- package/dist/utils/unified-auth-store.d.ts +55 -0
- package/dist/utils/unified-auth-store.d.ts.map +1 -0
- package/dist/utils/unified-auth-store.js +1 -0
- package/dist/utils/unified-auth-store.js.map +1 -0
- package/dist/utils/update-set-importer.d.ts +72 -0
- package/dist/utils/update-set-importer.d.ts.map +1 -0
- package/dist/utils/update-set-importer.js +1 -0
- package/dist/utils/update-set-importer.js.map +1 -0
- package/dist/utils/update-set-xml-packager.d.ts +85 -0
- package/dist/utils/update-set-xml-packager.d.ts.map +1 -0
- package/dist/utils/update-set-xml-packager.js +1 -0
- package/dist/utils/update-set-xml-packager.js.map +1 -0
- package/dist/utils/widget-template-generator.d.ts +82 -0
- package/dist/utils/widget-template-generator.d.ts.map +1 -0
- package/dist/utils/widget-template-generator.js +1 -0
- package/dist/utils/widget-template-generator.js.map +1 -0
- package/dist/version.d.ts +28 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +29 -19
- package/dist/version.js.map +1 -1
- package/package.json +20 -2
- package/.claude/settings.local.json +0 -36
- package/.claude-flow/queen/queen-memory.db +0 -0
- package/.claude-flow/queen-test/test-memory.db +0 -0
- package/.claude-flow/queen-test/test-memory.db-agents +0 -0
- package/.claude-flow/queen-test/test-memory.db-import +0 -0
- package/.claude-flow/queen-test/test-memory.db-memory +0 -0
- package/.claude-flow/queen-test/test-memory.db-neural +0 -0
- package/.roo/README.md +0 -56
- package/.roo/workflows/basic-tdd.json +0 -32
- package/.roomodes +0 -122
- package/COMMIT_MESSAGE.txt +0 -31
- package/action-v2-implementation.js +0 -338
- package/activate-mcp.sh +0 -15
- package/claude-flow.config.json +0 -20
- package/create-snow-flow-env.sh +0 -32
- package/decode-action-values.js +0 -164
- package/dist/cli.js.bak +0 -2052
- package/dist/memory/hierarchical-memory-system.js +0 -399
- package/dist/memory/index.d.ts +0 -9
- package/dist/memory/index.d.ts.map +0 -1
- package/dist/memory/index.js +0 -19
- package/dist/memory/index.js.map +0 -1
- package/dist/memory/mcp-integration-example.d.ts +0 -6
- package/dist/memory/mcp-integration-example.d.ts.map +0 -1
- package/dist/memory/mcp-integration-example.js +0 -281
- package/dist/memory/mcp-integration-example.js.map +0 -1
- package/dist/memory/memory-client.d.ts +0 -189
- package/dist/memory/memory-client.d.ts.map +0 -1
- package/dist/memory/memory-client.js +0 -363
- package/dist/memory/memory-client.js.map +0 -1
- package/dist/memory/memory-manager.d.ts +0 -29
- package/dist/memory/memory-manager.d.ts.map +0 -1
- package/dist/memory/memory-manager.js +0 -280
- package/dist/memory/memory-manager.js.map +0 -1
- package/dist/memory/memory-operations.d.ts +0 -170
- package/dist/memory/memory-operations.d.ts.map +0 -1
- package/dist/memory/memory-operations.js +0 -690
- package/dist/memory/memory-operations.js.map +0 -1
- package/dist/memory/memory-system.d.ts +0 -118
- package/dist/memory/memory-system.d.ts.map +0 -1
- package/dist/memory/memory-system.js +0 -631
- package/dist/memory/memory-system.js.map +0 -1
- package/dist/memory/memory-test.d.ts +0 -6
- package/dist/memory/memory-test.d.ts.map +0 -1
- package/dist/memory/memory-test.js +0 -161
- package/dist/memory/memory-test.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 -559
- package/dist/memory/servicenow-artifact-indexer.js.map +0 -1
- package/dist/memory/snow-flow-memory-patterns.js +0 -199
- package/dist/memory/snow-memory.d.ts +0 -54
- package/dist/memory/snow-memory.d.ts.map +0 -1
- package/dist/memory/snow-memory.js +0 -301
- package/dist/memory/snow-memory.js.map +0 -1
- package/dist/memory/swarm-memory.d.ts +0 -135
- package/dist/memory/swarm-memory.d.ts.map +0 -1
- package/dist/memory/swarm-memory.js +0 -377
- package/dist/memory/swarm-memory.js.map +0 -1
- package/manual-register-mcp.js +0 -138
- package/mcp-wrapper.sh +0 -12
- package/npm-publish-summary.txt +0 -35
- package/reports/swarm-auto-centralized-1752649029776.json +0 -13
- package/snow-flow-claude-md-template.txt +0 -262
- package/test-config.js +0 -55
- package/test-flow-fix.js +0 -92
- package/test-parallel-agents.js +0 -177
- package/test-queen-workflow.js +0 -184
- package/test-real-monitoring.js +0 -184
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Features:
|
|
8
8
|
* - Incident, Request, Problem, Change management
|
|
9
9
|
* - CMDB and User management
|
|
10
|
-
* - Intelligent incident
|
|
10
|
+
* - Intelligent incident _analysis and auto-resolution
|
|
11
11
|
* - Pattern recognition and root cause analysis
|
|
12
12
|
* - Knowledge base integration
|
|
13
13
|
* - Predictive analytics
|
|
@@ -131,7 +131,7 @@ class ServiceNowOperationsMCP {
|
|
|
131
131
|
// Core Operational Queries
|
|
132
132
|
{
|
|
133
133
|
name: 'snow_query_incidents',
|
|
134
|
-
description: 'Advanced incident querying with filters and
|
|
134
|
+
description: 'Advanced incident querying with filters and _analysis',
|
|
135
135
|
inputSchema: {
|
|
136
136
|
type: 'object',
|
|
137
137
|
properties: {
|
|
@@ -144,9 +144,9 @@ class ServiceNowOperationsMCP {
|
|
|
144
144
|
description: 'Maximum number of results (default: 10)',
|
|
145
145
|
default: 10
|
|
146
146
|
},
|
|
147
|
-
|
|
147
|
+
include__analysis: {
|
|
148
148
|
type: 'boolean',
|
|
149
|
-
description: 'Include intelligent
|
|
149
|
+
description: 'Include intelligent _analysis of incidents',
|
|
150
150
|
default: false
|
|
151
151
|
},
|
|
152
152
|
fields: {
|
|
@@ -160,7 +160,7 @@ class ServiceNowOperationsMCP {
|
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
name: 'snow_analyze_incident',
|
|
163
|
-
description: 'Intelligent
|
|
163
|
+
description: 'Intelligent _analysis of a specific incident with auto-resolution suggestions',
|
|
164
164
|
inputSchema: {
|
|
165
165
|
type: 'object',
|
|
166
166
|
properties: {
|
|
@@ -170,7 +170,7 @@ class ServiceNowOperationsMCP {
|
|
|
170
170
|
},
|
|
171
171
|
include_similar: {
|
|
172
172
|
type: 'boolean',
|
|
173
|
-
description: 'Include similar incidents in
|
|
173
|
+
description: 'Include similar incidents in _analysis',
|
|
174
174
|
default: true
|
|
175
175
|
},
|
|
176
176
|
suggest_resolution: {
|
|
@@ -227,7 +227,7 @@ class ServiceNowOperationsMCP {
|
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
name: 'snow_query_problems',
|
|
230
|
-
description: 'Query and analyze problems with root cause
|
|
230
|
+
description: 'Query and analyze problems with root cause _analysis',
|
|
231
231
|
inputSchema: {
|
|
232
232
|
type: 'object',
|
|
233
233
|
properties: {
|
|
@@ -323,19 +323,19 @@ class ServiceNowOperationsMCP {
|
|
|
323
323
|
}
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
name: '
|
|
326
|
+
name: 'snow_pattern__analysis',
|
|
327
327
|
description: 'Analyze patterns in incidents, requests, and problems',
|
|
328
328
|
inputSchema: {
|
|
329
329
|
type: 'object',
|
|
330
330
|
properties: {
|
|
331
331
|
analysis_type: {
|
|
332
332
|
type: 'string',
|
|
333
|
-
description: 'Type of pattern
|
|
333
|
+
description: 'Type of pattern _analysis',
|
|
334
334
|
enum: ['incident_patterns', 'request_trends', 'problem_root_causes', 'user_behavior']
|
|
335
335
|
},
|
|
336
336
|
timeframe: {
|
|
337
337
|
type: 'string',
|
|
338
|
-
description: 'Time period for
|
|
338
|
+
description: 'Time period for _analysis',
|
|
339
339
|
enum: ['day', 'week', 'month', 'quarter'],
|
|
340
340
|
default: 'week'
|
|
341
341
|
}
|
|
@@ -367,8 +367,8 @@ class ServiceNowOperationsMCP {
|
|
|
367
367
|
}
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
|
-
name: '
|
|
371
|
-
description: 'Predictive
|
|
370
|
+
name: 'snow_predictive__analysis',
|
|
371
|
+
description: 'Predictive _analysis for potential issues and trends',
|
|
372
372
|
inputSchema: {
|
|
373
373
|
type: 'object',
|
|
374
374
|
properties: {
|
|
@@ -870,11 +870,11 @@ class ServiceNowOperationsMCP {
|
|
|
870
870
|
return await this.handleUserLookup(args);
|
|
871
871
|
case 'snow_operational_metrics':
|
|
872
872
|
return await this.handleOperationalMetrics(args);
|
|
873
|
-
case '
|
|
873
|
+
case 'snow_pattern__analysis':
|
|
874
874
|
return await this.handlePatternAnalysis(args);
|
|
875
875
|
case 'snow_knowledge_search':
|
|
876
876
|
return await this.handleKnowledgeSearch(args);
|
|
877
|
-
case '
|
|
877
|
+
case 'snow_predictive__analysis':
|
|
878
878
|
return await this.handlePredictiveAnalysis(args);
|
|
879
879
|
case 'snow_catalog_item_manager':
|
|
880
880
|
return await this.handleCatalogItemManager(args);
|
|
@@ -907,7 +907,7 @@ class ServiceNowOperationsMCP {
|
|
|
907
907
|
});
|
|
908
908
|
}
|
|
909
909
|
async handleQueryIncidents(args) {
|
|
910
|
-
const { query, limit = 10,
|
|
910
|
+
const { query, limit = 10, include__analysis = false, fields } = args;
|
|
911
911
|
logger_js_1.logger.info(`Querying incidents with: ${query}`);
|
|
912
912
|
try {
|
|
913
913
|
// Convert natural language to ServiceNow query if needed
|
|
@@ -918,10 +918,10 @@ class ServiceNowOperationsMCP {
|
|
|
918
918
|
total_results: incidents.success ? incidents.data.result.length : 0,
|
|
919
919
|
incidents: incidents.success ? incidents.data.result : []
|
|
920
920
|
};
|
|
921
|
-
// Add intelligent
|
|
922
|
-
if (
|
|
923
|
-
const
|
|
924
|
-
result = { ...result, ...
|
|
921
|
+
// Add intelligent _analysis if requested
|
|
922
|
+
if (include__analysis && incidents.success && incidents.data.result.length > 0) {
|
|
923
|
+
const _analysis = await this.analyzeIncidents(incidents.data.result);
|
|
924
|
+
result = { ...result, ..._analysis };
|
|
925
925
|
}
|
|
926
926
|
return {
|
|
927
927
|
content: [
|
|
@@ -947,12 +947,12 @@ class ServiceNowOperationsMCP {
|
|
|
947
947
|
throw new Error(`Incident ${incident_id} not found`);
|
|
948
948
|
}
|
|
949
949
|
// Perform intelligent analysis
|
|
950
|
-
const
|
|
950
|
+
const _analysis = await this.performIncidentAnalysis(incident, include_similar, suggest_resolution);
|
|
951
951
|
return {
|
|
952
952
|
content: [
|
|
953
953
|
{
|
|
954
954
|
type: 'text',
|
|
955
|
-
text: `Incident Analysis for ${incident_id}:\n\n${JSON.stringify(
|
|
955
|
+
text: `Incident Analysis for ${incident_id}:\n\n${JSON.stringify(_analysis, null, 2)}`
|
|
956
956
|
}
|
|
957
957
|
]
|
|
958
958
|
};
|
|
@@ -972,12 +972,12 @@ class ServiceNowOperationsMCP {
|
|
|
972
972
|
throw new Error(`Incident ${incident_id} not found`);
|
|
973
973
|
}
|
|
974
974
|
// Analyze incident for auto-resolution potential
|
|
975
|
-
const
|
|
975
|
+
const _analysis = await this.performIncidentAnalysis(incident, true, true);
|
|
976
976
|
// Generate automated resolution actions
|
|
977
|
-
const resolutionActions = await this.generateResolutionActions(incident,
|
|
978
|
-
|
|
977
|
+
const resolutionActions = await this.generateResolutionActions(incident, _analysis);
|
|
978
|
+
const result = {
|
|
979
979
|
incident_id,
|
|
980
|
-
|
|
980
|
+
_analysis,
|
|
981
981
|
resolution_actions: resolutionActions,
|
|
982
982
|
dry_run,
|
|
983
983
|
actions_executed: []
|
|
@@ -1159,7 +1159,7 @@ class ServiceNowOperationsMCP {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
async handlePatternAnalysis(args) {
|
|
1161
1161
|
const { analysis_type, timeframe = 'week' } = args;
|
|
1162
|
-
logger_js_1.logger.info(`Performing pattern
|
|
1162
|
+
logger_js_1.logger.info(`Performing pattern _analysis: ${analysis_type} for ${timeframe}`);
|
|
1163
1163
|
try {
|
|
1164
1164
|
const patterns = await this.analyzePatterns(analysis_type, timeframe);
|
|
1165
1165
|
return {
|
|
@@ -1210,7 +1210,7 @@ class ServiceNowOperationsMCP {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
async handlePredictiveAnalysis(args) {
|
|
1212
1212
|
const { prediction_type, timeframe = 'week' } = args;
|
|
1213
|
-
logger_js_1.logger.info(`Performing predictive
|
|
1213
|
+
logger_js_1.logger.info(`Performing predictive _analysis: ${prediction_type} for ${timeframe}`);
|
|
1214
1214
|
try {
|
|
1215
1215
|
const predictions = await this.performPredictiveAnalysis(prediction_type, timeframe);
|
|
1216
1216
|
return {
|
|
@@ -1223,8 +1223,8 @@ class ServiceNowOperationsMCP {
|
|
|
1223
1223
|
};
|
|
1224
1224
|
}
|
|
1225
1225
|
catch (error) {
|
|
1226
|
-
logger_js_1.logger.error('Error performing predictive
|
|
1227
|
-
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to perform predictive
|
|
1226
|
+
logger_js_1.logger.error('Error performing predictive _analysis:', error);
|
|
1227
|
+
throw new types_js_1.McpError(types_js_1.ErrorCode.InternalError, `Failed to perform predictive _analysis: ${error}`);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
// Helper methods for intelligent analysis
|
|
@@ -1299,10 +1299,10 @@ class ServiceNowOperationsMCP {
|
|
|
1299
1299
|
return (incidents.success && incidents.data.result.length > 0) ? incidents.data.result[0] : null;
|
|
1300
1300
|
}
|
|
1301
1301
|
async performIncidentAnalysis(incident, include_similar, suggest_resolution) {
|
|
1302
|
-
const
|
|
1302
|
+
const _analysis = {
|
|
1303
1303
|
incident_id: incident.number,
|
|
1304
1304
|
patterns_found: [],
|
|
1305
|
-
|
|
1305
|
+
root_cause__analysis: '',
|
|
1306
1306
|
suggested_resolution: [],
|
|
1307
1307
|
confidence_score: 0,
|
|
1308
1308
|
similar_incidents: [],
|
|
@@ -1313,45 +1313,45 @@ class ServiceNowOperationsMCP {
|
|
|
1313
1313
|
const description = (incident.short_description || '').toLowerCase();
|
|
1314
1314
|
for (const [patternName, pattern] of Object.entries(commonPatterns)) {
|
|
1315
1315
|
if (pattern.keywords.some(keyword => description.includes(keyword))) {
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1316
|
+
_analysis.patterns_found.push(patternName);
|
|
1317
|
+
_analysis.suggested_resolution.push(...pattern.common_solutions);
|
|
1318
|
+
_analysis.confidence_score += 0.2;
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
// Find similar incidents
|
|
1322
1322
|
if (include_similar) {
|
|
1323
1323
|
const similarQuery = `short_descriptionLIKE${incident.short_description}^sys_id!=${incident.sys_id}^state=6`;
|
|
1324
1324
|
const similarIncidents = await this.client.searchRecords('incident', similarQuery, 5);
|
|
1325
|
-
|
|
1325
|
+
_analysis.similar_incidents = similarIncidents.success ? similarIncidents.data.result : [];
|
|
1326
1326
|
}
|
|
1327
1327
|
// Root cause analysis
|
|
1328
|
-
|
|
1328
|
+
_analysis.root_cause__analysis = this.generateRootCauseAnalysis(incident, _analysis.patterns_found);
|
|
1329
1329
|
// Search knowledge base
|
|
1330
1330
|
const kbQuery = `textLIKE${incident.short_description}^workflow_state=published`;
|
|
1331
1331
|
const kbArticles = await this.client.searchRecords('kb_knowledge', kbQuery, 3);
|
|
1332
|
-
|
|
1332
|
+
_analysis.knowledge_articles = kbArticles.success ? kbArticles.data.result : [];
|
|
1333
1333
|
// Automated actions
|
|
1334
|
-
|
|
1335
|
-
return
|
|
1334
|
+
_analysis.automated_actions = this.generateAutomatedActions(incident, _analysis.patterns_found);
|
|
1335
|
+
return _analysis;
|
|
1336
1336
|
}
|
|
1337
1337
|
generateRootCauseAnalysis(incident, patterns) {
|
|
1338
1338
|
if (patterns.length === 0) {
|
|
1339
1339
|
return 'No specific patterns detected. Manual investigation required.';
|
|
1340
1340
|
}
|
|
1341
|
-
const
|
|
1341
|
+
const _analysis = [];
|
|
1342
1342
|
if (patterns.includes('network_issues')) {
|
|
1343
|
-
|
|
1343
|
+
_analysis.push('Network connectivity issue detected. Check network infrastructure, DNS, and firewall rules.');
|
|
1344
1344
|
}
|
|
1345
1345
|
if (patterns.includes('database_issues')) {
|
|
1346
|
-
|
|
1346
|
+
_analysis.push('Database connectivity or performance issue detected. Check database server, connection pools, and query performance.');
|
|
1347
1347
|
}
|
|
1348
1348
|
if (patterns.includes('application_errors')) {
|
|
1349
|
-
|
|
1349
|
+
_analysis.push('Application error detected. Check application logs, resource utilization, and service status.');
|
|
1350
1350
|
}
|
|
1351
1351
|
if (patterns.includes('auth_issues')) {
|
|
1352
|
-
|
|
1352
|
+
_analysis.push('Authentication issue detected. Check user credentials, LDAP/SSO configuration, and permissions.');
|
|
1353
1353
|
}
|
|
1354
|
-
return
|
|
1354
|
+
return _analysis.join(' ');
|
|
1355
1355
|
}
|
|
1356
1356
|
generateAutomatedActions(incident, patterns) {
|
|
1357
1357
|
const actions = [];
|
|
@@ -1377,18 +1377,18 @@ class ServiceNowOperationsMCP {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
return actions;
|
|
1379
1379
|
}
|
|
1380
|
-
async generateResolutionActions(incident,
|
|
1380
|
+
async generateResolutionActions(incident, _analysis) {
|
|
1381
1381
|
const actions = [];
|
|
1382
1382
|
// Add high-confidence automated actions
|
|
1383
|
-
if (
|
|
1384
|
-
actions.push(...
|
|
1383
|
+
if (_analysis.confidence_score > 0.6) {
|
|
1384
|
+
actions.push(..._analysis.automated_actions);
|
|
1385
1385
|
}
|
|
1386
1386
|
// Add knowledge-based actions
|
|
1387
|
-
if (
|
|
1387
|
+
if (_analysis.knowledge_articles.length > 0) {
|
|
1388
1388
|
actions.push('Apply resolution from knowledge article');
|
|
1389
1389
|
}
|
|
1390
1390
|
// Add pattern-based actions
|
|
1391
|
-
if (
|
|
1391
|
+
if (_analysis.similar_incidents.length > 0) {
|
|
1392
1392
|
actions.push('Apply resolution from similar incident');
|
|
1393
1393
|
}
|
|
1394
1394
|
return actions;
|
|
@@ -1518,7 +1518,7 @@ class ServiceNowOperationsMCP {
|
|
|
1518
1518
|
case 'user_behavior':
|
|
1519
1519
|
return await this.analyzeUserBehavior(dateFilter);
|
|
1520
1520
|
default:
|
|
1521
|
-
return { error: 'Unknown
|
|
1521
|
+
return { error: 'Unknown _analysis type' };
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
1524
|
async analyzeIncidentPatterns(dateFilter) {
|
|
@@ -1675,7 +1675,7 @@ class ServiceNowOperationsMCP {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
catch (error) {
|
|
1677
1677
|
return {
|
|
1678
|
-
error: 'User behavior
|
|
1678
|
+
error: 'User behavior _analysis failed',
|
|
1679
1679
|
message: error instanceof Error ? error.message : String(error),
|
|
1680
1680
|
available_metrics: ['incident_reporting', 'request_frequency']
|
|
1681
1681
|
};
|
|
@@ -1703,35 +1703,35 @@ class ServiceNowOperationsMCP {
|
|
|
1703
1703
|
async performPredictiveAnalysis(predictionType, timeframe) {
|
|
1704
1704
|
try {
|
|
1705
1705
|
const currentDate = new Date();
|
|
1706
|
-
const
|
|
1706
|
+
const _analysis = {
|
|
1707
1707
|
prediction_type: predictionType,
|
|
1708
1708
|
timeframe: timeframe,
|
|
1709
1709
|
generated_at: currentDate.toISOString(),
|
|
1710
|
-
analysis_method: '
|
|
1710
|
+
analysis_method: 'trend__analysis',
|
|
1711
1711
|
data_points: []
|
|
1712
1712
|
};
|
|
1713
1713
|
switch (predictionType) {
|
|
1714
1714
|
case 'incident_volume':
|
|
1715
|
-
|
|
1716
|
-
|
|
1715
|
+
_analysis.data_points = await this.analyzeIncidentTrends(timeframe);
|
|
1716
|
+
_analysis.interpretation = 'Based on recent incident creation patterns';
|
|
1717
1717
|
break;
|
|
1718
1718
|
case 'system_failure':
|
|
1719
|
-
|
|
1720
|
-
|
|
1719
|
+
_analysis.data_points = await this.analyzeSystemHealthTrends(timeframe);
|
|
1720
|
+
_analysis.interpretation = 'Based on critical incident patterns and system health indicators';
|
|
1721
1721
|
break;
|
|
1722
1722
|
case 'resource_exhaustion':
|
|
1723
|
-
|
|
1724
|
-
|
|
1723
|
+
_analysis.data_points = await this.analyzeResourceTrends(timeframe);
|
|
1724
|
+
_analysis.interpretation = 'Based on request volumes and capacity indicators';
|
|
1725
1725
|
break;
|
|
1726
1726
|
case 'user_impact':
|
|
1727
|
-
|
|
1728
|
-
|
|
1727
|
+
_analysis.data_points = await this.analyzeUserImpactTrends(timeframe);
|
|
1728
|
+
_analysis.interpretation = 'Based on user-reported incidents and service requests';
|
|
1729
1729
|
break;
|
|
1730
1730
|
default:
|
|
1731
|
-
|
|
1732
|
-
|
|
1731
|
+
_analysis.data_points = [{ error: 'Unknown prediction type', supported_types: ['incident_volume', 'system_failure', 'resource_exhaustion', 'user_impact'] }];
|
|
1732
|
+
_analysis.interpretation = 'Unsupported _analysis type';
|
|
1733
1733
|
}
|
|
1734
|
-
return
|
|
1734
|
+
return _analysis;
|
|
1735
1735
|
}
|
|
1736
1736
|
catch (error) {
|
|
1737
1737
|
return {
|
|
@@ -1743,7 +1743,7 @@ class ServiceNowOperationsMCP {
|
|
|
1743
1743
|
};
|
|
1744
1744
|
}
|
|
1745
1745
|
}
|
|
1746
|
-
// New trend
|
|
1746
|
+
// New trend _analysis methods
|
|
1747
1747
|
async analyzeIncidentTrends(timeframe) {
|
|
1748
1748
|
try {
|
|
1749
1749
|
const incidents = await this.client.searchRecords('incident', 'sys_created_onONToday@javascript:gs.daysAgoStart(7)@javascript:gs.daysAgoEnd(0)', 100);
|
|
@@ -1764,7 +1764,7 @@ class ServiceNowOperationsMCP {
|
|
|
1764
1764
|
catch (error) {
|
|
1765
1765
|
return [{ error: 'Failed to analyze incident trends', message: String(error) }];
|
|
1766
1766
|
}
|
|
1767
|
-
return [{ message: 'No incident data available for
|
|
1767
|
+
return [{ message: 'No incident data available for _analysis' }];
|
|
1768
1768
|
}
|
|
1769
1769
|
async analyzeSystemHealthTrends(timeframe) {
|
|
1770
1770
|
try {
|
|
@@ -3694,3 +3694,4 @@ server.run().catch((error) => {
|
|
|
3694
3694
|
logger_js_1.logger.error('Failed to start ServiceNow Operations MCP server:', error);
|
|
3695
3695
|
process.exit(1);
|
|
3696
3696
|
});
|
|
3697
|
+
//# sourceMappingURL=servicenow-operations-mcp.js.map
|