@yeaft/webchat-agent 1.0.553 → 1.0.555
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/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +233 -151
- 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/projection.js +8 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -57,6 +57,9 @@ function projectCurrentActionSummary(action, projectedAction = action) {
|
|
|
57
57
|
generation: actionGeneration(projectedAction.generation),
|
|
58
58
|
assignmentMode: projectedAction.assignmentPolicy?.mode || (projectedAction.requiredRole ? 'fixed' : null),
|
|
59
59
|
status: projectedAction.status,
|
|
60
|
+
sequence: projectedAction.sequence,
|
|
61
|
+
createdAt: projectedAction.createdAt,
|
|
62
|
+
updatedAt: projectedAction.updatedAt,
|
|
60
63
|
objective: truncateUtf8(action?.brief?.objective, 1_000) || null,
|
|
61
64
|
...(projectedAction.assignedVp ? { assignedVp: projectedAction.assignedVp } : {}),
|
|
62
65
|
};
|
|
@@ -617,6 +620,8 @@ function projectAction(action, runs, events, includeBody = true) {
|
|
|
617
620
|
return {
|
|
618
621
|
id: action.id,
|
|
619
622
|
sequence: action.sequence,
|
|
623
|
+
createdAt: count(action.createdAt),
|
|
624
|
+
updatedAt: count(action.updatedAt),
|
|
620
625
|
type: action.type,
|
|
621
626
|
stageId: action.stageId || action.type,
|
|
622
627
|
assignmentPolicy: alreadyProjected
|
|
@@ -699,6 +704,9 @@ function projectActionStats(detail, liveActionId = bodyActionId(detail)) {
|
|
|
699
704
|
id: projected.id,
|
|
700
705
|
generation: actionGeneration(projected.generation),
|
|
701
706
|
status: projected.status,
|
|
707
|
+
sequence: projected.sequence,
|
|
708
|
+
createdAt: projected.createdAt,
|
|
709
|
+
updatedAt: projected.updatedAt,
|
|
702
710
|
assignedVp: projected.assignedVp,
|
|
703
711
|
contentSummary: projected.contentSummary,
|
|
704
712
|
executionStats: projected.executionStats,
|