healthcloud-cli 3.18.2__tar.gz → 3.18.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.
Files changed (161) hide show
  1. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/PKG-INFO +16 -1
  2. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/README.md +15 -0
  3. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/sessions/operations.py +41 -19
  4. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/pyproject.toml +1 -1
  5. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/.gitignore +0 -0
  6. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/hatch_build.py +0 -0
  7. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/__init__.py +0 -0
  8. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/admins/__init__.py +0 -0
  9. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/admins/commands.py +0 -0
  10. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/admins/group.py +0 -0
  11. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/admins/operations.py +0 -0
  12. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/__init__.py +0 -0
  13. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/actions/__init__.py +0 -0
  14. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/actions/commands.py +0 -0
  15. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/actions/group.py +0 -0
  16. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/actions/operations.py +0 -0
  17. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/actions/projections.py +0 -0
  18. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_files/__init__.py +0 -0
  19. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_files/commands.py +0 -0
  20. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_files/group.py +0 -0
  21. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_files/operations.py +0 -0
  22. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_files/projections.py +0 -0
  23. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_logs/__init__.py +0 -0
  24. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_logs/commands.py +0 -0
  25. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_logs/group.py +0 -0
  26. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_logs/operations.py +0 -0
  27. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agent_logs/projections.py +0 -0
  28. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agents/__init__.py +0 -0
  29. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agents/commands.py +0 -0
  30. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agents/group.py +0 -0
  31. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agents/operations.py +0 -0
  32. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/agents/projections.py +0 -0
  33. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/audit/__init__.py +0 -0
  34. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/audit/commands.py +0 -0
  35. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/audit/operations.py +0 -0
  36. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/audit/projections.py +0 -0
  37. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/auth.py +0 -0
  38. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/chat.py +0 -0
  39. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/chat_render.py +0 -0
  40. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/chat_session.py +0 -0
  41. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/chat_terminal.py +0 -0
  42. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/commands.py +0 -0
  43. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/compatibility.py +0 -0
  44. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/context.py +0 -0
  45. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/dashboard/__init__.py +0 -0
  46. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/dashboard/commands.py +0 -0
  47. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/dashboard/operations.py +0 -0
  48. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/dashboard/projections.py +0 -0
  49. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/data_sources/__init__.py +0 -0
  50. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/data_sources/commands.py +0 -0
  51. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/data_sources/group.py +0 -0
  52. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/data_sources/operations.py +0 -0
  53. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/data_sources/projections.py +0 -0
  54. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/departments/__init__.py +0 -0
  55. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/departments/commands.py +0 -0
  56. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/departments/group.py +0 -0
  57. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/departments/operations.py +0 -0
  58. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/departments/projections.py +0 -0
  59. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/domain_errors.py +0 -0
  60. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/endpoint.py +0 -0
  61. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/errors.py +0 -0
  62. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/group.py +0 -0
  63. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/guardrails/__init__.py +0 -0
  64. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/guardrails/commands.py +0 -0
  65. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/guardrails/group.py +0 -0
  66. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/guardrails/operations.py +0 -0
  67. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/guardrails/projections.py +0 -0
  68. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/health_services/__init__.py +0 -0
  69. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/health_services/commands.py +0 -0
  70. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/health_services/group.py +0 -0
  71. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/health_services/operations.py +0 -0
  72. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/health_services/projections.py +0 -0
  73. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/operations/__init__.py +0 -0
  74. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/operations/commands.py +0 -0
  75. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/operations/group.py +0 -0
  76. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/operations/operations.py +0 -0
  77. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/operations/projections.py +0 -0
  78. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/organization/__init__.py +0 -0
  79. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/organization/commands.py +0 -0
  80. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/organization/group.py +0 -0
  81. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/organization/operations.py +0 -0
  82. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/organization/projections.py +0 -0
  83. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/output.py +0 -0
  84. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/paging.py +0 -0
  85. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/policies/__init__.py +0 -0
  86. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/policies/commands.py +0 -0
  87. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/policies/group.py +0 -0
  88. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/policies/operations.py +0 -0
  89. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/policies/projections.py +0 -0
  90. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/pretty.py +0 -0
  91. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/registry.py +0 -0
  92. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/results.py +0 -0
  93. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/review.py +0 -0
  94. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/runs/__init__.py +0 -0
  95. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/runs/commands.py +0 -0
  96. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/runs/group.py +0 -0
  97. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/runs/operations.py +0 -0
  98. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/runs/projections.py +0 -0
  99. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/schedules/__init__.py +0 -0
  100. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/schedules/commands.py +0 -0
  101. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/schedules/cron.py +0 -0
  102. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/schedules/group.py +0 -0
  103. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/schedules/operations.py +0 -0
  104. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/schedules/projections.py +0 -0
  105. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/session.py +0 -0
  106. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/sessions/__init__.py +0 -0
  107. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/sessions/commands.py +0 -0
  108. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/sessions/group.py +0 -0
  109. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/sessions/projections.py +0 -0
  110. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/skills/__init__.py +0 -0
  111. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/skills/commands.py +0 -0
  112. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/skills/group.py +0 -0
  113. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/skills/operations.py +0 -0
  114. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/skills/projections.py +0 -0
  115. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/target.py +0 -0
  116. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/teams/__init__.py +0 -0
  117. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/teams/commands.py +0 -0
  118. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/teams/group.py +0 -0
  119. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/teams/operations.py +0 -0
  120. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/teams/projections.py +0 -0
  121. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/tools/__init__.py +0 -0
  122. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/tools/commands.py +0 -0
  123. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/tools/group.py +0 -0
  124. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/tools/operations.py +0 -0
  125. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/tools/projections.py +0 -0
  126. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/tuning.py +0 -0
  127. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/ui.py +0 -0
  128. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/usage/__init__.py +0 -0
  129. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/usage/commands.py +0 -0
  130. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/usage/group.py +0 -0
  131. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/usage/operations.py +0 -0
  132. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/usage/projections.py +0 -0
  133. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/ams/windows_files.py +0 -0
  134. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/cli.py +0 -0
  135. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/context.py +0 -0
  136. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/__init__.py +0 -0
  137. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/appointments.openapi.json +0 -0
  138. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/connectors.openapi.json +0 -0
  139. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/diagnostics.openapi.json +0 -0
  140. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/ehr.openapi.json +0 -0
  141. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/fieldagent.openapi.json +0 -0
  142. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/graph.openapi.json +0 -0
  143. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/mcp.openapi.json +0 -0
  144. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/ori.openapi.json +0 -0
  145. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/patient.openapi.json +0 -0
  146. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/person.openapi.json +0 -0
  147. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/provider.openapi.json +0 -0
  148. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/rppg.openapi.json +0 -0
  149. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/session.openapi.json +0 -0
  150. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/telehealth.openapi.json +0 -0
  151. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/tenantadmin.openapi.json +0 -0
  152. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/contracts/openapi/vitals.openapi.json +0 -0
  153. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/main.py +0 -0
  154. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/openapi.py +0 -0
  155. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/output.py +0 -0
  156. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/params.py +0 -0
  157. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/tenants/__init__.py +0 -0
  158. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/tenants/commands.py +0 -0
  159. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/tenants/group.py +0 -0
  160. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/healthcloud_cli/tenants/operations.py +0 -0
  161. {healthcloud_cli-3.18.2 → healthcloud_cli-3.18.4}/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.2
