@kenhkl/agent-moss 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -4837,6 +4837,7 @@ async function main() {
4837
4837
  if (args[i] === "--host" && args[i + 1]) host = args[++i];
4838
4838
  else if (args[i] === "--port" && args[i + 1]) port = parseInt(args[++i], 10);
4839
4839
  }
4840
+ if (port === 0) port = 9090;
4840
4841
  const server = await startServer(host, port);
4841
4842
  console.log(`Listening on http://${host}:${server.port}`);
4842
4843
  server.serve();