contextsql-garvit 0.1.2__tar.gz → 0.1.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 (25) hide show
  1. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/PKG-INFO +1 -1
  2. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/cli.py +2 -1
  3. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/PKG-INFO +1 -1
  4. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/pyproject.toml +1 -1
  5. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/README.md +0 -0
  6. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/__init__.py +0 -0
  7. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/agent.py +0 -0
  8. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/autoglossary.py +0 -0
  9. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/config.py +0 -0
  10. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/db.py +0 -0
  11. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/feedback.py +0 -0
  12. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/glossary.py +0 -0
  13. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/hints.py +0 -0
  14. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/introspect.py +0 -0
  15. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/learn.py +0 -0
  16. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/names.py +0 -0
  17. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/phrasing.py +0 -0
  18. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/prompt.py +0 -0
  19. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql/retrieve.py +0 -0
  20. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/SOURCES.txt +0 -0
  21. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/dependency_links.txt +0 -0
  22. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/entry_points.txt +0 -0
  23. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/requires.txt +0 -0
  24. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/top_level.txt +0 -0
  25. {contextsql_garvit-0.1.2 → contextsql_garvit-0.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: contextsql_garvit
3
- Version: 0.1.2
3
+ Version: 0.1.3
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
@@ -97,7 +97,8 @@ def cmd_ask(a):
97
97
  os.system("cls" if os.name == "nt" else "clear"); continue
98
98
  if q.startswith("/") or q.startswith("contextsql "):
99
99
  try:
100
- main(shlex.split(q[1:] if q.startswith("/") else q[11:]))
100
+ cmd = q[1:] if q.startswith("/") else q[11:]
101
+ main(["fix", cmd[4:].strip()] if cmd.startswith("fix ") else shlex.split(cmd))
101
102
  except SystemExit as e:
102
103
  print(e.code if isinstance(e.code, str) else "")
103
104
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: contextsql_garvit
3
- Version: 0.1.2
3
+ Version: 0.1.3
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.2"
7
+ version = "0.1.3"
8
8
  description = "Local, free, business-context-aware text-to-SQL agent"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"