@hopgoldy/agent-bridge 0.1.1 → 0.2.2
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 +24 -5
- package/dist/agent-bridge.js +1801 -133
- package/dist/cli.js +1801 -133
- package/dist/index.d.ts +51 -11
- package/package.json +9 -4
package/README.md
CHANGED
|
@@ -1,23 +1,40 @@
|
|
|
1
1
|
# agent-bridge
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@hopgoldy/agent-bridge)
|
|
4
|
+
[](https://www.npmjs.com/package/@hopgoldy/agent-bridge)
|
|
5
|
+
[](https://github.com/HoPGoldy/agent-bridge/actions/workflows/ci.yml)
|
|
6
|
+
[](https://nodejs.org/)
|
|
7
|
+
[](#license)
|
|
8
|
+
|
|
9
|
+
`agent-bridge` connects IM channel (feishu, weixin, wecom...) to local coding agent (pi, codex, opencode...) using a dual-adapter architecture.
|
|
4
10
|
|
|
5
11
|
The design stays intentionally simple and compact: no harness layer, no extra tools, no extra skills, just forwarding messages from IM to the local agent.
|
|
6
12
|
|
|
7
13
|
## Current support
|
|
8
14
|
|
|
9
|
-
Client side:
|
|
15
|
+
Client side:
|
|
16
|
+
|
|
17
|
+
| Platform | Image/file in | Image/file out | Emoji | Dynamic progress |
|
|
18
|
+
| ------------- | ------------- | -------------- | ----- | ---------------- |
|
|
19
|
+
| Feishu / Lark | ✅ | ✅ | ✅ | ✅ |
|
|
20
|
+
| WeCom | ✅ | ✅ | — | ✅ |
|
|
21
|
+
| Weixin | ✅ | ✅ | — | — |
|
|
22
|
+
|
|
23
|
+
- **Emoji** = platform-native emoji / reaction capability currently used by the bridge.
|
|
24
|
+
- **Dynamic progress** = progress shown before the final answer arrives.
|
|
10
25
|
|
|
11
|
-
Agent side:
|
|
26
|
+
Agent side:
|
|
12
27
|
|
|
13
|
-
|
|
28
|
+
- `PI Coding Agent`
|
|
29
|
+
|
|
30
|
+
> The current built-in support is intentionally small, but the architecture is designed for straightforward horizontal extension. The project will primarily maintain the integrations used in practice today, and contributions for additional client or agent adapters are welcome through forks and PRs.
|
|
14
31
|
|
|
15
32
|
## Quick Start
|
|
16
33
|
|
|
17
34
|
Install the CLI:
|
|
18
35
|
|
|
19
36
|
```bash
|
|
20
|
-
npm install -g agent-bridge
|
|
37
|
+
npm install -g @hopgoldy/agent-bridge
|
|
21
38
|
```
|
|
22
39
|
|
|
23
40
|
The CLI currently provides these commands:
|
|
@@ -61,6 +78,8 @@ agent-bridge remove <channel-name>
|
|
|
61
78
|
|
|
62
79
|
Config file: `~/.config/agent-bridge/config.json`
|
|
63
80
|
|
|
81
|
+
Command usage across IM adapters: [`docs/command-system.md`](./docs/command-system.md)
|
|
82
|
+
|
|
64
83
|
## Development
|
|
65
84
|
|
|
66
85
|
```bash
|