- Remove @executor/plugin-onepassword dependency and UI integration from cloud app - Guard against Config.all({}) crash in createEnv when shape has no keys - Add .tanstack/ to gitignore
Unified · Split
| @@ -48,4 +48,5 @@ apps/desktop/resources/ · 47 unmodified lines | ||
| 48 | 48 | .pglite |
| 49 | 49 | .claude/ |
| 50 | 50 | .nitro/ |
| 51 | −.output/ | |
| 51 | +.output/ | |
| 52 | +.tanstack/ | |
| @@ -13,7 +13,6 @@ · 12 unmodified lines | ||
| 13 | 13 | "@executor/plugin-google-discovery": "workspace:*", |
| 14 | 14 | "@executor/plugin-graphql": "workspace:*", |
| 15 | 15 | "@executor/plugin-mcp": "workspace:*", |
| 16 | − "@executor/plugin-onepassword": "workspace:*", | |
| 17 | 16 | "@executor/plugin-openapi": "workspace:*", |
| 18 | 17 | "@executor/react": "workspace:*", |
| 19 | 18 | "@executor/sdk": "workspace:*", |
| @@ -1,9 +1,6 @@ | ||
| 1 | 1 | import { createFileRoute } from "@tanstack/react-router"; |
| 2 | 2 | import { SecretsPage } from "@executor/react/pages/secrets"; |
| 3 | −import { onePasswordSecretProviderPlugin } from "@executor/plugin-onepassword/react"; | |
| 4 | − | |
| 5 | −const secretProviderPlugins = [onePasswordSecretProviderPlugin]; | |
| 6 | 3 | |
| 7 | 4 | export const Route = createFileRoute("/secrets")({ |
| 8 | − component: () => <SecretsPage secretProviderPlugins={secretProviderPlugins} />, | |
| 5 | + component: () => <SecretsPage secretProviderPlugins={[]} />, | |
| 9 | 6 | }); |
| @@ -271,9 +271,13 @@ export function createEnv< · 270 unmodified lines | ||
| 271 | 271 | |
| 272 | 272 | const isServer = opts.isServer ?? (!("window" in globalThis) || "Deno" in globalThis); |
| 273 | 273 | |
| 274 | + const hasKeys = Object.keys(normalizedShape).length > 0; | |
| 275 | + | |
| 274 | 276 | const finalConfig = |
| 275 | 277 | opts.createFinalConfig?.(normalizedShape, isServer) ?? |
| 276 | − (Config.all(normalizedShape) as unknown as TFinalConfig); | |
| 278 | + (hasKeys | |
| 279 | + ? (Config.all(normalizedShape) as unknown as TFinalConfig) | |
| 280 | + : (Config.succeed({}) as unknown as TFinalConfig)); | |
| 277 | 281 | |
| 278 | 282 | const parsed = Effect.runSync( |
| 279 | 283 | Effect.withConfigProvider(ConfigProvider.fromMap(toRuntimeMap(normalizedRuntimeEnv)))( |