cap-sdk-python 2.16.1__py3-none-any.whl → 2.17.0__py3-none-any.whl
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.
- {cap_sdk_python-2.16.1.dist-info → cap_sdk_python-2.17.0.dist-info}/METADATA +3 -3
- {cap_sdk_python-2.16.1.dist-info → cap_sdk_python-2.17.0.dist-info}/RECORD +5 -5
- {cap_sdk_python-2.16.1.dist-info → cap_sdk_python-2.17.0.dist-info}/WHEEL +0 -0
- {cap_sdk_python-2.16.1.dist-info → cap_sdk_python-2.17.0.dist-info}/licenses/LICENSE +0 -0
- {cap_sdk_python-2.16.1.dist-info → cap_sdk_python-2.17.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cap-sdk-python
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.17.0
|
|
4
4
|
Summary: CAP (Cordum Agent Protocol) Python SDK
|
|
5
5
|
Author-email: Cordum <eng@cordum.io>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -59,7 +59,7 @@ Scheduler/Safety path (see `docs/reference.md`).
|
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
python -m venv .venv && . .venv/bin/activate
|
|
62
|
-
pip install cap-sdk-python==2.
|
|
62
|
+
pip install cap-sdk-python==2.16.1 nats-py
|
|
63
63
|
# add echo.py below, then:
|
|
64
64
|
python echo.py
|
|
65
65
|
```
|
|
@@ -240,7 +240,7 @@ asyncio.run(agent.run())
|
|
|
240
240
|
|
|
241
241
|
### Authenticated worker trust
|
|
242
242
|
|
|
243
|
-
-
|
|
243
|
+
- `Agent` accepts `worker_trust_mode`, `worker_trust`, bounded timeout/retry/renewal tuning, or the `CORDUM_SDK_HANDSHAKE` mode. `warn`/`enforce` require a complete `WorkerTrustConfig` with enrolled identities, exact audience, active P-256 proof key, scheduler identity/pins, and SDK version.
|
|
244
244
|
- Omitting every trust option retains legacy `off` for source compatibility. Once configuration or tuning is present, mode is explicit and `off` rejects dormant material; use `warn` only for visible migration and `enforce` for fail-closed admission.
|
|
245
245
|
- Before handlers, the runtime uses bounded protobuf request/reply on `sys.worker.handshake.challenge` and `sys.worker.handshake.authenticate`, verifies the pinned scheduler, installs and attaches the opaque token, and renews with the current token. It never falls back to ISSUE; expired, revoked, superseded, wrong-audience, or binding-mismatched sessions are invalid.
|
|
246
246
|
- Enroll/rotate through an authenticated control plane: register only the public key, retain the private key in the worker, overlap scheduler pins, then revoke old authoritative key/session records.
|
|
@@ -47,8 +47,8 @@ cap/pb/cordum/agent/v1/policy_pb2.py,sha256=NC_8kxr3TNYcIrX2vZKmAx3Nf84P9XKuJI29
|
|
|
47
47
|
cap/pb/cordum/agent/v1/policy_pb2_grpc.py,sha256=WlOGY9K07V64cbIdvsVxi6ZTf_vlCJ8t2QaUUzK603g,3851
|
|
48
48
|
cap/pb/cordum/agent/v1/safety_pb2.py,sha256=h_NNYuyvEK-BeGRytOaE-9cua57rNciXxuzOtlmUx34,7972
|
|
49
49
|
cap/pb/cordum/agent/v1/safety_pb2_grpc.py,sha256=EseblSRy0cjwEIfBJEqNAYCs3e6rDXD6AD0_-R_ABxg,11138
|
|
50
|
-
cap_sdk_python-2.
|
|
51
|
-
cap_sdk_python-2.
|
|
52
|
-
cap_sdk_python-2.
|
|
53
|
-
cap_sdk_python-2.
|
|
54
|
-
cap_sdk_python-2.
|
|
50
|
+
cap_sdk_python-2.17.0.dist-info/licenses/LICENSE,sha256=UBEFPe8Il-ROxaLj3WAujoWZVk0yrlGzIsw_12eXNis,10782
|
|
51
|
+
cap_sdk_python-2.17.0.dist-info/METADATA,sha256=vjbgq9ctkdQS9VZhlBR-s2V9EgtsZpf7pxl8hjhDa_0,15614
|
|
52
|
+
cap_sdk_python-2.17.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
53
|
+
cap_sdk_python-2.17.0.dist-info/top_level.txt,sha256=qxhYc8OLN_S4weP5JNZZS6AcItv-ROB6MP45aCYx5qE,4
|
|
54
|
+
cap_sdk_python-2.17.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|