@impulselab/hepha 0.2.720 → 0.2.722

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/index.js CHANGED
@@ -1942,6 +1942,9 @@ var HOST_TOOL_NAMES = {
1942
1942
  GTM_COPY_ROWS: "gtm_copy_rows",
1943
1943
  GTM_FILL_FROM_PARENT: "gtm_fill_from_parent",
1944
1944
  GTM_EXCLUDE_CRM: "gtm_exclude_crm",
1945
+ GTM_LEMLIST_CAMPAIGNS: "gtm_lemlist_campaigns",
1946
+ GTM_LEMLIST_SEQUENCE: "gtm_lemlist_sequence",
1947
+ GTM_LEMLIST_UPDATE_STEP: "gtm_lemlist_update_step",
1945
1948
  VIDEO_LIST: "video_list",
1946
1949
  VIDEO_CREATE: "video_create",
1947
1950
  VIDEO_READ: "video_read",
@@ -3473,7 +3476,19 @@ var gtmToolActivityDescribers = [
3473
3476
  HOST_TOOL_NAMES.GTM_FILL_FROM_PARENT,
3474
3477
  () => labelOnly("Copied company values")
3475
3478
  ],
3476
- [HOST_TOOL_NAMES.GTM_EXCLUDE_CRM, () => labelOnly("Removed Attio's rows")]
3479
+ [HOST_TOOL_NAMES.GTM_EXCLUDE_CRM, () => labelOnly("Removed Attio's rows")],
3480
+ [
3481
+ HOST_TOOL_NAMES.GTM_LEMLIST_CAMPAIGNS,
3482
+ () => labelOnly("Listed Lemlist campaigns")
3483
+ ],
3484
+ [
3485
+ HOST_TOOL_NAMES.GTM_LEMLIST_SEQUENCE,
3486
+ () => labelOnly("Read a Lemlist campaign")
3487
+ ],
3488
+ [
3489
+ HOST_TOOL_NAMES.GTM_LEMLIST_UPDATE_STEP,
3490
+ () => labelOnly("Rewrote a Lemlist email")
3491
+ ]
3477
3492
  ];
3478
3493
 
3479
3494
  // ../../packages/agents/src/tool-activity/scene/scene-tool-activity-describers.ts
@@ -4801,10 +4816,17 @@ function isFollowStopStatus(status) {
4801
4816
 
4802
4817
  // ../../packages/realtime/src/events/session/shared/session-status-constants.ts
4803
4818
  var SESSION_SANDBOX_CAPACITY_WAIT_REASON = "No Ares machine has room for this sandbox. Waiting for capacity";
4819
+ var SESSION_ARES_OUTAGE_WAIT_REASON = "Ares is not answering. Retrying automatically";
4820
+
4821
+ // ../../packages/realtime/src/events/session/capacity/sandbox-wait-reasons-constants.ts
4822
+ var SANDBOX_WAIT_REASONS = [
4823
+ SESSION_SANDBOX_CAPACITY_WAIT_REASON,
4824
+ SESSION_ARES_OUTAGE_WAIT_REASON
4825
+ ];
4804
4826
 
4805
4827
  // ../../packages/realtime/src/events/session/capacity/is-sandbox-capacity-park.ts
4806
4828
  function isSandboxCapacityPark(input) {
4807
- return input.status === "waiting_human" && input.statusReason === SESSION_SANDBOX_CAPACITY_WAIT_REASON;
4829
+ return input.status === "waiting_human" && SANDBOX_WAIT_REASONS.some((reason) => reason === input.statusReason);
4808
4830
  }
4809
4831
 
4810
4832
  // src/lib/session/is-follow-stop-session.ts