cognify-code 0.2.1__py3-none-any.whl → 0.2.2__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.
@@ -5,7 +5,7 @@ Review, generate, search, and refactor code with an intelligent AI agent.
5
5
  All running locally with complete privacy using Ollama.
6
6
  """
7
7
 
8
- __version__ = "0.2.1"
8
+ __version__ = "0.2.2"
9
9
  __author__ = "Ashok Kumar"
10
10
 
11
11
  from ai_code_assistant.config import Config, load_config
ai_code_assistant/cli.py CHANGED
@@ -222,7 +222,7 @@ def chat(ctx, context: Tuple[Path, ...], stream: bool):
222
222
  " /clear - Clear conversation history\n"
223
223
  " /context - Show loaded context files\n"
224
224
  " /export - Export conversation to markdown\n"
225
- " /quit - Exit chat\n",
225
+ " /quit or exit - Exit chat\n",
226
226
  title="Interactive Mode",
227
227
  ))
228
228
 
@@ -236,6 +236,11 @@ def chat(ctx, context: Tuple[Path, ...], stream: bool):
236
236
  if not user_input:
237
237
  continue
238
238
 
239
+ # Handle exit commands without slash
240
+ if user_input.lower() in ("exit", "quit", "bye", "q"):
241
+ console.print("[dim]Goodbye![/dim]")
242
+ break
243
+
239
244
  # Handle commands
240
245
  if user_input.startswith("/"):
241
246
  cmd_parts = user_input[1:].split(maxsplit=1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognify-code
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Your local AI-powered code assistant. Review, generate, search, and refactor code with an intelligent AI agent—all running locally with complete privacy.
5
5
  Author-email: Ashok Kumar <akkssy@users.noreply.github.com>
6
6
  Maintainer-email: Ashok Kumar <akkssy@users.noreply.github.com>
@@ -1,5 +1,5 @@
1
- ai_code_assistant/__init__.py,sha256=nvn7PnQ6qVcUmuzg9dpOOBOyL60eb8Pfs34IWsygRRU,409
2
- ai_code_assistant/cli.py,sha256=Mvzu5vRRZBGkDBCrUA3zyI8LJxHKB7AbIsCJWs8U07Q,61174
1
+ ai_code_assistant/__init__.py,sha256=XnpG4h-2gW3cXseFvqQT_-XyOmVJtikVMrHUnmy8XKI,409
2
+ ai_code_assistant/cli.py,sha256=47TI6XMkcgojYLSLADnk3BphxUffSgmV0tCTHIu4W7o,61350
3
3
  ai_code_assistant/config.py,sha256=6sAufexwzfCu2JNWvt9KevS9k_gMcjj1TAnwuaO1ZFw,4727
4
4
  ai_code_assistant/llm.py,sha256=DfcWJf6zEAUsPSEZLdEmb9o6BQNf1Ja88nswjpy6cOw,4209
5
5
  ai_code_assistant/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -47,9 +47,9 @@ ai_code_assistant/reviewer/prompts.py,sha256=9RrHEBttS5ngxY2BNsUvqGC6-cTxco-kDPb
47
47
  ai_code_assistant/utils/__init__.py,sha256=3HO-1Bj4VvUtM7W1C3MKR4DzQ9Xc875QKSHHkHwuqVs,368
48
48
  ai_code_assistant/utils/file_handler.py,sha256=jPxvtI5dJxkpPjELgRJ11WXamtyKKmZANQ1fcfMVtiU,5239
49
49
  ai_code_assistant/utils/formatters.py,sha256=5El9ew9HS6JLBucBUxxcw4fO5nLpOucgNJrJj2NC3zw,8945
50
- cognify_code-0.2.1.dist-info/licenses/LICENSE,sha256=5yu_kWq2bK-XKhWo79Eykdg4Qf3O8V2Ys7cpOO7GyyE,1063
51
- cognify_code-0.2.1.dist-info/METADATA,sha256=G7LRCZcKzcLaMBpq987vBHkJwrGGt8dqm84L8DUG-Lc,11862
52
- cognify_code-0.2.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
53
- cognify_code-0.2.1.dist-info/entry_points.txt,sha256=MrBnnWPHZVozqqKyTlnJO63YN2kE5yPWKlr2nnRFRks,94
54
- cognify_code-0.2.1.dist-info/top_level.txt,sha256=dD_r1x-oX0s1uspYY72kig4jfIsjh3oDKwOBCMYXqpo,18
55
- cognify_code-0.2.1.dist-info/RECORD,,
50
+ cognify_code-0.2.2.dist-info/licenses/LICENSE,sha256=5yu_kWq2bK-XKhWo79Eykdg4Qf3O8V2Ys7cpOO7GyyE,1063
51
+ cognify_code-0.2.2.dist-info/METADATA,sha256=HRjZsc18DNcoS-NOJw9mCXB3qvrwuP1GhkgeLHmucOg,11862
52
+ cognify_code-0.2.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
53
+ cognify_code-0.2.2.dist-info/entry_points.txt,sha256=MrBnnWPHZVozqqKyTlnJO63YN2kE5yPWKlr2nnRFRks,94
54
+ cognify_code-0.2.2.dist-info/top_level.txt,sha256=dD_r1x-oX0s1uspYY72kig4jfIsjh3oDKwOBCMYXqpo,18
55
+ cognify_code-0.2.2.dist-info/RECORD,,