kaos-cli 0.8.5__tar.gz → 0.8.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.
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/PKG-INFO +1 -1
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/__init__.py +1 -1
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli.egg-info/PKG-INFO +1 -1
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/pyproject.toml +1 -1
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_cli_integration.py +16 -6
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/README.md +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/a2a.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/build.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/deploy.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/init.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/invoke.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/memory.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/run.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/status.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/agent/tools.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/auth/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/auth/consent.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/auth/grant.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/auth/login.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/cluster_http.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/config.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/config_cli.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/install/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/install/auth.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/install/infra.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/install/observability.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/main.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/build.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/crud.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/deploy.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/init.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/invoke.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/mcp/run.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/memory/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/memorystore/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/memorystore/create.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/modelapi/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/modelapi/deploy.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/modelapi/invoke.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/proxy.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/1-simple-echo-agent.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/2-multi-agent-mcp.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/3-hierarchical-agents.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/4-dev-ollama-proxy-agent.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/5-proxy-external-api.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/6-autonomous-monitor.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/7-memory-agent.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/samples/data/8-authorization-walkthrough.yaml +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/system/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/system/create_rbac.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/system/install.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/system/runtimes.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/system/status.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/ui.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/utils/__init__.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/utils/crud.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/utils/port_forward.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli/utils/wait.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli.egg-info/SOURCES.txt +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli.egg-info/dependency_links.txt +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli.egg-info/entry_points.txt +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli.egg-info/requires.txt +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/kaos_cli.egg-info/top_level.txt +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/setup.cfg +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_agent_invoke.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_agent_tools.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_auth_cli.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_config_cli.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_deploy_wait.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_install_surface.py +0 -0
- {kaos_cli-0.8.5 → kaos_cli-0.8.7}/tests/test_memory_cli.py +0 -0
|
@@ -4,6 +4,7 @@ import json
|
|
|
4
4
|
import re
|
|
5
5
|
import yaml
|
|
6
6
|
import pytest
|
|
7
|
+
import typer
|
|
7
8
|
from typer.testing import CliRunner
|
|
8
9
|
|
|
9
10
|
from kaos_cli.main import app
|
|
@@ -1076,15 +1077,24 @@ class TestSystemInstallFlags:
|
|
|
1076
1077
|
def test_install_help_shows_auth_flag(self):
|
|
1077
1078
|
result = runner.invoke(app, ["system", "install", "--help"])
|
|
1078
1079
|
assert result.exit_code == 0
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1080
|
+
# Assert on the registered options rather than rendered help text: the
|
|
1081
|
+
# help table's column layout (and so truncation at CliRunner's 80-column
|
|
1082
|
+
# width) varies across typer releases.
|
|
1083
|
+
install = typer.main.get_command(app).commands["system"].commands["install"]
|
|
1084
|
+
visible = {
|
|
1085
|
+
o for p in install.params if not getattr(p, "hidden", False) for o in p.opts
|
|
1086
|
+
}
|
|
1087
|
+
hidden = {
|
|
1088
|
+
o for p in install.params if getattr(p, "hidden", False) for o in p.opts
|
|
1089
|
+
}
|
|
1090
|
+
assert "--agent-auth-enabled" in visible
|
|
1091
|
+
assert "--user-auth-enabled" in visible
|
|
1092
|
+
assert "--auth-enabled" not in visible | hidden
|
|
1083
1093
|
# The fine-grained auth knobs are collapsed into the preset and no longer
|
|
1084
1094
|
# exposed on the command surface.
|
|
1085
|
-
assert "--authz-provider" not in
|
|
1095
|
+
assert "--authz-provider" not in visible | hidden
|
|
1086
1096
|
# Advanced dev chart paths remain available but hidden from help.
|
|
1087
|
-
assert "--aib-chart-path"
|
|
1097
|
+
assert "--aib-chart-path" in hidden
|
|
1088
1098
|
|
|
1089
1099
|
|
|
1090
1100
|
class TestPgvectorMemoryInstall:
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|