17 lines · 946 B · TypeScript
RawDownload
// Single shared instantiation of the cloud plugin list.//// `executor.config.ts`'s `plugins()` factory is safe to call at// module-eval time without runtime credentials: the heavy per-request// dependencies (WorkOS Vault credentials, vault HTTP client) are only// consumed when the plugin's extension is actually constructed inside// `createScopedExecutor`. Both the API composition (`protected-layers.ts`)// and the per-request middleware (`protected.ts` + the test harness)// derive their typed views — `composePluginApi(cloudPlugins)`,// `composePluginHandlerLayer(cloudPlugins)`,// `providePluginExtensions(cloudPlugins)`, `PluginExtensionServices<typeof// cloudPlugins>` — from this one tuple, so adding/removing a plugin is// still a single `executor.config.ts` edit.import executorConfig from "../../executor.config"; export const cloudPlugins = executorConfig.plugins();export type CloudPlugins = typeof cloudPlugins;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t