relock-memory 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.
- {relock_memory-0.2.1 → relock_memory-0.2.2}/CHANGELOG.md +6 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/PKG-INFO +2 -2
- {relock_memory-0.2.1 → relock_memory-0.2.2}/README.md +1 -1
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/assets/logo.svg +3 -2
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/openapi.json +1 -1
- {relock_memory-0.2.1 → relock_memory-0.2.2}/pyproject.toml +1 -1
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/__init__.py +1 -1
- {relock_memory-0.2.1 → relock_memory-0.2.2}/.gitignore +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/LICENSE +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/assets/architecture.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/assets/hero.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/assets/lifecycle.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/assets/social.png +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/assets/social.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/design.md +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/http.md +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/DESIGN.md +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/README.md +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/by-load.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/by-model.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/outcomes.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/records.csv +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/models/summary.json +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/structural.md +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/docs/results/structural.svg +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/01_quickstart.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/02_llm_rewriter.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/03_langgraph_callbacks.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/curl.sh +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/rust/.gitignore +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/rust/Cargo.toml +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/rust/src/main.rs +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/typescript/demo.ts +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/typescript/package.json +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/examples/http/typescript/relock.ts +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/_util.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/__init__.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/agents.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/cli.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/harness.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/report.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/scenarios.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/bench/systems.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/checks.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/cli.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/delta.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/episode.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/export.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/integrations/__init__.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/integrations/http.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/integrations/langchain.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/integrations/mcp.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/integrations/toolkit.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/llm.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/memory.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/policy.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/py.typed +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/retrieval.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/rewriters.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/signals.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/stores/__init__.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/stores/postgres.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/stores/sql.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/stores/sqlite.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/src/relock_memory/types.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/conftest.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/test_cli_bench.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/test_http.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/test_integrations.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/test_llm_client.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/test_reconsolidation.py +0 -0
- {relock_memory-0.2.1 → relock_memory-0.2.2}/tests/test_units.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: relock-memory
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Agent memory that fixes the rule that fired, in place and only on trusted evidence, so corrected mistakes don't come back. Python, HTTP (any language), MCP.
|
|
5
5
|
Project-URL: Homepage, https://github.com/inboxpraveen/relock
|
|
6
6
|
Project-URL: Repository, https://github.com/inboxpraveen/relock
|
|
@@ -147,7 +147,7 @@ Unlock on recall, rewrite on surprise, re-lock.
|
|
|
147
147
|
The idea comes from **memory reconsolidation** in neuroscience:
|
|
148
148
|
- [Nader, Schafe and LeDoux (2000)](https://doi.org/10.1038/35021052) showed in rats that a fear
|
|
149
149
|
memory becomes editable again for a short window after it is recalled.
|
|
150
|
-
- [Sevenster, Beckers and Kindt (2013)](https://doi.org/10.1126/science.
|
|
150
|
+
- [Sevenster, Beckers and Kindt (2013)](https://doi.org/10.1126/science.1231357) found, in people,
|
|
151
151
|
that the update needs a prediction error: the memory changes only when what happened differs from
|
|
152
152
|
what it predicted.
|
|
153
153
|
|
|
@@ -102,7 +102,7 @@ Unlock on recall, rewrite on surprise, re-lock.
|
|
|
102
102
|
The idea comes from **memory reconsolidation** in neuroscience:
|
|
103
103
|
- [Nader, Schafe and LeDoux (2000)](https://doi.org/10.1038/35021052) showed in rats that a fear
|
|
104
104
|
memory becomes editable again for a short window after it is recalled.
|
|
105
|
-
- [Sevenster, Beckers and Kindt (2013)](https://doi.org/10.1126/science.
|
|
105
|
+
- [Sevenster, Beckers and Kindt (2013)](https://doi.org/10.1126/science.1231357) found, in people,
|
|
106
106
|
that the update needs a prediction error: the memory changes only when what happened differs from
|
|
107
107
|
what it predicted.
|
|
108
108
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 252 64" width="252" height="64" role="img" aria-labelledby="t">
|
|
2
2
|
<title id="t">relock</title>
|
|
3
3
|
<style>
|
|
4
|
-
:
|
|
5
|
-
|
|
4
|
+
/* One colour on purpose: the logo sits on the host page (GitHub, PyPI) whose background doesn't
|
|
5
|
+
follow the reader's system theme, so this blue is chosen to read on both white and near-black. */
|
|
6
|
+
:root{--ink:#2a7fe0;--accent:#2a7fe0}
|
|
6
7
|
.body{fill:var(--accent)} .shackle{fill:none;stroke:var(--accent);stroke-width:5.5;stroke-linecap:round;stroke-linejoin:round}
|
|
7
8
|
.word{fill:var(--ink);font-family:ui-sans-serif,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:40px;font-weight:650;letter-spacing:-.6px}
|
|
8
9
|
</style>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "relock",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.2",
|
|
6
6
|
"summary": "Agent memory that fixes the rule that fired, in place and only on trusted evidence, so corrected mistakes don't come back.",
|
|
7
7
|
"description": "Language-neutral API for relock. Call it from your harness, the code that runs tools and checks results, never from the model. Loop: POST /episodes, /recall (put `context` in the prompt), report each tool call with /tool-result, then /close. Authenticate with `Authorization: Bearer $RELOCK_TOKEN` when the server has a token.",
|
|
8
8
|
"license": {
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "relock-memory"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Agent memory that fixes the rule that fired, in place and only on trusted evidence, so corrected mistakes don't come back. Python, HTTP (any language), MCP."
|
|
9
9
|
dynamic = ["readme"]
|
|
10
10
|
license = "Apache-2.0"
|
|
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
|