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 de5e9c2 fix(agents): find the CLI a desktop app downloads for itself
new 04c5a71 feat(permissions): enforce the tool switches at the agent's
own hook
new 0093912 fix(agents): report an unpatchable agent as unsupported, not
unknown
new ce2028b fix(sessions): read every agent's transcript and key it to
its own file
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:
agenthistory/cursor.go | 159 ++++++++++++++++++++++++++++++++++
agenthistory/dsh.go | 58 +++++++++++--
agenthistory/history.go | 74 ++++++++++++++--
agenthistory/opencode.go | 118 +++++++++++++++++++++++++
agenthistory/transcript.go | 16 +++-
agenthook/decide.go | 109 +++++++++++++++++++++++
agenthook/hook.go | 22 ++++-
agentmonitor/monitor.go | 20 +++++
agentpatch/claude_code.go | 40 +++++++--
agentpatch/endpoint.go | 22 +++--
agentpatch/opencode.go | 21 ++++-
agentpatch/opencode_plugin.js | 39 ++++++++-
agentpatch/patch.go | 31 +++++--
controllers/agent.go | 66 ++++++++++++++
object/permission_check.go | 50 +++++++++++
routers/router.go | 1 +
web/src/components/PermissionCard.tsx | 24 +++--
web/src/lib/agents.ts | 20 ++++-
web/src/locales/en/data.json | 3 +-
web/src/locales/zh/data.json | 3 +-
web/src/pages/PermissionsPage.tsx | 4 +-
web/src/types.ts | 3 +
22 files changed, 846 insertions(+), 57 deletions(-)
create mode 100644 agenthook/decide.go
create mode 100644 object/permission_check.go
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]