History

Rename the integration entity from 'sources' to 'integrations' (#1370)

Completes the v2 naming fold: config key, SDK types, plugin contract fields, sandbox tool paths, CLI subcommand, UI copy, docs, and e2e selectors now say integration. v1 migration readers keep the old names they read from real data; the v1 sourceUrl field maps to specUrl at the migration boundary.

Rhys Sullivan committed 4 months ago

Commit 77c7cbc1 parent 55a2463151 files · +659 −627Browse files

Showing the changes to scripts (1 of 151 files). Show all

Unified · Split

scripts/agent-config-smoke.ts+5−5
@@ -268,10 +268,10 @@ const runSmoke = async (oauth: OAuthTestServerShape, graph: GraphqlTestServerSha · 267 unmodified lines
268 `OAuth connection was not listed: ${JSON.stringify(connections)}`,268 `OAuth connection was not listed: ${JSON.stringify(connections)}`,
269 );269 );
270 270
271 console.log("[agent-config-smoke] add OAuth-backed GraphQL source through approval flow");271 console.log("[agent-config-smoke] add OAuth-backed GraphQL integration through approval flow");
272 const addSource = await approvePausedCall(272 const addIntegration = await approvePausedCall(
273 ctx,273 ctx,
274 await callTool(ctx, ["executor", "graphql", "addSource"], {274 await callTool(ctx, ["executor", "graphql", "addIntegration"], {
275 scope: ctx.scopeDir,275 scope: ctx.scopeDir,
276 endpoint: graph.endpoint,276 endpoint: graph.endpoint,
277 name: "Agent Smoke GraphQL",277 name: "Agent Smoke GraphQL",
@@ -297,8 +297,8 @@ const runSmoke = async (oauth: OAuthTestServerShape, graph: GraphqlTestServerSha · 19 unmodified lines
297 },297 },
298 }),298 }),
299 );299 );
300 const added = parseJsonOutput<{ readonly ok: boolean }>(addSource);300 const added = parseJsonOutput<{ readonly ok: boolean }>(addIntegration);
301 assert(added.ok === true, `GraphQL addSource failed: ${addSource.text}`);301 assert(added.ok === true, `GraphQL addIntegration failed: ${addIntegration.text}`);
302 302
303 console.log("[agent-config-smoke] invoke configured OAuth-backed tool");303 console.log("[agent-config-smoke] invoke configured OAuth-backed tool");
304 const invoked = parseJsonOutput<{ readonly ok: boolean; readonly data?: unknown }>(304 const invoked = parseJsonOutput<{ readonly ok: boolean; readonly data?: unknown }>(