@trops/dash-core 0.1.74 → 0.1.76
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/electron/index.js +14 -0
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +15 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15 -8
- package/dist/index.js.map +1 -1
- package/dist/mcp/mcpServerCatalog.json +14 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -5114,6 +5114,13 @@ const mcpController$2 = {
|
|
|
5114
5114
|
);
|
|
5115
5115
|
}
|
|
5116
5116
|
|
|
5117
|
+
// Merge static env vars from mcpConfig (with ~ expansion)
|
|
5118
|
+
if (mcpConfig.staticEnv) {
|
|
5119
|
+
Object.entries(mcpConfig.staticEnv).forEach(([envVar, value]) => {
|
|
5120
|
+
env[envVar] = value.replace(/^~/, process.env.HOME || "");
|
|
5121
|
+
});
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5117
5124
|
// Build args - start with static args, then append dynamic args from credentials
|
|
5118
5125
|
const args = [...(mcpConfig.args || [])];
|
|
5119
5126
|
if (mcpConfig.argsMapping && credentials) {
|
|
@@ -5605,6 +5612,13 @@ const mcpController$2 = {
|
|
|
5605
5612
|
});
|
|
5606
5613
|
}
|
|
5607
5614
|
|
|
5615
|
+
// Merge static env vars from authCommand with ~ expansion
|
|
5616
|
+
if (authCommand.staticEnv) {
|
|
5617
|
+
Object.entries(authCommand.staticEnv).forEach(([key, value]) => {
|
|
5618
|
+
env[key] = value.replace(/^~/, process.env.HOME || "");
|
|
5619
|
+
});
|
|
5620
|
+
}
|
|
5621
|
+
|
|
5608
5622
|
return new Promise((resolve) => {
|
|
5609
5623
|
const proc = spawn(authCommand.command, authCommand.args || [], {
|
|
5610
5624
|
env,
|