@bgicli/bgicli 2.3.8 → 2.3.9
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/bgi.js +4 -2
- package/package.json +1 -1
package/dist/bgi.js
CHANGED
|
@@ -14316,6 +14316,7 @@ ${label} `);
|
|
|
14316
14316
|
let lastLineWasEmpty = false;
|
|
14317
14317
|
let spinnerCleared = false;
|
|
14318
14318
|
let partialLine = "";
|
|
14319
|
+
let outputStarted = false;
|
|
14319
14320
|
const MAX_STREAM_LINES = 200;
|
|
14320
14321
|
let frame = 0;
|
|
14321
14322
|
const spin = setInterval(() => {
|
|
@@ -14335,7 +14336,8 @@ ${label} `);
|
|
|
14335
14336
|
let heartbeat = null;
|
|
14336
14337
|
const onStream = isBash ? (chunk) => {
|
|
14337
14338
|
lastChunkTime = Date.now();
|
|
14338
|
-
if (
|
|
14339
|
+
if (!outputStarted) {
|
|
14340
|
+
outputStarted = true;
|
|
14339
14341
|
clearSpinner();
|
|
14340
14342
|
process.stdout.write(`${label}
|
|
14341
14343
|
`);
|
|
@@ -15979,7 +15981,7 @@ function clearCheckpoints(sessionId) {
|
|
|
15979
15981
|
|
|
15980
15982
|
// src/index.ts
|
|
15981
15983
|
var import_fs7 = require("fs");
|
|
15982
|
-
var VERSION2 = "2.3.
|
|
15984
|
+
var VERSION2 = "2.3.9";
|
|
15983
15985
|
var SKILLHUB_HUBS = {
|
|
15984
15986
|
bgi: { label: "BGI\u5185\u7F51", apiBase: "https://clawhub.ai", backend: "clawhub" },
|
|
15985
15987
|
clawhub: { label: "clawhub.ai", apiBase: "https://clawhub.ai", backend: "clawhub" },
|