errlore 0.2.1__tar.gz → 0.2.2__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 (72) hide show
  1. {errlore-0.2.1 → errlore-0.2.2}/CHANGELOG.md +7 -0
  2. {errlore-0.2.1 → errlore-0.2.2}/PKG-INFO +1 -1
  3. {errlore-0.2.1 → errlore-0.2.2}/pyproject.toml +1 -1
  4. errlore-0.2.2/src/errlore/__init__.py +24 -0
  5. errlore-0.2.1/src/errlore/__init__.py +0 -16
  6. {errlore-0.2.1 → errlore-0.2.2}/.github/workflows/ci.yml +0 -0
  7. {errlore-0.2.1 → errlore-0.2.2}/.github/workflows/release.yml +0 -0
  8. {errlore-0.2.1 → errlore-0.2.2}/.gitignore +0 -0
  9. {errlore-0.2.1 → errlore-0.2.2}/LICENSE +0 -0
  10. {errlore-0.2.1 → errlore-0.2.2}/README.md +0 -0
  11. {errlore-0.2.1 → errlore-0.2.2}/SECURITY.md +0 -0
  12. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/bench_error_reduction.py +0 -0
  13. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/bench_retrieval.py +0 -0
  14. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/REPRODUCIBILITY_2026-07-11.md +0 -0
  15. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/error_reduction/report.md +0 -0
  16. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/gemma_2026-07-11_report.txt +0 -0
  17. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/haiku_2026-07-11_report.txt +0 -0
  18. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/haiku_2026-07-11_seed11.txt +0 -0
  19. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/haiku_2026-07-11_seed22.txt +0 -0
  20. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/haiku_2026-07-11_seed33.txt +0 -0
  21. {errlore-0.2.1 → errlore-0.2.2}/benchmarks/results/haiku_newfamilies_2026-07-11_report.txt +0 -0
  22. {errlore-0.2.1 → errlore-0.2.2}/examples/anthropic_agent.py +0 -0
  23. {errlore-0.2.1 → errlore-0.2.2}/examples/claude-code/README.md +0 -0
  24. {errlore-0.2.1 → errlore-0.2.2}/examples/claude-code/errlore_posttooluse.py +0 -0
  25. {errlore-0.2.1 → errlore-0.2.2}/examples/claude-code/errlore_posttoolusefailure.py +0 -0
  26. {errlore-0.2.1 → errlore-0.2.2}/examples/claude-code/errlore_sessionstart.py +0 -0
  27. {errlore-0.2.1 → errlore-0.2.2}/examples/claude-code/settings.json.example +0 -0
  28. {errlore-0.2.1 → errlore-0.2.2}/examples/langchain_agent.py +0 -0
  29. {errlore-0.2.1 → errlore-0.2.2}/examples/openai_agent.py +0 -0
  30. {errlore-0.2.1 → errlore-0.2.2}/integrations/openwebui/README.md +0 -0
  31. {errlore-0.2.1 → errlore-0.2.2}/integrations/openwebui/errlore_feedback_action.py +0 -0
  32. {errlore-0.2.1 → errlore-0.2.2}/integrations/openwebui/errlore_memory_filter.py +0 -0
  33. {errlore-0.2.1 → errlore-0.2.2}/site/demo.gif +0 -0
  34. {errlore-0.2.1 → errlore-0.2.2}/site/demo_script.py +0 -0
  35. {errlore-0.2.1 → errlore-0.2.2}/site/index.html +0 -0
  36. {errlore-0.2.1 → errlore-0.2.2}/site/llms.txt +0 -0
  37. {errlore-0.2.1 → errlore-0.2.2}/site/og.png +0 -0
  38. {errlore-0.2.1 → errlore-0.2.2}/site/robots.txt +0 -0
  39. {errlore-0.2.1 → errlore-0.2.2}/site/sitemap.xml +0 -0
  40. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/cli.py +0 -0
  41. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/errmem/__init__.py +0 -0
  42. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/errmem/classifier.py +0 -0
  43. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/errmem/injector.py +0 -0
  44. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/errmem/patterns.py +0 -0
  45. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/errmem/tracker.py +0 -0
  46. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/facade.py +0 -0
  47. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/integrations/__init__.py +0 -0
  48. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/integrations/claude_code.py +0 -0
  49. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/io/__init__.py +0 -0
  50. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/io/jsonl_index.py +0 -0
  51. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/io/jsonl_writer.py +0 -0
  52. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/io/repair.py +0 -0
  53. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/lessons/__init__.py +0 -0
  54. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/lessons/models.py +0 -0
  55. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/lessons/store.py +0 -0
  56. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/py.typed +0 -0
  57. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/retrieval/__init__.py +0 -0
  58. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/retrieval/backend.py +0 -0
  59. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/retrieval/index.py +0 -0
  60. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/sanitize.py +0 -0
  61. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/trust/__init__.py +0 -0
  62. {errlore-0.2.1 → errlore-0.2.2}/src/errlore/trust/engine.py +0 -0
  63. {errlore-0.2.1 → errlore-0.2.2}/tests/conftest.py +0 -0
  64. {errlore-0.2.1 → errlore-0.2.2}/tests/test_cli.py +0 -0
  65. {errlore-0.2.1 → errlore-0.2.2}/tests/test_errmem.py +0 -0
  66. {errlore-0.2.1 → errlore-0.2.2}/tests/test_facade.py +0 -0
  67. {errlore-0.2.1 → errlore-0.2.2}/tests/test_io.py +0 -0
  68. {errlore-0.2.1 → errlore-0.2.2}/tests/test_lessons.py +0 -0
  69. {errlore-0.2.1 → errlore-0.2.2}/tests/test_openwebui_integration.py +0 -0
  70. {errlore-0.2.1 → errlore-0.2.2}/tests/test_regressions.py +0 -0
  71. {errlore-0.2.1 → errlore-0.2.2}/tests/test_retrieval.py +0 -0
  72. {errlore-0.2.1 → errlore-0.2.2}/tests/test_trust.py +0 -0
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.2] - 2026-07-11
9
+
10
+ ### Fixed
11
+ - `__version__` (and `errlore --version`) now reads the installed package
12
+ metadata instead of a hardcoded string — 0.2.0/0.2.1 wheels reported
13
+ themselves as 0.1.4.
14
+
8
15
  ## [0.2.1] - 2026-07-11
