celesto 0.0.1.dev0__tar.gz → 0.0.1.dev1__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 (20) hide show
  1. celesto-0.0.1.dev1/.github/workflows/test.yml +26 -0
  2. celesto-0.0.1.dev1/AGENTS.md +62 -0
  3. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/PKG-INFO +2 -2
  4. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/README.md +1 -1
  5. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/pyproject.toml +3 -3
  6. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/__init__.py +1 -1
  7. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/deployment.py +1 -1
  8. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/tests/test_deployment.py +1 -1
  9. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/tests/test_sdk.py +1 -1
  10. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/.github/workflows/release.yml +0 -0
  11. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/.gitignore +0 -0
  12. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/.python-version +0 -0
  13. {celesto-0.0.1.dev0 → celesto-0.0.1.dev1}/LICENSE +0 -0
  14. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/a2a.py +0 -0
  15. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/main.py +0 -0
  16. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/proxy.py +0 -0
  17. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/__init__.py +0 -0
  18. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/client.py +0 -0
  19. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/exceptions.py +0 -0
  20. {celesto-0.0.1.dev0/src/celesto_sdk → celesto-0.0.1.dev1/src/celesto}/sdk/types.py +0 -0
@@ -0,0 +1,26 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Check out repository
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v3
18
+
19
+ - name: Set up Python
20
+ run: uv python install 3.12
21
+
22
+ - name: Install dependencies
23
+ run: uv sync --group dev
24
+
25
+ - name: Run tests
26
+ run: uv run pytest
@@ -0,0 +1,62 @@
1
+ # Celesto SDK - GitHub Copilot Instructions
2
+
3
+ ## Project Overview
4
+
5
+ Celesto SDK is a Python client + CLI for the Celesto AI platform. It provides:
6
+ - A typed Python SDK (`CelestoSDK`) for Deployments and GateKeeper.
7
+ - A CLI (`celesto`) for deployment and A2A utilities.
8
+
9
+ ## Repository Structure
10
+
11
+ ```
12
+ celesto-sdk/
13
+ ├── src/celesto/ # SDK + CLI source code
14
+ │ ├── sdk/ # SDK client, exceptions, types
15
+ │ ├── main.py # CLI app entrypoint (typer)
16
+ │ ├── deployment.py # CLI deployment helpers
17
+ │ ├── a2a.py # CLI A2A helpers
18
+ │ └── proxy.py # CLI MCP proxy helper
19
+ ├── tests/ # Test suite
20
+ ├── pyproject.toml # Project metadata and dependencies
21
+ └── README.md # Usage and install docs
22
+ ```
23
+
24
+ ## Development Setup
25
+
26
+ - Python >= 3.10
27
+ - Install deps with uv (recommended):
28
+
29
+ ```bash
30
+ pip install uv
31
+ uv venv
32
+ uv sync
33
+ ```
34
+
35
+ Or with pip:
36
+
37
+ ```bash
38
+ pip install -e .
39
+ ```
40
+
41
+ ## Code Style and Linting
42
+
43
+ - **Ruff** is the linter and formatter.
44
+
45
+ ```bash
46
+ uv run ruff check .
47
+ uv run ruff format .
48
+ ```
49
+
50
+ ## Tests
51
+
52
+ ```bash
53
+ uv run pytest
54
+ ```
55
+
56
+ ## Development Guidelines
57
+
58
+ - Make minimal, targeted changes.
59
+ - Keep functions focused and well-documented.
60
+ - Avoid placeholders like `# ... rest of code ...`.
61
+ - Prefer clear, explicit error messages.
62
+ - Maintain backwards compatibility where possible (public SDK/CLI).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: celesto
3
- Version: 0.0.1.dev0
3
+ Version: 0.0.1.dev1
4
4
  Summary: Python SDK and CLI for the Celesto AI platform.
5
5
  Author-email: Aniket Maurya <aniket@celesto.ai>
6
6
  License-File: LICENSE
@@ -47,7 +47,7 @@ celesto a2a get-card --agent http://localhost:8000
47
47
  ## SDK
48
48
 
49
49
  ```python
50
- from celesto_sdk.sdk import CelestoSDK
50
+ from celesto.sdk import CelestoSDK
51
51
 
52
52
  client = CelestoSDK()
53
53
  print(client.deployment.list())
@@ -27,7 +27,7 @@ celesto a2a get-card --agent http://localhost:8000
27
27
  ## SDK
28
28
 
29
29
  ```python
30
- from celesto_sdk.sdk import CelestoSDK
30
+ from celesto.sdk import CelestoSDK
31
31
 
32
32
  client = CelestoSDK()
33
33
  print(client.deployment.list())
@@ -32,13 +32,13 @@ repository = "https://github.com/CelestoAI/celesto-sdk"
32
32
  documentation = "https://docs.celesto.ai/celesto-sdk"
33
33
 
34
34
  [project.scripts]
35
- celesto = "celesto_sdk:app"
35
+ celesto = "celesto:app"
36
36
 
37
37
  [tool.hatch.version]
38
- path = "src/celesto_sdk/__init__.py"
38
+ path = "src/celesto/__init__.py"
39
39
 
40
40
  [tool.hatch.build.targets.wheel]
41
- packages = ["src/celesto_sdk"]
41
+ packages = ["src/celesto"]
42
42
 
43
43
  [tool.uv]
44
44
  package = true
@@ -2,6 +2,6 @@
2
2
 
3
3
  from .main import app
4
4
 
5
- __version__ = "0.0.1.dev0"
5
+ __version__ = "0.0.1.dev1"
6
6
 
7
7
  __all__ = ["app", "__version__"]
@@ -10,7 +10,7 @@ from dotenv.main import DotEnv
10
10
  from rich.console import Console
11
11
  from typing_extensions import Annotated
12
12
 
13
- from celesto_sdk.sdk.client import CelestoSDK
13
+ from .sdk.client import CelestoSDK
14
14
 
15
15
  console = Console()
16
16
 
@@ -1,6 +1,6 @@
1
1
  from pathlib import Path
2
2
 
3
- from celesto_sdk.deployment import _resolve_envs
3
+ from celesto.deployment import _resolve_envs
4
4
 
5
5
 
6
6
  def test_resolve_envs_merges_file_and_cli(tmp_path: Path) -> None:
@@ -1,4 +1,4 @@
1
- from celesto_sdk.sdk import CelestoSDK
1
+ from celesto.sdk import CelestoSDK
2
2
 
3
3
 
4
4
  def test_sdk_exposes_service_clients():
File without changes
File without changes