apheris-foundry-cli 1.0.0__tar.gz → 2.0.0__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-1.0.0/src/apheris_foundry_cli.egg-info → apheris_foundry_cli-2.0.0}/PKG-INFO +36 -18
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/README.md +34 -17
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/pyproject.toml +3 -1
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0/src/apheris_foundry_cli.egg-info}/PKG-INFO +36 -18
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apheris_foundry_cli.egg-info/SOURCES.txt +1 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apheris_foundry_cli.egg-info/requires.txt +1 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/foundry.py +17 -93
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/weights.py +15 -15
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/main.py +12 -6
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/skills/apheris-foundry-hub/SKILL.md +48 -45
- apheris_foundry_cli-2.0.0/src/apherisfold_cli/version.py +1 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_cli.py +93 -7
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_foundry_helpers.py +0 -89
- apheris_foundry_cli-2.0.0/tests/test_jobs_metadata.py +64 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_weights.py +48 -18
- apheris_foundry_cli-1.0.0/src/apherisfold_cli/version.py +0 -1
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/LICENSE +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/setup.cfg +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apheris_foundry_cli.egg-info/dependency_links.txt +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apheris_foundry_cli.egg-info/entry_points.txt +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apheris_foundry_cli.egg-info/top_level.txt +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/__init__.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/__init__.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/compounds.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/login.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/settings.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/skills.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/__init__.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/auth.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/config.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/context.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/documents.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/errors.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/hub_requests.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/input_archive.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/io.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/limits.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/login_profiles.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/msa.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/pubchem.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/render.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/result_artifacts.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/core/transient.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/handlers.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_auth.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_auth_lifecycle.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_benchmark_examples.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_config.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_documents.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_dry_run_guard.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_foundry_warnings.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_handlers.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_hub_requests.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_input_archive.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_io.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_jobs_update.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_login_callback.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_main.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_model_discovery.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_msa.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_pubchem.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_render.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_result_artifacts.py +0 -0
- {apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/tests/test_skills.py +0 -0
{apheris_foundry_cli-1.0.0/src/apheris_foundry_cli.egg-info → apheris_foundry_cli-2.0.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apheris-foundry-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Command-line interface for Apheris Foundry workflows.
|
|
5
5
|
Author: Apheris
|
|
6
6
|
License-Expression: LicenseRef-Apheris-Foundry-Software-License
|
|
@@ -11,6 +11,7 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
13
|
Requires-Dist: httpx<1,>=0.28
|
|
14
|
+
Requires-Dist: httpcore>=1.0.9
|
|
14
15
|
Requires-Dist: jsonschema<5,>=4
|
|
15
16
|
Requires-Dist: PyYAML<7,>=6.0.3
|
|
16
17
|
Requires-Dist: rich>=13
|
|
@@ -199,6 +200,19 @@ Submit it using your Hub's default model settings:
|
|
|
199
200
|
apheris-foundry workflows run --workflow predict --input request.json
|
|
200
201
|
```
|
|
201
202
|
|
|
203
|
+
Optionally add a name and one or more tags when submitting:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
207
|
+
--name "Kinase pilot" --tag kinase --tag pilot
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Omit `--name` for an unnamed run and omit `--tag` for an untagged run. Repeat
|
|
211
|
+
`--tag` for multiple tags. Hub validates and normalizes tags, trimming whitespace,
|
|
212
|
+
removing empty tags and deduplicating them. `jobs list` shows the saved name and
|
|
213
|
+
tags in separate `NAME` and `TAGS` columns; `jobs get --id <job-id>` shows both
|
|
214
|
+
fields in detail. Missing names and tags appear as `—`.
|
|
215
|
+
|
|
202
216
|
Repeat `--input` to upload several files for one run, as AQCell inference takes
|
|
203
217
|
compounds, cell lines and a config together (the
|
|
204
218
|
[six-pair example](https://github.com/apheris/foundry-toolkit/tree/main/workflows/aqcell/examples)
|
|
@@ -279,7 +293,7 @@ apheris-foundry workflows models --workflow predict --weight of3p2
|
|
|
279
293
|
# 2. Use a listed model and weight (rejected if not listed; never substituted)
|
|
280
294
|
apheris-foundry workflows run --workflow predict --input request.json --model openfold3 --weight of3p2
|
|
281
295
|
# 3. Make a fine-tuned checkpoint available: private, or --public for everyone on this Hub
|
|
282
|
-
apheris-foundry weights
|
|
296
|
+
apheris-foundry weights enable --name my-kinase-ft --run-id <finetune-job-id> --path <checkpoint-path> --tag kinase
|
|
283
297
|
# 4. It now appears as a weight in step 1; manage it by ID
|
|
284
298
|
apheris-foundry weights list
|
|
285
299
|
apheris-foundry weights delete --id <weight-id> --yes
|
|
@@ -329,7 +343,7 @@ the metadata change notification.
|
|
|
329
343
|
| `apheris-foundry workflows docs --workflow <id>` | Read the workflow's documentation, as its package ships it (`--json` includes the content digest) |
|
|
330
344
|
| `apheris-foundry workflows models --workflow <id> [--capability <name>]` | List models, weights and defaults advertised by Hub (`--json` includes full metadata) |
|
|
331
345
|
| `apheris-foundry workflows graph --workflow <id>` | Show the workflow DAG |
|
|
332
|
-
| `apheris-foundry workflows run --workflow <id> [--name <name>] [--model-params <JSON\|@file>]` | Submit a workflow run with Hub-schema-validated model parameters |
|
|
346
|
+
| `apheris-foundry workflows run --workflow <id> [--name <name>] [--tag <tag> ...] [--model-params <JSON\|@file>]` | Submit a workflow run with optional name/tags and Hub-schema-validated model parameters |
|
|
333
347
|
|
|
334
348
|
### Run instances (`runs`)
|
|
335
349
|
|
|
@@ -383,13 +397,13 @@ Contact [support@apheris.com](mailto:support@apheris.com) for access and deploym
|
|
|
383
397
|
|
|
384
398
|
### Model weights (`weights`)
|
|
385
399
|
|
|
386
|
-
`weights` manages weights
|
|
400
|
+
`weights` manages weights enabled from completed jobs: enable, list, inspect,
|
|
387
401
|
rename or relabel, share and delete. Every command accepts `--json`, which
|
|
388
402
|
prints Hub's response unchanged.
|
|
389
403
|
|
|
390
404
|
```sh
|
|
391
|
-
# 1.
|
|
392
|
-
apheris-foundry weights
|
|
405
|
+
# 1. Enable weights from a job artifact (private by default)
|
|
406
|
+
apheris-foundry weights enable --name <unique-name> --run-id <job-id> --path <run-relative-bundle-directory> --tag trial --json
|
|
393
407
|
# 2. Label or rename it; --tag replaces the whole tag set, --clear-tags removes it
|
|
394
408
|
apheris-foundry weights update --id <weight-id> --tag trial --tag benchmark --name <new-name>
|
|
395
409
|
# 3. Find and inspect it
|
|
@@ -403,6 +417,10 @@ apheris-foundry weights delete --id <weight-id> --yes
|
|
|
403
417
|
apheris-foundry weights delete --id <weight-id> --delete-files --yes
|
|
404
418
|
```
|
|
405
419
|
|
|
420
|
+
`weights enable` matches the UI’s “Enable weights” action and replaces
|
|
421
|
+
`weights deploy`. Update existing scripts to use `weights enable`; the old
|
|
422
|
+
command is no longer supported. The Hub API endpoint remains `/api/v1/weights/deploy`.
|
|
423
|
+
|
|
406
424
|
`weights list` lists your weights plus weights other users shared. Filter with
|
|
407
425
|
`--run-id`, `--model`, `--version`, `--task` or repeated `--tag` (a weight must
|
|
408
426
|
carry every tag). `--model` and `--version` together also include the model's
|
|
@@ -414,7 +432,7 @@ report visibility (`isPublic`) and deletion (`isDeleted`) separately.
|
|
|
414
432
|
`weights get --id` shows one weight in full, including its producing job,
|
|
415
433
|
lineage and who shared it when.
|
|
416
434
|
|
|
417
|
-
`weights
|
|
435
|
+
`weights enable` registers a job artifact through Hub; it does not upload local
|
|
418
436
|
weights or start prediction. `--name` is required: use an instance-wide unique
|
|
419
437
|
name of 1–255 characters after trimming whitespace, without control characters.
|
|
420
438
|
Names are case-sensitive and must be unique among active weights; deleting a
|
|
@@ -423,14 +441,14 @@ is separate metadata and does not replace the name. Use the path shown by
|
|
|
423
441
|
`jobs get`, including the complete directory for AQCell bundles. Optional
|
|
424
442
|
`--task`, `--description`, `--derived-from`, repeated `--capability` and
|
|
425
443
|
repeated `--tag` values accompany the request; Hub derives and validates model
|
|
426
|
-
identity and ownership. `--dry-run true weights
|
|
444
|
+
identity and ownership. `--dry-run true weights enable ...` prints the request
|
|
427
445
|
without submission. Verify selection in the target workflow's model catalog
|
|
428
446
|
before reuse.
|
|
429
447
|
|
|
430
|
-
**Sharing.**
|
|
448
|
+
**Sharing.** Enabled weights are private. `--public` shares a weight with every
|
|
431
449
|
authenticated user of this Hub; they can list, inspect and run with it, but only
|
|
432
|
-
the owner can update or delete it. Hub fixes visibility
|
|
433
|
-
sharing a weight, delete it, and
|
|
450
|
+
the owner can update or delete it. Hub fixes visibility when enabling: to stop
|
|
451
|
+
sharing a weight, delete it, and enable under a new name if you still need a
|
|
434
452
|
private copy. Mutating a weight you do not own fails with "Only the owner can
|
|
435
453
|
update or delete a weight".
|
|
436
454
|
|
|
@@ -446,8 +464,8 @@ remain; retry after the jobs finish. JSON success reports `cleanup: "removed"`
|
|
|
446
464
|
when deleting files and `cleanup: "deferred"` for soft deletion; deferred
|
|
447
465
|
cleanup requires an explicit `--delete-files` request.
|
|
448
466
|
|
|
449
|
-
Hub copies
|
|
450
|
-
producing job (`jobs delete`) retains its
|
|
467
|
+
Hub copies enabled checkpoints into independent storage, so deleting the
|
|
468
|
+
producing job (`jobs delete`) retains its enabled weights, including shared
|
|
451
469
|
ones. These storage semantics and file removal require a Hub containing
|
|
452
470
|
[hub#3142](https://github.com/apheris/hub/pull/3142). Older Hubs may ignore the
|
|
453
471
|
file-removal request; upgrade Hub before using this option.
|
|
@@ -455,15 +473,15 @@ file-removal request; upgrade Hub before using this option.
|
|
|
455
473
|
record. The delete preview includes `deleteFiles`; it does not check active
|
|
456
474
|
jobs or remove files.
|
|
457
475
|
|
|
458
|
-
CLI
|
|
459
|
-
|
|
460
|
-
|
|
476
|
+
Use a CLI release that supports `weights enable --name`. Upgrade if this
|
|
477
|
+
command is unavailable; adding `--description` does not replace the required
|
|
478
|
+
weight name.
|
|
461
479
|
|
|
462
480
|
Some workflows accept checkpoint files directly. Read the active workflow's
|
|
463
|
-
skill before
|
|
481
|
+
skill before enabling weights: `affinity-predict-from-embeddings` documents uploading
|
|
464
482
|
the selected affinity-head checkpoint as `checkpoint.ckpt` alongside
|
|
465
483
|
`test_queries.yaml` (or JSON), referenced MSAs and optional labels. That route
|
|
466
|
-
does not require catalog
|
|
484
|
+
does not require enabling weights in the catalog or `--weight`. Its `of3Checkpoint` parameter
|
|
467
485
|
selects the separate OpenFold3 trunk, not the affinity head. Report prediction
|
|
468
486
|
submission/completion separately from weight registration.
|
|
469
487
|
|
|
@@ -174,6 +174,19 @@ Submit it using your Hub's default model settings:
|
|
|
174
174
|
apheris-foundry workflows run --workflow predict --input request.json
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
+
Optionally add a name and one or more tags when submitting:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
181
|
+
--name "Kinase pilot" --tag kinase --tag pilot
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Omit `--name` for an unnamed run and omit `--tag` for an untagged run. Repeat
|
|
185
|
+
`--tag` for multiple tags. Hub validates and normalizes tags, trimming whitespace,
|
|
186
|
+
removing empty tags and deduplicating them. `jobs list` shows the saved name and
|
|
187
|
+
tags in separate `NAME` and `TAGS` columns; `jobs get --id <job-id>` shows both
|
|
188
|
+
fields in detail. Missing names and tags appear as `—`.
|
|
189
|
+
|
|
177
190
|
Repeat `--input` to upload several files for one run, as AQCell inference takes
|
|
178
191
|
compounds, cell lines and a config together (the
|
|
179
192
|
[six-pair example](https://github.com/apheris/foundry-toolkit/tree/main/workflows/aqcell/examples)
|
|
@@ -254,7 +267,7 @@ apheris-foundry workflows models --workflow predict --weight of3p2
|
|
|
254
267
|
# 2. Use a listed model and weight (rejected if not listed; never substituted)
|
|
255
268
|
apheris-foundry workflows run --workflow predict --input request.json --model openfold3 --weight of3p2
|
|
256
269
|
# 3. Make a fine-tuned checkpoint available: private, or --public for everyone on this Hub
|
|
257
|
-
apheris-foundry weights
|
|
270
|
+
apheris-foundry weights enable --name my-kinase-ft --run-id <finetune-job-id> --path <checkpoint-path> --tag kinase
|
|
258
271
|
# 4. It now appears as a weight in step 1; manage it by ID
|
|
259
272
|
apheris-foundry weights list
|
|
260
273
|
apheris-foundry weights delete --id <weight-id> --yes
|
|
@@ -304,7 +317,7 @@ the metadata change notification.
|
|
|
304
317
|
| `apheris-foundry workflows docs --workflow <id>` | Read the workflow's documentation, as its package ships it (`--json` includes the content digest) |
|
|
305
318
|
| `apheris-foundry workflows models --workflow <id> [--capability <name>]` | List models, weights and defaults advertised by Hub (`--json` includes full metadata) |
|
|
306
319
|
| `apheris-foundry workflows graph --workflow <id>` | Show the workflow DAG |
|
|
307
|
-
| `apheris-foundry workflows run --workflow <id> [--name <name>] [--model-params <JSON\|@file>]` | Submit a workflow run with Hub-schema-validated model parameters |
|
|
320
|
+
| `apheris-foundry workflows run --workflow <id> [--name <name>] [--tag <tag> ...] [--model-params <JSON\|@file>]` | Submit a workflow run with optional name/tags and Hub-schema-validated model parameters |
|
|
308
321
|
|
|
309
322
|
### Run instances (`runs`)
|
|
310
323
|
|
|
@@ -358,13 +371,13 @@ Contact [support@apheris.com](mailto:support@apheris.com) for access and deploym
|
|
|
358
371
|
|
|
359
372
|
### Model weights (`weights`)
|
|
360
373
|
|
|
361
|
-
`weights` manages weights
|
|
374
|
+
`weights` manages weights enabled from completed jobs: enable, list, inspect,
|
|
362
375
|
rename or relabel, share and delete. Every command accepts `--json`, which
|
|
363
376
|
prints Hub's response unchanged.
|
|
364
377
|
|
|
365
378
|
```sh
|
|
366
|
-
# 1.
|
|
367
|
-
apheris-foundry weights
|
|
379
|
+
# 1. Enable weights from a job artifact (private by default)
|
|
380
|
+
apheris-foundry weights enable --name <unique-name> --run-id <job-id> --path <run-relative-bundle-directory> --tag trial --json
|
|
368
381
|
# 2. Label or rename it; --tag replaces the whole tag set, --clear-tags removes it
|
|
369
382
|
apheris-foundry weights update --id <weight-id> --tag trial --tag benchmark --name <new-name>
|
|
370
383
|
# 3. Find and inspect it
|
|
@@ -378,6 +391,10 @@ apheris-foundry weights delete --id <weight-id> --yes
|
|
|
378
391
|
apheris-foundry weights delete --id <weight-id> --delete-files --yes
|
|
379
392
|
```
|
|
380
393
|
|
|
394
|
+
`weights enable` matches the UI’s “Enable weights” action and replaces
|
|
395
|
+
`weights deploy`. Update existing scripts to use `weights enable`; the old
|
|
396
|
+
command is no longer supported. The Hub API endpoint remains `/api/v1/weights/deploy`.
|
|
397
|
+
|
|
381
398
|
`weights list` lists your weights plus weights other users shared. Filter with
|
|
382
399
|
`--run-id`, `--model`, `--version`, `--task` or repeated `--tag` (a weight must
|
|
383
400
|
carry every tag). `--model` and `--version` together also include the model's
|
|
@@ -389,7 +406,7 @@ report visibility (`isPublic`) and deletion (`isDeleted`) separately.
|
|
|
389
406
|
`weights get --id` shows one weight in full, including its producing job,
|
|
390
407
|
lineage and who shared it when.
|
|
391
408
|
|
|
392
|
-
`weights
|
|
409
|
+
`weights enable` registers a job artifact through Hub; it does not upload local
|
|
393
410
|
weights or start prediction. `--name` is required: use an instance-wide unique
|
|
394
411
|
name of 1–255 characters after trimming whitespace, without control characters.
|
|
395
412
|
Names are case-sensitive and must be unique among active weights; deleting a
|
|
@@ -398,14 +415,14 @@ is separate metadata and does not replace the name. Use the path shown by
|
|
|
398
415
|
`jobs get`, including the complete directory for AQCell bundles. Optional
|
|
399
416
|
`--task`, `--description`, `--derived-from`, repeated `--capability` and
|
|
400
417
|
repeated `--tag` values accompany the request; Hub derives and validates model
|
|
401
|
-
identity and ownership. `--dry-run true weights
|
|
418
|
+
identity and ownership. `--dry-run true weights enable ...` prints the request
|
|
402
419
|
without submission. Verify selection in the target workflow's model catalog
|
|
403
420
|
before reuse.
|
|
404
421
|
|
|
405
|
-
**Sharing.**
|
|
422
|
+
**Sharing.** Enabled weights are private. `--public` shares a weight with every
|
|
406
423
|
authenticated user of this Hub; they can list, inspect and run with it, but only
|
|
407
|
-
the owner can update or delete it. Hub fixes visibility
|
|
408
|
-
sharing a weight, delete it, and
|
|
424
|
+
the owner can update or delete it. Hub fixes visibility when enabling: to stop
|
|
425
|
+
sharing a weight, delete it, and enable under a new name if you still need a
|
|
409
426
|
private copy. Mutating a weight you do not own fails with "Only the owner can
|
|
410
427
|
update or delete a weight".
|
|
411
428
|
|
|
@@ -421,8 +438,8 @@ remain; retry after the jobs finish. JSON success reports `cleanup: "removed"`
|
|
|
421
438
|
when deleting files and `cleanup: "deferred"` for soft deletion; deferred
|
|
422
439
|
cleanup requires an explicit `--delete-files` request.
|
|
423
440
|
|
|
424
|
-
Hub copies
|
|
425
|
-
producing job (`jobs delete`) retains its
|
|
441
|
+
Hub copies enabled checkpoints into independent storage, so deleting the
|
|
442
|
+
producing job (`jobs delete`) retains its enabled weights, including shared
|
|
426
443
|
ones. These storage semantics and file removal require a Hub containing
|
|
427
444
|
[hub#3142](https://github.com/apheris/hub/pull/3142). Older Hubs may ignore the
|
|
428
445
|
file-removal request; upgrade Hub before using this option.
|
|
@@ -430,15 +447,15 @@ file-removal request; upgrade Hub before using this option.
|
|
|
430
447
|
record. The delete preview includes `deleteFiles`; it does not check active
|
|
431
448
|
jobs or remove files.
|
|
432
449
|
|
|
433
|
-
CLI
|
|
434
|
-
|
|
435
|
-
|
|
450
|
+
Use a CLI release that supports `weights enable --name`. Upgrade if this
|
|
451
|
+
command is unavailable; adding `--description` does not replace the required
|
|
452
|
+
weight name.
|
|
436
453
|
|
|
437
454
|
Some workflows accept checkpoint files directly. Read the active workflow's
|
|
438
|
-
skill before
|
|
455
|
+
skill before enabling weights: `affinity-predict-from-embeddings` documents uploading
|
|
439
456
|
the selected affinity-head checkpoint as `checkpoint.ckpt` alongside
|
|
440
457
|
`test_queries.yaml` (or JSON), referenced MSAs and optional labels. That route
|
|
441
|
-
does not require catalog
|
|
458
|
+
does not require enabling weights in the catalog or `--weight`. Its `of3Checkpoint` parameter
|
|
442
459
|
selects the separate OpenFold3 trunk, not the affinity head. Report prediction
|
|
443
460
|
submission/completion separately from weight registration.
|
|
444
461
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "apheris-foundry-cli"
|
|
7
|
-
version = "
|
|
7
|
+
version = "2.0.0"
|
|
8
8
|
description = "Command-line interface for Apheris Foundry workflows."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -13,6 +13,8 @@ license = "LicenseRef-Apheris-Foundry-Software-License"
|
|
|
13
13
|
license-files = ["LICENSE"]
|
|
14
14
|
dependencies = [
|
|
15
15
|
"httpx>=0.28,<1",
|
|
16
|
+
# Floor httpcore so it pulls the h11 past CVE-2025-43859; older httpcore drags in h11 0.14.
|
|
17
|
+
"httpcore>=1.0.9",
|
|
16
18
|
"jsonschema>=4,<5",
|
|
17
19
|
"PyYAML>=6.0.3,<7",
|
|
18
20
|
"rich>=13",
|
{apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0/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:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Command-line interface for Apheris Foundry workflows.
|
|
5
5
|
Author: Apheris
|
|
6
6
|
License-Expression: LicenseRef-Apheris-Foundry-Software-License
|
|
@@ -11,6 +11,7 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
13
|
Requires-Dist: httpx<1,>=0.28
|
|
14
|
+
Requires-Dist: httpcore>=1.0.9
|
|
14
15
|
Requires-Dist: jsonschema<5,>=4
|
|
15
16
|
Requires-Dist: PyYAML<7,>=6.0.3
|
|
16
17
|
Requires-Dist: rich>=13
|
|
@@ -199,6 +200,19 @@ Submit it using your Hub's default model settings:
|
|
|
199
200
|
apheris-foundry workflows run --workflow predict --input request.json
|
|
200
201
|
```
|
|
201
202
|
|
|
203
|
+
Optionally add a name and one or more tags when submitting:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
apheris-foundry workflows run --workflow predict --input request.json \
|
|
207
|
+
--name "Kinase pilot" --tag kinase --tag pilot
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Omit `--name` for an unnamed run and omit `--tag` for an untagged run. Repeat
|
|
211
|
+
`--tag` for multiple tags. Hub validates and normalizes tags, trimming whitespace,
|
|
212
|
+
removing empty tags and deduplicating them. `jobs list` shows the saved name and
|
|
213
|
+
tags in separate `NAME` and `TAGS` columns; `jobs get --id <job-id>` shows both
|
|
214
|
+
fields in detail. Missing names and tags appear as `—`.
|
|
215
|
+
|
|
202
216
|
Repeat `--input` to upload several files for one run, as AQCell inference takes
|
|
203
217
|
compounds, cell lines and a config together (the
|
|
204
218
|
[six-pair example](https://github.com/apheris/foundry-toolkit/tree/main/workflows/aqcell/examples)
|
|
@@ -279,7 +293,7 @@ apheris-foundry workflows models --workflow predict --weight of3p2
|
|
|
279
293
|
# 2. Use a listed model and weight (rejected if not listed; never substituted)
|
|
280
294
|
apheris-foundry workflows run --workflow predict --input request.json --model openfold3 --weight of3p2
|
|
281
295
|
# 3. Make a fine-tuned checkpoint available: private, or --public for everyone on this Hub
|
|
282
|
-
apheris-foundry weights
|
|
296
|
+
apheris-foundry weights enable --name my-kinase-ft --run-id <finetune-job-id> --path <checkpoint-path> --tag kinase
|
|
283
297
|
# 4. It now appears as a weight in step 1; manage it by ID
|
|
284
298
|
apheris-foundry weights list
|
|
285
299
|
apheris-foundry weights delete --id <weight-id> --yes
|
|
@@ -329,7 +343,7 @@ the metadata change notification.
|
|
|
329
343
|
| `apheris-foundry workflows docs --workflow <id>` | Read the workflow's documentation, as its package ships it (`--json` includes the content digest) |
|
|
330
344
|
| `apheris-foundry workflows models --workflow <id> [--capability <name>]` | List models, weights and defaults advertised by Hub (`--json` includes full metadata) |
|
|
331
345
|
| `apheris-foundry workflows graph --workflow <id>` | Show the workflow DAG |
|
|
332
|
-
| `apheris-foundry workflows run --workflow <id> [--name <name>] [--model-params <JSON\|@file>]` | Submit a workflow run with Hub-schema-validated model parameters |
|
|
346
|
+
| `apheris-foundry workflows run --workflow <id> [--name <name>] [--tag <tag> ...] [--model-params <JSON\|@file>]` | Submit a workflow run with optional name/tags and Hub-schema-validated model parameters |
|
|
333
347
|
|
|
334
348
|
### Run instances (`runs`)
|
|
335
349
|
|
|
@@ -383,13 +397,13 @@ Contact [support@apheris.com](mailto:support@apheris.com) for access and deploym
|
|
|
383
397
|
|
|
384
398
|
### Model weights (`weights`)
|
|
385
399
|
|
|
386
|
-
`weights` manages weights
|
|
400
|
+
`weights` manages weights enabled from completed jobs: enable, list, inspect,
|
|
387
401
|
rename or relabel, share and delete. Every command accepts `--json`, which
|
|
388
402
|
prints Hub's response unchanged.
|
|
389
403
|
|
|
390
404
|
```sh
|
|
391
|
-
# 1.
|
|
392
|
-
apheris-foundry weights
|
|
405
|
+
# 1. Enable weights from a job artifact (private by default)
|
|
406
|
+
apheris-foundry weights enable --name <unique-name> --run-id <job-id> --path <run-relative-bundle-directory> --tag trial --json
|
|
393
407
|
# 2. Label or rename it; --tag replaces the whole tag set, --clear-tags removes it
|
|
394
408
|
apheris-foundry weights update --id <weight-id> --tag trial --tag benchmark --name <new-name>
|
|
395
409
|
# 3. Find and inspect it
|
|
@@ -403,6 +417,10 @@ apheris-foundry weights delete --id <weight-id> --yes
|
|
|
403
417
|
apheris-foundry weights delete --id <weight-id> --delete-files --yes
|
|
404
418
|
```
|
|
405
419
|
|
|
420
|
+
`weights enable` matches the UI’s “Enable weights” action and replaces
|
|
421
|
+
`weights deploy`. Update existing scripts to use `weights enable`; the old
|
|
422
|
+
command is no longer supported. The Hub API endpoint remains `/api/v1/weights/deploy`.
|
|
423
|
+
|
|
406
424
|
`weights list` lists your weights plus weights other users shared. Filter with
|
|
407
425
|
`--run-id`, `--model`, `--version`, `--task` or repeated `--tag` (a weight must
|
|
408
426
|
carry every tag). `--model` and `--version` together also include the model's
|
|
@@ -414,7 +432,7 @@ report visibility (`isPublic`) and deletion (`isDeleted`) separately.
|
|
|
414
432
|
`weights get --id` shows one weight in full, including its producing job,
|
|
415
433
|
lineage and who shared it when.
|
|
416
434
|
|
|
417
|
-
`weights
|
|
435
|
+
`weights enable` registers a job artifact through Hub; it does not upload local
|
|
418
436
|
weights or start prediction. `--name` is required: use an instance-wide unique
|
|
419
437
|
name of 1–255 characters after trimming whitespace, without control characters.
|
|
420
438
|
Names are case-sensitive and must be unique among active weights; deleting a
|
|
@@ -423,14 +441,14 @@ is separate metadata and does not replace the name. Use the path shown by
|
|
|
423
441
|
`jobs get`, including the complete directory for AQCell bundles. Optional
|
|
424
442
|
`--task`, `--description`, `--derived-from`, repeated `--capability` and
|
|
425
443
|
repeated `--tag` values accompany the request; Hub derives and validates model
|
|
426
|
-
identity and ownership. `--dry-run true weights
|
|
444
|
+
identity and ownership. `--dry-run true weights enable ...` prints the request
|
|
427
445
|
without submission. Verify selection in the target workflow's model catalog
|
|
428
446
|
before reuse.
|
|
429
447
|
|
|
430
|
-
**Sharing.**
|
|
448
|
+
**Sharing.** Enabled weights are private. `--public` shares a weight with every
|
|
431
449
|
authenticated user of this Hub; they can list, inspect and run with it, but only
|
|
432
|
-
the owner can update or delete it. Hub fixes visibility
|
|
433
|
-
sharing a weight, delete it, and
|
|
450
|
+
the owner can update or delete it. Hub fixes visibility when enabling: to stop
|
|
451
|
+
sharing a weight, delete it, and enable under a new name if you still need a
|
|
434
452
|
private copy. Mutating a weight you do not own fails with "Only the owner can
|
|
435
453
|
update or delete a weight".
|
|
436
454
|
|
|
@@ -446,8 +464,8 @@ remain; retry after the jobs finish. JSON success reports `cleanup: "removed"`
|
|
|
446
464
|
when deleting files and `cleanup: "deferred"` for soft deletion; deferred
|
|
447
465
|
cleanup requires an explicit `--delete-files` request.
|
|
448
466
|
|
|
449
|
-
Hub copies
|
|
450
|
-
producing job (`jobs delete`) retains its
|
|
467
|
+
Hub copies enabled checkpoints into independent storage, so deleting the
|
|
468
|
+
producing job (`jobs delete`) retains its enabled weights, including shared
|
|
451
469
|
ones. These storage semantics and file removal require a Hub containing
|
|
452
470
|
[hub#3142](https://github.com/apheris/hub/pull/3142). Older Hubs may ignore the
|
|
453
471
|
file-removal request; upgrade Hub before using this option.
|
|
@@ -455,15 +473,15 @@ file-removal request; upgrade Hub before using this option.
|
|
|
455
473
|
record. The delete preview includes `deleteFiles`; it does not check active
|
|
456
474
|
jobs or remove files.
|
|
457
475
|
|
|
458
|
-
CLI
|
|
459
|
-
|
|
460
|
-
|
|
476
|
+
Use a CLI release that supports `weights enable --name`. Upgrade if this
|
|
477
|
+
command is unavailable; adding `--description` does not replace the required
|
|
478
|
+
weight name.
|
|
461
479
|
|
|
462
480
|
Some workflows accept checkpoint files directly. Read the active workflow's
|
|
463
|
-
skill before
|
|
481
|
+
skill before enabling weights: `affinity-predict-from-embeddings` documents uploading
|
|
464
482
|
the selected affinity-head checkpoint as `checkpoint.ckpt` alongside
|
|
465
483
|
`test_queries.yaml` (or JSON), referenced MSAs and optional labels. That route
|
|
466
|
-
does not require catalog
|
|
484
|
+
does not require enabling weights in the catalog or `--weight`. Its `of3Checkpoint` parameter
|
|
467
485
|
selects the separate OpenFold3 trunk, not the affinity head. Report prediction
|
|
468
486
|
submission/completion separately from weight registration.
|
|
469
487
|
|
{apheris_foundry_cli-1.0.0 → apheris_foundry_cli-2.0.0}/src/apherisfold_cli/commands/foundry.py
RENAMED
|
@@ -47,7 +47,6 @@ _LOG_KINDS = {"steps", "engine", "run", "debug", "cmd"}
|
|
|
47
47
|
_GENERIC_KUBERNETES_ERRORS = {
|
|
48
48
|
"job has reached the specified backoff limit",
|
|
49
49
|
}
|
|
50
|
-
_GENERIC_INPUT_STEMS = {"input", "request", "data", "query", "queries", "cif", "json"}
|
|
51
50
|
_TERMINAL_STEP_STATUSES = {"COMPLETED", "CACHED", "FAILED", "ERROR", "ABORTED", "CANCELLED"}
|
|
52
51
|
|
|
53
52
|
|
|
@@ -56,70 +55,26 @@ _TERMINAL_STEP_STATUSES = {"COMPLETED", "CACHED", "FAILED", "ERROR", "ABORTED",
|
|
|
56
55
|
# ---------------------------------------------------------------------------
|
|
57
56
|
|
|
58
57
|
|
|
59
|
-
def _run_query_names(run: dict[str, Any]) -> list[str]:
|
|
60
|
-
"""Extract query names — from metadata outputs when available, input artifact otherwise."""
|
|
61
|
-
observability = run.get("observability") if isinstance(run.get("observability"), dict) else {}
|
|
62
|
-
outputs = observability.get("outputs") if isinstance(observability.get("outputs"), list) else []
|
|
63
|
-
names: list[str] = []
|
|
64
|
-
seen: set[str] = set()
|
|
65
|
-
for a in outputs:
|
|
66
|
-
if not isinstance(a, dict) or str(a.get("type", "")) != "metadata":
|
|
67
|
-
continue
|
|
68
|
-
stem = Path(str(a.get("path", ""))).stem # e.g. mcl1_lig1_sample_1
|
|
69
|
-
query = re.sub(r"_sample_\d+$", "", stem)
|
|
70
|
-
if query and query not in seen:
|
|
71
|
-
seen.add(query)
|
|
72
|
-
names.append(query)
|
|
73
|
-
if names:
|
|
74
|
-
return names
|
|
75
|
-
# Fall back to the staged input artifact name (always present, even on failed runs).
|
|
76
|
-
for a in outputs:
|
|
77
|
-
if not isinstance(a, dict) or str(a.get("type", "")) != "input":
|
|
78
|
-
continue
|
|
79
|
-
stem = Path(str(a.get("path", ""))).stem
|
|
80
|
-
if stem and stem.lower() not in _GENERIC_INPUT_STEMS:
|
|
81
|
-
return [stem]
|
|
82
|
-
return _run_query_names_from_params(run)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
def _run_query_names_from_params(run: dict[str, Any]) -> list[str]:
|
|
86
|
-
"""Extract query names from run params — works for runs that never produced metadata outputs.
|
|
87
|
-
|
|
88
|
-
Foundry input uploads are staged as files. Generic filenames such as
|
|
89
|
-
"request.json" and "input.cif" are filtered out; only non-generic names
|
|
90
|
-
(e.g. "ubiquitin.cif", "mcl1_lig1.json") yield a useful display name here.
|
|
91
|
-
"""
|
|
92
|
-
params = run.get("params")
|
|
93
|
-
if not isinstance(params, dict):
|
|
94
|
-
return []
|
|
95
|
-
for key in ("cifSubpath", "requestSubpath", "cifName"):
|
|
96
|
-
raw = str(params.get(key) or "").strip()
|
|
97
|
-
if raw:
|
|
98
|
-
stem = Path(raw).stem
|
|
99
|
-
if stem and stem.lower() not in _GENERIC_INPUT_STEMS:
|
|
100
|
-
return [stem]
|
|
101
|
-
return []
|
|
102
|
-
|
|
103
|
-
|
|
104
58
|
def _run_table(runs: list[dict[str, Any]], *, show_workflow: bool = False) -> Table:
|
|
105
59
|
table = Table(box=box.SIMPLE_HEAD, show_header=True, padding=(0, 1), expand=True)
|
|
106
|
-
table.add_column("ID",
|
|
107
|
-
table.add_column("NAME
|
|
60
|
+
table.add_column("ID", overflow="fold", min_width=8)
|
|
61
|
+
table.add_column("NAME", overflow="fold", min_width=4, max_width=30)
|
|
62
|
+
table.add_column("TAGS", overflow="fold", min_width=4, max_width=30)
|
|
108
63
|
if show_workflow:
|
|
109
|
-
table.add_column("WORKFLOW",
|
|
110
|
-
table.add_column("MODEL",
|
|
111
|
-
table.add_column("WEIGHT",
|
|
112
|
-
table.add_column("STATUS",
|
|
113
|
-
table.add_column("STEP",
|
|
114
|
-
table.add_column("DURATION",
|
|
115
|
-
table.add_column("CREATED",
|
|
64
|
+
table.add_column("WORKFLOW", max_width=18)
|
|
65
|
+
table.add_column("MODEL", overflow="ellipsis", min_width=4, max_width=16)
|
|
66
|
+
table.add_column("WEIGHT", overflow="ellipsis", min_width=4, max_width=18)
|
|
67
|
+
table.add_column("STATUS", max_width=7)
|
|
68
|
+
table.add_column("STEP", overflow="ellipsis", max_width=16)
|
|
69
|
+
table.add_column("DURATION", justify="right", max_width=6)
|
|
70
|
+
table.add_column("CREATED", max_width=10)
|
|
116
71
|
for run in runs:
|
|
117
72
|
status = str(run.get("status", ""))
|
|
118
73
|
style = "green" if status == "succeeded" else ("red" if status in {"failed", "cancelled"} else "yellow")
|
|
119
|
-
input_cell = Text(_run_input_tags_display(run), overflow="ellipsis")
|
|
120
74
|
row = [
|
|
121
75
|
Text(str(run.get("id", "")), style="bold cyan"),
|
|
122
|
-
|
|
76
|
+
Text(str(run.get("name") or "—")),
|
|
77
|
+
Text(_run_tags_display(run)),
|
|
123
78
|
]
|
|
124
79
|
if show_workflow:
|
|
125
80
|
row.append(str(run.get("workflow", "")))
|
|
@@ -136,42 +91,9 @@ def _run_table(runs: list[dict[str, Any]], *, show_workflow: bool = False) -> Ta
|
|
|
136
91
|
return table
|
|
137
92
|
|
|
138
93
|
|
|
139
|
-
def
|
|
94
|
+
def _run_tags_display(run: dict[str, Any]) -> str:
|
|
140
95
|
tags = run.get("tags") if isinstance(run.get("tags"), list) else []
|
|
141
|
-
|
|
142
|
-
name = str(run.get("name") or "").strip()
|
|
143
|
-
|
|
144
|
-
# Once a user has supplied tags, make the list cell useful for identifying
|
|
145
|
-
# that run: show the explicit name (when present) and the tags. Query/model
|
|
146
|
-
# fallbacks can otherwise consume the narrow column and hide the tags.
|
|
147
|
-
if tag_names:
|
|
148
|
-
display_parts = [name] if name else []
|
|
149
|
-
display_parts.append(", ".join(tag_names))
|
|
150
|
-
return " | ".join(display_parts)
|
|
151
|
-
|
|
152
|
-
query_names = _run_query_names(run)
|
|
153
|
-
params = run.get("params") if isinstance(run.get("params"), dict) else {}
|
|
154
|
-
model = str(params.get("model") or "").strip()
|
|
155
|
-
parts: list[str] = []
|
|
156
|
-
if name:
|
|
157
|
-
parts.append(name)
|
|
158
|
-
if query_names:
|
|
159
|
-
parts.append(", ".join(query_names))
|
|
160
|
-
if model:
|
|
161
|
-
parts.append(model)
|
|
162
|
-
return " | ".join(parts)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
def _dedupe_display_parts(values: Iterable[str]) -> list[str]:
|
|
166
|
-
seen: set[str] = set()
|
|
167
|
-
parts: list[str] = []
|
|
168
|
-
for value in values:
|
|
169
|
-
item = value.strip()
|
|
170
|
-
if not item or item in seen:
|
|
171
|
-
continue
|
|
172
|
-
seen.add(item)
|
|
173
|
-
parts.append(item)
|
|
174
|
-
return parts
|
|
96
|
+
return ", ".join(str(tag) for tag in tags) or "—"
|
|
175
97
|
|
|
176
98
|
|
|
177
99
|
def _workflow_graph_renderable(workflow: dict[str, Any]) -> Group:
|
|
@@ -425,7 +347,9 @@ def _run_detail_renderable(
|
|
|
425
347
|
detail = Table(box=box.SIMPLE_HEAD, show_header=True, padding=(0, 1), expand=False)
|
|
426
348
|
detail.add_column("FIELD", style="bold", no_wrap=True)
|
|
427
349
|
detail.add_column("VALUE", overflow="fold")
|
|
428
|
-
detail.add_row("RUN ID", str(run.get("id", "")))
|
|
350
|
+
detail.add_row("RUN ID", Text(str(run.get("id", ""))))
|
|
351
|
+
detail.add_row("NAME", Text(str(run.get("name") or "—")))
|
|
352
|
+
detail.add_row("TAGS", Text(_run_tags_display(run)))
|
|
429
353
|
detail.add_row("WORKFLOW", str(run.get("workflow", "")))
|
|
430
354
|
steps = _step_display_names(run)
|
|
431
355
|
if steps:
|