@remcp/remcp 0.2.107 → 0.2.109
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/package.json +1 -1
- package/src/agent.mjs +3 -0
package/package.json
CHANGED
package/src/agent.mjs
CHANGED
|
@@ -155,6 +155,9 @@ export async function runAgent(options) {
|
|
|
155
155
|
// process.env here is what gives the runtime its REMCP_RUNTIME_* configuration, PATH,
|
|
156
156
|
// HOME and the telemetry opt-out.
|
|
157
157
|
const env = { ...process.env };
|
|
158
|
+
// The paired agent is the trusted local launcher. Keep standalone runtimes fail-closed,
|
|
159
|
+
// while explicitly enabling browser control for runtimes spawned by an authenticated device.
|
|
160
|
+
if (!Object.hasOwn(env, 'REMCP_BROWSER_REMOTE_ENABLED')) env.REMCP_BROWSER_REMOTE_ENABLED = '1';
|
|
158
161
|
if (!telemetryEnabled) env.REMCP_RUNTIME_DISABLE_TELEMETRY = '1';
|
|
159
162
|
return env;
|
|
160
163
|
}
|