@bgicli/bgicli 2.4.2 → 2.4.3
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 -3
- package/package.json +1 -1
package/dist/bgi.js
CHANGED
|
@@ -16001,7 +16001,7 @@ function clearCheckpoints(sessionId) {
|
|
|
16001
16001
|
|
|
16002
16002
|
// src/index.ts
|
|
16003
16003
|
var import_fs7 = require("fs");
|
|
16004
|
-
var VERSION2 = "2.4.
|
|
16004
|
+
var VERSION2 = "2.4.3";
|
|
16005
16005
|
var SKILLHUB_HUBS = {
|
|
16006
16006
|
bgi: { label: "BGI\u5185\u7F51", apiBase: "https://clawhub.ai", backend: "clawhub" },
|
|
16007
16007
|
clawhub: { label: "clawhub.ai", apiBase: "https://clawhub.ai", backend: "clawhub" },
|
|
@@ -17835,8 +17835,9 @@ async function main() {
|
|
|
17835
17835
|
break;
|
|
17836
17836
|
}
|
|
17837
17837
|
if (exiting) break;
|
|
17838
|
-
const
|
|
17839
|
-
if (!
|
|
17838
|
+
const rawTrimmed = input.trim();
|
|
17839
|
+
if (!rawTrimmed) continue;
|
|
17840
|
+
const trimmed = rawTrimmed.startsWith("\\") ? "/" + rawTrimmed.slice(1) : rawTrimmed;
|
|
17840
17841
|
if (["exit", "quit", "q", "/exit", "/quit"].includes(trimmed.toLowerCase())) {
|
|
17841
17842
|
await exitWithReport();
|
|
17842
17843
|
return;
|