envloop-cli 2.1.0__py3-none-any.whl → 2.2.0__py3-none-any.whl
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.
- envloop/cli_errors.py +1 -1
- envloop_asset/cli_output.py +2 -2
- envloop_asset/client.py +24 -20
- envloop_asset/recipe_packages.py +2 -2
- envloop_asset/resource_cli.py +6 -16
- envloop_asset/runner_packages.py +27 -4
- envloop_asset/transfer.py +3 -1
- {envloop_cli-2.1.0.dist-info → envloop_cli-2.2.0.dist-info}/METADATA +14 -27
- {envloop_cli-2.1.0.dist-info → envloop_cli-2.2.0.dist-info}/RECORD +11 -11
- {envloop_cli-2.1.0.dist-info → envloop_cli-2.2.0.dist-info}/WHEEL +0 -0
- {envloop_cli-2.1.0.dist-info → envloop_cli-2.2.0.dist-info}/entry_points.txt +0 -0
envloop/cli_errors.py
CHANGED
|
@@ -56,7 +56,7 @@ _register("RUNNER_PACKAGE_INVALID", "The Runner package directory is invalid. It
|
|
|
56
56
|
_register("RUNNER_REVISION_INVALID", "Use the full lowercase 40- or 64-character source commit, or a local branch or tag name, as --revision and a NAMESPACE/NAME Runner name.")
|
|
57
57
|
_register("RUNNER_REVISION_UNRESOLVED", "--revision names no local branch or tag in the Git checkout that holds DIRECTORY, or Git is unavailable. Fetch or create the branch, or pass the full source commit.")
|
|
58
58
|
_register("RUNNER_PACKAGE_UNCOMMITTED", "DIRECTORY differs from the --revision commit: it has uncommitted changes, untracked files or ignored files, all of which would be published. Commit or remove them, or pass a full commit you vouch for.")
|
|
59
|
-
_register("
|
|
59
|
+
_register("RUNNER_COMMIT_METADATA_INVALID", "Git author and message must be single-line text of at most 256 and 4096 characters, respectively.")
|
|
60
60
|
_register("RUNNER_REVISION_CONFLICT", "The platform catalog holds different package or index hashes for this Runner revision. Publish a new revision instead of changing an existing one.")
|
|
61
61
|
_register("RECIPE_PACKAGE_INVALID RECIPE_DECLARATION_INVALID RECIPE_INVALID", "--directory must hold recipe.toml with schema_version = \"envloop.recipe/v3\" and the tables [recipe] name, types; [runner] name, abi; [source] paths, optional exclude and optional repository (a https://github.com/OWNER/REPO URL if given; omit it for a local-only repository); optional [inputs], [params], [outputs] and [dependencies]. No other top-level tables or keys are allowed.")
|
|
62
62
|
_register("RECIPE_PACKAGE_SCHEMA_RETIRED", "recipe.toml uses the retired envloop.recipe-publication/v3 format. Rewrite it as schema_version = \"envloop.recipe/v3\" with [recipe], [runner] and [source] tables and add entrypoint.sh next to it; published Recipes stay readable.")
|
envloop_asset/cli_output.py
CHANGED
|
@@ -46,8 +46,8 @@ def list_layout(items: list[dict[str, Any]], args: argparse.Namespace) -> tuple[
|
|
|
46
46
|
# Like el dataset list: STATUS / UNAVAILABLE REASON appear when the page reports them, so a
|
|
47
47
|
# Revision that differs between shared copies (RUNNER_REVISION_AMBIGUOUS) is visible in the table.
|
|
48
48
|
states = tuple(field for field in ('status', 'unavailable_reason') if any(field in item for item in items))
|
|
49
|
-
headers = ('NAME', 'REVISION', '
|
|
50
|
-
render = lambda item: (item.get('name'), item.get('revision'), item.get('
|
|
49
|
+
headers = ('NAME', 'REVISION', 'AUTHOR', 'MESSAGE', 'VISIBILITY', *(field.replace('_', ' ').upper() for field in states), *LIFECYCLE)
|
|
50
|
+
render = lambda item: (item.get('name'), item.get('revision'), item.get('author'), item.get('message'),
|
|
51
51
|
item.get('visibility'), *(item.get(field) for field in states), *lifecycle(item))
|
|
52
52
|
empty = 'No runners found.'
|
|
53
53
|
elif args.group == 'dataset' and args.action == 'list':
|
envloop_asset/client.py
CHANGED
|
@@ -281,32 +281,29 @@ class Runners:
|
|
|
281
281
|
from .execution_content import ExecutionContent
|
|
282
282
|
return download_content(ExecutionContent(self._server,'runner'),ref,output,file_id=file_id,**selection)
|
|
283
283
|
|
|
284
|
-
def create(self, directory: str | Path, *, revision: str, name: str | None = None,
|
|
285
|
-
executables: Sequence[str] | None = None,
|
|
286
|
-
source_ref_kind: str = 'branch', dry_run: bool = False):
|
|
284
|
+
def create(self, directory: str | Path, *, revision: str = 'main', name: str | None = None,
|
|
285
|
+
executables: Sequence[str] | None = None, dry_run: bool = False):
|
|
287
286
|
"""Create an immutable Runner revision from a local package directory."""
|
|
288
287
|
return self._publish(directory, revision=revision, name=name, executables=executables,
|
|
289
|
-
|
|
288
|
+
dry_run=dry_run)
|
|
290
289
|
|
|
291
|
-
def update(self, asset_id: str, directory: str | Path, *, revision: str, name: str | None = None,
|
|
292
|
-
executables: Sequence[str] | None = None,
|
|
293
|
-
source_ref_kind: str = 'branch', dry_run: bool = False):
|
|
290
|
+
def update(self, asset_id: str, directory: str | Path, *, revision: str = 'main', name: str | None = None,
|
|
291
|
+
executables: Sequence[str] | None = None, dry_run: bool = False):
|
|
294
292
|
"""Publish a new immutable revision of the same Runner, preserving historical bytes."""
|
|
295
293
|
return self._publish(directory, revision=revision, name=name, executables=executables,
|
|
296
|
-
|
|
294
|
+
dry_run=dry_run, asset_id=asset_id)
|
|
297
295
|
|
|
298
296
|
def _publish(self, directory: str | Path, *, revision: str, name: str | None = None,
|
|
299
|
-
executables: Sequence[str] | None = None,
|
|
300
|
-
source_ref_kind: str = 'branch', dry_run: bool = False, asset_id: str | None = None):
|
|
297
|
+
executables: Sequence[str] | None = None, dry_run: bool = False, asset_id: str | None = None):
|
|
301
298
|
"""Publish a Runner package directory as the immutable revision NAME@REVISION.
|
|
302
299
|
|
|
303
300
|
This is the Runner domain publication API with the native manifest built
|
|
304
301
|
from `directory` (runner.toml plus its main.py or main.sh entrypoint): the
|
|
305
302
|
platform stores the bytes, derives the package and index SHA-256, creates the
|
|
306
303
|
Runner asset on first use and registers the revision. `revision` is the full
|
|
307
|
-
source commit
|
|
308
|
-
|
|
309
|
-
|
|
304
|
+
source commit or a local branch/tag, resolved once to its full commit. Branch
|
|
305
|
+
and tag names remain selectable after registration. Author and message
|
|
306
|
+
come from this commit; a detached package leaves unknown metadata empty. Returns `{'asset': publication, 'runner': catalog revision}`; a dry run
|
|
310
307
|
returns the server's validation result without publishing.
|
|
311
308
|
"""
|
|
312
309
|
from envloop.http import RemoteError
|
|
@@ -314,15 +311,22 @@ class Runners:
|
|
|
314
311
|
from envloop_asset.runner_packages import (
|
|
315
312
|
REFERENCE_KEYS,
|
|
316
313
|
REVISION,
|
|
317
|
-
|
|
314
|
+
commit_metadata,
|
|
315
|
+
resolve_source_revision,
|
|
318
316
|
runner_package,
|
|
319
|
-
source_ref_valid,
|
|
320
317
|
)
|
|
321
318
|
|
|
322
|
-
if not isinstance(revision, str) or
|
|
319
|
+
if not isinstance(revision, str) or name is not None and not isinstance(name, str):
|
|
323
320
|
raise RemoteError('RUNNER_REVISION_INVALID')
|
|
324
|
-
|
|
325
|
-
|
|
321
|
+
requested_revision = None
|
|
322
|
+
if not REVISION.fullmatch(revision):
|
|
323
|
+
if len(revision) >= 40 and all(character in '0123456789abcdefABCDEF' for character in revision):
|
|
324
|
+
raise RemoteError('RUNNER_REVISION_INVALID')
|
|
325
|
+
selected = revision
|
|
326
|
+
revision, kind = resolve_source_revision(directory, selected)
|
|
327
|
+
prefix = 'refs/heads/' if kind == 'branch' else 'refs/tags/'
|
|
328
|
+
requested_revision = selected if selected.startswith(prefix) else prefix + selected
|
|
329
|
+
metadata = commit_metadata(directory, revision)
|
|
326
330
|
name, manifest, files, executables = runner_package(directory, name=name, executables=executables)
|
|
327
331
|
ref = f'envloop://runners/{name}@{revision}'
|
|
328
332
|
data = ExecutionContent(self._server, 'runner')
|
|
@@ -339,11 +343,11 @@ class Runners:
|
|
|
339
343
|
or any(not isinstance(pinned.get(key), str) for key in REFERENCE_KEYS)):
|
|
340
344
|
raise RemoteError('INVALID_RESPONSE')
|
|
341
345
|
reference = {key: pinned[key] for key in REFERENCE_KEYS}
|
|
342
|
-
if
|
|
346
|
+
if requested_revision is None and not metadata:
|
|
343
347
|
runner = self._server.get_runner_revision(name, revision)
|
|
344
348
|
else:
|
|
345
349
|
runner = self._server.register_runner_revision(
|
|
346
|
-
name, {**reference,
|
|
350
|
+
name, {**reference, **metadata, **({'requested_revision': requested_revision} if requested_revision else {})})
|
|
347
351
|
# Both catalog views must name the same stored bytes.
|
|
348
352
|
if not isinstance(runner, dict) or any(runner.get(key) != value for key, value in reference.items()):
|
|
349
353
|
raise RemoteError('RUNNER_REVISION_CONFLICT')
|
envloop_asset/recipe_packages.py
CHANGED
|
@@ -12,7 +12,7 @@ from pathlib import Path
|
|
|
12
12
|
from typing import Any
|
|
13
13
|
|
|
14
14
|
from envloop.http import RemoteError
|
|
15
|
-
from envloop_asset.runner_packages import REVISION,
|
|
15
|
+
from envloop_asset.runner_packages import REVISION, revision_valid
|
|
16
16
|
|
|
17
17
|
DECLARATION = 'recipe.toml'
|
|
18
18
|
GIT_TIMEOUT = 60
|
|
@@ -56,7 +56,7 @@ class _Repository:
|
|
|
56
56
|
if found.returncode == 0 and found.stdout.decode().strip() == ref:
|
|
57
57
|
return ref, 'commit'
|
|
58
58
|
raise RemoteError('RECIPE_REVISION_UNRESOLVED')
|
|
59
|
-
if not
|
|
59
|
+
if not revision_valid(ref):
|
|
60
60
|
raise RemoteError('RECIPE_REVISION_INVALID')
|
|
61
61
|
for kind, prefix in (('branch', 'refs/heads/'), ('tag', 'refs/tags/')):
|
|
62
62
|
found = self.git('rev-parse', '--verify', '--quiet', f'{prefix}{ref}^{{commit}}')
|
envloop_asset/resource_cli.py
CHANGED
|
@@ -300,10 +300,6 @@ def runner_package_arguments(command: argparse.ArgumentParser):
|
|
|
300
300
|
command.add_argument('--name', help='NAMESPACE/NAME; must equal [runner] name in runner.toml (default: that name)')
|
|
301
301
|
command.add_argument('--executable', action='append', dest='executables', metavar='PATH',
|
|
302
302
|
help='Declare an executable file; repeat for each. Default: files with an execute bit')
|
|
303
|
-
command.add_argument('--source-ref', metavar='REF', help='Also point this branch or tag name (for example main) at the revision, '
|
|
304
|
-
'so NAME@REF resolves to it (default: the branch or tag given as --revision)')
|
|
305
|
-
command.add_argument('--source-ref-kind', choices=['branch', 'tag', 'commit'],
|
|
306
|
-
help='Kind of --source-ref (default: branch, or the kind of the --revision branch or tag)')
|
|
307
303
|
command.add_argument('--dry-run', action='store_true', help='Validate the package and authorization without publishing')
|
|
308
304
|
|
|
309
305
|
|
|
@@ -323,26 +319,20 @@ def publish_runner(client: Any, args: argparse.Namespace):
|
|
|
323
319
|
import sys
|
|
324
320
|
|
|
325
321
|
from envloop.http import RemoteError
|
|
326
|
-
from envloop_asset.runner_packages import REVISION
|
|
322
|
+
from envloop_asset.runner_packages import REVISION
|
|
327
323
|
|
|
328
|
-
revision, source_ref, source_ref_kind = args.revision, args.source_ref, args.source_ref_kind
|
|
329
|
-
if not REVISION.fullmatch(revision):
|
|
330
|
-
revision, kind = resolve_source_revision(args.directory, args.revision)
|
|
331
|
-
if source_ref is None:
|
|
332
|
-
source_ref, source_ref_kind = args.revision, kind
|
|
333
|
-
print(f'resolved {kind} {args.revision} to {revision}', file=sys.stderr)
|
|
334
324
|
try:
|
|
335
325
|
operation = client.runners.create if args.action == 'create' else client.runners.update
|
|
336
326
|
positional = (args.directory,) if args.action == 'create' else (args.asset_id, args.directory)
|
|
337
|
-
result = operation(*positional, revision=revision, name=args.name,
|
|
338
|
-
executables=args.executables,
|
|
339
|
-
source_ref_kind=source_ref_kind or 'branch', dry_run=args.dry_run)
|
|
327
|
+
result = operation(*positional, revision=args.revision, name=args.name,
|
|
328
|
+
executables=args.executables, dry_run=args.dry_run)
|
|
340
329
|
except RemoteError as error:
|
|
341
330
|
if error.code in {'ACCESS_DENIED', 'ASSET_ACCESS_REQUIRED'} and not error.hint:
|
|
342
331
|
error.hint = RUNNER_WRITE_HINT
|
|
343
332
|
raise
|
|
344
333
|
if not args.dry_run:
|
|
345
334
|
runner = result['runner']
|
|
346
|
-
|
|
347
|
-
|
|
335
|
+
if not REVISION.fullmatch(args.revision):
|
|
336
|
+
print(f'resolved revision {args.revision} to {runner["revision"]}', file=sys.stderr)
|
|
337
|
+
print(f"{'created' if args.action == 'create' else 'updated'} {runner['uri']} (package sha256 {runner['sha256']})", file=sys.stderr)
|
|
348
338
|
return result
|
envloop_asset/runner_packages.py
CHANGED
|
@@ -15,13 +15,12 @@ from envloop.http import RemoteError
|
|
|
15
15
|
NAME = re.compile(r'[a-zA-Z0-9][a-zA-Z0-9._-]*/[a-zA-Z0-9][a-zA-Z0-9._-]*')
|
|
16
16
|
REVISION = re.compile(r'[a-f0-9]{40}|[a-f0-9]{64}')
|
|
17
17
|
SEGMENT = re.compile(r'[A-Za-z0-9_][A-Za-z0-9_.-]*')
|
|
18
|
-
SOURCE_REF_KINDS = ('branch', 'tag', 'commit')
|
|
19
18
|
MAX_FILES = 100
|
|
20
19
|
MAX_BYTES = 8 * 1024 * 1024
|
|
21
20
|
REFERENCE_KEYS = ('uri', 'name', 'revision', 'sha256', 'index_sha256')
|
|
22
21
|
|
|
23
22
|
|
|
24
|
-
def
|
|
23
|
+
def revision_valid(value: Any) -> bool:
|
|
25
24
|
return (isinstance(value, str) and bool(value) and value not in ('HEAD', 'latest', 'default', 'release')
|
|
26
25
|
and not re.search(r'@\{|[~^:?*\[\\\s]', value) and '..' not in value and not value.startswith('-'))
|
|
27
26
|
|
|
@@ -88,7 +87,7 @@ def resolve_source_revision(directory: str | Path, ref: str) -> tuple[str, str]:
|
|
|
88
87
|
the bytes of that commit: tracked changes, untracked files and ignored files
|
|
89
88
|
are refused rather than published under the commit's name.
|
|
90
89
|
"""
|
|
91
|
-
if not
|
|
90
|
+
if not revision_valid(ref):
|
|
92
91
|
raise RemoteError('RUNNER_REVISION_INVALID')
|
|
93
92
|
root = Path(directory).absolute()
|
|
94
93
|
if root.is_symlink() or not root.is_dir():
|
|
@@ -101,7 +100,10 @@ def resolve_source_revision(directory: str | Path, ref: str) -> tuple[str, str]:
|
|
|
101
100
|
raise RemoteError('RUNNER_REVISION_UNRESOLVED') from None
|
|
102
101
|
|
|
103
102
|
for kind, prefix in (('branch', 'refs/heads/'), ('tag', 'refs/tags/')):
|
|
104
|
-
|
|
103
|
+
if ref.startswith(('refs/heads/', 'refs/tags/')) and not ref.startswith(prefix):
|
|
104
|
+
continue
|
|
105
|
+
selector = ref if ref.startswith(prefix) else prefix + ref
|
|
106
|
+
resolved = git('rev-parse', '--verify', '--quiet', f'{selector}^{{commit}}')
|
|
105
107
|
if resolved.returncode == 0 and REVISION.fullmatch(commit := resolved.stdout.strip()):
|
|
106
108
|
break
|
|
107
109
|
else:
|
|
@@ -111,3 +113,24 @@ def resolve_source_revision(directory: str | Path, ref: str) -> tuple[str, str]:
|
|
|
111
113
|
if changed.returncode != 0 or extra.returncode != 0 or extra.stdout.strip():
|
|
112
114
|
raise RemoteError('RUNNER_PACKAGE_UNCOMMITTED')
|
|
113
115
|
return commit, kind
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def commit_metadata(directory: str | Path, revision: str) -> dict[str, str]:
|
|
119
|
+
"""Read display metadata from the selected commit; a detached package has none."""
|
|
120
|
+
try:
|
|
121
|
+
result = subprocess.run(['git', '-C', str(Path(directory).absolute()), 'show', '--no-patch',
|
|
122
|
+
'--no-notes', '--format=%an%x00%s', revision, '--'],
|
|
123
|
+
capture_output=True, text=True, errors='replace', timeout=30)
|
|
124
|
+
except (OSError, subprocess.TimeoutExpired):
|
|
125
|
+
return {}
|
|
126
|
+
if result.returncode != 0:
|
|
127
|
+
return {}
|
|
128
|
+
values = result.stdout.rstrip('\n').split('\x00', 1)
|
|
129
|
+
if len(values) != 2:
|
|
130
|
+
return {}
|
|
131
|
+
metadata = dict(zip(('author', 'message'), values, strict=True))
|
|
132
|
+
for key, limit in (('author', 256), ('message', 4096)):
|
|
133
|
+
value = metadata[key]
|
|
134
|
+
if len(value) > limit or re.search(r'[\x00-\x1f\x7f]', value):
|
|
135
|
+
raise RemoteError('RUNNER_COMMIT_METADATA_INVALID')
|
|
136
|
+
return {key: value for key, value in metadata.items() if value.strip()}
|
envloop_asset/transfer.py
CHANGED
|
@@ -353,13 +353,15 @@ class AssetTransfer:
|
|
|
353
353
|
# keep one materialization coordinator. Older Hub readers are serial.
|
|
354
354
|
materialization_options: dict[str, Any] = (
|
|
355
355
|
{'max_workers': 1} if 'max_workers' in inspect.signature(download_directory).parameters else {})
|
|
356
|
+
materialization_options.update({'config': config} if config is not None else {})
|
|
357
|
+
materialization_options.update(task_selection)
|
|
356
358
|
materialize_started = time.perf_counter()
|
|
357
359
|
materialize_cpu_started = time.thread_time()
|
|
358
360
|
query_count = len(timings['queries'])
|
|
359
361
|
validation_before_materialize = timings['plan_validation_seconds']
|
|
360
362
|
try:
|
|
361
363
|
target = download_directory(plan, Path(destination), uri=uri, split=split, content_digest=content_digest, read_url=read,
|
|
362
|
-
**materialization_options
|
|
364
|
+
**materialization_options)
|
|
363
365
|
except (ANSError, InvalidManifest, ValueError, TypeError, KeyError):
|
|
364
366
|
raise RemoteError('ASSET_INTEGRITY_FAILED', 409) from None
|
|
365
367
|
finally:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: envloop-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: EnvLoop CLI and Python SDK for jobs, training, checkpoints and inference
|
|
5
5
|
Project-URL: Homepage, https://envloop.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.envloop.ai
|
|
@@ -10,7 +10,7 @@ Project-URL: Agent instructions, https://docs.envloop.ai/skill.md
|
|
|
10
10
|
Requires-Python: >=3.12
|
|
11
11
|
Provides-Extra: asset
|
|
12
12
|
Requires-Dist: boto3==1.44.3; extra == 'asset'
|
|
13
|
-
Requires-Dist: envloop-envhub==
|
|
13
|
+
Requires-Dist: envloop-envhub==2.2.0; extra == 'asset'
|
|
14
14
|
Provides-Extra: chat
|
|
15
15
|
Requires-Dist: openai==3.55.1; extra == 'chat'
|
|
16
16
|
Provides-Extra: default
|
|
@@ -26,30 +26,16 @@ commands are equivalent. The Python import package is `envloop`.
|
|
|
26
26
|
|
|
27
27
|
## Release compatibility
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
release. Check your installed `el --version` and `el COMMAND --help` before
|
|
33
|
-
following an example; the source package version alone does not identify
|
|
34
|
-
unreleased features.
|
|
35
|
-
|
|
36
|
-
| Unreleased source enhancement | Published 1.33.0 |
|
|
37
|
-
| --- | --- |
|
|
38
|
-
| `el job chat JOB_ID [PROMPT]` and the `chat` extra | not available |
|
|
39
|
-
| Explicit `--json` for `el runner get\|create\|update\|delete` | These commands already output JSON; omit `--json` |
|
|
40
|
-
| `el dataset create --format harbor --update-digests` | not available; set `[[tasks]] digest` values by hand |
|
|
41
|
-
| `el trial artifact download TRIAL_ID --output DIRECTORY` | positional `DIRECTORY` only |
|
|
42
|
-
|
|
43
|
-
Execution also requires a matching platform, project permissions and published
|
|
44
|
-
Runners; package installation alone does not establish those prerequisites. See the
|
|
29
|
+
Check your installed `el --version` and `el COMMAND --help` when following an
|
|
30
|
+
example. Upgrade an older installation with `uv tool upgrade envloop-cli`, or
|
|
31
|
+
`python -m pip install --upgrade envloop-cli` in your SDK environment. See the
|
|
45
32
|
[PyPI release history](https://pypi.org/project/envloop-cli/#history) for published versions.
|
|
46
33
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
available while waiting for a compatible platform release.
|
|
34
|
+
Job execution needs project permissions, readable published Runners and a
|
|
35
|
+
platform that supports the selected Profile and Runner formats. If the platform
|
|
36
|
+
rejects a format, ask your project administrator which published versions it
|
|
37
|
+
supports. Use `envloop-cli[chat]` for the Job chat examples below and
|
|
38
|
+
`envloop-cli[asset]` for ANS parsing and verified content transfers.
|
|
53
39
|
|
|
54
40
|
## Install
|
|
55
41
|
|
|
@@ -250,7 +236,7 @@ Failures include a code, readable explanation, HTTP status when available, and
|
|
|
250
236
|
recovery guidance without echoing arbitrary response bodies or credentials.
|
|
251
237
|
|
|
252
238
|
Bench/Sandbox Harbor Recipes accept `--harbor_env docker|process` with a canonical
|
|
253
|
-
JobSpec (`spec.schema = "envloop.job/
|
|
239
|
+
JobSpec (`spec.schema = "envloop.job/v2"`) or a named `--profile`:
|
|
254
240
|
|
|
255
241
|
```bash
|
|
256
242
|
el job submit --type sandbox --spec REQUEST.json --harbor_env process
|
|
@@ -411,8 +397,9 @@ ID is never substituted for a real asset ID. Use `RESOURCE upload get OPERATION_
|
|
|
411
397
|
only publication commit; there is no separate upload create command. Failed or timed-out operations
|
|
412
398
|
exit nonzero while preserving their safe receipt. Storage credentials are not printed.
|
|
413
399
|
|
|
414
|
-
Dataset downloads require an explicit split and accept
|
|
415
|
-
digest selectors.
|
|
400
|
+
Dataset downloads require an explicit split and accept content digest and paired task ID/tree
|
|
401
|
+
digest selectors. Directory downloads with an explicit config selector are currently unsupported
|
|
402
|
+
by the pinned ANS dependency. Downloads verify manifests, sizes, SHA-256, safe paths and executable bits. Use
|
|
416
403
|
`download REF --file-id FILE_ID --output FILE --resume` for a resumable single file. File selection
|
|
417
404
|
is separate from `get`; Profile uses a redacted `export` instead of a content download.
|
|
418
405
|
|
|
@@ -4,7 +4,7 @@ envloop/auth_cli.py,sha256=xxMxvsBeeIRht0fWaXSV7tstMKlCzqBBVBcXEvNpwGU,17874
|
|
|
4
4
|
envloop/auth_login.py,sha256=uOqPHqgzi0Y5eDMiZJH-EI_HxY55F9bRr8CoBb8OHfk,7231
|
|
5
5
|
envloop/auth_workspace.py,sha256=g92Dok4eSp6P-Du5qkwzZG4JDeSrdYTXJbn5WCzCFMo,14927
|
|
6
6
|
envloop/cli.py,sha256=aOgpG-JnBvjviBOizqgQQhm8by8EZvSJblNKebLhTVc,16165
|
|
7
|
-
envloop/cli_errors.py,sha256=
|
|
7
|
+
envloop/cli_errors.py,sha256=sXVeYa5LRuV4RsQE7vdoY5CHcTIwnAgEvVb9V_UiS_I,48330
|
|
8
8
|
envloop/cli_output.py,sha256=s5LwMHhDIbD6cqvmRYvIFTkgGehbUe4NJcmf6R-8BV0,6135
|
|
9
9
|
envloop/client.py,sha256=Bj0oY1NPPRWpf5IOnXmoWKIKPXusUsrMK-IXOwcEgME,3293
|
|
10
10
|
envloop/config.py,sha256=1Wr2lNdNNZzsQDPNGsk-TsnEUvDqOtocy9TgUpmOZO0,22494
|
|
@@ -23,8 +23,8 @@ envloop_asset/assets.py,sha256=12S_SP5GY-4Sf1dyBaFA_gHEUEwu8qq784yORC3YlG8,32127
|
|
|
23
23
|
envloop_asset/checkpoint_download.py,sha256=86pq8IXoJCEP6dVaLtgocp8b8rTyuEccK_ecOQLGiec,4622
|
|
24
24
|
envloop_asset/checkpoint_upload.py,sha256=BwvLDb862B15MJGjr1lTTu8H6GIyDN5wsVcyoD30WRA,5317
|
|
25
25
|
envloop_asset/cli.py,sha256=mISKgX1xz6UjSwP_4TQeOm89ugmcKctsZUC9DpWpcIw,3776
|
|
26
|
-
envloop_asset/cli_output.py,sha256=
|
|
27
|
-
envloop_asset/client.py,sha256=
|
|
26
|
+
envloop_asset/cli_output.py,sha256=XKw5LRuQdorldl2ifJr-R1FDRJbSD2vthGz9GhIWw_U,5637
|
|
27
|
+
envloop_asset/client.py,sha256=xuUdlMDB5NcBbECVgyMADg3zbDYu4s0S4RLQxgJwqLc,20461
|
|
28
28
|
envloop_asset/dataset_upload.py,sha256=G1lwQvqsqD5d-U80hYzCb83dvfPz73Yg4_7JKh3Mrys,19574
|
|
29
29
|
envloop_asset/direct_artifact.py,sha256=1564EPw64MbGiUfMGRFfqHvyocxwA0gx1V5lhaH-jhM,10774
|
|
30
30
|
envloop_asset/direct_checkpoint.py,sha256=sL00wpBfax75G5hYzwJimZ4hE2BeRbpOUntzWEoM9Yw,8718
|
|
@@ -38,12 +38,12 @@ envloop_asset/profile_updates.py,sha256=M0KWqznDY6-MPPfjGNeL4FVTR86_yCRq6OyUJc-t
|
|
|
38
38
|
envloop_asset/publication_cli.py,sha256=Ey9e8IxobZyHbYHKB_a5fucYXXZFWjYY4ZpuFdG9gm0,3709
|
|
39
39
|
envloop_asset/publications.py,sha256=Xn794hX1n7nHwqQJzOzlmFFgIlA9h1XNDRAm5DZiBJM,9183
|
|
40
40
|
envloop_asset/r2_upload.py,sha256=m-L1Z7L7fQvJNVA9pGzwSGGOTv1_COC5OVSjUIQfxMU,1605
|
|
41
|
-
envloop_asset/recipe_packages.py,sha256=
|
|
41
|
+
envloop_asset/recipe_packages.py,sha256=HA7RT2T6Lt94cl5_4ye3wPxxQd8lCo2_HdAeuq3yQvQ,5957
|
|
42
42
|
envloop_asset/recipes.py,sha256=We2TZWdRl-ialV-uLFvUSvJng9P2HGquqGtqKYKllgs,1442
|
|
43
|
-
envloop_asset/resource_cli.py,sha256=
|
|
44
|
-
envloop_asset/runner_packages.py,sha256=
|
|
43
|
+
envloop_asset/resource_cli.py,sha256=B6re9EjNy90m2RGMv3nYnYrXdMsGohqSOfzVEY_6e6E,20041
|
|
44
|
+
envloop_asset/runner_packages.py,sha256=ve4UIUBBxoJ6h7LOSpiP6Tox00nak2v6K95hZ0VqvVM,6639
|
|
45
45
|
envloop_asset/tags.py,sha256=wFP0Rg-avOmYkpyYqNGdJrnGreHEli-O5_eH9Liat6c,2016
|
|
46
|
-
envloop_asset/transfer.py,sha256=
|
|
46
|
+
envloop_asset/transfer.py,sha256=sXK6kHwI5587OUo3GrFqS7TRpJTR7ytoAxHTIF4OIDk,53233
|
|
47
47
|
envloop_asset/upload_strategy.py,sha256=RP-mNtM4yHQ0YmwocsTKD7MOS2asCoWnI44AtCI9LVw,605
|
|
48
48
|
envloop_chat/__init__.py,sha256=pEW8SHBlrQr2_9UFm45unSUg-GP6rY04V3O27bspOuQ,75
|
|
49
49
|
envloop_chat/cli.py,sha256=aUoflpsBWl-U4vrzZP4xsZrvc0md-zuSsCB6APeIk8Q,5783
|
|
@@ -75,7 +75,7 @@ envloop_rsi_loop/cli.py,sha256=egat_Keygh9V1VAYgfEmqBKDmntCWe7ES_SFjhh26Yg,4102
|
|
|
75
75
|
envloop_rsi_loop/cli_output.py,sha256=o5XzAkcddBOZ2h_AQ-pUPqJIWUOIMfZPWaPxqm0AtUM,4840
|
|
76
76
|
envloop_rsi_loop/loop_cli.py,sha256=V_LEyWTsps2G1UNuMiWhrDDRdO0H4Z1bXGuWsYTOo0c,4491
|
|
77
77
|
envloop_rsi_loop/loops.py,sha256=MGVe3uXxGlnzT_Sc7OHU97kyYA_FSFpXIUtlpXQ8ha0,8924
|
|
78
|
-
envloop_cli-2.
|
|
79
|
-
envloop_cli-2.
|
|
80
|
-
envloop_cli-2.
|
|
81
|
-
envloop_cli-2.
|
|
78
|
+
envloop_cli-2.2.0.dist-info/METADATA,sha256=GUCA421BzfUTdOAe4-JZgMG2Oe8efr_xa_M_YDroQao,21966
|
|
79
|
+
envloop_cli-2.2.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
80
|
+
envloop_cli-2.2.0.dist-info/entry_points.txt,sha256=8aXOpgtVk4GndhChA4XNecShkb1w0xGHBHrKla78ofI,67
|
|
81
|
+
envloop_cli-2.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|