memgres 0.7.0__tar.gz → 0.7.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 (102) hide show
  1. {memgres-0.7.0 → memgres-0.7.1}/PKG-INFO +1 -1
  2. {memgres-0.7.0 → memgres-0.7.1}/memgres/_version.py +1 -1
  3. {memgres-0.7.0 → memgres-0.7.1}/memgres/mcp_server.py +13 -2
  4. {memgres-0.7.0 → memgres-0.7.1}/memgres.egg-info/PKG-INFO +1 -1
  5. {memgres-0.7.0 → memgres-0.7.1}/LICENSE +0 -0
  6. {memgres-0.7.0 → memgres-0.7.1}/README.md +0 -0
  7. {memgres-0.7.0 → memgres-0.7.1}/memgres/__init__.py +0 -0
  8. {memgres-0.7.0 → memgres-0.7.1}/memgres/admin.py +0 -0
  9. {memgres-0.7.0 → memgres-0.7.1}/memgres/admin_cli.py +0 -0
  10. {memgres-0.7.0 → memgres-0.7.1}/memgres/blame.py +0 -0
  11. {memgres-0.7.0 → memgres-0.7.1}/memgres/bootstrap.py +0 -0
  12. {memgres-0.7.0 → memgres-0.7.1}/memgres/config.py +0 -0
  13. {memgres-0.7.0 → memgres-0.7.1}/memgres/delimiters.py +0 -0
  14. {memgres-0.7.0 → memgres-0.7.1}/memgres/diffing.py +0 -0
  15. {memgres-0.7.0 → memgres-0.7.1}/memgres/embed_worker.py +0 -0
  16. {memgres-0.7.0 → memgres-0.7.1}/memgres/embeddings.py +0 -0
  17. {memgres-0.7.0 → memgres-0.7.1}/memgres/healthcheck.py +0 -0
  18. {memgres-0.7.0 → memgres-0.7.1}/memgres/identity.py +0 -0
  19. {memgres-0.7.0 → memgres-0.7.1}/memgres/indexing.py +0 -0
  20. {memgres-0.7.0 → memgres-0.7.1}/memgres/info.py +0 -0
  21. {memgres-0.7.0 → memgres-0.7.1}/memgres/lines.py +0 -0
  22. {memgres-0.7.0 → memgres-0.7.1}/memgres/links.py +0 -0
  23. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0001_core.sql +0 -0
  24. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0002_identity.sql +0 -0
  25. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0003_history_author.sql +0 -0
  26. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0004_title.sql +0 -0
  27. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0005_chunk_index.sql +0 -0
  28. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0006_reader_floor.sql +0 -0
  29. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0007_embed_retry.sql +0 -0
  30. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0008_service_roles.sql +0 -0
  31. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0009_create_namespace_right.sql +0 -0
  32. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0010_namespace_alias.sql +0 -0
  33. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0011_drop_default_namespace.sql +0 -0
  34. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0012_user_profile.sql +0 -0
  35. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0013_hash_version.sql +0 -0
  36. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0014_access_request_no_fk.sql +0 -0
  37. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0015_normalize_tags.sql +0 -0
  38. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0016_valid_at.sql +0 -0
  39. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0017_memory_link.sql +0 -0
  40. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0018_links_built.sql +0 -0
  41. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0019_memory_usage.sql +0 -0
  42. {memgres-0.7.0 → memgres-0.7.1}/memgres/migrations/0020_memory_usage_no_fk.sql +0 -0
  43. {memgres-0.7.0 → memgres-0.7.1}/memgres/periodic.py +0 -0
  44. {memgres-0.7.0 → memgres-0.7.1}/memgres/reembed.py +0 -0
  45. {memgres-0.7.0 → memgres-0.7.1}/memgres/relink.py +0 -0
  46. {memgres-0.7.0 → memgres-0.7.1}/memgres/schema.py +0 -0
  47. {memgres-0.7.0 → memgres-0.7.1}/memgres/search.py +0 -0
  48. {memgres-0.7.0 → memgres-0.7.1}/memgres/segments.py +0 -0
  49. {memgres-0.7.0 → memgres-0.7.1}/memgres/server.py +0 -0
  50. {memgres-0.7.0 → memgres-0.7.1}/memgres/store.py +0 -0
  51. {memgres-0.7.0 → memgres-0.7.1}/memgres/tags.py +0 -0
  52. {memgres-0.7.0 → memgres-0.7.1}/memgres/vector/__init__.py +0 -0
  53. {memgres-0.7.0 → memgres-0.7.1}/memgres/vector/base.py +0 -0
  54. {memgres-0.7.0 → memgres-0.7.1}/memgres/vector/pgvector.py +0 -0
  55. {memgres-0.7.0 → memgres-0.7.1}/memgres/vector/qdrant.py +0 -0
  56. {memgres-0.7.0 → memgres-0.7.1}/memgres/worker.py +0 -0
  57. {memgres-0.7.0 → memgres-0.7.1}/memgres.egg-info/SOURCES.txt +0 -0
  58. {memgres-0.7.0 → memgres-0.7.1}/memgres.egg-info/dependency_links.txt +0 -0
  59. {memgres-0.7.0 → memgres-0.7.1}/memgres.egg-info/entry_points.txt +0 -0
  60. {memgres-0.7.0 → memgres-0.7.1}/memgres.egg-info/requires.txt +0 -0
  61. {memgres-0.7.0 → memgres-0.7.1}/memgres.egg-info/top_level.txt +0 -0
  62. {memgres-0.7.0 → memgres-0.7.1}/pyproject.toml +0 -0
  63. {memgres-0.7.0 → memgres-0.7.1}/setup.cfg +0 -0
  64. {memgres-0.7.0 → memgres-0.7.1}/tests/test_blame_integration.py +0 -0
  65. {memgres-0.7.0 → memgres-0.7.1}/tests/test_chunk_index.py +0 -0
  66. {memgres-0.7.0 → memgres-0.7.1}/tests/test_claim_and_reembed.py +0 -0
  67. {memgres-0.7.0 → memgres-0.7.1}/tests/test_config.py +0 -0
  68. {memgres-0.7.0 → memgres-0.7.1}/tests/test_diffing.py +0 -0
  69. {memgres-0.7.0 → memgres-0.7.1}/tests/test_embed_worker.py +0 -0
  70. {memgres-0.7.0 → memgres-0.7.1}/tests/test_embeddings.py +0 -0
  71. {memgres-0.7.0 → memgres-0.7.1}/tests/test_healthcheck.py +0 -0
  72. {memgres-0.7.0 → memgres-0.7.1}/tests/test_identity_integration.py +0 -0
  73. {memgres-0.7.0 → memgres-0.7.1}/tests/test_lexical_match.py +0 -0
  74. {memgres-0.7.0 → memgres-0.7.1}/tests/test_limits.py +0 -0
  75. {memgres-0.7.0 → memgres-0.7.1}/tests/test_links.py +0 -0
  76. {memgres-0.7.0 → memgres-0.7.1}/tests/test_list.py +0 -0
  77. {memgres-0.7.0 → memgres-0.7.1}/tests/test_mcp_admin_tools.py +0 -0
  78. {memgres-0.7.0 → memgres-0.7.1}/tests/test_mcp_http_transport.py +0 -0
  79. {memgres-0.7.0 → memgres-0.7.1}/tests/test_mcp_instructions.py +0 -0
  80. {memgres-0.7.0 → memgres-0.7.1}/tests/test_mcp_recall_schema.py +0 -0
  81. {memgres-0.7.0 → memgres-0.7.1}/tests/test_mcp_tool_visibility.py +0 -0
  82. {memgres-0.7.0 → memgres-0.7.1}/tests/test_migration_upgrade.py +0 -0
  83. {memgres-0.7.0 → memgres-0.7.1}/tests/test_multi_space_search.py +0 -0
  84. {memgres-0.7.0 → memgres-0.7.1}/tests/test_path_addressing.py +0 -0
  85. {memgres-0.7.0 → memgres-0.7.1}/tests/test_qdrant_ca.py +0 -0
  86. {memgres-0.7.0 → memgres-0.7.1}/tests/test_qdrant_integration.py +0 -0
  87. {memgres-0.7.0 → memgres-0.7.1}/tests/test_replace_build.py +0 -0
  88. {memgres-0.7.0 → memgres-0.7.1}/tests/test_require_title.py +0 -0
  89. {memgres-0.7.0 → memgres-0.7.1}/tests/test_retention.py +0 -0
  90. {memgres-0.7.0 → memgres-0.7.1}/tests/test_roles_bootstrap.py +0 -0
  91. {memgres-0.7.0 → memgres-0.7.1}/tests/test_search_integration.py +0 -0
  92. {memgres-0.7.0 → memgres-0.7.1}/tests/test_security_integration.py +0 -0
  93. {memgres-0.7.0 → memgres-0.7.1}/tests/test_segments.py +0 -0
  94. {memgres-0.7.0 → memgres-0.7.1}/tests/test_segments_store.py +0 -0
  95. {memgres-0.7.0 → memgres-0.7.1}/tests/test_server_info.py +0 -0
  96. {memgres-0.7.0 → memgres-0.7.1}/tests/test_server_integration.py +0 -0
  97. {memgres-0.7.0 → memgres-0.7.1}/tests/test_snippets.py +0 -0
  98. {memgres-0.7.0 → memgres-0.7.1}/tests/test_store_integration.py +0 -0
  99. {memgres-0.7.0 → memgres-0.7.1}/tests/test_tags.py +0 -0
  100. {memgres-0.7.0 → memgres-0.7.1}/tests/test_usage.py +0 -0
  101. {memgres-0.7.0 → memgres-0.7.1}/tests/test_valid_at.py +0 -0
  102. {memgres-0.7.0 → memgres-0.7.1}/tests/test_write_ergonomics.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memgres
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Drop-in memory for AI agents: one Postgres, lexical + semantic recall, diff-versioned history, GDPR-erasable.
5
5
  Author: mozgsml
