@yeaft/webchat-agent 0.1.291 → 0.1.292
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -90,7 +90,7 @@ loadMcpServers();
|
|
|
90
90
|
|
|
91
91
|
// Agent capabilities(启动时自动检测)
|
|
92
92
|
async function detectCapabilities() {
|
|
93
|
-
const capabilities = ['background_tasks', 'file_editor'];
|
|
93
|
+
const capabilities = ['background_tasks', 'file_editor', 'ping_session'];
|
|
94
94
|
const pty = await loadNodePty();
|
|
95
95
|
if (pty) capabilities.push('terminal');
|
|
96
96
|
|