@bgicli/bgicli 2.2.11 → 2.2.12

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 +3 -4
  2. package/package.json +45 -45
package/dist/bgi.js CHANGED
@@ -15410,7 +15410,7 @@ function clearCheckpoints(sessionId) {
15410
15410
 
15411
15411
  // src/index.ts
15412
15412
  var import_fs6 = require("fs");
15413
- var VERSION2 = "2.2.11";
15413
+ var VERSION2 = "2.2.12";
15414
15414
  function isNewer(latest, current) {
15415
15415
  const [lM, lm, lp] = latest.split(".").map(Number);
15416
15416
  const [cM, cm, cp] = current.split(".").map(Number);
@@ -15453,11 +15453,10 @@ async function checkAndAutoUpdate() {
15453
15453
  `)
15454
15454
  );
15455
15455
  const ok = await new Promise((resolve3) => {
15456
- const isWin = process.platform === "win32";
15457
15456
  const child = (0, import_child_process2.spawn)(
15458
- isWin ? "npm.cmd" : "npm",
15457
+ "npm",
15459
15458
  ["install", "-g", `@bgicli/bgicli@${latest}`, "--registry", "https://registry.npmjs.org"],
15460
- { stdio: "inherit", shell: false }
15459
+ { stdio: "inherit", shell: true }
15461
15460
  );
15462
15461
  child.on("close", (code) => resolve3(code === 0));
15463
15462
  child.on("error", () => resolve3(false));
package/package.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "name": "@bgicli/bgicli",
3
- "version": "2.2.11",
4
- "description": "BGI CLI — Bioinformatics AI terminal for Chinese researchers (百炼/DeepSeek/Kimi/Qwen)",
5
- "bin": {
6
- "bgi": "dist/bgi.js"
7
- },
8
- "files": [
9
- "dist/bgi.js",
10
- "data/",
11
- "README.md"
12
- ],
13
- "publishConfig": {
14
- "access": "public"
15
- },
16
- "scripts": {
17
- "build": "node build.mjs",
18
- "dev": "tsx src/index.ts",
19
- "start": "node dist/bgi.js"
20
- },
21
- "dependencies": {
22
- "chalk": "^5.3.0",
23
- "openai": "^4.77.0"
24
- },
25
- "devDependencies": {
26
- "@types/node": "^22.0.0",
27
- "esbuild": "^0.24.0",
28
- "tsx": "^4.19.0",
29
- "typescript": "^5.7.0"
30
- },
31
- "engines": {
32
- "node": ">=18.0.0"
33
- },
34
- "keywords": [
35
- "bioinformatics",
36
- "AI",
37
- "CLI",
38
- "rnaseq",
39
- "scrnaseq",
40
- "genomics",
41
- "生信",
42
- "大模型"
43
- ],
44
- "license": "MIT"
45
- }
1
+ {
2
+ "name": "@bgicli/bgicli",
3
+ "version": "2.2.12",
4
+ "description": "BGI CLI — Bioinformatics AI terminal for Chinese researchers (百炼/DeepSeek/Kimi/Qwen)",
5
+ "bin": {
6
+ "bgi": "dist/bgi.js"
7
+ },
8
+ "files": [
9
+ "dist/bgi.js",
10
+ "data/",
11
+ "README.md"
12
+ ],
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "scripts": {
17
+ "build": "node build.mjs",
18
+ "dev": "tsx src/index.ts",
19
+ "start": "node dist/bgi.js"
20
+ },
21
+ "dependencies": {
22
+ "chalk": "^5.3.0",
23
+ "openai": "^4.77.0"
24
+ },
25
+ "devDependencies": {
26
+ "@types/node": "^22.0.0",
27
+ "esbuild": "^0.24.0",
28
+ "tsx": "^4.19.0",
29
+ "typescript": "^5.7.0"
30
+ },
31
+ "engines": {
32
+ "node": ">=18.0.0"
33
+ },
34
+ "keywords": [
35
+ "bioinformatics",
36
+ "AI",
37
+ "CLI",
38
+ "rnaseq",
39
+ "scrnaseq",
40
+ "genomics",
41
+ "生信",
42
+ "大模型"
43
+ ],
44
+ "license": "MIT"
45
+ }