archgraph-argo 0.10.18 → 0.10.20
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.
|
@@ -1005,13 +1005,23 @@ async function runNeo4jCypherQuery(options = {}) {
|
|
|
1005
1005
|
});
|
|
1006
1006
|
|
|
1007
1007
|
const summary = result.summary;
|
|
1008
|
+
const queriedDatabase = summary && summary.database ? summary.database.name : null;
|
|
1009
|
+
if (queriedDatabase && queriedDatabase !== config.database) {
|
|
1010
|
+
const error = new Error(`Neo4j query ran against database '${queriedDatabase}', but this repository expects '${config.database}'`);
|
|
1011
|
+
error.category = 'NEO4J_DATABASE_MISMATCH';
|
|
1012
|
+
error.queriedDatabase = queriedDatabase;
|
|
1013
|
+
error.expectedDatabase = config.database;
|
|
1014
|
+
throw error;
|
|
1015
|
+
}
|
|
1016
|
+
const database = queriedDatabase || config.database;
|
|
1008
1017
|
return {
|
|
1009
1018
|
architecturePath,
|
|
1010
1019
|
graphKey,
|
|
1020
|
+
database,
|
|
1011
1021
|
records,
|
|
1012
1022
|
summary: {
|
|
1013
1023
|
queryType: summary ? summary.queryType : null,
|
|
1014
|
-
database
|
|
1024
|
+
database,
|
|
1015
1025
|
containsUpdates: summary && summary.counters && typeof summary.counters.containsUpdates === 'function'
|
|
1016
1026
|
? summary.counters.containsUpdates()
|
|
1017
1027
|
: null,
|
|
@@ -2193,6 +2193,7 @@ async function queryNeo4jGraphTool(args = {}) {
|
|
|
2193
2193
|
status: 'passed',
|
|
2194
2194
|
architecturePath: result.architecturePath,
|
|
2195
2195
|
graphKey: result.graphKey,
|
|
2196
|
+
database: result.database,
|
|
2196
2197
|
records: result.records,
|
|
2197
2198
|
summary: result.summary,
|
|
2198
2199
|
});
|
|
@@ -2204,6 +2205,8 @@ async function queryNeo4jGraphTool(args = {}) {
|
|
|
2204
2205
|
architecturePath,
|
|
2205
2206
|
graphKey: buildGraphKey(architecturePath),
|
|
2206
2207
|
...(error && error.clause ? { clause: error.clause } : {}),
|
|
2208
|
+
...(error && error.queriedDatabase ? { queriedDatabase: error.queriedDatabase } : {}),
|
|
2209
|
+
...(error && error.expectedDatabase ? { expectedDatabase: error.expectedDatabase } : {}),
|
|
2207
2210
|
},
|
|
2208
2211
|
));
|
|
2209
2212
|
}
|
package/install-argo.ps1
CHANGED
|
@@ -726,7 +726,7 @@ if ($SkipDsh) {
|
|
|
726
726
|
Write-DshManagedBlock -Path $patchPath -Block $block -MarkerStart '# BEGIN ArchGraph ARGO deployment' -MarkerEnd '# END ArchGraph ARGO deployment'
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
-
Write-Host "[19/19] argo\
|
|
729
|
+
Write-Host "[19/19] argo\agents9 -> $DshHome\.agent-presets\<id> (DeepSeek Harness agent presets)"
|
|
730
730
|
New-DshAgentPresets -DshHome $DshHome -AgentsSrc (Join-Path $argoDir 'agents')
|
|
731
731
|
|
|
732
732
|
Write-Host ' Restart `dsh web` to activate the MCP bridge and the wakeup plugin;'
|
package/package.json
CHANGED