openapi-cli4ai 0.1.0__tar.gz → 0.1.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.
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/workflows/ci.yml +4 -4
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/workflows/codeql.yml +3 -3
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/workflows/publish.yml +5 -5
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/PKG-INFO +3 -3
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/README.md +1 -1
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/pyproject.toml +2 -2
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/src/openapi_cli4ai/cli.py +1 -1
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/CODEOWNERS +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.github/dependabot.yml +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/.gitignore +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/CHANGELOG.md +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/CONTRIBUTING.md +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/LICENSE +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/SECURITY.md +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/demo.gif +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/examples/profiles.toml.example +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/openapi-cli4ai +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/src/openapi_cli4ai/__init__.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/src/openapi_cli4ai/__main__.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/__init__.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/conftest.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/fixtures/petstore_spec.json +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/test_auth.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/test_caching.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/test_integration.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/test_profile_management.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/test_spec_parsing.py +0 -0
- {openapi_cli4ai-0.1.0 → openapi_cli4ai-0.1.1}/tests/test_sse_streaming.py +0 -0
|
@@ -16,8 +16,8 @@ jobs:
|
|
|
16
16
|
matrix:
|
|
17
17
|
python-version: ["3.11", "3.12", "3.13"]
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
20
|
-
- uses: astral-sh/setup-uv@
|
|
19
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
20
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
21
21
|
with:
|
|
22
22
|
enable-cache: true
|
|
23
23
|
- name: Set up Python ${{ matrix.python-version }}
|
|
@@ -28,8 +28,8 @@ jobs:
|
|
|
28
28
|
lint:
|
|
29
29
|
runs-on: ubuntu-latest
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
32
|
-
- uses: astral-sh/setup-uv@
|
|
31
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
32
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
33
33
|
- name: Ruff check
|
|
34
34
|
run: uvx ruff check .
|
|
35
35
|
- name: Ruff format check
|
|
@@ -16,8 +16,8 @@ jobs:
|
|
|
16
16
|
analyze:
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
20
|
-
- uses: github/codeql-action/init@
|
|
19
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
20
|
+
- uses: github/codeql-action/init@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3
|
|
21
21
|
with:
|
|
22
22
|
languages: python
|
|
23
|
-
- uses: github/codeql-action/analyze@
|
|
23
|
+
- uses: github/codeql-action/analyze@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3
|
|
@@ -13,12 +13,12 @@ jobs:
|
|
|
13
13
|
permissions:
|
|
14
14
|
contents: read
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
17
|
-
- uses: astral-sh/setup-uv@
|
|
16
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
17
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
18
18
|
- name: Build sdist and wheel
|
|
19
19
|
run: uv build
|
|
20
20
|
- name: Upload artifacts
|
|
21
|
-
uses: actions/upload-artifact@
|
|
21
|
+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
22
22
|
with:
|
|
23
23
|
name: dist
|
|
24
24
|
path: dist/
|
|
@@ -37,12 +37,12 @@ jobs:
|
|
|
37
37
|
contents: read
|
|
38
38
|
steps:
|
|
39
39
|
- name: Download artifacts
|
|
40
|
-
uses: actions/download-artifact@
|
|
40
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
41
41
|
with:
|
|
42
42
|
name: dist
|
|
43
43
|
path: dist/
|
|
44
44
|
- name: Generate attestations
|
|
45
|
-
uses: actions/attest-build-provenance@
|
|
45
|
+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2
|
|
46
46
|
with:
|
|
47
47
|
subject-path: dist/*
|
|
48
48
|
- name: Publish to PyPI
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openapi-cli4ai
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Turn any REST API with an OpenAPI spec into an AI-ready CLI
|
|
5
5
|
Project-URL: Homepage, https://github.com/dbgorilla/openapi-cli4ai
|
|
6
6
|
Project-URL: Repository, https://github.com/dbgorilla/openapi-cli4ai
|
|
@@ -23,7 +23,7 @@ Requires-Dist: python-dotenv<2,>=1.0
|
|
|
23
23
|
Requires-Dist: pyyaml<7,>=6
|
|
24
24
|
Requires-Dist: rich<15,>=13
|
|
25
25
|
Requires-Dist: tomli-w<2,>=1.0
|
|
26
|
-
Requires-Dist: typer<1,>=0.
|
|
26
|
+
Requires-Dist: typer<1,>=0.24
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
|
|
29
29
|
```bash
|
|
@@ -35,7 +35,7 @@ Description-Content-Type: text/markdown
|
|
|
35
35
|
|_| |_|
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
Let your AI coding agent (Claude Code, Cursor, Codex, Copilot) talk to any REST API. No MCP servers. No schemas in the prompt. Just point it at a URL and let it fly.
|
|
39
39
|
|
|
40
40
|

|
|
41
41
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|_| |_|
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Let your AI coding agent (Claude Code, Cursor, Codex, Copilot) talk to any REST API. No MCP servers. No schemas in the prompt. Just point it at a URL and let it fly.
|
|
11
11
|
|
|
12
12
|

|
|
13
13
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "openapi-cli4ai"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "Turn any REST API with an OpenAPI spec into an AI-ready CLI"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -24,7 +24,7 @@ classifiers = [
|
|
|
24
24
|
"Topic :: Software Development :: Libraries",
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
|
-
"typer>=0.
|
|
27
|
+
"typer>=0.24,<1",
|
|
28
28
|
"httpx>=0.28,<1",
|
|
29
29
|
"rich>=13,<15",
|
|
30
30
|
"pyyaml>=6,<7",
|
|
@@ -47,7 +47,7 @@ from rich.panel import Panel # noqa: E402
|
|
|
47
47
|
from rich.table import Table # noqa: E402
|
|
48
48
|
|
|
49
49
|
# ── Constants ──────────────────────────────────────────────────────────────────
|
|
50
|
-
VERSION = "0.1.
|
|
50
|
+
VERSION = "0.1.1"
|
|
51
51
|
APP_NAME = "openapi-cli4ai"
|
|
52
52
|
CONFIG_FILE = Path.home() / ".openapi-cli4ai.toml"
|
|
53
53
|
CACHE_DIR = Path.home() / ".cache" / APP_NAME
|
|
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
|