haliosai-cli 2.0.6__tar.gz → 2.0.7__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.
- {haliosai_cli-2.0.6/haliosai_cli.egg-info → haliosai_cli-2.0.7}/PKG-INFO +7 -3
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/README.md +6 -2
- haliosai_cli-2.0.7/halios_cli/_version.py +1 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7/haliosai_cli.egg-info}/PKG-INFO +7 -3
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/tests/test_cli_surface.py +23 -1
- haliosai_cli-2.0.6/halios_cli/_version.py +0 -1
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/LICENSE +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/MANIFEST.in +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/__init__.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_auth.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_eval.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_optimize.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_project.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_scenario.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_support.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/cli_trace.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/py.typed +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/schemas/__init__.py +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/schemas/eval.schema.json +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/halios_cli/schemas/scenarios.schema.json +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/haliosai_cli.egg-info/SOURCES.txt +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/haliosai_cli.egg-info/dependency_links.txt +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/haliosai_cli.egg-info/entry_points.txt +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/haliosai_cli.egg-info/requires.txt +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/haliosai_cli.egg-info/top_level.txt +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/pyproject.toml +0 -0
- {haliosai_cli-2.0.6 → haliosai_cli-2.0.7}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haliosai-cli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Halios CLI for coding-agent evaluations, guardrails, and OpenTelemetry evidence
|
|
5
5
|
Author-email: HaliosLabs <support@halios.ai>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -73,6 +73,10 @@ scenarios in `.halios/`, and run one smoke scenario. It stops with a verificatio
|
|
|
73
73
|
asking whether to run the full suite and how many trials per scenario to use. The summary includes
|
|
74
74
|
direct Halios UI links for reviewing the materialized suite, smoke run, and trace evidence.
|
|
75
75
|
|
|
76
|
+
If the Halios CLI is missing, the coding agent will tell you before installing `haliosai-cli` as
|
|
77
|
+
user-level tooling that can be reused across projects. It is kept separate from your application's
|
|
78
|
+
runtime dependencies.
|
|
79
|
+
|
|
76
80
|
---
|
|
77
81
|
|
|
78
82
|
### Standalone CLI Installation
|
|
@@ -81,10 +85,10 @@ If you prefer to drive evaluations directly from the command line or CI:
|
|
|
81
85
|
|
|
82
86
|
```bash
|
|
83
87
|
# Recommended: Install with uv tool
|
|
84
|
-
uv tool install 'haliosai-cli>=2.0.
|
|
88
|
+
uv tool install 'haliosai-cli>=2.0.7'
|
|
85
89
|
|
|
86
90
|
# Or install with pipx
|
|
87
|
-
pipx install 'haliosai-cli>=2.0.
|
|
91
|
+
pipx install 'haliosai-cli>=2.0.7'
|
|
88
92
|
|
|
89
93
|
# See available commands and usage
|
|
90
94
|
halios --help
|
|
@@ -36,6 +36,10 @@ scenarios in `.halios/`, and run one smoke scenario. It stops with a verificatio
|
|
|
36
36
|
asking whether to run the full suite and how many trials per scenario to use. The summary includes
|
|
37
37
|
direct Halios UI links for reviewing the materialized suite, smoke run, and trace evidence.
|
|
38
38
|
|
|
39
|
+
If the Halios CLI is missing, the coding agent will tell you before installing `haliosai-cli` as
|
|
40
|
+
user-level tooling that can be reused across projects. It is kept separate from your application's
|
|
41
|
+
runtime dependencies.
|
|
42
|
+
|
|
39
43
|
---
|
|
40
44
|
|
|
41
45
|
### Standalone CLI Installation
|
|
@@ -44,10 +48,10 @@ If you prefer to drive evaluations directly from the command line or CI:
|
|
|
44
48
|
|
|
45
49
|
```bash
|
|
46
50
|
# Recommended: Install with uv tool
|
|
47
|
-
uv tool install 'haliosai-cli>=2.0.
|
|
51
|
+
uv tool install 'haliosai-cli>=2.0.7'
|
|
48
52
|
|
|
49
53
|
# Or install with pipx
|
|
50
|
-
pipx install 'haliosai-cli>=2.0.
|
|
54
|
+
pipx install 'haliosai-cli>=2.0.7'
|
|
51
55
|
|
|
52
56
|
# See available commands and usage
|
|
53
57
|
halios --help
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.7"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haliosai-cli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Halios CLI for coding-agent evaluations, guardrails, and OpenTelemetry evidence
|
|
5
5
|
Author-email: HaliosLabs <support@halios.ai>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -73,6 +73,10 @@ scenarios in `.halios/`, and run one smoke scenario. It stops with a verificatio
|
|
|
73
73
|
asking whether to run the full suite and how many trials per scenario to use. The summary includes
|
|
74
74
|
direct Halios UI links for reviewing the materialized suite, smoke run, and trace evidence.
|
|
75
75
|
|
|
76
|
+
If the Halios CLI is missing, the coding agent will tell you before installing `haliosai-cli` as
|
|
77
|
+
user-level tooling that can be reused across projects. It is kept separate from your application's
|
|
78
|
+
runtime dependencies.
|
|
79
|
+
|
|
76
80
|
---
|
|
77
81
|
|
|
78
82
|
### Standalone CLI Installation
|
|
@@ -81,10 +85,10 @@ If you prefer to drive evaluations directly from the command line or CI:
|
|
|
81
85
|
|
|
82
86
|
```bash
|
|
83
87
|
# Recommended: Install with uv tool
|
|
84
|
-
uv tool install 'haliosai-cli>=2.0.
|
|
88
|
+
uv tool install 'haliosai-cli>=2.0.7'
|
|
85
89
|
|
|
86
90
|
# Or install with pipx
|
|
87
|
-
pipx install 'haliosai-cli>=2.0.
|
|
91
|
+
pipx install 'haliosai-cli>=2.0.7'
|
|
88
92
|
|
|
89
93
|
# See available commands and usage
|
|
90
94
|
halios --help
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import json
|
|
4
|
+
import pathlib
|
|
4
5
|
import sys
|
|
5
6
|
from types import SimpleNamespace
|
|
6
7
|
from typing import Any
|
|
@@ -11,7 +12,12 @@ from typer.testing import CliRunner
|
|
|
11
12
|
|
|
12
13
|
from halios_cli import cli_project, cli_support, cli_trace
|
|
13
14
|
from halios_cli.cli import app
|
|
14
|
-
from halios_cli.cli_eval import
|
|
15
|
+
from halios_cli.cli_eval import (
|
|
16
|
+
_eval_schema_errors,
|
|
17
|
+
_invoke_adapter,
|
|
18
|
+
_otlp_root_payload,
|
|
19
|
+
_scenario_schema_errors,
|
|
20
|
+
)
|
|
15
21
|
|
|
16
22
|
|
|
17
23
|
class FakeApiClient:
|
|
@@ -46,6 +52,22 @@ def test_top_level_exposes_agent_workflows() -> None:
|
|
|
46
52
|
assert "trace" in result.output
|
|
47
53
|
|
|
48
54
|
|
|
55
|
+
def test_bundled_eval_example_is_valid_and_balanced() -> None:
|
|
56
|
+
root = pathlib.Path(__file__).resolve().parents[1]
|
|
57
|
+
example = cli_support.load_yaml(root / "skills/halios/assets/eval.example.yml")
|
|
58
|
+
|
|
59
|
+
assert _eval_schema_errors(example) == []
|
|
60
|
+
checks = example["checks"]
|
|
61
|
+
rule_types = {rule["type"] for check in checks for rule in check["rules"]}
|
|
62
|
+
target_scopes = {(check["target"], check["scope"]) for check in checks}
|
|
63
|
+
|
|
64
|
+
assert {"exists", "json_schema", "not_empty", "one_of", "regex", "llm_judge"} <= rule_types
|
|
65
|
+
assert ("tool_usage", "input_arguments") in target_scopes
|
|
66
|
+
assert ("assistant_message", "all") in target_scopes
|
|
67
|
+
assert ("assistant_message", "after_tool") in target_scopes
|
|
68
|
+
assert ("full_conversation", "entire") in target_scopes
|
|
69
|
+
|
|
70
|
+
|
|
49
71
|
def test_ci_credentials_accept_agent_scoped_otlp_token_from_environment(monkeypatch) -> None:
|
|
50
72
|
monkeypatch.setattr(cli_support, "_read_credentials", lambda: {"profiles": {}})
|
|
51
73
|
monkeypatch.setenv("HALIOS_API_KEY", "halios_control_plane_key")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.6"
|
|
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
|