3
+ Version: 3.18.4
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,21 @@ 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.
1421
+ - `sessions messages add` uses the same unknown-outcome envelope for HTTP
1422
+ 408, 425, 499, or 5xx (except its explicit 501 unsupported refusal), connection
1423
+ loss, and unreadable/absent append receipts, with `data.message: null`. Run
1424
+ `hc ams sessions messages list` for the original session to check whether the
1425
+ message landed before deciding whether to retry. It sends one POST and never
1426
+ automatically reads or appends another message. Known refusals, including
1427
+ 429, retain their existing behavior.
1413
1428
  - The protected free text can also arrive from an owner-only file, which keeps it
1414
1429
  out of the command line entirely (argv, the process table under
1415
1430
  `ps`/`/proc/*/cmdline`, shell history and CI logs all see only the path):
@@ -1391,6 +1391,21 @@ 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.
1402
+ - `sessions messages add` uses the same unknown-outcome envelope for HTTP
1403
+ 408, 425, 499, or 5xx (except its explicit 501 unsupported refusal), connection
1404
+ loss, and unreadable/absent append receipts, with `data.message: null`. Run
1405
+ `hc ams sessions messages list` for the original session to check whether the
1406
+ message landed before deciding whether to retry. It sends one POST and never
1407
+ automatically reads or appends another message. Known refusals, including
1408
+ 429, retain their existing behavior.
1394
1409
  - The protected free text can also arrive from an owner-only file, which keeps it
1395
1410
  out of the command line entirely (argv, the process table under
1396
1411
  `ps`/`/proc/*/cmdline`, shell history and CI logs all see only the path):
@@ -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: the transport timed out or "
80
- "the connection was lost before the server answered. Run `hc ams sessions list` (or "
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 = (
@@ -88,17 +88,10 @@ UNKNOWN_ATTACHMENT_OUTCOME = (
88
88
  )
89
89
 
90
90
  UNKNOWN_MESSAGE_OUTCOME = (
91
- "The message write was sent once and its outcome is now unknown: the transport timed out or "
92
- "the connection was lost before the server answered. Run `hc ams sessions messages list` for "
91
+ "The message write was sent once and its outcome is now unknown. Run `hc ams sessions messages list` for "
93
92
  "this session to check whether the message landed before deciding whether to retry."
94
93
  )
95
94
 
96
- UNCONFIRMED_MESSAGE_READBACK = (
97
- "The message write was sent once, but the server response did not confirm its outcome. "
98
- "Run `hc ams sessions messages list` for this session to check whether the message landed "
99
- "before deciding whether to retry."
100
- )
101
-
102
95
  # The message route answers 201 for a first write and for an idempotency replay
103
96
  # alike, with no response field distinguishing them. The CLI therefore reports
104
97
  # the returned message as authoritative and never claims a second write.
@@ -827,6 +820,16 @@ def _not_implemented(error: BaseException, *, session: bool) -> SessionWriteRefu
827
820
  )
