@webex/plugin-meetings 3.12.0-llmrefactor.6 → 3.12.0-llmrefactor.7
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/dist/aiEnableRequest/index.js +1 -1
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/hashTree/hashTreeParser.js +37 -29
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +4 -0
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/types.js +2 -1
- package/dist/locus-info/types.js.map +1 -1
- package/dist/meeting/index.js +13 -2
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/voicea-meeting.js +2 -1
- package/dist/meeting/voicea-meeting.js.map +1 -1
- package/dist/types/hashTree/hashTreeParser.d.ts +1 -0
- package/dist/types/locus-info/types.d.ts +1 -0
- package/dist/types/meeting/index.d.ts +1 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +1 -1
- package/src/hashTree/hashTreeParser.ts +17 -3
- package/src/locus-info/index.ts +1 -0
- package/src/locus-info/types.ts +1 -0
- package/src/meeting/index.ts +11 -3
- package/src/meeting/voicea-meeting.ts +1 -1
- package/test/unit/spec/hashTree/hashTreeParser.ts +64 -1
- package/test/unit/spec/locus-info/index.js +32 -0
- package/test/unit/spec/meeting/index.js +72 -0
- package/test/unit/spec/meeting/voicea-meeting.ts +85 -1
|
@@ -191,7 +191,7 @@ var AIEnableRequest = _webexCore.WebexPlugin.extend({
|
|
|
191
191
|
method: _constants.HTTP_VERBS.PUT
|
|
192
192
|
});
|
|
193
193
|
},
|
|
194
|
-
version: "3.12.0-llmrefactor.
|
|
194
|
+
version: "3.12.0-llmrefactor.7"
|
|
195
195
|
});
|
|
196
196
|
var _default = exports.default = AIEnableRequest;
|
|
197
197
|
//# sourceMappingURL=index.js.map
|
|
@@ -214,7 +214,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
|
|
|
214
214
|
sessionId: this.sessionId
|
|
215
215
|
});
|
|
216
216
|
},
|
|
217
|
-
version: "3.12.0-llmrefactor.
|
|
217
|
+
version: "3.12.0-llmrefactor.7"
|
|
218
218
|
});
|
|
219
219
|
var _default = exports.default = Breakout;
|
|
220
220
|
//# sourceMappingURL=breakout.js.map
|
package/dist/breakouts/index.js
CHANGED
|
@@ -1230,7 +1230,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
|
1230
1230
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
|
1231
1231
|
}
|
|
1232
1232
|
},
|
|
1233
|
-
version: "3.12.0-llmrefactor.
|
|
1233
|
+
version: "3.12.0-llmrefactor.7"
|
|
1234
1234
|
});
|
|
1235
1235
|
var _default = exports.default = Breakouts;
|
|
1236
1236
|
//# sourceMappingURL=index.js.map
|
|
@@ -1279,11 +1279,11 @@ var HashTreeParser = /*#__PURE__*/function () {
|
|
|
1279
1279
|
// the locus state elements in the /sync HTTP response body, but per design the CA metric is
|
|
1280
1280
|
// emitted only from the LLM message path, so no completion happens here.
|
|
1281
1281
|
var updatedObjects = this.parseMessage(message, debugText);
|
|
1282
|
-
this.resetHeartbeatWatchdogs(message.dataSets);
|
|
1283
1282
|
this.callLocusInfoUpdateCallback({
|
|
1284
1283
|
updateType: LocusInfoUpdateType.OBJECTS_UPDATED,
|
|
1285
1284
|
updatedObjects: updatedObjects
|
|
1286
1285
|
});
|
|
1286
|
+
this.resetHeartbeatWatchdogs(message.dataSets);
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
|
|
@@ -2003,36 +2003,44 @@ var HashTreeParser = /*#__PURE__*/function () {
|
|
|
2003
2003
|
_step10;
|
|
2004
2004
|
try {
|
|
2005
2005
|
var _loop2 = function _loop2() {
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2006
|
+
var _dataSet$heartbeatInt;
|
|
2007
|
+
var receivedDataSet = _step10.value;
|
|
2008
|
+
var dataSet = _this11.dataSets[receivedDataSet.name];
|
|
2009
|
+
if (dataSet.heartbeatWatchdogTimer) {
|
|
2010
|
+
clearTimeout(dataSet.heartbeatWatchdogTimer);
|
|
2011
|
+
dataSet.heartbeatWatchdogTimer = undefined;
|
|
2012
|
+
}
|
|
2013
2013
|
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2014
|
+
// dataset-level heartbeatIntervalMs takes priority; fall back to top-level common value
|
|
2015
|
+
var heartbeatIntervalMs = (_dataSet$heartbeatInt = dataSet === null || dataSet === void 0 ? void 0 : dataSet.heartbeatIntervalMs) !== null && _dataSet$heartbeatInt !== void 0 ? _dataSet$heartbeatInt : _this11.topLevelHeartbeatIntervalMs;
|
|
2016
|
+
if (!(dataSet !== null && dataSet !== void 0 && dataSet.hashTree) || !_this11.isVisibleDataSet(dataSet.name) || !heartbeatIntervalMs) {
|
|
2017
|
+
// eslint-disable-next-line no-continue
|
|
2018
|
+
return 0; // continue
|
|
2019
|
+
}
|
|
2020
|
+
if (_constants3.LLM_DATASET_NAMES.includes(dataSet.name) && _this11.callbacks.isLlmExpected && !_this11.callbacks.isLlmExpected()) {
|
|
2021
|
+
_loggerProxy.default.logger.info("HashTreeParser#resetHeartbeatWatchdogs --> ".concat(_this11.debugId, " skipping heartbeat watchdog timer for data set \"").concat(dataSet.name, "\" because LLM is disconnected"));
|
|
2022
|
+
|
|
2023
|
+
// eslint-disable-next-line no-continue
|
|
2024
|
+
return 0; // continue
|
|
2025
|
+
}
|
|
2026
|
+
var backoffTime = _this11.getWeightedBackoffTime(dataSet.backoff);
|
|
2027
|
+
var delay = heartbeatIntervalMs + backoffTime;
|
|
2028
|
+
dataSet.heartbeatWatchdogTimer = setTimeout(function () {
|
|
2029
|
+
dataSet.heartbeatWatchdogTimer = undefined;
|
|
2030
|
+
_loggerProxy.default.logger.warn("HashTreeParser#resetHeartbeatWatchdogs --> ".concat(_this11.debugId, " Heartbeat watchdog fired for data set \"").concat(dataSet.name, "\" - no heartbeat received within expected interval(heartbeatIntervalMs=").concat(heartbeatIntervalMs, ", backoffTime=").concat(backoffTime, "), initiating sync"));
|
|
2031
|
+
_metrics.default.sendBehavioralMetric(_constants.default.HASH_TREE_HEARTBEAT_WATCHDOG_EXPIRED, {
|
|
2032
|
+
debugId: _this11.debugId,
|
|
2033
|
+
dataSetName: dataSet.name
|
|
2034
|
+
});
|
|
2035
|
+
_this11.saveSyncBackoffLatency(dataSet.name, backoffTime);
|
|
2036
|
+
_this11.enqueueSyncForDataset(dataSet.name, "heartbeat watchdog expired");
|
|
2037
|
+
_this11.resetHeartbeatWatchdogs([dataSet]);
|
|
2038
|
+
}, delay);
|
|
2039
|
+
},
|
|
2040
|
+
_ret;
|
|
2034
2041
|
for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
|
|
2035
|
-
|
|
2042
|
+
_ret = _loop2();
|
|
2043
|
+
if (_ret === 0) continue;
|
|
2036
2044
|
}
|
|
2037
2045
|
} catch (err) {
|
|
2038
2046
|
_iterator10.e(err);
|