@freesyntax/notch-cli 0.4.5 → 0.4.7
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 +37 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64,6 +64,33 @@ var MODEL_CATALOG = {
|
|
|
64
64
|
contextWindow: 131072,
|
|
65
65
|
maxOutputTokens: 16384,
|
|
66
66
|
baseUrl: "https://cutmob--notch-serve-ignis-notchignisserver-serve.modal.run/v1"
|
|
67
|
+
},
|
|
68
|
+
"notch-solace": {
|
|
69
|
+
id: "notch-solace",
|
|
70
|
+
label: "Solace",
|
|
71
|
+
size: "31B",
|
|
72
|
+
gpu: "A100-80GB",
|
|
73
|
+
contextWindow: 131072,
|
|
74
|
+
maxOutputTokens: 16384,
|
|
75
|
+
baseUrl: "https://cutmob--notch-serve-solace-notchsolaceserver-serve.modal.run/v1"
|
|
76
|
+
},
|
|
77
|
+
"notch-forge-lite": {
|
|
78
|
+
id: "notch-forge-lite",
|
|
79
|
+
label: "Forge Lite",
|
|
80
|
+
size: "9B",
|
|
81
|
+
gpu: "L4",
|
|
82
|
+
contextWindow: 131072,
|
|
83
|
+
maxOutputTokens: 16384,
|
|
84
|
+
baseUrl: "https://cutmob--notch-serve-forge-lite-notchforgeliteserver-serve.modal.run/v1"
|
|
85
|
+
},
|
|
86
|
+
"notch-solace-lite": {
|
|
87
|
+
id: "notch-solace-lite",
|
|
88
|
+
label: "Solace Lite",
|
|
89
|
+
size: "E4B",
|
|
90
|
+
gpu: "L4",
|
|
91
|
+
contextWindow: 65536,
|
|
92
|
+
maxOutputTokens: 8192,
|
|
93
|
+
baseUrl: "https://cutmob--notch-serve-solace-lite-notchsolaceliteserver-serve.modal.run/v1"
|
|
67
94
|
}
|
|
68
95
|
};
|
|
69
96
|
var MODEL_IDS = Object.keys(MODEL_CATALOG);
|
|
@@ -2064,8 +2091,14 @@ var MODEL_COSTS = {
|
|
|
2064
2091
|
// L40S
|
|
2065
2092
|
"notch-pyre": { input: 0.3, output: 0.9 },
|
|
2066
2093
|
// A100
|
|
2067
|
-
"notch-ignis": { input: 0.4, output: 1.2 }
|
|
2094
|
+
"notch-ignis": { input: 0.4, output: 1.2 },
|
|
2068
2095
|
// A100
|
|
2096
|
+
"notch-solace": { input: 0.35, output: 1 },
|
|
2097
|
+
// A100 — Gemma 4 31B
|
|
2098
|
+
"notch-forge-lite": { input: 0.08, output: 0.25 },
|
|
2099
|
+
// L4 — INT8
|
|
2100
|
+
"notch-solace-lite": { input: 0.04, output: 0.12 }
|
|
2101
|
+
// L4 — Gemma 4 E4B
|
|
2069
2102
|
};
|
|
2070
2103
|
var CostTracker = class {
|
|
2071
2104
|
entries = [];
|
|
@@ -3299,8 +3332,8 @@ import os3 from "os";
|
|
|
3299
3332
|
import chalk7 from "chalk";
|
|
3300
3333
|
var CACHE_FILE = path13.join(os3.homedir(), ".notch", "update-check.json");
|
|
3301
3334
|
var CHECK_INTERVAL = 24 * 60 * 60 * 1e3;
|
|
3302
|
-
var PACKAGE_NAME = "notch-cli";
|
|
3303
|
-
var REGISTRY_URL = `https://registry.npmjs.org/${PACKAGE_NAME}/latest`;
|
|
3335
|
+
var PACKAGE_NAME = "@freesyntax/notch-cli";
|
|
3336
|
+
var REGISTRY_URL = `https://registry.npmjs.org/${encodeURIComponent(PACKAGE_NAME)}/latest`;
|
|
3304
3337
|
async function checkForUpdates(currentVersion) {
|
|
3305
3338
|
try {
|
|
3306
3339
|
const cache = await loadCache();
|
|
@@ -3340,7 +3373,7 @@ function isNewer(latest, current) {
|
|
|
3340
3373
|
return false;
|
|
3341
3374
|
}
|
|
3342
3375
|
function formatUpdateMessage(current, latest) {
|
|
3343
|
-
return chalk7.yellow(` Update available: ${current}
|
|
3376
|
+
return chalk7.yellow(` Update available: ${current} \u2192 ${latest}. Run: npm install -g ${PACKAGE_NAME}@latest
|
|
3344
3377
|
`);
|
|
3345
3378
|
}
|
|
3346
3379
|
async function loadCache() {
|