828
821
 
829
822
 
823
+ def _unknown_session_creation(target: TenantTarget) -> NoReturn:
824
+ unknown_write(
825
+ "sessions.create",
826
+ _target(target),
827
+ UNKNOWN_SESSION_OUTCOME,
828
+ {"session": None},
829
+ reconciliation_detail="No session was re-read after the uncertain create; run `hc ams sessions list`.",
830
+ )
831
+
832
+
830
833
  def create_session(
831
834
  dependencies: AmsDependencies,
832
835
  target: TenantTarget,
@@ -853,12 +856,17 @@ def create_session(
853
856
  file_flag="--initial-prompt-file",
854
857
  refuse=SessionWriteRefused,
855
858
  )
859
+ if mode not in ("plan", "implement"):
860
+ raise SessionWriteRefused("validation", "--mode must be plan or implement; nothing was sent.")
861
+ if agent_id is not None and not isinstance(agent_id, str):
862
+ raise SessionWriteRefused("validation", "--agent-id must be a string; nothing was sent.")
856
863
  with dependencies.authenticated_sdk_factory(target, require_saved_session=True) as sdk:
857
864
  resource = _sessions(sdk, ("create",), write=True)
858
865
  try:
859
866
  session = resource.create(agent_id=agent_id, mode=mode, initial_prompt=initial_prompt)
860
- except HealthCloudNetworkError:
861
- raise SessionWriteRefused("transport", UNKNOWN_SESSION_OUTCOME) from None
867
+ except HealthCloudNetworkError, ValueError, TypeError:
868
+ # Inputs are validated above; decoding failures can follow a committed POST.
869
+ _unknown_session_creation(target)
862
870
  except HealthCloudHTTPError as error:
863
871
  refusal = (
864
872
  _not_implemented(error, session=True)
@@ -867,7 +875,11 @@ def create_session(
867
875
  )
868
876
  if refusal is not None:
869
877
  raise refusal from error
878
+ if is_unknown_write_status(getattr(error, "status_code", None)):
879
+ _unknown_session_creation(target)
870
880
  raise
881
+ if session is None:
882
+ _unknown_session_creation(target)
871
883
  if session.tenant_id != target.tenant_id:
872
884
  raise SessionWriteRefused(
873
885
  "validation",
@@ -1333,6 +1345,16 @@ def get_plan(dependencies: AmsDependencies, target: TenantTarget, plan_id: str,
1333
1345
  )
1334
1346
 
1335
1347
 
1348
+ def _unknown_message_append(target: TenantTarget, session_id: str) -> NoReturn:
1349
+ unknown_write(
1350
+ "sessions.messages.add",
1351
+ _target(target, session_id),
1352
+ UNKNOWN_MESSAGE_OUTCOME,
1353
+ {"message": None},
1354
+ reconciliation_detail="No message was re-read after the uncertain append; run `hc ams sessions messages list`.",
1355
+ )
1356
+
1357
+
1336
1358
  def add_message(
1337
1359
  dependencies: AmsDependencies,
1338
1360
  target: TenantTarget,
@@ -1378,12 +1400,10 @@ def add_message(
1378
1400
  mode=mode,
1379
1401
  idempotency_key=idempotency_key,
1380
1402
  )
1381
- except ValueError:
1403
+ except ValueError, TypeError, HealthCloudNetworkError:
1382
1404
  # Local inputs were checked before login. Response decoding can fail
1383
1405
  # after the write, so never describe this as a no-write validation refusal.
1384
- raise SessionWriteRefused("transport", UNCONFIRMED_MESSAGE_READBACK) from None
1385
- except HealthCloudNetworkError:
1386
- raise SessionWriteRefused("transport", UNKNOWN_MESSAGE_OUTCOME) from None
1406
+ _unknown_message_append(target, session_id)
1387
1407
  except HealthCloudHTTPError as error:
1388
1408
  refusal = (
1389
1409
  _not_found(error, session_id)
@@ -1392,9 +1412,11 @@ def add_message(
1392
1412
  )
1393
1413
  if refusal is not None:
1394
1414
  raise refusal from error
1415
+ if is_unknown_write_status(getattr(error, "status_code", None)):
1416
+ _unknown_message_append(target, session_id)
1395
1417
  raise
1396
1418
  if message is None:
1397
- raise SessionWriteRefused("transport", UNCONFIRMED_MESSAGE_READBACK)
1419
+ _unknown_message_append(target, session_id)
1398
1420
  if message.tenant_id != target.tenant_id or message.session_id != session_id:
1399
1421
  raise SessionWriteRefused(
1400
1422
  "validation",
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "healthcloud-cli"
7
- version = "3.18.2"
7
+ version = "3.18.4"
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"