grix-connector 4.7.1 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -2
- package/dist/adapter/claude/claude-adapter.js +13 -13
- package/dist/adapter/claude/usage-parser.js +7 -7
- package/dist/assets/dsh-bridge/{grix-dsh-bridge-4.7.1.tgz → grix-dsh-bridge-4.9.0.tgz} +0 -0
- package/dist/assets/dsh-bridge/manifest.json +5 -5
- package/dist/bridge/bridge.js +5 -5
- package/dist/bridge/remote-admin.js +1 -0
- package/dist/bridge/send-controller.js +3 -3
- package/dist/bridge/session-usage.js +1 -1
- package/dist/core/admin/admin-server.js +1 -1
- package/dist/core/aibot/client.js +1 -1
- package/dist/core/config/remote-admin-settings.js +1 -0
- package/dist/core/installer/installer.js +10 -10
- package/dist/core/installer/progress-view.js +1 -0
- package/dist/core/probe/installed-clients.js +1 -0
- package/dist/core/protocol/inbound-attachments.js +1 -0
- package/dist/core/protocol/index.js +1 -1
- package/dist/core/upgrade/upgrade-checker.js +2 -2
- package/dist/core/upgrade/version-store.js +2 -2
- package/dist/core/util/client-version.js +1 -1
- package/dist/grix.js +8 -8
- package/dist/manager.js +1 -1
- package/dist/mcp/stream-http/security.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,8 +33,25 @@ Set `client_type` in your config to one of the values below. Each `client_type`
|
|
|
33
33
|
| `openhuman` | OpenHuman | openhuman | `openhuman-core` |
|
|
34
34
|
| `agy` | Agy (Antigravity) | agy | `agy` |
|
|
35
35
|
| `hermes` | [Hermes](https://github.com/askie/grix-hermes-python) | external | `hermes` |
|
|
36
|
+
| `acp` | Any Agent Client Protocol CLI | acp | your own (`command`) |
|
|
36
37
|
|
|
37
|
-
The ACP adapter (Agent Client Protocol over JSON-RPC) backs Gemini, Qwen, Copilot, Kiro and Reasonix. Hermes is an external agent maintained in a separate project — see [grix-hermes-python](https://github.com/askie/grix-hermes-python) for setup.
|
|
38
|
+
The ACP adapter (Agent Client Protocol over JSON-RPC) backs Gemini, Qwen, Copilot, Kiro, Kimi and Reasonix. Hermes is an external agent maintained in a separate project — see [grix-hermes-python](https://github.com/askie/grix-hermes-python) for setup.
|
|
39
|
+
|
|
40
|
+
`client_type: "acp"` is the generic entry: if your CLI speaks the Agent Client Protocol over stdio JSON-RPC, connect it with configuration only — no code change, no new release. Give it the executable in `command`, and put the CLI's own ACP subcommand or flag in `args` (nothing is injected for you):
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"name": "my-acp-agent",
|
|
45
|
+
"ws_url": "wss://ws.grix.im/v1/agent-api/ws",
|
|
46
|
+
"agent_id": "your-agent-id",
|
|
47
|
+
"api_key": "your-grix-api-key",
|
|
48
|
+
"client_type": "acp",
|
|
49
|
+
"command": "my-cli",
|
|
50
|
+
"args": ["acp"]
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The generic entry ships the shared ACP surface (session binding, permission prompts, model/mode switching, file browsing). Per-agent extras — an installation guide, a dedicated toolbar, session usage parsing — still require a registered `client_type`.
|
|
38
55
|
|
|
39
56
|
For DeepSeek Harness, install the official CLI and complete its login/profile setup before starting the connector:
|
|
40
57
|
|
|
@@ -242,8 +259,10 @@ Each agent entry uses one flat structure:
|
|
|
242
259
|
| `pool.maxSize` | no | Max adapter pool size (default 20) |
|
|
243
260
|
| `pool.idleTimeoutMs` | no | Idle adapter eviction timeout (default 300000 = 5 min) |
|
|
244
261
|
| `codex_config_overrides` | no | Codex-only app-server config overrides. The connector serializes this JSON object into validated `-c` flags. |
|
|
262
|
+
| `command` | `acp` only | Executable to spawn for `client_type: "acp"`. Required for that type, ignored by every other type (their command is built in). |
|
|
263
|
+
| `args` | no | Extra CLI arguments appended to the adapter's built-in ones. For `client_type: "acp"` these are the only arguments passed. |
|
|
245
264
|
|
|
246
|
-
Adapter command/args/options are built in and resolved from `client_type`. To connect a different agent, simply change `client_type` — no other config changes needed.
|
|
265
|
+
Adapter command/args/options are built in and resolved from `client_type`. To connect a different agent, simply change `client_type` — no other config changes needed. The one exception is `client_type: "acp"`, where the command comes from your config.
|
|
247
266
|
|
|
248
267
|
For Codex context trimming, disable plugin suggestions without changing the user's own Codex CLI profile:
|
|
249
268
|
|