@yeaft/webchat-agent 1.0.169 → 1.0.170
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
|
@@ -117,7 +117,7 @@ async function detectCapabilities() {
|
|
|
117
117
|
// agent build can speak plaintext WS frames. New servers see this and
|
|
118
118
|
// flip `agent.encryptOutbound = false`, stopping outbound encryption
|
|
119
119
|
// to this peer. Old servers ignore the unknown capability token.
|
|
120
|
-
const capabilities = ['background_tasks', 'file_editor', 'ping_session', 'plaintext-ok', 'work_center'];
|
|
120
|
+
const capabilities = ['background_tasks', 'file_editor', 'ping_session', 'plaintext-ok', 'work_center', 'session_history_search'];
|
|
121
121
|
if (process.platform === 'linux') capabilities.push('work_item_attachments');
|
|
122
122
|
const pty = await loadNodePty();
|
|
123
123
|
if (pty) capabilities.push('terminal');
|
package/package.json
CHANGED