@uluops/setup 0.6.3 → 0.6.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.
|
@@ -47,13 +47,14 @@ class OpenCodeMcpConfig {
|
|
|
47
47
|
merge(config, apiKey) {
|
|
48
48
|
const raw = config["mcp"];
|
|
49
49
|
const existing = (typeof raw === "object" && raw !== null ? raw : {});
|
|
50
|
+
// Backend URLs resolved by @uluops/ops-mcp and @uluops/registry-mcp via
|
|
51
|
+
// their bundled SDKs. See lib/config-merger.ts for rationale.
|
|
50
52
|
const tracker = {
|
|
51
53
|
type: "local",
|
|
52
54
|
command: ["npx", "-y", "@uluops/ops-mcp"],
|
|
53
55
|
enabled: true,
|
|
54
56
|
timeout: 30000,
|
|
55
57
|
environment: {
|
|
56
|
-
ULUOPS_BASE_URL: "https://api.uluops.ai/api/v1",
|
|
57
58
|
ULUOPS_API_KEY: apiKey,
|
|
58
59
|
},
|
|
59
60
|
};
|
|
@@ -63,7 +64,6 @@ class OpenCodeMcpConfig {
|
|
|
63
64
|
enabled: true,
|
|
64
65
|
timeout: 30000,
|
|
65
66
|
environment: {
|
|
66
|
-
ULUOPS_REGISTRY_URL: "https://api.uluops.ai/api/v1/registry",
|
|
67
67
|
ULUOPS_API_KEY: apiKey,
|
|
68
68
|
},
|
|
69
69
|
};
|
|
@@ -49,6 +49,10 @@ export async function readConfig(path) {
|
|
|
49
49
|
export function mergeUluopsMcp(config, apiKey, trust = false) {
|
|
50
50
|
const existing = config.mcpServers ?? {};
|
|
51
51
|
const trustField = trust ? { trust: true } : {};
|
|
52
|
+
// Backend URLs are resolved by the respective MCP servers (@uluops/ops-mcp
|
|
53
|
+
// and @uluops/registry-mcp) against their bundled SDKs. Stamping
|
|
54
|
+
// ULUOPS_BASE_URL / ULUOPS_REGISTRY_URL here would override that resolution
|
|
55
|
+
// with a value that could go stale if production endpoints ever shift.
|
|
52
56
|
return {
|
|
53
57
|
...config,
|
|
54
58
|
mcpServers: {
|
|
@@ -57,7 +61,6 @@ export function mergeUluopsMcp(config, apiKey, trust = false) {
|
|
|
57
61
|
command: "npx",
|
|
58
62
|
args: ["-y", "@uluops/ops-mcp"],
|
|
59
63
|
env: {
|
|
60
|
-
ULUOPS_BASE_URL: "https://api.uluops.ai/api/v1",
|
|
61
64
|
ULUOPS_API_KEY: apiKey,
|
|
62
65
|
},
|
|
63
66
|
...trustField,
|
|
@@ -66,7 +69,6 @@ export function mergeUluopsMcp(config, apiKey, trust = false) {
|
|
|
66
69
|
command: "npx",
|
|
67
70
|
args: ["-y", "@uluops/registry-mcp"],
|
|
68
71
|
env: {
|
|
69
|
-
ULUOPS_REGISTRY_URL: "https://api.uluops.ai/api/v1/registry",
|
|
70
72
|
ULUOPS_API_KEY: apiKey,
|
|
71
73
|
},
|
|
72
74
|
...trustField,
|