fix(agents): refresh runtime tool and subagent coverage

This commit is contained in:
Peter Steinberger
2026-04-04 20:05:26 +01:00
parent 496df07804
commit ccd45bd9f0
47 changed files with 524 additions and 393 deletions

View File

@@ -54,7 +54,7 @@ describe("normalizeAgentCommandReplyPayloads", () => {
setActivePluginRegistry(emptyRegistry);
});
it("compiles Slack directives for direct agent deliveries when interactive replies are enabled", () => {
it("keeps Slack directives in text for direct agent deliveries", () => {
const normalized = normalizeAgentCommandReplyPayloads({
cfg: {
channels: {
@@ -72,19 +72,7 @@ describe("normalizeAgentCommandReplyPayloads", () => {
expect(normalized).toMatchObject([
{
text: "Choose",
interactive: {
blocks: [
{
type: "text",
text: "Choose",
},
{
type: "buttons",
buttons: [{ label: "Retry", value: "retry" }],
},
],
},
text: "Choose [[slack_buttons: Retry:retry]]",
},
]);
});