nlsql-coder 0.0.2__tar.gz → 0.0.3__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 (36) hide show
  1. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/PKG-INFO +1 -1
  2. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/cli/interface.py +16 -2
  3. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder.egg-info/PKG-INFO +1 -1
  4. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/pyproject.toml +1 -1
  5. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/LICENSE +0 -0
  6. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/README.md +0 -0
  7. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/__init__.py +0 -0
  8. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/__init__.py +0 -0
  9. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/__init__.py +0 -0
  10. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/helpers/__init__.py +0 -0
  11. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/helpers/get_agent.py +0 -0
  12. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/helpers/memory_manager.py +0 -0
  13. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/helpers/project_details.py +0 -0
  14. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/helpers/system_prompt.md +0 -0
  15. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/model/__init__.py +0 -0
  16. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/model/agent.py +0 -0
  17. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/tools/__init__.py +0 -0
  18. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/tools/file_tools.py +0 -0
  19. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/agent/tools/tool_specs.py +0 -0
  20. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/cli/__init__.py +0 -0
  21. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/cli/arg_parsing.py +0 -0
  22. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/cli/tool_calling.py +0 -0
  23. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/providers/__init__.py +0 -0
  24. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/providers/aws/__init__.py +0 -0
  25. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/providers/aws/provider.py +0 -0
  26. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/providers/base.py +0 -0
  27. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/providers/config.py +0 -0
  28. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/app/providers/gcp/__init__.py +0 -0
  29. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/data/__init__.py +0 -0
  30. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder/data/create_agent_md.py +0 -0
  31. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder.egg-info/SOURCES.txt +0 -0
  32. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder.egg-info/dependency_links.txt +0 -0
  33. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder.egg-info/entry_points.txt +0 -0
  34. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder.egg-info/requires.txt +0 -0
  35. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/nlsql_coder.egg-info/top_level.txt +0 -0
  36. {nlsql_coder-0.0.2 → nlsql_coder-0.0.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nlsql-coder
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: NLSQL's internal AI coding agent CLI tool for interacting with codebases
5
5
  Author: NLSQL
6
6
  License: MIT License
@@ -8,6 +8,7 @@ from rich.live import Live
8
8
  from rich.align import Align
9
9
  from nlsql_coder.data.create_agent_md import create_md
10
10
  import time
11
+ import os
11
12
 
12
13
 
13
14
  console = Console()
@@ -17,13 +18,27 @@ Welcome _ _ _ ____ ___ _
17
18
  | \ | || | / ___| / _ \| |
18
19
  to | \| || | \___ \| | | | |
19
20
  | |\ || |___ ___) | |_| | |___
20
- |_| \_||_____||____/ \__\_\_____| Code\n\n[/blue bold]
21
+ |_| \_||_____||____/ \__\_\_____| Coder\n\n[/blue bold]
21
22
  """
22
23
 
24
+ def get_envs():
25
+ console.print("[bold]To start, we need to set up your environment variables...[/bold]")
26
+ os.environ["MODEL_PROVIDER"] = "aws"
27
+ model_name = console.input("\n[bold blue][Model name]:[/bold blue] ")
28
+ access_key_id = console.input("\n[bold blue][Access Key ID]:[/bold blue] ")
29
+ secret_key = console.input("\n[bold blue][Secret Access Key]:[/bold blue] ")
30
+ region = console.input("\n[bold blue][Region]:[/bold blue] ")
31
+ os.environ["MODEL_NAME"] = model_name
32
+ os.environ["AWS_ACCESS_KEY_ID"] = access_key_id
33
+ os.environ["AWS_SECRET_ACCESS_KEY"] = secret_key
34
+ os.environ["AWS_DEFAULT_REGION"] = region
23
35
 
24
36
 
25
37
  def main_loop():
26
38
  try:
39
+ console.clear()
40
+ console.print(Align.center(welcome_message))
41
+ get_envs()
27
42
  usage_data = {}
28
43
  console.clear()
29
44
  with console.status("[bold]Creating AGENTS.md file...\n[/bold]", spinner="dots"):
@@ -39,7 +54,6 @@ def main_loop():
39
54
  time.sleep(2)
40
55
  console.clear()
41
56
  console.print(Align.center(welcome_message))
42
-
43
57
  while True:
44
58
 
45
59
  if args.usage and usage_data:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nlsql-coder
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: NLSQL's internal AI coding agent CLI tool for interacting with codebases
5
5
  Author: NLSQL
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nlsql-coder"
7
- version = "0.0.2"
7
+ version = "0.0.3"
8
8
  description = "NLSQL's internal AI coding agent CLI tool for interacting with codebases"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
File without changes
File without changes
File without changes