@yeaft/webchat-agent 1.0.569 → 1.0.571
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 +2 -1
- package/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +33 -25
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
- package/yeaft/work-center/attachment-platform.js +16 -0
- package/yeaft/work-center/attachments.js +267 -78
package/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
import { loadConfig as loadYeaftConfig } from './yeaft/config.js';
|
|
27
27
|
import { initYeaftDir } from './yeaft/init.js';
|
|
28
28
|
import { isWorkCenterEnabled, startWorkCenterFeature } from './yeaft/work-center/feature.js';
|
|
29
|
+
import { supportsWorkItemAttachments } from './yeaft/work-center/attachment-platform.js';
|
|
29
30
|
import { updateBrowserRuntimeSettings } from './yeaft/config-api.js';
|
|
30
31
|
import { bootBrowserRuntime, shutdownBrowserRuntime } from './browser-runtime/index.js';
|
|
31
32
|
import {
|
|
@@ -181,7 +182,7 @@ async function detectCapabilities() {
|
|
|
181
182
|
capabilities.push(getAgentUpgradeCapability());
|
|
182
183
|
if (ctx.CONFIG?.workCenterEnabled === true) {
|
|
183
184
|
capabilities.push('work_center', 'work_center_message_v2', 'work_center_workbench');
|
|
184
|
-
if (
|
|
185
|
+
if (supportsWorkItemAttachments()) capabilities.push('work_item_attachments');
|
|
185
186
|
}
|
|
186
187
|
const pty = await loadNodePty();
|
|
187
188
|
if (pty) capabilities.push('terminal');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.571"}
|