gibson-cli 0.8.0__tar.gz → 0.8.1__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.
- {gibson_cli-0.8.0/gibson_cli.egg-info → gibson_cli-0.8.1}/PKG-INFO +13 -10
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/README.md +12 -9
- gibson_cli-0.8.1/bin/build.sh +1 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/bin/gibson +2 -2
- gibson_cli-0.8.1/bin/release.sh +5 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/api/BaseApi.py +3 -3
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/api/ProjectApi.py +2 -2
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Version.py +1 -1
- {gibson_cli-0.8.0 → gibson_cli-0.8.1/gibson_cli.egg-info}/PKG-INFO +13 -10
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/pyproject.toml +1 -1
- gibson_cli-0.8.0/bin/build.sh +0 -2
- gibson_cli-0.8.0/bin/release.sh +0 -1
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/.gitignore +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/.pre-commit-config.yaml +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/bin/clean.sh +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/api/Cli.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/bin/gibson.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/BaseCommand.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Build.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Conf.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Count.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Dev.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Forget.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Help.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Merge.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Modify.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Question.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Remove.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Show.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/Tree.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/auth/Auth.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/auth/Login.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/auth/Logout.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Api.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Base.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Code.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Model.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Models.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Schema.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Schemas.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Test.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/code/Tests.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/importer/Import.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/importer/OpenApi.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/list/Entities.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/list/List.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/list/Projects.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/mcp/McpServer.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/new/Module.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/new/New.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/new/Project.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/rename/Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/rename/Rename.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/rewrite/Rewrite.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/tests/test_command_BaseCommand.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/command/tests/test_command_Conf.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Api.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Code.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Custom.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Datastore.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Dependencies.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Dev.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Frameworks.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Modeler.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Paths.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Platform.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Project.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/Version.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/dev/Api.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/dev/Base.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/dev/Model.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/dev/Schema.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/tests/test_conf_Dependencies.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/conf/tests/test_conf_Platform.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Colors.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/CommandRouter.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Completions.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Configuration.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Conversation.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Diff.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Env.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Memory.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/PythonPath.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/Spinner.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/TimeKeeper.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/core/utils.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/data/bash-completion.tmpl +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/data/mysql/default-ref-table.tmpl +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/data/mysql/default-table.tmpl +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/data/postgresql/default-ref-table.tmpl +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/data/postgresql/default-table.tmpl +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/db/TableExceptions.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/db/tests/test_db_TableExceptions.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/dev/Dev.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/display/Header.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/display/WorkspaceFooter.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/display/WorkspaceHeader.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/display/tests/test_display_Header.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/display/tests/test_display_WorkspaceFooter.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/display/tests/test_display_WorkspaceHeader.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/lang/Python.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/lang/tests/test_lang_Python.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/auth/Server.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/context/schema/DataDictionary.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/context/schema/EntityKeys.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/context/schema/Manager.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/context/schema/tests/test_code_context_schema_DataDictionary.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/context/schema/tests/test_code_context_schema_EntityKeys.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/context/schema/tests/test_code_context_schema_Manager.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/Authenticator.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/BaseCustomization.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/CustomizationManager.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/Index.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/tests/test_code_customization_Authenticator.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/tests/test_code_customization_BaseCustomization.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/mcp/server.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/constraints/ReferenceConstraint.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/keys/ForeignKey.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/keys/Index.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/keys/IndexAttribute.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/keys/tests/test_structure_mysql_keys_ForeignKey.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/keys/tests/test_structure_mysql_keys_Index.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/keys/tests/test_structure_mysql_keys_IndexAttribute.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/testing.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/tests/test_structure_mysql_Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/postgresql/Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/postgresql/References.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/postgresql/table/ForeignKey.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/postgresql/table/tests/test_structure_postgresql_table_ForeignKey.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/postgresql/testing.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/postgresql/tests/test_structure_postgresql_Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/tests/test_structure_Entity.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/tests/test_Env.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/tests/test_Memory.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/tests/test_utils.py +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson_cli.egg-info/SOURCES.txt +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson_cli.egg-info/dependency_links.txt +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson_cli.egg-info/entry_points.txt +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson_cli.egg-info/requires.txt +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson_cli.egg-info/top_level.txt +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/requirements.txt +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/setup.cfg +0 -0
- {gibson_cli-0.8.0 → gibson_cli-0.8.1}/venv/bin/activate_this.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: gibson-cli
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.1
|
4
4
|
Summary: Gibson Command Line Interface
|
5
5
|
Author-email: GibsonAI <noc@gibsonai.com>
|
6
6
|
Project-URL: Homepage, https://gibsonai.com/
|
@@ -73,7 +73,6 @@ Requires-Dist: watchfiles==0.21.0
|
|
73
73
|
Requires-Dist: websockets==12.0
|
74
74
|
Requires-Dist: yaspin==3.1.0
|
75
75
|
|
76
|
-
|
77
76
|
[](https://gibsonai.com/)
|
78
77
|
|
79
78
|
# Gibson CLI
|
@@ -90,19 +89,23 @@ Portions of the Gibson backend code are written by Gibson. So far, versus a hum
|
|
90
89
|
|
91
90
|
## Installation / Upgrading
|
92
91
|
|
93
|
-
|
92
|
+
### With [uv](https://docs.astral.sh/uv/) (recommended)
|
94
93
|
|
95
94
|
```sh
|
96
|
-
|
95
|
+
uv tool install gibson-cli@latest
|
97
96
|
```
|
98
97
|
|
99
|
-
|
98
|
+
If you're unable to run `gibson` after installing with uv, try running `uv tool update-shell` to ensure your `PATH` includes the uv tool executables directory.
|
99
|
+
|
100
|
+
### With pip
|
100
101
|
|
101
102
|
```sh
|
102
|
-
|
103
|
+
pip3 install gibson-cli --upgrade
|
103
104
|
```
|
104
105
|
|
105
|
-
|
106
|
+
Note: you'll want to run this **outside** of a virtual environment (globally on your machine)
|
107
|
+
|
108
|
+
If you're unable to run `gibson` after installing with pip, ensure your `PATH` contains the directory where pip installs executables. This can differ based on your operating system, python installation location, and pip version.
|
106
109
|
|
107
110
|
## Key Terms
|
108
111
|
|
@@ -390,8 +393,8 @@ Update the configuration to look like the following:
|
|
390
393
|
{
|
391
394
|
"mcpServers": {
|
392
395
|
"gibson": {
|
393
|
-
"command": "
|
394
|
-
"args": ["mcp", "run"]
|
396
|
+
"command": "uvx",
|
397
|
+
"args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"]
|
395
398
|
}
|
396
399
|
}
|
397
400
|
}
|
@@ -402,4 +405,4 @@ That's it! Just make sure you're logged in to the CLI (if you're reading this, y
|
|
402
405
|
## Contributing
|
403
406
|
|
404
407
|
- Clone this repository somewhere in your file system
|
405
|
-
- `
|
408
|
+
- `uv tool install [path to repository] -e`
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
[](https://gibsonai.com/)
|
3
2
|
|
4
3
|
# Gibson CLI
|
@@ -15,19 +14,23 @@ Portions of the Gibson backend code are written by Gibson. So far, versus a hum
|
|
15
14
|
|
16
15
|
## Installation / Upgrading
|
17
16
|
|
18
|
-
|
17
|
+
### With [uv](https://docs.astral.sh/uv/) (recommended)
|
19
18
|
|
20
19
|
```sh
|
21
|
-
|
20
|
+
uv tool install gibson-cli@latest
|
22
21
|
```
|
23
22
|
|
24
|
-
|
23
|
+
If you're unable to run `gibson` after installing with uv, try running `uv tool update-shell` to ensure your `PATH` includes the uv tool executables directory.
|
24
|
+
|
25
|
+
### With pip
|
25
26
|
|
26
27
|
```sh
|
27
|
-
|
28
|
+
pip3 install gibson-cli --upgrade
|
28
29
|
```
|
29
30
|
|
30
|
-
|
31
|
+
Note: you'll want to run this **outside** of a virtual environment (globally on your machine)
|
32
|
+
|
33
|
+
If you're unable to run `gibson` after installing with pip, ensure your `PATH` contains the directory where pip installs executables. This can differ based on your operating system, python installation location, and pip version.
|
31
34
|
|
32
35
|
## Key Terms
|
33
36
|
|
@@ -315,8 +318,8 @@ Update the configuration to look like the following:
|
|
315
318
|
{
|
316
319
|
"mcpServers": {
|
317
320
|
"gibson": {
|
318
|
-
"command": "
|
319
|
-
"args": ["mcp", "run"]
|
321
|
+
"command": "uvx",
|
322
|
+
"args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"]
|
320
323
|
}
|
321
324
|
}
|
322
325
|
}
|
@@ -327,4 +330,4 @@ That's it! Just make sure you're logged in to the CLI (if you're reading this, y
|
|
327
330
|
## Contributing
|
328
331
|
|
329
332
|
- Clone this repository somewhere in your file system
|
330
|
-
- `
|
333
|
+
- `uv tool install [path to repository] -e`
|
@@ -0,0 +1 @@
|
|
1
|
+
uv build
|
@@ -10,8 +10,8 @@
|
|
10
10
|
# }
|
11
11
|
#
|
12
12
|
# cli_dev_off() {
|
13
|
-
# export PATH=${PATH
|
14
|
-
# export PYTHONPATH=${PYTHONPATH
|
13
|
+
# export PATH=${PATH//$HOME\/src\/gibson\/cli\/bin:/}
|
14
|
+
# export PYTHONPATH=${PYTHONPATH//$HOME\/src\/gibson\/cli:/}
|
15
15
|
# }
|
16
16
|
|
17
17
|
import re
|
@@ -25,7 +25,7 @@ class BaseApi:
|
|
25
25
|
|
26
26
|
return r
|
27
27
|
|
28
|
-
def get(self, endpoint):
|
28
|
+
def get(self, endpoint: str = ""):
|
29
29
|
r = requests.get(self.url(endpoint), headers=self.headers())
|
30
30
|
|
31
31
|
if r.status_code == 401 and self.refresh_auth_tokens():
|
@@ -46,7 +46,7 @@ class BaseApi:
|
|
46
46
|
|
47
47
|
return headers
|
48
48
|
|
49
|
-
def patch(self, endpoint, json: dict):
|
49
|
+
def patch(self, endpoint: str = "", json: dict = None):
|
50
50
|
r = requests.patch(self.url(endpoint), headers=self.headers(), json=json)
|
51
51
|
|
52
52
|
if r.status_code == 401 and self.refresh_auth_tokens():
|
@@ -66,7 +66,7 @@ class BaseApi:
|
|
66
66
|
|
67
67
|
return r
|
68
68
|
|
69
|
-
def put(self, endpoint, json: dict):
|
69
|
+
def put(self, endpoint: str = "", json: dict = None):
|
70
70
|
r = requests.put(self.url(endpoint), headers=self.headers(), json=json)
|
71
71
|
|
72
72
|
if r.status_code == 401 and self.refresh_auth_tokens():
|
@@ -10,7 +10,7 @@ class ProjectApi(BaseApi):
|
|
10
10
|
self.configuration.require_login()
|
11
11
|
|
12
12
|
def list(self):
|
13
|
-
return self.get(
|
13
|
+
return self.get()["projects"]
|
14
14
|
|
15
15
|
def create(self):
|
16
16
|
return self.post().json()
|
@@ -43,4 +43,4 @@ class ProjectApi(BaseApi):
|
|
43
43
|
if not name:
|
44
44
|
raise ValueError("Name is required")
|
45
45
|
|
46
|
-
return self.
|
46
|
+
return self.patch(f"{uuid}", {"name": name}).json()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: gibson-cli
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.1
|
4
4
|
Summary: Gibson Command Line Interface
|
5
5
|
Author-email: GibsonAI <noc@gibsonai.com>
|
6
6
|
Project-URL: Homepage, https://gibsonai.com/
|
@@ -73,7 +73,6 @@ Requires-Dist: watchfiles==0.21.0
|
|
73
73
|
Requires-Dist: websockets==12.0
|
74
74
|
Requires-Dist: yaspin==3.1.0
|
75
75
|
|
76
|
-
|
77
76
|
[](https://gibsonai.com/)
|
78
77
|
|
79
78
|
# Gibson CLI
|
@@ -90,19 +89,23 @@ Portions of the Gibson backend code are written by Gibson. So far, versus a hum
|
|
90
89
|
|
91
90
|
## Installation / Upgrading
|
92
91
|
|
93
|
-
|
92
|
+
### With [uv](https://docs.astral.sh/uv/) (recommended)
|
94
93
|
|
95
94
|
```sh
|
96
|
-
|
95
|
+
uv tool install gibson-cli@latest
|
97
96
|
```
|
98
97
|
|
99
|
-
|
98
|
+
If you're unable to run `gibson` after installing with uv, try running `uv tool update-shell` to ensure your `PATH` includes the uv tool executables directory.
|
99
|
+
|
100
|
+
### With pip
|
100
101
|
|
101
102
|
```sh
|
102
|
-
|
103
|
+
pip3 install gibson-cli --upgrade
|
103
104
|
```
|
104
105
|
|
105
|
-
|
106
|
+
Note: you'll want to run this **outside** of a virtual environment (globally on your machine)
|
107
|
+
|
108
|
+
If you're unable to run `gibson` after installing with pip, ensure your `PATH` contains the directory where pip installs executables. This can differ based on your operating system, python installation location, and pip version.
|
106
109
|
|
107
110
|
## Key Terms
|
108
111
|
|
@@ -390,8 +393,8 @@ Update the configuration to look like the following:
|
|
390
393
|
{
|
391
394
|
"mcpServers": {
|
392
395
|
"gibson": {
|
393
|
-
"command": "
|
394
|
-
"args": ["mcp", "run"]
|
396
|
+
"command": "uvx",
|
397
|
+
"args": ["--from", "gibson-cli@latest", "gibson", "mcp", "run"]
|
395
398
|
}
|
396
399
|
}
|
397
400
|
}
|
@@ -402,4 +405,4 @@ That's it! Just make sure you're logged in to the CLI (if you're reading this, y
|
|
402
405
|
## Contributing
|
403
406
|
|
404
407
|
- Clone this repository somewhere in your file system
|
405
|
-
- `
|
408
|
+
- `uv tool install [path to repository] -e`
|
gibson_cli-0.8.0/bin/build.sh
DELETED
gibson_cli-0.8.0/bin/release.sh
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
python3 -m twine upload --repository pypi dist/*
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/BaseCustomization.py
RENAMED
File without changes
|
{gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/services/code/customization/CustomizationManager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/constraints/ReferenceConstraint.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gibson_cli-0.8.0 → gibson_cli-0.8.1}/gibson/structure/mysql/tests/test_structure_mysql_Entity.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|