9
16
 
10
17
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: errlore
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Memory for AI agents that learns from failures: lessons, known-issues injection, and per-model trust — embedded, file-based, no server.
5
5
  Project-URL: Homepage, https://errlore.com
6
6
  Project-URL: Repository, https://github.com/Ma4etaSS/errlore
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "errlore"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Memory for AI agents that learns from failures: lessons, known-issues injection, and per-model trust — embedded, file-based, no server."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -0,0 +1,24 @@
1
+ """errlore -- memory for AI agents that learns from failures."""
2
+
3
+ from importlib.metadata import PackageNotFoundError
4
+ from importlib.metadata import version as _pkg_version
5
+
6
+ try:
7
+ # Single source of truth: installed package metadata (pyproject version).
8
+ # A hardcoded string here shipped 0.2.x wheels reporting themselves 0.1.4.
9
+ __version__ = _pkg_version("errlore")
10
+ except PackageNotFoundError: # source tree without an install
11
+ __version__ = "0.0.0.dev0"
12
+
13
+ from errlore.facade import AgentMemory, Injection
14
+ from errlore.lessons.store import LessonStore
15
+ from errlore.trust import FeedbackSignal, TrustEngine
16
+
17
+ __all__ = [
18
+ "AgentMemory",
19
+ "FeedbackSignal",
20
+ "Injection",
21
+ "LessonStore",
22
+ "TrustEngine",
23
+ "__version__",
24
+ ]
@@ -1,16 +0,0 @@
1
- """errlore -- memory for AI agents that learns from failures."""
2
-
3
- __version__ = "0.1.4"
4
-
5
- from errlore.facade import AgentMemory, Injection
6
- from errlore.lessons.store import LessonStore
7
- from errlore.trust import FeedbackSignal, TrustEngine
8
-
9
- __all__ = [
10
- "AgentMemory",
11
- "FeedbackSignal",
12
- "Injection",
13
- "LessonStore",
14
- "TrustEngine",
15
- "__version__",
16
- ]
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