Skip to content

Commit ee0817b

Browse files
committed
refactor(reply): remove obsolete threading re-export
1 parent 8bde035 commit ee0817b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/auto-reply/reply/followup-delivery.channel.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ describe("follow-up delivery channel boundary", () => {
170170
slack.threading = {
171171
resolveReplyTransport: ({ threadId, replyToId, replyToIsExplicit }) => ({
172172
threadId: null,
173-
replyToId: replyToIsExplicit ? replyToId : threadId,
173+
replyToId: replyToIsExplicit ? replyToId : threadId == null ? undefined : String(threadId),
174174
}),
175175
};
176176
setActivePluginRegistry(

‎src/auto-reply/reply/reply-payloads.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Re-exports reply payload metadata helpers used by agent delivery code.
22
export {
33
applyReplyTagsToPayload,
4-
applyReplyThreading,
54
formatBtwTextForExternalDelivery,
65
isRenderablePayload,
76
shouldSuppressReasoningPayload,

‎src/auto-reply/reply/reply-plumbing.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from "../../test-utils/channel-plugins.js";
1414
import type { TemplateContext } from "../templating.js";
1515
import { buildThreadingToolContext } from "./agent-runner-utils.js";
16-
import { applyReplyThreading } from "./reply-payloads.js";
16+
import { applyReplyThreading } from "./reply-payloads-base.js";
1717
import { formatRunLabel, resolveSubagentLabel, sortSubagentRuns } from "./subagents-utils.js";
1818

1919
function createSlackThreadingPlugin(): ChannelPlugin {

0 commit comments

Comments
 (0)