feat(integrations): add Intelligence threads to agent-spec

This commit is contained in:
Martha Schumann
2026-06-03 15:33:25 -07:00
parent 53af72b8e9
commit 4a2fdb611b
13 changed files with 20464 additions and 35 deletions
@@ -5,7 +5,11 @@ import * as path from "node:path";
const repoRoot = path.resolve(__dirname, "..", "..");
const integrationsDir = path.join(repoRoot, "examples", "integrations");
const migratedIntegrations = ["crewai-flows", "llamaindex"] as const;
const migratedIntegrations = [
"crewai-flows",
"llamaindex",
"agent-spec",
] as const;
function readIntegrationFile(
integration: string,
@@ -48,8 +52,9 @@ describe("batch-2 Intelligence integration migration", () => {
it(`${integration} forces REST transport for thread routes`, () => {
const layout = readIntegrationFile(integration, "src/app/layout.tsx");
const page = readIntegrationFile(integration, "src/app/page.tsx");
expect(layout).toContain("useSingleEndpoint={false}");
expect(`${layout}\n${page}`).toContain("useSingleEndpoint={false}");
});
it(`${integration} wires the threads drawer into the chat thread context`, () => {