snow-flow 2.0.2 → 2.0.4
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/{.claude/mcp-config.json → .mcp.json} +13 -12
- package/.releaserc.json +47 -0
- package/README.md +48 -1
- package/package.json +1 -1
- package/.claude/claude-settings.json +0 -15
- package/.claude/commands/analysis/README.md +0 -9
- package/.claude/commands/automation/README.md +0 -9
- package/.claude/commands/github/README.md +0 -11
- package/.claude/commands/helpers/standard-checkpoint-hooks.sh +0 -179
- package/.claude/commands/hooks/README.md +0 -11
- package/.claude/commands/monitoring/README.md +0 -9
- package/.claude/commands/optimization/README.md +0 -9
- package/.claude/commands/training/README.md +0 -9
- package/.claude/commands/workflows/README.md +0 -9
- package/.claude/config.json +0 -36
- package/.claude/helpers/github-setup.sh +0 -28
- package/.claude/helpers/quick-start.sh +0 -19
- package/.claude/helpers/setup-mcp.sh +0 -18
- package/.claude/settings.json +0 -114
- package/.claude/settings.local.json +0 -33
- package/.claude-flow/metrics/agent-metrics.json +0 -1
- package/.claude-flow/metrics/performance.json +0 -9
- package/.claude-flow/metrics/system-metrics.json +0 -15986
- package/.claude-flow/metrics/task-metrics.json +0 -10
- package/.roo/README.md +0 -402
- package/.roo/mcp-list.txt +0 -257
- package/.roo/mcp.json +0 -32
- package/.roo/workflows/basic-tdd.json +0 -32
- package/.roomodes +0 -201
- package/CLAUDE.md +0 -393
- package/bin/snow-flow.js +0 -3
- package/dist/cli.js.bak +0 -2052
- package/dist/config/snow-flow-config.d.ts +0 -1492
- package/dist/config/snow-flow-config.js +0 -938
- package/scripts/create-env.js +0 -91
- package/scripts/postinstall.js +0 -30
- package/scripts/register-mcp-servers.js +0 -210
- package/scripts/reset-mcp-servers.js +0 -246
- package/scripts/setup-mcp.js +0 -106
- package/scripts/update-version.js +0 -31
- package/src/agents/README.md +0 -192
- package/src/agents/base-agent.ts +0 -251
- package/src/agents/coordinator.ts +0 -971
- package/src/agents/index.ts +0 -18
- package/src/agents/queen-403-handler.ts +0 -230
- package/src/agents/queen-agent.ts +0 -1399
- package/src/agents/script-writer-agent.ts +0 -769
- package/src/agents/security-agent.ts +0 -726
- package/src/agents/widget-creator-agent.ts +0 -568
- package/src/api/error-handling.ts +0 -1758
- package/src/api/natural-language-mapper.ts +0 -630
- package/src/api/performance-optimizer.ts +0 -891
- package/src/api/transaction-manager.ts +0 -754
- package/src/cli/deploy-artifact.ts +0 -304
- package/src/cli/snow-flow-cli-integration.ts +0 -434
- package/src/cli.ts +0 -4455
- package/src/cli.ts.bak +0 -5616
- package/src/compliance/advanced-compliance-system.ts +0 -1268
- package/src/compliance/index.ts +0 -19
- package/src/config/snow-flow-config.ts +0 -1019
- package/src/documentation/index.ts +0 -16
- package/src/documentation/self-documenting-system.ts +0 -1421
- package/src/dynamic-version.ts +0 -44
- package/src/healing/index.ts +0 -20
- package/src/healing/self-healing-system.ts +0 -1435
- package/src/health/README.md +0 -161
- package/src/health/system-health.ts +0 -995
- package/src/index.ts +0 -60
- package/src/intelligence/acl-analyzer.ts +0 -377
- package/src/intelligence/auto-resolution-engine.ts +0 -643
- package/src/intelligence/gap-analysis-engine.ts +0 -488
- package/src/intelligence/manual-instructions-generator.ts +0 -744
- package/src/intelligence/mcp-coverage-analyzer.ts +0 -708
- package/src/intelligence/multi-pass-requirements-analyzer.ts +0 -603
- package/src/intelligence/performance-recommendations-engine.ts +0 -1223
- package/src/intelligence/requirements-analyzer.ts +0 -1148
- package/src/intelligence/task-analyzer.ts +0 -628
- package/src/managers/scope-manager.ts +0 -555
- package/src/mcp/advanced/servicenow-advanced-features-mcp.ts +0 -16110
- package/src/mcp/base-mcp-server.ts +0 -660
- package/src/mcp/http-transport-wrapper.ts +0 -426
- package/src/mcp/service-discovery-client.ts +0 -312
- package/src/mcp/servicenow-automation-mcp-refactored.ts +0 -678
- package/src/mcp/servicenow-automation-mcp.ts +0 -838
- package/src/mcp/servicenow-deployment-mcp-refactored.ts +0 -1292
- package/src/mcp/servicenow-deployment-mcp.ts +0 -7244
- package/src/mcp/servicenow-graph-memory-mcp-refactored.ts +0 -721
- package/src/mcp/servicenow-graph-memory-mcp.ts +0 -832
- package/src/mcp/servicenow-integration-mcp-refactored.ts +0 -655
- package/src/mcp/servicenow-integration-mcp.ts +0 -819
- package/src/mcp/servicenow-intelligent-mcp-refactored.ts +0 -977
- package/src/mcp/servicenow-intelligent-mcp.ts +0 -4638
- package/src/mcp/servicenow-mcp-server.ts +0 -728
- package/src/mcp/servicenow-memory-mcp.ts +0 -474
- package/src/mcp/servicenow-operations-mcp-refactored.ts +0 -1995
- package/src/mcp/servicenow-operations-mcp.ts +0 -3384
- package/src/mcp/servicenow-platform-development-mcp-refactored.ts +0 -611
- package/src/mcp/servicenow-platform-development-mcp.ts +0 -970
- package/src/mcp/servicenow-progressive-indexer.ts +0 -370
- package/src/mcp/servicenow-reporting-analytics-mcp-refactored.ts +0 -695
- package/src/mcp/servicenow-reporting-analytics-mcp.ts +0 -1123
- package/src/mcp/servicenow-security-compliance-mcp-refactored.ts +0 -642
- package/src/mcp/servicenow-security-compliance-mcp.ts +0 -1157
- package/src/mcp/servicenow-update-set-mcp-refactored.ts +0 -751
- package/src/mcp/servicenow-update-set-mcp.ts +0 -811
- package/src/mcp/shared/agent-context-provider.ts +0 -365
- package/src/mcp/shared/base-mcp-server.ts +0 -2463
- package/src/mcp/shared/mcp-memory-manager.ts +0 -540
- package/src/mcp/shared/mcp-resource-manager.ts +0 -367
- package/src/mcp/snow-flow-mcp.ts +0 -911
- package/src/mcp/start-all-mcp-servers.ts +0 -102
- package/src/mcp/start-servicenow-mcp.ts +0 -67
- package/src/monitoring/enhanced-monitoring-system.ts +0 -1345
- package/src/monitoring/performance-tracker.ts +0 -777
- package/src/optimization/cost-optimization-engine.ts +0 -1125
- package/src/optimization/index.ts +0 -10
- package/src/queen/README.md +0 -403
- package/src/queen/agent-factory.ts +0 -574
- package/src/queen/index.ts +0 -94
- package/src/queen/mcp-execution-bridge.ts +0 -681
- package/src/queen/neural-learning.ts +0 -319
- package/src/queen/parallel-agent-engine.ts +0 -848
- package/src/queen/queen-memory-system.ts +0 -490
- package/src/queen/queen-memory.ts +0 -456
- package/src/queen/servicenow-queen.ts +0 -1029
- package/src/queen/types.ts +0 -87
- package/src/rollback/smart-rollback-system.ts +0 -866
- package/src/schemas/deployment.schema.json +0 -58
- package/src/schemas/flow.schema.json +0 -79
- package/src/schemas/widget.schema.json +0 -72
- package/src/snow-flow-system.ts +0 -541
- package/src/sparc/sparc-help.ts +0 -49
- package/src/sparc/team-sparc.ts +0 -88
- package/src/strategies/global-scope-strategy.ts +0 -736
- package/src/templates/base/application.template.json +0 -45
- package/src/templates/base/business_rule.template.json +0 -33
- package/src/templates/base/script_include.template.json +0 -18
- package/src/templates/base/table.template.json +0 -64
- package/src/templates/base/widget.template.json +0 -25
- package/src/templates/patterns/composite.incident-management.template.json +0 -140
- package/src/templates/patterns/widget.dashboard.template.json +0 -238
- package/src/templates/patterns/widget.datatable.template.json +0 -292
- package/src/testing/integration-test-suite.ts +0 -1276
- package/src/types/index.ts +0 -183
- package/src/types/neo4j-driver.d.ts +0 -23
- package/src/types/servicenow.types.ts +0 -307
- package/src/types/snow-flow.types.ts +0 -186
- package/src/types/todo.types.ts +0 -70
- package/src/utils/action-type-cache.ts +0 -286
- package/src/utils/agent-detector.ts +0 -573
- package/src/utils/artifact-tracker.ts +0 -379
- package/src/utils/dependency-detector.ts +0 -233
- package/src/utils/deployment-metadata-handler.ts +0 -518
- package/src/utils/error-recovery.ts +0 -680
- package/src/utils/logger.ts +0 -60
- package/src/utils/mcp-auth-middleware.ts +0 -262
- package/src/utils/mcp-config-manager.ts +0 -270
- package/src/utils/mcp-server-manager.ts +0 -446
- package/src/utils/mcp-tool-registry.ts +0 -298
- package/src/utils/migrate-snow-flow.ts +0 -98
- package/src/utils/oauth-html-templates.ts +0 -188
- package/src/utils/scope-utils.ts +0 -443
- package/src/utils/servicenow-client.ts +0 -3321
- package/src/utils/servicenow-id-generator.ts +0 -181
- package/src/utils/snow-memory-manager.ts +0 -605
- package/src/utils/snow-oauth.ts +0 -797
- package/src/utils/template-engine.ts +0 -463
- package/src/utils/theme-manager.ts +0 -295
- package/src/utils/unified-auth-store.ts +0 -222
- package/src/utils/update-set-importer.ts +0 -422
- package/src/utils/update-set-xml-packager.ts +0 -371
- package/src/utils/widget-template-generator.ts +0 -1744
- package/src/version.ts +0 -1950
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "ServiceNow Deployment Configuration Schema",
|
|
4
|
-
"description": "Schema for validating ServiceNow artifact deployment configurations",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["type"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"type": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": ["widget", "flow", "application", "script", "business_rule", "table"],
|
|
11
|
-
"description": "Type of artifact to deploy"
|
|
12
|
-
},
|
|
13
|
-
"config": {
|
|
14
|
-
"type": "object",
|
|
15
|
-
"description": "Artifact configuration (varies by type)"
|
|
16
|
-
},
|
|
17
|
-
"auto_update_set": {
|
|
18
|
-
"type": "boolean",
|
|
19
|
-
"default": true,
|
|
20
|
-
"description": "Automatically ensure active Update Set session"
|
|
21
|
-
},
|
|
22
|
-
"deployment_context": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "Context for Update Set naming"
|
|
25
|
-
},
|
|
26
|
-
"fallback_strategy": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"enum": ["manual_steps", "update_set_only", "none"],
|
|
29
|
-
"default": "manual_steps",
|
|
30
|
-
"description": "Strategy when direct deployment fails"
|
|
31
|
-
},
|
|
32
|
-
"permission_escalation": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"enum": ["auto_request", "manual", "none"],
|
|
35
|
-
"default": "auto_request",
|
|
36
|
-
"description": "How to handle permission errors"
|
|
37
|
-
},
|
|
38
|
-
"scope_preference": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"enum": ["global", "application", "auto"],
|
|
41
|
-
"default": "auto",
|
|
42
|
-
"description": "Preferred deployment scope"
|
|
43
|
-
},
|
|
44
|
-
"validation_level": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"enum": ["basic", "standard", "comprehensive"],
|
|
47
|
-
"default": "standard",
|
|
48
|
-
"description": "Level of validation to perform"
|
|
49
|
-
},
|
|
50
|
-
"environment": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"enum": ["development", "testing", "production"],
|
|
53
|
-
"default": "development",
|
|
54
|
-
"description": "Target deployment environment"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"additionalProperties": false
|
|
58
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "ServiceNow Flow Configuration Schema",
|
|
4
|
-
"description": "Schema for validating ServiceNow Flow Designer flow configurations",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["name", "description", "trigger_type"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"name": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"minLength": 1,
|
|
11
|
-
"maxLength": 100,
|
|
12
|
-
"description": "Flow name"
|
|
13
|
-
},
|
|
14
|
-
"description": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"minLength": 1,
|
|
17
|
-
"maxLength": 500,
|
|
18
|
-
"description": "Flow description"
|
|
19
|
-
},
|
|
20
|
-
"trigger_type": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": ["record_created", "record_updated", "scheduled", "manual"],
|
|
23
|
-
"description": "Flow trigger type"
|
|
24
|
-
},
|
|
25
|
-
"table": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Target table for record-based triggers"
|
|
28
|
-
},
|
|
29
|
-
"condition": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Trigger condition (encoded query)"
|
|
32
|
-
},
|
|
33
|
-
"category": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Flow category (e.g., approval, automation)"
|
|
36
|
-
},
|
|
37
|
-
"active": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"default": true,
|
|
40
|
-
"description": "Whether the flow is active"
|
|
41
|
-
},
|
|
42
|
-
"flow_definition": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"description": "Flow Designer definition JSON"
|
|
45
|
-
},
|
|
46
|
-
"flow_type": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"enum": ["flow", "subflow", "action"],
|
|
49
|
-
"default": "flow",
|
|
50
|
-
"description": "Type of flow to create"
|
|
51
|
-
},
|
|
52
|
-
"validate_before_deploy": {
|
|
53
|
-
"type": "boolean",
|
|
54
|
-
"default": true,
|
|
55
|
-
"description": "Validate flow definition before deployment"
|
|
56
|
-
},
|
|
57
|
-
"sys_scope": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "Application scope (global or application sys_id)"
|
|
60
|
-
},
|
|
61
|
-
"run_as": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"enum": ["system", "user"],
|
|
64
|
-
"default": "system",
|
|
65
|
-
"description": "Context for flow execution"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"additionalProperties": false,
|
|
69
|
-
"if": {
|
|
70
|
-
"properties": {
|
|
71
|
-
"trigger_type": {
|
|
72
|
-
"enum": ["record_created", "record_updated"]
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"then": {
|
|
77
|
-
"required": ["table"]
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "ServiceNow Widget Configuration Schema",
|
|
4
|
-
"description": "Schema for validating ServiceNow Service Portal widget configurations",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["name", "title", "template"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"name": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
-
"description": "Internal widget name (lowercase, underscores allowed)"
|
|
12
|
-
},
|
|
13
|
-
"title": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"minLength": 1,
|
|
16
|
-
"maxLength": 100,
|
|
17
|
-
"description": "Display title for the widget"
|
|
18
|
-
},
|
|
19
|
-
"description": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"maxLength": 500,
|
|
22
|
-
"description": "Widget description"
|
|
23
|
-
},
|
|
24
|
-
"category": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"default": "custom",
|
|
27
|
-
"description": "Widget category for organization"
|
|
28
|
-
},
|
|
29
|
-
"template": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"minLength": 1,
|
|
32
|
-
"description": "HTML template for the widget"
|
|
33
|
-
},
|
|
34
|
-
"css": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "CSS styles for the widget"
|
|
37
|
-
},
|
|
38
|
-
"client_script": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"description": "Client-side JavaScript controller"
|
|
41
|
-
},
|
|
42
|
-
"server_script": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"description": "Server-side script for data processing"
|
|
45
|
-
},
|
|
46
|
-
"option_schema": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"default": "[]",
|
|
49
|
-
"description": "JSON schema for widget options"
|
|
50
|
-
},
|
|
51
|
-
"demo_data": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"default": "{}",
|
|
54
|
-
"description": "Demo data for widget preview"
|
|
55
|
-
},
|
|
56
|
-
"has_preview": {
|
|
57
|
-
"type": "boolean",
|
|
58
|
-
"default": true,
|
|
59
|
-
"description": "Whether widget supports preview mode"
|
|
60
|
-
},
|
|
61
|
-
"sys_scope": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "Application scope (global or application sys_id)"
|
|
64
|
-
},
|
|
65
|
-
"active": {
|
|
66
|
-
"type": "boolean",
|
|
67
|
-
"default": true,
|
|
68
|
-
"description": "Whether the widget is active"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"additionalProperties": false
|
|
72
|
-
}
|