healthcloud-cli 3.11.2__tar.gz → 3.11.4__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.
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/PKG-INFO +11 -1
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/README.md +10 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/operations.py +3 -1
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/operations.py +3 -1
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/operations.py +3 -1
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/skills/operations.py +3 -1
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/cli.py +8 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/pyproject.toml +1 -1
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/.gitignore +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/hatch_build.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/admins/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/admins/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/admins/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/admins/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/actions/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/actions/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/actions/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/actions/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/actions/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agents/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agents/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agents/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agents/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agents/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/audit/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/audit/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/audit/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/audit/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/auth.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/compatibility.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/context.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/dashboard/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/dashboard/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/dashboard/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/dashboard/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/domain_errors.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/endpoint.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/errors.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/output.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/paging.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/pretty.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/registry.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/results.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/runs/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/runs/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/runs/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/runs/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/runs/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/cron.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/session.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/skills/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/skills/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/skills/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/skills/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/target.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/teams/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/teams/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/teams/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/teams/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/teams/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/tools/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/tools/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/tools/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/tools/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/tools/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/tuning.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/ui.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/usage/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/usage/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/usage/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/usage/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/usage/projections.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/windows_files.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/contracts/mcp-tools.manifest.json +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/manifest.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/tenants/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/tenants/commands.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/tenants/group.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/tenants/operations.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/util.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/scripts/__init__.py +0 -0
- {healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/scripts/bundle_manifest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: healthcloud-cli
|
|
3
|
-
Version: 3.11.
|
|
3
|
+
Version: 3.11.4
|
|
4
4
|
Summary: Command-line interface for the HealthCloud MCP gateway, generated from the shared MCP tool manifest.
|
|
5
5
|
Project-URL: Issues, https://github.com/healthcloudservices/healthcloud-services/issues
|
|
6
6
|
Project-URL: Repository, https://github.com/healthcloudservices/healthcloud-services
|
|
@@ -394,6 +394,12 @@ while the single line is read and restores it afterwards. When suppression is
|
|
|
394
394
|
unavailable (including Windows consoles), or stdin's interactivity cannot be
|
|
395
395
|
determined, it warns on stderr before reading that the terminal may display
|
|
396
396
|
the password. Noninteractive pipes do not need suppression and stay quiet.
|
|
397
|
+
Login failures exit `1` on stderr: HTTP 401 is `Tenant-admin login rejected
|
|
398
|
+
(HTTP 401); no session was saved.`, HTTP 403 is `not authorized`, and other
|
|
399
|
+
HTTP failures include their observed status. Connection and timeout failures
|
|
400
|
+
say `Tenant-admin login connection failed; no session was saved.` Local
|
|
401
|
+
session-storage failures keep their own message. Error output omits raw server
|
|
402
|
+
responses and credentials; a failed login preserves any previously saved session.
|
|
397
403
|
A stdin stream that is closed or errors mid-read is refused cleanly
|
|
398
404
|
(exit 2, never a traceback).
|
|
399
405
|
AMS commands may omit both target flags while this session is present, except
|
|
@@ -2602,6 +2608,10 @@ same message is exactly one stderr line, `error: <message> (<category>)`:
|
|
|
2602
2608
|
the requested department ID, while a department `list` 404 keeps its legacy
|
|
2603
2609
|
`transport` classification. Department write 404s are `not_found` refusals
|
|
2604
2610
|
naming the ID).
|
|
2611
|
+
- Skill, policy, guardrail, and data-source `get` also report `not_found` when
|
|
2612
|
+
the SDK receives a JSON `null` or no response body. Their SDK resource `get`
|
|
2613
|
+
methods return `None` in those cases; malformed non-null records remain
|
|
2614
|
+
validation failures. No HTTP status is inferred from an absent body.
|
|
2605
2615
|
- HTTP 401/403 map to `authentication`/`authorization`; 409 to `conflict`;
|
|
2606
2616
|
network failures to `transport`; local output failures to `local_io`.
|
|
2607
2617
|
- Any unexpected internal error is category `internal` with a generic message;
|
|
@@ -376,6 +376,12 @@ while the single line is read and restores it afterwards. When suppression is
|
|
|
376
376
|
unavailable (including Windows consoles), or stdin's interactivity cannot be
|
|
377
377
|
determined, it warns on stderr before reading that the terminal may display
|
|
378
378
|
the password. Noninteractive pipes do not need suppression and stay quiet.
|
|
379
|
+
Login failures exit `1` on stderr: HTTP 401 is `Tenant-admin login rejected
|
|
380
|
+
(HTTP 401); no session was saved.`, HTTP 403 is `not authorized`, and other
|
|
381
|
+
HTTP failures include their observed status. Connection and timeout failures
|
|
382
|
+
say `Tenant-admin login connection failed; no session was saved.` Local
|
|
383
|
+
session-storage failures keep their own message. Error output omits raw server
|
|
384
|
+
responses and credentials; a failed login preserves any previously saved session.
|
|
379
385
|
A stdin stream that is closed or errors mid-read is refused cleanly
|
|
380
386
|
(exit 2, never a traceback).
|
|
381
387
|
AMS commands may omit both target flags while this session is present, except
|
|
@@ -2584,6 +2590,10 @@ same message is exactly one stderr line, `error: <message> (<category>)`:
|
|
|
2584
2590
|
the requested department ID, while a department `list` 404 keeps its legacy
|
|
2585
2591
|
`transport` classification. Department write 404s are `not_found` refusals
|
|
2586
2592
|
naming the ID).
|
|
2593
|
+
- Skill, policy, guardrail, and data-source `get` also report `not_found` when
|
|
2594
|
+
the SDK receives a JSON `null` or no response body. Their SDK resource `get`
|
|
2595
|
+
methods return `None` in those cases; malformed non-null records remain
|
|
2596
|
+
validation failures. No HTTP status is inferred from an absent body.
|
|
2587
2597
|
- HTTP 401/403 map to `authentication`/`authorization`; 409 to `conflict`;
|
|
2588
2598
|
network failures to `transport`; local output failures to `local_io`.
|
|
2589
2599
|
- Any unexpected internal error is category `internal` with a generic message;
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/operations.py
RENAMED
|
@@ -61,7 +61,9 @@ def get_data_source(dependencies: AmsDependencies, target: TenantTarget, data_so
|
|
|
61
61
|
data_source_id = _data_source_id(data_source_id)
|
|
62
62
|
with dependencies.authenticated_sdk_factory(target) as sdk:
|
|
63
63
|
data_source = _resource(sdk).get(data_source_id)
|
|
64
|
-
if data_source is None
|
|
64
|
+
if data_source is None:
|
|
65
|
+
raise DataSourceReadRefused("not_found", f"Data source '{data_source_id}' was not found.")
|
|
66
|
+
if data_source.id != data_source_id:
|
|
65
67
|
raise DataSourceReadRefused("validation", "Data-source identity mismatch; stopped.")
|
|
66
68
|
return succeeded(
|
|
67
69
|
"data-sources.get",
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/operations.py
RENAMED
|
@@ -110,7 +110,9 @@ def get_guardrail(dependencies: AmsDependencies, target: TenantTarget, guardrail
|
|
|
110
110
|
guardrail_id = _guardrail_id(guardrail_id)
|
|
111
111
|
with dependencies.authenticated_sdk_factory(target) as sdk:
|
|
112
112
|
guardrail = _resource(sdk).get(guardrail_id)
|
|
113
|
-
if guardrail is None
|
|
113
|
+
if guardrail is None:
|
|
114
|
+
raise GuardrailReadRefused("not_found", f"Guardrail '{guardrail_id}' was not found.")
|
|
115
|
+
if guardrail.id != guardrail_id or guardrail.tenant_id != target.tenant_id:
|
|
114
116
|
raise GuardrailReadRefused("validation", "Guardrail/tenant identity mismatch; stopped.")
|
|
115
117
|
return succeeded(
|
|
116
118
|
"guardrails.get", _target(target, guardrail_id), {"guardrail": guardrail_projection(guardrail)}, read_only=True
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/operations.py
RENAMED
|
@@ -107,7 +107,9 @@ def get_policy(dependencies: AmsDependencies, target: TenantTarget, policy_id: s
|
|
|
107
107
|
policy_id = _policy_id(policy_id)
|
|
108
108
|
with dependencies.authenticated_sdk_factory(target) as sdk:
|
|
109
109
|
policy = _resource(sdk).get(policy_id)
|
|
110
|
-
if policy is None
|
|
110
|
+
if policy is None:
|
|
111
|
+
raise PolicyReadRefused("not_found", f"Policy '{policy_id}' was not found.")
|
|
112
|
+
if policy.id != policy_id or policy.tenant_id != target.tenant_id:
|
|
111
113
|
raise PolicyReadRefused("validation", "Policy/tenant identity mismatch; stopped.")
|
|
112
114
|
return succeeded("policies.get", _target(target, policy_id), {"policy": policy_projection(policy)}, read_only=True)
|
|
113
115
|
|
|
@@ -106,7 +106,9 @@ def get_skill(dependencies: AmsDependencies, target: TenantTarget, skill_id: str
|
|
|
106
106
|
skill_id = _skill_id(skill_id)
|
|
107
107
|
with dependencies.authenticated_sdk_factory(target) as sdk:
|
|
108
108
|
skill = _resource(sdk).get(skill_id)
|
|
109
|
-
if skill is None
|
|
109
|
+
if skill is None:
|
|
110
|
+
raise SkillReadRefused("not_found", f"Skill '{skill_id}' was not found.")
|
|
111
|
+
if skill.id != skill_id or skill.tenant_id != target.tenant_id:
|
|
110
112
|
raise SkillReadRefused("validation", "Skill/tenant identity mismatch; stopped.")
|
|
111
113
|
return succeeded("skills.get", _target(target, skill_id), {"skill": skill_projection(skill)}, read_only=True)
|
|
112
114
|
|
|
@@ -366,6 +366,7 @@ def login_cmd(
|
|
|
366
366
|
if not email or not password.strip():
|
|
367
367
|
raise click.UsageError("Tenant-admin email and password must be nonblank.")
|
|
368
368
|
from healthcloud_tenantadmin import HCTenantAdminSDK
|
|
369
|
+
from healthcloud_tenantadmin.errors import NetworkError, SDKError
|
|
369
370
|
|
|
370
371
|
try:
|
|
371
372
|
with HCTenantAdminSDK(environment=environment, tenant_id=tenant_id) as admin:
|
|
@@ -376,6 +377,13 @@ def login_cmd(
|
|
|
376
377
|
save_session(session)
|
|
377
378
|
except click.ClickException:
|
|
378
379
|
raise
|
|
380
|
+
except SDKError as error:
|
|
381
|
+
reason = {401: "rejected", 403: "not authorized"}.get(error.status_code, "request failed")
|
|
382
|
+
raise click.ClickException(
|
|
383
|
+
f"Tenant-admin login {reason} (HTTP {error.status_code}); no session was saved."
|
|
384
|
+
) from None
|
|
385
|
+
except NetworkError:
|
|
386
|
+
raise click.ClickException("Tenant-admin login connection failed; no session was saved.") from None
|
|
379
387
|
except Exception:
|
|
380
388
|
raise click.ClickException("Tenant-admin login failed; no session was saved.") from None
|
|
381
389
|
_emit_session({"schema_version": 1, "ok": True, "session": session.public_value()})
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "healthcloud-cli"
|
|
7
|
-
version = "3.11.
|
|
7
|
+
version = "3.11.4"
|
|
8
8
|
description = "Command-line interface for the HealthCloud MCP gateway, generated from the shared MCP tool manifest."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.14"
|
|
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
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/actions/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_files/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/agent_logs/projections.py
RENAMED
|
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
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/dashboard/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/dashboard/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/data_sources/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/departments/projections.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/guardrails/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/commands.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/group.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/health_services/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/operations/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/organization/projections.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/policies/projections.py
RENAMED
|
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
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/schedules/projections.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/ams/sessions/projections.py
RENAMED
|
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
|
{healthcloud_cli-3.11.2 → healthcloud_cli-3.11.4}/healthcloud_cli/contracts/mcp-tools.manifest.json
RENAMED
|
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
|