gibson-cli 0.8.8__tar.gz → 0.8.9__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 (149) hide show
  1. gibson_cli-0.8.9/.github/workflows/ci.yml +77 -0
  2. gibson_cli-0.8.9/.pre-commit-config.yaml +14 -0
  3. {gibson_cli-0.8.8/gibson_cli.egg-info → gibson_cli-0.8.9}/PKG-INFO +7 -7
  4. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/README.md +4 -4
  5. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/BaseCommand.py +1 -1
  6. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Build.py +3 -4
  7. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Forget.py +2 -2
  8. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/auth/Login.py +0 -2
  9. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/new/Module.py +2 -2
  10. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Dev.py +0 -2
  11. gibson_cli-0.8.9/gibson/conf/tests/test_conf_Dependencies.py +11 -0
  12. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Configuration.py +1 -1
  13. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/PythonPath.py +1 -1
  14. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/postgresql/table/tests/test_structure_postgresql_table_ForeignKey.py +0 -2
  15. {gibson_cli-0.8.8 → gibson_cli-0.8.9/gibson_cli.egg-info}/PKG-INFO +7 -7
  16. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson_cli.egg-info/SOURCES.txt +2 -1
  17. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson_cli.egg-info/requires.txt +2 -2
  18. gibson_cli-0.8.9/pyproject.toml +102 -0
  19. gibson_cli-0.8.9/ruff.toml +5 -0
  20. gibson_cli-0.8.8/.pre-commit-config.yaml +0 -21
  21. gibson_cli-0.8.8/gibson/conf/tests/test_conf_Dependencies.py +0 -5
  22. gibson_cli-0.8.8/pyproject.toml +0 -46
  23. gibson_cli-0.8.8/requirements.txt +0 -57
  24. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/.gitignore +0 -0
  25. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/bin/build.sh +0 -0
  26. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/bin/clean.sh +0 -0
  27. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/bin/release.sh +0 -0
  28. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/api/BaseApi.py +0 -0
  29. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/api/Cli.py +0 -0
  30. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/api/DataApi.py +0 -0
  31. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/api/ProjectApi.py +0 -0
  32. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/bin/gibson.py +0 -0
  33. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Conf.py +0 -0
  34. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Count.py +0 -0
  35. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Dev.py +0 -0
  36. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Help.py +0 -0
  37. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Merge.py +0 -0
  38. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Modify.py +0 -0
  39. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Question.py +0 -0
  40. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Remove.py +0 -0
  41. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Show.py +0 -0
  42. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Tree.py +0 -0
  43. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/Version.py +0 -0
  44. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/auth/Auth.py +0 -0
  45. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/auth/Logout.py +0 -0
  46. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Api.py +0 -0
  47. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Base.py +0 -0
  48. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Code.py +0 -0
  49. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Entity.py +0 -0
  50. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Model.py +0 -0
  51. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Models.py +0 -0
  52. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Schema.py +0 -0
  53. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Schemas.py +0 -0
  54. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Test.py +0 -0
  55. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/code/Tests.py +0 -0
  56. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/importer/Import.py +0 -0
  57. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/importer/OpenApi.py +0 -0
  58. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/list/Entities.py +0 -0
  59. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/list/List.py +0 -0
  60. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/list/Projects.py +0 -0
  61. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/mcp/McpServer.py +0 -0
  62. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/new/New.py +0 -0
  63. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/new/Project.py +0 -0
  64. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/rename/Entity.py +0 -0
  65. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/rename/Rename.py +0 -0
  66. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/rewrite/Rewrite.py +0 -0
  67. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/tests/test_command_BaseCommand.py +0 -0
  68. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/command/tests/test_command_Conf.py +0 -0
  69. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Api.py +0 -0
  70. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Code.py +0 -0
  71. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Custom.py +0 -0
  72. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Datastore.py +0 -0
  73. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Dependencies.py +0 -0
  74. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Frameworks.py +0 -0
  75. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Modeler.py +0 -0
  76. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Paths.py +0 -0
  77. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Platform.py +0 -0
  78. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Project.py +0 -0
  79. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/Version.py +0 -0
  80. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/dev/Api.py +0 -0
  81. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/dev/Base.py +0 -0
  82. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/dev/Model.py +0 -0
  83. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/dev/Schema.py +0 -0
  84. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/conf/tests/test_conf_Platform.py +0 -0
  85. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Colors.py +0 -0
  86. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/CommandRouter.py +0 -0
  87. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Completions.py +0 -0
  88. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Conversation.py +0 -0
  89. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Diff.py +0 -0
  90. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Env.py +0 -0
  91. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Memory.py +0 -0
  92. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/Spinner.py +0 -0
  93. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/TimeKeeper.py +0 -0
  94. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/core/utils.py +0 -0
  95. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/data/bash-completion.tmpl +0 -0
  96. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/data/mysql/default-ref-table.tmpl +0 -0
  97. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/data/mysql/default-table.tmpl +0 -0
  98. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/data/postgresql/default-ref-table.tmpl +0 -0
  99. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/data/postgresql/default-table.tmpl +0 -0
  100. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/db/TableExceptions.py +0 -0
  101. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/db/tests/test_db_TableExceptions.py +0 -0
  102. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/dev/Dev.py +0 -0
  103. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/display/Header.py +0 -0
  104. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/display/WorkspaceFooter.py +0 -0
  105. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/display/WorkspaceHeader.py +0 -0
  106. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/display/tests/test_display_Header.py +0 -0
  107. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/display/tests/test_display_WorkspaceFooter.py +0 -0
  108. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/display/tests/test_display_WorkspaceHeader.py +0 -0
  109. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/lang/Python.py +0 -0
  110. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/lang/tests/test_lang_Python.py +0 -0
  111. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/auth/Server.py +0 -0
  112. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/context/schema/DataDictionary.py +0 -0
  113. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/context/schema/EntityKeys.py +0 -0
  114. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/context/schema/Manager.py +0 -0
  115. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/context/schema/tests/test_code_context_schema_DataDictionary.py +0 -0
  116. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/context/schema/tests/test_code_context_schema_EntityKeys.py +0 -0
  117. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/context/schema/tests/test_code_context_schema_Manager.py +0 -0
  118. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/customization/Authenticator.py +0 -0
  119. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/customization/BaseCustomization.py +0 -0
  120. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/customization/CustomizationManager.py +0 -0
  121. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/customization/Index.py +0 -0
  122. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/customization/tests/test_code_customization_Authenticator.py +0 -0
  123. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/code/customization/tests/test_code_customization_BaseCustomization.py +0 -0
  124. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/services/mcp/server.py +0 -0
  125. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/Entity.py +0 -0
  126. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/Entity.py +0 -0
  127. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/constraints/ReferenceConstraint.py +0 -0
  128. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/keys/ForeignKey.py +0 -0
  129. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/keys/Index.py +0 -0
  130. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/keys/IndexAttribute.py +0 -0
  131. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/keys/tests/test_structure_mysql_keys_ForeignKey.py +0 -0
  132. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/keys/tests/test_structure_mysql_keys_Index.py +0 -0
  133. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/keys/tests/test_structure_mysql_keys_IndexAttribute.py +0 -0
  134. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/testing.py +0 -0
  135. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/mysql/tests/test_structure_mysql_Entity.py +0 -0
  136. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/postgresql/Entity.py +0 -0
  137. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/postgresql/References.py +0 -0
  138. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/postgresql/table/ForeignKey.py +0 -0
  139. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/postgresql/testing.py +0 -0
  140. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/postgresql/tests/test_structure_postgresql_Entity.py +0 -0
  141. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/structure/tests/test_structure_Entity.py +0 -0
  142. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/tests/test_Env.py +0 -0
  143. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/tests/test_Memory.py +0 -0
  144. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson/tests/test_utils.py +0 -0
  145. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson_cli.egg-info/dependency_links.txt +0 -0
  146. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson_cli.egg-info/entry_points.txt +0 -0
  147. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/gibson_cli.egg-info/top_level.txt +0 -0
  148. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/setup.cfg +0 -0
  149. {gibson_cli-0.8.8 → gibson_cli-0.8.9}/venv/bin/activate_this.py +0 -0
