contextsql-garvit 0.1.1__tar.gz → 0.1.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.
Files changed (25) hide show
  1. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/PKG-INFO +1 -1
  2. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/cli.py +2 -0
  3. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql_garvit.egg-info/PKG-INFO +1 -1
  4. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/pyproject.toml +1 -1
  5. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/README.md +0 -0
  6. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/__init__.py +0 -0
  7. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/agent.py +0 -0
  8. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/autoglossary.py +0 -0
  9. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/config.py +0 -0
  10. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/db.py +0 -0
  11. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/feedback.py +0 -0
  12. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/glossary.py +0 -0
  13. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/hints.py +0 -0
  14. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/introspect.py +0 -0
  15. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/learn.py +0 -0
  16. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/names.py +0 -0
  17. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/phrasing.py +0 -0
  18. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/prompt.py +0 -0
  19. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql/retrieve.py +0 -0
  20. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql_garvit.egg-info/SOURCES.txt +0 -0
  21. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql_garvit.egg-info/dependency_links.txt +0 -0
  22. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql_garvit.egg-info/entry_points.txt +0 -0
  23. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql_garvit.egg-info/requires.txt +0 -0
  24. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/contextsql_garvit.egg-info/top_level.txt +0 -0
  25. {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: contextsql_garvit
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Local, free, business-context-aware text-to-SQL agent
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
@@ -93,6 +93,8 @@ def cmd_ask(a):
93
93
  while True:
94
94
  q = input("\n> ").strip()
95
95
  if not q: break
96
+ if q.lower() in ("cls", "clear", "/cls", "/clear"):
97
+ os.system("cls" if os.name == "nt" else "clear"); continue
96
98
  if q.startswith("/") or q.startswith("contextsql "):
97
99
  try:
98
100
  main(shlex.split(q[1:] if q.startswith("/") else q[11:]))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: contextsql_garvit
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Local, free, business-context-aware text-to-SQL agent
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "contextsql_garvit"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Local, free, business-context-aware text-to-SQL agent"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"