hypercli-sdk 0.10.5__tar.gz → 0.10.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.
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/PKG-INFO +1 -1
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/__init__.py +1 -1
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/agents.py +7 -2
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/pyproject.toml +1 -1
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_agents.py +4 -2
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/.gitignore +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/README.md +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/acp.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/agent.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/billing.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/chat_integrations.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/client.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/config.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/files.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/http.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/instances.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/job/__init__.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/job/base.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/job/comfyui.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/job/gradio.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/jobs.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/keys.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/logs.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/mcp.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/models.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/renders.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/routines.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/runners.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/sessions.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/shell.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/user.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/voice.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/voice_stream.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/voice_transcription.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/workspaces.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/hypercli/x402.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/conftest.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_agents.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_auth.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_billing.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_instances.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_jobs_dryrun.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_keys.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/integration/test_renders.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_acp.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_agent_files_source.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_agent_lifecycle.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_apply_params.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_bootstrap_agents_e2e_user.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_bootstrap_console_test_key.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_bootstrap_dev_test_keys.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_chat_integrations.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_claw.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_coding_agents.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_config.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_exec_shell_dryrun.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_file_transport.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_graph_to_api.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_http.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_jobs.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_keys.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_models.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_parity_audit.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_public_surface.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_render_catalog.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_renders_subscription.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_repository_integrity.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_routines.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_runner_control_url.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_runner_placement.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_runners.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_sessions.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_status.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_voice.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_voice_stream.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_voice_transcription.py +0 -0
- {hypercli_sdk-0.10.5 → hypercli_sdk-0.10.7}/tests/test_workspaces.py +0 -0
|
@@ -174,6 +174,7 @@ CANONICAL_AGENT_STATES: tuple[str, ...] = (
|
|
|
174
174
|
"ARCHIVING",
|
|
175
175
|
"ARCHIVED",
|
|
176
176
|
"FAILED",
|
|
177
|
+
"NO_NAMESPACE",
|
|
177
178
|
"DELETED",
|
|
178
179
|
)
|
|
179
180
|
AGENT_TRANSITIONAL_STATES = frozenset(
|
|
@@ -185,8 +186,12 @@ AGENT_TRANSITIONAL_STATES = frozenset(
|
|
|
185
186
|
"ARCHIVING",
|
|
186
187
|
}
|
|
187
188
|
)
|
|
188
|
-
AGENT_RUNTIME_INACTIVE_STATES = frozenset(
|
|
189
|
-
|
|
189
|
+
AGENT_RUNTIME_INACTIVE_STATES = frozenset(
|
|
190
|
+
{"STOPPED", "ARCHIVING", "ARCHIVED", "FAILED", "NO_NAMESPACE", "DELETED"}
|
|
191
|
+
)
|
|
192
|
+
AGENT_WAIT_RUNNING_FAILURE_STATES = frozenset(
|
|
193
|
+
{"STOPPED", "ARCHIVED", "DELETED", "FAILED", "NO_NAMESPACE"}
|
|
194
|
+
)
|
|
190
195
|
|
|
191
196
|
|
|
192
197
|
def is_agent_transitional_state(state: str) -> bool:
|
|
@@ -890,7 +890,7 @@ def test_agent_from_dict_hydrates_new_api_fields_without_image_url_fallback():
|
|
|
890
890
|
|
|
891
891
|
@pytest.mark.parametrize(
|
|
892
892
|
"failed_state",
|
|
893
|
-
["STOPPED", "ARCHIVED", "DELETED", "FAILED"],
|
|
893
|
+
["STOPPED", "ARCHIVED", "DELETED", "FAILED", "NO_NAMESPACE"],
|
|
894
894
|
)
|
|
895
895
|
def test_wait_running_fails_on_terminal_states(monkeypatch, failed_state):
|
|
896
896
|
http = MagicMock(spec=HTTPClient)
|
|
@@ -1047,16 +1047,18 @@ def test_agent_lifecycle_state_classification_is_forward_open():
|
|
|
1047
1047
|
"ARCHIVING",
|
|
1048
1048
|
"ARCHIVED",
|
|
1049
1049
|
"FAILED",
|
|
1050
|
+
"NO_NAMESPACE",
|
|
1050
1051
|
"DELETED",
|
|
1051
1052
|
)
|
|
1052
1053
|
assert AGENT_TRANSITIONAL_STATES == frozenset(
|
|
1053
1054
|
{"CREATING", "STARTING", "RESTORING", "STOPPING", "ARCHIVING"}
|
|
1054
1055
|
)
|
|
1055
1056
|
assert AGENT_RUNTIME_INACTIVE_STATES == frozenset(
|
|
1056
|
-
{"STOPPED", "ARCHIVING", "ARCHIVED", "FAILED", "DELETED"}
|
|
1057
|
+
{"STOPPED", "ARCHIVING", "ARCHIVED", "FAILED", "NO_NAMESPACE", "DELETED"}
|
|
1057
1058
|
)
|
|
1058
1059
|
assert is_agent_transitional_state("archiving") is True
|
|
1059
1060
|
assert is_agent_runtime_inactive_state("archived") is True
|
|
1061
|
+
assert is_agent_runtime_inactive_state("NO_NAMESPACE") is True
|
|
1060
1062
|
assert is_agent_transitional_state("future_server_state") is False
|
|
1061
1063
|
|
|
1062
1064
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|