Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ jobs:
uv run python scripts/generate_models.py || echo "Model generation skipped (requires local docs repo)"
echo "Model generation complete."

- name: Generate MCP tools
run: |
echo "Starting MCP tool generation..."
uv run --with pyyaml python scripts/generate_mcp_tools.py
echo "MCP tool generation complete."

- name: Generate README SDK Reference
run: |
echo "Starting README SDK Reference generation..."
Expand All @@ -72,8 +66,6 @@ jobs:
run: |
uv run ruff check --fix src/late/resources/_generated/ || true
uv run ruff format src/late/resources/_generated/ || true
uv run ruff check --fix src/late/mcp/generated_tools.py || true
uv run ruff format src/late/mcp/generated_tools.py || true

- name: Run tests
run: uv run pytest tests -v --tb=short
Expand Down Expand Up @@ -163,7 +155,6 @@ jobs:

- name: Publish zernio-sdk to PyPI
if: steps.changes.outputs.has_changes == 'true'
continue-on-error: true
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
Expand All @@ -189,8 +180,24 @@ jobs:

- name: Publish late-sdk to PyPI
if: steps.changes.outputs.has_changes == 'true'
continue-on-error: true
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true

- name: Notify zernio-mcp after successful SDK publication
if: steps.changes.outputs.has_changes == 'true'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.MCP_REPO_TOKEN }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'zernio-dev',
repo: 'zernio-mcp',
event_type: 'sdk-released',
client_payload: {
sdk_version: '${{ steps.version.outputs.new_version }}',
sdk_repository: context.repo.owner + '/' + context.repo.repo,
sdk_sha: context.sha,
},
});
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,23 @@ jobs:
with:
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Notify zernio-mcp after successful SDK publication
if: steps.check_tag.outputs.exists == 'false'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.MCP_REPO_TOKEN }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'zernio-dev',
repo: 'zernio-mcp',
event_type: 'sdk-released',
client_payload: {
sdk_version: '${{ steps.version.outputs.version }}',
sdk_repository: context.repo.owner + '/' + context.repo.repo,
sdk_sha: context.sha,
},
});

- name: Post-release Summary
if: steps.check_tag.outputs.exists == 'false'
run: |
Expand Down
21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions Dockerfile.docker

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -857,10 +857,10 @@ Both `from zernio import ...` and `from late import ...` work identically. The `

## MCP Server (Claude Desktop)

The SDK includes a Model Context Protocol (MCP) server for integration with Claude Desktop. See [MCP documentation](https://docs.zernio.com/resources/mcp) for setup instructions.
The Model Context Protocol server now lives in the standalone [zernio-mcp](https://github.com/zernio-dev/zernio-mcp) project. It consumes this SDK as a versioned dependency and is synchronized only after a successful SDK release.

```bash
pip install zernio-sdk[mcp]
uvx zernio-mcp
```

## Requirements
Expand Down
15 changes: 0 additions & 15 deletions claude-desktop-config.json

This file was deleted.

127 changes: 0 additions & 127 deletions docs/HTTP_DEPLOYMENT.md

This file was deleted.

97 changes: 0 additions & 97 deletions docs/MCP.md

This file was deleted.

Loading
Loading