veris-cli 2.25.2__tar.gz → 2.26.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.
- {veris_cli-2.25.2 → veris_cli-2.26.0}/PKG-INFO +2 -2
- {veris_cli-2.25.2 → veris_cli-2.26.0}/README.md +1 -1
- {veris_cli-2.25.2 → veris_cli-2.26.0}/pyproject.toml +1 -1
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/env.py +4 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/scripts/docker_build.sh +11 -8
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/templates.py +4 -4
- {veris_cli-2.25.2 → veris_cli-2.26.0}/.gitignore +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/__init__.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/api.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/build_context.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/cli.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/__init__.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/_helpers.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/auth.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/evaluations.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/profile.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/reports.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/run.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/scenarios.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/commands/simulations.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/config.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/output.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/prompts.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/run_output.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/scripts/__init__.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/scripts/docker_push.sh +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/searchable_checkbox.py +0 -0
- {veris_cli-2.25.2 → veris_cli-2.26.0}/src/veris_cli/veris_yaml.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: veris-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.26.0
|
|
4
4
|
Summary: CLI to connect local agents to the Veris backend
|
|
5
5
|
Project-URL: Homepage, https://github.com/veris-ai/veris-cli
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/veris-ai/veris-cli/issues
|
|
@@ -356,7 +356,7 @@ my-cool-agent-env:
|
|
|
356
356
|
entry_point: uv run app
|
|
357
357
|
port: 8008
|
|
358
358
|
environment:
|
|
359
|
-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/
|
|
359
|
+
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/veris
|
|
360
360
|
```
|
|
361
361
|
|
|
362
362
|
When only one target is defined, all commands auto-select it.
|
|
@@ -332,7 +332,7 @@ my-cool-agent-env:
|
|
|
332
332
|
entry_point: uv run app
|
|
333
333
|
port: 8008
|
|
334
334
|
environment:
|
|
335
|
-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/
|
|
335
|
+
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/veris
|
|
336
336
|
```
|
|
337
337
|
|
|
338
338
|
When only one target is defined, all commands auto-select it.
|
|
@@ -118,6 +118,10 @@ def _env_push_local(
|
|
|
118
118
|
"-f",
|
|
119
119
|
dockerfile,
|
|
120
120
|
"--build-arg",
|
|
121
|
+
f"VERIS_BASE={base_image}",
|
|
122
|
+
# Also send the legacy name so Dockerfiles still using
|
|
123
|
+
# ARG GVISOR_BASE keep building during the rename period.
|
|
124
|
+
"--build-arg",
|
|
121
125
|
f"GVISOR_BASE={base_image}",
|
|
122
126
|
"-t",
|
|
123
127
|
image_uri,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
4
|
# Docker build script for Veris CLI
|
|
5
|
-
# Usage: docker_build.sh <dockerfile_path> <image_uri> <registry> <username> <password> [no_cache] [
|
|
5
|
+
# Usage: docker_build.sh <dockerfile_path> <image_uri> <registry> <username> <password> [no_cache] [veris_base]
|
|
6
6
|
|
|
7
7
|
DOCKERFILE_PATH="$1"
|
|
8
8
|
IMAGE_URI="$2"
|
|
@@ -10,7 +10,7 @@ REGISTRY="$3"
|
|
|
10
10
|
USERNAME="$4"
|
|
11
11
|
PASSWORD="$5"
|
|
12
12
|
NO_CACHE="${6:-0}" # Optional, defaults to 0 (use cache)
|
|
13
|
-
|
|
13
|
+
VERIS_BASE="$7" # Optional, overrides VERIS_BASE build arg
|
|
14
14
|
|
|
15
15
|
if [ -z "$DOCKERFILE_PATH" ] || [ -z "$IMAGE_URI" ] || [ -z "$REGISTRY" ] || [ -z "$USERNAME" ] || [ -z "$PASSWORD" ]; then
|
|
16
16
|
echo "Usage: $0 <dockerfile_path> <image_uri> <registry> <username> <password> [no_cache]"
|
|
@@ -49,13 +49,13 @@ echo " Registry: $REGISTRY"
|
|
|
49
49
|
echo ""
|
|
50
50
|
echo "$PASSWORD" | docker login -u "$USERNAME" --password-stdin "$REGISTRY"
|
|
51
51
|
|
|
52
|
-
if [ -n "$
|
|
52
|
+
if [ -n "$VERIS_BASE" ] && ! grep -qE 'ARG (VERIS_BASE|GVISOR_BASE)' "$DOCKERFILE_PATH"; then
|
|
53
53
|
echo ""
|
|
54
|
-
echo "ERROR: Dockerfile is missing 'ARG
|
|
54
|
+
echo "ERROR: Dockerfile is missing 'ARG VERIS_BASE' declaration."
|
|
55
55
|
echo "The base image cannot be overridden without it. Replace your FROM line with:"
|
|
56
56
|
echo ""
|
|
57
|
-
echo " ARG
|
|
58
|
-
echo " FROM \${
|
|
57
|
+
echo " ARG VERIS_BASE"
|
|
58
|
+
echo " FROM \${VERIS_BASE}"
|
|
59
59
|
echo ""
|
|
60
60
|
exit 1
|
|
61
61
|
fi
|
|
@@ -72,8 +72,11 @@ echo ""
|
|
|
72
72
|
# FROM images via registry metadata, failing for local-only base images
|
|
73
73
|
# (e.g. veris-gvisor:latest built by build-local.sh).
|
|
74
74
|
BUILD_ARGS="--platform linux/amd64 -f $DOCKERFILE_PATH -t $IMAGE_URI"
|
|
75
|
-
if [ -n "$
|
|
76
|
-
|
|
75
|
+
if [ -n "$VERIS_BASE" ]; then
|
|
76
|
+
# Send both the new name (VERIS_BASE) and the legacy one (GVISOR_BASE)
|
|
77
|
+
# so Dockerfiles with either declaration keep building. Docker ignores
|
|
78
|
+
# --build-arg flags whose ARG isn't declared.
|
|
79
|
+
BUILD_ARGS="$BUILD_ARGS --build-arg VERIS_BASE=$VERIS_BASE --build-arg GVISOR_BASE=$VERIS_BASE"
|
|
77
80
|
fi
|
|
78
81
|
if [ "$NO_CACHE" = "1" ]; then
|
|
79
82
|
docker rmi "$IMAGE_URI" 2>/dev/null || true
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Static file templates for veris init."""
|
|
2
2
|
|
|
3
|
-
DOCKERFILE_SANDBOX = """# Extends
|
|
4
|
-
ARG
|
|
5
|
-
FROM ${
|
|
3
|
+
DOCKERFILE_SANDBOX = """# Extends the Veris base image with your agent code
|
|
4
|
+
ARG VERIS_BASE
|
|
5
|
+
FROM ${VERIS_BASE}
|
|
6
6
|
|
|
7
7
|
# ============================================================
|
|
8
8
|
# 1. AGENT CODE — Update paths to match your project structure
|
|
@@ -141,7 +141,7 @@ TARGET_BODY = """\
|
|
|
141
141
|
entry_point: uv run --no-sync uvicorn app.main:app --host 0.0.0.0 --port 8008
|
|
142
142
|
port: 8008
|
|
143
143
|
# environment:
|
|
144
|
-
# DATABASE_URL: postgresql://postgres:postgres@localhost:5432/
|
|
144
|
+
# DATABASE_URL: postgresql://postgres:postgres@localhost:5432/veris
|
|
145
145
|
"""
|
|
146
146
|
|
|
147
147
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|