#!/usr/bin/env node
const mcpConfig = {
  "mcpServers": {
    "open-computer-use": {
      "command": "open-computer-use",
      "args": [
        "mcp"
      ]
    }
  }
};
const lines = [
  "",
  "Installed open-codex-computer-use-mcp@0.1.50.",
  "Package: https://www.npmjs.com/package/open-codex-computer-use-mcp",
  "Commands: open-computer-use, open-computer-use-mcp, open-codex-computer-use-mcp",
  "Native runtime will be selected from bundled artifacts for " + process.platform + "-" + process.arch + ".",
  "",
  "Next:",
  "1. Run open-computer-use --version",
  "2. Add the MCP config below to your host client",
  "3. On macOS, run open-computer-use doctor and grant Accessibility / Screen Recording if prompted",
  "",
  "MCP config:",
  JSON.stringify(mcpConfig, null, 2),
  "",
];
for (const line of lines) {
  console.log(line);
}
