apheris-foundry-cli 2.7.1__tar.gz → 2.7.3__tar.gz
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.
- apheris_foundry_cli-2.7.3/MANIFEST.in +2 -0
- {apheris_foundry_cli-2.7.1/src/apheris_foundry_cli.egg-info → apheris_foundry_cli-2.7.3}/PKG-INFO +32 -25
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/README.md +31 -24
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/pyproject.toml +1 -1
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3/src/apheris_foundry_cli.egg-info}/PKG-INFO +32 -25
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apheris_foundry_cli.egg-info/SOURCES.txt +2 -30
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/foundry.py +62 -26
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/login.py +3 -1
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/weights.py +2 -2
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/auth.py +29 -5
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/hub_requests.py +48 -8
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/render.py +7 -2
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/weight_import.py +1 -1
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/handlers.py +25 -2
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/main.py +27 -13
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/skills/apheris-foundry-hub/SKILL.md +12 -6
- apheris_foundry_cli-2.7.3/src/apherisfold_cli/version.py +1 -0
- apheris_foundry_cli-2.7.1/src/apherisfold_cli/version.py +0 -1
- apheris_foundry_cli-2.7.1/tests/test_auth.py +0 -1260
- apheris_foundry_cli-2.7.1/tests/test_auth_lifecycle.py +0 -746
- apheris_foundry_cli-2.7.1/tests/test_benchmark_examples.py +0 -158
- apheris_foundry_cli-2.7.1/tests/test_browser.py +0 -63
- apheris_foundry_cli-2.7.1/tests/test_cli.py +0 -3603
- apheris_foundry_cli-2.7.1/tests/test_config.py +0 -191
- apheris_foundry_cli-2.7.1/tests/test_docs.py +0 -181
- apheris_foundry_cli-2.7.1/tests/test_documents.py +0 -169
- apheris_foundry_cli-2.7.1/tests/test_dry_run_guard.py +0 -73
- apheris_foundry_cli-2.7.1/tests/test_foundry_execution.py +0 -36
- apheris_foundry_cli-2.7.1/tests/test_foundry_helpers.py +0 -979
- apheris_foundry_cli-2.7.1/tests/test_foundry_warnings.py +0 -134
- apheris_foundry_cli-2.7.1/tests/test_handlers.py +0 -161
- apheris_foundry_cli-2.7.1/tests/test_hub_requests.py +0 -733
- apheris_foundry_cli-2.7.1/tests/test_input_archive.py +0 -286
- apheris_foundry_cli-2.7.1/tests/test_io.py +0 -164
- apheris_foundry_cli-2.7.1/tests/test_jobs_metadata.py +0 -65
- apheris_foundry_cli-2.7.1/tests/test_jobs_update.py +0 -103
- apheris_foundry_cli-2.7.1/tests/test_login_callback.py +0 -171
- apheris_foundry_cli-2.7.1/tests/test_main.py +0 -221
- apheris_foundry_cli-2.7.1/tests/test_model_discovery.py +0 -270
- apheris_foundry_cli-2.7.1/tests/test_msa.py +0 -357
- apheris_foundry_cli-2.7.1/tests/test_pubchem.py +0 -131
- apheris_foundry_cli-2.7.1/tests/test_render.py +0 -47
- apheris_foundry_cli-2.7.1/tests/test_result_artifacts.py +0 -324
- apheris_foundry_cli-2.7.1/tests/test_skills.py +0 -652
- apheris_foundry_cli-2.7.1/tests/test_weight_archive.py +0 -202
- apheris_foundry_cli-2.7.1/tests/test_weight_import.py +0 -848
- apheris_foundry_cli-2.7.1/tests/test_weights.py +0 -643
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/LICENSE +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/setup.cfg +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apheris_foundry_cli.egg-info/dependency_links.txt +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apheris_foundry_cli.egg-info/entry_points.txt +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apheris_foundry_cli.egg-info/requires.txt +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apheris_foundry_cli.egg-info/top_level.txt +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/__init__.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/__init__.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/compounds.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/docs.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/settings.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/commands/skills.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/__init__.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/archive_paths.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/browser.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/config.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/context.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/documents.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/errors.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/input_archive.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/io.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/limits.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/login_profiles.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/msa.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/pubchem.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/result_artifacts.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/transient.py +0 -0
- {apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apherisfold_cli/core/weight_archive.py +0 -0
{apheris_foundry_cli-2.7.1/src/apheris_foundry_cli.egg-info → apheris_foundry_cli-2.7.3}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apheris-foundry-cli
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
4
4
|
Summary: Command-line interface for Apheris Foundry workflows.
|
|
5
5
|
Author: Apheris
|
|
6
6
|
License-Expression: LicenseRef-Apheris-Foundry-Software-License
|
|
@@ -100,6 +100,7 @@ apheris-foundry login --url https://hub.example.com
|
|
|
100
100
|
|
|
101
101
|
Follow the sign-in instructions. The CLI saves your session for later commands.
|
|
102
102
|
Use `apheris-foundry logout` to sign out, or log in again to switch Hubs.
|
|
103
|
+
See [callback URL settings](docs/usage.md#login-and-saved-sessions) to pin a registered URL.
|
|
103
104
|
|
|
104
105
|
If login reports that its local ports are already in use, follow the commands
|
|
105
106
|
in the error message to identify the conflicting application. Close it if
|
|
@@ -120,7 +121,7 @@ workflow guidance directly from your Hub:
|
|
|
120
121
|
|
|
121
122
|
```bash
|
|
122
123
|
apheris-foundry workflows list
|
|
123
|
-
apheris-foundry skills install --workflow
|
|
124
|
+
apheris-foundry skills install --workflow predict --agent codex
|
|
124
125
|
```
|
|
125
126
|
|
|
126
127
|
Use `--path ./.agents/skills` instead of `--agent` for another agent or a
|
|
@@ -133,8 +134,8 @@ workflow skills are quietly skipped. Display the selected skill without installi
|
|
|
133
134
|
|
|
134
135
|
```bash
|
|
135
136
|
apheris-foundry skills show apheris-foundry-hub
|
|
136
|
-
apheris-foundry skills show --workflow
|
|
137
|
-
apheris-foundry skills show apheris-workflow-
|
|
137
|
+
apheris-foundry skills show --workflow predict
|
|
138
|
+
apheris-foundry skills show apheris-workflow-predict
|
|
138
139
|
# Install every bundled and Hub workflow skill after login:
|
|
139
140
|
apheris-foundry skills install --all --agent codex
|
|
140
141
|
```
|
|
@@ -172,12 +173,15 @@ for details about preference scope and scripting.
|
|
|
172
173
|
|
|
173
174
|
### Submit a prediction
|
|
174
175
|
|
|
175
|
-
After login, check that your Hub offers prediction
|
|
176
|
+
After login, check that your Hub offers prediction. These examples use `predict`,
|
|
177
|
+
the ID on Foundry 1.0.x. Foundry 1.1 renames it to `structure-predict` and still
|
|
178
|
+
accepts `predict` with a deprecation warning. Use `workflows list` and substitute
|
|
179
|
+
the exact ID advertised by your Hub if it differs:
|
|
176
180
|
|
|
177
181
|
```bash
|
|
178
|
-
apheris-foundry workflows get --workflow
|
|
179
|
-
apheris-foundry workflows docs --workflow
|
|
180
|
-
apheris-foundry workflows models --workflow
|
|
182
|
+
apheris-foundry workflows get --workflow predict
|
|
183
|
+
apheris-foundry workflows docs --workflow predict
|
|
184
|
+
apheris-foundry workflows models --workflow predict
|
|
181
185
|
```
|
|
182
186
|
|
|
183
187
|
Save this small example as `request.json`:
|
|
@@ -197,13 +201,13 @@ Save this small example as `request.json`:
|
|
|
197
201
|
Submit it using your Hub's default model settings:
|
|
198
202
|
|
|
199
203
|
```bash
|
|
200
|
-
apheris-foundry workflows run --workflow
|
|
204
|
+
apheris-foundry workflows run --workflow predict --input request.json
|
|
201
205
|
```
|
|
202
206
|
|
|
203
207
|
Optionally add a name and one or more tags when submitting:
|
|
204
208
|
|
|
205
209
|
```bash
|
|
206
|
-
apheris-foundry workflows run --workflow
|
|
210
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
207
211
|
--name "Kinase pilot" --tag kinase --tag pilot
|
|
208
212
|
```
|
|
209
213
|
|
|
@@ -214,9 +218,8 @@ tags in separate `NAME` and `TAGS` columns; `jobs get --id <job-id>` shows both
|
|
|
214
218
|
fields in detail. Missing names and tags appear as `—`.
|
|
215
219
|
|
|
216
220
|
Repeat `--input` to upload several files for one run, as AQCell inference takes
|
|
217
|
-
compounds, cell lines and a config together (the
|
|
218
|
-
|
|
219
|
-
matches this layout):
|
|
221
|
+
compounds, cell lines and a config together (the six-pair example that
|
|
222
|
+
`apheris-foundry workflows docs --workflow aqcell` describes matches this layout):
|
|
220
223
|
|
|
221
224
|
```bash
|
|
222
225
|
apheris-foundry workflows run --workflow aqcell --input ligands.csv --input cell_lines.csv --input config.json
|
|
@@ -261,9 +264,9 @@ Override model parameters inline or from a JSON/YAML file. Select models and wei
|
|
|
261
264
|
advertised by `workflows models`:
|
|
262
265
|
|
|
263
266
|
```bash
|
|
264
|
-
apheris-foundry workflows run --workflow
|
|
267
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
265
268
|
--model-params '{"seeds":[7,9],"num_diffusion_samples":3}'
|
|
266
|
-
apheris-foundry workflows run --workflow
|
|
269
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
267
270
|
--model <model-id> --weight <weight-version> \
|
|
268
271
|
--model-params @./model-params.yaml
|
|
269
272
|
```
|
|
@@ -288,10 +291,10 @@ needed for the workflow's one-sample, seed-42 defaults.
|
|
|
288
291
|
|
|
289
292
|
```bash
|
|
290
293
|
# 1. Discover: one row per model and weight (* = default); --weight shows one in detail
|
|
291
|
-
apheris-foundry workflows models --workflow
|
|
292
|
-
apheris-foundry workflows models --workflow
|
|
294
|
+
apheris-foundry workflows models --workflow predict
|
|
295
|
+
apheris-foundry workflows models --workflow predict --weight of3p2
|
|
293
296
|
# 2. Use a listed model and weight (rejected if not listed; never substituted)
|
|
294
|
-
apheris-foundry workflows run --workflow
|
|
297
|
+
apheris-foundry workflows run --workflow predict --input request.json --model openfold3 --weight of3p2
|
|
295
298
|
# 3. Make a fine-tuned checkpoint available: private, or --public for everyone on this Hub
|
|
296
299
|
apheris-foundry weights enable --name my-kinase-ft --run-id <finetune-job-id> --path <checkpoint-path> --tag kinase
|
|
297
300
|
# 4. It now appears as a weight in step 1; manage it by ID
|
|
@@ -368,6 +371,10 @@ apheris-foundry jobs get --help
|
|
|
368
371
|
|
|
369
372
|
`--name` optionally names the run. Omitted or blank names submit an unnamed run.
|
|
370
373
|
|
|
374
|
+
With `--json`, stdout contains only one JSON document; prompts, notices and
|
|
375
|
+
errors go to stderr. `workflows run --wait --json` prints nothing until the job
|
|
376
|
+
finishes. See [JSON output for scripts and agents](docs/usage.md#json-output-for-scripts-and-agents).
|
|
377
|
+
|
|
371
378
|
### Choosing how to pass settings
|
|
372
379
|
|
|
373
380
|
Workflow instructions describe the configuration and its meaning; the CLI maps
|
|
@@ -648,9 +655,7 @@ cleanup requires an explicit `--delete-files` request.
|
|
|
648
655
|
|
|
649
656
|
Hub copies enabled checkpoints into independent storage, so deleting the
|
|
650
657
|
producing job (`jobs delete`) retains its enabled weights, including shared
|
|
651
|
-
ones.
|
|
652
|
-
[hub#3142](https://github.com/apheris/hub/pull/3142). Older Hubs may ignore the
|
|
653
|
-
file-removal request; upgrade Hub before using this option.
|
|
658
|
+
ones.
|
|
654
659
|
`--dry-run true` previews `update` and `delete` after reading the current
|
|
655
660
|
record. The delete preview includes `deleteFiles`; it does not check active
|
|
656
661
|
jobs or remove files.
|
|
@@ -700,7 +705,8 @@ in the current directory, matching the FCP CLI naming convention, and
|
|
|
700
705
|
`./job_<job-id>_results/artifacts/`. The CLI prints the absolute path and
|
|
701
706
|
refuses to write into a non-empty directory unless `--overwrite=true` is set.
|
|
702
707
|
CLI versions up to 2.7.0 used the hidden `./.apherisfold/runs/foundry-results/`
|
|
703
|
-
directory; those files stay there.
|
|
708
|
+
directory; those files stay there. Scripts that need a fixed location should pass
|
|
709
|
+
`--output <dir>` explicitly rather than depend on the default.
|
|
704
710
|
|
|
705
711
|
`jobs download` preserves the workflow's `result.json`; the CLI's download
|
|
706
712
|
manifest is `cli-result.json`. A conflicting artifact with that name is rejected
|
|
@@ -712,7 +718,7 @@ Find jobs by name, ID, or tag:
|
|
|
712
718
|
|
|
713
719
|
```sh
|
|
714
720
|
apheris-foundry jobs list --search 'screen_1'
|
|
715
|
-
apheris-foundry jobs list --workflow
|
|
721
|
+
apheris-foundry jobs list --workflow predict --status succeeded --limit 10
|
|
716
722
|
```
|
|
717
723
|
|
|
718
724
|
Search is literal (no wildcards). Workflow and status filters can be repeated.
|
|
@@ -730,8 +736,9 @@ and model details use this explanation:
|
|
|
730
736
|
|
|
731
737
|
> An early-access workflow, released so you can try it before it has been fully tested. You may run into issues. Your feedback helps us improve it.
|
|
732
738
|
|
|
733
|
-
Running a preview prints the same
|
|
734
|
-
|
|
739
|
+
Running a preview prints the same explanation to stderr, so stdout remains
|
|
740
|
+
machine-readable: in a yellow **Research Preview** panel, or as one plain line
|
|
741
|
+
with `--json`. The Hub's `researchPreview` boolean
|
|
735
742
|
is preserved in workflow/model JSON output; missing or false shows no label.
|
|
736
743
|
CLI-only access and preview status are independent.
|
|
737
744
|
Workflow discovery shows Hub's categories, tags, and UI mode. Local dry-runs do
|
|
@@ -74,6 +74,7 @@ apheris-foundry login --url https://hub.example.com
|
|
|
74
74
|
|
|
75
75
|
Follow the sign-in instructions. The CLI saves your session for later commands.
|
|
76
76
|
Use `apheris-foundry logout` to sign out, or log in again to switch Hubs.
|
|
77
|
+
See [callback URL settings](docs/usage.md#login-and-saved-sessions) to pin a registered URL.
|
|
77
78
|
|
|
78
79
|
If login reports that its local ports are already in use, follow the commands
|
|
79
80
|
in the error message to identify the conflicting application. Close it if
|
|
@@ -94,7 +95,7 @@ workflow guidance directly from your Hub:
|
|
|
94
95
|
|
|
95
96
|
```bash
|
|
96
97
|
apheris-foundry workflows list
|
|
97
|
-
apheris-foundry skills install --workflow
|
|
98
|
+
apheris-foundry skills install --workflow predict --agent codex
|
|
98
99
|
```
|
|
99
100
|
|
|
100
101
|
Use `--path ./.agents/skills` instead of `--agent` for another agent or a
|
|
@@ -107,8 +108,8 @@ workflow skills are quietly skipped. Display the selected skill without installi
|
|
|
107
108
|
|
|
108
109
|
```bash
|
|
109
110
|
apheris-foundry skills show apheris-foundry-hub
|
|
110
|
-
apheris-foundry skills show --workflow
|
|
111
|
-
apheris-foundry skills show apheris-workflow-
|
|
111
|
+
apheris-foundry skills show --workflow predict
|
|
112
|
+
apheris-foundry skills show apheris-workflow-predict
|
|
112
113
|
# Install every bundled and Hub workflow skill after login:
|
|
113
114
|
apheris-foundry skills install --all --agent codex
|
|
114
115
|
```
|
|
@@ -146,12 +147,15 @@ for details about preference scope and scripting.
|
|
|
146
147
|
|
|
147
148
|
### Submit a prediction
|
|
148
149
|
|
|
149
|
-
After login, check that your Hub offers prediction
|
|
150
|
+
After login, check that your Hub offers prediction. These examples use `predict`,
|
|
151
|
+
the ID on Foundry 1.0.x. Foundry 1.1 renames it to `structure-predict` and still
|
|
152
|
+
accepts `predict` with a deprecation warning. Use `workflows list` and substitute
|
|
153
|
+
the exact ID advertised by your Hub if it differs:
|
|
150
154
|
|
|
151
155
|
```bash
|
|
152
|
-
apheris-foundry workflows get --workflow
|
|
153
|
-
apheris-foundry workflows docs --workflow
|
|
154
|
-
apheris-foundry workflows models --workflow
|
|
156
|
+
apheris-foundry workflows get --workflow predict
|
|
157
|
+
apheris-foundry workflows docs --workflow predict
|
|
158
|
+
apheris-foundry workflows models --workflow predict
|
|
155
159
|
```
|
|
156
160
|
|
|
157
161
|
Save this small example as `request.json`:
|
|
@@ -171,13 +175,13 @@ Save this small example as `request.json`:
|
|
|
171
175
|
Submit it using your Hub's default model settings:
|
|
172
176
|
|
|
173
177
|
```bash
|
|
174
|
-
apheris-foundry workflows run --workflow
|
|
178
|
+
apheris-foundry workflows run --workflow predict --input request.json
|
|
175
179
|
```
|
|
176
180
|
|
|
177
181
|
Optionally add a name and one or more tags when submitting:
|
|
178
182
|
|
|
179
183
|
```bash
|
|
180
|
-
apheris-foundry workflows run --workflow
|
|
184
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
181
185
|
--name "Kinase pilot" --tag kinase --tag pilot
|
|
182
186
|
```
|
|
183
187
|
|
|
@@ -188,9 +192,8 @@ tags in separate `NAME` and `TAGS` columns; `jobs get --id <job-id>` shows both
|
|
|
188
192
|
fields in detail. Missing names and tags appear as `—`.
|
|
189
193
|
|
|
190
194
|
Repeat `--input` to upload several files for one run, as AQCell inference takes
|
|
191
|
-
compounds, cell lines and a config together (the
|
|
192
|
-
|
|
193
|
-
matches this layout):
|
|
195
|
+
compounds, cell lines and a config together (the six-pair example that
|
|
196
|
+
`apheris-foundry workflows docs --workflow aqcell` describes matches this layout):
|
|
194
197
|
|
|
195
198
|
```bash
|
|
196
199
|
apheris-foundry workflows run --workflow aqcell --input ligands.csv --input cell_lines.csv --input config.json
|
|
@@ -235,9 +238,9 @@ Override model parameters inline or from a JSON/YAML file. Select models and wei
|
|
|
235
238
|
advertised by `workflows models`:
|
|
236
239
|
|
|
237
240
|
```bash
|
|
238
|
-
apheris-foundry workflows run --workflow
|
|
241
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
239
242
|
--model-params '{"seeds":[7,9],"num_diffusion_samples":3}'
|
|
240
|
-
apheris-foundry workflows run --workflow
|
|
243
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
241
244
|
--model <model-id> --weight <weight-version> \
|
|
242
245
|
--model-params @./model-params.yaml
|
|
243
246
|
```
|
|
@@ -262,10 +265,10 @@ needed for the workflow's one-sample, seed-42 defaults.
|
|
|
262
265
|
|
|
263
266
|
```bash
|
|
264
267
|
# 1. Discover: one row per model and weight (* = default); --weight shows one in detail
|
|
265
|
-
apheris-foundry workflows models --workflow
|
|
266
|
-
apheris-foundry workflows models --workflow
|
|
268
|
+
apheris-foundry workflows models --workflow predict
|
|
269
|
+
apheris-foundry workflows models --workflow predict --weight of3p2
|
|
267
270
|
# 2. Use a listed model and weight (rejected if not listed; never substituted)
|
|
268
|
-
apheris-foundry workflows run --workflow
|
|
271
|
+
apheris-foundry workflows run --workflow predict --input request.json --model openfold3 --weight of3p2
|
|
269
272
|
# 3. Make a fine-tuned checkpoint available: private, or --public for everyone on this Hub
|
|
270
273
|
apheris-foundry weights enable --name my-kinase-ft --run-id <finetune-job-id> --path <checkpoint-path> --tag kinase
|
|
271
274
|
# 4. It now appears as a weight in step 1; manage it by ID
|
|
@@ -342,6 +345,10 @@ apheris-foundry jobs get --help
|
|
|
342
345
|
|
|
343
346
|
`--name` optionally names the run. Omitted or blank names submit an unnamed run.
|
|
344
347
|
|
|
348
|
+
With `--json`, stdout contains only one JSON document; prompts, notices and
|
|
349
|
+
errors go to stderr. `workflows run --wait --json` prints nothing until the job
|
|
350
|
+
finishes. See [JSON output for scripts and agents](docs/usage.md#json-output-for-scripts-and-agents).
|
|
351
|
+
|
|
345
352
|
### Choosing how to pass settings
|
|
346
353
|
|
|
347
354
|
Workflow instructions describe the configuration and its meaning; the CLI maps
|
|
@@ -622,9 +629,7 @@ cleanup requires an explicit `--delete-files` request.
|
|
|
622
629
|
|
|
623
630
|
Hub copies enabled checkpoints into independent storage, so deleting the
|
|
624
631
|
producing job (`jobs delete`) retains its enabled weights, including shared
|
|
625
|
-
ones.
|
|
626
|
-
[hub#3142](https://github.com/apheris/hub/pull/3142). Older Hubs may ignore the
|
|
627
|
-
file-removal request; upgrade Hub before using this option.
|
|
632
|
+
ones.
|
|
628
633
|
`--dry-run true` previews `update` and `delete` after reading the current
|
|
629
634
|
record. The delete preview includes `deleteFiles`; it does not check active
|
|
630
635
|
jobs or remove files.
|
|
@@ -674,7 +679,8 @@ in the current directory, matching the FCP CLI naming convention, and
|
|
|
674
679
|
`./job_<job-id>_results/artifacts/`. The CLI prints the absolute path and
|
|
675
680
|
refuses to write into a non-empty directory unless `--overwrite=true` is set.
|
|
676
681
|
CLI versions up to 2.7.0 used the hidden `./.apherisfold/runs/foundry-results/`
|
|
677
|
-
directory; those files stay there.
|
|
682
|
+
directory; those files stay there. Scripts that need a fixed location should pass
|
|
683
|
+
`--output <dir>` explicitly rather than depend on the default.
|
|
678
684
|
|
|
679
685
|
`jobs download` preserves the workflow's `result.json`; the CLI's download
|
|
680
686
|
manifest is `cli-result.json`. A conflicting artifact with that name is rejected
|
|
@@ -686,7 +692,7 @@ Find jobs by name, ID, or tag:
|
|
|
686
692
|
|
|
687
693
|
```sh
|
|
688
694
|
apheris-foundry jobs list --search 'screen_1'
|
|
689
|
-
apheris-foundry jobs list --workflow
|
|
695
|
+
apheris-foundry jobs list --workflow predict --status succeeded --limit 10
|
|
690
696
|
```
|
|
691
697
|
|
|
692
698
|
Search is literal (no wildcards). Workflow and status filters can be repeated.
|
|
@@ -704,8 +710,9 @@ and model details use this explanation:
|
|
|
704
710
|
|
|
705
711
|
> An early-access workflow, released so you can try it before it has been fully tested. You may run into issues. Your feedback helps us improve it.
|
|
706
712
|
|
|
707
|
-
Running a preview prints the same
|
|
708
|
-
|
|
713
|
+
Running a preview prints the same explanation to stderr, so stdout remains
|
|
714
|
+
machine-readable: in a yellow **Research Preview** panel, or as one plain line
|
|
715
|
+
with `--json`. The Hub's `researchPreview` boolean
|
|
709
716
|
is preserved in workflow/model JSON output; missing or false shows no label.
|
|
710
717
|
CLI-only access and preview status are independent.
|
|
711
718
|
Workflow discovery shows Hub's categories, tags, and UI mode. Local dry-runs do
|
{apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3/src/apheris_foundry_cli.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apheris-foundry-cli
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
4
4
|
Summary: Command-line interface for Apheris Foundry workflows.
|
|
5
5
|
Author: Apheris
|
|
6
6
|
License-Expression: LicenseRef-Apheris-Foundry-Software-License
|
|
@@ -100,6 +100,7 @@ apheris-foundry login --url https://hub.example.com
|
|
|
100
100
|
|
|
101
101
|
Follow the sign-in instructions. The CLI saves your session for later commands.
|
|
102
102
|
Use `apheris-foundry logout` to sign out, or log in again to switch Hubs.
|
|
103
|
+
See [callback URL settings](docs/usage.md#login-and-saved-sessions) to pin a registered URL.
|
|
103
104
|
|
|
104
105
|
If login reports that its local ports are already in use, follow the commands
|
|
105
106
|
in the error message to identify the conflicting application. Close it if
|
|
@@ -120,7 +121,7 @@ workflow guidance directly from your Hub:
|
|
|
120
121
|
|
|
121
122
|
```bash
|
|
122
123
|
apheris-foundry workflows list
|
|
123
|
-
apheris-foundry skills install --workflow
|
|
124
|
+
apheris-foundry skills install --workflow predict --agent codex
|
|
124
125
|
```
|
|
125
126
|
|
|
126
127
|
Use `--path ./.agents/skills` instead of `--agent` for another agent or a
|
|
@@ -133,8 +134,8 @@ workflow skills are quietly skipped. Display the selected skill without installi
|
|
|
133
134
|
|
|
134
135
|
```bash
|
|
135
136
|
apheris-foundry skills show apheris-foundry-hub
|
|
136
|
-
apheris-foundry skills show --workflow
|
|
137
|
-
apheris-foundry skills show apheris-workflow-
|
|
137
|
+
apheris-foundry skills show --workflow predict
|
|
138
|
+
apheris-foundry skills show apheris-workflow-predict
|
|
138
139
|
# Install every bundled and Hub workflow skill after login:
|
|
139
140
|
apheris-foundry skills install --all --agent codex
|
|
140
141
|
```
|
|
@@ -172,12 +173,15 @@ for details about preference scope and scripting.
|
|
|
172
173
|
|
|
173
174
|
### Submit a prediction
|
|
174
175
|
|
|
175
|
-
After login, check that your Hub offers prediction
|
|
176
|
+
After login, check that your Hub offers prediction. These examples use `predict`,
|
|
177
|
+
the ID on Foundry 1.0.x. Foundry 1.1 renames it to `structure-predict` and still
|
|
178
|
+
accepts `predict` with a deprecation warning. Use `workflows list` and substitute
|
|
179
|
+
the exact ID advertised by your Hub if it differs:
|
|
176
180
|
|
|
177
181
|
```bash
|
|
178
|
-
apheris-foundry workflows get --workflow
|
|
179
|
-
apheris-foundry workflows docs --workflow
|
|
180
|
-
apheris-foundry workflows models --workflow
|
|
182
|
+
apheris-foundry workflows get --workflow predict
|
|
183
|
+
apheris-foundry workflows docs --workflow predict
|
|
184
|
+
apheris-foundry workflows models --workflow predict
|
|
181
185
|
```
|
|
182
186
|
|
|
183
187
|
Save this small example as `request.json`:
|
|
@@ -197,13 +201,13 @@ Save this small example as `request.json`:
|
|
|
197
201
|
Submit it using your Hub's default model settings:
|
|
198
202
|
|
|
199
203
|
```bash
|
|
200
|
-
apheris-foundry workflows run --workflow
|
|
204
|
+
apheris-foundry workflows run --workflow predict --input request.json
|
|
201
205
|
```
|
|
202
206
|
|
|
203
207
|
Optionally add a name and one or more tags when submitting:
|
|
204
208
|
|
|
205
209
|
```bash
|
|
206
|
-
apheris-foundry workflows run --workflow
|
|
210
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
207
211
|
--name "Kinase pilot" --tag kinase --tag pilot
|
|
208
212
|
```
|
|
209
213
|
|
|
@@ -214,9 +218,8 @@ tags in separate `NAME` and `TAGS` columns; `jobs get --id <job-id>` shows both
|
|
|
214
218
|
fields in detail. Missing names and tags appear as `—`.
|
|
215
219
|
|
|
216
220
|
Repeat `--input` to upload several files for one run, as AQCell inference takes
|
|
217
|
-
compounds, cell lines and a config together (the
|
|
218
|
-
|
|
219
|
-
matches this layout):
|
|
221
|
+
compounds, cell lines and a config together (the six-pair example that
|
|
222
|
+
`apheris-foundry workflows docs --workflow aqcell` describes matches this layout):
|
|
220
223
|
|
|
221
224
|
```bash
|
|
222
225
|
apheris-foundry workflows run --workflow aqcell --input ligands.csv --input cell_lines.csv --input config.json
|
|
@@ -261,9 +264,9 @@ Override model parameters inline or from a JSON/YAML file. Select models and wei
|
|
|
261
264
|
advertised by `workflows models`:
|
|
262
265
|
|
|
263
266
|
```bash
|
|
264
|
-
apheris-foundry workflows run --workflow
|
|
267
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
265
268
|
--model-params '{"seeds":[7,9],"num_diffusion_samples":3}'
|
|
266
|
-
apheris-foundry workflows run --workflow
|
|
269
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
267
270
|
--model <model-id> --weight <weight-version> \
|
|
268
271
|
--model-params @./model-params.yaml
|
|
269
272
|
```
|
|
@@ -288,10 +291,10 @@ needed for the workflow's one-sample, seed-42 defaults.
|
|
|
288
291
|
|
|
289
292
|
```bash
|
|
290
293
|
# 1. Discover: one row per model and weight (* = default); --weight shows one in detail
|
|
291
|
-
apheris-foundry workflows models --workflow
|
|
292
|
-
apheris-foundry workflows models --workflow
|
|
294
|
+
apheris-foundry workflows models --workflow predict
|
|
295
|
+
apheris-foundry workflows models --workflow predict --weight of3p2
|
|
293
296
|
# 2. Use a listed model and weight (rejected if not listed; never substituted)
|
|
294
|
-
apheris-foundry workflows run --workflow
|
|
297
|
+
apheris-foundry workflows run --workflow predict --input request.json --model openfold3 --weight of3p2
|
|
295
298
|
# 3. Make a fine-tuned checkpoint available: private, or --public for everyone on this Hub
|
|
296
299
|
apheris-foundry weights enable --name my-kinase-ft --run-id <finetune-job-id> --path <checkpoint-path> --tag kinase
|
|
297
300
|
# 4. It now appears as a weight in step 1; manage it by ID
|
|
@@ -368,6 +371,10 @@ apheris-foundry jobs get --help
|
|
|
368
371
|
|
|
369
372
|
`--name` optionally names the run. Omitted or blank names submit an unnamed run.
|
|
370
373
|
|
|
374
|
+
With `--json`, stdout contains only one JSON document; prompts, notices and
|
|
375
|
+
errors go to stderr. `workflows run --wait --json` prints nothing until the job
|
|
376
|
+
finishes. See [JSON output for scripts and agents](docs/usage.md#json-output-for-scripts-and-agents).
|
|
377
|
+
|
|
371
378
|
### Choosing how to pass settings
|
|
372
379
|
|
|
373
380
|
Workflow instructions describe the configuration and its meaning; the CLI maps
|
|
@@ -648,9 +655,7 @@ cleanup requires an explicit `--delete-files` request.
|
|
|
648
655
|
|
|
649
656
|
Hub copies enabled checkpoints into independent storage, so deleting the
|
|
650
657
|
producing job (`jobs delete`) retains its enabled weights, including shared
|
|
651
|
-
ones.
|
|
652
|
-
[hub#3142](https://github.com/apheris/hub/pull/3142). Older Hubs may ignore the
|
|
653
|
-
file-removal request; upgrade Hub before using this option.
|
|
658
|
+
ones.
|
|
654
659
|
`--dry-run true` previews `update` and `delete` after reading the current
|
|
655
660
|
record. The delete preview includes `deleteFiles`; it does not check active
|
|
656
661
|
jobs or remove files.
|
|
@@ -700,7 +705,8 @@ in the current directory, matching the FCP CLI naming convention, and
|
|
|
700
705
|
`./job_<job-id>_results/artifacts/`. The CLI prints the absolute path and
|
|
701
706
|
refuses to write into a non-empty directory unless `--overwrite=true` is set.
|
|
702
707
|
CLI versions up to 2.7.0 used the hidden `./.apherisfold/runs/foundry-results/`
|
|
703
|
-
directory; those files stay there.
|
|
708
|
+
directory; those files stay there. Scripts that need a fixed location should pass
|
|
709
|
+
`--output <dir>` explicitly rather than depend on the default.
|
|
704
710
|
|
|
705
711
|
`jobs download` preserves the workflow's `result.json`; the CLI's download
|
|
706
712
|
manifest is `cli-result.json`. A conflicting artifact with that name is rejected
|
|
@@ -712,7 +718,7 @@ Find jobs by name, ID, or tag:
|
|
|
712
718
|
|
|
713
719
|
```sh
|
|
714
720
|
apheris-foundry jobs list --search 'screen_1'
|
|
715
|
-
apheris-foundry jobs list --workflow
|
|
721
|
+
apheris-foundry jobs list --workflow predict --status succeeded --limit 10
|
|
716
722
|
```
|
|
717
723
|
|
|
718
724
|
Search is literal (no wildcards). Workflow and status filters can be repeated.
|
|
@@ -730,8 +736,9 @@ and model details use this explanation:
|
|
|
730
736
|
|
|
731
737
|
> An early-access workflow, released so you can try it before it has been fully tested. You may run into issues. Your feedback helps us improve it.
|
|
732
738
|
|
|
733
|
-
Running a preview prints the same
|
|
734
|
-
|
|
739
|
+
Running a preview prints the same explanation to stderr, so stdout remains
|
|
740
|
+
machine-readable: in a yellow **Research Preview** panel, or as one plain line
|
|
741
|
+
with `--json`. The Hub's `researchPreview` boolean
|
|
735
742
|
is preserved in workflow/model JSON output; missing or false shows no label.
|
|
736
743
|
CLI-only access and preview status are independent.
|
|
737
744
|
Workflow discovery shows Hub's categories, tags, and UI mode. Local dry-runs do
|
{apheris_foundry_cli-2.7.1 → apheris_foundry_cli-2.7.3}/src/apheris_foundry_cli.egg-info/SOURCES.txt
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
LICENSE
|
|
2
|
+
MANIFEST.in
|
|
2
3
|
README.md
|
|
3
4
|
pyproject.toml
|
|
4
5
|
src/apheris_foundry_cli.egg-info/PKG-INFO
|
|
@@ -39,33 +40,4 @@ src/apherisfold_cli/core/result_artifacts.py
|
|
|
39
40
|
src/apherisfold_cli/core/transient.py
|
|
40
41
|
src/apherisfold_cli/core/weight_archive.py
|
|
41
42
|
src/apherisfold_cli/core/weight_import.py
|
|
42
|
-
src/apherisfold_cli/skills/apheris-foundry-hub/SKILL.md
|
|
43
|
-
tests/test_auth.py
|
|
44
|
-
tests/test_auth_lifecycle.py
|
|
45
|
-
tests/test_benchmark_examples.py
|
|
46
|
-
tests/test_browser.py
|
|
47
|
-
tests/test_cli.py
|
|
48
|
-
tests/test_config.py
|
|
49
|
-
tests/test_docs.py
|
|
50
|
-
tests/test_documents.py
|
|
51
|
-
tests/test_dry_run_guard.py
|
|
52
|
-
tests/test_foundry_execution.py
|
|
53
|
-
tests/test_foundry_helpers.py
|
|
54
|
-
tests/test_foundry_warnings.py
|
|
55
|
-
tests/test_handlers.py
|
|
56
|
-
tests/test_hub_requests.py
|
|
57
|
-
tests/test_input_archive.py
|
|
58
|
-
tests/test_io.py
|
|
59
|
-
tests/test_jobs_metadata.py
|
|
60
|
-
tests/test_jobs_update.py
|
|
61
|
-
tests/test_login_callback.py
|
|
62
|
-
tests/test_main.py
|
|
63
|
-
tests/test_model_discovery.py
|
|
64
|
-
tests/test_msa.py
|
|
65
|
-
tests/test_pubchem.py
|
|
66
|
-
tests/test_render.py
|
|
67
|
-
tests/test_result_artifacts.py
|
|
68
|
-
tests/test_skills.py
|
|
69
|
-
tests/test_weight_archive.py
|
|
70
|
-
tests/test_weight_import.py
|
|
71
|
-
tests/test_weights.py
|
|
43
|
+
src/apherisfold_cli/skills/apheris-foundry-hub/SKILL.md
|