healthcloud-cli 2.1.0__tar.gz → 3.0.0__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-2.1.0 → healthcloud_cli-3.0.0}/.gitignore +23 -2
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/PKG-INFO +17 -23
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/README.md +14 -20
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/contracts/mcp-tools.manifest.json +1183 -13
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/pyproject.toml +17 -3
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/hatch_build.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/cli.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/manifest.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/healthcloud_cli/util.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/scripts/__init__.py +0 -0
- {healthcloud_cli-2.1.0 → healthcloud_cli-3.0.0}/scripts/bundle_manifest.py +0 -0
|
@@ -17,8 +17,6 @@ node_modules/
|
|
|
17
17
|
.npm/
|
|
18
18
|
.pnpm-store/
|
|
19
19
|
dist/
|
|
20
|
-
!packages/npm/dist/
|
|
21
|
-
!packages/npm/dist/**
|
|
22
20
|
build/
|
|
23
21
|
|
|
24
22
|
# packages/cli/npm bundles the manifest from packages/cli/contracts at build/
|
|
@@ -83,3 +81,26 @@ temp/
|
|
|
83
81
|
|
|
84
82
|
# Disposable OpenAPI Generator staging and C#/Java sanity outputs
|
|
85
83
|
.generated/
|
|
84
|
+
|
|
85
|
+
# Immutable S3-publish release snapshots and the latest-release pointer are
|
|
86
|
+
# build/publish artifacts, generated on demand by `npm run docs:release` /
|
|
87
|
+
# `npm run docs:publish` -- docs-data/v1 (committed) remains the Portal-facing
|
|
88
|
+
# source of truth in this repo.
|
|
89
|
+
docs-data/releases/
|
|
90
|
+
docs-data/latest.json
|
|
91
|
+
|
|
92
|
+
# ── Generated documentation ──────────────────────────────────────────────
|
|
93
|
+
# The pip packages force-include docs/ (hatchling errors outright if it is
|
|
94
|
+
# absent), so those two keep a .gitkeep and are populated by docs:build.
|
|
95
|
+
#
|
|
96
|
+
# Built by `npm run docs:build` from contracts/pinned + the SDK source, and
|
|
97
|
+
# published to S3 by .github/workflows/docs-publish.yml. The package publish
|
|
98
|
+
# workflows regenerate packages/*/docs before packaging, because the package
|
|
99
|
+
# manifests ship it. None of it is source -- do not commit it.
|
|
100
|
+
docs-data/v1/
|
|
101
|
+
packages/npm/docs/
|
|
102
|
+
packages/pip/docs/*
|
|
103
|
+
!packages/pip/docs/.gitkeep
|
|
104
|
+
packages/npm-tenantadmin/docs/
|
|
105
|
+
packages/pip-tenantadmin/docs/*
|
|
106
|
+
!packages/pip-tenantadmin/docs/.gitkeep
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: healthcloud-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Command-line interface for the HealthCloud MCP gateway, generated from the shared MCP tool manifest.
|
|
5
5
|
Author: Healthcheck Systems Inc
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Keywords: cli,health-cloud,healthcare,healthcloud,mcp
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.13
|
|
9
9
|
Requires-Dist: click>=8.1
|
|
10
10
|
Requires-Dist: healthcloud-sdk>=0.9.0
|
|
11
11
|
Provides-Extra: dev
|
|
12
|
-
Requires-Dist: pytest>=
|
|
12
|
+
Requires-Dist: pytest>=9.0.3; extra == 'dev'
|
|
13
13
|
Requires-Dist: respx>=0.21; extra == 'dev'
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
|
|
16
16
|
# healthcloud-cli
|
|
17
17
|
|
|
18
|
+
Requires **Python 3.13 or newer**. Python 3.9–3.12 are no longer supported.
|
|
19
|
+
|
|
18
20
|
`hc` is the HealthCloud MCP gateway CLI. It has exactly one subcommand per
|
|
19
21
|
MCP tool -- **996 commands across 12 audiences** (`patient`, `fieldagent`,
|
|
20
22
|
`ehr`, `vitals`, `diagnostics`, `appointments`, `graph`, `person`,
|
|
@@ -35,26 +37,18 @@ work against the MCP gateway.
|
|
|
35
37
|
|
|
36
38
|
## Local development
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
package
|
|
40
|
+
Use uv 0.12.5 and Python 3.13. The package's uv source override installs the
|
|
41
|
+
SDK checkout in editable mode; its committed lock includes the test and build
|
|
42
|
+
tools. Released package consumers can still use pip.
|
|
41
43
|
|
|
42
44
|
```bash
|
|
43
45
|
cd packages/cli/pip
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
# 3. Run the test suite
|
|
52
|
-
python -m pytest
|
|
53
|
-
|
|
54
|
-
# 4. Try it
|
|
55
|
-
hc --help
|
|
56
|
-
hc mcp tools list --audience patient
|
|
57
|
-
hc mcp patient get-patient --help
|
|
46
|
+
uv lock --check
|
|
47
|
+
uv sync --frozen --extra dev
|
|
48
|
+
uv run --frozen --extra dev python -m pytest
|
|
49
|
+
uv run --frozen hc --help
|
|
50
|
+
uv run --frozen hc mcp tools list --audience patient
|
|
51
|
+
uv run --frozen hc mcp patient get-patient --help
|
|
58
52
|
```
|
|
59
53
|
|
|
60
54
|
The bundled tool manifest (`healthcloud_cli/contracts/mcp-tools.manifest.json`)
|
|
@@ -241,7 +235,7 @@ pipeable in every mode.
|
|
|
241
235
|
## Building
|
|
242
236
|
|
|
243
237
|
```bash
|
|
244
|
-
|
|
245
|
-
python -m build
|
|
246
|
-
python -m zipfile -l dist/*.whl # confirm the bundled manifest is included
|
|
238
|
+
uv lock --check
|
|
239
|
+
uv run --frozen python -m build --no-isolation
|
|
240
|
+
uv run --frozen python -m zipfile -l dist/*.whl # confirm the bundled manifest is included
|
|
247
241
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# healthcloud-cli
|
|
2
2
|
|
|
3
|
+
Requires **Python 3.13 or newer**. Python 3.9–3.12 are no longer supported.
|
|
4
|
+
|
|
3
5
|
`hc` is the HealthCloud MCP gateway CLI. It has exactly one subcommand per
|
|
4
6
|
MCP tool -- **996 commands across 12 audiences** (`patient`, `fieldagent`,
|
|
5
7
|
`ehr`, `vitals`, `diagnostics`, `appointments`, `graph`, `person`,
|
|
@@ -20,26 +22,18 @@ work against the MCP gateway.
|
|
|
20
22
|
|
|
21
23
|
## Local development
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
package
|
|
25
|
+
Use uv 0.12.5 and Python 3.13. The package's uv source override installs the
|
|
26
|
+
SDK checkout in editable mode; its committed lock includes the test and build
|
|
27
|
+
tools. Released package consumers can still use pip.
|
|
26
28
|
|
|
27
29
|
```bash
|
|
28
30
|
cd packages/cli/pip
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
# 3. Run the test suite
|
|
37
|
-
python -m pytest
|
|
38
|
-
|
|
39
|
-
# 4. Try it
|
|
40
|
-
hc --help
|
|
41
|
-
hc mcp tools list --audience patient
|
|
42
|
-
hc mcp patient get-patient --help
|
|
31
|
+
uv lock --check
|
|
32
|
+
uv sync --frozen --extra dev
|
|
33
|
+
uv run --frozen --extra dev python -m pytest
|
|
34
|
+
uv run --frozen hc --help
|
|
35
|
+
uv run --frozen hc mcp tools list --audience patient
|
|
36
|
+
uv run --frozen hc mcp patient get-patient --help
|
|
43
37
|
```
|
|
44
38
|
|
|
45
39
|
The bundled tool manifest (`healthcloud_cli/contracts/mcp-tools.manifest.json`)
|
|
@@ -226,7 +220,7 @@ pipeable in every mode.
|
|
|
226
220
|
## Building
|
|
227
221
|
|
|
228
222
|
```bash
|
|
229
|
-
|
|
230
|
-
python -m build
|
|
231
|
-
python -m zipfile -l dist/*.whl # confirm the bundled manifest is included
|
|
223
|
+
uv lock --check
|
|
224
|
+
uv run --frozen python -m build --no-isolation
|
|
225
|
+
uv run --frozen python -m zipfile -l dist/*.whl # confirm the bundled manifest is included
|
|
232
226
|
```
|