@hivegpt/hiveai-angular 0.0.561 → 0.0.563

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.
@@ -2709,8 +2709,10 @@
2709
2709
  var userTimezone = this.timezone && String(this.timezone).trim()
2710
2710
  ? String(this.timezone).trim()
2711
2711
  : undefined;
2712
- return sessions.map(function (s) {
2712
+ return sessions.map(function (raw) {
2713
2713
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
2714
+ // get_my_agenda returns wrapper { id, schedule, isSession }; normalize to inner schedule object
2715
+ var s = raw && raw.schedule ? raw.schedule : raw;
2714
2716
  // Support both dateTimeRange (string) and actualDateTimeRange (object with start/end)
2715
2717
  var whenRaw = (_b = (_a = s.dateTimeRange) !== null && _a !== void 0 ? _a : s.actualDateTimeRange) !== null && _b !== void 0 ? _b : '';
2716
2718
  var whenFormatted = _this.formatSessionWhen(whenRaw, userTimezone);
@@ -3420,7 +3422,8 @@
3420
3422
  (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_sessions_by_interest' ||
3421
3423
  (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_sessions_by_track' ||
3422
3424
  (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_speaker_sessions' ||
3423
- (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_upcoming_sessions';
3425
+ (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_upcoming_sessions' ||
3426
+ (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_my_agenda';
3424
3427
  if (isSessionTool) {
3425
3428
  var contentStr = (_o = (_m = (_l = serializable === null || serializable === void 0 ? void 0 : serializable.tool_result) === null || _l === void 0 ? void 0 : _l.messages) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.content;
3426
3429
  var answerText = otherFields.answer != null
@@ -3979,7 +3982,8 @@
3979
3982
  toolName === 'get_sessions_by_interest' ||
3980
3983
  toolName === 'get_sessions_by_track' ||
3981
3984
  toolName === 'get_speaker_sessions' ||
3982
- toolName === 'get_upcoming_sessions';
3985
+ toolName === 'get_upcoming_sessions' ||
3986
+ toolName === 'get_my_agenda';
3983
3987
  if (isSessionTool &&
3984
3988
  ((_e = (_d = (_c = (_b = chat.toolresults) === null || _b === void 0 ? void 0 : _b.tool_result) === null || _c === void 0 ? void 0 : _c.messages) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.content)) {
3985
3989
  var contentStr = chat.toolresults.tool_result.messages[0].content;