snow-flow 3.4.36 → 3.5.0
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 +414 -287
- package/dist/cli/deploy-artifact.js +2 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.js +10 -2
- package/dist/mcp/enhancements/smart-query-enhancement.d.ts +49 -0
- package/dist/mcp/enhancements/smart-query-enhancement.js +233 -0
- package/dist/mcp/servicenow-deployment-mcp.js +1 -1
- package/dist/mcp/servicenow-local-development-mcp.d.ts +48 -0
- package/dist/mcp/servicenow-local-development-mcp.js +570 -0
- package/dist/mcp/servicenow-mcp-server.js +2 -2
- package/dist/queen/agent-factory.js +134 -52
- package/dist/queen/queen-knowledge-base.d.ts +151 -0
- package/dist/queen/queen-knowledge-base.js +283 -0
- package/dist/queen/servicenow-queen.d.ts +129 -2
- package/dist/queen/servicenow-queen.js +1069 -618
- package/dist/services/widget-deployment-service.d.ts +1 -1
- package/dist/services/widget-deployment-service.js +1 -1
- package/dist/templates/claude-md-template.d.ts +1 -1
- package/dist/templates/claude-md-template.js +2 -2
- package/dist/types/servicenow.types.d.ts +1 -1
- package/dist/utils/artifact-local-sync.d.ts +115 -0
- package/dist/utils/artifact-local-sync.js +705 -0
- package/dist/utils/artifact-sync/artifact-registry.d.ts +66 -0
- package/dist/utils/artifact-sync/artifact-registry.js +450 -0
- package/dist/utils/artifact-sync/index.d.ts +33 -0
- package/dist/utils/artifact-sync/index.js +52 -0
- package/dist/utils/dependency-detector.d.ts +1 -1
- package/dist/utils/dependency-detector.js +1 -1
- package/dist/utils/mcp-tool-registry.js +109 -0
- package/dist/utils/servicenow-client.d.ts +1 -1
- package/dist/utils/servicenow-client.js +4 -8
- package/dist/utils/smart-field-fetcher.d.ts +68 -0
- package/dist/utils/smart-field-fetcher.js +395 -0
- package/package.json +2 -2
- package/website/.dockerignore +64 -0
- package/website/Dockerfile +36 -0
- package/website/README.md +40 -1
- package/website/cloudbuild.yaml +69 -0
- package/website/components/README.md +419 -0
- package/website/components/code-display/CodeDisplay.css +583 -0
- package/website/components/code-display/CodeDisplay.html +200 -0
- package/website/components/code-display/CodeDisplay.js +375 -0
- package/website/components/code-display/CodeDisplay.jsx +268 -0
- package/website/components/demo/ComponentLibraryDemo.html +845 -0
- package/website/components/feature-cards/FeatureCards.css +573 -0
- package/website/components/feature-cards/FeatureCards.html +247 -0
- package/website/components/feature-cards/FeatureCards.js +382 -0
- package/website/components/feature-cards/FeatureCards.jsx +235 -0
- package/website/components/hero/Hero.css +558 -0
- package/website/components/hero/Hero.html +98 -0
- package/website/components/hero/Hero.js +415 -0
- package/website/components/hero/Hero.jsx +214 -0
- package/website/components/interactive/InteractiveElements.css +776 -0
- package/website/components/interactive/InteractiveElements.html +283 -0
- package/website/components/interactive/InteractiveElements.js +489 -0
- package/website/components/interactive/InteractiveElements.jsx +444 -0
- package/website/components/layout/LayoutComponents.css +697 -0
- package/website/components/layout/LayoutComponents.html +374 -0
- package/website/components/layout/LayoutComponents.js +447 -0
- package/website/components/layout/LayoutComponents.jsx +379 -0
- package/website/components/navigation/Navigation.css +383 -0
- package/website/components/navigation/Navigation.html +89 -0
- package/website/components/navigation/Navigation.js +248 -0
- package/website/components/navigation/Navigation.jsx +124 -0
- package/website/css/animations.css +854 -0
- package/website/css/style.css +1010 -924
- package/website/index.html +728 -412
- package/website/js/animations.js +707 -0
- package/website/js/main.js +333 -381
- package/website/mcp-servers.html +310 -0
- package/website/nginx.conf +116 -0
- package/website/service.yaml +61 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* ServiceNow Queen Agent
|
|
3
3
|
* Central coordination point for the ServiceNow hive-mind
|
|
4
4
|
*/
|
|
5
|
+
import { ServiceNowTask } from './types';
|
|
5
6
|
export interface QueenConfig {
|
|
6
7
|
memoryPath?: string;
|
|
7
8
|
maxConcurrentAgents?: number;
|
|
@@ -19,9 +20,135 @@ export declare class ServiceNowQueen {
|
|
|
19
20
|
private logger;
|
|
20
21
|
constructor(config?: QueenConfig);
|
|
21
22
|
/**
|
|
22
|
-
* Main entry point: Execute ServiceNow objective with
|
|
23
|
+
* Main entry point: Execute ServiceNow objective with STRATEGIC ORCHESTRATION
|
|
24
|
+
*
|
|
25
|
+
* This is where the Queen Agent demonstrates true helicopter-view thinking:
|
|
26
|
+
* - Deep problem analysis beyond surface requirements
|
|
27
|
+
* - Strategic risk assessment and mitigation planning
|
|
28
|
+
* - Holistic solution architecture considering all stakeholders
|
|
29
|
+
* - Proactive bottleneck identification and resolution
|
|
30
|
+
* - Comprehensive orchestration of specialized agents
|
|
23
31
|
*/
|
|
24
32
|
executeObjective(objective: string): Promise<any>;
|
|
25
|
-
|
|
33
|
+
private spawnOptimalSwarm;
|
|
34
|
+
private coordinateExecution;
|
|
35
|
+
private shouldExecuteInParallel;
|
|
36
|
+
private executeAgentsInParallel;
|
|
37
|
+
private executeAgentsSequentially;
|
|
38
|
+
private facilitateAgentCoordination;
|
|
39
|
+
private executeFinalDeployment;
|
|
40
|
+
private createDeploymentPlan;
|
|
41
|
+
private extractWidgetConfig;
|
|
42
|
+
private extractScriptConfig;
|
|
43
|
+
private generateArtifactName;
|
|
44
|
+
private generateArtifactTitle;
|
|
45
|
+
private generateWidgetTemplate;
|
|
46
|
+
private generateWidgetCss;
|
|
47
|
+
private generateClientScript;
|
|
48
|
+
private generateServerScript;
|
|
49
|
+
private generateDemoData;
|
|
50
|
+
private generateScriptCode;
|
|
51
|
+
private executeDeploymentPlan;
|
|
52
|
+
private getServerForTool;
|
|
53
|
+
private handleWidgetDependencies;
|
|
54
|
+
private attemptRecovery;
|
|
55
|
+
private learnFromExecution;
|
|
56
|
+
private handleExecutionFailure;
|
|
57
|
+
private cleanupTask;
|
|
58
|
+
private generateTaskId;
|
|
59
|
+
getActiveTaskCount(): number;
|
|
60
|
+
getTaskStatus(taskId: string): ServiceNowTask | null;
|
|
61
|
+
/**
|
|
62
|
+
* Get gap _analysis results for a task
|
|
63
|
+
*/
|
|
64
|
+
getGapAnalysisResults(taskId: string): any | null;
|
|
65
|
+
/**
|
|
66
|
+
* Get all manual guides from gap _analysis for a task
|
|
67
|
+
*/
|
|
68
|
+
getManualConfigurationGuides(taskId: string): any;
|
|
69
|
+
getHiveMindStatus(): any;
|
|
70
|
+
exportMemory(): string;
|
|
71
|
+
importMemory(memoryData: string): void;
|
|
72
|
+
clearMemory(): void;
|
|
73
|
+
getLearningInsights(): any;
|
|
74
|
+
shutdown(): Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* STRATEGIC ORCHESTRATION METHODS
|
|
77
|
+
* These methods implement the Queen Agent's strategic thinking capabilities
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Perform deep problem analysis to understand what user ACTUALLY needs
|
|
81
|
+
*/
|
|
82
|
+
private performDeepProblemAnalysis;
|
|
83
|
+
/**
|
|
84
|
+
* Perform comprehensive risk assessment
|
|
85
|
+
*/
|
|
86
|
+
private performRiskAssessment;
|
|
87
|
+
/**
|
|
88
|
+
* Extract the core business problem from user request
|
|
89
|
+
*/
|
|
90
|
+
private getTableForType;
|
|
91
|
+
private extractSysIdFromObjective;
|
|
92
|
+
private extractCoreProblem;
|
|
93
|
+
/**
|
|
94
|
+
* Assess objective complexity
|
|
95
|
+
*/
|
|
96
|
+
private assessObjectiveComplexity;
|
|
97
|
+
/**
|
|
98
|
+
* Assess business impact
|
|
99
|
+
*/
|
|
100
|
+
private assessBusinessImpact;
|
|
101
|
+
/**
|
|
102
|
+
* Identify stakeholders affected by the change
|
|
103
|
+
*/
|
|
104
|
+
private identifyStakeholders;
|
|
105
|
+
/**
|
|
106
|
+
* Identify hidden requirements not explicitly stated
|
|
107
|
+
*/
|
|
108
|
+
private identifyHiddenRequirements;
|
|
109
|
+
/**
|
|
110
|
+
* Define clear success criteria
|
|
111
|
+
*/
|
|
112
|
+
private defineSuccessCriteria;
|
|
113
|
+
/**
|
|
114
|
+
* Identify technical risks
|
|
115
|
+
*/
|
|
116
|
+
private identifyTechnicalRisks;
|
|
117
|
+
/**
|
|
118
|
+
* Identify business risks
|
|
119
|
+
*/
|
|
120
|
+
private identifyBusinessRisks;
|
|
121
|
+
/**
|
|
122
|
+
* Identify operational risks
|
|
123
|
+
*/
|
|
124
|
+
private identifyOperationalRisks;
|
|
125
|
+
/**
|
|
126
|
+
* Identify compliance risks
|
|
127
|
+
*/
|
|
128
|
+
private identifyComplianceRisks;
|
|
129
|
+
/**
|
|
130
|
+
* Calculate overall risk level
|
|
131
|
+
*/
|
|
132
|
+
private calculateOverallRisk;
|
|
133
|
+
/**
|
|
134
|
+
* Develop mitigation strategies for critical risks
|
|
135
|
+
*/
|
|
136
|
+
private developMitigationStrategies;
|
|
137
|
+
/**
|
|
138
|
+
* Design solution architecture based on strategic analysis
|
|
139
|
+
*/
|
|
140
|
+
private designSolutionArchitecture;
|
|
141
|
+
/**
|
|
142
|
+
* Generate implementation steps based on approach
|
|
143
|
+
*/
|
|
144
|
+
private generateImplementationSteps;
|
|
145
|
+
/**
|
|
146
|
+
* Define quality gates based on analysis
|
|
147
|
+
*/
|
|
148
|
+
private defineQualityGates;
|
|
149
|
+
/**
|
|
150
|
+
* Define monitoring strategy
|
|
151
|
+
*/
|
|
152
|
+
private defineMonitoringStrategy;
|
|
26
153
|
}
|
|
27
154
|
//# sourceMappingURL=servicenow-queen.d.ts.map
|