From 2695fbee1d41998c3edc203b67cb99a9c811477b Mon Sep 17 00:00:00 2001 From: Sim Pi Agent Date: Tue, 23 Jun 2026 01:41:20 +0000 Subject: [PATCH] Pi: Add a comment to any file in the executor directory --- apps/sim/executor/constants.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/sim/executor/constants.ts b/apps/sim/executor/constants.ts index b6fd8a651fd..28ba7b6d8a1 100644 --- a/apps/sim/executor/constants.ts +++ b/apps/sim/executor/constants.ts @@ -8,6 +8,9 @@ import type { LoopType, ParallelType } from '@/lib/workflows/types' export const TRIGGER_INTERNAL_KEYS = ['webhook', 'workflowId'] as const export type TriggerInternalKey = (typeof TRIGGER_INTERNAL_KEYS)[number] +/** + * Checks whether a trigger output key is reserved for executor-internal metadata. + */ export function isTriggerInternalKey(key: string): key is TriggerInternalKey { return TRIGGER_INTERNAL_KEYS.includes(key as TriggerInternalKey) }