nexrall-code 0.5.67 → 0.5.68
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/index.js +16 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64764,6 +64764,21 @@ var SELECTABLE_MODELS = [
|
|
|
64764
64764
|
"deepseek-v4-flash",
|
|
64765
64765
|
"qwen3.7-max"
|
|
64766
64766
|
];
|
|
64767
|
+
var MODEL_COST_MULTIPLIER = {
|
|
64768
|
+
"claude-sonnet-5": 1.5,
|
|
64769
|
+
"claude-opus-5": 3,
|
|
64770
|
+
"claude-fable-5": 5,
|
|
64771
|
+
"gpt-5.4": 2,
|
|
64772
|
+
"gpt-5.4-mini": 0.5,
|
|
64773
|
+
"gpt-4.1": 1,
|
|
64774
|
+
"deepseek-v4-pro": 0.1,
|
|
64775
|
+
"deepseek-v4-flash": 0.05,
|
|
64776
|
+
"qwen3.7-max": 1
|
|
64777
|
+
};
|
|
64778
|
+
function modelWithCostHint(id) {
|
|
64779
|
+
const mult = MODEL_COST_MULTIPLIER[id];
|
|
64780
|
+
return mult === void 0 ? id : `${id} (${mult}x)`;
|
|
64781
|
+
}
|
|
64767
64782
|
var NO_VISION_MODELS = /* @__PURE__ */ new Set(["deepseek-v4-pro", "deepseek-v4-flash", "qwen3.7-max"]);
|
|
64768
64783
|
var NO_PDF_MODELS = /* @__PURE__ */ new Set([
|
|
64769
64784
|
"gpt-5.4",
|
|
@@ -65828,7 +65843,7 @@ ${dirList}`;
|
|
|
65828
65843
|
const requested = arg.trim();
|
|
65829
65844
|
if (!requested) {
|
|
65830
65845
|
console.log(source_default.dim(` Current: ${source_default.cyan(resolveModelLabel(modelAlias))}`));
|
|
65831
|
-
console.log(source_default.dim(` Options: ${SELECTABLE_MODELS.join(" \xB7 ")}`));
|
|
65846
|
+
console.log(source_default.dim(` Options: ${SELECTABLE_MODELS.map(modelWithCostHint).join(" \xB7 ")}`));
|
|
65832
65847
|
} else if (SELECTABLE_MODELS.includes(normaliseModelId(requested))) {
|
|
65833
65848
|
modelAlias = normaliseModelId(requested);
|
|
65834
65849
|
console.log(source_default.green(` Model \u2192 ${source_default.bold(resolveModelLabel(modelAlias))}`));
|