@@ -0,0 +1,77 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - "*"
7
+
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ env:
13
+ HOME: src/gibson/cli
14
+ PYTHONIOENCODING: UTF-8
15
+
16
+ jobs:
17
+ lint:
18
+ name: Lint
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v4
23
+ with:
24
+ path: ${{ env.HOME }}
25
+
26
+ - name: Lint with Ruff
27
+ uses: astral-sh/ruff-action@v3
28
+
29
+ install:
30
+ name: Install
31
+ runs-on: ${{ matrix.runner }}
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ runner: [ubuntu-latest, macos-latest, windows-latest]
36
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
37
+
38
+ steps:
39
+ - name: Checkout
40
+ uses: actions/checkout@v4
41
+ with:
42
+ path: ${{ env.HOME }}
43
+
44
+ - name: Install uv
45
+ uses: astral-sh/setup-uv@v5
46
+
47
+ - name: Set up Python
48
+ run: |
49
+ uv python install ${{ matrix.python-version }}
50
+ uv python pin ${{ matrix.python-version }}
51
+
52
+ - name: Install CLI as uv tool
53
+ run: uv tool install ${{ env.HOME }} -e
54
+
55
+ - name: Run CLI
56
+ run: gibson --version
57
+
58
+ - name: Uninstall CLI
59
+ run: uv tool uninstall gibson-cli
60
+
61
+ - name: Create venv
62
+ run: uv venv --python ${{ matrix.python-version }}
63
+ working-directory: ${{ env.HOME }}
64
+
65
+ - name: Activate venv (POSIX)
66
+ if: matrix.runner != 'windows-latest'
67
+ run: source .venv/bin/activate
68
+ working-directory: ${{ env.HOME }}
69
+
70
+ - name: Activate venv (Windows)
71
+ if: matrix.runner == 'windows-latest'
72
+ run: .venv\Scripts\activate
73
+ working-directory: ${{ env.HOME }}
74
+
75
+ - name: Install CLI via pip
76
+ run: uv pip install -e .
77
+ working-directory: ${{ env.HOME }}
@@ -0,0 +1,14 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v2.3.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: end-of-file-fixer
7
+ - id: trailing-whitespace
8
+
9
+ - repo: https://github.com/astral-sh/ruff-pre-commit
10
+ rev: v0.9.6
11
+ hooks:
12
+ - id: ruff
13
+ args: [--fix]
14
+ - id: ruff-format
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gibson-cli
3
- Version: 0.8.8
3
+ Version: 0.8.9
4
4
  Summary: Gibson Command Line Interface
