Closed
Description
When connecting to the remote we use the Coder version to determine which flags are supported, but we should get the local cli version instead because it does not necessarily match (if the user has downloads disabled and is using an old cli).
Instead of all this:
Lines 197 to 218 in b35779a
We could do something like supportsCoderAgentLogDirFlag(version(binPath))
where version
comes from cliManager.ts
, and make version
return a SemVer
.