@delta-infra/cli 1.0.79 → 1.0.81
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/README.md +427 -437
- package/checksums.txt +5 -5
- package/package.json +2 -13
- package/scripts/install-wizard.js +625 -616
- package/scripts/install.js +417 -417
- package/scripts/run.js +65 -65
- package/skills/delta-sandbox/SKILL.md +356 -356
- package/skills/delta-sandbox/agents/openai.yaml +4 -4
- package/skills/delta-sandbox/references/commands.md +56 -56
- package/skills/delta-sandbox/references/lifecycle.md +92 -92
- package/skills/delta-sandbox/references/recipes.md +133 -133
- package/skills/delta-science/SKILL.md +149 -170
- package/skills/delta-science/agents/openai.yaml +4 -4
- package/skills/delta-science/references/antbo.md +100 -0
- package/skills/delta-science/references/cli-contract.md +74 -75
- package/skills/delta-science/references/delta-bo.md +90 -0
- package/skills/{gsasii/references/endpoints.md → delta-science/references/gsasii.md} +116 -130
- package/skills/{lammps/references/endpoints.md → delta-science/references/lammps.md} +66 -61
- package/skills/{ldm-bo/references/endpoints.md → delta-science/references/ldm-bo.md} +127 -124
- package/skills/delta-science/references/ldm.md +72 -0
- package/skills/{pubchem/references/endpoints.md → delta-science/references/pubchem.md} +127 -122
- package/skills/{pymatgen/references/endpoints.md → delta-science/references/pymatgen.md} +68 -68
- package/skills/{rdkit/references/endpoints.md → delta-science/references/rdkit.md} +139 -133
- package/skills/delta-science/references/routing-index.md +36 -0
- package/skills/delta-science/references/strbo.md +87 -0
- package/skills/{synbo-service/references/endpoints.md → delta-science/references/synbo.md} +197 -157
- package/skills/delta-science/references/workflows.md +58 -41
- package/skills/delta-science/scripts/catalog.py +92 -0
- package/skills/delta-science/scripts/invoke.py +310 -227
- package/skills/delta-shared/SKILL.md +95 -95
- package/skills/delta-shared/agents/openai.yaml +4 -4
- package/skills/manifest.json +3 -1
- package/skills/antbo-ldm-guard/SKILL.md +0 -58
- package/skills/antbo-ldm-guard/agents/openai.yaml +0 -4
- package/skills/antbo-service/SKILL.md +0 -79
- package/skills/antbo-service/agents/openai.yaml +0 -4
- package/skills/antbo-service/references/operations.md +0 -45
- package/skills/delta-bo/SKILL.md +0 -36
- package/skills/delta-bo/agents/openai.yaml +0 -4
- package/skills/delta-bo/references/endpoints.md +0 -263
- package/skills/delta-science/references/generated-catalog.md +0 -48
- package/skills/delta-science/references/operation-contracts.md +0 -137
- package/skills/delta-science/references/services.md +0 -112
- package/skills/delta-science/scripts/generated_catalog.py +0 -69
- package/skills/gsasii/SKILL.md +0 -42
- package/skills/gsasii/agents/openai.yaml +0 -4
- package/skills/lammps/SKILL.md +0 -39
- package/skills/lammps/agents/openai.yaml +0 -4
- package/skills/ldm-bo/SKILL.md +0 -35
- package/skills/ldm-bo/agents/openai.yaml +0 -4
- package/skills/pubchem/SKILL.md +0 -93
- package/skills/pubchem/agents/openai.yaml +0 -4
- package/skills/pubchem/references/operations.md +0 -41
- package/skills/pymatgen/SKILL.md +0 -54
- package/skills/pymatgen/agents/openai.yaml +0 -4
- package/skills/rdkit/SKILL.md +0 -112
- package/skills/rdkit/agents/openai.yaml +0 -4
- package/skills/rdkit/references/operations.md +0 -64
- package/skills/science-tools.json +0 -127
- package/skills/synbo-service/SKILL.md +0 -36
- package/skills/synbo-service/agents/openai.yaml +0 -4
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
# Delta-BO API Endpoint Reference
|
|
2
|
-
|
|
3
|
-
All paths are relative to `http://111.2.199.31:52317/api/v1`.
|
|
4
|
-
|
|
5
|
-
This reference is for using the exposed HTTP API. It is not a demo runner.
|
|
6
|
-
|
|
7
|
-
## Health And Command Discovery
|
|
8
|
-
|
|
9
|
-
`GET /chem/delta-bo/health`
|
|
10
|
-
|
|
11
|
-
`GET /chem/delta-bo/commands`
|
|
12
|
-
|
|
13
|
-
`/commands` returns the native route list exposed by the deployed service.
|
|
14
|
-
|
|
15
|
-
For a formatted catalog with gateway URLs against the deployed service, run the
|
|
16
|
-
bundled skill-local script (no local `delta_bo` package required):
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
python3 scripts/remote_list_eng_cmds.py --format markdown
|
|
20
|
-
python3 scripts/remote_list_eng_cmds.py --format json
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
For complete local route metadata including parameters, the offline equivalent
|
|
24
|
-
`list_eng_cmds.py` (requires a Delta-BO dev environment with dependencies
|
|
25
|
-
installed, not bundled) walks the same command registry used by the service
|
|
26
|
-
dispatcher and is the source of truth for possible native API usage.
|
|
27
|
-
|
|
28
|
-
## Stateless Generate
|
|
29
|
-
|
|
30
|
-
`POST /chem/delta-bo/generate`
|
|
31
|
-
|
|
32
|
-
Random search:
|
|
33
|
-
|
|
34
|
-
```json
|
|
35
|
-
{
|
|
36
|
-
"params": [{"name": "x", "type": "numeric", "low": 0.0, "high": 1.0}],
|
|
37
|
-
"num_suggestions": 3,
|
|
38
|
-
"algorithm": "random-search",
|
|
39
|
-
"seed": 42
|
|
40
|
-
}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
BO with history:
|
|
44
|
-
|
|
45
|
-
```json
|
|
46
|
-
{
|
|
47
|
-
"params": [
|
|
48
|
-
{"name": "temperature", "type": "numeric", "low": 20.0, "high": 120.0},
|
|
49
|
-
{"name": "catalyst", "type": "categorical", "choices": ["A", "B", "C"]}
|
|
50
|
-
],
|
|
51
|
-
"objectives": [{"name": "yield", "minimize": false}],
|
|
52
|
-
"num_suggestions": 2,
|
|
53
|
-
"algorithm": "bo",
|
|
54
|
-
"model": {"name": "gp", "min_samples": 2, "train_steps": 50},
|
|
55
|
-
"acq_target": {"name": "ucb", "beta": 2.0},
|
|
56
|
-
"solver": {"name": "ga", "pop_size": 40, "n_gen": 10},
|
|
57
|
-
"histories": {
|
|
58
|
-
"decisions": [[40.0, "A"], [80.0, "B"], [100.0, "C"]],
|
|
59
|
-
"observations": [0.42, 0.61, 0.53]
|
|
60
|
-
},
|
|
61
|
-
"seed": 7
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Parameter types: `numeric`, `integer`, `categorical`.
|
|
66
|
-
|
|
67
|
-
Histories may also use object-form rows, which are safer for agents:
|
|
68
|
-
|
|
69
|
-
```json
|
|
70
|
-
{
|
|
71
|
-
"histories": {
|
|
72
|
-
"decisions": [
|
|
73
|
-
{"temperature": 40.0, "catalyst": "A"},
|
|
74
|
-
{"temperature": 80.0, "catalyst": "B"}
|
|
75
|
-
],
|
|
76
|
-
"observations": [
|
|
77
|
-
{"yield": 0.42},
|
|
78
|
-
{"yield": 0.61}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Optional diversity controls:
|
|
85
|
-
|
|
86
|
-
```json
|
|
87
|
-
{
|
|
88
|
-
"diversity": {
|
|
89
|
-
"deduplicate": true,
|
|
90
|
-
"min_numeric_distance": {"temperature": 5.0},
|
|
91
|
-
"prefer_unique_categories": true
|
|
92
|
-
},
|
|
93
|
-
"constraints": [
|
|
94
|
-
{"type": "unique_batch"},
|
|
95
|
-
{"type": "avoid_seen_decisions"},
|
|
96
|
-
{
|
|
97
|
-
"type": "max_temperature_for_category",
|
|
98
|
-
"category_param": "solvent",
|
|
99
|
-
"temperature_param": "temperature",
|
|
100
|
-
"category": "dichloromethane",
|
|
101
|
-
"max": 40
|
|
102
|
-
}
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
Response fields include:
|
|
108
|
-
|
|
109
|
-
```json
|
|
110
|
-
{
|
|
111
|
-
"suggestions": [[{"name": "temperature", "value": 72.0}]],
|
|
112
|
-
"suggestion_metadata": [
|
|
113
|
-
{
|
|
114
|
-
"acquisition_value": null,
|
|
115
|
-
"nearest_history": {
|
|
116
|
-
"decision": [{"name": "temperature", "value": 80.0}],
|
|
117
|
-
"distance": 0.08
|
|
118
|
-
},
|
|
119
|
-
"rationale": "exploitation"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"warnings": [
|
|
123
|
-
"Only 3 observations supplied; GP fit may be weak. Consider random-search or more initial points."
|
|
124
|
-
],
|
|
125
|
-
"generated_candidate_count": 15,
|
|
126
|
-
"diversity": {
|
|
127
|
-
"requested": true,
|
|
128
|
-
"deduplicated": true,
|
|
129
|
-
"duplicates_removed": 2
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
## Native Stateful Command API
|
|
135
|
-
|
|
136
|
-
Gateway path pattern:
|
|
137
|
-
|
|
138
|
-
```text
|
|
139
|
-
POST /chem/delta-bo/v1/{command_path}
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
Native route `/v1/session/new` maps to gateway route:
|
|
143
|
-
|
|
144
|
-
```text
|
|
145
|
-
/api/v1/chem/delta-bo/v1/session/new
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
Minimal random-search session:
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
curl -s "$DBO/v1/session/new" \
|
|
152
|
-
-H "Content-Type: application/json" \
|
|
153
|
-
-d '{"name":"api_session"}'
|
|
154
|
-
|
|
155
|
-
curl -s "$DBO/v1/space" \
|
|
156
|
-
-H "Content-Type: application/json" \
|
|
157
|
-
-d '{"decision_expression":"Joint({\"x\": Num(-5, 10), \"y\": Num(0, 15)})"}'
|
|
158
|
-
|
|
159
|
-
curl -s "$DBO/v1/objective" \
|
|
160
|
-
-H "Content-Type: application/json" \
|
|
161
|
-
-d '{"source":"objectives/branin_simple.py","minimize":true}'
|
|
162
|
-
|
|
163
|
-
curl -s "$DBO/v1/policy/random-search" \
|
|
164
|
-
-H "Content-Type: application/json" \
|
|
165
|
-
-d '{"policy_id":"random_init","replace":true}'
|
|
166
|
-
|
|
167
|
-
curl -s "$DBO/v1/suggest" \
|
|
168
|
-
-H "Content-Type: application/json" \
|
|
169
|
-
-d '{"num":3,"policy_id":"random_init"}'
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
Common native commands:
|
|
173
|
-
|
|
174
|
-
```text
|
|
175
|
-
session/new
|
|
176
|
-
session/save
|
|
177
|
-
space
|
|
178
|
-
objective
|
|
179
|
-
policy/random-search
|
|
180
|
-
policy/bo
|
|
181
|
-
policy/bo.model/gp
|
|
182
|
-
policy/bo.target/ucb
|
|
183
|
-
policy/bo.target/ei
|
|
184
|
-
policy/bo.solver/ga
|
|
185
|
-
policy/flags
|
|
186
|
-
suggest
|
|
187
|
-
observe
|
|
188
|
-
loop
|
|
189
|
-
status
|
|
190
|
-
best
|
|
191
|
-
plot/best-so-far
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
Use `GET /chem/delta-bo/commands` for the deployed list; run the bundled
|
|
195
|
-
`scripts/remote_list_eng_cmds.py --format markdown/json` for a formatted catalog
|
|
196
|
-
against the deployed service, or the offline `list_eng_cmds.py` (local Delta-BO
|
|
197
|
-
dev environment, not bundled) for full parameter schemas.
|
|
198
|
-
|
|
199
|
-
## Native BO Policy Setup
|
|
200
|
-
|
|
201
|
-
A typical stateful BO configuration is:
|
|
202
|
-
|
|
203
|
-
```bash
|
|
204
|
-
curl -s "$DBO/v1/policy/bo" \
|
|
205
|
-
-H "Content-Type: application/json" \
|
|
206
|
-
-d '{"replace":true}'
|
|
207
|
-
|
|
208
|
-
curl -s "$DBO/v1/policy/bo.model/gp" \
|
|
209
|
-
-H "Content-Type: application/json" \
|
|
210
|
-
-d '{"train_steps":50,"min_samples":2}'
|
|
211
|
-
|
|
212
|
-
curl -s "$DBO/v1/policy/bo.target/ucb" \
|
|
213
|
-
-H "Content-Type: application/json" \
|
|
214
|
-
-d '{"beta":2.0}'
|
|
215
|
-
|
|
216
|
-
curl -s "$DBO/v1/policy/bo.solver/ga" \
|
|
217
|
-
-H "Content-Type: application/json" \
|
|
218
|
-
-d '{"pop_size":40,"n_gen":10}'
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
For random initialization policy creation:
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
curl -s "$DBO/v1/policy/random-search" \
|
|
225
|
-
-H "Content-Type: application/json" \
|
|
226
|
-
-d '{"policy_id":"random_init","replace":true}'
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
Then run an optimization loop:
|
|
230
|
-
|
|
231
|
-
```bash
|
|
232
|
-
curl -s "$DBO/v1/loop" \
|
|
233
|
-
-H "Content-Type: application/json" \
|
|
234
|
-
-d '{"iterations":5,"batch_size":1,"policy_id":"main","timeout":300}'
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
Response shape is nested:
|
|
238
|
-
|
|
239
|
-
```json
|
|
240
|
-
{
|
|
241
|
-
"code": 0,
|
|
242
|
-
"message": "success",
|
|
243
|
-
"data": {
|
|
244
|
-
"ok": true,
|
|
245
|
-
"result": {
|
|
246
|
-
"data": {},
|
|
247
|
-
"summary": "...",
|
|
248
|
-
"meta": {"command_path": "/v1/..."}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
## Retry Safety
|
|
255
|
-
|
|
256
|
-
Setup/configuration requests such as `space`, `objective`, `policy/bo`, and
|
|
257
|
-
`policy/random-search` can be repeated with the same payload. Use
|
|
258
|
-
`{"replace": true}` for policy creation so repeated setup calls remain
|
|
259
|
-
idempotent.
|
|
260
|
-
|
|
261
|
-
Do not blindly retry state-changing optimization commands such as `loop`,
|
|
262
|
-
`suggest`, `observe`, `session/new`, or `session/save`, because a retry may
|
|
263
|
-
advance or duplicate remote experiment state.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Science catalog(自动生成)
|
|
2
|
-
|
|
3
|
-
本文件由 `skills/science-tools.json` 生成;不要手工修改。规范名称供 CLI/Skill 使用,legacy 名称仅用于兼容已部署的 `/science_tool` catalog。
|
|
4
|
-
|
|
5
|
-
| 规范 tool | Skill | 类别 | operation | legacy endpoint |
|
|
6
|
-
| --- | --- | --- | --- | --- |
|
|
7
|
-
| pubchem | pubchem | molecule-information | health | chem_pubchem_health |
|
|
8
|
-
| pubchem | pubchem | molecule-information | compound-resolve-cids | chem_pubchem_compound_resolve-cids |
|
|
9
|
-
| pubchem | pubchem | molecule-information | compound-properties | chem_pubchem_compound_properties |
|
|
10
|
-
| pubchem | pubchem | molecule-information | compound-synonyms | chem_pubchem_compound_synonyms |
|
|
11
|
-
| pubchem | pubchem | molecule-information | compound-summary | chem_pubchem_compound_summary |
|
|
12
|
-
| pubchem | pubchem | molecule-information | compound-batch-summary | chem_pubchem_compound_batch-summary |
|
|
13
|
-
| rdkit | rdkit | cheminformatics | health | chem_rdkit_health |
|
|
14
|
-
| rdkit | rdkit | cheminformatics | parse | chem_rdkit_parse |
|
|
15
|
-
| rdkit | rdkit | cheminformatics | descriptors | chem_rdkit_descriptors |
|
|
16
|
-
| rdkit | rdkit | cheminformatics | batch-descriptors | chem_rdkit_batch-descriptors |
|
|
17
|
-
| rdkit | rdkit | cheminformatics | batch-parse-describe | chem_rdkit_batch-parse-describe |
|
|
18
|
-
| rdkit | rdkit | cheminformatics | render | chem_rdkit_render |
|
|
19
|
-
| rdkit | rdkit | cheminformatics | fingerprint | chem_rdkit_fingerprint |
|
|
20
|
-
| rdkit | rdkit | cheminformatics | similarity | chem_rdkit_similarity |
|
|
21
|
-
| rdkit | rdkit | cheminformatics | similarity-matrix | chem_rdkit_similarity-matrix |
|
|
22
|
-
| rdkit | rdkit | cheminformatics | substructure | chem_rdkit_substructure |
|
|
23
|
-
| pymatgen | pymatgen | materials-informatics | health | chem_pymatgen_health |
|
|
24
|
-
| pymatgen | pymatgen | materials-informatics | composition-parse | chem_pymatgen_composition_parse |
|
|
25
|
-
| pymatgen | pymatgen | materials-informatics | structure-parse | chem_pymatgen_structure_parse |
|
|
26
|
-
| pymatgen | pymatgen | materials-informatics | structure-summary | chem_pymatgen_structure_summary |
|
|
27
|
-
| pymatgen | pymatgen | materials-informatics | structure-convert | chem_pymatgen_structure_convert |
|
|
28
|
-
| pymatgen | pymatgen | materials-informatics | structure-symmetry | chem_pymatgen_structure_symmetry |
|
|
29
|
-
| gsasii | gsasii | diffraction | health | chem_gsasii_health |
|
|
30
|
-
| gsasii | gsasii | diffraction | powder-simulate | chem_gsasii_powder_simulate |
|
|
31
|
-
| gsasii | gsasii | diffraction | powder-refine | chem_gsasii_powder_refine |
|
|
32
|
-
| lammps | lammps | molecular-dynamics | health | chem_lammps_health |
|
|
33
|
-
| lammps | lammps | molecular-dynamics | lj-melt-example | chem_lammps_examples_lj-melt |
|
|
34
|
-
| lammps | lammps | molecular-dynamics | run | chem_lammps_run |
|
|
35
|
-
| delta-bo | delta-bo | optimization | commands | chem_delta-bo_commands |
|
|
36
|
-
| delta-bo | delta-bo | optimization | generate | chem_delta-bo_generate |
|
|
37
|
-
| ldm-bo | ldm-bo | molecule-optimization | health | chem_ldm-bo_health |
|
|
38
|
-
| ldm-bo | ldm-bo | molecule-optimization | recommend | chem_ldm-bo_recommend |
|
|
39
|
-
| ldm-bo | ldm-bo | molecule-optimization | trajectory | chem_ldm-bo_trajectory |
|
|
40
|
-
| synbo | synbo-service | reaction-optimization | health | chem_synbo_health |
|
|
41
|
-
| synbo | synbo-service | reaction-optimization | initialize | chem_synbo_initialize |
|
|
42
|
-
| synbo | synbo-service | reaction-optimization | optimize | chem_synbo_optimize |
|
|
43
|
-
| antbo | antbo-service | antibody-optimization | health | biology_antbo_health |
|
|
44
|
-
| antbo | antbo-service | antibody-optimization | run-default-job | biology_antbo_run_default_job |
|
|
45
|
-
| antbo | antbo-service | antibody-optimization | run | biology_antbo_run |
|
|
46
|
-
| antbo | antbo-service | antibody-optimization | log | biology_antbo_log |
|
|
47
|
-
| antbo | antbo-service | antibody-optimization | jobs | biology_antbo_jobs |
|
|
48
|
-
| antbo | antbo-service | antibody-optimization | stop | biology_antbo_stop |
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
# Delta Science operation 最小契约
|
|
2
|
-
|
|
3
|
-
本文只记录当前 CLI catalog 已暴露的 9 个 tools、42 个 operations。选择 operation 后
|
|
4
|
-
只读取对应小节。代码示例均在同一个 `python_repl` 中先定义以下函数;禁止 Bash、
|
|
5
|
-
目录探测、直接 HTTP 和字面 CLI 命令。
|
|
6
|
-
|
|
7
|
-
调用 `python_repl` 时工具参数必须严格为 `{"code":"..."}`;禁止添加 `deps`、
|
|
8
|
-
`dependencies`、`packages` 或任何其他字段。
|
|
9
|
-
|
|
10
|
-
```python
|
|
11
|
-
import json, os, subprocess, sys
|
|
12
|
-
|
|
13
|
-
wrapper = os.path.join(os.environ["SKILLS_ROOT"], "delta-science", "scripts", "invoke.py")
|
|
14
|
-
|
|
15
|
-
def invoke(tool, endpoint, data=None, params=None):
|
|
16
|
-
argv = [sys.executable, wrapper, "--tool", tool, "--endpoint", endpoint]
|
|
17
|
-
if data is not None:
|
|
18
|
-
argv += ["--data-json", json.dumps(data)]
|
|
19
|
-
if params is not None:
|
|
20
|
-
argv += ["--params-json", json.dumps(params)]
|
|
21
|
-
p = subprocess.run(argv, capture_output=True, text=True, shell=False)
|
|
22
|
-
if p.returncode != 0:
|
|
23
|
-
raise RuntimeError(p.stderr or p.stdout)
|
|
24
|
-
r = json.loads(p.stdout)
|
|
25
|
-
if r.get("ok") is not True or r.get("transport") != "delta-cli":
|
|
26
|
-
raise RuntimeError(r)
|
|
27
|
-
return r["native"]
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
每个代码示例只调用一次。将返回值投影成用户要求的有界 JSON 并显式 `print`,然后
|
|
31
|
-
调用 `step_finish(status="done", summary=<同一 JSON>)` 恰好一次。失败则
|
|
32
|
-
`step_finish(status="failed", summary=<原始错误短摘要>)`,禁止重试或改走其他链路。
|
|
33
|
-
|
|
34
|
-
## PubChem(tool=`pubchem`)
|
|
35
|
-
|
|
36
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
37
|
-
| --- | --- | --- | --- |
|
|
38
|
-
| `health` | “PubChem 服务现在能用吗?” | `n=invoke("pubchem","health")` | status、availability、metadata、limits、warnings |
|
|
39
|
-
| `compound-resolve-cids` | “把 aspirin 解析成 CID。” | `n=invoke("pubchem","compound-resolve-cids",data={"identifier":"aspirin","namespace":"name","max_records":20})` | identifier、valid、cids、error |
|
|
40
|
-
| `compound-properties` | “查 aspirin 的分子式和分子量。” | `n=invoke("pubchem","compound-properties",data={"identifier":"aspirin","namespace":"name","properties":["MolecularFormula","MolecularWeight"]})` | cid、valid、properties、aliases、error |
|
|
41
|
-
| `compound-synonyms` | “列出 aspirin 的前 5 个同义词。” | `n=invoke("pubchem","compound-synonyms",data={"identifier":"aspirin","namespace":"name","max_synonyms":5})` | cid、valid、synonyms、error |
|
|
42
|
-
| `compound-summary` | “查阿司匹林的基础身份信息。” | `n=invoke("pubchem","compound-summary",data={"identifier":"aspirin","namespace":"name"})` | valid、cid、properties 中用户要求的键 |
|
|
43
|
-
| `compound-batch-summary` | “一次比较 aspirin 和 caffeine 的基础属性。” | `n=invoke("pubchem","compound-batch-summary",data={"identifiers":["aspirin","caffeine"],"namespace":"name"})` | results[*].input、valid/error、properties |
|
|
44
|
-
|
|
45
|
-
## RDKit(tool=`rdkit`)
|
|
46
|
-
|
|
47
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
48
|
-
| --- | --- | --- | --- |
|
|
49
|
-
| `health` | “RDKit 服务可用吗?” | `n=invoke("rdkit","health")` | status、availability、metadata、limits、warnings |
|
|
50
|
-
| `parse` | “这个 SMILES 合法吗?” | `n=invoke("rdkit","parse",data={"input":"CCO","format":"smiles","sanitize":True})` | valid、canonical_smiles、formula、inchi_key、warnings/error |
|
|
51
|
-
| `descriptors` | “计算乙醇的基础 RDKit 描述符。” | `n=invoke("rdkit","descriptors",data={"smiles":"CCO","descriptor_set":"basic","sanitize":True})` | valid、descriptors、warnings/error |
|
|
52
|
-
| `batch-descriptors` | “批量算几个 SMILES 的描述符。” | `n=invoke("rdkit","batch-descriptors",data={"smiles":["CCO","c1ccccc1"],"descriptor_set":"basic","sanitize":True})` | results 中输入、valid、descriptors、error |
|
|
53
|
-
| `batch-parse-describe` | “校验阿司匹林并给基础描述符。” | `n=invoke("rdkit","batch-parse-describe",data={"molecules":[{"id":"aspirin","smiles":"CC(=O)OC1=CC=CC=C1C(=O)O"}],"descriptor_set":"basic","sanitize":True})` | results[*].id、valid、canonical_smiles、descriptors、warnings/error |
|
|
54
|
-
| `render` | “画一张乙醇结构图。” | `n=invoke("rdkit","render",data={"smiles":"CCO","image_format":"png","width":500,"height":400})` | 指定图像字段;PNG 解码后验证 magic bytes |
|
|
55
|
-
| `fingerprint` | “生成乙醇 Morgan 指纹。” | `n=invoke("rdkit","fingerprint",data={"smiles":"CCO","radius":2,"n_bits":2048})` | valid、fingerprint_metadata、on_bits、warnings/error |
|
|
56
|
-
| `similarity` | “比较乙醇和乙胺的结构相似度。” | `n=invoke("rdkit","similarity",data={"query_smiles":"CCO","target_smiles":"CCN","radius":2,"n_bits":2048})` | similarity、metric、fingerprint metadata |
|
|
57
|
-
| `similarity-matrix` | “比较一组分子的两两相似度。” | `n=invoke("rdkit","similarity-matrix",data={"molecules":[{"id":"a","smiles":"CCO"},{"id":"b","smiles":"CCN"}],"fingerprint":{"type":"morgan","radius":2,"n_bits":2048},"sanitize":True})` | matrix、ranked_pairs[{a,b,similarity}] |
|
|
58
|
-
| `substructure` | “筛出含羧酸子结构的分子。” | `n=invoke("rdkit","substructure",data={"query_smarts":"C(=O)O","target_smiles":["CC(=O)O","CCO"]})` | query 与每个目标的 match/matches、valid/error |
|
|
59
|
-
|
|
60
|
-
## pymatgen(tool=`pymatgen`)
|
|
61
|
-
|
|
62
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
63
|
-
| --- | --- | --- | --- |
|
|
64
|
-
| `health` | “pymatgen 服务是否正常?” | `n=invoke("pymatgen","health")` | status、availability、metadata、limits、warnings |
|
|
65
|
-
| `composition-parse` | “解析 LiFePO4 的组成和式量。” | `n=invoke("pymatgen","composition-parse",data={"formula":"LiFePO4","format":"formula"})` | valid、formula、reduced_formula、chemical_system、weight、element_amounts |
|
|
66
|
-
| `structure-parse` | “校验这段 CIF 能否解析。” | `n=invoke("pymatgen","structure-parse",data={"input":cif_text,"format":"cif","primitive":False})` | valid、formula、nsites、lattice、warnings/error |
|
|
67
|
-
| `structure-summary` | “总结这段 CIF 的结构信息。” | `n=invoke("pymatgen","structure-summary",data={"input":cif_text,"format":"cif","primitive":False})` | formula、reduced_formula、density、volume、lattice、species |
|
|
68
|
-
| `structure-convert` | “把 CIF 转成 POSCAR。” | `n=invoke("pymatgen","structure-convert",data={"input":cif_text,"input_format":"cif","output_format":"poscar","primitive":False})` | valid、output_format、转换后的结构文本、warnings/error |
|
|
69
|
-
| `structure-symmetry` | “分析这段 CIF 的空间群。” | `n=invoke("pymatgen","structure-symmetry",data={"input":cif_text,"format":"cif","primitive":False,"symprec":0.01,"angle_tolerance":5.0})` | space_group_symbol/number、crystal_system、point_group_symbol、hall、nsites |
|
|
70
|
-
|
|
71
|
-
## GSAS-II(tool=`gsasii`)
|
|
72
|
-
|
|
73
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
74
|
-
| --- | --- | --- | --- |
|
|
75
|
-
| `health` | “GSAS-II 服务能做衍射计算吗?” | `n=invoke("gsasii","health")` | status、gsasii_available、metadata、limits、warnings |
|
|
76
|
-
| `powder-simulate` | “用这个 CIF 模拟 Cu Kα 粉末衍射。” | `n=invoke("gsasii","powder-simulate",data={"cif":cif_text,"phase_name":"phase","radiation":"CuKa","t_min":10.0,"t_max":80.0,"t_step":0.02,"include_profile":True,"max_profile_points":1000,"include_reflections":True,"max_reflections":1000,"return_refined_cif":False,"return_project":False})` | valid、profile、reflections、metadata、warnings |
|
|
77
|
-
| `powder-refine` | “用真实粉末数据和仪器文件做 Rietveld 精修。” | `n=invoke("gsasii","powder-refine",data={"powder_data":powder_text,"powder_format":"xy","instrument_parameters":instrument_text,"phases":[{"name":"phase","cif":cif_text}],"refinement_mode":"rietveld","refinement_steps":[],"max_cycles":3,"histogram_name":"powder","include_profile":True,"max_profile_points":1000,"include_reflections":True,"max_reflections":1000,"return_refined_cif":False,"return_project":False})` | valid、residuals、phase summaries、profile、reflections、warnings |
|
|
78
|
-
|
|
79
|
-
## LAMMPS(tool=`lammps`)
|
|
80
|
-
|
|
81
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
82
|
-
| --- | --- | --- | --- |
|
|
83
|
-
| `health` | “LAMMPS 服务可用吗?” | `n=invoke("lammps","health")` | status、lammps_available、metadata、limits、warnings |
|
|
84
|
-
| `lj-melt-example` | “给我跑部署自带的最小 LJ 示例做检查。” | `n=invoke("lammps","lj-melt-example")` | 示例说明与精确 `request`;此调用本身不执行模拟 |
|
|
85
|
-
| `run` | “执行刚才返回的最小 LJ 请求。” | `example=invoke("lammps","lj-melt-example"); n=invoke("lammps","run",data=example["request"])` | valid、last_thermo、thermo rows、warnings、请求的输出文件;此场景固定两次依赖调用 |
|
|
86
|
-
|
|
87
|
-
`run` 也可接收用户明确提供的 `input_script`、相对路径 files、timeout 和有界输出配置;
|
|
88
|
-
不得从化学式猜力场。长任务需明确授权,失败后不得重试。
|
|
89
|
-
|
|
90
|
-
## Delta-BO(tool=`delta-bo`)
|
|
91
|
-
|
|
92
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
93
|
-
| --- | --- | --- | --- |
|
|
94
|
-
| `commands` | “当前 Delta-BO 支持哪些命令?” | `n=invoke("delta-bo","commands")` | 当前部署返回的命令列表,不从旧文档补充 |
|
|
95
|
-
| `generate` | “在 0 到 1 之间给两个随机初始实验点。” | `n=invoke("delta-bo","generate",data={"params":[{"name":"x","type":"numeric","low":0.0,"high":1.0}],"num_suggestions":2,"algorithm":"random-search","seed":42})` | suggestions、suggestion_metadata、warnings、diversity |
|
|
96
|
-
|
|
97
|
-
有历史观测且用户明确要求 BO 时,`generate` 可加入 objectives、object-form histories、
|
|
98
|
-
model/acquisition/solver;历史少于 5 条默认 random-search,不编造观测。
|
|
99
|
-
|
|
100
|
-
## LDM-BO(tool=`ldm-bo`)
|
|
101
|
-
|
|
102
|
-
只用于小分子 SMILES/PDF2Dock,不用于抗体、CDRH3 或 AntBO。
|
|
103
|
-
|
|
104
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
105
|
-
| --- | --- | --- | --- |
|
|
106
|
-
| `health` | “分子 LDM-BO 服务可用吗?” | `n=invoke("ldm-bo","health")` | availability、Vina/ReaSyn/模型/LLM 配置状态、warnings |
|
|
107
|
-
| `recommend` | “从候选池给下一条小分子 SMILES。” | `n=invoke("ldm-bo","recommend",data={"method":"bo-tanimoto","pool":["CCO","CCN","CCC"],"history":[{"smiles":"CCO","scores":[-7.1]},{"smiles":"CCN","scores":[-6.8]}],"batch_size":1})` | recommendations、acquisition_values、n_objectives、llm diagnostics |
|
|
108
|
-
| `trajectory` | “跑一个有界的小分子 BO 轨迹。” | `n=invoke("ldm-bo","trajectory",data={"method":"bo-tanimoto","seed":42,"seed-smiles":"CCO,CCN,CCC","num-evaluations":4,"batch-size":1,"objective":"vina+nn"})` | config、history、summary、llm_trajectory;保留连字符字段 |
|
|
109
|
-
|
|
110
|
-
## SynBO(tool=`synbo`)
|
|
111
|
-
|
|
112
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
113
|
-
| --- | --- | --- | --- |
|
|
114
|
-
| `health` | “SynBO 服务当前可用吗?” | `n=invoke("synbo","health")` | status、synbo_available、metadata、limits、runtime、warnings |
|
|
115
|
-
| `initialize` | “没有实验历史,先选三组反应条件。” | `n=invoke("synbo","initialize",data={"condition_dict":{"catalyst":["Pd(OAc)2","Pd(PPh3)4"],"solvent":["THF","Toluene"],"base":["K2CO3","DBU"]},"opt_metrics":["yield"],"opt_metric_settings":[{"opt_direct":"max","opt_range":[0,100],"metric_weight":1.0}],"batch_size":3,"sampling_method":"random","desc_normalize":"minmax","random_seed":42})` | recommendations/initial conditions、warnings、metadata |
|
|
116
|
-
| `optimize` | “根据真实历史收率推荐下一批条件。” | `n=invoke("synbo","optimize",data={"condition_dict":{"catalyst":["Pd(OAc)2","Pd(PPh3)4","Pd2(dba)3"],"solvent":["THF","Dioxane","Toluene"],"base":["K2CO3","NaOEt","DBU"]},"opt_metrics":["yield"],"previous_results":[{"batch":0,"catalyst":"Pd(OAc)2","solvent":"THF","base":"K2CO3","yield":42.0},{"batch":0,"catalyst":"Pd(PPh3)4","solvent":"Dioxane","base":"NaOEt","yield":55.0},{"batch":0,"catalyst":"Pd2(dba)3","solvent":"Toluene","base":"DBU","yield":63.0}],"batch_size":2,"accuracy":"tiny","device":"cpu","random_seed":42})` | recommendations、model/acquisition metadata、warnings;失败/空结果不得本地替代 |
|
|
117
|
-
|
|
118
|
-
## AntBO(tool=`antbo`)
|
|
119
|
-
|
|
120
|
-
抗体/CDRH3 场景即使出现 “LDM” 也必须路由到 AntBO,不得改用分子 LDM-BO。
|
|
121
|
-
|
|
122
|
-
| operation | 人类情景 | 最小代码 | native 投影 |
|
|
123
|
-
| --- | --- | --- | --- |
|
|
124
|
-
| `health` | “AntBO 环境可用吗?” | `n=invoke("antbo","health")` | status、antbo_available、metadata、limits、warnings |
|
|
125
|
-
| `run-default-job` | “启动标准 AntBO 后台任务。” | `n=invoke("antbo","run-default-job",params={"log_name":"antbo_<唯一时间戳>.log","append":False,"timeout_seconds":86400})` | started、pid、log_name/log_path、timeout_seconds |
|
|
126
|
-
| `run` | “用明确的受限配置同步跑一次 AntBO。” | `n=invoke("antbo","run",data={"script_path":"./bo/main.py","config_path":"./bo/config.yaml","n_trials":1,"seed":42,"antigens_file":"<项目根内路径>","extra_args":[],"timeout_seconds":86400,"cuda_visible_devices":"0","conda_env":"DGM","log_name":"antbo_custom.log","append":False})` | ok、returncode、timed_out、log_path、log_truncated |
|
|
127
|
-
| `log` | “查看 antbo_run.log 的尾部。” | `n=invoke("antbo","log",params={"log_name":"antbo_run.log"})` | log_name、log、log_truncated |
|
|
128
|
-
| `jobs` | “查看当前活动 AntBO 作业。” | `n=invoke("antbo","jobs")` | jobs[*].pid/running/returncode/log_name/log_path |
|
|
129
|
-
| `stop` | “停止 PID 12345。” | `n=invoke("antbo","stop",params={"pid":12345})` | stopped、pid、message |
|
|
130
|
-
|
|
131
|
-
`run-default-job`、`run`、`stop` 是远程变更,必须有用户明确授权,未知结果不得重试。
|
|
132
|
-
AntBO `ldm/suggest`、`ldm/initialize`、`ldm/evaluate` 当前不在 catalog:不调用工具,
|
|
133
|
-
固定报告“未暴露该 operation;未发送远端请求”。
|
|
134
|
-
|
|
135
|
-
注意:AntBO `health` 可能公布公司服务内部的 `ldm_suggest` 等 endpoint,但它们并不
|
|
136
|
-
因此成为 Delta CLI operation;禁止调用不存在的 `antbo/catalog`,也禁止根据 health
|
|
137
|
-
为 Memento 推导新的 endpoint。
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
# 服务与参数参考
|
|
2
|
-
|
|
3
|
-
只读取当前所选服务对应的部分。下文中的 endpoint 是 Delta CLI catalog 名称,不是 URL 路径。
|
|
4
|
-
|
|
5
|
-
## PubChem
|
|
6
|
-
|
|
7
|
-
Tool:`pubchem`。
|
|
8
|
-
|
|
9
|
-
- 普通名称查询:`compound-summary`,data 为 `{"identifier":"caffeine","namespace":"name"}`。
|
|
10
|
-
- 批量查询:`compound-batch-summary`。模糊的多分子比较必须严格使用 `{"identifiers":["aspirin","caffeine"],"namespace":"name"}`。
|
|
11
|
-
- 批量查询不要添加 `properties` 或 `synonym_limit`,尤其不能把 `CID` 放进 `properties`。
|
|
12
|
-
- 其他 operation:`compound-resolve-cids`、`compound-properties`、`compound-synonyms`。
|
|
13
|
-
|
|
14
|
-
单个 `compound-summary` 的业务字段直接位于 wrapper 的 `native` 顶层:读取
|
|
15
|
-
`native.valid`、`native.cid`、`native.properties` 和 `native.synonyms`;不存在
|
|
16
|
-
`native.data` 这一层。
|
|
17
|
-
|
|
18
|
-
模糊问题优先使用 summary。按 `CanonicalSMILES`、`ConnectivitySMILES`、`SMILES`、`IsomericSMILES` 的顺序提取 SMILES。PubChem 返回的 `MolecularWeight`、`XLogP` 和 `TPSA` 必须保留为 PubChem 数据。
|
|
19
|
-
|
|
20
|
-
批量 native 输出为 `{"results":[...]}`。每条记录用 `input` 保存原始标签,化合物字段位于嵌套的 `properties`;记录不是平铺结构,集合键也不是 `compounds`。
|
|
21
|
-
|
|
22
|
-
## RDKit
|
|
23
|
-
|
|
24
|
-
Tool:`rdkit`。
|
|
25
|
-
|
|
26
|
-
- `parse`:`{"input":"CCO","format":"smiles"}`
|
|
27
|
-
- `descriptors`:`{"smiles":"CCO","descriptor_set":"basic","sanitize":true}`
|
|
28
|
-
- `batch-parse-describe`:`{"molecules":[{"id":"ethanol","smiles":"CCO"}],"descriptor_set":"basic","sanitize":true}`
|
|
29
|
-
- `render`:`{"smiles":"CCO","image_format":"png","width":500,"height":400}`
|
|
30
|
-
- `similarity`:使用 `query_smiles` 和 `target_smiles`
|
|
31
|
-
- `similarity-matrix`:使用 `molecules:[{id,smiles}]`
|
|
32
|
-
- `substructure`:使用 `query_smarts` 和 `target_smiles`
|
|
33
|
-
|
|
34
|
-
`batch-parse-describe` 使用 `molecules`,不能用 `inputs`;分子字段使用 `smiles`,不能用 `input`。fingerprint 选项是对象,不是布尔值。PubChem `XLogP` 与 RDKit `MolLogP` 使用不同模型。
|
|
35
|
-
|
|
36
|
-
`similarity-matrix` 的 `ranked_pairs` 每项是
|
|
37
|
-
`{"a": <输入 id>, "b": <输入 id>, "similarity": <数值>}`。不要读取
|
|
38
|
-
`i`、`j` 或 `score`。
|
|
39
|
-
|
|
40
|
-
## pymatgen
|
|
41
|
-
|
|
42
|
-
Tool:`pymatgen`。
|
|
43
|
-
|
|
44
|
-
- 化学式:`composition-parse`,data 为 `{"formula":"LiFePO4","format":"formula"}`
|
|
45
|
-
- 结构 operation:`structure-parse`、`structure-summary`、`structure-convert`、`structure-symmetry`
|
|
46
|
-
|
|
47
|
-
结构调用必须发送完整结构文本,不能发送本地文件路径。支持 CIF、POSCAR、JSON、CSSR 和 XSF。不要把 LAMMPS data/dump 文件交给 pymatgen。
|
|
48
|
-
|
|
49
|
-
对无机化学式/式量,只报告当前 native 的 `formula`、`reduced_formula`、
|
|
50
|
-
`chemical_system`、`weight` 与元素组成。PubChem 未收录时保留 `not_found`,
|
|
51
|
-
不要编造 CID 或用本地计算补值。
|
|
52
|
-
|
|
53
|
-
## GSAS-II
|
|
54
|
-
|
|
55
|
-
Tool:`gsasii`;operation 为 `powder-simulate` 和 `powder-refine`。
|
|
56
|
-
|
|
57
|
-
模拟需要完整 `cif` 文本。字段必须使用 `phase_name`、`include_profile`、`include_reflections`、`t_min`、`t_max` 和 `t_step`。
|
|
58
|
-
|
|
59
|
-
精修需要真实的 `powder_data`、`instrument_parameters` 和 `phases:[{name,cif}]`。依赖模拟结果时,只能从成功调用的 native `profile[*].x` 和 `profile[*].y_calc` 构造粉末数据。
|
|
60
|
-
|
|
61
|
-
## LAMMPS
|
|
62
|
-
|
|
63
|
-
Tool:`lammps`。
|
|
64
|
-
|
|
65
|
-
- 只读有界示例:`lj-melt-example`,无参数
|
|
66
|
-
- 执行:`run`,参数必须是示例返回的精确 native `request`,或用户明确授权的 `input_script`/files
|
|
67
|
-
|
|
68
|
-
绝不能把 CLI 外层信封传给 `run`,只能传 `native["request"]`。LAMMPS 不会自动推断力场。交互式运行必须保持有界。
|
|
69
|
-
|
|
70
|
-
最小示例最终数值从当前 native `last_thermo` 读取;逐字保留 `Step`、`Temp`
|
|
71
|
-
和 `TotEng`,不要除以原子数、换算单位或推测收敛性。
|
|
72
|
-
|
|
73
|
-
## Delta-BO
|
|
74
|
-
|
|
75
|
-
Tool:`delta-bo`。
|
|
76
|
-
|
|
77
|
-
- 命令目录:`commands`,无参数
|
|
78
|
-
- 无状态建议:`generate`,例如 `{"params":[{"name":"x","type":"numeric","low":0,"high":1}],"num_suggestions":2,"algorithm":"random-search","seed":42}`
|
|
79
|
-
|
|
80
|
-
观测少于五条时,除非用户明确要求 BO,否则优先使用 `random-search`。有状态 native session 命令属于变更操作,不能盲目重试。
|
|
81
|
-
|
|
82
|
-
## LDM-BO
|
|
83
|
-
|
|
84
|
-
Tool:`ldm-bo`;operation 为 `recommend` 和 `trajectory`。
|
|
85
|
-
|
|
86
|
-
有界测试使用 `bo-tanimoto`。`recommend` 接受 `method`、`pool`、`history:[{smiles,scores}]` 和 `batch_size`。`trajectory` 必须保留 native 连字符字段:`seed-smiles`、`num-evaluations` 和 `batch-size`。
|
|
87
|
-
|
|
88
|
-
## SynBO
|
|
89
|
-
|
|
90
|
-
Tool:`synbo`;operation 为 `initialize` 和 `optimize`。
|
|
91
|
-
|
|
92
|
-
二者都使用 `condition_dict`、`opt_metrics` 和 `batch_size`。`optimize` 还要求数值型 `previous_results`,且每条记录必须包含全部条件和指标。有界 CPU 测试使用 `accuracy:"tiny"` 和 `device:"cpu"`,并串行执行。
|
|
93
|
-
|
|
94
|
-
有真实 `previous_results` 的优化请求使用一次 `optimize`;每行必须包含全部条件列和
|
|
95
|
-
数值指标。失败、超时或空 recommendations 时如实报告,禁止本地替代优化。
|
|
96
|
-
|
|
97
|
-
## AntBO
|
|
98
|
-
|
|
99
|
-
Tool:`antbo`。
|
|
100
|
-
|
|
101
|
-
当前 CLI catalog 暴露 `health`、`run-default-job`、`run`、`log`、`jobs` 和
|
|
102
|
-
`stop`;准确参数见 `operation-contracts.md`。没有 `ldm/suggest`、
|
|
103
|
-
`ldm/initialize`、`ldm/evaluate`。遇到 AntBO/CDRH3 的这些 LDM 请求时不要调用工具、
|
|
104
|
-
不要改用小分子 LDM-BO、不要探测目录或直连 HTTP;明确回复“当前 Delta CLI catalog
|
|
105
|
-
未暴露该 operation;未发送远端请求”。
|
|
106
|
-
|
|
107
|
-
启动作业只能根据同一次 native 的 `started`、`pid` 和 `log_name`/`log_path`
|
|
108
|
-
报告;任一字段缺失时标记为未验证,不要重复提交或编造作业信息。
|
|
109
|
-
|
|
110
|
-
`health`、`log`、`jobs` 是只读调用。`run-default-job`、`run`、`stop` 会改变远端状态;
|
|
111
|
-
`run-default-job` 的 `log_name`、`append`、`timeout_seconds` 使用 `--params-json`。
|
|
112
|
-
没有用户明确授权时不得启动或停止;未知结果不得重试。
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"""Generated Science catalog aliases. Do not edit by hand."""
|
|
2
|
-
|
|
3
|
-
LEGACY_TOOL_ALIASES = {
|
|
4
|
-
"synbo": "synbo-service",
|
|
5
|
-
"antbo": "antbo-service",
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
LEGACY_ENDPOINTS = {
|
|
9
|
-
"pubchem": {
|
|
10
|
-
"health": "chem_pubchem_health",
|
|
11
|
-
"compound-resolve-cids": "chem_pubchem_compound_resolve-cids",
|
|
12
|
-
"compound-properties": "chem_pubchem_compound_properties",
|
|
13
|
-
"compound-synonyms": "chem_pubchem_compound_synonyms",
|
|
14
|
-
"compound-summary": "chem_pubchem_compound_summary",
|
|
15
|
-
"compound-batch-summary": "chem_pubchem_compound_batch-summary",
|
|
16
|
-
},
|
|
17
|
-
"rdkit": {
|
|
18
|
-
"health": "chem_rdkit_health",
|
|
19
|
-
"parse": "chem_rdkit_parse",
|
|
20
|
-
"descriptors": "chem_rdkit_descriptors",
|
|
21
|
-
"batch-descriptors": "chem_rdkit_batch-descriptors",
|
|
22
|
-
"batch-parse-describe": "chem_rdkit_batch-parse-describe",
|
|
23
|
-
"render": "chem_rdkit_render",
|
|
24
|
-
"fingerprint": "chem_rdkit_fingerprint",
|
|
25
|
-
"similarity": "chem_rdkit_similarity",
|
|
26
|
-
"similarity-matrix": "chem_rdkit_similarity-matrix",
|
|
27
|
-
"substructure": "chem_rdkit_substructure",
|
|
28
|
-
},
|
|
29
|
-
"pymatgen": {
|
|
30
|
-
"health": "chem_pymatgen_health",
|
|
31
|
-
"composition-parse": "chem_pymatgen_composition_parse",
|
|
32
|
-
"structure-parse": "chem_pymatgen_structure_parse",
|
|
33
|
-
"structure-summary": "chem_pymatgen_structure_summary",
|
|
34
|
-
"structure-convert": "chem_pymatgen_structure_convert",
|
|
35
|
-
"structure-symmetry": "chem_pymatgen_structure_symmetry",
|
|
36
|
-
},
|
|
37
|
-
"gsasii": {
|
|
38
|
-
"health": "chem_gsasii_health",
|
|
39
|
-
"powder-simulate": "chem_gsasii_powder_simulate",
|
|
40
|
-
"powder-refine": "chem_gsasii_powder_refine",
|
|
41
|
-
},
|
|
42
|
-
"lammps": {
|
|
43
|
-
"health": "chem_lammps_health",
|
|
44
|
-
"lj-melt-example": "chem_lammps_examples_lj-melt",
|
|
45
|
-
"run": "chem_lammps_run",
|
|
46
|
-
},
|
|
47
|
-
"delta-bo": {
|
|
48
|
-
"commands": "chem_delta-bo_commands",
|
|
49
|
-
"generate": "chem_delta-bo_generate",
|
|
50
|
-
},
|
|
51
|
-
"ldm-bo": {
|
|
52
|
-
"health": "chem_ldm-bo_health",
|
|
53
|
-
"recommend": "chem_ldm-bo_recommend",
|
|
54
|
-
"trajectory": "chem_ldm-bo_trajectory",
|
|
55
|
-
},
|
|
56
|
-
"synbo": {
|
|
57
|
-
"health": "chem_synbo_health",
|
|
58
|
-
"initialize": "chem_synbo_initialize",
|
|
59
|
-
"optimize": "chem_synbo_optimize",
|
|
60
|
-
},
|
|
61
|
-
"antbo": {
|
|
62
|
-
"health": "biology_antbo_health",
|
|
63
|
-
"run-default-job": "biology_antbo_run_default_job",
|
|
64
|
-
"run": "biology_antbo_run",
|
|
65
|
-
"log": "biology_antbo_log",
|
|
66
|
-
"jobs": "biology_antbo_jobs",
|
|
67
|
-
"stop": "biology_antbo_stop",
|
|
68
|
-
},
|
|
69
|
-
}
|