@hiver/connector-agent 4.22.2-slackm2-beta.1 → 4.22.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA8D,MAAM,OAAO,CAAC;AAqCvF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;6EAEyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;mDAC+C;IAC/C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAunBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAIpE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA8D,MAAM,OAAO,CAAC;AAqCvF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;6EAEyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;mDAC+C;IAC/C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AA8nBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAIpE,CAAC"}
@@ -1,3 +1,18 @@
1
- import { SlackMessage } from '../types/wire';
1
+ import { SlackMessage, SlackThreadGroup } from '../types/wire';
2
2
  export declare const collapseJoinNotices: (messages: SlackMessage[]) => SlackMessage[];
3
+ /**
4
+ * The same fix for CHANNEL mode, where joins arrive as top-level thread roots
5
+ * rather than as replies.
6
+ *
7
+ * A `channel_join` has no `thread_ts`, so the backend's channel grouping makes
8
+ * every join its own single-message thread group. The channel list renders
9
+ * those groups, not a flat message list, so `collapseJoinNotices` above never
10
+ * saw them and channel links kept showing one line per member.
11
+ *
12
+ * Collapsing runs on the ROOTS and reuses the message-level rule verbatim, so
13
+ * the two views cannot drift apart on adjacency, copy, or the deleted-notice
14
+ * guard. Untouched roots come back by identity, so their groups (and the reply
15
+ * counts hanging off them) are passed through unchanged.
16
+ */
17
+ export declare const collapseJoinThreads: (threads: SlackThreadGroup[]) => SlackThreadGroup[];
3
18
  //# sourceMappingURL=join-notices.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"join-notices.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/utils/join-notices.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AA6BhE,eAAO,MAAM,mBAAmB,aAAc,YAAY,EAAE,KAAG,YAAY,EAgC1E,CAAC"}
1
+ {"version":3,"file":"join-notices.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/utils/join-notices.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AA6BlF,eAAO,MAAM,mBAAmB,aAAc,YAAY,EAAE,KAAG,YAAY,EAgC1E,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,YAAa,gBAAgB,EAAE,KAAG,gBAAgB,EAMjF,CAAC"}