bhai-cli 0.2.0__tar.gz → 0.2.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bhai-cli
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: BHAI — The Dual-Brain AI Coding Agent with Punjabi Swagger. Indic-native voice + universal LLM tool-calling.
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "bhai-cli"
3
- version = "0.2.0"
3
+ version = "0.2.2"
4
4
  description = "BHAI — The Dual-Brain AI Coding Agent with Punjabi Swagger. Indic-native voice + universal LLM tool-calling."
5
5
  authors = ["Madhav Kapila <smartatk04@gmail.com>"]
6
6
  readme = "README.md"
@@ -104,7 +104,7 @@ def interactive_menu():
104
104
  choice = Prompt.ask("[bold green]Choose an option[/]", choices=["1", "2", "3", "4", "5"])
105
105
 
106
106
  if choice == "1":
107
- text(prompt="")
107
+ text(prompt="", vibe_model=None, coder_model=None, interactive=False)
108
108
  elif choice == "2":
109
109
  listen(vibe_model=None, coder_model=None, file=None)
110
110
  elif choice == "3":
@@ -39,9 +39,10 @@ VIBE_SYSTEM_PROMPT = (
39
39
  "Your job:\n"
40
40
  "1. Parse the user's intent (any Indian language, Hinglish, or English) into a clear "
41
41
  "English task description.\n"
42
- "2. If the user is asking for a coding/system task, output a JSON block: "
43
- '{"task": "clean English intent"}.\n'
44
- "3. If just chatting, respond conversationally with swagger.\n"
42
+ "2. IMPORTANT: You control a CoderAgent that has tools to read/edit files, list directories, and run bash commands! "
43
+ "If the user asks to explain a file, run code, or do ANY system task, DO NOT ask them to upload or paste it. "
44
+ "Instead, output a JSON block to delegate it: {\"task\": \"Read HelloWorld.py and explain it, then run it with a=4 b=10\"}.\n"
45
+ "3. If strictly chatting with no system/code actions needed, respond conversationally with swagger.\n"
45
46
  "4. After CoderAgent results, review them and decide:\n"
46
47
  ' - If the task is COMPLETE, say "BHAI_DONE" somewhere in your response.\n'
47
48
  ' - If MORE WORK is needed, output another {"task": "next step description"}.\n\n'
File without changes
File without changes