shiftgate 0.1.2__tar.gz → 0.1.3__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.
- {shiftgate-0.1.2 → shiftgate-0.1.3}/PKG-INFO +1 -1
- {shiftgate-0.1.2 → shiftgate-0.1.3}/pyproject.toml +9 -1
- shiftgate-0.1.2/.github/workflows/release.yml +0 -59
- shiftgate-0.1.2/shiftgate/__init__.py +0 -9
- shiftgate-0.1.2/shiftgate/cli.py +0 -669
- shiftgate-0.1.2/shiftgate/feedback/__init__.py +0 -1
- shiftgate-0.1.2/shiftgate/feedback/loop.py +0 -182
- shiftgate-0.1.2/shiftgate/registry/__init__.py +0 -1
- shiftgate-0.1.2/shiftgate/registry/adapter_registry.py +0 -253
- shiftgate-0.1.2/shiftgate/registry/schemas.py +0 -187
- shiftgate-0.1.2/shiftgate/registry/task_registry.py +0 -186
- shiftgate-0.1.2/shiftgate/router/__init__.py +0 -1
- shiftgate-0.1.2/shiftgate/router/embedder.py +0 -95
- shiftgate-0.1.2/shiftgate/router/matcher.py +0 -209
- shiftgate-0.1.2/shiftgate/router/router.py +0 -97
- shiftgate-0.1.2/shiftgate/runtime/__init__.py +0 -1
- shiftgate-0.1.2/shiftgate/runtime/backend.py +0 -289
- shiftgate-0.1.2/shiftgate/utils/__init__.py +0 -1
- shiftgate-0.1.2/shiftgate/utils/display.py +0 -413
- shiftgate-0.1.2/tests/__init__.py +0 -1
- shiftgate-0.1.2/tests/test_feedback.py +0 -261
- shiftgate-0.1.2/tests/test_registry.py +0 -448
- shiftgate-0.1.2/tests/test_router.py +0 -309
- {shiftgate-0.1.2 → shiftgate-0.1.3}/.gitignore +0 -0
- {shiftgate-0.1.2 → shiftgate-0.1.3}/README.md +0 -0
- {shiftgate-0.1.2 → shiftgate-0.1.3/shiftgate}/data/default_tasks.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shiftgate
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Intelligent routing layer that automatically selects the right LoRA adapter for each task in your local agent loop.
|
|
5
5
|
Project-URL: Homepage, https://github.com/shiftgate-ai/shiftgate
|
|
6
6
|
Project-URL: Repository, https://github.com/shiftgate-ai/shiftgate
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "shiftgate"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "Intelligent routing layer that automatically selects the right LoRA adapter for each task in your local agent loop."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -50,6 +50,14 @@ Issues = "https://github.com/shiftgate-ai/shiftgate/issues"
|
|
|
50
50
|
[tool.hatch.build.targets.wheel]
|
|
51
51
|
packages = ["shiftgate"]
|
|
52
52
|
|
|
53
|
+
[tool.hatch.build.targets.wheel.force-include]
|
|
54
|
+
"shiftgate/data/default_tasks.json" = "shiftgate/data/default_tasks.json"
|
|
55
|
+
|
|
56
|
+
[tool.hatch.build.targets.sdist]
|
|
57
|
+
include = [
|
|
58
|
+
"/shiftgate/data/default_tasks.json",
|
|
59
|
+
]
|
|
60
|
+
|
|
53
61
|
[tool.pytest.ini_options]
|
|
54
62
|
asyncio_mode = "auto"
|
|
55
63
|
testpaths = ["tests"]
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
name: Release and Publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- 'v*' # Triggers the pipeline whenever a version tag is pushed, e.g., v0.1.0
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
validate:
|
|
10
|
-
name: Validate and Test Code
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- name: Check out repository
|
|
14
|
-
uses: actions/checkout@v4
|
|
15
|
-
|
|
16
|
-
- name: Install uv
|
|
17
|
-
uses: astral-sh/setup-uv@v5
|
|
18
|
-
with:
|
|
19
|
-
enable-cache: true
|
|
20
|
-
|
|
21
|
-
- name: Set up Python
|
|
22
|
-
uses: actions/setup-python@v5
|
|
23
|
-
with:
|
|
24
|
-
python-version-file: "pyproject.toml"
|
|
25
|
-
|
|
26
|
-
- name: Install dependencies & run tests
|
|
27
|
-
run: |
|
|
28
|
-
uv sync --all-extras --dev
|
|
29
|
-
uv run pytest
|
|
30
|
-
|
|
31
|
-
publish:
|
|
32
|
-
name: Build and Publish to PyPI
|
|
33
|
-
needs: validate
|
|
34
|
-
runs-on: ubuntu-latest
|
|
35
|
-
|
|
36
|
-
# Define the target environment configured on PyPI
|
|
37
|
-
environment:
|
|
38
|
-
name: pypi
|
|
39
|
-
url: https://pypi.org/p/shiftgate
|
|
40
|
-
|
|
41
|
-
# CRITICAL: This gives the job permission to request an OIDC id-token from GitHub
|
|
42
|
-
permissions:
|
|
43
|
-
id-token: write
|
|
44
|
-
contents: read
|
|
45
|
-
|
|
46
|
-
steps:
|
|
47
|
-
- name: Check out repository
|
|
48
|
-
uses: actions/checkout@v4
|
|
49
|
-
|
|
50
|
-
- name: Install uv
|
|
51
|
-
uses: astral-sh/setup-uv@v5
|
|
52
|
-
with:
|
|
53
|
-
enable-cache: true
|
|
54
|
-
|
|
55
|
-
- name: Build distribution packages
|
|
56
|
-
run: uv build
|
|
57
|
-
|
|
58
|
-
- name: Publish to PyPI via Trusted Publishing
|
|
59
|
-
run: uv publish --trusted-publishing always
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
shiftgate — Intelligent LoRA adapter routing for local LLM inference.
|
|
3
|
-
|
|
4
|
-
Automatically selects the right adapter for each task using semantic
|
|
5
|
-
similarity, inspired by the LORAUTER paper (EPFL, 2026).
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
__version__ = "0.1.0"
|
|
9
|
-
__author__ = "shiftgate contributors"
|