@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.
Files changed (2) hide show
  1. package/dist/bgi.js +4 -3
  2. 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.2";
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 trimmed = input.trim();
17839
- if (!trimmed) continue;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgicli/bgicli",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "BGI CLI — Bioinformatics AI terminal for Chinese researchers (百炼/DeepSeek/Kimi/Qwen)",
5
5
  "bin": {
6
6
  "bgi": "dist/bgi.js"