healthcloud-cli 3.18.4__tar.gz → 3.18.6__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.4 → healthcloud_cli-3.18.6}/PKG-INFO +47 -23
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/README.md +46 -22
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/sessions/operations.py +48 -9
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/patient.openapi.json +388 -1
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/provider.openapi.json +472 -8
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/pyproject.toml +1 -1
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/.gitignore +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/hatch_build.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/admins/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/admins/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/admins/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/admins/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/actions/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/actions/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/actions/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/actions/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/actions/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_files/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_files/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_files/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_files/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_files/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_logs/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_logs/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_logs/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_logs/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agent_logs/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agents/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agents/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agents/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agents/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/agents/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/audit/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/audit/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/audit/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/audit/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/auth.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/chat.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/chat_render.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/chat_session.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/chat_terminal.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/compatibility.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/context.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/dashboard/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/dashboard/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/dashboard/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/dashboard/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/data_sources/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/data_sources/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/data_sources/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/data_sources/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/data_sources/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/departments/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/departments/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/departments/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/departments/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/departments/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/domain_errors.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/endpoint.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/errors.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/guardrails/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/guardrails/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/guardrails/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/guardrails/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/guardrails/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/health_services/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/health_services/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/health_services/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/health_services/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/health_services/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/operations/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/operations/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/operations/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/operations/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/operations/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/organization/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/organization/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/organization/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/organization/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/organization/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/output.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/paging.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/policies/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/policies/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/policies/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/policies/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/policies/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/pretty.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/registry.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/results.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/review.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/runs/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/runs/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/runs/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/runs/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/runs/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/schedules/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/schedules/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/schedules/cron.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/schedules/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/schedules/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/schedules/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/session.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/sessions/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/sessions/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/sessions/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/sessions/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/skills/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/skills/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/skills/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/skills/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/skills/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/target.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/teams/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/teams/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/teams/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/teams/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/teams/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/tools/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/tools/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/tools/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/tools/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/tools/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/tuning.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/ui.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/usage/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/usage/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/usage/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/usage/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/usage/projections.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/windows_files.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/cli.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/appointments.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/connectors.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/diagnostics.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/ehr.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/fieldagent.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/graph.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/mcp.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/ori.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/person.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/rppg.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/session.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/telehealth.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/tenantadmin.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/contracts/openapi/vitals.openapi.json +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/openapi.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/tenants/__init__.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/tenants/commands.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/tenants/group.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/tenants/operations.py +0 -0
- {healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/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.6
|
|
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
|
|
@@ -542,11 +542,21 @@ which supports the existing SDK minimum.
|
|
|
542
542
|
Read-only agent listing, inspection and export take flags instead of a target
|
|
543
543
|
file; both may be omitted together when a matching saved session exists. Without
|
|
544
544
|
one, they log in as tenant admin using `HC_AMS_ADMIN_EMAIL` /
|
|
545
|
-
`HC_AMS_ADMIN_PASSWORD`.
|
|
546
|
-
other read domains (`operation`, `outcome`,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
545
|
+
`HC_AMS_ADMIN_PASSWORD`. With `--output json`, they emit the same versioned
|
|
546
|
+
result envelope as the other read domains (`operation`, `outcome`,
|
|
547
|
+
`schema_version`, `target`, `data`;
|
|
548
|
+
no `verification` block on reads). Read failures use the machine category
|
|
549
|
+
identifiers `validation`, `not_found`, `authentication`, `authorization`,
|
|
550
|
+
`transport`, `local_io`, `conflict`, `unsupported` and `internal`. An agent/tenant
|
|
551
|
+
identity mismatch is `validation`; a login failure is `authentication`.
|
|
552
|
+
The default `--output pretty` mode writes a line such as
|
|
553
|
+
`error: Agent 'AGENT_ID' was not found. (not_found)` to stderr.
|
|
554
|
+
`--output json` writes the structured error envelope instead. `--output raw`
|
|
555
|
+
also renders failures as JSON, but these agent reads refuse raw mode before
|
|
556
|
+
making a request.
|
|
557
|
+
Omitting the required `--agent-id` on `get` or `export` is a Click usage error:
|
|
558
|
+
exit 2 with plain usage text on stderr, without a result envelope, regardless
|
|
559
|
+
of output mode. Supply an ID to reach the missing-record behavior below.
|
|
550
560
|
Read failures are classified by what the request read, not by its status code
|
|
551
561
|
alone. A missing agent is `not_found` whether the server answers HTTP 404 or a
|
|
552
562
|
`200` that carries no record at all — a literal `null`, or a body-less `200` or
|
|
@@ -589,7 +599,7 @@ whether an agent runs from the `file` or `db` config adapter (`unknown` when the
|
|
|
589
599
|
server does not say). `export` first re-checks the agent/tenant identity, then
|
|
590
600
|
saves the server's own JSON/YAML export byte-for-byte to a new owner-only `--out`
|
|
591
601
|
file (exact bytes preserved), refusing (and leaving no file) when the body is
|
|
592
|
-
not valid UTF-8; its
|
|
602
|
+
not valid UTF-8; its JSON output reports the envelope with the file `path`, `format`
|
|
593
603
|
and `sha256` under `data` and the `agent_id` in `target`. `export`
|
|
594
604
|
needs an AMS build that serves `/agents/{agent_id}/configuration/export`; that
|
|
595
605
|
route is not yet deployed to dev, where its 404 is reported as the `unsupported`
|
|
@@ -602,7 +612,7 @@ uv run --frozen hc ams agents export --environment dev --tenant-id TENANT_ID --a
|
|
|
602
612
|
--format yaml --out agent.yaml
|
|
603
613
|
```
|
|
604
614
|
|
|
605
|
-
For example, `hc ams agents list` succeeds with (formatted for readability):
|
|
615
|
+
For example, `hc --output json ams agents list` succeeds with (formatted for readability):
|
|
606
616
|
|
|
607
617
|
```json
|
|
608
618
|
{"schema_version": 1, "operation": "agents.list", "outcome": "succeeded",
|
|
@@ -611,8 +621,10 @@ For example, `hc ams agents list` succeeds with (formatted for readability):
|
|
|
611
621
|
"page": {"kind": "unpaged", "returned_count": 1, "continuation": null}}}
|
|
612
622
|
```
|
|
613
623
|
|
|
614
|
-
and
|
|
615
|
-
|
|
624
|
+
and `hc --output json ams agents get --agent-id AGENT_ID` for an agent the
|
|
625
|
+
tenant does not have — an HTTP 404, or a `200` with a null or empty body —
|
|
626
|
+
fails with one envelope on stderr and exit 1 (using the saved session or the
|
|
627
|
+
explicit target flags shown above):
|
|
616
628
|
|
|
617
629
|
```json
|
|
618
630
|
{"schema_version": 1, "operation": "agents.get", "outcome": "failed",
|
|
@@ -1557,13 +1569,18 @@ uv run --frozen hc ams sessions attachments delete --environment dev --tenant-id
|
|
|
1557
1569
|
effect. The DELETE itself is sent exactly once. A missing
|
|
1558
1570
|
session, or an attachment ID that is not attached to the session, is a
|
|
1559
1571
|
`not_found` refusal; nothing is removed.
|
|
1560
|
-
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1572
|
+
- After the preflight, HTTP 408, 425, 499, or 5xx, connection loss, or an
|
|
1573
|
+
unreadable mutation response produces `outcome: unknown`, with
|
|
1574
|
+
`verification.saved_state: unknown`, `data.mutation_replayed: false`, and
|
|
1575
|
+
`data.reconciliation.status: not_read`. An absent upload receipt is unknown
|
|
1576
|
+
too; a successful bodyless 204 DELETE retains the behavior described above.
|
|
1577
|
+
The error points to `hc ams sessions attachments list` for the original
|
|
1578
|
+
session. There is no automatic read or retry after the mutation. An uncertain
|
|
1579
|
+
delete reports `data.effect: null` and `data.effect_confirmed: false`.
|
|
1580
|
+
A failed preflight sends no attachment mutation. Local/preflight refusals
|
|
1581
|
+
send no message, plan request or model call. Known status refusals retain
|
|
1582
|
+
their existing behavior, and a landed upload readback in another tenant
|
|
1583
|
+
remains a `validation` refusal.
|
|
1567
1584
|
- Attachment commands refuse target files, root credentials or base URLs, raw
|
|
1568
1585
|
output, blank or dot-segment session and attachment IDs, and installed SDKs
|
|
1569
1586
|
without the attachment list/upload/delete methods before tenant-admin login
|
|
@@ -1684,18 +1701,25 @@ uv run --frozen hc ams sessions plans reconcile --environment dev --tenant-id TE
|
|
|
1684
1701
|
`department_id` and `team_id` values remain unchanged in the review's
|
|
1685
1702
|
`definition`, so the operator still sees the proposed value.
|
|
1686
1703
|
- Server answers are preserved, not replaced: a missing, expired or other
|
|
1687
|
-
user's session or plan is a `not_found` refusal naming it
|
|
1688
|
-
|
|
1704
|
+
user's session or plan is a `not_found` refusal naming it. A plan reload
|
|
1705
|
+
(`get`) that answers `503` is a `transport` read failure with no file written.
|
|
1706
|
+
A `422` from
|
|
1689
1707
|
the plan route is a `validation` refusal, but its detail is only quoted when
|
|
1690
1708
|
it is a known static contract message that carries no field values — the
|
|
1691
1709
|
documented `"a prompt is required for agent creation"`. Any other `422`
|
|
1692
1710
|
detail can quote protected field values, exactly like `validation_errors`
|
|
1693
1711
|
and blocking review findings, so it is reported by category only and you read
|
|
1694
|
-
it in the AMS console. A dropped connection
|
|
1695
|
-
|
|
1712
|
+
it in the AMS console. A dropped connection or HTTP `408`, `425`, `499` or
|
|
1713
|
+
`5xx` after the generation POST reports `outcome: unknown` with category
|
|
1714
|
+
`transport`, `verification.saved_state: unknown`, unverified side effects/runtime,
|
|
1715
|
+
`data.mutation_replayed: false` and `data.reconciliation.status: not_read`.
|
|
1716
|
+
The planner may have run even when the response is `503`; no review file is
|
|
1717
|
+
left behind and the command exits 1. Recovery guidance points at
|
|
1696
1718
|
`hc ams sessions plans list --session-id SESSION_ID`, followed by an exact
|
|
1697
|
-
`plans get` review
|
|
1698
|
-
request
|
|
1719
|
+
`plans get` review; include the original `--idempotency-key` when discovering
|
|
1720
|
+
a keyed request. Empty discovery results do not authorize replay. The command
|
|
1721
|
+
never automatically re-sends or re-reads. Known `400`, `401`, `403`, `404`,
|
|
1722
|
+
`409`, `422` and `429` refusals retain their existing categories and wording.
|
|
1699
1723
|
- Both commands refuse target files, root credentials or base URLs, raw output,
|
|
1700
1724
|
blank or dot-segment session and plan IDs, a prompt file that is not a
|
|
1701
1725
|
readable owner-only regular file, and installed SDKs without the plan
|
|
@@ -523,11 +523,21 @@ which supports the existing SDK minimum.
|
|
|
523
523
|
Read-only agent listing, inspection and export take flags instead of a target
|
|
524
524
|
file; both may be omitted together when a matching saved session exists. Without
|
|
525
525
|
one, they log in as tenant admin using `HC_AMS_ADMIN_EMAIL` /
|
|
526
|
-
`HC_AMS_ADMIN_PASSWORD`.
|
|
527
|
-
other read domains (`operation`, `outcome`,
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
526
|
+
`HC_AMS_ADMIN_PASSWORD`. With `--output json`, they emit the same versioned
|
|
527
|
+
result envelope as the other read domains (`operation`, `outcome`,
|
|
528
|
+
`schema_version`, `target`, `data`;
|
|
529
|
+
no `verification` block on reads). Read failures use the machine category
|
|
530
|
+
identifiers `validation`, `not_found`, `authentication`, `authorization`,
|
|
531
|
+
`transport`, `local_io`, `conflict`, `unsupported` and `internal`. An agent/tenant
|
|
532
|
+
identity mismatch is `validation`; a login failure is `authentication`.
|
|
533
|
+
The default `--output pretty` mode writes a line such as
|
|
534
|
+
`error: Agent 'AGENT_ID' was not found. (not_found)` to stderr.
|
|
535
|
+
`--output json` writes the structured error envelope instead. `--output raw`
|
|
536
|
+
also renders failures as JSON, but these agent reads refuse raw mode before
|
|
537
|
+
making a request.
|
|
538
|
+
Omitting the required `--agent-id` on `get` or `export` is a Click usage error:
|
|
539
|
+
exit 2 with plain usage text on stderr, without a result envelope, regardless
|
|
540
|
+
of output mode. Supply an ID to reach the missing-record behavior below.
|
|
531
541
|
Read failures are classified by what the request read, not by its status code
|
|
532
542
|
alone. A missing agent is `not_found` whether the server answers HTTP 404 or a
|
|
533
543
|
`200` that carries no record at all — a literal `null`, or a body-less `200` or
|
|
@@ -570,7 +580,7 @@ whether an agent runs from the `file` or `db` config adapter (`unknown` when the
|
|
|
570
580
|
server does not say). `export` first re-checks the agent/tenant identity, then
|
|
571
581
|
saves the server's own JSON/YAML export byte-for-byte to a new owner-only `--out`
|
|
572
582
|
file (exact bytes preserved), refusing (and leaving no file) when the body is
|
|
573
|
-
not valid UTF-8; its
|
|
583
|
+
not valid UTF-8; its JSON output reports the envelope with the file `path`, `format`
|
|
574
584
|
and `sha256` under `data` and the `agent_id` in `target`. `export`
|
|
575
585
|
needs an AMS build that serves `/agents/{agent_id}/configuration/export`; that
|
|
576
586
|
route is not yet deployed to dev, where its 404 is reported as the `unsupported`
|
|
@@ -583,7 +593,7 @@ uv run --frozen hc ams agents export --environment dev --tenant-id TENANT_ID --a
|
|
|
583
593
|
--format yaml --out agent.yaml
|
|
584
594
|
```
|
|
585
595
|
|
|
586
|
-
For example, `hc ams agents list` succeeds with (formatted for readability):
|
|
596
|
+
For example, `hc --output json ams agents list` succeeds with (formatted for readability):
|
|
587
597
|
|
|
588
598
|
```json
|
|
589
599
|
{"schema_version": 1, "operation": "agents.list", "outcome": "succeeded",
|
|
@@ -592,8 +602,10 @@ For example, `hc ams agents list` succeeds with (formatted for readability):
|
|
|
592
602
|
"page": {"kind": "unpaged", "returned_count": 1, "continuation": null}}}
|
|
593
603
|
```
|
|
594
604
|
|
|
595
|
-
and
|
|
596
|
-
|
|
605
|
+
and `hc --output json ams agents get --agent-id AGENT_ID` for an agent the
|
|
606
|
+
tenant does not have — an HTTP 404, or a `200` with a null or empty body —
|
|
607
|
+
fails with one envelope on stderr and exit 1 (using the saved session or the
|
|
608
|
+
explicit target flags shown above):
|
|
597
609
|
|
|
598
610
|
```json
|
|
599
611
|
{"schema_version": 1, "operation": "agents.get", "outcome": "failed",
|
|
@@ -1538,13 +1550,18 @@ uv run --frozen hc ams sessions attachments delete --environment dev --tenant-id
|
|
|
1538
1550
|
effect. The DELETE itself is sent exactly once. A missing
|
|
1539
1551
|
session, or an attachment ID that is not attached to the session, is a
|
|
1540
1552
|
`not_found` refusal; nothing is removed.
|
|
1541
|
-
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1553
|
+
- After the preflight, HTTP 408, 425, 499, or 5xx, connection loss, or an
|
|
1554
|
+
unreadable mutation response produces `outcome: unknown`, with
|
|
1555
|
+
`verification.saved_state: unknown`, `data.mutation_replayed: false`, and
|
|
1556
|
+
`data.reconciliation.status: not_read`. An absent upload receipt is unknown
|
|
1557
|
+
too; a successful bodyless 204 DELETE retains the behavior described above.
|
|
1558
|
+
The error points to `hc ams sessions attachments list` for the original
|
|
1559
|
+
session. There is no automatic read or retry after the mutation. An uncertain
|
|
1560
|
+
delete reports `data.effect: null` and `data.effect_confirmed: false`.
|
|
1561
|
+
A failed preflight sends no attachment mutation. Local/preflight refusals
|
|
1562
|
+
send no message, plan request or model call. Known status refusals retain
|
|
1563
|
+
their existing behavior, and a landed upload readback in another tenant
|
|
1564
|
+
remains a `validation` refusal.
|
|
1548
1565
|
- Attachment commands refuse target files, root credentials or base URLs, raw
|
|
1549
1566
|
output, blank or dot-segment session and attachment IDs, and installed SDKs
|
|
1550
1567
|
without the attachment list/upload/delete methods before tenant-admin login
|
|
@@ -1665,18 +1682,25 @@ uv run --frozen hc ams sessions plans reconcile --environment dev --tenant-id TE
|
|
|
1665
1682
|
`department_id` and `team_id` values remain unchanged in the review's
|
|
1666
1683
|
`definition`, so the operator still sees the proposed value.
|
|
1667
1684
|
- Server answers are preserved, not replaced: a missing, expired or other
|
|
1668
|
-
user's session or plan is a `not_found` refusal naming it
|
|
1669
|
-
|
|
1685
|
+
user's session or plan is a `not_found` refusal naming it. A plan reload
|
|
1686
|
+
(`get`) that answers `503` is a `transport` read failure with no file written.
|
|
1687
|
+
A `422` from
|
|
1670
1688
|
the plan route is a `validation` refusal, but its detail is only quoted when
|
|
1671
1689
|
it is a known static contract message that carries no field values — the
|
|
1672
1690
|
documented `"a prompt is required for agent creation"`. Any other `422`
|
|
1673
1691
|
detail can quote protected field values, exactly like `validation_errors`
|
|
1674
1692
|
and blocking review findings, so it is reported by category only and you read
|
|
1675
|
-
it in the AMS console. A dropped connection
|
|
1676
|
-
|
|
1693
|
+
it in the AMS console. A dropped connection or HTTP `408`, `425`, `499` or
|
|
1694
|
+
`5xx` after the generation POST reports `outcome: unknown` with category
|
|
1695
|
+
`transport`, `verification.saved_state: unknown`, unverified side effects/runtime,
|
|
1696
|
+
`data.mutation_replayed: false` and `data.reconciliation.status: not_read`.
|
|
1697
|
+
The planner may have run even when the response is `503`; no review file is
|
|
1698
|
+
left behind and the command exits 1. Recovery guidance points at
|
|
1677
1699
|
`hc ams sessions plans list --session-id SESSION_ID`, followed by an exact
|
|
1678
|
-
`plans get` review
|
|
1679
|
-
request
|
|
1700
|
+
`plans get` review; include the original `--idempotency-key` when discovering
|
|
1701
|
+
a keyed request. Empty discovery results do not authorize replay. The command
|
|
1702
|
+
never automatically re-sends or re-reads. Known `400`, `401`, `403`, `404`,
|
|
1703
|
+
`409`, `422` and `429` refusals retain their existing categories and wording.
|
|
1680
1704
|
- Both commands refuse target files, root credentials or base URLs, raw output,
|
|
1681
1705
|
blank or dot-segment session and plan IDs, a prompt file that is not a
|
|
1682
1706
|
readable owner-only regular file, and installed SDKs without the plan
|
{healthcloud_cli-3.18.4 → healthcloud_cli-3.18.6}/healthcloud_cli/ams/sessions/operations.py
RENAMED
|
@@ -82,8 +82,7 @@ UNKNOWN_SESSION_OUTCOME = (
|
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
UNKNOWN_ATTACHMENT_OUTCOME = (
|
|
85
|
-
"The attachment write was sent once and its outcome is now unknown
|
|
86
|
-
"or the connection was lost before the server answered. Run `hc ams sessions attachments "
|
|
85
|
+
"The attachment write was sent once and its outcome is now unknown. Run `hc ams sessions attachments "
|
|
87
86
|
"list` for this session to see the current server state before deciding whether to retry."
|
|
88
87
|
)
|
|
89
88
|
|
|
@@ -185,6 +184,9 @@ def _attachment_file(path: str) -> tuple[str, bytes]:
|
|
|
185
184
|
if not isinstance(path, str) or not path.strip():
|
|
186
185
|
raise SessionWriteRefused("validation", "Explicit attachment file path required.")
|
|
187
186
|
file = Path(path)
|
|
187
|
+
sdk_filename = file.name.replace("\\", "/").rsplit("/", 1)[-1].strip()
|
|
188
|
+
if sdk_filename in ("", ".", ".."):
|
|
189
|
+
raise SessionWriteRefused("validation", "Attachment filename is invalid; nothing was sent.")
|
|
188
190
|
if not file.is_file():
|
|
189
191
|
raise SessionWriteRefused("local_io", f"Attachment file '{file.name}' does not exist or is not a file.")
|
|
190
192
|
if file.stat().st_size > ATTACHMENT_MAX_BYTES:
|
|
@@ -295,8 +297,8 @@ def _is_attachment_file_action(action) -> bool:
|
|
|
295
297
|
|
|
296
298
|
|
|
297
299
|
UNKNOWN_PLAN_OUTCOME = (
|
|
298
|
-
"The plan request was sent once
|
|
299
|
-
"
|
|
300
|
+
"The plan request was sent once, but its outcome is unknown: no authoritative plan receipt "
|
|
301
|
+
"was observed, and the planner may have run. "
|
|
300
302
|
"Run `hc ams sessions plans list --session-id <session-id>` to discover stored plan IDs; "
|
|
301
303
|
"include the original --idempotency-key if supplied. Then use `hc ams sessions plans get` "
|
|
302
304
|
"to review an exact plan. Empty results do not prove generation failed. Do not replay "
|
|
@@ -997,6 +999,22 @@ def list_attachments(dependencies: AmsDependencies, target: TenantTarget, sessio
|
|
|
997
999
|
)
|
|
998
1000
|
|
|
999
1001
|
|
|
1002
|
+
def _unknown_attachment_write(target: TenantTarget, session_id: str, attachment_id: str | None = None) -> NoReturn:
|
|
1003
|
+
deleting = attachment_id is not None
|
|
1004
|
+
data = (
|
|
1005
|
+
{"attachment_id": attachment_id, "effect": None, "effect_confirmed": False}
|
|
1006
|
+
if deleting
|
|
1007
|
+
else {"attachment": None}
|
|
1008
|
+
)
|
|
1009
|
+
unknown_write(
|
|
1010
|
+
"sessions.attachments.delete" if deleting else "sessions.attachments.upload",
|
|
1011
|
+
_target(target, session_id),
|
|
1012
|
+
UNKNOWN_ATTACHMENT_OUTCOME,
|
|
1013
|
+
data,
|
|
1014
|
+
reconciliation_detail="No attachment was re-read after the uncertain write; run `hc ams sessions attachments list`.",
|
|
1015
|
+
)
|
|
1016
|
+
|
|
1017
|
+
|
|
1000
1018
|
def upload_attachment(dependencies: AmsDependencies, target: TenantTarget, session_id: str, *, file_path: str) -> dict:
|
|
1001
1019
|
"""Upload one file; the envelope carries the server's authoritative readback.
|
|
1002
1020
|
|
|
@@ -1038,13 +1056,17 @@ def upload_attachment(dependencies: AmsDependencies, target: TenantTarget, sessi
|
|
|
1038
1056
|
content=content,
|
|
1039
1057
|
content_type=ATTACHMENT_CONTENT_TYPES.get(_attachment_suffix(filename), "application/octet-stream"),
|
|
1040
1058
|
)
|
|
1041
|
-
except HealthCloudNetworkError:
|
|
1042
|
-
|
|
1059
|
+
except HealthCloudNetworkError, ValueError, TypeError:
|
|
1060
|
+
_unknown_attachment_write(target, session_id)
|
|
1043
1061
|
except HealthCloudHTTPError as error:
|
|
1044
1062
|
refusal = _attachment_write_refusal(error, session_id, None)
|
|
1045
1063
|
if refusal is not None:
|
|
1046
1064
|
raise refusal from error
|
|
1065
|
+
if is_unknown_write_status(getattr(error, "status_code", None)):
|
|
1066
|
+
_unknown_attachment_write(target, session_id)
|
|
1047
1067
|
raise
|
|
1068
|
+
if attachment is None:
|
|
1069
|
+
_unknown_attachment_write(target, session_id)
|
|
1048
1070
|
if attachment.tenant_id != target.tenant_id:
|
|
1049
1071
|
raise SessionWriteRefused(
|
|
1050
1072
|
"validation",
|
|
@@ -1099,12 +1121,14 @@ def delete_attachment(dependencies: AmsDependencies, target: TenantTarget, sessi
|
|
|
1099
1121
|
resource = _attachments(sdk, ("delete",), write=True)
|
|
1100
1122
|
try:
|
|
1101
1123
|
resource.delete(session_id, attachment_id)
|
|
1102
|
-
except HealthCloudNetworkError:
|
|
1103
|
-
|
|
1124
|
+
except HealthCloudNetworkError, ValueError, TypeError:
|
|
1125
|
+
_unknown_attachment_write(target, session_id, attachment_id)
|
|
1104
1126
|
except HealthCloudHTTPError as error:
|
|
1105
1127
|
refusal = _attachment_write_refusal(error, session_id, attachment_id)
|
|
1106
1128
|
if refusal is not None:
|
|
1107
1129
|
raise refusal from error
|
|
1130
|
+
if is_unknown_write_status(getattr(error, "status_code", None)):
|
|
1131
|
+
_unknown_attachment_write(target, session_id, attachment_id)
|
|
1108
1132
|
raise
|
|
1109
1133
|
if preflight_agent_id:
|
|
1110
1134
|
effect = "detached"
|
|
@@ -1138,6 +1162,19 @@ def delete_attachment(dependencies: AmsDependencies, target: TenantTarget, sessi
|
|
|
1138
1162
|
# --- Exact plan review orchestration (#842) ---
|
|
1139
1163
|
|
|
1140
1164
|
|
|
1165
|
+
def _unknown_plan_generation(target: TenantTarget, session_id: str) -> NoReturn:
|
|
1166
|
+
unknown_write(
|
|
1167
|
+
"sessions.plans.generate",
|
|
1168
|
+
_target(target, session_id),
|
|
1169
|
+
UNKNOWN_PLAN_OUTCOME,
|
|
1170
|
+
{"plan": None},
|
|
1171
|
+
reconciliation_detail=(
|
|
1172
|
+
"No plan was re-read after the uncertain generation; run `hc ams sessions plans list` "
|
|
1173
|
+
"and review an exact plan with `hc ams sessions plans get`."
|
|
1174
|
+
),
|
|
1175
|
+
)
|
|
1176
|
+
|
|
1177
|
+
|
|
1141
1178
|
def generate_plan(
|
|
1142
1179
|
dependencies: AmsDependencies,
|
|
1143
1180
|
target: TenantTarget,
|
|
@@ -1177,8 +1214,10 @@ def generate_plan(
|
|
|
1177
1214
|
idempotency_key=idempotency_key,
|
|
1178
1215
|
)
|
|
1179
1216
|
except HealthCloudNetworkError:
|
|
1180
|
-
|
|
1217
|
+
_unknown_plan_generation(target, session_id)
|
|
1181
1218
|
except HealthCloudHTTPError as error:
|
|
1219
|
+
if is_unknown_write_status(getattr(error, "status_code", None)):
|
|
1220
|
+
_unknown_plan_generation(target, session_id)
|
|
1182
1221
|
refusal = _plan_write_refusal(error, kind="generate", session_id=session_id, plan_id=None)
|
|
1183
1222
|
if refusal is not None:
|
|
1184
1223
|
raise refusal from error
|