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.
Files changed (23) hide show
  1. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/PKG-INFO +1 -1
  2. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/pyproject.toml +1 -1
  3. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/vault_writer.py +3 -3
  4. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/README.md +0 -0
  5. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/__init__.py +0 -0
  6. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/analyst.py +0 -0
  7. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/config.py +0 -0
  8. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/critic.py +0 -0
  9. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/discussant.py +0 -0
  10. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/domain_expert.py +0 -0
  11. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/federation.py +0 -0
  12. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/main.py +0 -0
  13. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/__init__.py +0 -0
  14. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/arxiv.py +0 -0
  15. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/base.py +0 -0
  16. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/biorxiv.py +0 -0
  17. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/common.py +0 -0
  18. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/openalex.py +0 -0
  19. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/paper_search/semantic_scholar.py +0 -0
  20. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/pdf_converter.py +0 -0
  21. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/router.py +0 -0
  22. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/vault_manager.py +0 -0
  23. {swarm_notes-0.2.0 → swarm_notes-0.2.1}/src/swarm_notes/watcher.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarm-notes
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Automated research paper tracking and knowledge synthesis
5
5
  Author: LM
6
6
  Author-email: LM <hi@leima.is>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarm-notes"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "Automated research paper tracking and knowledge synthesis"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -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("wb") as f:
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("wb") as f:
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("wb") as f:
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