orchestrix 16.0.3 → 16.0.5

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.
Files changed (2) hide show
  1. package/lib/merge.js +8 -4
  2. package/package.json +1 -1
package/lib/merge.js CHANGED
@@ -33,7 +33,7 @@ function mergeMcpJson(projectDir) {
33
33
  type: 'http',
34
34
  url: MCP_SERVER_URL,
35
35
  headers: {
36
- Authorization: 'Bearer {{env:ORCHESTRIX_LICENSE_KEY}}',
36
+ Authorization: 'Bearer ${ORCHESTRIX_LICENSE_KEY}',
37
37
  },
38
38
  };
39
39
 
@@ -42,9 +42,13 @@ function mergeMcpJson(projectDir) {
42
42
  existing.mcpServers.orchestrix = orchestrixEntry;
43
43
  changed = true;
44
44
  } else {
45
- // Update URL and headers if different
46
- if (existingOrchestrix.url !== orchestrixEntry.url ||
47
- existingOrchestrix.type !== orchestrixEntry.type) {
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchestrix",
3
- "version": "16.0.3",
3
+ "version": "16.0.5",
4
4
  "description": "Install Orchestrix multi-agent infrastructure into any project. One command: npx orchestrix install",
5
5
  "bin": {
6
6
  "orchestrix": "bin/o8x.js"