@robinpath/cli 1.91.0 → 1.92.0
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.mjs +6 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -18598,7 +18598,7 @@ function getNativeModules() {
|
|
|
18598
18598
|
import { join as join3, basename as basename2 } from "node:path";
|
|
18599
18599
|
import { homedir as homedir2, platform as platform2 } from "node:os";
|
|
18600
18600
|
import { existsSync as existsSync2 } from "node:fs";
|
|
18601
|
-
var CLI_VERSION = true ? "1.
|
|
18601
|
+
var CLI_VERSION = true ? "1.92.0" : "1.92.0";
|
|
18602
18602
|
var FLAG_QUIET = false;
|
|
18603
18603
|
var FLAG_VERBOSE = false;
|
|
18604
18604
|
var FLAG_AUTO_ACCEPT = false;
|
|
@@ -24766,15 +24766,17 @@ Type / to see available commands.`;
|
|
|
24766
24766
|
}
|
|
24767
24767
|
);
|
|
24768
24768
|
if (!result) {
|
|
24769
|
-
finalResponse = "No internet connection. Check your network and try again.";
|
|
24769
|
+
finalResponse = "\u26A0 No internet connection. Check your network and try again.";
|
|
24770
24770
|
break;
|
|
24771
24771
|
}
|
|
24772
24772
|
if (result.error) {
|
|
24773
|
-
finalResponse = result.error
|
|
24773
|
+
finalResponse = `\u26A0 ${result.error}`;
|
|
24774
24774
|
break;
|
|
24775
24775
|
}
|
|
24776
24776
|
if (!result.code) {
|
|
24777
|
-
|
|
24777
|
+
const model = readAiConfig().model || this.model;
|
|
24778
|
+
const hint = model === "robinpath-default" ? "The free model may be temporarily unavailable. Try again or switch to a paid model with /model." : "The AI returned an empty response. Try rephrasing or check your API key with /usage.";
|
|
24779
|
+
finalResponse = fullText || `\u26A0 ${hint}`;
|
|
24778
24780
|
break;
|
|
24779
24781
|
}
|
|
24780
24782
|
if (result.usage) {
|