seren-margin 5.2.1__tar.gz → 5.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.
- {seren_margin-5.2.1 → seren_margin-5.2.2}/PKG-INFO +1 -1
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/_version.py +3 -3
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/PKG-INFO +1 -1
- seren_margin-5.2.2/seren_margin.egg-info/scm_version.json +8 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_amend_and_topics.py +4 -4
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_mcp_tools.py +3 -3
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_search.py +2 -2
- seren_margin-5.2.1/seren_margin.egg-info/scm_version.json +0 -8
- {seren_margin-5.2.1 → seren_margin-5.2.2}/LICENSE +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/README.md +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/SerenMargin.pyproj +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/pyproject.toml +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren-margin.service.sample +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren-margin.yaml.sample +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/__init__.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/__main__.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/_diag.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/app.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/bookmark.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/config.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/keepsakes.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/mcp/__init__.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/mcp/server.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/mcp/tools.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/mcp-manifest.yaml +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/models.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/store.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/viewer/ui/body.html +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/viewer/ui/header_aside.html +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/viewer/ui/scripts.js +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/viewer/ui/styles.css +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin/viewer/ui/tabs.html +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/SOURCES.txt +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/dependency_links.txt +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/entry_points.txt +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/requires.txt +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/scm_file_list.json +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/seren_margin.egg-info/top_level.txt +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/setup.cfg +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/__init__.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/conftest.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_bookmark_and_letters.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_config.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_exposure_is_wired.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_keepsakes.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_letters_off_the_board.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_manifest_parity.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_mcp_fallback.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_mcp_mount.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_optional_bearer.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_reads_stay_private.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_smoke.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_stats_content_blind.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_stores_snapshot.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_updates_contract.py +0 -0
- {seren_margin-5.2.1 → seren_margin-5.2.2}/tests/test_viewer.py +0 -0
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '5.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (5, 2,
|
|
21
|
+
__version__ = version = '5.2.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (5, 2, 2)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g7d53bd6e8'
|
|
@@ -222,10 +222,10 @@ def test_amendment_makes_a_thread_look_live(store):
|
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
def test_topics_route(client):
|
|
225
|
-
client.post("/notes", json={"content": "a", "topic": "
|
|
225
|
+
client.post("/notes", json={"content": "a", "topic": "bob"})
|
|
226
226
|
r = client.get("/notes/topics")
|
|
227
227
|
assert r.status_code == 200
|
|
228
|
-
assert r.json()["topics"][0]["topic"] == "
|
|
228
|
+
assert r.json()["topics"][0]["topic"] == "bob"
|
|
229
229
|
assert r.json()["topics"][0]["latest_age"]
|
|
230
230
|
|
|
231
231
|
|
|
@@ -239,7 +239,7 @@ def test_topics_route_not_shadowed_by_the_id_route(client):
|
|
|
239
239
|
|
|
240
240
|
def test_list_all_filters_by_topic(store):
|
|
241
241
|
store.add(MarginNote(content="a", topic="alice"))
|
|
242
|
-
store.add(MarginNote(content="b", topic="
|
|
242
|
+
store.add(MarginNote(content="b", topic="bob"))
|
|
243
243
|
assert [n.content for n in store.list_all(topic="alice")] == ["a"]
|
|
244
244
|
|
|
245
245
|
|
|
@@ -258,7 +258,7 @@ def test_topic_filter_miss_is_empty(store):
|
|
|
258
258
|
|
|
259
259
|
def test_topic_filter_route(client):
|
|
260
260
|
client.post("/notes", json={"content": "a", "topic": "alice"})
|
|
261
|
-
client.post("/notes", json={"content": "b", "topic": "
|
|
261
|
+
client.post("/notes", json={"content": "b", "topic": "bob"})
|
|
262
262
|
assert client.get("/notes", params={"topic": "alice"}).json()["count"] == 1
|
|
263
263
|
assert client.get("/notes").json()["count"] == 2
|
|
264
264
|
|
|
@@ -154,16 +154,16 @@ def test_stats_is_not_on_the_ai_surface():
|
|
|
154
154
|
def test_list_my_topics_tool(impl):
|
|
155
155
|
impl.note_to_self("a", topic="alice")
|
|
156
156
|
impl.note_to_self("b", topic="alice")
|
|
157
|
-
impl.note_to_self("c", topic="
|
|
157
|
+
impl.note_to_self("c", topic="bob")
|
|
158
158
|
r = impl.list_my_topics()
|
|
159
159
|
assert r["count"] == 2
|
|
160
|
-
assert {t["topic"]: t["count"] for t in r["topics"]} == {"alice": 2, "
|
|
160
|
+
assert {t["topic"]: t["count"] for t in r["topics"]} == {"alice": 2, "bob": 1}
|
|
161
161
|
assert all(t["latest_age"] for t in r["topics"])
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
def test_list_my_notes_topic_filter(impl):
|
|
165
165
|
impl.note_to_self("a", topic="alice")
|
|
166
|
-
impl.note_to_self("b", topic="
|
|
166
|
+
impl.note_to_self("b", topic="bob")
|
|
167
167
|
r = impl.list_my_notes(topic="alice")
|
|
168
168
|
assert r["count"] == 1 and r["topic"] == "alice"
|
|
169
169
|
|
|
@@ -31,7 +31,7 @@ def _seed(store: MarginStore) -> None:
|
|
|
31
31
|
topic="serenmemory", kind="question"))
|
|
32
32
|
store.add(MarginNote(
|
|
33
33
|
content="ask about the Tabletop Simulator port when he's rested",
|
|
34
|
-
topic="
|
|
34
|
+
topic="dicerace", kind="reminder"))
|
|
35
35
|
store.add(MarginNote(
|
|
36
36
|
content="he underclaims his own intelligence as a setup to the swing",
|
|
37
37
|
topic="alice", kind="observation"))
|
|
@@ -55,7 +55,7 @@ def test_search_finds_by_content_word(store):
|
|
|
55
55
|
|
|
56
56
|
def test_search_finds_by_topic(store):
|
|
57
57
|
_seed(store)
|
|
58
|
-
hits, _ = store.search("
|
|
58
|
+
hits, _ = store.search("dicerace")
|
|
59
59
|
assert len(hits) == 1
|
|
60
60
|
assert "Tabletop" in hits[0].content
|
|
61
61
|
|
|
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
|