@tiens.nguyen/gonext-local-worker 1.0.303 → 1.0.304
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/gonext-repl.mjs +6 -5
- package/package.json +1 -1
package/gonext-repl.mjs
CHANGED
|
@@ -2071,21 +2071,22 @@ async function main() {
|
|
|
2071
2071
|
continue;
|
|
2072
2072
|
}
|
|
2073
2073
|
if (line === "/reset-output-token-global") {
|
|
2074
|
-
// Task #104: zero the GLOBAL (user + coding-URL) output-token counter
|
|
2074
|
+
// Task #104: zero the GLOBAL (user + coding-URL) output-token counter AND clear all
|
|
2075
|
+
// per-workspace counters, after confirm.
|
|
2075
2076
|
const ok = await askYesNo(
|
|
2076
|
-
`Reset the GLOBAL output-token total (currently ${fmtTokens(globalOutputTokens)}) to 0
|
|
2077
|
+
`Reset the GLOBAL output-token total (currently ${fmtTokens(globalOutputTokens)}) to 0? This also clears every workspace's output-token total.`,
|
|
2077
2078
|
false
|
|
2078
2079
|
);
|
|
2079
2080
|
if (!ok) {
|
|
2080
|
-
console.log(dim("Cancelled —
|
|
2081
|
+
console.log(dim("Cancelled — output-token totals unchanged.\n"));
|
|
2081
2082
|
continue;
|
|
2082
2083
|
}
|
|
2083
2084
|
const done = await resetGlobalOutputTokens();
|
|
2084
2085
|
if (done) {
|
|
2085
2086
|
globalOutputTokens = 0;
|
|
2086
|
-
console.log(green("✓ global output-token
|
|
2087
|
+
console.log(green("✓ global + workspace output-token totals reset to 0.\n"));
|
|
2087
2088
|
} else {
|
|
2088
|
-
console.log(dim("Could not reset the
|
|
2089
|
+
console.log(dim("Could not reset the output-token totals (API error).\n"));
|
|
2089
2090
|
}
|
|
2090
2091
|
continue;
|
|
2091
2092
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiens.nguyen/gonext-local-worker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.304",
|
|
4
4
|
"description": "Polls GoNext cloud API for async local LLM jobs and runs them against Ollama/OpenAI-compatible servers on this Mac",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|