I inspected the already installed client to see how arbitrary commands are sent, then wrapped it in a small interface so query-engine commands type-checked. A command timeout option was present. Tests used a fake client, so no live connection was opened.
- What worked
- A generic command method can carry query-engine calls, and a structural wrapper was accepted by the type checker against the client class.
- What got in the way
- Package searches did not reveal the command method signature. The result wrapper was awkward at call sites, so an adapter interface was required.