MetaList 0.21.0__tar.gz → 0.22.0__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 (608) hide show
  1. {metalist-0.21.0/metalist.egg-info → metalist-0.22.0}/PKG-INFO +8 -1
  2. {metalist-0.21.0 → metalist-0.22.0}/README.md +7 -0
  3. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/notes.py +1 -3
  4. {metalist-0.21.0 → metalist-0.22.0}/app/db/schema.py +3 -0
  5. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/note_tag_suggestions.py +1 -1
  6. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-ai.md +2 -1
  7. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-menus.md +0 -1
  8. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-releases.md +7 -0
  9. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-tags.md +5 -4
  10. {metalist-0.21.0 → metalist-0.22.0}/app/services/client_state_service.py +2 -13
  11. {metalist-0.21.0 → metalist-0.22.0}/app/services/search_index.py +6 -0
  12. metalist-0.22.0/app/services/tag_plural_variants.py +112 -0
  13. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_suggestion_reasons.py +3 -16
  14. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_suggestions.py +168 -260
  15. {metalist-0.21.0 → metalist-0.22.0}/app/static/config/agent-menu-actions.json +0 -6
  16. {metalist-0.21.0 → metalist-0.22.0}/app/static/config/command_palette_tags.json +0 -4
  17. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/command-palette-controller.js +0 -17
  18. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/endpoint-registry.js +0 -7
  19. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/bulk_tag_proposals.py +2 -2
  20. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/tag_proposals.py +10 -2
  21. {metalist-0.21.0 → metalist-0.22.0}/app/version.py +1 -1
  22. {metalist-0.21.0 → metalist-0.22.0/metalist.egg-info}/PKG-INFO +8 -1
  23. {metalist-0.21.0 → metalist-0.22.0}/metalist.egg-info/SOURCES.txt +1 -1
  24. metalist-0.21.0/app/static/js/modules/modals/tag-suggestion-settings-modal.js +0 -122
  25. {metalist-0.21.0 → metalist-0.22.0}/MANIFEST.in +0 -0
  26. {metalist-0.21.0 → metalist-0.22.0}/app/__init__.py +0 -0
  27. {metalist-0.21.0 → metalist-0.22.0}/app/api/__init__.py +0 -0
  28. {metalist-0.21.0 → metalist-0.22.0}/app/api/deps.py +0 -0
  29. {metalist-0.21.0 → metalist-0.22.0}/app/api/dev.py +0 -0
  30. {metalist-0.21.0 → metalist-0.22.0}/app/api/middleware/auth.py +0 -0
  31. {metalist-0.21.0 → metalist-0.22.0}/app/api/note_requests.py +0 -0
  32. {metalist-0.21.0 → metalist-0.22.0}/app/api/request_auth.py +0 -0
  33. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/ai.py +0 -0
  34. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/app_updates.py +0 -0
  35. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/auth.py +0 -0
  36. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/backups.py +0 -0
  37. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/files.py +0 -0
  38. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/ontology.py +0 -0
  39. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/reminders.py +0 -0
  40. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/remote_images.py +0 -0
  41. {metalist-0.21.0 → metalist-0.22.0}/app/api/routes/test.py +0 -0
  42. {metalist-0.21.0 → metalist-0.22.0}/app/api/transactions.py +0 -0
  43. {metalist-0.21.0 → metalist-0.22.0}/app/api/upload_limits.py +0 -0
  44. {metalist-0.21.0 → metalist-0.22.0}/app/config.py +0 -0
  45. {metalist-0.21.0 → metalist-0.22.0}/app/contracts.py +0 -0
  46. {metalist-0.21.0 → metalist-0.22.0}/app/data_directory.py +0 -0
  47. {metalist-0.21.0 → metalist-0.22.0}/app/db/__init__.py +0 -0
  48. {metalist-0.21.0 → metalist-0.22.0}/app/db/backup_settings_sql.py +0 -0
  49. {metalist-0.21.0 → metalist-0.22.0}/app/db/content_migrations_sql.py +0 -0
  50. {metalist-0.21.0 → metalist-0.22.0}/app/db/editable_files_migration.py +0 -0
  51. {metalist-0.21.0 → metalist-0.22.0}/app/db/engine.py +0 -0
  52. {metalist-0.21.0 → metalist-0.22.0}/app/db/file_schema.py +0 -0
  53. {metalist-0.21.0 → metalist-0.22.0}/app/db/file_session.py +0 -0
  54. {metalist-0.21.0 → metalist-0.22.0}/app/db/files_sql.py +0 -0
  55. {metalist-0.21.0 → metalist-0.22.0}/app/db/link_titles_sql.py +0 -0
  56. {metalist-0.21.0 → metalist-0.22.0}/app/db/live_recovery.py +0 -0
  57. {metalist-0.21.0 → metalist-0.22.0}/app/db/migrations.py +0 -0
  58. {metalist-0.21.0 → metalist-0.22.0}/app/db/notes_sql.py +0 -0
  59. {metalist-0.21.0 → metalist-0.22.0}/app/db/ontology_rules_sql.py +0 -0
  60. {metalist-0.21.0 → metalist-0.22.0}/app/db/raw_connection.py +0 -0
  61. {metalist-0.21.0 → metalist-0.22.0}/app/db/reminders_sql.py +0 -0
  62. {metalist-0.21.0 → metalist-0.22.0}/app/db/retire_sounds.py +0 -0
  63. {metalist-0.21.0 → metalist-0.22.0}/app/db/search_history_sql.py +0 -0
  64. {metalist-0.21.0 → metalist-0.22.0}/app/db/session.py +0 -0
  65. {metalist-0.21.0 → metalist-0.22.0}/app/db/settings_sql.py +0 -0
  66. {metalist-0.21.0 → metalist-0.22.0}/app/db/tab_state_sql.py +0 -0
  67. {metalist-0.21.0 → metalist-0.22.0}/app/db/version.py +0 -0
  68. {metalist-0.21.0 → metalist-0.22.0}/app/encryption_audit.py +0 -0
  69. {metalist-0.21.0 → metalist-0.22.0}/app/exception_boundaries.py +0 -0
  70. {metalist-0.21.0 → metalist-0.22.0}/app/https_proxy.py +0 -0
  71. {metalist-0.21.0 → metalist-0.22.0}/app/launch_clock.py +0 -0
  72. {metalist-0.21.0 → metalist-0.22.0}/app/main.py +0 -0
  73. {metalist-0.21.0 → metalist-0.22.0}/app/models/database.py +0 -0
  74. {metalist-0.21.0 → metalist-0.22.0}/app/models/utils.py +0 -0
  75. {metalist-0.21.0 → metalist-0.22.0}/app/network_settings.py +0 -0
  76. {metalist-0.21.0 → metalist-0.22.0}/app/presentation/__init__.py +0 -0
  77. {metalist-0.21.0 → metalist-0.22.0}/app/presentation/login_page.py +0 -0
  78. {metalist-0.21.0 → metalist-0.22.0}/app/presentation/render/__init__.py +0 -0
  79. {metalist-0.21.0 → metalist-0.22.0}/app/presentation/render/note_renderer.py +0 -0
  80. {metalist-0.21.0 → metalist-0.22.0}/app/presentation/templates.py +0 -0
  81. {metalist-0.21.0 → metalist-0.22.0}/app/process_memory.py +0 -0
  82. {metalist-0.21.0 → metalist-0.22.0}/app/security/authenticated_logging.py +0 -0
  83. {metalist-0.21.0 → metalist-0.22.0}/app/security/crypto_sizes.py +0 -0
  84. {metalist-0.21.0 → metalist-0.22.0}/app/security/encryption.py +0 -0
  85. {metalist-0.21.0 → metalist-0.22.0}/app/security/http_error_diagnostics.py +0 -0
  86. {metalist-0.21.0 → metalist-0.22.0}/app/security/http_headers.py +0 -0
  87. {metalist-0.21.0 → metalist-0.22.0}/app/security/note_html.py +0 -0
  88. {metalist-0.21.0 → metalist-0.22.0}/app/security/rendered_html.py +0 -0
  89. {metalist-0.21.0 → metalist-0.22.0}/app/security/request_boundary.py +0 -0
  90. {metalist-0.21.0 → metalist-0.22.0}/app/security/request_hosts.py +0 -0
  91. {metalist-0.21.0 → metalist-0.22.0}/app/security/sensitive_cache.py +0 -0
  92. {metalist-0.21.0 → metalist-0.22.0}/app/security/sensitive_logging.py +0 -0
  93. {metalist-0.21.0 → metalist-0.22.0}/app/security/shell_execution.py +0 -0
  94. {metalist-0.21.0 → metalist-0.22.0}/app/security/validation_errors.py +0 -0
  95. {metalist-0.21.0 → metalist-0.22.0}/app/server_runtime.py +0 -0
  96. {metalist-0.21.0 → metalist-0.22.0}/app/services/__init__.py +0 -0
  97. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/__init__.py +0 -0
  98. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/action_log.py +0 -0
  99. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/agent_loop.py +0 -0
  100. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/agent_tools.py +0 -0
  101. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/ai_send.py +0 -0
  102. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/citation_tokens.py +0 -0
  103. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/cloud_privacy.py +0 -0
  104. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/context.py +0 -0
  105. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/evidence_serialization.py +0 -0
  106. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/execution_errors.py +0 -0
  107. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/export_title_suggestions.py +0 -0
  108. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/failure_explanations.py +0 -0
  109. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/help_catalog.py +0 -0
  110. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/history.py +0 -0
  111. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/inference.py +0 -0
  112. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/investigation.py +0 -0
  113. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/judging.py +0 -0
  114. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/menu_actions.py +0 -0
  115. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/model_policy.py +0 -0
  116. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/note_aliases.py +0 -0
  117. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/openai_cost_tracking.py +0 -0
  118. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/openai_inference.py +0 -0
  119. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/openai_models.py +0 -0
  120. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/privacy_guard.py +0 -0
  121. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/prompt_settings.py +0 -0
  122. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/prompts/__init__.py +0 -0
  123. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/prompts/agent.md +0 -0
  124. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/prompts/final-response.md +0 -0
  125. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/prompts/system.md +0 -0
  126. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/release_notes.py +0 -0
  127. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/retrieval_settings.py +0 -0
  128. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/runtime.py +0 -0
  129. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/scope.py +0 -0
  130. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skill_settings.py +0 -0
  131. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/__init__.py +0 -0
  132. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-data.md +0 -0
  133. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-dictation.md +0 -0
  134. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-formatting.md +0 -0
  135. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-mouse.md +0 -0
  136. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-notes.md +0 -0
  137. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-ontology.md +0 -0
  138. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-privacy.md +0 -0
  139. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-references.md +0 -0
  140. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-reminders.md +0 -0
  141. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/help-search.md +0 -0
  142. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/staged-summary.md +0 -0
  143. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/tag-proposals.md +0 -0
  144. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/skills/web-browsing.md +0 -0
  145. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/staged_summary.py +0 -0
  146. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/strict_structured_outputs.py +0 -0
  147. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/structured_inference.py +0 -0
  148. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/summary_batch_store.py +0 -0
  149. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/tagging.py +0 -0
  150. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/tagging_run.py +0 -0
  151. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/token_estimation.py +0 -0
  152. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/tool_calling.py +0 -0
  153. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/trace.py +0 -0
  154. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/web_actions.py +0 -0
  155. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/web_capabilities.py +0 -0
  156. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/web_evidence.py +0 -0
  157. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/web_fetch.py +0 -0
  158. {metalist-0.21.0 → metalist-0.22.0}/app/services/agent/web_settings.py +0 -0
  159. {metalist-0.21.0 → metalist-0.22.0}/app/services/ai_chat.py +0 -0
  160. {metalist-0.21.0 → metalist-0.22.0}/app/services/ai_chat_rendering.py +0 -0
  161. {metalist-0.21.0 → metalist-0.22.0}/app/services/ai_chat_stream.py +0 -0
  162. {metalist-0.21.0 → metalist-0.22.0}/app/services/ai_setup.py +0 -0
  163. {metalist-0.21.0 → metalist-0.22.0}/app/services/app_update_worker.py +0 -0
  164. {metalist-0.21.0 → metalist-0.22.0}/app/services/app_updates.py +0 -0
  165. {metalist-0.21.0 → metalist-0.22.0}/app/services/auth.py +0 -0
  166. {metalist-0.21.0 → metalist-0.22.0}/app/services/auth_cache_state.py +0 -0
  167. {metalist-0.21.0 → metalist-0.22.0}/app/services/auth_service.py +0 -0
  168. {metalist-0.21.0 → metalist-0.22.0}/app/services/backlink_index.py +0 -0
  169. {metalist-0.21.0 → metalist-0.22.0}/app/services/backlinks.py +0 -0
  170. {metalist-0.21.0 → metalist-0.22.0}/app/services/backup_service.py +0 -0
  171. {metalist-0.21.0 → metalist-0.22.0}/app/services/backup_settings_service.py +0 -0
  172. {metalist-0.21.0 → metalist-0.22.0}/app/services/bulk_operation.py +0 -0
  173. {metalist-0.21.0 → metalist-0.22.0}/app/services/chess_rendering.py +0 -0
  174. {metalist-0.21.0 → metalist-0.22.0}/app/services/code_rendering.py +0 -0
  175. {metalist-0.21.0 → metalist-0.22.0}/app/services/content_cache.py +0 -0
  176. {metalist-0.21.0 → metalist-0.22.0}/app/services/content_formatting.py +0 -0
  177. {metalist-0.21.0 → metalist-0.22.0}/app/services/diagnostics.py +0 -0
  178. {metalist-0.21.0 → metalist-0.22.0}/app/services/dictation_cleanup.py +0 -0
  179. {metalist-0.21.0 → metalist-0.22.0}/app/services/diff_rendering.py +0 -0
  180. {metalist-0.21.0 → metalist-0.22.0}/app/services/editing_image_sizes.py +0 -0
  181. {metalist-0.21.0 → metalist-0.22.0}/app/services/embedded_references.py +0 -0
  182. {metalist-0.21.0 → metalist-0.22.0}/app/services/encryption.py +0 -0
  183. {metalist-0.21.0 → metalist-0.22.0}/app/services/exception_capture.py +0 -0
  184. {metalist-0.21.0 → metalist-0.22.0}/app/services/file_edit_sessions.py +0 -0
  185. {metalist-0.21.0 → metalist-0.22.0}/app/services/file_registry.py +0 -0
  186. {metalist-0.21.0 → metalist-0.22.0}/app/services/file_storage.py +0 -0
  187. {metalist-0.21.0 → metalist-0.22.0}/app/services/file_text_preview.py +0 -0
  188. {metalist-0.21.0 → metalist-0.22.0}/app/services/footnote_layout.py +0 -0
  189. {metalist-0.21.0 → metalist-0.22.0}/app/services/footnote_rendering.py +0 -0
  190. {metalist-0.21.0 → metalist-0.22.0}/app/services/hierarchy.py +0 -0
  191. {metalist-0.21.0 → metalist-0.22.0}/app/services/html_export.py +0 -0
  192. {metalist-0.21.0 → metalist-0.22.0}/app/services/html_unformatting.py +0 -0
  193. {metalist-0.21.0 → metalist-0.22.0}/app/services/hydration_state.py +0 -0
  194. {metalist-0.21.0 → metalist-0.22.0}/app/services/image_size_formatting.py +0 -0
  195. {metalist-0.21.0 → metalist-0.22.0}/app/services/inline_image_dimensions.py +0 -0
  196. {metalist-0.21.0 → metalist-0.22.0}/app/services/inline_image_occurrences.py +0 -0
  197. {metalist-0.21.0 → metalist-0.22.0}/app/services/input_errors.py +0 -0
  198. {metalist-0.21.0 → metalist-0.22.0}/app/services/integrity.py +0 -0
  199. {metalist-0.21.0 → metalist-0.22.0}/app/services/latex_rendering.py +0 -0
  200. {metalist-0.21.0 → metalist-0.22.0}/app/services/link_title_retry.py +0 -0
  201. {metalist-0.21.0 → metalist-0.22.0}/app/services/link_titles.py +0 -0
  202. {metalist-0.21.0 → metalist-0.22.0}/app/services/login_rate_limit.py +0 -0
  203. {metalist-0.21.0 → metalist-0.22.0}/app/services/maintenance_mode.py +0 -0
  204. {metalist-0.21.0 → metalist-0.22.0}/app/services/markdown_rendering.py +0 -0
  205. {metalist-0.21.0 → metalist-0.22.0}/app/services/memory_breakdown.py +0 -0
  206. {metalist-0.21.0 → metalist-0.22.0}/app/services/memory_usage.py +0 -0
  207. {metalist-0.21.0 → metalist-0.22.0}/app/services/mermaid_note_rendering.py +0 -0
  208. {metalist-0.21.0 → metalist-0.22.0}/app/services/namespace_deletion_jobs.py +0 -0
  209. {metalist-0.21.0 → metalist-0.22.0}/app/services/namespace_deletion_worker.py +0 -0
  210. {metalist-0.21.0 → metalist-0.22.0}/app/services/namespace_rename_jobs.py +0 -0
  211. {metalist-0.21.0 → metalist-0.22.0}/app/services/namespace_rename_worker.py +0 -0
  212. {metalist-0.21.0 → metalist-0.22.0}/app/services/namespace_runtime_guard.py +0 -0
  213. {metalist-0.21.0 → metalist-0.22.0}/app/services/namespace_switcher.py +0 -0
  214. {metalist-0.21.0 → metalist-0.22.0}/app/services/note_fullscreen.py +0 -0
  215. {metalist-0.21.0 → metalist-0.22.0}/app/services/note_image_tags.py +0 -0
  216. {metalist-0.21.0 → metalist-0.22.0}/app/services/note_ordering.py +0 -0
  217. {metalist-0.21.0 → metalist-0.22.0}/app/services/note_store.py +0 -0
  218. {metalist-0.21.0 → metalist-0.22.0}/app/services/ontology_rules_store.py +0 -0
  219. {metalist-0.21.0 → metalist-0.22.0}/app/services/openai_credentials.py +0 -0
  220. {metalist-0.21.0 → metalist-0.22.0}/app/services/password_note_fields.py +0 -0
  221. {metalist-0.21.0 → metalist-0.22.0}/app/services/preference_values.py +0 -0
  222. {metalist-0.21.0 → metalist-0.22.0}/app/services/public_http.py +0 -0
  223. {metalist-0.21.0 → metalist-0.22.0}/app/services/reference_presentation.py +0 -0
  224. {metalist-0.21.0 → metalist-0.22.0}/app/services/reminders.py +0 -0
  225. {metalist-0.21.0 → metalist-0.22.0}/app/services/remote_image_proxy.py +0 -0
  226. {metalist-0.21.0 → metalist-0.22.0}/app/services/request_recovery.py +0 -0
  227. {metalist-0.21.0 → metalist-0.22.0}/app/services/reset_for_tests.py +0 -0
  228. {metalist-0.21.0 → metalist-0.22.0}/app/services/resource_limits.py +0 -0
  229. {metalist-0.21.0 → metalist-0.22.0}/app/services/root_sorting.py +0 -0
  230. {metalist-0.21.0 → metalist-0.22.0}/app/services/runtime_generation.py +0 -0
  231. {metalist-0.21.0 → metalist-0.22.0}/app/services/runtime_hardening.py +0 -0
  232. {metalist-0.21.0 → metalist-0.22.0}/app/services/runtime_lock.py +0 -0
  233. {metalist-0.21.0 → metalist-0.22.0}/app/services/search_history.py +0 -0
  234. {metalist-0.21.0 → metalist-0.22.0}/app/services/search_history_storage.py +0 -0
  235. {metalist-0.21.0 → metalist-0.22.0}/app/services/search_query.py +0 -0
  236. {metalist-0.21.0 → metalist-0.22.0}/app/services/search_text.py +0 -0
  237. {metalist-0.21.0 → metalist-0.22.0}/app/services/selected_text_tag.py +0 -0
  238. {metalist-0.21.0 → metalist-0.22.0}/app/services/self_update.py +0 -0
  239. {metalist-0.21.0 → metalist-0.22.0}/app/services/session_timeout_service.py +0 -0
  240. {metalist-0.21.0 → metalist-0.22.0}/app/services/shared_sets.py +0 -0
  241. {metalist-0.21.0 → metalist-0.22.0}/app/services/shell_session_service.py +0 -0
  242. {metalist-0.21.0 → metalist-0.22.0}/app/services/snapshot.py +0 -0
  243. {metalist-0.21.0 → metalist-0.22.0}/app/services/store.py +0 -0
  244. {metalist-0.21.0 → metalist-0.22.0}/app/services/structured_note_renderers.py +0 -0
  245. {metalist-0.21.0 → metalist-0.22.0}/app/services/sync.py +0 -0
  246. {metalist-0.21.0 → metalist-0.22.0}/app/services/tab_state.py +0 -0
  247. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_case.py +0 -0
  248. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_details.py +0 -0
  249. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_ontology.py +0 -0
  250. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_rename.py +0 -0
  251. {metalist-0.21.0 → metalist-0.22.0}/app/services/tag_term_matching.py +0 -0
  252. {metalist-0.21.0 → metalist-0.22.0}/app/services/tokens.py +0 -0
  253. {metalist-0.21.0 → metalist-0.22.0}/app/services/undo_state.py +0 -0
  254. {metalist-0.21.0 → metalist-0.22.0}/app/services/update_backups.py +0 -0
  255. {metalist-0.21.0 → metalist-0.22.0}/app/services/update_installer.py +0 -0
  256. {metalist-0.21.0 → metalist-0.22.0}/app/services/update_preflight.py +0 -0
  257. {metalist-0.21.0 → metalist-0.22.0}/app/services/view_cache.py +0 -0
  258. {metalist-0.21.0 → metalist-0.22.0}/app/services/view_diff.py +0 -0
  259. {metalist-0.21.0 → metalist-0.22.0}/app/services/view_state.py +0 -0
  260. {metalist-0.21.0 → metalist-0.22.0}/app/services/windows_process_control.py +0 -0
  261. {metalist-0.21.0 → metalist-0.22.0}/app/startup_console.py +0 -0
  262. {metalist-0.21.0 → metalist-0.22.0}/app/startup_environment.py +0 -0
  263. {metalist-0.21.0 → metalist-0.22.0}/app/startup_js_sanity.py +0 -0
  264. {metalist-0.21.0 → metalist-0.22.0}/app/startup_sanity.py +0 -0
  265. {metalist-0.21.0 → metalist-0.22.0}/app/startup_sanity_config.py +0 -0
  266. {metalist-0.21.0 → metalist-0.22.0}/app/startup_shockharness.py +0 -0
  267. {metalist-0.21.0 → metalist-0.22.0}/app/static/css/floating-notes.css +0 -0
  268. {metalist-0.21.0 → metalist-0.22.0}/app/static/css/forms.css +0 -0
  269. {metalist-0.21.0 → metalist-0.22.0}/app/static/css/main.css +0 -0
  270. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/favicon.ico +0 -0
  271. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/metalist-logo-black-1024.png +0 -0
  272. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/metalist-logo-black-512.png +0 -0
  273. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/metalist-logo-black.svg +0 -0
  274. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/metalist-logo-white-1024.png +0 -0
  275. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/metalist-logo-white-512.png +0 -0
  276. {metalist-0.21.0 → metalist-0.22.0}/app/static/img/metalist-logo-white.svg +0 -0
  277. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/locked.js +0 -0
  278. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/main.js +0 -0
  279. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/activity-tracker.js +0 -0
  280. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/agent-menu-actions.js +0 -0
  281. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/agent-retrieval-settings.js +0 -0
  282. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/agent-web-settings.js +0 -0
  283. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-agent-debug-view.js +0 -0
  284. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-chat-api.js +0 -0
  285. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-chat-message-placement.js +0 -0
  286. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-chat-panel-controller.js +0 -0
  287. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-chat-panel-service.js +0 -0
  288. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-chat-refused-turns.js +0 -0
  289. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-chat-size-limits.js +0 -0
  290. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/ai-thinking-level-service.js +0 -0
  291. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/bulk-elapsed-clock.js +0 -0
  292. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/bulk-proposal-ui.js +0 -0
  293. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/bulk-scope-question.js +0 -0
  294. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/cloud-privacy-policy.js +0 -0
  295. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/confirmation-card.js +0 -0
  296. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/confirmation-question.js +0 -0
  297. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/proposal-menu.js +0 -0
  298. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/ai-chat/summary-batch-preview.js +0 -0
  299. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/api-client.js +0 -0
  300. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/api-error-diagnostics.js +0 -0
  301. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/api-failure-classification-service.js +0 -0
  302. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/app-notice-stack.js +0 -0
  303. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/app-update-service.js +0 -0
  304. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/application-state.js +0 -0
  305. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/async-result.js +0 -0
  306. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/auth.js +0 -0
  307. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/backup-reminder-schedule.js +0 -0
  308. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/backup-reminder-service.js +0 -0
  309. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/byte-sizes.js +0 -0
  310. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/client-state-api.js +0 -0
  311. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/client-state-migration.js +0 -0
  312. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/activation-auth-policy.js +0 -0
  313. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/backup-command-availability.js +0 -0
  314. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/click-activation-service.js +0 -0
  315. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/note-layout-preferences.js +0 -0
  316. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/preferences-store.js +0 -0
  317. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/tag-config-loader.js +0 -0
  318. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/command-palette/usage-store.js +0 -0
  319. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/config.js +0 -0
  320. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/context-menu/context-menu-registry.js +0 -0
  321. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/context-menu/context-menu-service.js +0 -0
  322. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/context-menu/context-menu-target-service.js +0 -0
  323. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/context-menu/input-caret-service.js +0 -0
  324. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/decimal-integer.js +0 -0
  325. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/disconnect-editing-state-service.js +0 -0
  326. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/dom-focus.js +0 -0
  327. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/dom-utils.js +0 -0
  328. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/editor-commands.js +0 -0
  329. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/editor-selection.js +0 -0
  330. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/editor-toolbar.js +0 -0
  331. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/elapsed-time.js +0 -0
  332. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/error-handler.js +0 -0
  333. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/error-overlay.js +0 -0
  334. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-actions.js +0 -0
  335. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-autosave.js +0 -0
  336. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-editor-service.js +0 -0
  337. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-editor-state.js +0 -0
  338. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-loader.js +0 -0
  339. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-preview-service.js +0 -0
  340. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/excalidraw/excalidraw-scene.js +0 -0
  341. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/expected-errors.js +0 -0
  342. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/half.js +0 -0
  343. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/html-escape.js +0 -0
  344. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/http-status.js +0 -0
  345. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/list-selection.js +0 -0
  346. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/local-date-text.js +0 -0
  347. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/location-flags.js +0 -0
  348. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/login-namespace-picker.js +0 -0
  349. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/maintenance.js +0 -0
  350. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/ai-agent-settings-modal.js +0 -0
  351. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/alphabetize-root-notes-modal.js +0 -0
  352. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/backup-restore-modal.js +0 -0
  353. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/backup-result-modal.js +0 -0
  354. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/backup-settings-modal.js +0 -0
  355. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/base-modal.js +0 -0
  356. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/confirmation-modal.js +0 -0
  357. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/delete-namespace-modal.js +0 -0
  358. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/delete-namespace-validation.js +0 -0
  359. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/dictation-settings-modal.js +0 -0
  360. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/export-options-modal.js +0 -0
  361. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/help-modal.js +0 -0
  362. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/link-title-retry-modal.js +0 -0
  363. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/memory-usage-modal.js +0 -0
  364. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/namespace-loading-page.js +0 -0
  365. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/namespace-modals.js +0 -0
  366. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/namespace-ports-profile.js +0 -0
  367. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/namespace-rename-validation.js +0 -0
  368. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/note-layout-appearance-modal.js +0 -0
  369. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/ontology-modal.js +0 -0
  370. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/password-modal.js +0 -0
  371. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/prioritize-modal.js +0 -0
  372. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/random-password-modal.js +0 -0
  373. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/reminder-modal.js +0 -0
  374. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/reset-updated-at-modal.js +0 -0
  375. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/search-suggestion-statistics-modal.js +0 -0
  376. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/session-timeout-modal.js +0 -0
  377. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/version-info-modal.js +0 -0
  378. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/modals/visual-cues-modal.js +0 -0
  379. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/actions/content-actions.js +0 -0
  380. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/actions/history-actions.js +0 -0
  381. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/actions/note-actions.js +0 -0
  382. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/actions/search-actions.js +0 -0
  383. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/actions/selection-actions.js +0 -0
  384. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/actions/ui-actions.js +0 -0
  385. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/context-menu-events.js +0 -0
  386. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/focus-events.js +0 -0
  387. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/inactivity-events.js +0 -0
  388. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/input-events.js +0 -0
  389. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/keyboard-events.js +0 -0
  390. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/mouse-events.js +0 -0
  391. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/events/search-events.js +0 -0
  392. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/mode-context.js +0 -0
  393. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/mode-logger.js +0 -0
  394. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/mode-manager-controller.js +0 -0
  395. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/add-style-service.js +0 -0
  396. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/animated-scroll-service.js +0 -0
  397. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/backlinks-navigation-service.js +0 -0
  398. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/clipboard-shortcut-policy-service.js +0 -0
  399. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/collapse-affordance-service.js +0 -0
  400. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/collapse-editing-policy-service.js +0 -0
  401. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/command-gate-service.js +0 -0
  402. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/context-menu-target-service.js +0 -0
  403. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/deselect-selection-state-service.js +0 -0
  404. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/dictation-note-paste.js +0 -0
  405. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/dictation-paste-padding.js +0 -0
  406. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/dictation-paste-service.js +0 -0
  407. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/differential-view-service.js +0 -0
  408. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/dropped-file-preview-service.js +0 -0
  409. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/edit-session-collapse-policy-service.js +0 -0
  410. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/edit-session-collapse-service.js +0 -0
  411. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/editing-image-size-service.js +0 -0
  412. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/embedded-image-service.js +0 -0
  413. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/export-service.js +0 -0
  414. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/export-title-service.js +0 -0
  415. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/file-drop-policy-service.js +0 -0
  416. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/file-image-preview-service.js +0 -0
  417. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/file-reference-service.js +0 -0
  418. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/filtered-refresh-selection-service.js +0 -0
  419. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/floating-note-dom.js +0 -0
  420. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/floating-note-layout.js +0 -0
  421. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/floating-note-service.js +0 -0
  422. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/footnote-navigation-service.js +0 -0
  423. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/history-selection-policy-service.js +0 -0
  424. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/history-shortcut-policy-service.js +0 -0
  425. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/html-paste-sanitizer-service.js +0 -0
  426. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/image-context-menu-action-service.js +0 -0
  427. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/image-file-insert-choice-modal-service.js +0 -0
  428. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/infinite-scroll-service.js +0 -0
  429. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/link-context-menu-action-service.js +0 -0
  430. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/link-target-service.js +0 -0
  431. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/link-title-prefetch-service.js +0 -0
  432. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/mermaid-render-service.js +0 -0
  433. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-click-target-service.js +0 -0
  434. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-clipboard-write-service.js +0 -0
  435. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-collapse-animation-service.js +0 -0
  436. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-context-menu-action-service.js +0 -0
  437. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-delete-shortcut-policy-service.js +0 -0
  438. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-drag-indicator-service.js +0 -0
  439. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-drag-service.js +0 -0
  440. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-fullscreen-service.js +0 -0
  441. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-reposition-animation-service.js +0 -0
  442. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-split-service.js +0 -0
  443. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/note-timestamp-hover-service.js +0 -0
  444. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/password-clipboard-service.js +0 -0
  445. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/paste-format-detection-service.js +0 -0
  446. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/paste-format-guess-service.js +0 -0
  447. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/paste-format-offer-service.js +0 -0
  448. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/paste-reference-here-service.js +0 -0
  449. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/polling-service.js +0 -0
  450. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/print-service.js +0 -0
  451. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/reference-source-navigation-service.js +0 -0
  452. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/referenced-note-removal-service.js +0 -0
  453. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/remote-image-proxy-service.js +0 -0
  454. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/remove-formatting-service.js +0 -0
  455. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/right-press-focus-service.js +0 -0
  456. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/root-date-separator-service.js +0 -0
  457. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/root-note-creation-service.js +0 -0
  458. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/root-sort-indicator-service.js +0 -0
  459. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/root-sort-service.js +0 -0
  460. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/scroll-anchor-service.js +0 -0
  461. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/scroll-restoration-service.js +0 -0
  462. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/scroll-to-top-service.js +0 -0
  463. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-contexts-overlay-service.js +0 -0
  464. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-debounce-service.js +0 -0
  465. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-highlight-matching.js +0 -0
  466. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-highlight-service.js +0 -0
  467. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-input-service.js +0 -0
  468. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-interaction-service.js +0 -0
  469. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-redaction-reveal-service.js +0 -0
  470. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-suggestion-statistics-service.js +0 -0
  471. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-suggestion-window-labels-service.js +0 -0
  472. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-suggestion-windows-service.js +0 -0
  473. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-suggestions-service.js +0 -0
  474. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/search-syntax-service.js +0 -0
  475. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/selected-formatting-removal-service.js +0 -0
  476. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/selected-text-tag-service.js +0 -0
  477. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/shell-output-service.js +0 -0
  478. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tab-dom-cache-service.js +0 -0
  479. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tab-drag-service.js +0 -0
  480. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tab-duplication-service.js +0 -0
  481. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tab-state-service.js +0 -0
  482. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tag-bar-service.js +0 -0
  483. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tag-input-selection-service.js +0 -0
  484. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tag-proposal-service.js +0 -0
  485. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tag-suggestions-service.js +0 -0
  486. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/tag-syntax-service.js +0 -0
  487. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/todo-toggle-editing-service.js +0 -0
  488. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/untagged-view-indicator-service.js +0 -0
  489. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/view-mode-search-shortcut-service.js +0 -0
  490. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/viewport-hold-service.js +0 -0
  491. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/mode-manager/services/viewport-reference.js +0 -0
  492. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/not-found.js +0 -0
  493. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/note-html-sanitizer.js +0 -0
  494. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/password-generator.js +0 -0
  495. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/password-operation-response.js +0 -0
  496. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/password-policy.js +0 -0
  497. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/password-strength.js +0 -0
  498. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/reminder-store.js +0 -0
  499. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/reminder-surface-service.js +0 -0
  500. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/server-rendered-html.js +0 -0
  501. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/session-auth.js +0 -0
  502. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/startup-timing.js +0 -0
  503. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/tag-token.js +0 -0
  504. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/tcp-ports.js +0 -0
  505. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/time-units.js +0 -0
  506. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/url-tracking-cleaner.js +0 -0
  507. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/modules/uuid.js +0 -0
  508. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/namespace-deleted.js +0 -0
  509. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/namespace-renamed.js +0 -0
  510. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/shockharness/contracts.d.ts +0 -0
  511. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/shockharness/contracts.js +0 -0
  512. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/dompurify-3.4.16.LICENSE.txt +0 -0
  513. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/dompurify-3.4.16.min.js +0 -0
  514. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/excalidraw.css +0 -0
  515. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  516. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  517. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  518. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  519. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  520. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  521. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  522. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  523. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  524. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  525. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  526. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  527. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  528. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  529. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  530. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  531. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  532. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  533. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  534. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  535. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  536. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  537. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  538. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1-assets/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  539. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1.LICENSE.txt +0 -0
  540. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/excalidraw-0.18.1.min.js +0 -0
  541. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/mermaid-11.16.1.LICENSE.txt +0 -0
  542. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/mermaid-11.16.1.min.js +0 -0
  543. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/zxcvbn-4.4.2.LICENSE.txt +0 -0
  544. {metalist-0.21.0 → metalist-0.22.0}/app/static/js/vendor/zxcvbn-4.4.2.js +0 -0
  545. {metalist-0.21.0 → metalist-0.22.0}/app/static/note-html-policy.json +0 -0
  546. {metalist-0.21.0 → metalist-0.22.0}/app/templates/_logo_mark.html +0 -0
  547. {metalist-0.21.0 → metalist-0.22.0}/app/templates/base.html +0 -0
  548. {metalist-0.21.0 → metalist-0.22.0}/app/templates/index.html +0 -0
  549. {metalist-0.21.0 → metalist-0.22.0}/app/templates/locked.html +0 -0
  550. {metalist-0.21.0 → metalist-0.22.0}/app/templates/maintenance.html +0 -0
  551. {metalist-0.21.0 → metalist-0.22.0}/app/templates/namespace_deleted.html +0 -0
  552. {metalist-0.21.0 → metalist-0.22.0}/app/templates/namespace_renamed.html +0 -0
  553. {metalist-0.21.0 → metalist-0.22.0}/app/templates/notes_list.html +0 -0
  554. {metalist-0.21.0 → metalist-0.22.0}/app/upload_limits.py +0 -0
  555. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/__init__.py +0 -0
  556. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/add_selected_text_tag.py +0 -0
  557. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/alphabetize_root_notes.py +0 -0
  558. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/base.py +0 -0
  559. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/collapse.py +0 -0
  560. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/copy_note.py +0 -0
  561. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/create_child.py +0 -0
  562. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/create_file_preview_child.py +0 -0
  563. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/create_note.py +0 -0
  564. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/create_sibling.py +0 -0
  565. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/delete_subtree.py +0 -0
  566. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/delete_tag.py +0 -0
  567. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/expand.py +0 -0
  568. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/file_edit_session.py +0 -0
  569. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/indent.py +0 -0
  570. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/move.py +0 -0
  571. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/move_to_top.py +0 -0
  572. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/outdent.py +0 -0
  573. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/paste_child.py +0 -0
  574. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/paste_reference.py +0 -0
  575. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/paste_sibling.py +0 -0
  576. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/prefetch_link_titles.py +0 -0
  577. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/prioritize.py +0 -0
  578. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/redo.py +0 -0
  579. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/rename_tag.py +0 -0
  580. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/reset_updated_at.py +0 -0
  581. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/resize_image.py +0 -0
  582. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/run_shell.py +0 -0
  583. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/search_comment_autofill.py +0 -0
  584. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/search_context_tags.py +0 -0
  585. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/set_collapse_bulk.py +0 -0
  586. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/set_collapse_in_context.py +0 -0
  587. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/split_note.py +0 -0
  588. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/toggle_todo_done.py +0 -0
  589. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/undo.py +0 -0
  590. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/unformat_content.py +0 -0
  591. {metalist-0.21.0 → metalist-0.22.0}/app/usecases/update_content.py +0 -0
  592. {metalist-0.21.0 → metalist-0.22.0}/app/utils/__init__.py +0 -0
  593. {metalist-0.21.0 → metalist-0.22.0}/app/utils/byte_sizes.py +0 -0
  594. {metalist-0.21.0 → metalist-0.22.0}/app/utils/encryption.py +0 -0
  595. {metalist-0.21.0 → metalist-0.22.0}/app/utils/not_found.py +0 -0
  596. {metalist-0.21.0 → metalist-0.22.0}/app/utils/sent_fields.py +0 -0
  597. {metalist-0.21.0 → metalist-0.22.0}/app/utils/tcp_ports.py +0 -0
  598. {metalist-0.21.0 → metalist-0.22.0}/app/utils/text_utils.py +0 -0
  599. {metalist-0.21.0 → metalist-0.22.0}/app/utils/time_units.py +0 -0
  600. {metalist-0.21.0 → metalist-0.22.0}/convert-from-legacy.py +0 -0
  601. {metalist-0.21.0 → metalist-0.22.0}/main.py +0 -0
  602. {metalist-0.21.0 → metalist-0.22.0}/metalist.egg-info/dependency_links.txt +0 -0
  603. {metalist-0.21.0 → metalist-0.22.0}/metalist.egg-info/entry_points.txt +0 -0
  604. {metalist-0.21.0 → metalist-0.22.0}/metalist.egg-info/requires.txt +0 -0
  605. {metalist-0.21.0 → metalist-0.22.0}/metalist.egg-info/top_level.txt +0 -0
  606. {metalist-0.21.0 → metalist-0.22.0}/pyproject.toml +0 -0
  607. {metalist-0.21.0 → metalist-0.22.0}/scripts/generate-lan-cert.sh +0 -0
  608. {metalist-0.21.0 → metalist-0.22.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metalist
3
- Version: 0.21.0
3
+ Version: 0.22.0
4
4
  Summary: A minimalist single-user note-taking app with SSR, fast in-memory tree operations, and efficient sync.
5
5
  Project-URL: Homepage, https://metalist.app
6
6
  Project-URL: Repository, https://github.com/metalist-app/metalist
@@ -53,6 +53,13 @@ A minimalist single-user note-taking app focused on server-side rendering (SSR),
53
53
  - Multi-tab search contexts with server-persisted scroll/search state (survives browser restarts)
54
54
  - Manual namespace backups/restores to a user-selected backup folder with retention controls
55
55
 
56
+ ## Changes in 0.22.0
57
+
58
+ - Tag suggestions only narrow as you type, however many letters: `q`, `qu`, `que` keep their order, and a tag that already applies (a parent's, or implied by a rule) stays right after the tags with evidence instead of dropping to the bottom. Each letter after the first answers in a few milliseconds. Measured on a 107,000-note namespace, the wanted tag is in the top five more often after two and three letters (90% and 96%, up from 88% and 93%).
59
+ - With nothing typed, the tag bar and Suggest Tags with AI no longer offer another spelling of a tag the note has: no `eggs` beside `egg`, no `easter-eggs` beside `easter-egg`. Typing still offers every spelling that matches.
60
+ - Synonyms of the tags in the bar are never suggested (no `avocados` once `avocado` is there), and a tag a parent already has is not suggested until you type it, whatever else goes with it.
61
+ - The Tag Suggestions setting "Allow suggesting tags that already apply" is removed; a saved choice is dropped.
62
+
56
63
  ## Changes in 0.21.0
57
64
 
58
65
  - **Memory usage** (command palette): the server's memory now and at its peak (on a Mac as Activity Monitor counts it), the notes it holds decrypted, how long the last unlock took and where, and *Measure what holds it*, a breakdown of each part; Copy puts it all on the clipboard.
@@ -12,6 +12,13 @@ A minimalist single-user note-taking app focused on server-side rendering (SSR),
12
12
  - Multi-tab search contexts with server-persisted scroll/search state (survives browser restarts)
13
13
  - Manual namespace backups/restores to a user-selected backup folder with retention controls
14
14
 
15
+ ## Changes in 0.22.0
16
+
17
+ - Tag suggestions only narrow as you type, however many letters: `q`, `qu`, `que` keep their order, and a tag that already applies (a parent's, or implied by a rule) stays right after the tags with evidence instead of dropping to the bottom. Each letter after the first answers in a few milliseconds. Measured on a 107,000-note namespace, the wanted tag is in the top five more often after two and three letters (90% and 96%, up from 88% and 93%).
18
+ - With nothing typed, the tag bar and Suggest Tags with AI no longer offer another spelling of a tag the note has: no `eggs` beside `egg`, no `easter-eggs` beside `easter-egg`. Typing still offers every spelling that matches.
19
+ - Synonyms of the tags in the bar are never suggested (no `avocados` once `avocado` is there), and a tag a parent already has is not suggested until you type it, whatever else goes with it.
20
+ - The Tag Suggestions setting "Allow suggesting tags that already apply" is removed; a saved choice is dropped.
21
+
15
22
  ## Changes in 0.21.0
16
23
 
17
24
  - **Memory usage** (command palette): the server's memory now and at its peak (on a Mac as Activity Monitor counts it), the notes it holds decrypted, how long the last unlock took and where, and *Measure what holds it*, a breakdown of each part; Copy puts it all on the clipboard.
@@ -153,7 +153,6 @@ from app.services.tag_details import describe_search_tag
153
153
  from app.services.tag_details import describe_tag_bar_tag
154
154
  from app.services.tag_suggestion_reasons import search_suggestion_reasons
155
155
  from app.services.tag_suggestions import suggest_tags_with_reasons_for_note
156
- from app.services.client_state_service import suggests_already_applying_tags
157
156
  from app.services.undo_state import reset_undo_stack
158
157
  from app.usecases.prioritize import list_prioritize_tag_suggestions
159
158
  from app.services.selected_text_tag import SelectedTextTagValidationError
@@ -668,7 +667,7 @@ def dictation_paste(payload: DictationPasteRequest) -> Dict[str, object]:
668
667
 
669
668
  @router.post("/notes/tag-suggestions")
670
669
  @transactional_route
671
- def tag_suggestions(request: Request, payload: TagSuggestionsRequest) -> Dict[str, object]:
670
+ def tag_suggestions(payload: TagSuggestionsRequest) -> Dict[str, object]:
672
671
  note_id = payload["note_id"]
673
672
  anchors = payload["anchors"]
674
673
  explicit_tags = payload["explicit_tags"]
@@ -695,7 +694,6 @@ def tag_suggestions(request: Request, payload: TagSuggestionsRequest) -> Dict[st
695
694
  prefix=prefix,
696
695
  content_html=content_html,
697
696
  limit=MAX_TAG_SUGGESTIONS,
698
- include_already_applying=suggests_already_applying_tags(token=_require_bearer_token(request)),
699
697
  )
700
698
  # Why each is suggested, shown when it is right-clicked (docs/ui/tag-bar.md).
701
699
  return {
@@ -47,6 +47,9 @@ _CREATE_NOTES_NEXT_INDEX = f"""
47
47
  CREATE INDEX IF NOT EXISTS idx_{NOTES_TABLE}_next ON {NOTES_TABLE}(next_id);
48
48
  """
49
49
 
50
+ # The auth_*, kek_*, kdf_* and *dek* columns hold the one way to unlock a namespace.
51
+ # A recovery key, passkey or second password moves them to a key_wrappers table first:
52
+ # docs/security/FUTURE-SECURITY-WORK.md, "Deferred: Multiple Unlock Methods".
50
53
  _CREATE_APP_SETTINGS_TABLE = f"""
51
54
  CREATE TABLE IF NOT EXISTS {APP_SETTINGS_TABLE} (
52
55
  id INTEGER PRIMARY KEY,
@@ -109,7 +109,7 @@ def ranked_vocabulary(*, note_id: str, boundary: CloudPrivacyBoundary) -> tuple[
109
109
  own_keys = {term.casefold() for term in own_tags}
110
110
  ranked_for_note = suggest_tags_for_note(
111
111
  note_id=note_id, anchors=own_tags, explicit_tags=own_tags, prefix="",
112
- content_html=record.content, limit=RANKED_FOR_NOTE_LIMIT, include_already_applying=False,
112
+ content_html=record.content, limit=RANKED_FOR_NOTE_LIMIT,
113
113
  )
114
114
  most_used = sorted(counts, key=lambda key: (-counts[key], key))[:MOST_USED_LIMIT]
115
115
  vocabulary: dict[str, tuple[str, int]] = {}
@@ -90,7 +90,8 @@ only when an AI is set up and the privacy settings let it see the note as edited
90
90
  for that note's tags: *Asking the AI…* floats above the tag bar while you keep
91
91
  typing, then the proposals appear under the tag bar for `+`/`−`, tags already in
92
92
  use first and new ones, marked **new**, on the right (at most two new per answer;
93
- pressing `+` creates the tag). For a note with children it is a submenu: **This
93
+ pressing `+` creates the tag). Tags the note has, or already proposes, are left out, also
94
+ as their singular or plural (no `eggs` beside `egg`). For a note with children it is a submenu: **This
94
95
  Note** or **This Note and Its Children** (every note below it the view shows; notes
95
96
  hidden from the AI are skipped); the floating card shows progress, and children's
96
97
  suggestions show as their robot counts. It always allows new tags, whatever AI tagging
@@ -63,7 +63,6 @@ Opening or dismissing the command palette does not clear undo/redo. Global actio
63
63
  - Palette preferences (`pref.*`) and command usage history are persisted per namespace in the main SQLite DB via `/api2/auth/client-state*`, not in browser `localStorage`.
64
64
  - `Animated transitions` is on by default and controls UI motion such as tag-bar edit transitions and note expand/collapse transitions.
65
65
  - `Dictation Settings` sets the spoken phrases for pasted dictated text: the phrase that starts tags in a note (`start tags`), the phrases that start and end a quote (`quote`, `end quote`), and the phrase that excludes the next search term (`minus`). Each is words of letters, 2 to 64 characters; the quote and exclusion phrases must differ. Save applies them, Escape or a click outside closes without saving.
66
- - `Tag Suggestions` opens a settings window with one checkbox, saved immediately: `Allow suggesting tags that already apply` (off by default). On: tags a parent already has, and tags the rules imply from them, are suggested and ranked like any other tag. Off: they are left out until typed, then listed after the other matches.
67
66
  - `Visual Cues` opens one window of independent checkboxes, all on by default and saved immediately. Under Drag and drop: `Drag ghost` (a dashed outline of the dragged note and its visible children follows the pointer), `Drop indicator` (a grey landing line plus a faint outline on the note it lands beside or under), and `Direction cursor` (the mouse cursor itself becomes an up, down, indent or outdent icon for a possible move; impossible moves and the option turned off keep the usual grabbing hand). They change only what is shown; dragging works the same. Close the window with Escape or by clicking outside it.
68
67
  - `Note Layout & Appearance` stores namespace-scoped presets for top-level note size, child indentation, vertical spacing, note corners, and tag style. The defaults are `Larger`, `Standard`, `Comfortable`, `Round`, and `Pills` respectively. Note corners can be `Subtle`, `Rounded`, or `Round`; tag style shows visible note tags as outlined `Pills` or `Plain text` in both themes.
69
68
  - `Search suggestion stats & settings` is the single suggestion-personalization control surface. Its ordered 1–365 day slots and default-on time-window-label and one-credit-per-note-per-search-context toggles save immediately when changed. The modal also displays retained daily tag-credit statistics and provides the confirmed activity reset. An empty slot list disables personalization; the default slots are 1, 7, and 30 days.
@@ -5,6 +5,13 @@ README. Changes made after the newest listed version are not described here.
5
5
  Compare with installed_version from the help lookup to tell the user whether
6
6
  they already have a release. Version info offers updates (see the data topic).
7
7
 
8
+ ## 0.22.0
9
+
10
+ - Tag suggestions only narrow as you type, however many letters: `q`, `qu`, `que` keep their order, and a tag that already applies (a parent's, or implied by a rule) stays right after the tags with evidence instead of dropping to the bottom. Each letter after the first answers in a few milliseconds. Measured on a 107,000-note namespace, the wanted tag is in the top five more often after two and three letters (90% and 96%, up from 88% and 93%).
11
+ - With nothing typed, the tag bar and Suggest Tags with AI no longer offer another spelling of a tag the note has: no `eggs` beside `egg`, no `easter-eggs` beside `easter-egg`. Typing still offers every spelling that matches.
12
+ - Synonyms of the tags in the bar are never suggested (no `avocados` once `avocado` is there), and a tag a parent already has is not suggested until you type it, whatever else goes with it.
13
+ - The Tag Suggestions setting "Allow suggesting tags that already apply" is removed; a saved choice is dropped.
14
+
8
15
  ## 0.21.0
9
16
 
10
17
  - **Memory usage** (command palette): the server's memory now and at its peak (on a Mac as Activity Monitor counts it), the notes it holds decrypted, how long the last unlock took and where, and *Measure what holds it*, a breakdown of each part; Copy puts it all on the clipboard.
@@ -145,7 +145,7 @@ Unclosed comments behave like unclosed wrappers:
145
145
  - The tag bar keeps a muted tag icon inside the input before and during typing; hovering the field shows a `Tags` tooltip.
146
146
  - While typing inside a tag token, matching is segment-aware for connector-separated tags: a prefix can match the start of the whole tag or the start of any connector-separated segment (`-`, `_`, `.`, `/`). Example: `wor` suggests both `workspaces` and `databricks-workspaces`, while `orksp` suggests neither.
147
147
  - The active typed prefix and note content provide complementary literal evidence. Once a prefix identifies a connector-separated segment, the remaining tag segments are matched against the note, so typing `GPT` in content containing `5.6 sol` promotes `GPT-5.6-sol` over more frequently used `GPT-*` tags.
148
- - Typing one letter narrows the suggestions you saw before typing instead of reordering them: those with evidence for the note (named in it, going with its tags, from its place in the tree) keep their order, minus the ones not starting with that letter. Then come matching tags the note already has through inheritance or tag rules, so you can still write one explicitly, then every other matching tag by how often it is used.
148
+ - Typing narrows the suggestions you saw before typing instead of reordering them, however many letters you type: those with evidence for the note (named in it, going with its tags, from notes like it) keep their order, minus the ones that stop matching. Then come matching tags the note already has through inheritance or tag rules, so you can still write one explicitly, then every other matching tag by how often it is used. Each further letter only removes suggestions; backspacing brings them back.
149
149
  - When the active prefix starts with `@`, matching meta tags are ranked by notebook usage frequency (note count), with alphabetical tiebreaks for equal counts.
150
150
  - Tags that match phrases in the current note content and the strongest direct co-occurrence hits from the current note's explicit non-meta tags share the top slots together: the strongest content hit appears first, then the strongest co-occurrence hit, then the next content hit, and so on.
151
151
  - Within those content hits, an exact standalone tag written in the current note is prioritized ahead of synonym-expanded recommendations. This keeps a specific literal such as `suprapubic` ahead of a generic ontology representative derived from an earlier word such as `message`.
@@ -164,10 +164,11 @@ Unclosed comments behave like unclosed wrappers:
164
164
  - Case-equivalent tags are collapsed in suggestions (for example `Databricks` vs `databricks`), and the most-used spelling is shown.
165
165
  - Ontology-equivalent tags are usually collapsed to one displayed suggestion. The representative is the most-used eligible tag spelling explicitly written in tag bars, not the ontology-inferred search frequency, but prefix filtering happens first, so typing `emo` can still show `emotion` even if `mood` is the more common synonym overall. If the current note content exactly matches a synonym alias, that alias can still appear immediately after the common representative within the interleaved content/co-occurrence ordering.
166
166
  - Tags declared in ontology rules remain eligible for literal-content matching and typed-prefix completion even when they have never been explicitly assigned to a note. With a blank prefix, unrelated unused ontology tags are not added as generic fallback suggestions.
167
- - Tags already present explicitly in the current tag bar are never suggested.
168
- - Tags already present only via inheritance or ontology inference are suppressed unless they match the prefix. For one-character prefixes they come right after the suggestions with evidence; for longer prefixes they appear at the bottom. The **Tag Suggestions** settings dialog has `Allow suggesting tags that already apply` (off by default): when on, tags a parent already has and tags the rules imply from them are ranked like any other tag. Tags written in the note's own bar are still never suggested.
167
+ - Tags already present explicitly in the current tag bar are never suggested, and neither are their synonyms (no `avocados` once `avocado` is in the bar), even while typing another tag. While you are still typing a tag, its synonyms are offered.
168
+ - With nothing typed, the singular or plural of a tag the note already has is not suggested: with `egg` on the note (or a parent), `eggs` is left out, and `easter-egg` leaves out `easter-eggs`. Type a few letters and every matching spelling is offered again.
169
+ - Tags already present only via inheritance or ontology inference are suppressed unless they match the prefix. Once typed they come right after the suggestions with evidence, however many letters are typed. A tag a parent already has is not suggested with nothing typed, even if it goes with the note's tags elsewhere; type its first letters to write it explicitly. There is no setting for this any more.
169
170
  - Right-clicking a suggestion (Control-click on a Mac) opens the tag menu for it: Edit Tag Relationships, then **Why suggested** below it. The list, the typed letters and edit mode stay as they were; `Escape` closes only the menu.
170
- - **Why suggested** says what the ranking found, then how often the tag is used: named (or partly named) in the note's text, a synonym named in it, the rest of the tag after what was typed, on N notes together with the note's tags, named in the note as last saved, on N notes that share the note's tags, or already applying through a parent or a rule. `Listed by use` means the ranking found no evidence in this note, so it is listed because it is used often; `Part of its name is in this note's text` then shows the words that are there but too few to count. The reasons are MetaList's own ranking, not the AI's.
171
+ - **Why suggested** says what the ranking found, then how often the tag is used: named (or partly named) in the note's text, a synonym named in it, on N notes together with the note's tags, named in the note as last saved, on N notes that share the note's tags, or already applying through a parent or a rule. `Listed by use` means the ranking found no evidence in this note, so it is listed because it is used often; `Part of its name is in this note's text` then shows the words that are there but too few to count. The reasons are MetaList's own ranking, not the AI's.
171
172
  - Suggestions appear below the tag bar when there is room; if the tag bar is near the bottom, the list flips upward but keeps the same best-on-top ordering and initial scroll position.
172
173
  - The server returns at most `MAX_TAG_SUGGESTIONS` note tag suggestions; the default is 20.
173
174
 
@@ -55,7 +55,6 @@ _ALLOWED_CLIENT_PREFERENCES = {
55
55
  "pref.drag_ghost": {"true", "false"},
56
56
  "pref.drop_indicator": {"true", "false"},
57
57
  "pref.drag_direction_icon": {"true", "false"},
58
- "pref.suggest_already_applying_tags": {"true", "false"},
59
58
  # In dictated text pasted into a note, this phrase starts the tags.
60
59
  "pref.dictation.tag_phrase": "dictation_phrase",
61
60
  # The spoken phrases around a quoted phrase when dictating.
@@ -140,6 +139,8 @@ _OBSOLETE_CLIENT_PREFERENCES = frozenset(
140
139
  "pref.ai.openai.retrieval.max_working_summary_characters",
141
140
  "pref.ai.openai.retrieval.ideal_narrowed_scope_approximate_tokens",
142
141
  "pref.position_cue",
142
+ # The Tag Suggestions setting for tags that already apply, removed 2026-10-21.
143
+ "pref.suggest_already_applying_tags",
143
144
  *RETIRED_PROMPT_PREFERENCE_KEYS,
144
145
  *RETIRED_SKILL_PREFERENCE_KEYS,
145
146
  }
@@ -490,18 +491,6 @@ def save_command_palette_usage(
490
491
  return normalized
491
492
 
492
493
 
493
- # Tag suggestions setting: also suggest tags that already apply through a parent
494
- # or the rules (off by default: they are left out until typed).
495
- SUGGEST_ALREADY_APPLYING_TAGS_PREFERENCE_KEY = "pref.suggest_already_applying_tags"
496
-
497
-
498
- def suggests_already_applying_tags(*, token: str) -> bool:
499
- saved = load_client_preferences(token=token)
500
- if SUGGEST_ALREADY_APPLYING_TAGS_PREFERENCE_KEY not in saved:
501
- return False
502
- return saved[SUGGEST_ALREADY_APPLYING_TAGS_PREFERENCE_KEY] == "true"
503
-
504
-
505
494
  def load_client_state(*, token: str) -> dict[str, object]:
506
495
  return {
507
496
  "preferences": load_client_preferences(token=token),
@@ -935,6 +935,12 @@ class SearchIndex:
935
935
  if has_matches:
936
936
  completions.append(term)
937
937
  return completions
938
+ @property
939
+ def revision(self) -> int:
940
+ """Counts every change to the index, so a result kept from it can tell it is stale."""
941
+ with self._lock:
942
+ return self._revision
943
+
938
944
  def query_note_ids(self, search: str) -> Set[str]:
939
945
  t0 = time.perf_counter()
940
946
  if not isinstance(search, str):
@@ -0,0 +1,112 @@
1
+ """Singular and plural spellings of a tag (egg and eggs), so suggestions leave out
2
+ another spelling of a tag the note already has (docs/ui/tag-bar.md, "Tag Suggestions").
3
+
4
+ Two tags are spellings of each other when they are the same apart from one word that
5
+ one has singular and the other plural: `egg`/`eggs`, `easter-egg`/`easter-eggs`,
6
+ `berry`/`Berries`. Plurals are generated from each word (never guessed back to a
7
+ singular, which cannot tell `ties` from `berries`), so a match is always a real
8
+ pluralisation of one of the two. Words with digits or other characters (`1990s`,
9
+ `abc=xyz`) and words shorter than three letters have no plural spellings."""
10
+
11
+ from __future__ import annotations
12
+
13
+ import re
14
+ from typing import Iterable
15
+
16
+ from app.config import TAG_SUGGESTION_CONNECTORS
17
+ from app.security.sensitive_cache import sensitive_lru_cache
18
+ from app.services.resource_limits import SENSITIVE_MEMO_BYTES
19
+
20
+ _CONNECTOR_RUN = re.compile(f"([{re.escape(TAG_SUGGESTION_CONNECTORS)}]+)")
21
+ _WORD = re.compile(r"[a-z]+")
22
+ # Shorter words (`ai`, `os`, `ui`) are usually abbreviations, not nouns with plurals.
23
+ _MIN_REGULAR_WORD_LENGTH = 3
24
+ # `-us` → `-i` (cactus, cacti) only for words this long, so `bus` and `plus` keep theirs.
25
+ _MIN_LATIN_US_WORD_LENGTH = 5
26
+ _VOWELS = frozenset("aeiou")
27
+ # Tag names are private in an encrypted namespace: the memos are capped and cleared on lock.
28
+ _SPELLINGS_MEMO_ENTRIES = 32768
29
+ _ES_ENDINGS = ("s", "x", "z", "ch", "sh", "o")
30
+ # A singular ending replaced by a plural one, for words at least this long.
31
+ _REPLACED_ENDINGS = (
32
+ ("f", "ves", _MIN_REGULAR_WORD_LENGTH), # leaf, leaves
33
+ ("fe", "ves", _MIN_REGULAR_WORD_LENGTH), # knife, knives
34
+ ("sis", "ses", _MIN_REGULAR_WORD_LENGTH), # analysis, analyses
35
+ ("man", "men", _MIN_REGULAR_WORD_LENGTH), # fireman, firemen
36
+ ("us", "i", _MIN_LATIN_US_WORD_LENGTH), # cactus, cacti
37
+ )
38
+ # A tag split at its connectors alternates a word and the connector run after it.
39
+ _PARTS_PER_WORD = 2
40
+ _IRREGULAR_PLURALS = {
41
+ "child": "children",
42
+ "person": "people",
43
+ "mouse": "mice",
44
+ "louse": "lice",
45
+ "goose": "geese",
46
+ "foot": "feet",
47
+ "tooth": "teeth",
48
+ "ox": "oxen",
49
+ "index": "indices",
50
+ "matrix": "matrices",
51
+ "vertex": "vertices",
52
+ "appendix": "appendices",
53
+ "criterion": "criteria",
54
+ "phenomenon": "phenomena",
55
+ }
56
+
57
+
58
+ @sensitive_lru_cache(maxsize=_SPELLINGS_MEMO_ENTRIES, max_bytes=SENSITIVE_MEMO_BYTES)
59
+ def _plurals_of_word(word: str) -> frozenset[str]:
60
+ assert word == word.casefold(), word
61
+ plurals = set()
62
+ if word in _IRREGULAR_PLURALS:
63
+ plurals.add(_IRREGULAR_PLURALS[word])
64
+ if len(word) < _MIN_REGULAR_WORD_LENGTH or not _WORD.fullmatch(word):
65
+ return frozenset(plurals)
66
+ plurals.add(word + "s")
67
+ if word.endswith(_ES_ENDINGS):
68
+ plurals.add(word + "es")
69
+ # A consonant then `y` (berry, berries); a vowel then `y` only adds `s` (day, days).
70
+ stem = word.removesuffix("y")
71
+ if stem != word and stem[-1] not in _VOWELS:
72
+ plurals.add(stem + "ies")
73
+ for singular, plural, min_length in _REPLACED_ENDINGS:
74
+ if word.endswith(singular) and len(word) >= min_length:
75
+ plurals.add(word.removesuffix(singular) + plural)
76
+ plurals.discard(word)
77
+ return frozenset(plurals)
78
+
79
+
80
+ @sensitive_lru_cache(maxsize=_SPELLINGS_MEMO_ENTRIES, max_bytes=SENSITIVE_MEMO_BYTES)
81
+ def plural_spellings(term: str) -> frozenset[str]:
82
+ """The term (casefolded) with one of its words made plural, connectors kept."""
83
+ if not isinstance(term, str) or term == "":
84
+ raise TypeError("term must be a non-empty string")
85
+ parts = _CONNECTOR_RUN.split(term.casefold())
86
+ spellings = set()
87
+ for index in range(0, len(parts), _PARTS_PER_WORD):
88
+ for plural in _plurals_of_word(parts[index]):
89
+ spellings.add("".join((*parts[:index], plural, *parts[index + 1:])))
90
+ return frozenset(spellings)
91
+
92
+
93
+ class PluralSpellings:
94
+ """The tags a note has; tells whether another tag is one of their singular or
95
+ plural spellings."""
96
+
97
+ def __init__(self, terms: Iterable[str]) -> None:
98
+ self._keys = frozenset(term.casefold() for term in terms if not term.startswith("@"))
99
+ self._plural_keys = frozenset(
100
+ spelling for key in self._keys for spelling in plural_spellings(key)
101
+ )
102
+
103
+ def covers(self, term: str) -> bool:
104
+ """True when `term` is another spelling of one of the other tags (`eggs` for `egg`,
105
+ `egg` for `eggs`), also when it is among the tags itself (`avocados` beside its
106
+ synonym `avocado`); never for the same spelling alone or a meta tag."""
107
+ key = term.casefold()
108
+ if key.startswith("@"):
109
+ return False
110
+ if key in self._plural_keys:
111
+ return True
112
+ return not self._keys.isdisjoint(plural_spellings(key))
@@ -253,10 +253,7 @@ class SuggestionEvidence:
253
253
  # The index the ranking used, for the co-occurring notes behind a reason.
254
254
  index: SearchIndex
255
255
  writer: ReasonWriter
256
- prefix: str
257
256
  content_matches: Mapping[str, TagContentMatch]
258
- # Terms whose content match is the rest of the tag after the typed prefix.
259
- prefix_remainder_terms: FrozenSet[str]
260
257
  # Synonym named exactly in the content -> (the tag it is a synonym of, its match).
261
258
  synonym_matches: Mapping[str, Tuple[str, TagContentMatch]]
262
259
  cooccurrence_terms: FrozenSet[str]
@@ -288,20 +285,16 @@ class SuggestionEvidence:
288
285
  lines: List[str] = []
289
286
  if subject in self.synonym_matches:
290
287
  representative, match = self.synonym_matches[subject]
291
- lines.append(self._named(match=match, shown=shown, where="this note", is_remainder=False))
288
+ lines.append(named_line(match=match, shown=shown, where="this note"))
292
289
  lines.append(f"A synonym of {quoted(representative)}")
293
290
  elif subject in self.content_matches:
294
- lines.append(self._named(
295
- match=self.content_matches[subject], shown=shown, where="this note",
296
- is_remainder=subject in self.prefix_remainder_terms,
297
- ))
291
+ lines.append(named_line(match=self.content_matches[subject], shown=shown, where="this note"))
298
292
  if subject in self.cooccurrence_terms:
299
293
  assert subject in cooccurrences, f"{subject!r} was ranked as co-occurring"
300
294
  lines.append(self._about(subject, shown, self._cooccurrence(cooccurrences[subject])))
301
295
  if subject in self.saved_text_matches and subject not in self.content_matches:
302
- lines.append(self._named(
296
+ lines.append(named_line(
303
297
  match=self.saved_text_matches[subject], shown=shown, where="this note as last saved",
304
- is_remainder=False,
305
298
  ))
306
299
  if subject in self.overlaps and subject not in self.cooccurrence_terms:
307
300
  overlap = self._overlap(subject=subject, overlap=self.overlaps[subject])
@@ -309,12 +302,6 @@ class SuggestionEvidence:
309
302
  lines.append(self._about(subject, shown, overlap))
310
303
  return lines
311
304
 
312
- def _named(self, *, match: TagContentMatch, shown: str, where: str, is_remainder: bool) -> str:
313
- if is_remainder:
314
- words = ", ".join(quoted(phrase) for phrase in quote_content_match(match))
315
- return f"The rest of it after {quoted(self.prefix)} is in {where}: {words}"
316
- return named_line(match=match, shown=shown, where=where)
317
-
318
305
  def _cooccurrence(self, cooccurrence: TagCooccurrence) -> str:
319
306
  return cooccurrence_phrase(cooccurrence, self.cooccurrence_anchors, "this note's tags", is_other_notes=False)
320
307