Context
The models.list gateway method handler was removed during the model provider ecosystem gutting, but references remain in:
src/gateway/server-methods-list.ts:36 — listed as a known method
src/gateway/method-scopes.ts:53 — listed under operator.read scopes
These cause INVALID_REQUEST errors when any client calls models.list:
[ws] ⇄ res ✗ models.list 0ms errorCode=INVALID_REQUEST errorMessage=unknown method: models.list
Callers that still reference it:
src/tui/gateway-chat.ts:229-231 — listModels() method
ui/src/ui/controllers/cron.ts:171 — model suggestions for cron UI
apps/macos/Sources/RemoteClaw/GatewayConnection.swift:76 — macOS app
Action
Remove the dead models.list references from the method list and scopes, and either remove or stub out the callers so they don't trigger gateway errors.
Context
The
models.listgateway method handler was removed during the model provider ecosystem gutting, but references remain in:src/gateway/server-methods-list.ts:36— listed as a known methodsrc/gateway/method-scopes.ts:53— listed underoperator.readscopesThese cause
INVALID_REQUESTerrors when any client callsmodels.list:Callers that still reference it:
src/tui/gateway-chat.ts:229-231—listModels()methodui/src/ui/controllers/cron.ts:171— model suggestions for cron UIapps/macos/Sources/RemoteClaw/GatewayConnection.swift:76— macOS appAction
Remove the dead
models.listreferences from the method list and scopes, and either remove or stub out the callers so they don't trigger gateway errors.