agents-bridge 0.1.37 → 0.1.38
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/.env.example +20 -20
- package/LICENSE +21 -21
- package/README.md +312 -312
- package/bin/agent-bridge.mjs +13 -13
- package/config.example.json +208 -208
- package/config.multi-agent.example.json +113 -113
- package/dist/cli/botlink-openapi.d.ts +2 -0
- package/dist/cli/botlink-openapi.d.ts.map +1 -1
- package/dist/cli/botlink-openapi.js.map +1 -1
- package/dist/cli/cmd-contacts.js +1 -1
- package/dist/cli/cmd-contacts.js.map +1 -1
- package/dist/cli/cmd-list-groups.d.ts.map +1 -1
- package/dist/cli/cmd-list-groups.js +3 -2
- package/dist/cli/cmd-list-groups.js.map +1 -1
- package/dist/cli/cmd-update.js +70 -70
- package/dist/cli/run-main.d.ts.map +1 -1
- package/dist/cli/run-main.js +144 -141
- package/dist/cli/run-main.js.map +1 -1
- package/package.json +69 -69
package/.env.example
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
# .env.example — agent-bridge 环境变量
|
|
2
|
-
#
|
|
3
|
-
# 环境变量可覆盖 config.json 中的对应值
|
|
4
|
-
|
|
5
|
-
# 配置文件路径(默认按搜索顺序:~/.agent-bridge/config.json → ./config.json)
|
|
6
|
-
# AGENT_BRIDGE_CONFIG=./config.json
|
|
7
|
-
|
|
8
|
-
# Botlink 连接(覆盖 channels.botlink)
|
|
9
|
-
# AGENT_BRIDGE_GATEWAY_URL=https://your-botlink-instance.com
|
|
10
|
-
# AGENT_BRIDGE_BOT_TOKEN=bot_xxxxxxxxxxxxxxxxxx
|
|
11
|
-
|
|
12
|
-
# 日志级别(覆盖 logging.level)
|
|
13
|
-
# AGENT_BRIDGE_LOG_LEVEL=info
|
|
14
|
-
|
|
15
|
-
# 临时文件目录(覆盖 files.temp_dir)
|
|
16
|
-
# AGENT_BRIDGE_TEMP_DIR=/tmp/agent-bridge/files
|
|
17
|
-
|
|
18
|
-
# LLM API Keys(用于 Pi Agent 模式)
|
|
19
|
-
# ANTHROPIC_API_KEY=sk-ant-xxx
|
|
20
|
-
# OPENAI_API_KEY=sk-xxx
|
|
1
|
+
# .env.example — agent-bridge 环境变量
|
|
2
|
+
#
|
|
3
|
+
# 环境变量可覆盖 config.json 中的对应值
|
|
4
|
+
|
|
5
|
+
# 配置文件路径(默认按搜索顺序:~/.agent-bridge/config.json → ./config.json)
|
|
6
|
+
# AGENT_BRIDGE_CONFIG=./config.json
|
|
7
|
+
|
|
8
|
+
# Botlink 连接(覆盖 channels.botlink)
|
|
9
|
+
# AGENT_BRIDGE_GATEWAY_URL=https://your-botlink-instance.com
|
|
10
|
+
# AGENT_BRIDGE_BOT_TOKEN=bot_xxxxxxxxxxxxxxxxxx
|
|
11
|
+
|
|
12
|
+
# 日志级别(覆盖 logging.level)
|
|
13
|
+
# AGENT_BRIDGE_LOG_LEVEL=info
|
|
14
|
+
|
|
15
|
+
# 临时文件目录(覆盖 files.temp_dir)
|
|
16
|
+
# AGENT_BRIDGE_TEMP_DIR=/tmp/agent-bridge/files
|
|
17
|
+
|
|
18
|
+
# LLM API Keys(用于 Pi Agent 模式)
|
|
19
|
+
# ANTHROPIC_API_KEY=sk-ant-xxx
|
|
20
|
+
# OPENAI_API_KEY=sk-xxx
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|