swarm-notes 0.2.0__tar.gz → 0.2.1__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.
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/PKG-INFO +1 -1
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/pyproject.toml +1 -1
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/vault_writer.py +3 -3
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/README.md +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/__init__.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/analyst.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/config.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/critic.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/discussant.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/domain_expert.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/federation.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/main.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/__init__.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/arxiv.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/base.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/biorxiv.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/common.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/openalex.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/semantic_scholar.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/pdf_converter.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/router.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/vault_manager.py +0 -0
- {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/watcher.py +0 -0
|
@@ -255,7 +255,7 @@ def _write_concept_stub(
|
|
|
255
255
|
post.metadata["modified_at"] = now_utc
|
|
256
256
|
post.content = _ensure_related_paper_link(post.content, paper_ref)
|
|
257
257
|
|
|
258
|
-
with staging_path.open("
|
|
258
|
+
with staging_path.open("w", encoding="utf-8") as f:
|
|
259
259
|
frontmatter.dump(post, f)
|
|
260
260
|
|
|
261
261
|
logger.info("VaultWriter: updated concept note → %s", staging_path)
|
|
@@ -387,7 +387,7 @@ def _create_open_question(question: OpenQuestion, analysis: PaperAnalysis) -> No
|
|
|
387
387
|
metadata["modified_at"] = now_utc
|
|
388
388
|
|
|
389
389
|
post = frontmatter.Post(content, **metadata)
|
|
390
|
-
with staging_path.open("
|
|
390
|
+
with staging_path.open("w", encoding="utf-8") as f:
|
|
391
391
|
frontmatter.dump(post, f)
|
|
392
392
|
|
|
393
393
|
logger.info("VaultWriter: tracked open question → %s", staging_path)
|
|
@@ -501,7 +501,7 @@ def append_daily_discussion(content: str) -> None:
|
|
|
501
501
|
try:
|
|
502
502
|
post = frontmatter.load(staging_path)
|
|
503
503
|
post.metadata["modified_at"] = now_utc
|
|
504
|
-
with staging_path.open("
|
|
504
|
+
with staging_path.open("w", encoding="utf-8") as f:
|
|
505
505
|
frontmatter.dump(post, f)
|
|
506
506
|
except Exception as exc:
|
|
507
507
|
logger.warning("VaultWriter: could not update modified_at for %s: %s", filename, exc)
|
|
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
|