snow-flow 2.6.4 → 2.6.6
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/dist/mcp/servicenow-development-assistant-mcp.js +29 -4
- package/dist/queen/queen-memory.d.ts +12 -6
- package/dist/queen/queen-memory.js +264 -187
- package/dist/queen/types.d.ts +1 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +9 -0
- package/package.json +1 -1
- package/dist/mcp/example-refactored-server.d.ts +0 -18
- package/dist/mcp/example-refactored-server.js +0 -57
- package/dist/mcp/servicenow-automation-mcp-refactored.d.ts +0 -26
- package/dist/mcp/servicenow-automation-mcp-refactored.js +0 -632
- package/dist/mcp/servicenow-deployment-mcp-refactored.d.ts +0 -74
- package/dist/mcp/servicenow-deployment-mcp-refactored.js +0 -1044
- package/dist/mcp/servicenow-flow-composer-mcp-refactored.d.ts +0 -25
- package/dist/mcp/servicenow-flow-composer-mcp-refactored.js +0 -565
- package/dist/mcp/servicenow-graph-memory-mcp-refactored.d.ts +0 -32
- package/dist/mcp/servicenow-graph-memory-mcp-refactored.js +0 -642
- package/dist/mcp/servicenow-integration-mcp-refactored.d.ts +0 -24
- package/dist/mcp/servicenow-integration-mcp-refactored.js +0 -612
- package/dist/mcp/servicenow-intelligent-mcp-refactored.d.ts +0 -63
- package/dist/mcp/servicenow-intelligent-mcp-refactored.js +0 -782
- package/dist/mcp/servicenow-operations-mcp-refactored.d.ts +0 -63
- package/dist/mcp/servicenow-operations-mcp-refactored.js +0 -1770
- package/dist/mcp/servicenow-platform-development-mcp-refactored.d.ts +0 -25
- package/dist/mcp/servicenow-platform-development-mcp-refactored.js +0 -542
- package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.d.ts +0 -26
- package/dist/mcp/servicenow-reporting-analytics-mcp-refactored.js +0 -648
- package/dist/mcp/servicenow-security-compliance-mcp-refactored.d.ts +0 -25
- package/dist/mcp/servicenow-security-compliance-mcp-refactored.js +0 -600
- package/dist/mcp/servicenow-update-set-mcp-refactored.d.ts +0 -31
- package/dist/mcp/servicenow-update-set-mcp-refactored.js +0 -662
|
@@ -506,12 +506,15 @@ class ServiceNowDevelopmentAssistantMCP {
|
|
|
506
506
|
this.logger.info(`First result: ${JSON.stringify(liveResults[0])}`);
|
|
507
507
|
}
|
|
508
508
|
// 4. Index results for future use (only if we have results)
|
|
509
|
+
// Skip indexing - causes timeouts
|
|
510
|
+
/*
|
|
509
511
|
if (liveResults && liveResults.length > 0) {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
this.logger.info('Indexing found artifacts for future use...');
|
|
513
|
+
for (const result of liveResults) {
|
|
514
|
+
await this.intelligentlyIndex(result);
|
|
515
|
+
}
|
|
514
516
|
}
|
|
517
|
+
*/
|
|
515
518
|
const instanceInfo = await mcp_auth_middleware_js_1.mcpAuth.getInstanceInfo();
|
|
516
519
|
const resultText = this.formatResults(liveResults);
|
|
517
520
|
this.logger.info(`Formatted result text: ${resultText.substring(0, 200)}...`);
|
|
@@ -587,10 +590,27 @@ class ServiceNowDevelopmentAssistantMCP {
|
|
|
587
590
|
this.logger.info('Analyzing ServiceNow artifact', { sys_id: args.sys_id });
|
|
588
591
|
// Fetch complete artifact from ServiceNow
|
|
589
592
|
const artifact = await this.client.getRecord(args.table, args.sys_id);
|
|
593
|
+
// Skip indexing - causes timeouts
|
|
594
|
+
/*
|
|
590
595
|
// Perform intelligent indexing
|
|
591
596
|
const indexedArtifact = await this.intelligentlyIndex(artifact);
|
|
597
|
+
|
|
592
598
|
// Store in memory
|
|
593
599
|
await this.storeInMemory(indexedArtifact);
|
|
600
|
+
*/
|
|
601
|
+
// Create minimal indexed artifact for response
|
|
602
|
+
const indexedArtifact = {
|
|
603
|
+
meta: {
|
|
604
|
+
sys_id: artifact.sys_id,
|
|
605
|
+
name: artifact.name || artifact.title || 'Unknown',
|
|
606
|
+
type: artifact.sys_class_name || 'unknown',
|
|
607
|
+
},
|
|
608
|
+
claudeSummary: `${artifact.name || artifact.title} is a ${artifact.sys_class_name || 'artifact'} in ServiceNow.`,
|
|
609
|
+
structure: {},
|
|
610
|
+
context: {},
|
|
611
|
+
relationships: [],
|
|
612
|
+
modificationPoints: []
|
|
613
|
+
};
|
|
594
614
|
return {
|
|
595
615
|
content: [
|
|
596
616
|
{
|
|
@@ -2043,9 +2063,14 @@ class ServiceNowDevelopmentAssistantMCP {
|
|
|
2043
2063
|
}
|
|
2044
2064
|
}
|
|
2045
2065
|
async updateMemoryIndex(artifact, modification) {
|
|
2066
|
+
// Skip memory indexing - causes timeouts
|
|
2067
|
+
/*
|
|
2046
2068
|
// Update the memory index with the changes
|
|
2047
2069
|
const indexed = await this.intelligentlyIndex(artifact);
|
|
2048
2070
|
await this.storeInMemory(indexed);
|
|
2071
|
+
*/
|
|
2072
|
+
// TODO: Implement faster indexing method
|
|
2073
|
+
this.logger.info('Memory indexing skipped to prevent timeouts');
|
|
2049
2074
|
}
|
|
2050
2075
|
getArtifactUrl(artifact) {
|
|
2051
2076
|
// Generate ServiceNow URL for the artifact
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ServiceNow Queen Memory System
|
|
3
|
-
* Simple
|
|
2
|
+
* ServiceNow Queen Memory System - JSON-based implementation
|
|
3
|
+
* Simple JSON file storage for the hive-mind - no more SQLite permission issues!
|
|
4
4
|
*/
|
|
5
5
|
import { DeploymentPattern, ServiceNowArtifact } from './types';
|
|
6
6
|
export declare class QueenMemorySystem {
|
|
7
|
-
private
|
|
7
|
+
private memoryDir;
|
|
8
8
|
private memory;
|
|
9
|
-
private
|
|
9
|
+
private storage;
|
|
10
|
+
private saveDebounceTimer?;
|
|
11
|
+
private readonly SAVE_DELAY;
|
|
10
12
|
constructor(dbPath?: string);
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
+
private getFilePath;
|
|
14
|
+
private loadStorage;
|
|
15
|
+
private convertStorageToMemory;
|
|
16
|
+
private scheduleSave;
|
|
17
|
+
private saveAll;
|
|
18
|
+
private saveJSON;
|
|
13
19
|
storePattern(pattern: DeploymentPattern): void;
|
|
14
20
|
getBestPattern(taskType: string): DeploymentPattern | null;
|
|
15
21
|
storeArtifact(artifact: ServiceNowArtifact): void;
|