healthcloud-cli 3.18.2__tar.gz → 3.18.3__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.18.2 → healthcloud_cli-3.18.3}/PKG-INFO +9 -1
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/README.md +8 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/sessions/operations.py +25 -6
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/pyproject.toml +1 -1
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/.gitignore +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/hatch_build.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/admins/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/admins/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/admins/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/admins/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/actions/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/actions/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/actions/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/actions/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/actions/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agents/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agents/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agents/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agents/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agents/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/audit/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/audit/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/audit/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/audit/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/auth.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/chat.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/chat_render.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/chat_session.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/chat_terminal.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/compatibility.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/context.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/dashboard/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/dashboard/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/dashboard/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/dashboard/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/domain_errors.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/endpoint.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/errors.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/output.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/paging.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/policies/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/policies/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/policies/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/policies/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/policies/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/pretty.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/registry.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/results.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/review.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/runs/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/runs/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/runs/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/runs/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/runs/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/cron.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/session.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/sessions/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/sessions/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/sessions/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/sessions/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/skills/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/skills/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/skills/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/skills/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/skills/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/target.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/teams/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/teams/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/teams/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/teams/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/teams/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/tools/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/tools/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/tools/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/tools/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/tools/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/tuning.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/ui.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/usage/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/usage/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/usage/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/usage/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/usage/projections.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/windows_files.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/cli.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/appointments.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/connectors.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/diagnostics.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/ehr.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/fieldagent.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/graph.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/mcp.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/ori.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/patient.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/person.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/provider.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/rppg.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/session.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/telehealth.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/tenantadmin.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/vitals.openapi.json +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/openapi.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/tenants/__init__.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/tenants/commands.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/tenants/group.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/tenants/operations.py +0 -0
- {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: healthcloud-cli
|
|
3
|
-
Version: 3.18.
|
|
3
|
+
Version: 3.18.3
|
|
4
4
|
Summary: HealthCloud MCP command-line interface with commands generated from Services OpenAPI.
|
|
5
5
|
Project-URL: Issues, https://github.com/healthcloudservices/healthcloud-services/issues
|
|
6
6
|
Project-URL: Repository, https://github.com/healthcloudservices/healthcloud-services
|
|
@@ -1410,6 +1410,14 @@ uv run --frozen hc ams sessions messages add --environment dev --tenant-id TENAN
|
|
|
1410
1410
|
longer than 128 characters (or an empty one) is refused locally with a
|
|
1411
1411
|
`validation` error naming the flag, before anything is sent. Protected free text — `--initial-prompt` and `--content` — is sent to
|
|
1412
1412
|
the server but never appears in the envelope, a refusal, a diagnostic or a log.
|
|
1413
|
+
- If `sessions create` receives HTTP 408, 425, 499, or 5xx (except its explicit
|
|
1414
|
+
501 unsupported refusal), loses the connection, or cannot read its creation
|
|
1415
|
+
receipt, it exits 1 with `outcome: unknown`, `verification.saved_state: unknown`,
|
|
1416
|
+
`data.session: null`, `data.mutation_replayed: false`, and
|
|
1417
|
+
`data.reconciliation.status: not_read`. Run `hc ams sessions list` to inspect
|
|
1418
|
+
server state before deciding whether to retry. The command sends one POST and
|
|
1419
|
+
never automatically re-reads or repeats it. Other known refusals, including
|
|
1420
|
+
429, retain their existing behavior.
|
|
1413
1421
|
- The protected free text can also arrive from an owner-only file, which keeps it
|
|
1414
1422
|
out of the command line entirely (argv, the process table under
|
|
1415
1423
|
`ps`/`/proc/*/cmdline`, shell history and CI logs all see only the path):
|
|
@@ -1391,6 +1391,14 @@ uv run --frozen hc ams sessions messages add --environment dev --tenant-id TENAN
|
|
|
1391
1391
|
longer than 128 characters (or an empty one) is refused locally with a
|
|
1392
1392
|
`validation` error naming the flag, before anything is sent. Protected free text — `--initial-prompt` and `--content` — is sent to
|
|
1393
1393
|
the server but never appears in the envelope, a refusal, a diagnostic or a log.
|
|
1394
|
+
- If `sessions create` receives HTTP 408, 425, 499, or 5xx (except its explicit
|
|
1395
|
+
501 unsupported refusal), loses the connection, or cannot read its creation
|
|
1396
|
+
receipt, it exits 1 with `outcome: unknown`, `verification.saved_state: unknown`,
|
|
1397
|
+
`data.session: null`, `data.mutation_replayed: false`, and
|
|
1398
|
+
`data.reconciliation.status: not_read`. Run `hc ams sessions list` to inspect
|
|
1399
|
+
server state before deciding whether to retry. The command sends one POST and
|
|
1400
|
+
never automatically re-reads or repeats it. Other known refusals, including
|
|
1401
|
+
429, retain their existing behavior.
|
|
1394
1402
|
- The protected free text can also arrive from an owner-only file, which keeps it
|
|
1395
1403
|
out of the command line entirely (argv, the process table under
|
|
1396
1404
|
`ps`/`/proc/*/cmdline`, shell history and CI logs all see only the path):
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/sessions/operations.py
RENAMED
|
@@ -5,6 +5,7 @@ from __future__ import annotations
|
|
|
5
5
|
import re
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from pathlib import Path
|
|
8
|
+
from typing import NoReturn
|
|
8
9
|
|
|
9
10
|
from ..context import AmsDependencies
|
|
10
11
|
from ..domain_errors import DomainOutcomeUnknown, DomainReadRefused
|
|
@@ -16,7 +17,7 @@ from ..output import (
|
|
|
16
17
|
protected_text,
|
|
17
18
|
read_private_text,
|
|
18
19
|
)
|
|
19
|
-
from ..results import succeeded, unknown
|
|
20
|
+
from ..results import is_unknown_write_status, succeeded, unknown, unknown_write
|
|
20
21
|
from ..target import TenantTarget
|
|
21
22
|
from .projections import (
|
|
22
23
|
PLAN_REVIEW_FIELDS,
|
|
@@ -76,9 +77,8 @@ class PlanWriteRefused(DomainReadRefused):
|
|
|
76
77
|
|
|
77
78
|
|
|
78
79
|
UNKNOWN_SESSION_OUTCOME = (
|
|
79
|
-
"The session write was sent once and its outcome is now unknown
|
|
80
|
-
"
|
|
81
|
-
"`hc ams sessions get`) to check the session's current server state before deciding whether to retry."
|
|
80
|
+
"The session write was sent once and its outcome is now unknown. Run `hc ams sessions list` "
|
|
81
|
+
"to check the current server state before deciding whether to retry."
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
UNKNOWN_ATTACHMENT_OUTCOME = (
|
|
@@ -827,6 +827,16 @@ def _not_implemented(error: BaseException, *, session: bool) -> SessionWriteRefu
|
|
|
827
827
|
)
|
|
828
828
|
|
|
829
829
|
|
|
830
|
+
def _unknown_session_creation(target: TenantTarget) -> NoReturn:
|
|
831
|
+
unknown_write(
|
|
832
|
+
"sessions.create",
|
|
833
|
+
_target(target),
|
|
834
|
+
UNKNOWN_SESSION_OUTCOME,
|
|
835
|
+
{"session": None},
|
|
836
|
+
reconciliation_detail="No session was re-read after the uncertain create; run `hc ams sessions list`.",
|
|
837
|
+
)
|
|
838
|
+
|
|
839
|
+
|
|
830
840
|
def create_session(
|
|
831
841
|
dependencies: AmsDependencies,
|
|
832
842
|
target: TenantTarget,
|
|
@@ -853,12 +863,17 @@ def create_session(
|
|
|
853
863
|
file_flag="--initial-prompt-file",
|
|
854
864
|
refuse=SessionWriteRefused,
|
|
855
865
|
)
|
|
866
|
+
if mode not in ("plan", "implement"):
|
|
867
|
+
raise SessionWriteRefused("validation", "--mode must be plan or implement; nothing was sent.")
|
|
868
|
+
if agent_id is not None and not isinstance(agent_id, str):
|
|
869
|
+
raise SessionWriteRefused("validation", "--agent-id must be a string; nothing was sent.")
|
|
856
870
|
with dependencies.authenticated_sdk_factory(target, require_saved_session=True) as sdk:
|
|
857
871
|
resource = _sessions(sdk, ("create",), write=True)
|
|
858
872
|
try:
|
|
859
873
|
session = resource.create(agent_id=agent_id, mode=mode, initial_prompt=initial_prompt)
|
|
860
|
-
except HealthCloudNetworkError:
|
|
861
|
-
|
|
874
|
+
except HealthCloudNetworkError, ValueError, TypeError:
|
|
875
|
+
# Inputs are validated above; decoding failures can follow a committed POST.
|
|
876
|
+
_unknown_session_creation(target)
|
|
862
877
|
except HealthCloudHTTPError as error:
|
|
863
878
|
refusal = (
|
|
864
879
|
_not_implemented(error, session=True)
|
|
@@ -867,7 +882,11 @@ def create_session(
|
|
|
867
882
|
)
|
|
868
883
|
if refusal is not None:
|
|
869
884
|
raise refusal from error
|
|
885
|
+
if is_unknown_write_status(getattr(error, "status_code", None)):
|
|
886
|
+
_unknown_session_creation(target)
|
|
870
887
|
raise
|
|
888
|
+
if session is None:
|
|
889
|
+
_unknown_session_creation(target)
|
|
871
890
|
if session.tenant_id != target.tenant_id:
|
|
872
891
|
raise SessionWriteRefused(
|
|
873
892
|
"validation",
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "healthcloud-cli"
|
|
7
|
-
version = "3.18.
|
|
7
|
+
version = "3.18.3"
|
|
8
8
|
description = "HealthCloud MCP command-line interface with commands generated from Services OpenAPI."
|
|
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.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/actions/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_files/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/agent_logs/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/dashboard/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/dashboard/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/data_sources/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/departments/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/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.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/guardrails/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/commands.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/group.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/health_services/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/operations/projections.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/__init__.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/organization/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/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.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/policies/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/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
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/ams/schedules/operations.py
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/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.18.2 → healthcloud_cli-3.18.3}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/ehr.openapi.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/mcp.openapi.json
RENAMED
|
File without changes
|
{healthcloud_cli-3.18.2 → healthcloud_cli-3.18.3}/healthcloud_cli/contracts/openapi/ori.openapi.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|