ct-toolkit 0.4.1__tar.gz → 0.4.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.
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/PKG-INFO +3 -4
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/README.md +2 -3
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/__init__.py +1 -1
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/provenance/log.py +5 -3
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit.egg-info/PKG-INFO +3 -4
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/pyproject.toml +6 -1
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/LICENSE +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/__main__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/cli.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/async_wrapper.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/circuit_breaker.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/compatibility.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/compression_guard.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/exceptions.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/integrity.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/kernel.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/core/wrapper.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/analysis.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/engine.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/l2_judge.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/l3_icm.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/loss.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/divergence/scheduler.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/endorsement/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/endorsement/probes/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/endorsement/reflective.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/embedding.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/templates/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/templates/defense.yaml +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/templates/finance.yaml +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/templates/general.yaml +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/identity/templates/medical.yaml +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/kernels/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/kernels/default.yaml +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/kernels/defense.yaml +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/middleware/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/middleware/autogen.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/middleware/crewai.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/middleware/deepagents.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/middleware/langchain.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/middleware/litellm.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/profile_checksums.sha256 +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/provenance/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/provenance/vault/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/server.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/utils/__init__.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/utils/logger.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/utils/metrics.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/utils/sensitive_masker.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit/utils/telemetry.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit.egg-info/SOURCES.txt +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit.egg-info/dependency_links.txt +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit.egg-info/entry_points.txt +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit.egg-info/requires.txt +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/ct_toolkit.egg-info/top_level.txt +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/setup.cfg +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_analysis.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_async_and_streaming.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_background_latency.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_cli.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_cli_extended.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_deep_agents_integration.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_distributed_headers_and_cli.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_enterprise_db_and_otel.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_l1_semantic.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_loss.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_optional_dependencies.py +0 -0
- {ct_toolkit-0.4.1 → ct_toolkit-0.4.3}/tests/test_summarization_drift.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ct-toolkit
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Computational Theseus Toolkit — Identity Continuity Guardrails for Agentic Systems
|
|
5
5
|
Author: Hakan Damar
|
|
6
6
|
License: Apache-2.0
|
|
@@ -79,7 +79,6 @@ Dynamic: license-file
|
|
|
79
79
|
[](https://pypi.org/project/ct-toolkit/)
|
|
80
80
|
[](https://theseus-guard.github.io/ct-toolkit/)
|
|
81
81
|
[](https://pepy.tech/projects/ct-toolkit)
|
|
82
|
-
[](https://codecov.io/gh/Theseus-Guard/ct-toolkit)
|
|
83
82
|
|
|
84
83
|
CT Toolkit is an open-source security layer designed to preserve the **identity continuity** of AI agents over time. It implements the **Nested Agentic Architecture (NAA)** framework to prevent **Sequential Self-Compression (SSC)** in multi-agent hierarchies.
|
|
85
84
|
|
|
@@ -93,7 +92,7 @@ $ ct-toolkit status
|
|
|
93
92
|
| | | | | | |____ ____) | |____| |__| |____) | | |__| | |__| |/ ____ \| | \ \| |__| |
|
|
94
93
|
|_| |_| |_|______|_____/|______|_____/|_____/ \_____|\____//_/ \_\_| \_\_____/
|
|
95
94
|
|
|
96
|
-
Computational Theseus Toolkit (CT Toolkit) v0.4.
|
|
95
|
+
Computational Theseus Toolkit (CT Toolkit) v0.4.3
|
|
97
96
|
Identity Continuity Guardrails for Agentic Systems
|
|
98
97
|
|
|
99
98
|
╭──────────────────── CT Toolkit Audit & Telemetry Status ─────────────────────╮
|
|
@@ -220,7 +219,7 @@ The L2 judge does not evaluate Jinja2 expressions in user requests or model resp
|
|
|
220
219
|
| :--------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
221
220
|
| **Tests** | ✅ 426 passed, 3 skipped (100% success rate, 90%+ coverage) |
|
|
222
221
|
| **Downloads** | [](https://pepy.tech/projects/ct-toolkit) |
|
|
223
|
-
| **Last Phase** | ✅ v0.4.
|
|
222
|
+
| **Last Phase** | ✅ v0.4.3: SQL injection fix in provenance log (CodeQL #50) |
|
|
224
223
|
|
|
225
224
|
### Framework & Model Support
|
|
226
225
|
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
[](https://pypi.org/project/ct-toolkit/)
|
|
8
8
|
[](https://theseus-guard.github.io/ct-toolkit/)
|
|
9
9
|
[](https://pepy.tech/projects/ct-toolkit)
|
|
10
|
-
[](https://codecov.io/gh/Theseus-Guard/ct-toolkit)
|
|
11
10
|
|
|
12
11
|
CT Toolkit is an open-source security layer designed to preserve the **identity continuity** of AI agents over time. It implements the **Nested Agentic Architecture (NAA)** framework to prevent **Sequential Self-Compression (SSC)** in multi-agent hierarchies.
|
|
13
12
|
|
|
@@ -21,7 +20,7 @@ $ ct-toolkit status
|
|
|
21
20
|
| | | | | | |____ ____) | |____| |__| |____) | | |__| | |__| |/ ____ \| | \ \| |__| |
|
|
22
21
|
|_| |_| |_|______|_____/|______|_____/|_____/ \_____|\____//_/ \_\_| \_\_____/
|
|
23
22
|
|
|
24
|
-
Computational Theseus Toolkit (CT Toolkit) v0.4.
|
|
23
|
+
Computational Theseus Toolkit (CT Toolkit) v0.4.3
|
|
25
24
|
Identity Continuity Guardrails for Agentic Systems
|
|
26
25
|
|
|
27
26
|
╭──────────────────── CT Toolkit Audit & Telemetry Status ─────────────────────╮
|
|
@@ -148,7 +147,7 @@ The L2 judge does not evaluate Jinja2 expressions in user requests or model resp
|
|
|
148
147
|
| :--------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
149
148
|
| **Tests** | ✅ 426 passed, 3 skipped (100% success rate, 90%+ coverage) |
|
|
150
149
|
| **Downloads** | [](https://pepy.tech/projects/ct-toolkit) |
|
|
151
|
-
| **Last Phase** | ✅ v0.4.
|
|
150
|
+
| **Last Phase** | ✅ v0.4.3: SQL injection fix in provenance log (CodeQL #50) |
|
|
152
151
|
|
|
153
152
|
### Framework & Model Support
|
|
154
153
|
|
|
@@ -666,11 +666,13 @@ class ProvenanceLog:
|
|
|
666
666
|
query += " WHERE " + " AND ".join(conditions)
|
|
667
667
|
|
|
668
668
|
query += " ORDER BY timestamp ASC"
|
|
669
|
+
params: tuple[int, ...] = ()
|
|
669
670
|
if limit:
|
|
670
|
-
query +=
|
|
671
|
-
|
|
671
|
+
query += " LIMIT ?"
|
|
672
|
+
params = (int(limit),)
|
|
673
|
+
|
|
672
674
|
assert self._conn is not None
|
|
673
|
-
rows = self._conn.execute(query).fetchall()
|
|
675
|
+
rows = self._conn.execute(query, params).fetchall()
|
|
674
676
|
return [self._row_to_entry(r) for r in rows]
|
|
675
677
|
|
|
676
678
|
def _get_last_entry_hash(self) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ct-toolkit
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Computational Theseus Toolkit — Identity Continuity Guardrails for Agentic Systems
|
|
5
5
|
Author: Hakan Damar
|
|
6
6
|
License: Apache-2.0
|
|
@@ -79,7 +79,6 @@ Dynamic: license-file
|
|
|
79
79
|
[](https://pypi.org/project/ct-toolkit/)
|
|
80
80
|
[](https://theseus-guard.github.io/ct-toolkit/)
|
|
81
81
|
[](https://pepy.tech/projects/ct-toolkit)
|
|
82
|
-
[](https://codecov.io/gh/Theseus-Guard/ct-toolkit)
|
|
83
82
|
|
|
84
83
|
CT Toolkit is an open-source security layer designed to preserve the **identity continuity** of AI agents over time. It implements the **Nested Agentic Architecture (NAA)** framework to prevent **Sequential Self-Compression (SSC)** in multi-agent hierarchies.
|
|
85
84
|
|
|
@@ -93,7 +92,7 @@ $ ct-toolkit status
|
|
|
93
92
|
| | | | | | |____ ____) | |____| |__| |____) | | |__| | |__| |/ ____ \| | \ \| |__| |
|
|
94
93
|
|_| |_| |_|______|_____/|______|_____/|_____/ \_____|\____//_/ \_\_| \_\_____/
|
|
95
94
|
|
|
96
|
-
Computational Theseus Toolkit (CT Toolkit) v0.4.
|
|
95
|
+
Computational Theseus Toolkit (CT Toolkit) v0.4.3
|
|
97
96
|
Identity Continuity Guardrails for Agentic Systems
|
|
98
97
|
|
|
99
98
|
╭──────────────────── CT Toolkit Audit & Telemetry Status ─────────────────────╮
|
|
@@ -220,7 +219,7 @@ The L2 judge does not evaluate Jinja2 expressions in user requests or model resp
|
|
|
220
219
|
| :--------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
221
220
|
| **Tests** | ✅ 426 passed, 3 skipped (100% success rate, 90%+ coverage) |
|
|
222
221
|
| **Downloads** | [](https://pepy.tech/projects/ct-toolkit) |
|
|
223
|
-
| **Last Phase** | ✅ v0.4.
|
|
222
|
+
| **Last Phase** | ✅ v0.4.3: SQL injection fix in provenance log (CodeQL #50) |
|
|
224
223
|
|
|
225
224
|
### Framework & Model Support
|
|
226
225
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ct-toolkit"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.3"
|
|
8
8
|
description = "Computational Theseus Toolkit — Identity Continuity Guardrails for Agentic Systems"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11, <3.14"
|
|
@@ -84,6 +84,11 @@ dev = [
|
|
|
84
84
|
"mypy>=1.10",
|
|
85
85
|
]
|
|
86
86
|
|
|
87
|
+
[tool.uv]
|
|
88
|
+
# Security: Pillow 13.0.0 (Dependabot #77-122) and filelock 4.2.1 (Dependabot #120-122).
|
|
89
|
+
# fastembed (<=0.9.0) caps pillow<13.0 and litellm (<=1.106.3) caps filelock<4.0; override until upstream relaxes them.
|
|
90
|
+
override-dependencies = ["pillow>=13.0.0", "filelock>=4.2.1"]
|
|
91
|
+
|
|
87
92
|
[tool.ruff]
|
|
88
93
|
target-version = "py311"
|
|
89
94
|
line-length = 100
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|