flexgate 0.2.0__tar.gz → 0.2.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.
- {flexgate-0.2.0 → flexgate-0.2.1}/CLAUDE.md +2 -2
- {flexgate-0.2.0 → flexgate-0.2.1}/PKG-INFO +2 -1
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/__init__.py +1 -1
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/cli.py +3 -4
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/sync.py +6 -3
- {flexgate-0.2.0 → flexgate-0.2.1}/pyproject.toml +1 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/.github/workflows/release.yml +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/.gitignore +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/README.md +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/config.yaml.template +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/__main__.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/config.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/doctor.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/guardian.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/healthcheck.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/main.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/migrate.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/proxy.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/router.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/server.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/service.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/settings.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/flexgate/update.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/test.png +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/test_multimodal.py +0 -0
- {flexgate-0.2.0 → flexgate-0.2.1}/test_multimodal_gateway.py +0 -0
|
@@ -119,8 +119,8 @@ shared confsync credentials written by `confsync login --server <url>`
|
|
|
119
119
|
encrypted document (default app `flexgate`, name `config.yaml`): pull merges
|
|
120
120
|
provider api_keys and imports remote-only providers (local routes/schedules
|
|
121
121
|
untouched), bootstraps the file when missing, and `--full` replaces it with a
|
|
122
|
-
timestamped backup. The confsync
|
|
123
|
-
|
|
122
|
+
timestamped backup. The `confsync-client` package is a declared dependency
|
|
123
|
+
(PyPI), so sync works out of the box once logged in.
|
|
124
124
|
The persistent unit lives at `~/.config/systemd/user/flexgate.service`; logs are
|
|
125
125
|
in the systemd user journal. `~/.flexgate/service-state.json` records the last
|
|
126
126
|
successfully applied config path and endpoint. PID/guardian files are legacy artifacts only.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: flexgate
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Flexible local API gateway for Claude Code — route models to different providers
|
|
5
5
|
Project-URL: Homepage, https://github.com/Agony5757/flexible-gateway
|
|
6
6
|
Project-URL: Repository, https://github.com/Agony5757/flexible-gateway
|
|
@@ -8,6 +8,7 @@ Project-URL: Issues, https://github.com/Agony5757/flexible-gateway/issues
|
|
|
8
8
|
Author: agony
|
|
9
9
|
License-Expression: MIT
|
|
10
10
|
Requires-Python: >=3.11
|
|
11
|
+
Requires-Dist: confsync-client>=0.1.0
|
|
11
12
|
Requires-Dist: httpx[socks]>=0.27
|
|
12
13
|
Requires-Dist: pyyaml>=6.0
|
|
13
14
|
Requires-Dist: starlette>=0.37
|
|
@@ -700,10 +700,9 @@ def _print_sync_help() -> None:
|
|
|
700
700
|
print("""\
|
|
701
701
|
confsync sync (flexgate sync):
|
|
702
702
|
Pushes/pulls config.yaml as an encrypted document on your confsync server.
|
|
703
|
-
Requires
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
~/.confsync/credentials.json). 'flexgate sync' (pull) updates api_keys of
|
|
703
|
+
Requires a one-time 'confsync login --server https://<server>' (shared
|
|
704
|
+
credentials at ~/.confsync/credentials.json); the confsync-client package
|
|
705
|
+
is a declared dependency. 'flexgate sync' (pull) updates api_keys of
|
|
707
706
|
matching providers and imports providers present only remotely; local
|
|
708
707
|
routes/schedules are untouched. On a machine without config.yaml the pull
|
|
709
708
|
bootstraps the whole file. Use --full to replace the local config entirely
|
|
@@ -31,9 +31,12 @@ def _import_confsync():
|
|
|
31
31
|
from confsync import credentials # noqa: PLC0415
|
|
32
32
|
return confsync, credentials
|
|
33
33
|
except ImportError:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
print("
|
|
34
|
+
# confsync-client is a declared dependency; reaching here means the
|
|
35
|
+
# installation is broken (e.g. an editable install predating the dep).
|
|
36
|
+
print("The 'confsync' client package is missing from flexgate's environment.")
|
|
37
|
+
print("Reinstall/upgrade flexgate to fix it (it is a declared dependency):")
|
|
38
|
+
print(" uv tool install --force -e . # from the flexgate repo")
|
|
39
|
+
print("or inject it manually: uv tool inject flexgate confsync-client")
|
|
37
40
|
sys.exit(1)
|
|
38
41
|
|
|
39
42
|
|
|
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
|