5
5
  Author-email: GibsonAI <noc@gibsonai.com>
6
6
  Project-URL: Homepage, https://gibsonai.com/
@@ -38,7 +38,7 @@ Requires-Dist: markdown-it-py==3.0.0
38
38
  Requires-Dist: markupsafe==2.1.5
39
39
  Requires-Dist: mcp==1.6.0
40
40
  Requires-Dist: mdurl==0.1.2
41
- Requires-Dist: orjson==3.10.3
41
+ Requires-Dist: orjson==3.10.18
42
42
  Requires-Dist: packaging==24.2
43
43
  Requires-Dist: pluggy==1.4.0
44
44
  Requires-Dist: pydantic==2.11.0
@@ -68,7 +68,7 @@ Requires-Dist: typing-inspection==0.4.0
68
68
  Requires-Dist: ujson==5.9.0
69
69
  Requires-Dist: urllib3==1.26.6
70
70
  Requires-Dist: uvicorn==0.29.0
71
- Requires-Dist: watchfiles==0.21.0
71
+ Requires-Dist: watchfiles==1.0.5
72
72
  Requires-Dist: websockets==12.0
73
73
  Requires-Dist: yaspin==3.1.0
74
74
 
@@ -76,9 +76,9 @@ Requires-Dist: yaspin==3.1.0
76
76
 
77
77
  # Gibson CLI
78
78
 
