@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.
@@ -964,6 +964,7 @@ function truncate(str, maxLength) {
964
964
  return subString.slice(0, subString.lastIndexOf(" ")) + "…";
965
965
  }
966
966
  const restructureCreateSelectorWithArgs = (selector) => (args) => (state) => selector(state, args);
967
+ const createSelectorWithArgs = restructureCreateSelectorWithArgs;
967
968
  function onlyUniqueOfflineIds(value, index2, self2) {
968
969
  return self2.findIndex((v) => v.offline_id === value.offline_id) === index2;
969
970
  }
@@ -4482,8 +4483,9 @@ const agentsSlice = createSlice({
4482
4483
  });
4483
4484
  const { setConversations, addConversation, setConversation } = agentsSlice.actions;
4484
4485
  const selectConversationMapping = (state) => state.agentsReducer.conversations;
4485
- const selectConversations = restructureCreateSelectorWithArgs(
4486
- createSelector([selectConversationMapping], (conversationMapping) => Object.values(conversationMapping))
4486
+ const selectConversations = createSelector(
4487
+ [selectConversationMapping],
4488
+ (conversationMapping) => Object.values(conversationMapping)
4487
4489
  );
4488
4490
  const selectConversation = restructureCreateSelectorWithArgs(
4489
4491
  createSelector(
@@ -8546,7 +8548,7 @@ class AgentService extends BaseApiService {
8546
8548
  const result = await this.enqueueRequest({
8547
8549
  description: "Get agent conversation history",
8548
8550
  method: HttpMethod.GET,
8549
- url: `/projects/${activeProject}/agents-conversations/`,
8551
+ url: `/projects/${activeProject}/agent-conversations/`,
8550
8552
  blockers: ["agent-conversations"],
8551
8553
  blocks: ["agent-conversations"]
8552
8554
  });
@@ -16733,6 +16735,7 @@ export {
16733
16735
  coordinatesToUrlText,
16734
16736
  createOfflineAction,
16735
16737
  createPointMarker,
16738
+ createSelectorWithArgs,
16736
16739
  defaultBadgeColor,
16737
16740
  defaultStore,
16738
16741
  deleteComponentType,