fix(runtime): add gateway to InvocationSource #1587 sets runtimeSource to gateway for cloud activation, but the INVOCATION_SOURCES union never included it, so typecheck and unit build of packages/cli failed after merge with main.
diff --git a/packages/runtime/src/invocation-context.ts b/packages/runtime/src/invocation-context.ts index bd2689e..096bc29 100644 --- a/packages/runtime/src/invocation-context.ts +++ b/packages/runtime/src/invocation-context.ts
@@ -25,11 +25,11 @@ // ============================================================================ /** - * Where the invocation entered the runtime. Desktop, bot, and gateway should - * eventually share the same runner; `test` covers in-process fake-service - * invocations like the ones in this node's test suite. + * Where the invocation entered the runtime. Desktop, bot, and gateway share + * the same runner; `test` covers in-process fake-service invocations like the + * ones in this package's test suite. */ -export const INVOCATION_SOURCES = ['desktop', 'bot', 'test'] as const; +export const INVOCATION_SOURCES = ['desktop', 'bot', 'gateway', 'test'] as const; export type InvocationSource = (typeof INVOCATION_SOURCES)[number]; export function isInvocationSource(value: unknown): value is InvocationSource {