@overmap-ai/core 1.0.53-add-agent-conversations.3 → 1.0.53-add-agent-conversations.5

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.
@@ -954,6 +954,7 @@ var __publicField = (obj, key, value) => {
954
954
  return subString.slice(0, subString.lastIndexOf(" ")) + "…";
955
955
  }
956
956
  const restructureCreateSelectorWithArgs = (selector) => (args) => (state) => selector(state, args);
957
+ const createSelectorWithArgs = restructureCreateSelectorWithArgs;
957
958
  function onlyUniqueOfflineIds(value, index2, self2) {
958
959
  return self2.findIndex((v) => v.offline_id === value.offline_id) === index2;
959
960
  }
@@ -4472,8 +4473,9 @@ var __publicField = (obj, key, value) => {
4472
4473
  });
4473
4474
  const { setConversations, addConversation, setConversation } = agentsSlice.actions;
4474
4475
  const selectConversationMapping = (state) => state.agentsReducer.conversations;
4475
- const selectConversations = restructureCreateSelectorWithArgs(
4476
- toolkit.createSelector([selectConversationMapping], (conversationMapping) => Object.values(conversationMapping))
4476
+ const selectConversations = toolkit.createSelector(
4477
+ [selectConversationMapping],
4478
+ (conversationMapping) => Object.values(conversationMapping)
4477
4479
  );
4478
4480
  const selectConversation = restructureCreateSelectorWithArgs(
4479
4481
  toolkit.createSelector(
@@ -8536,7 +8538,7 @@ var __publicField = (obj, key, value) => {
8536
8538
  const result = await this.enqueueRequest({
8537
8539
  description: "Get agent conversation history",
8538
8540
  method: HttpMethod.GET,
8539
- url: `/projects/${activeProject}/agents-conversations/`,
8541
+ url: `/projects/${activeProject}/agent-conversations/`,
8540
8542
  blockers: ["agent-conversations"],
8541
8543
  blocks: ["agent-conversations"]
8542
8544
  });
@@ -16722,6 +16724,7 @@ var __publicField = (obj, key, value) => {
16722
16724
  exports2.coordinatesToUrlText = coordinatesToUrlText;
16723
16725
  exports2.createOfflineAction = createOfflineAction;
16724
16726
  exports2.createPointMarker = createPointMarker;
16727
+ exports2.createSelectorWithArgs = createSelectorWithArgs;
16725
16728
  exports2.defaultBadgeColor = defaultBadgeColor;
16726
16729
  exports2.defaultStore = defaultStore;
16727
16730
  exports2.deleteComponentType = deleteComponentType;