Remote 0.2.48 / ChatGPT: edit_block exposed without input parameters despite valid local schema

Author: mastermindx-2Created Sep 6, 2026Updated Sep 27, 2026

Symptom

With the Remote Desktop Commander plugin connected from ChatGPT web to a macOS arm64 machine, tool discovery exposes edit_block as a zero-argument callable:

typescript
type edit_block = () => any;

Its description still documents file_path, old_string, new_string, expected_replacements, and structured-file arguments. Other tools, including read_file, write_file, and start_process, expose usable parameter schemas and have completed real file/shell operations on the same connection.

No empty/guessed edit_block invocation was sent. The problem is the absence of argument fields in the model-facing tool contract, not a failed editor call. The signature above is the ChatGPT-exposed representation, not a captured raw hosted MCP tools/list response.

Environment and scope

  • Installed Desktop Commander package/remote metadata: 0.2.48.
  • OS: macOS 26.5, arm64.
  • Client: ChatGPT web, Remote Desktop Commander plugin.
  • Repeated tool-schema discovery continued to show the zero-argument signature while neighboring tools worked.
  • No local source modification, reinstallation, forced restart, credential/configuration export, or live reconnect experiment was performed to diagnose this.

Local schema generation succeeds

Importing only the installed dist/tools/schemas.js plus its installed zod-to-json-schema converter, rather than launching the server, generates an object schema with:

json
{
  "type": "object",
  "required": ["file_path"],
  "propertyNames": [
    "file_path", "old_string", "new_string", "expected_replacements",
    "range", "content", "options", "origin"
  ]
}

propertyNames here is a compact diagnostic list of the real properties keys, not a proposed replacement JSON Schema. The local schema retains the refinement/validation semantics. write_file was a working-schema comparison.

Registration path has a separate contract boundary

Installed dist/remote-device/desktop-commander-integration.js returns mcpClient.listTools().tools from listClientTools(). device.js passes that result into remoteChannel.registerDevice(capabilities, ...).

However, in installed dist/remote-device/remote-channel.js, registerDevice(capabilities, ...) does not use the incoming capabilities argument as a value. The device update uses this.capabilitiesPayload(false), and that method returns only:

javascript
{
  app_version: VERSION,
  ...(broadcastCapable ? { transport_broadcast_v1: true } : {})
}

A controlled test executed these two extracted installed methods with synthetic device lookup/update/channel functions. Supplying one synthetic tool descriptor resulted in exactly one captured update with capabilities: { app_version: "0.2.48" }; no tool descriptor was forwarded. Three assertions passed. No real registration, network call or file write occurred in this test.

Installed-file SHA-256s, for source identification rather than an npm/upstream-equivalence claim:

  • dist/remote-device/desktop-commander-integration.js: dad8505857b7393cea5d681cdc22612da91fcc5b77a6556df00931ca078760ee
  • dist/remote-device/remote-channel.js: beb74a8a113cc86c7aeef864083e2b9fae7b2f94d8fc7d54dafd29159dddbfbe

This is not proof that omitting descriptors is a bug or the cause of the zero-argument tool. The hosted service may intentionally use a static catalog or another schema path. It does establish that updating a local editor schema alone will not propagate it through this particular registration payload. I have not inspected the hosted catalog or the client's schema conversion.

Requested diagnosis / acceptance

Please compare the local schema, the schema actually returned by the hosted MCP endpoint, and the ChatGPT-exposed callable for edit_block. Identify the supported catalog/connection refresh mechanism, if applicable, instead of requiring a blind local reinstall.

A fix is complete when the actual remote client receives the expected edit parameters and can perform one exact replacement on a disposable file with independent readback. A mismatched expected replacement count should refuse without changing that file. Neighboring file/process schemas should remain intact.

Related but distinct: #633 covers online/pong with a disconnected execution backend; this report concerns the edit schema while ordinary backend operations work. No failure-inducing stress test was run against the shared connection.

Source: wonderwhy-er/DesktopCommanderMCP