biblemate 0.2.60__tar.gz → 0.2.63__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 (32) hide show
  1. {biblemate-0.2.60 → biblemate-0.2.63}/PKG-INFO +1 -1
  2. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/bible_study_mcp.py +7 -7
  3. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/core/systems.py +3 -1
  4. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/main.py +5 -1
  5. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/requirements.txt +1 -1
  6. biblemate-0.2.63/biblemate/version.txt +1 -0
  7. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate.egg-info/PKG-INFO +1 -1
  8. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate.egg-info/requires.txt +1 -1
  9. {biblemate-0.2.60 → biblemate-0.2.63}/setup.py +1 -1
  10. biblemate-0.2.60/biblemate/version.txt +0 -1
  11. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/README.md +0 -0
  12. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/__init__.py +0 -0
  13. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/api/add_vector.py +0 -0
  14. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/api/api.py +0 -0
  15. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/api/bible.py +0 -0
  16. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/api/dialogs.py +0 -0
  17. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/api/search.py +0 -0
  18. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/biblematemcp.py +0 -0
  19. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/config.py +0 -0
  20. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/etextedit/README.md +0 -0
  21. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/etextedit/plugins/Extract Bible References.py +0 -0
  22. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/etextedit/plugins/Insert Bible Text.py +0 -0
  23. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/package_name.txt +0 -0
  24. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/ui/info.py +0 -0
  25. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/ui/prompts.py +0 -0
  26. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/ui/selection_dialog.py +0 -0
  27. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate/ui/text_area.py +0 -0
  28. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate.egg-info/SOURCES.txt +0 -0
  29. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate.egg-info/dependency_links.txt +0 -0
  30. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate.egg-info/entry_points.txt +0 -0
  31. {biblemate-0.2.60 → biblemate-0.2.63}/biblemate.egg-info/top_level.txt +0 -0
  32. {biblemate-0.2.60 → biblemate-0.2.63}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biblemate
3
- Version: 0.2.60
3
+ Version: 0.2.63
4
4
  Summary: BibleMate AI - Automate Your Bible Study
5
5
  Home-page: https://biblemate.ai
6
6
  Author: Eliran Wong
@@ -1180,6 +1180,13 @@ def ask_bible_scholar(request:List[Dict[str, Any]]) -> str:
1180
1180
  messages = agentmake(request, **{'system': 'bible/scholar'}, **AGENTMAKE_CONFIG)
1181
1181
  return getResponse(messages)
1182
1182
 
1183
+ @mcp.tool
1184
+ def write_bible_perspectives(request:List[Dict[str, Any]]) -> str:
1185
+ """Write biblical perspectives and principles in relation to the user content"""
1186
+ global agentmake, getResponse, AGENTMAKE_CONFIG
1187
+ messages = agentmake(request, **{'system': 'bible/perspective'}, **AGENTMAKE_CONFIG)
1188
+ return getResponse(messages)
1189
+
1183
1190
  @mcp.tool
1184
1191
  def explain_bible_meaning(request:List[Dict[str, Any]]) -> str:
1185
1192
  """Explain the meaning of the user-given content in reference to the Bible"""
@@ -1299,13 +1306,6 @@ def write_bible_chapter_summary(request:List[Dict[str, Any]]) -> str:
1299
1306
  messages = agentmake(request, **{'instruction': 'bible/chapter_summary', 'system': 'auto'}, **AGENTMAKE_CONFIG)
1300
1307
  return getResponse(messages)
1301
1308
 
1302
- @mcp.tool
1303
- def write_bible_perspectives(request:List[Dict[str, Any]]) -> str:
1304
- """Write biblical perspectives and principles in relation to the user content"""
1305
- global agentmake, getResponse, AGENTMAKE_CONFIG
1306
- messages = agentmake(request, **{'system': 'bible/perspective'}, **AGENTMAKE_CONFIG)
1307
- return getResponse(messages)
1308
-
1309
1309
  @mcp.tool
1310
1310
  def interpret_old_testament_verse(request:List[Dict[str, Any]]) -> str:
1311
1311
  """Interpret the user-given bible verse from the Old Testament in the light of its context, together with insights of biblical Hebrew studies; an old testament bible verse / reference(s) must be given"""
