feat: publish shared task and reply activities through MCP

This commit is contained in:
2026-10-07 21:38:33 +09:00
parent 48ef396ec1
commit 794859e4a4
53 changed files with 4076 additions and 453 deletions
+14
View File
@@ -0,0 +1,14 @@
import { renderToStaticMarkup } from "react-dom/server";
import { expect, it } from "vitest";
import { LoginPage, SetupPage } from "./auth-page";
it.each([LoginPage, SetupPage])(
"keeps credentials out of native GET submissions before hydration (%#)",
(Page) => {
const container = document.createElement("div");
container.innerHTML = renderToStaticMarkup(<Page />);
expect(container.querySelector("form")).toHaveAttribute("method", "post");
expect(container.querySelector('button[type="submit"]')).toBeDisabled();
for (const input of container.querySelectorAll("input")) expect(input).toBeDisabled();
},
);