@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/agent.mjs +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remcp/remcp",
3
- "version": "0.2.107",
3
+ "version": "0.2.109",
4
4
  "description": "ReMCP device client: pair a computer with ReMCP and run the outbound-only agent that hosts the local MCP runtime.",
5
5
  "type": "module",
6
6
  "license": "MIT",
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
  }