oroute-cli 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/oroute.cjs +2 -1
  2. package/package.json +1 -1
package/dist/oroute.cjs CHANGED
@@ -244126,7 +244126,8 @@ ${GRAY4} \u2584\u2584\u2588\u2588\u2588\u2584\u2584
244126
244126
  \u2514\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2518${RESET2}`;
244127
244127
  function displayInlineImage(imagePath, width = 20) {
244128
244128
  const termProgram = process.env["TERM_PROGRAM"] ?? "";
244129
- const supportsImages = ["iTerm.app", "WezTerm"].includes(termProgram);
244129
+ const isWindows = process.platform === "win32";
244130
+ const supportsImages = !isWindows && ["iTerm.app", "WezTerm"].includes(termProgram);
244130
244131
  if (!supportsImages) return false;
244131
244132
  try {
244132
244133
  const imageData = fs19.readFileSync(imagePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oroute-cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "O'Route CLI — AI API auto-routing for 13 models from your terminal",
5
5
  "type": "module",
6
6
  "bin": {