@@ -50,7 +50,9 @@ def get_system_master_plan() -> str:
50
50
  """
51
51
  possible_system_file_path_2 = os.path.join(PACKAGE_PATH, "systems", "create_action_plan.md")
52
52
  possible_system_file_path_1 = os.path.join(AGENTMAKE_USER_DIR, "systems", "create_action_plan.md")
53
- return readTextFile(possible_system_file_path_2 if os.path.isfile(possible_system_file_path_2) else possible_system_file_path_1)
53
+ system_content = readTextFile(possible_system_file_path_2 if os.path.isfile(possible_system_file_path_2) else possible_system_file_path_1)
54
+ return system_content+"""\n
55
+ - Avoid specifying particular Bible versions (e.g., KJV, NIV) or copyrighted materials unless explicitly supported by the tool's documentation. When retrieving Bible verses or materials is required, simply prompt the tools to retrieve them and defer version selection to the tool's native configuration. To maintain a seamless experience, do not solicit version preferences from the user."""
54
56
 
55
57
  def get_system_improve_prompt_2() -> str:
56
58
  """
@@ -189,6 +189,8 @@ Get a static text-based response directly from a text-based AI model without usi
189
189
  templates = {r.name: (r.description, r.uriTemplate) for r in templates_raw}
190
190
  templates = dict(sorted(templates.items()))
191
191
 
192
+ #writeTextFile(os.path.join(BIBLEMATE_USER_DIR, "tools.py"), pprint.pformat(tools))
193
+ #writeTextFile(os.path.join(BIBLEMATE_USER_DIR, "tools_schema.py"), pprint.pformat(tools_schema))
192
194
  return tools, tools_schema, master_available_tools, available_tools, tool_descriptions, tool_descriptions_lite, prompts, prompts_schema, resources, templates
193
195
 
194
196
  def display_cancel_message(console, cancel_message="Cancelled!"):
@@ -1076,6 +1078,8 @@ Press `Ctrl+C` once or twice until the running process is cancelled, while you a
1076
1078
 
1077
1079
  # Tool selection systemm message
1078
1080
  system_tool_selection = get_system_tool_selection(available_tools, tool_descriptions_lite if config.light else tool_descriptions)
1081
+ #writeTextFile(os.path.join(BIBLEMATE_USER_DIR, "system_tool_selection.md"), system_tool_selection)
1082
+ #print(os.path.join(BIBLEMATE_USER_DIR, "system_tool_selection.md"))
1079
1083
 
1080
1084
  # auto tool selection in chat mode
1081
1085
  if config.agent_mode is None and config.auto_tool_selection and not user_request.startswith("@"):
@@ -1326,7 +1330,7 @@ Press `Ctrl+C` once or twice until the running process is cancelled, while you a
1326
1330
  result = await client.get_prompt(specified_prompt[1:], structured_output)
1327
1331
  #print(result, "\n\n")
1328
1332
  master_plan = result.messages[0].content.text
1329
- # display info# display info
1333
+ # display info
1330
1334
  display_info(console, Markdown(user_request), title="User Request", border_style=get_border_style())
1331
1335
  display_info(console, Markdown(master_plan), title="Master Plan", border_style=get_border_style())
1332
1336
  else:
@@ -1,4 +1,4 @@
1
- agentmake>=1.1.99
1
+ agentmake>=1.2.3
2
2
  agentmakemcp>=0.0.8
3
3
  fastmcp[cli]
4
4
  rich
@@ -0,0 +1 @@
1
+ 0.2.63
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biblemate
3
- Version: 0.2.60
3
+ Version: 0.2.63
4
4
  Summary: BibleMate AI - Automate Your Bible Study
5
5
  Home-page: https://biblemate.ai
6
6
  Author: Eliran Wong
@@ -1,4 +1,4 @@
1
- agentmake>=1.1.99
1
+ agentmake>=1.2.3
2
2
  agentmakemcp>=0.0.8
3
3
  alive-progress
4
4
  click
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
  from setuptools.command.install import install
3
3
  import os, shutil, platform, sys
4
4
 
5
- version = "0.2.60"
5
+ version = "0.2.63"
6
6
  with open(os.path.join("biblemate", "version.txt"), "w", encoding="utf-8") as fileObj:
7
7
  fileObj.write(version)
8
8
 
@@ -1 +0,0 @@
1
- 0.2.60
File without changes