@remcp/remcp 0.2.118 → 0.2.119

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remcp/remcp",
3
- "version": "0.2.118",
3
+ "version": "0.2.119",
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",
@@ -460,7 +460,10 @@ export function writeWindowsServiceLauncher(cliPath = globalCliPath(), nodePath
460
460
  export function installWindowsService(cliPath = globalCliPath(), { nodePath = process.execPath } = {}) {
461
461
  const launcherFile = writeWindowsServiceLauncher(cliPath, nodePath);
462
462
  const command = `"${launcherFile}"`;
463
- run('schtasks.exe', ['/Create', '/TN', windowsTaskName, '/TR', command, '/SC', 'ONLOGON', '/RL', 'HIGHEST', '/F']);
463
+ // Computer-use needs the signed-in interactive desktop. Create the task with /IT from the start
464
+ // instead of changing it afterwards: schtasks /Change can request the account password even when
465
+ // the task already belongs to the current user, which turns a one-command install into a prompt.
466
+ run('schtasks.exe', ['/Create', '/TN', windowsTaskName, '/TR', command, '/SC', 'ONLOGON', '/RL', 'HIGHEST', '/IT', '/F']);
464
467
  run('schtasks.exe', ['/Run', '/TN', windowsTaskName]);
465
468
  }
466
469
 
@@ -685,12 +688,13 @@ export function configureMacWriteAccess() {
685
688
  }
686
689
 
687
690
  export function configureWindowsWriteAccess() {
688
- try { run('schtasks.exe', ['/Change', '/TN', windowsTaskName, '/RL', 'HIGHEST', '/IT']); } catch {}
691
+ // installWindowsService already creates the task as HighestAvailable + InteractiveToken. Keep
692
+ // post-install access setup non-interactive so a fresh install never asks for the Windows password.
689
693
  try {
690
694
  const workspaceDir = path.join(process.env.LOCALAPPDATA || path.join(home, 'AppData', 'Local'), 'ReMCP');
691
695
  fs.mkdirSync(workspaceDir, { recursive: true });
692
696
  } catch {}
693
- console.log('ReMCP configured with elevated privileges for full write access.');
697
+ console.log('ReMCP configured with the highest available user privileges for interactive desktop access.');
694
698
  }
695
699
 
696
700
  export function configureLinuxWriteAccess() {