import assert from "node:assert/strict";
import { describe, it } from "node:test";
import { StatusReporter } from "./status-reporter.js";
describe("StatusReporter tool action mapping", () => {
    it("reports poll_message as a normal aws-mcp tool call", () => {
        const updates = [];
        const reporter = new StatusReporter({
            agentId: "agent-self",
            sendStatusUpdate: (update) => updates.push(update),
        });
        reporter.reportToolUse("poll_message", {});
        assert.equal(updates.length, 1);
        assert.equal(updates[0]?.status, "tool_using");
        assert.equal(updates[0]?.actionType, "mcp");
        assert.equal(updates[0]?.actionLabel, "Calling MCP");
        assert.equal(updates[0]?.actionDetail, "aws-mcp/poll_message");
    });
});
//# sourceMappingURL=status-reporter.test.js.map