6
6
  License-Expression: MIT
@@ -8,4 +8,4 @@ here at release; nowhere else carries the number.
8
8
  PEP 440: a ``.devN`` suffix marks an unreleased build ahead of the last tag.
9
9
  """
10
10
 
11
- __version__ = "0.7.0"
11
+ __version__ = "0.7.1"
@@ -47,8 +47,19 @@ Spaces = Optional[Union[str, List[str]]]
47
47
 
48
48
  # The MCP `initialize` response carries a server-side `instructions` string; a
49
49
  # client that honors it (e.g. Claude Code) loads it ONCE at connect, so it guides
50
- # the model without inflating every tool response. Kept small on purpose.
51
- MCP_INSTRUCTION_MAX_BYTES = 2048
50
+ # the model without inflating every tool response.
51
+ #
52
+ # A GUARDRAIL, not a target. The real cost of a long instruction is not the tokens
53
+ # — it is loaded once, and 4 KB is well under a thousand of them — but that it sits
54
+ # in the system prompt and is re-read every turn: a rulebook is followed less
55
+ # reliably the more it says. Keep the always-true rules inline and point at a
56
+ # memory for anything situational; the store the agent is being told about is
57
+ # itself the place for depth.
58
+ #
59
+ # Counted in BYTES, which matters more than it looks: non-Latin text costs two
60
+ # bytes per character, so the same rulebook in Russian fits half as much. 2048 was
61
+ # too tight for a bilingual deployment to say what it had to.
62
+ MCP_INSTRUCTION_MAX_BYTES = 4096
52
63
 
53
64
 
54
65
  # ─── what each tool needs before it is worth showing ─────────────────────────
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memgres
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Drop-in memory for AI agents: one Postgres, lexical + semantic recall, diff-versioned history, GDPR-erasable.
5
5
  Author: mozgsml
6
6
  License-Expression: MIT
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