entropic-engine 2.14.4__tar.gz → 2.14.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.
Files changed (27) hide show
  1. {entropic_engine-2.14.4/python/src/entropic_engine.egg-info → entropic_engine-2.14.6}/PKG-INFO +4 -4
  2. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/README.md +3 -3
  3. entropic_engine-2.14.6/VERSION +1 -0
  4. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/_bindings.py +1 -0
  5. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/install_engine.py +8 -4
  6. {entropic_engine-2.14.4 → entropic_engine-2.14.6/python/src/entropic_engine.egg-info}/PKG-INFO +4 -4
  7. entropic_engine-2.14.4/VERSION +0 -1
  8. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/AUTHORS +0 -0
  9. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/LICENSE +0 -0
  10. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/NOTICE +0 -0
  11. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/pyproject.toml +0 -0
  12. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/__init__.py +0 -0
  13. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/__main__.py +0 -0
  14. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/_bindings_manifest.py +0 -0
  15. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/_loader.py +0 -0
  16. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/cli.py +0 -0
  17. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/helpers.py +0 -0
  18. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/hooks.py +0 -0
  19. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/mcp.py +0 -0
  20. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/py.typed +0 -0
  21. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic/streams.py +0 -0
  22. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic_engine.egg-info/SOURCES.txt +0 -0
  23. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic_engine.egg-info/dependency_links.txt +0 -0
  24. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic_engine.egg-info/entry_points.txt +0 -0
  25. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic_engine.egg-info/requires.txt +0 -0
  26. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/python/src/entropic_engine.egg-info/top_level.txt +0 -0
  27. {entropic_engine-2.14.4 → entropic_engine-2.14.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entropic-engine
3
- Version: 2.14.4
3
+ Version: 2.14.6
4
4
  Summary: Local-first agentic inference engine — Python wrapper over librentropic.so
5
5
  Author: Tristan VanFossen
6
6
  License-Expression: Apache-2.0
@@ -33,7 +33,7 @@ Dynamic: license-file
33
33
 
34
34
  > Local-first agentic inference engine — your models, your hardware, your control
35
35
 
36
- **API reference:** [tvanfossen.github.io/entropic](https://tvanfossen.github.io/entropic/) — auto-generated from doxygen on every release
36
+ **API reference:** [tvanfossen.github.io/entropic](https://tvanfossen.github.io/entropic/) — the clew wiki (API reference, requirements and their tests), rebuilt on every release
37
37
 
38
38
  ## What Is Entropic?
39
39
 
@@ -407,13 +407,13 @@ Hook semantics:
407
407
  - `entropic_throughput_tok_per_sec()` facade query — `src/facade/entropic.cpp`
408
408
  - 20+ hook points doubling as telemetry consumption points — `src/core/hook_registry.cpp`
409
409
  - `session.log` + `session_model.log` per project_dir — `src/types/session_logger.cpp`
410
- - `doxygen-guard` enforces inline documentation on every function (`@brief`, exemption tag, `@version` bumped on body change) — `.doxygen-guard.yaml`, `.pre-commit-config.yaml`
410
+ - `clew guard` enforces inline documentation on every function (`@brief`, `@req` or exemption tag, `@version` bumped on body change) and requirements traceability (no dead `@req`, every catalog entry implemented, `@req` share ≥ 0.50) — `.clew.yaml`, `.pre-commit-config.yaml`
411
411
  - `knots` enforces code-quality budget per function (cognitive complexity ≤ 15, McCabe ≤ 15, nesting ≤ 4, SLOC ≤ 50, ABC ≤ 10, returns ≤ 3) — `.pre-commit-config.yaml`
412
412
  - Per-library coverage gates via `gcovr` enforced by `inv check-coverage` — `tasks.py::check_coverage`, `.pre-commit-config.yaml`
413
413
 
414
414
  ### Quality / Testing
415
415
 
416
- - 16 pre-commit hooks: trim whitespace, end-of-file, ruff, ruff-format, flake8, knots, doxygen-guard, build, unit tests, per-library coverage, plus standard pre-commit checks — `.pre-commit-config.yaml`
416
+ - Pre-commit hooks: trim whitespace, end-of-file, ruff, ruff-format, flake8, knots, clew-guard, bindings drift, build, unit tests, per-library coverage, plus standard pre-commit checks — `.pre-commit-config.yaml`
417
417
  - Unit + regression tests (Catch2 v3 BDD style) — `tests/unit/`
418
418
  - Model tests, GPU-recommended (CPU works but is impractically slow), developer-run; results attached to the GitHub Release as `model-results-vX.Y.Z.json` at each x.y.0 — `tests/model/`, `tasks.py::test`
419
419
  - `tests/distribution-smoke-consumer/` exercises the `find_package(entropic)` consumer experience end-to-end — `tests/distribution-smoke-consumer/`
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Local-first agentic inference engine — your models, your hardware, your control
4
4
 
5
- **API reference:** [tvanfossen.github.io/entropic](https://tvanfossen.github.io/entropic/) — auto-generated from doxygen on every release
5
+ **API reference:** [tvanfossen.github.io/entropic](https://tvanfossen.github.io/entropic/) — the clew wiki (API reference, requirements and their tests), rebuilt on every release
6
6
 
7
7
  ## What Is Entropic?
8
8
 
@@ -376,13 +376,13 @@ Hook semantics:
376
376
  - `entropic_throughput_tok_per_sec()` facade query — `src/facade/entropic.cpp`
377
377
  - 20+ hook points doubling as telemetry consumption points — `src/core/hook_registry.cpp`
378
378
  - `session.log` + `session_model.log` per project_dir — `src/types/session_logger.cpp`
379
- - `doxygen-guard` enforces inline documentation on every function (`@brief`, exemption tag, `@version` bumped on body change) — `.doxygen-guard.yaml`, `.pre-commit-config.yaml`
379
+ - `clew guard` enforces inline documentation on every function (`@brief`, `@req` or exemption tag, `@version` bumped on body change) and requirements traceability (no dead `@req`, every catalog entry implemented, `@req` share ≥ 0.50) — `.clew.yaml`, `.pre-commit-config.yaml`
380
380
  - `knots` enforces code-quality budget per function (cognitive complexity ≤ 15, McCabe ≤ 15, nesting ≤ 4, SLOC ≤ 50, ABC ≤ 10, returns ≤ 3) — `.pre-commit-config.yaml`
381
381
  - Per-library coverage gates via `gcovr` enforced by `inv check-coverage` — `tasks.py::check_coverage`, `.pre-commit-config.yaml`
382
382
 
383
383
  ### Quality / Testing
384
384
 
385
- - 16 pre-commit hooks: trim whitespace, end-of-file, ruff, ruff-format, flake8, knots, doxygen-guard, build, unit tests, per-library coverage, plus standard pre-commit checks — `.pre-commit-config.yaml`
385
+ - Pre-commit hooks: trim whitespace, end-of-file, ruff, ruff-format, flake8, knots, clew-guard, bindings drift, build, unit tests, per-library coverage, plus standard pre-commit checks — `.pre-commit-config.yaml`
386
386
  - Unit + regression tests (Catch2 v3 BDD style) — `tests/unit/`
387
387
  - Model tests, GPU-recommended (CPU works but is impractically slow), developer-run; results attached to the GitHub Release as `model-results-vX.Y.Z.json` at each x.y.0 — `tests/model/`, `tasks.py::test`
388
388
  - `tests/distribution-smoke-consumer/` exercises the `find_package(entropic)` consumer experience end-to-end — `tests/distribution-smoke-consumer/`
@@ -0,0 +1 @@
1
+ 2.14.6
@@ -104,6 +104,7 @@ class EntropicError(enum.IntEnum):
104
104
  TIER_MODEL_TOO_LARGE = 53
105
105
  SPECULATIVE_INCOMPATIBLE_CONFIG = 54
106
106
  MLOCK_LIMIT_EXCEEDED = 55
107
+ TURN_FAILED = 56
107
108
 
108
109
  class AgentState(enum.IntEnum):
109
110
  """Mirrors ``entropic_agent_state_t`` from the C header."""
@@ -36,7 +36,8 @@ RELEASE_URL_TEMPLATE = (
36
36
 
37
37
 
38
38
  ## @brief Return "cuda" if nvidia-smi succeeds, else "cpu".
39
- ## @utility
39
+ ## @return "cuda" when nvidia-smi runs successfully, otherwise "cpu".
40
+ ## @req REQ-PROD-003
40
41
  ## @version 2.1.0
41
42
  def _detect_backend() -> str:
42
43
  """Return ``"cuda"`` if nvidia-smi succeeds, else ``"cpu"``."""
@@ -62,7 +63,8 @@ def _install_root() -> Path:
62
63
 
63
64
 
64
65
  ## @brief Return the lowercase hex SHA256 of path.
65
- ## @utility
66
+ ## @return Lowercase hex SHA256 digest of the file's bytes.
67
+ ## @req REQ-PROD-003
66
68
  ## @version 2.1.0
67
69
  def _sha256_of(path: Path) -> str:
68
70
  """Return the lowercase hex SHA256 of ``path``."""
@@ -84,7 +86,8 @@ def _download(url: str, dest: Path) -> None:
84
86
 
85
87
 
86
88
  ## @brief Fetch the .sha256 sidecar and return the bare hash.
87
- ## @utility
89
+ ## @return The bare hash: the first token of the published .sha256 companion.
90
+ ## @req REQ-PROD-003
88
91
  ## @version 2.1.0
89
92
  def _expected_sha256(version: str, backend: str, scratch: Path) -> str:
90
93
  """Fetch the .sha256 sidecar and return the bare hash."""
@@ -96,7 +99,8 @@ def _expected_sha256(version: str, backend: str, scratch: Path) -> str:
96
99
 
97
100
 
98
101
  ## @brief If a stamp file matches expected_hash, install is current.
99
- ## @utility
102
+ ## @return True when the install's stamp file records expected_hash.
103
+ ## @req REQ-PROD-003
100
104
  ## @version 2.1.0
101
105
  def _verify_existing(root: Path, expected_hash: str) -> bool:
102
106
  """If a stamp file matches expected_hash, install is current."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entropic-engine
3
- Version: 2.14.4
3
+ Version: 2.14.6
4
4
  Summary: Local-first agentic inference engine — Python wrapper over librentropic.so
5
5
  Author: Tristan VanFossen
6
6
  License-Expression: Apache-2.0
@@ -33,7 +33,7 @@ Dynamic: license-file
33
33
 
34
34
  > Local-first agentic inference engine — your models, your hardware, your control
35
35
 
36
- **API reference:** [tvanfossen.github.io/entropic](https://tvanfossen.github.io/entropic/) — auto-generated from doxygen on every release
36
+ **API reference:** [tvanfossen.github.io/entropic](https://tvanfossen.github.io/entropic/) — the clew wiki (API reference, requirements and their tests), rebuilt on every release
37
37
 
38
38
  ## What Is Entropic?
39
39
 
@@ -407,13 +407,13 @@ Hook semantics:
407
407
  - `entropic_throughput_tok_per_sec()` facade query — `src/facade/entropic.cpp`
408
408
  - 20+ hook points doubling as telemetry consumption points — `src/core/hook_registry.cpp`
409
409
  - `session.log` + `session_model.log` per project_dir — `src/types/session_logger.cpp`
410
- - `doxygen-guard` enforces inline documentation on every function (`@brief`, exemption tag, `@version` bumped on body change) — `.doxygen-guard.yaml`, `.pre-commit-config.yaml`
410
+ - `clew guard` enforces inline documentation on every function (`@brief`, `@req` or exemption tag, `@version` bumped on body change) and requirements traceability (no dead `@req`, every catalog entry implemented, `@req` share ≥ 0.50) — `.clew.yaml`, `.pre-commit-config.yaml`
411
411
  - `knots` enforces code-quality budget per function (cognitive complexity ≤ 15, McCabe ≤ 15, nesting ≤ 4, SLOC ≤ 50, ABC ≤ 10, returns ≤ 3) — `.pre-commit-config.yaml`
412
412
  - Per-library coverage gates via `gcovr` enforced by `inv check-coverage` — `tasks.py::check_coverage`, `.pre-commit-config.yaml`
413
413
 
414
414
  ### Quality / Testing
415
415
 
416
- - 16 pre-commit hooks: trim whitespace, end-of-file, ruff, ruff-format, flake8, knots, doxygen-guard, build, unit tests, per-library coverage, plus standard pre-commit checks — `.pre-commit-config.yaml`
416
+ - Pre-commit hooks: trim whitespace, end-of-file, ruff, ruff-format, flake8, knots, clew-guard, bindings drift, build, unit tests, per-library coverage, plus standard pre-commit checks — `.pre-commit-config.yaml`
417
417
  - Unit + regression tests (Catch2 v3 BDD style) — `tests/unit/`
418
418
  - Model tests, GPU-recommended (CPU works but is impractically slow), developer-run; results attached to the GitHub Release as `model-results-vX.Y.Z.json` at each x.y.0 — `tests/model/`, `tasks.py::test`
419
419
  - `tests/distribution-smoke-consumer/` exercises the `find_package(entropic)` consumer experience end-to-end — `tests/distribution-smoke-consumer/`
@@ -1 +0,0 @@
1
- 2.14.4