This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-gateway.git
from f754ee1 feat(connections): name the agents a connection is in, and
set Manage apart from Connect
new df81802 feat(providers): add a ChatGPT subscription source that
forwards Codex's own sign-in
new 9409d7e feat(connections): fill out storage with S3, rclone and Cloud
Storage
new 9b01f66 feat(providers): let Gateway hold a ChatGPT subscription and
spend it like a key
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 2 +-
README_zh.md | 2 +-
agent/account.go | 6 +-
agentprovider/codex.go | 20 +-
agentprovider/provider.go | 4 +
connector/connectors/gcs.json | 32 ++
connector/connectors/rclone.json | 45 ++
connector/connectors/s3.json | 53 ++
controllers/agent_provider.go | 3 +-
controllers/provider_login.go | 51 ++
controllers/proxy.go | 14 +
docs/user-manual/en/2-agents/2.5-connections.md | 2 +-
.../user-manual/en/3-providers/3.3-caller-login.md | 8 +-
docs/user-manual/en/6-faq/6.1-faq.md | 2 +-
docs/user-manual/zh/2-agents/2.5-connections.md | 2 +-
.../user-manual/zh/3-providers/3.3-caller-login.md | 8 +-
docs/user-manual/zh/6-faq/6.1-faq.md | 2 +-
object/provider.go | 158 +++++-
object/provider_subscription.go | 620 +++++++++++++++++++++
object/snapshot.go | 3 +
routers/router.go | 2 +
web/src/backend/ProviderBackend.ts | 14 +
web/src/components/ProviderGridCard.tsx | 14 +-
web/src/components/ProviderLoginField.tsx | 146 +++++
web/src/components/ProviderModelsField.tsx | 6 +-
web/src/components/ProviderSourcePicker.tsx | 20 +-
web/src/lib/providers.ts | 63 ++-
web/src/locales/en/data.json | 16 +-
web/src/locales/zh/data.json | 31 +-
web/src/pages/ProviderEditPage.tsx | 34 +-
web/src/pages/ProviderListPage.tsx | 36 +-
web/src/types.ts | 21 +
32 files changed, 1366 insertions(+), 74 deletions(-)
create mode 100644 connector/connectors/gcs.json
create mode 100644 connector/connectors/rclone.json
create mode 100644 connector/connectors/s3.json
create mode 100644 controllers/provider_login.go
create mode 100644 object/provider_subscription.go
create mode 100644 web/src/components/ProviderLoginField.tsx
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]