›The package installs a global command-line tool `clawdcursor` which sets up a local server for desktop automation. The `postinstall` script attempts to build and sign a native helper application on macOS, and verifies the Node.js version. The package aims to provide an AI agent with desktop control capabilities.
›[install/low] Installs a global command-line tool named `clawdcursor`. — evidence: package.json: `"bin": { "clawdcursor": "dist/surface/cli.js" }`
›[install/low] Executes a Node.js script `scripts/verify-install.js` during postinstall. — evidence: package.json: `"postinstall": "node scripts/verify-install.js || node -e \"process.exit(0)\" && node scripts/postinstall-native.js || node -e \"process.exit(0)\""`
›[install/low] Executes a Node.js script `scripts/postinstall-native.js` during postinstall. — evidence: package.json: `"postinstall": "node scripts/verify-install.js || node -e \"process.exit(0)\" && node scripts/postinstall-native.js || node -e \"process.exit(0)\""`
›[build/medium] On macOS, attempts to build and ad-hoc sign a native helper application using `native/build.sh` if Xcode Command Line Tools are installed. — evidence: package.json: `"setup": "... if(process.platform==='darwin'){const{execSync}=require('child_process');try{execSync('chmod +x native/build.sh && native/build.sh',{stdio:'inherit'})}catch(e){console.error('\n❌ Native build failed. Run manually: cd native && ./build.sh');process.exit(1)}}"` and `native/build.sh`
›[prerequisite-check/low] Checks if Node.js version is 20 or higher during installation via `docs/install.ps1` and `docs/install.sh`. — evidence: docs/install.ps1: `if ($major -lt 20) { ... }` and docs/install.sh: `if [ "$NODE_MAJOR" -lt 20 ]; then ... fi`
›[network/low] Communicates with a local server on `127.0.0.1:3847/mcp` or `127.0.0.1:3848` for JSON-RPC and other services. — evidence: README.md: `POST JSON-RPC to \`http://127.0.0.1:3847/mcp\``, `native/README.md: `localhost (\`127.0.0.1:3848\` by default)`
›[runtime/low] The `clawdcursor` CLI tool can start a daemon (`clawdcursor agent`) which serves HTTP and MCP on port 3847. — evidence: package.json: `"start": "node dist/surface/cli.js agent"` and docs/install.sh: `clawdcursor agent Start the daemon (HTTP + MCP on :3847)`
›[runtime/low] The `clawdcursor` CLI tool can be used to configure AI providers and models (`clawdcursor doctor`). — evidence: package.json: `"doctor": "node dist/surface/cli.js doctor"` and docs/install.sh: `clawdcursor doctor Configure AI provider + models`
›Not determinable without running the code:
› • The exact actions performed by `scripts/verify-install.js` and `scripts/postinstall-native.js` are not fully known without reading their contents. They are executed during `postinstall`.
› • The specific functionality of the native helper binaries (`ClawdCursorHost`, `clawdcursor-helper`, `screenshot-helper`, `permission-check`) is not fully detailed in the provided `build.sh` script, beyond their names suggesting desktop interaction and permissions.
› • The content fetched by `curl -fsSL https://clawdcursor.com/install.sh | bash` or `powershell -c "irm https://clawdcursor.com/install.ps1 | iex"` is not present in the repository, but the `docs/install.sh` and `docs/install.ps1` files are local copies of what would be fetched. These scripts perform global npm installation of the `clawdcursor` package.
›Read-only analysis: the code was NOT executed, so run-time-fetched payloads and run-time-built endpoints were not observed.