biblemate 0.2.60__py3-none-any.whl → 0.2.62__py3-none-any.whl

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.
@@ -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"""
biblemate/main.py CHANGED
@@ -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("@"):
@@ -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
biblemate/version.txt CHANGED
@@ -1 +1 @@
1
- 0.2.60
1
+ 0.2.62
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biblemate
3
- Version: 0.2.60
3
+ Version: 0.2.62
4
4
  Summary: BibleMate AI - Automate Your Bible Study
5
5
  Home-page: https://biblemate.ai
6
6
  Author: Eliran Wong
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Programming Language :: Python :: 3.12
23
23
  Requires-Python: >=3.10, <3.13
24
- Requires-Dist: agentmake >=1.1.99
24
+ Requires-Dist: agentmake >=1.2.3
25
25
  Requires-Dist: agentmakemcp >=0.0.8
26
26
  Requires-Dist: alive-progress
27
27
  Requires-Dist: click
@@ -1,12 +1,12 @@
1
1
  biblemate/README.md,sha256=ngPTXscxJgA2Q6dArGQEi_q4C74QxugitH3ryM_r70o,1247
2
2
  biblemate/__init__.py,sha256=f36wWxawWA6ViT10JKrxv7BRkJK5u7p-5Y7TRoWNers,10321
3
- biblemate/bible_study_mcp.py,sha256=TknEabFf-6xj6cQeVSr8RunYx6yLKBQ_-D2CtOhNVaU,62184
3
+ biblemate/bible_study_mcp.py,sha256=VaOHER4yHQxMcSBkU3S53VcYFDcMGc9LjMyZhXdc5Pc,62184
4
4
  biblemate/biblematemcp.py,sha256=8GSAbzZw54L2jwj4wwCXlChBkHROUQETM2TJ2j8Ffeg,1506
5
5
  biblemate/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- biblemate/main.py,sha256=T-eOpy6z_fdp3rRK_FVPv6nxrcYHhfcfxsDbooR0j2o,92823
6
+ biblemate/main.py,sha256=rVNExgHAIoTej_xNk8y2EICkY9rbl9KV_FwiPJHeBP8,93206
7
7
  biblemate/package_name.txt,sha256=WkkuEEkgw7EKpXV8GshpzhZlwRor1wpotTS7vP24b_g,9
8
- biblemate/requirements.txt,sha256=iALUBRHeIRzfQEf6hkd5AQS_LOoQr31Zk1RA0JLITxI,82
9
- biblemate/version.txt,sha256=LuWhTKSzkQqJ8fQAtpLCwKDq7hXnpzW5DR1LMW6OLUA,6
8
+ biblemate/requirements.txt,sha256=jybVImIKUfSLEq2gEpfPoAyGIgyf1AZWewvwiE-NViE,81
9
+ biblemate/version.txt,sha256=hPFzmSOdZY7teXWCmWe5nqkS6jPraH978PS4wLu9HMs,6
10
10
  biblemate/api/add_vector.py,sha256=YbwTaM5i-8MCqu8aYiwI5kZmJ1bRnm-5RicwkonaDv8,6857
11
11
  biblemate/api/api.py,sha256=gBlmMzcGXWKviEve0IBTRNJbE2l8dqUD-RGdwaev4Bw,4291
12
12
  biblemate/api/bible.py,sha256=6FnNrpWPHPzW9WovSAm75DzOouBplCmEOYhaQsq9Wfg,7699
@@ -20,8 +20,8 @@ biblemate/ui/info.py,sha256=rg2UvsyQTR7DbOWtO246JT2Yn92A_3RM85go4XXPhI8,2545
20
20
  biblemate/ui/prompts.py,sha256=IDoKM-JFXM7Vm3VYVRFR5Ybo9xaSbcwCFiEkj3l6-gY,3633
21
21
  biblemate/ui/selection_dialog.py,sha256=aIUhFWm56uYnd8-fyebADv7qwwtEeuMBkfjqlcPYRWc,4659
22
22
  biblemate/ui/text_area.py,sha256=7Qx1wHbJ792MEq2N29uMSjDf_eTgh_G6hqypGus957w,18507
23
- biblemate-0.2.60.dist-info/METADATA,sha256=Oj1at_UWPIRDnNkoAnWE0KQzm1rhz4jSbKrGdyoGFsk,2690
24
- biblemate-0.2.60.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
25
- biblemate-0.2.60.dist-info/entry_points.txt,sha256=8Y88G_Vy1PgsSXRhq_SUzP8PUl5Qv54hFlpMkmvwrOA,117
26
- biblemate-0.2.60.dist-info/top_level.txt,sha256=pq9uX0tAS0bizZcZ5GW5zIoDLQBa-b5QDlDGsdHNgiU,10
27
- biblemate-0.2.60.dist-info/RECORD,,
23
+ biblemate-0.2.62.dist-info/METADATA,sha256=3ptKSpzeszSdSJ_ikz4mN52WovWXDS7C3PvPivwIeqg,2689
24
+ biblemate-0.2.62.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
25
+ biblemate-0.2.62.dist-info/entry_points.txt,sha256=8Y88G_Vy1PgsSXRhq_SUzP8PUl5Qv54hFlpMkmvwrOA,117
26
+ biblemate-0.2.62.dist-info/top_level.txt,sha256=pq9uX0tAS0bizZcZ5GW5zIoDLQBa-b5QDlDGsdHNgiU,10
27
+ biblemate-0.2.62.dist-info/RECORD,,