@yeaft/webchat-agent 1.0.167 → 1.0.168

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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'];
120
+ const capabilities = ['background_tasks', 'file_editor', 'ping_session', 'plaintext-ok', 'work_center'];
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "1.0.167",
3
+ "version": "1.0.168",
4
4
  "description": "Remote worker agent for Yeaft Web Code Agent — connects the native Yeaft engine, CLI providers, and workbench tools",
5
5
  "main": "index.js",
6
6
  "type": "module",