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
268268 `OAuth connection was not listed: ${JSON.stringify(connections)}`,
269269 );
270270
271− console.log("[agent-config-smoke] add OAuth-backed GraphQL source through approval flow");
272− const addSource = await approvePausedCall(
271+ console.log("[agent-config-smoke] add OAuth-backed GraphQL integration through approval flow");
272+ const addIntegration = await approvePausedCall(
273273 ctx,
274− await callTool(ctx, ["executor", "graphql", "addSource"], {
274+ await callTool(ctx, ["executor", "graphql", "addIntegration"], {
275275 scope: ctx.scopeDir,
276276 endpoint: graph.endpoint,
277277 name: "Agent Smoke GraphQL",
@@ -297,8 +297,8 @@ const runSmoke = async (oauth: OAuthTestServerShape, graph: GraphqlTestServerSha · 19 unmodified lines
297297 },
298298 }),
299299 );
300− const added = parseJsonOutput<{ readonly ok: boolean }>(addSource);
301− assert(added.ok === true, `GraphQL addSource failed: ${addSource.text}`);
300+ const added = parseJsonOutput<{ readonly ok: boolean }>(addIntegration);
301+ assert(added.ok === true, `GraphQL addIntegration failed: ${addIntegration.text}`);
302302
303303 console.log("[agent-config-smoke] invoke configured OAuth-backed tool");
304304 const invoked = parseJsonOutput<{ readonly ok: boolean; readonly data?: unknown }>(