orchestrix 16.0.3 → 16.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/lib/merge.js +7 -3
- package/package.json +1 -1
package/lib/merge.js
CHANGED
|
@@ -42,9 +42,13 @@ function mergeMcpJson(projectDir) {
|
|
|
42
42
|
existing.mcpServers.orchestrix = orchestrixEntry;
|
|
43
43
|
changed = true;
|
|
44
44
|
} else {
|
|
45
|
-
//
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
// Always ensure URL, type, and headers are up to date
|
|
46
|
+
const needsUpdate =
|
|
47
|
+
existingOrchestrix.url !== orchestrixEntry.url ||
|
|
48
|
+
existingOrchestrix.type !== orchestrixEntry.type ||
|
|
49
|
+
existingOrchestrix.headers?.Authorization !== orchestrixEntry.headers.Authorization;
|
|
50
|
+
|
|
51
|
+
if (needsUpdate) {
|
|
48
52
|
existing.mcpServers.orchestrix = { ...existingOrchestrix, ...orchestrixEntry };
|
|
49
53
|
changed = true;
|
|
50
54
|
}
|