@dsh-bio/dsh-bio-gem 0.1.1 → 0.1.2

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/README.md +9 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ Genome-scale metabolic model builder for dsh: genome in, validated SBML out.
6
6
 
7
7
  ## 📦 安装
8
8
 
9
- 本插件以 **GitHub 源**分发(纯 ESM,无构建步骤,可直接加载);npm 包尚未发布。
9
+ 本插件已发布为 npm **`@dsh-bio/dsh-bio-gem`**(纯 ESM,无构建步骤),也可直接从 GitHub 源或本地目录安装。
10
10
 
11
11
  ### 0. 环境要求
12
12
 
@@ -24,16 +24,20 @@ Genome-scale metabolic model builder for dsh: genome in, validated SBML out.
24
24
  ### 1. 安装插件
25
25
 
26
26
  ```sh
27
- # GitHub 安装(推荐)
27
+ # 方式一:从 npm 安装(推荐,已发布预置包)
28
+ npx -y @deepseek-ai/dsh plugin --profile web add @dsh-bio/dsh-bio-gem
29
+
30
+ # 方式二:从 GitHub 安装(拉源码;本插件纯 ESM 无构建步骤,可直接加载)
28
31
  npx -y @deepseek-ai/dsh plugin --profile web add github:moonbowterfly/dsh-bio-gem
29
32
 
30
- # 从本地目录安装(开发调试)
33
+ # 方式三:从本地目录安装(开发调试)
31
34
  npx -y @deepseek-ai/dsh plugin --profile web add ./dsh-bio-gem
32
35
  ```
33
36
 
34
37
  - 本机若已全局安装 dsh CLI,把 `npx -y @deepseek-ai/dsh` 换成 `dsh` 即可。
35
38
  - `--profile <name>` 是**必填选项**(不传报 `required option '--profile <name>' not specified`);Web 端固定用 `web`。
36
39
  - 安装完**重启 dsh web 服务**(关掉原窗口,重新双击启动入口)。
40
+ - 版本刚发布时可能短时间拉不到:registry 首次分发有几分钟延迟,`pnpm` 还可能缓存住 404。遇到 `ERR_PNPM_FETCH_404 ... is not in the npm registry` 时等几分钟重试,或在命令末尾追加 `--registry https://registry.npmjs.org/` 绕过缓存。
37
41
 
38
42
  验证插件层已生效(不用启动服务):
39
43
 
@@ -122,7 +126,8 @@ npx -y @deepseek-ai/dsh plugin --profile web remove dsh-bio-gem
122
126
 
123
127
  ```sh
124
128
  # 1) install the plugin into the web profile, then restart dsh
125
- npx -y @deepseek-ai/dsh plugin --profile web add github:moonbowterfly/dsh-bio-gem
129
+ npx -y @deepseek-ai/dsh plugin --profile web add @dsh-bio/dsh-bio-gem
130
+ # (or from source: github:moonbowterfly/dsh-bio-gem)
126
131
 
127
132
  # 2) analysis Python needs cobra (+ pyrodigal for the annotation fallback)
128
133
  uv venv --python 3.11 "$HOME/.dsh/dsh-bio-gem/venv"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-bio/dsh-bio-gem",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "基因组尺度代谢模型(GEM)构建插件:输入细菌全基因组(蛋白FASTA,支持多质粒/多染色体),自动构建+验证+补洞+出报告(SBML + 模型卡),供 dsh-bio-genie 消费工具加载使用 | Genome-scale metabolic model builder for dsh",
5
5
  "repository": {
6
6
  "type": "git",