79
- [![PyPI - Version](https://img.shields.io/pypi/v/gibson-cli)](https://pypi.org/project/gibson-cli/)
80
- ![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-blue)
81
- [![Docs](https://img.shields.io/badge/Docs-https://docs.gibsonai.com-green)](https://docs.gibsonai.com)
79
+ [![PyPI - Version](https://img.shields.io/pypi/v/gibson-cli?label=📦)](https://pypi.org/project/gibson-cli/)
80
+ ![Python 3.10+](https://img.shields.io/badge/🐍-Python%203.10%2B-blue)
81
+ [![Docs](https://img.shields.io/badge/📚-docs.gibsonai.com-green)](https://docs.gibsonai.com)
82
82
 
83
83
  ## Prerequisites
84
84
 
@@ -178,7 +178,7 @@ All of Gibson's configuration files and caches are stored in `$HOME/.gibson`. Us
178
178
 
179
179
  ### For Windows Users
180
180
 
181
- - Make sure that you have an environment variable called HOME set. Gibson will store its configuration files and caches in this directory. We recommend you keep this directory outside of any repository to which you might be committing.
181
+ - Make sure that you have an environment variable called `HOME` set. Gibson will store its configuration files and caches in this directory. We recommend you keep this directory outside of any repository to which you might be committing.
182
182
  - To execute the `gibson` command, follow these instructions:
183
183
  - Assuming the gibson executable is in `c:\Users\\[me]\projects\gibson\bin`
184
184
  - Run `python c:\Users\\[me]\projects\gibson\bin\gibson`
@@ -2,9 +2,9 @@
2
2
 
3
3
  # Gibson CLI
4
4
 
5
- [![PyPI - Version](https://img.shields.io/pypi/v/gibson-cli)](https://pypi.org/project/gibson-cli/)
6
- ![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-blue)
7
- [![Docs](https://img.shields.io/badge/Docs-https://docs.gibsonai.com-green)](https://docs.gibsonai.com)
5
+ [![PyPI - Version](https://img.shields.io/pypi/v/gibson-cli?label=📦)](https://pypi.org/project/gibson-cli/)
6
+ ![Python 3.10+](https://img.shields.io/badge/🐍-Python%203.10%2B-blue)
7
+ [![Docs](https://img.shields.io/badge/📚-docs.gibsonai.com-green)](https://docs.gibsonai.com)
8
8
 
9
9
  ## Prerequisites
10
10
 
@@ -104,7 +104,7 @@ All of Gibson's configuration files and caches are stored in `$HOME/.gibson`. Us
104
104
 
105
105
  ### For Windows Users
106
106
 
107
- - Make sure that you have an environment variable called HOME set. Gibson will store its configuration files and caches in this directory. We recommend you keep this directory outside of any repository to which you might be committing.
107
+ - Make sure that you have an environment variable called `HOME` set. Gibson will store its configuration files and caches in this directory. We recommend you keep this directory outside of any repository to which you might be committing.
108
108
  - To execute the `gibson` command, follow these instructions:
109
109
  - Assuming the gibson executable is in `c:\Users\\[me]\projects\gibson\bin`
110
110
  - Run `python c:\Users\\[me]\projects\gibson\bin\gibson`
@@ -10,7 +10,7 @@ class BaseCommand:
10
10
  self.memory = Memory(self.configuration)
11
11
 
12
12
  def customization_management_is_enabled(self):
13
- return self.__enable_customization_management == True
13
+ return self.__enable_customization_management
14
14
 
15
15
  def disable_customization_management(self):
16
16
  self.__enable_customization_management = False
@@ -15,7 +15,7 @@ class Build(BaseCommand):
15
15
 
16
16
  db = create_engine(self.configuration.project.datastore.uri)
17
17
  session = sessionmaker(autocommit=False, autoflush=False, bind=db)()
18
- table_exceptions = TableExceptions().universal()
18
+ TableExceptions().universal()
19
19
 
20
20
  self.conversation.type("Connected to datastore...\n")
21
21
 
@@ -52,7 +52,7 @@ class Build(BaseCommand):
52
52
  self.conversation.type(" foreign key checks have been enabled\n")
53
53
 
54
54
  def __build_postgresql(self, session):
55
- table_exceptions = TableExceptions().postgresql()
55
+ TableExceptions().postgresql()
56
56
 
57
57
  schema = list(session.execute("select current_schema()"))[0][0]
58
58
  self.conversation.type(f" current schema is {schema}\n")
@@ -83,12 +83,11 @@ class Build(BaseCommand):
83
83
  while tables != {}:
84
84
  remove = []
85
85
  for name, definition in tables.items():
86
-
87
86
  try:
88
87
  session.execute(definition)
89
88
  session.commit()
90
89
 
91
- self.conversation.type(f' {name.split(".")[-1]}\n')
90
+ self.conversation.type(f" {name.split('.')[-1]}\n")
92
91
 
93
92
  remove.append(name)
94
93
  except sqlalchemy.exc.ProgrammingError:
@@ -14,11 +14,11 @@ class Forget(BaseCommand):
14
14
 
15
15
  if sys.argv[2] in ["all", "last"]:
16
16
  self.memory.forget_last()
17
- self.conversation.type(f"last memory is forgotten.\n")
17
+ self.conversation.type("last memory is forgotten.\n")
18
18
 
19
19
  if sys.argv[2] in ["all", "stored"]:
20
20
  self.memory.forget_entities()
21
- self.conversation.type(f"stored memory is forgotten.\n")
21
+ self.conversation.type("stored memory is forgotten.\n")
22
22
 
23
23
  self.conversation.newline()
24
24
 
@@ -1,6 +1,4 @@
1
- from gibson.api.BaseApi import BaseApi
2
1
  from gibson.command.BaseCommand import BaseCommand
3
- from gibson.services.auth.Server import Server as AuthServer
4
2
 
5
3
 
6
4
  class Login(BaseCommand):
@@ -32,14 +32,14 @@ class Module(BaseCommand):
32
32
  print(entity["definition"])
33
33
 
34
34
  self.conversation.newline()
35
- self.conversation.type(f"If you want to persist these new entities run:\n")
35
+ self.conversation.type("If you want to persist these new entities run:\n")
36
36
  self.conversation.type(
37
37
  f"{Colors.command(self.configuration.command, 'merge')}\n"
38
38
  )
39
39
 
40
40
  self.conversation.newline()
41
41
  self.conversation.type(
42
- f"Afterwards, you can modify any of these entities by running:\n"
42
+ "Afterwards, you can modify any of these entities by running:\n"
43
43
  )
44
44
  self.conversation.type(
45
45
  f"{Colors.command(self.configuration.command, 'modify', inputs=['[entity name]', '[instructions]'])}\n"
@@ -1,5 +1,3 @@
1
- import os
2
-
3
1
  from gibson.conf.dev.Api import Api
4
2
  from gibson.conf.dev.Base import Base
5
3
  from gibson.conf.dev.Model import Model
@@ -0,0 +1,11 @@
1
+ from gibson.conf.Dependencies import Dependencies
2
+
3
+
4
+ def test_compute():
5
+ dependencies = Dependencies().compute()
6
+
7
+ assert dependencies.api == "fastapi==0.85"
8
+ assert dependencies.model == "sqlalchemy==1.4"
9
+ assert dependencies.revision == "alembic==1.12"
10
+ assert dependencies.schema == "pydantic==2.6"
11
+ assert dependencies.test == "pytest==7.1"
@@ -127,7 +127,7 @@ class Configuration:
127
127
  test_file = f"{os.path.expandvars(path)}/gibsonai-test-file"
128
128
 
129
129
  try:
130
- with open(test_file, "w") as f:
130
+ with open(test_file, "w"):
131
131
  pass
132
132
 
133
133
  os.remove(test_file)
@@ -24,7 +24,7 @@ class PythonPath:
24
24
  try:
25
25
  with open(f"{self.user_home}/{self.gibson_config}/config", "r") as f:
26
26
  config = json.loads(f.read())
27
- except:
27
+ except Exception:
28
28
  return self
29
29
 
30
30
  project_paths = filter(
@@ -1,5 +1,3 @@
1
- import pytest
2
-
3
1
  from gibson.structure.postgresql.References import References
4
2
  from gibson.structure.postgresql.table.ForeignKey import ForeignKey
5
3
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gibson-cli
3
- Version: 0.8.8
3
+ Version: 0.8.9
4
4
  Summary: Gibson Command Line Interface
5
5
  Author-email: GibsonAI <noc@gibsonai.com>
6
6
  Project-URL: Homepage, https://gibsonai.com/
@@ -38,7 +38,7 @@ Requires-Dist: markdown-it-py==3.0.0
38
38
  Requires-Dist: markupsafe==2.1.5
39
39
  Requires-Dist: mcp==1.6.0
40
40
  Requires-Dist: mdurl==0.1.2
41
- Requires-Dist: orjson==3.10.3
41
+ Requires-Dist: orjson==3.10.18
42
42
  Requires-Dist: packaging==24.2
43
43
  Requires-Dist: pluggy==1.4.0
44
44
  Requires-Dist: pydantic==2.11.0
@@ -68,7 +68,7 @@ Requires-Dist: typing-inspection==0.4.0
68
68
  Requires-Dist: ujson==5.9.0
69
69
  Requires-Dist: urllib3==1.26.6
70
70
  Requires-Dist: uvicorn==0.29.0
71
- Requires-Dist: watchfiles==0.21.0
71
+ Requires-Dist: watchfiles==1.0.5
72
72
  Requires-Dist: websockets==12.0
73
73
  Requires-Dist: yaspin==3.1.0
74
74
 
@@ -76,9 +76,9 @@ Requires-Dist: yaspin==3.1.0
76
76
 
77
77
  # Gibson CLI
78
78
 
79
- [![PyPI - Version](https://img.shields.io/pypi/v/gibson-cli)](https://pypi.org/project/gibson-cli/)
80
- ![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-blue)
81
- [![Docs](https://img.shields.io/badge/Docs-https://docs.gibsonai.com-green)](https://docs.gibsonai.com)
79
+ [![PyPI - Version](https://img.shields.io/pypi/v/gibson-cli?label=📦)](https://pypi.org/project/gibson-cli/)
80
+ ![Python 3.10+](https://img.shields.io/badge/🐍-Python%203.10%2B-blue)
81
+ [![Docs](https://img.shields.io/badge/📚-docs.gibsonai.com-green)](https://docs.gibsonai.com)
82
82
 
83
83
  ## Prerequisites
84
84
 
@@ -178,7 +178,7 @@ All of Gibson's configuration files and caches are stored in `$HOME/.gibson`. Us
178
178
 
179
179
  ### For Windows Users
180
180
 
181
- - Make sure that you have an environment variable called HOME set. Gibson will store its configuration files and caches in this directory. We recommend you keep this directory outside of any repository to which you might be committing.
181
+ - Make sure that you have an environment variable called `HOME` set. Gibson will store its configuration files and caches in this directory. We recommend you keep this directory outside of any repository to which you might be committing.
182
182
  - To execute the `gibson` command, follow these instructions:
183
183
  - Assuming the gibson executable is in `c:\Users\\[me]\projects\gibson\bin`
184
184
  - Run `python c:\Users\\[me]\projects\gibson\bin\gibson`
@@ -2,7 +2,8 @@
2
2
  .pre-commit-config.yaml
3
3
  README.md
4
4
  pyproject.toml
5
- requirements.txt
5
+ ruff.toml
6
+ .github/workflows/ci.yml
6
7
  bin/build.sh
7
8
  bin/clean.sh
8
9
  bin/release.sh
@@ -22,7 +22,7 @@ markdown-it-py==3.0.0
22
22
  markupsafe==2.1.5
23
23
  mcp==1.6.0
24
24
  mdurl==0.1.2
25
- orjson==3.10.3
25
+ orjson==3.10.18
26
26
  packaging==24.2
27
27
  pluggy==1.4.0
28
28
  pydantic==2.11.0
@@ -52,6 +52,6 @@ typing-inspection==0.4.0
52
52
  ujson==5.9.0
53
53
  urllib3==1.26.6
54
54
  uvicorn==0.29.0
55
- watchfiles==0.21.0
55
+ watchfiles==1.0.5
56
56
  websockets==12.0
57
57
  yaspin==3.1.0
@@ -0,0 +1,102 @@
1
+ [build-system]
2
+ requires = ["setuptools>=60", "setuptools_scm[toml]>=7", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "gibson-cli"
7
+ authors = [{ name = "GibsonAI", email = "noc@gibsonai.com" }]
8
+ description = "Gibson Command Line Interface"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ classifiers = [
12
+ "Operating System :: OS Independent",
13
+ "Development Status :: 4 - Beta",
14
+ "Intended Audience :: Developers",
15
+ "Programming Language :: Python :: 3.10",
16
+ ]
17
+ version = "0.8.9"
18
+ dependencies = [
19
+ "annotated-types==0.6.0",
20
+ "anyio==4.9.0",
21
+ "certifi==2024.2.2",
22
+ "charset-normalizer==3.3.2",
23
+ "click==8.1.7",
24
+ "dnspython==2.6.1",
25
+ "email-validator==2.1.1",
26
+ "exceptiongroup==1.2.0",
27
+ "faker==24.0.0",
28
+ "faker-sqlalchemy==0.10.2208140",
29
+ "fastapi==0.115.12",
30
+ "fastapi-cli==0.0.2",
31
+ "h11==0.14.0",
32
+ "httpcore==1.0.5",
33
+ "httptools==0.6.4",
34
+ "httpx==0.27.0",
35
+ "httpx-sse==0.4.0",
36
+ "idna==3.6",
37
+ "iniconfig==2.0.0",
38
+ "jinja2==3.1.4",
39
+ "markdown-it-py==3.0.0",
40
+ "markupsafe==2.1.5",
41
+ "mcp==1.6.0",
42
+ "mdurl==0.1.2",
43
+ "orjson==3.10.18",
44
+ "packaging==24.2",
45
+ "pluggy==1.4.0",
46
+ "pydantic==2.11.0",
47
+ "pydantic-core==2.33.0",
48
+ "pydantic-settings==2.8.1",
49
+ "pyfiglet==1.0.2",
50
+ "pygments==2.18.0",
51
+ "pymysql==1.1.0",
52
+ "pytest==8.0.1",
53
+ "python-dateutil==2.9.0.post0",
54
+ "python-dotenv==1.0.1",
55
+ "python-multipart==0.0.9",
56
+ "pyyaml==6.0.1",
57
+ "requests==2.31.0",
58
+ "rich==13.9.2",
59
+ "shellingham==1.5.4",
60
+ "six==1.16.0",
61
+ "sniffio==1.3.1",
62
+ "sqlalchemy==1.4.41",
63
+ "sse-starlette==2.2.1",
64
+ "starlette==0.46.1",
65
+ "textual==0.83.0",
66
+ "tomli==2.0.1",
67
+ "typer==0.12.3",
68
+ "typing-extensions==4.13.0",
69
+ "typing-inspection==0.4.0",
70
+ "ujson==5.9.0",
71
+ "urllib3==1.26.6",
72
+ "uvicorn==0.29.0",
73
+ "watchfiles==1.0.5",
74
+ "websockets==12.0",
75
+ "yaspin==3.1.0",
76
+ ]
77
+
78
+
79
+ [tool.setuptools.packages.find]
80
+ where = ["."]
81
+ include = ["*"]
82
+ exclude = ["*tests"]
83
+
84
+ [tool.setuptools.package-data]
85
+ gibson = ["data/*"]
86
+
87
+ [project.urls]
88
+ Homepage = "https://gibsonai.com/"
89
+ Documentation = "https://docs.gibsonai.com/"
90
+ Repository = "https://github.com/gibsonai/cli"
91
+ Issues = "https://github.com/gibsonai/cli/issues"
92
+ Changelog = "https://github.com/gibsonai/cli/releases"
93
+
94
+ [project.scripts]
95
+ gibson = "gibson.bin.gibson:main"
96
+
97
+ [tool.black]
98
+ line-length = 88
99
+ target-version = ['py310']
100
+
101
+ [tool.isort]
102
+ profile = "black"
@@ -0,0 +1,5 @@
1
+ [lint]
2
+ extend-select = ["I"]
3
+
4
+ [lint.isort]
5
+ combine-as-imports = true
@@ -1,21 +0,0 @@
1
- repos:
2
- - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v2.3.0
4
- hooks:
5
- - id: check-yaml
6
- - id: end-of-file-fixer
7
- - id: trailing-whitespace
8
- - repo: https://github.com/psf/black
9
- rev: 22.3.0
10
- hooks:
11
- - id: black
12
- args:
13
- - --config=pyproject.toml
14
- - repo: https://github.com/pycqa/isort
15
- rev: 5.12.0
16
- hooks:
17
- - id: isort
18
- args:
19
- - --profile
20
- - black
21
- - --filter-files
@@ -1,5 +0,0 @@
1
- from gibson.conf.Dependencies import Dependencies
2
-
3
-
4
- def test_compute():
5
- dependencies = Dependencies().compute()
@@ -1,46 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=60", "setuptools_scm[toml]>=7", "wheel"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "gibson-cli"
7
- authors = [{ name = "GibsonAI", email = "noc@gibsonai.com" }]
8
- description = "Gibson Command Line Interface"
9
- dynamic = ["dependencies"]
10
- readme = "README.md"
11
- requires-python = ">=3.10"
12
- classifiers = [
13
- "Operating System :: OS Independent",
14
- "Development Status :: 4 - Beta",
15
- "Intended Audience :: Developers",
16
- "Programming Language :: Python :: 3.10",
17
- ]
18
- version = "0.8.8"
19
-
20
- [tool.setuptools.packages.find]
21
- where = ["."]
22
- include = ["*"]
23
- exclude = ["*tests"]
24
-
25
- [tool.setuptools.package-data]
26
- gibson = ["data/*"]
27
-
28
- [tool.setuptools.dynamic]
29
- dependencies = { file = ["requirements.txt"] }
30
-
31
- [project.urls]
32
- Homepage = "https://gibsonai.com/"
33
- Documentation = "https://docs.gibsonai.com/"
34
- Repository = "https://github.com/gibsonai/cli"
35
- Issues = "https://github.com/gibsonai/cli/issues"
36
- Changelog = "https://github.com/gibsonai/cli/releases"
37
-
38
- [project.scripts]
39
- gibson = "gibson.bin.gibson:main"
40
-
41
- [tool.black]
42
- line-length = 88
43
- target-version = ['py310']
44
-
45
- [tool.isort]
46
- profile = "black"
@@ -1,57 +0,0 @@
1
- annotated-types==0.6.0
2
- anyio==4.9.0
3
- certifi==2024.2.2
4
- charset-normalizer==3.3.2
5
- click==8.1.7
6
- dnspython==2.6.1
7
- email-validator==2.1.1
8
- exceptiongroup==1.2.0
9
- faker==24.0.0
10
- faker-sqlalchemy==0.10.2208140
11
- fastapi==0.115.12
12
- fastapi-cli==0.0.2
13
- h11==0.14.0
14
- httpcore==1.0.5
15
- httptools==0.6.4
16
- httpx==0.27.0
17
- httpx-sse==0.4.0
18
- idna==3.6
19
- iniconfig==2.0.0
20
- jinja2==3.1.4
21
- markdown-it-py==3.0.0
22
- markupsafe==2.1.5
23
- mcp==1.6.0
24
- mdurl==0.1.2
25
- orjson==3.10.3
26
- packaging==24.2
27
- pluggy==1.4.0
28
- pydantic==2.11.0
29
- pydantic-core==2.33.0
30
- pydantic-settings==2.8.1
31
- pyfiglet==1.0.2
32
- pygments==2.18.0
33
- pymysql==1.1.0
34
- pytest==8.0.1
35
- python-dateutil==2.9.0.post0
36
- python-dotenv==1.0.1
37
- python-multipart==0.0.9
38
- pyyaml==6.0.1
39
- requests==2.31.0
40
- rich==13.9.2
41
- shellingham==1.5.4
42
- six==1.16.0
43
- sniffio==1.3.1
44
- sqlalchemy==1.4.41
45
- sse-starlette==2.2.1
46
- starlette==0.46.1
47
- textual==0.83.0
48
- tomli==2.0.1
49
- typer==0.12.3
50
- typing-extensions==4.13.0
51
- typing-inspection==0.4.0
52
- ujson==5.9.0
53
- urllib3==1.26.6
54
- uvicorn==0.29.0
55
- watchfiles==0.21.0
56
- websockets==12.0
57
- yaspin==3.1.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes