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 300acf4  feat: add desktop app
     new 831bb16  feat(agent): detect opencode and switch its provider
     new 5378983  fix(desktop): hide the window on close so reopening is instant

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:
 agent/fingerprint.go                     |   1 +
 agent/fingerprint_load.go                |   2 +-
 agent/fingerprint_load_test.go           |   3 +-
 agent/fingerprints/opencode-desktop.json |   7 +
 agent/fingerprints/opencode.json         |   7 +
 agent/scan_darwin.go                     |   1 +
 agent/scan_linux.go                      |   1 +
 agent/scan_unix.go                       |  22 +++
 agent/scan_windows.go                    |   1 +
 agentconfig/layout.go                    |  26 ++++
 agentconfig/mcp_json.go                  |   9 ++
 agentconfig/mcp_opencode.go              | 117 +++++++++++++++
 agentpatch/unsupported.go                |   2 +-
 agentprovider/opencode.go                | 248 +++++++++++++++++++++++++++++++
 desktop/focus_windows.go                 |  83 ++++++++---
 desktop/hide_windows.go                  |  43 +++---
 desktop/window_windows.go                |   5 +-
 internal/jsonc/jsonc.go                  | 101 +++++++++++++
 web/src/components/AgentIcon.tsx         |   2 +
 web/src/lib/agents.ts                    |   3 +
 web/src/locales/en/data.json             |   1 +
 web/src/locales/zh/data.json             |   1 +
 22 files changed, 634 insertions(+), 52 deletions(-)
 create mode 100644 agent/fingerprints/opencode-desktop.json
 create mode 100644 agent/fingerprints/opencode.json
 create mode 100644 agentconfig/mcp_opencode.go
 create mode 100644 agentprovider/opencode.go
 create mode 100644 internal/jsonc/jsonc.go


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to