pi-web-ui 0.103.2 → 0.104.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/CHANGELOG.md +37 -0
- package/dist/server/agent-formatters.js +18 -2
- package/dist/server/agent-service-daemon.js +4 -3
- package/dist/server/agent-service.js +773 -181
- package/dist/server/compaction-markers.js +111 -3
- package/dist/server/delegate-mode.js +2 -0
- package/dist/server/dispatch-domain-handlers.js +25 -0
- package/dist/server/dsh/dsh-agent-service.js +265 -11
- package/dist/server/goal-review-gate.js +2 -0
- package/dist/server/goal-service.js +59 -2
- package/dist/server/index.js +1 -0
- package/dist/server/markers-list-tool.js +1 -1
- package/dist/server/market-service.js +36 -9
- package/dist/server/mcp-agent-tool.js +164 -0
- package/dist/server/mcp-manager.js +182 -0
- package/dist/server/plan-mode.js +3 -0
- package/dist/server/plugin-api-catalog.js +24 -0
- package/dist/server/plugins.js +113 -0
- package/dist/server/preset-share.js +52 -1
- package/dist/server/remote-ssh-service.js +90 -25
- package/dist/server/sandbox-service.js +705 -0
- package/dist/server/sandbox-tool.js +365 -0
- package/dist/server/session-parser.js +48 -21
- package/dist/server/subagent-helpers.js +32 -1
- package/dist/server/terminals.js +210 -10
- package/dist/server/tool-manager.js +24 -0
- package/dist/server/webui-context.js +16 -2
- package/dist/server/workspace-snapshot.js +51 -13
- package/package.json +1 -1
- package/plugin-sdk/index.d.ts +39 -0
- package/plugin-sdk/index.mjs +14 -0
- package/plugins/catalog.json +110 -0
- package/themes/zhujian-dark.css +711 -0
- package/themes/zhujian.css +760 -0
- package/web/dist/assets/{TerminalPanel-DQFDRz0A.js → TerminalPanel-28naZdcs.js} +1 -1
- package/web/dist/assets/index-DbGGBf5I.js +680 -0
- package/web/dist/assets/index-RqIdFOsh.css +1 -0
- package/web/dist/index.html +2 -2
- package/web/dist/sw.js +1 -1
- package/web/dist/assets/index-CYQdZEbx.css +0 -1
- package/web/dist/assets/index-aGRL6x3h.js +0 -680
package/plugins/catalog.json
CHANGED
|
@@ -80,6 +80,116 @@
|
|
|
80
80
|
"source": "xing-shuyin/pi-web-ui/plugins/wechat-ilink",
|
|
81
81
|
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/wechat-ilink"
|
|
82
82
|
},
|
|
83
|
+
{
|
|
84
|
+
"id": "feishu",
|
|
85
|
+
"name": "飞书",
|
|
86
|
+
"nameEn": "Feishu",
|
|
87
|
+
"icon": "🐦",
|
|
88
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 4L10 14\"/><path d=\"M21 4l-6.5 16-4.5-6-6-4.5L21 4z\"/></svg>",
|
|
89
|
+
"description": "飞书工作台与机器人:飞书 Bot 双工对话(出站长连接 / 智能 Markdown 分块 / 多轮会话隔离)/ 群聊与单聊会话列表 / 消息收发、回复与撤回 / 自定义机器人 Webhook 卡片推送 / AI 飞书工具(密钥加密落盘,零外部依赖)。",
|
|
90
|
+
"descriptionEn": "Feishu (Lark) workspace & Bot: Feishu Bot duplex chat (outbound long-connection, structure-aware Markdown chunks, isolated multi-turn sessions), chat management, Webhook cards, and AI feishu tool.",
|
|
91
|
+
"source": "xing-shuyin/pi-web-ui/plugins/feishu",
|
|
92
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/feishu"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "dingtalk",
|
|
96
|
+
"name": "钉钉",
|
|
97
|
+
"nameEn": "DingTalk",
|
|
98
|
+
"icon": "📌",
|
|
99
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 2v20\"/><path d=\"m17 5-5-3-5 3\"/><path d=\"M4 12h16\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/></svg>",
|
|
100
|
+
"description": "钉钉机器人与工作台:钉钉 Bot 双工对话(出站长连接 / 智能 Markdown 分块 / 多轮会话隔离)/ 群聊与单聊消息推送 / 自定义机器人 Webhook / AI 钉钉工具(密钥加密存储,零外部依赖)。",
|
|
101
|
+
"descriptionEn": "DingTalk workspace & Bot: DingTalk Bot duplex chat (outbound long-connection, structure-aware Markdown chunks, isolated multi-turn sessions), group/single message push, custom bot Webhooks, and AI dingtalk tool.",
|
|
102
|
+
"source": "xing-shuyin/pi-web-ui/plugins/dingtalk",
|
|
103
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/dingtalk"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "telegram",
|
|
107
|
+
"name": "Telegram",
|
|
108
|
+
"nameEn": "Telegram",
|
|
109
|
+
"icon": "✈️",
|
|
110
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"/><polygon points=\"22 2 15 22 11 13 2 9 22 2\"/></svg>",
|
|
111
|
+
"description": "Telegram 机器人:出站长轮询双工对话(零公网 IP / 智能 Markdown 分块 / 多轮会话隔离)/ 用户白名单准入 / AI telegram 工具(密钥加密存储,零外部依赖)。",
|
|
112
|
+
"descriptionEn": "Telegram Bot: outbound long-polling duplex chat (zero public IP, structure-aware Markdown chunks, isolated multi-turn sessions), access control whitelist, and AI telegram tool.",
|
|
113
|
+
"source": "xing-shuyin/pi-web-ui/plugins/telegram",
|
|
114
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/telegram"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "wecom",
|
|
118
|
+
"name": "企业微信",
|
|
119
|
+
"nameEn": "WeCom",
|
|
120
|
+
"icon": "💼",
|
|
121
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"2\" y=\"7\" width=\"20\" height=\"14\" rx=\"2\" ry=\"2\"/><path d=\"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\"/></svg>",
|
|
122
|
+
"description": "企业微信工作台与机器人:企微 Bot 双工对话(智能 Markdown 分块 / 多轮会话隔离)/ 群机器人 Webhook 卡片推送 / 自建应用消息 / AI wecom 工具(密钥加密存储,零外部依赖)。",
|
|
123
|
+
"descriptionEn": "WeCom workspace & Bot: WeCom Bot duplex chat (structure-aware Markdown chunks, isolated multi-turn sessions), group bot Webhook push, internal app messages, and AI wecom tool.",
|
|
124
|
+
"source": "xing-shuyin/pi-web-ui/plugins/wecom",
|
|
125
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/wecom"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "discord",
|
|
129
|
+
"name": "Discord",
|
|
130
|
+
"nameEn": "Discord",
|
|
131
|
+
"icon": "🎮",
|
|
132
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M18 6h0a14.5 14.5 0 0 0-4-1.5 9.6 9.6 0 0 0-.5 1.5 13.8 13.8 0 0 0-3 0 9.6 9.6 0 0 0-.5-1.5A14.5 14.5 0 0 0 6 6C3.5 10 3 14 3.5 18a15.8 15.8 0 0 0 5 2.5 11.2 11.2 0 0 0 1-1.7 9.8 9.8 0 0 1-1.6-.8l.4-.3a11.5 11.5 0 0 0 7.4 0l.4.3a9.8 9.8 0 0 1-1.6.8 11.2 11.2 0 0 0 1 1.7 15.8 15.8 0 0 0 5-2.5c.5-4 0-8-2.5-12z\"/><circle cx=\"9\" cy=\"12\" r=\"1\"/><circle cx=\"15\" cy=\"12\" r=\"1\"/></svg>",
|
|
133
|
+
"description": "Discord 机器人:官方 Gateway 出站 WebSocket 双工长连接(零公网 IP / 智能 Markdown 分块 / 多轮会话隔离)/ 用户白名单准入 / AI discord 工具(密钥加密存储,零外部依赖)。",
|
|
134
|
+
"descriptionEn": "Discord Bot: official Gateway outbound WebSocket duplex chat (zero public IP, structure-aware Markdown chunks, isolated multi-turn sessions), access control whitelist, and AI discord tool.",
|
|
135
|
+
"source": "xing-shuyin/pi-web-ui/plugins/discord",
|
|
136
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/discord"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "whatsapp",
|
|
140
|
+
"name": "WhatsApp",
|
|
141
|
+
"nameEn": "WhatsApp",
|
|
142
|
+
"icon": "🟢",
|
|
143
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z\"/></svg>",
|
|
144
|
+
"description": "WhatsApp 机器人与工作台:WhatsApp Cloud API 与双工对话(智能 Markdown 分块 / 多轮会话隔离)/ 用户白名单准入 / AI whatsapp 工具(密钥加密存储,零外部依赖)。",
|
|
145
|
+
"descriptionEn": "WhatsApp workspace & Bot: WhatsApp Cloud API & duplex chat (structure-aware Markdown chunks, isolated multi-turn sessions), access control whitelist, and AI whatsapp tool.",
|
|
146
|
+
"source": "xing-shuyin/pi-web-ui/plugins/whatsapp",
|
|
147
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/whatsapp"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "slack",
|
|
151
|
+
"name": "Slack",
|
|
152
|
+
"nameEn": "Slack",
|
|
153
|
+
"icon": "💬",
|
|
154
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"2\" y=\"2\" width=\"20\" height=\"20\" rx=\"5\"/><path d=\"M8 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm0 0v4a2 2 0 1 1-4 0v-4zm4-4a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0 0h4a2 2 0 1 1 0-4h-4zm4 4a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm0 0v-4a2 2 0 1 1 4 0v4zm-4 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm0 0h-4a2 2 0 1 1 0 4h4z\"/></svg>",
|
|
155
|
+
"description": "Slack 机器人:官方 Socket Mode 出站 WebSocket 双工长连接(零公网 IP / 智能 Markdown 分块 / 多轮会话隔离)/ 用户白名单准入 / AI slack 工具(密钥加密存储,零外部依赖)。",
|
|
156
|
+
"descriptionEn": "Slack Bot: official Socket Mode outbound WebSocket duplex chat (zero public IP, structure-aware Markdown chunks, isolated multi-turn sessions), access control whitelist, and AI slack tool.",
|
|
157
|
+
"source": "xing-shuyin/pi-web-ui/plugins/slack",
|
|
158
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/slack"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "qq",
|
|
162
|
+
"name": "QQ",
|
|
163
|
+
"nameEn": "QQ",
|
|
164
|
+
"icon": "🐧",
|
|
165
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 2a8 8 0 0 0-8 8c0 3 1.5 5 2 7-1 .5-2 1.5-2 3h16c0-1.5-1-2.5-2-3 .5-2 2-4 2-7a8 8 0 0 0-8-8z\"/><circle cx=\"9\" cy=\"9\" r=\"1\"/><circle cx=\"15\" cy=\"9\" r=\"1\"/><path d=\"M10 13h4\"/></svg>",
|
|
166
|
+
"description": "QQ 机器人:腾讯官方开放平台 QQBot 出站 WebSocket 双工长连接(零公网 IP / 智能 Markdown 分块 / 多轮会话隔离)/ 用户白名单准入 / AI qq 工具(密钥加密存储,零外部依赖)。",
|
|
167
|
+
"descriptionEn": "QQ Bot: official Tencent QQBot outbound WebSocket duplex chat (zero public IP, structure-aware Markdown chunks, isolated multi-turn sessions), access control whitelist, and AI qq tool.",
|
|
168
|
+
"source": "xing-shuyin/pi-web-ui/plugins/qq",
|
|
169
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/qq"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "imessage",
|
|
173
|
+
"name": "iMessage",
|
|
174
|
+
"nameEn": "iMessage",
|
|
175
|
+
"icon": "💬",
|
|
176
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/></svg>",
|
|
177
|
+
"description": "iMessage 机器人与工作台:Apple macOS 原生 iMessage 通道(零公网 IP / 苹果生态随身触达 / 多轮会话隔离)/ 用户白名单准入 / AI imessage 工具。",
|
|
178
|
+
"descriptionEn": "iMessage workspace & Bot: Apple macOS native iMessage bridge (zero public IP, Apple ecosystem companion, isolated multi-turn sessions), access control whitelist, and AI imessage tool.",
|
|
179
|
+
"source": "xing-shuyin/pi-web-ui/plugins/imessage",
|
|
180
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/imessage"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "matrix",
|
|
184
|
+
"name": "Matrix",
|
|
185
|
+
"nameEn": "Matrix",
|
|
186
|
+
"icon": "🔮",
|
|
187
|
+
"iconSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 4h3v16H4V4zm13 0h3v16h-3V4z\"/><rect x=\"8.5\" y=\"7\" width=\"7\" height=\"10\" rx=\"1\"/></svg>",
|
|
188
|
+
"description": "Matrix 机器人与工作台 (实验功能):开源去中心化通信协议 Matrix 出站长轮询双工对话(零公网 IP / 智能 Markdown 分块 / 多轮会话隔离)/ 用户白名单准入 / AI matrix 工具。",
|
|
189
|
+
"descriptionEn": "Matrix workspace & Bot (experimental): decentralized Matrix protocol outbound sync duplex chat (zero public IP, structure-aware Markdown chunks, isolated multi-turn sessions), access control whitelist, and AI matrix tool.",
|
|
190
|
+
"source": "xing-shuyin/pi-web-ui/plugins/matrix",
|
|
191
|
+
"homepage": "https://github.com/xing-shuyin/pi-web-ui/tree/main/plugins/matrix"
|
|
192
|
+
},
|
|
83
193
|
{
|
|
84
194
|
"id": "voice-input",
|
|
85
195
|
"name": "语音输入",
|