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 9418240 feat(agents): support Pi, Kimi Code CLI and CodeBuddy Code
new 66068da fix: keep hook processes from leaking and name the port
holder reliably
new 6345f05 feat(agents): add a version management page
new a634eb3 fix(agents): write a machine-wide agent's config into the
right home
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 | 3 +-
README_zh.md | 3 +-
agenthome/home.go | 24 +-
agentinstall/run_unix.go => agenthome/home_unix.go | 10 +-
agenthome/home_windows.go | 42 ++
agenthook/hook.go | 6 +
agentinstall/job.go | 3 +
agentinstall/plan.go | 157 +++++-
agentinstall/versions.go | 545 +++++++++++++++++++++
controllers/agent.go | 3 +
controllers/agent_install.go | 98 +++-
routers/router.go | 4 +
util/port.go | 20 +-
util/{daemon_unix.go => port_unix.go} | 12 +-
util/port_windows.go | 70 +++
web/src/App.tsx | 5 +
web/src/backend/AgentBackend.ts | 46 +-
web/src/components/AgentGridCard.tsx | 6 +
web/src/components/AgentVersionDialog.tsx | 268 ++++++++++
web/src/lib/agents.ts | 105 +++-
web/src/locales/en/data.json | 24 +
web/src/locales/zh/data.json | 24 +
web/src/nav.ts | 8 +
web/src/pages/AgentDetailPage.tsx | 34 +-
web/src/pages/AgentVersionsPage.tsx | 329 +++++++++++++
web/src/pages/AgentsPage.tsx | 72 ++-
web/src/pages/HomePage.tsx | 10 +-
web/src/types.ts | 39 +-
28 files changed, 1886 insertions(+), 84 deletions(-)
copy agentinstall/run_unix.go => agenthome/home_unix.go (70%)
create mode 100644 agenthome/home_windows.go
create mode 100644 agentinstall/versions.go
copy util/{daemon_unix.go => port_unix.go} (70%)
create mode 100644 util/port_windows.go
create mode 100644 web/src/components/AgentVersionDialog.tsx
create mode 100644 web/src/pages/AgentVersionsPage.tsx
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]