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 5cb5aa5 fix(desktop): hand a second launch to the tray already running
new aedf45a feat: bring a whole switch installation over in one go
new 7f49d66 docs: move the install command and screenshots above the
agent table
The 2 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 | 96 +--
README_zh.md | 92 +--
agentconfig/mcp_parse.go | 109 ++++
ccswitch/ccswitch.go | 127 ++++
ccswitch/db.go | 165 ++++++
ccswitch/legacy.go | 102 ++++
controllers/ccswitch.go | 59 ++
object/ccswitch.go | 509 ++++++++++++++++
object/ccswitch_settings.go | 234 ++++++++
routers/router.go | 5 +
.../{ImportLinkBackend.ts => CcSwitchBackend.ts} | 17 +-
web/src/components/CcSwitchBanner.tsx | 129 ++++
web/src/components/CcSwitchImportCard.tsx | 418 +++++++++++++
web/src/components/ProviderSourcePicker.tsx | 22 +-
web/src/locales/en/data.json | 62 +-
web/src/locales/zh/data.json | 60 +-
web/src/nav.ts | 9 +-
web/src/pages/HomePage.tsx | 651 +++++++++++----------
web/src/pages/ImportLinkPage.tsx | 68 ++-
web/src/pages/ProviderListPage.tsx | 4 +-
web/src/types.ts | 88 +++
21 files changed, 2538 insertions(+), 488 deletions(-)
create mode 100644 agentconfig/mcp_parse.go
create mode 100644 ccswitch/ccswitch.go
create mode 100644 ccswitch/db.go
create mode 100644 ccswitch/legacy.go
create mode 100644 controllers/ccswitch.go
create mode 100644 object/ccswitch.go
create mode 100644 object/ccswitch_settings.go
copy web/src/backend/{ImportLinkBackend.ts => CcSwitchBackend.ts} (51%)
create mode 100644 web/src/components/CcSwitchBanner.tsx
create mode 100644 web/src/components/CcSwitchImportCard.tsx
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]