- packages/core/api: HttpApi contract with ToolsApi + SecretsApi groups SDK tagged errors pass through directly with status annotations (ToolNotFoundError→404, PolicyDeniedError→403, etc.) - apps/server: API handler implementation via HttpApiBuilder Exports createApiHandler() for reuse (no baked-in server runtime) Handlers are pure pass-through — no manual error catching - apps/web: Vite + React frontend served on same port as API Vite plugin forwards /v1/*, /docs, /openapi.json to Effect handler effect-atom integration: AtomHttpApi.Tag typed client, query/mutation atoms RegistryProvider + useAtomValue with Result pattern matching - Catalog pins @effect/platform, platform-bun, platform-node, cluster - All 9 packages typecheck clean
Showing the changes to packages/plugins (1 of 26 files). Show all
Unified · Split
| @@ -13,8 +13,8 @@ · 12 unmodified lines | |||
| 13 | }, | 13 | }, |
| 14 | "dependencies": { | 14 | "dependencies": { |
| 15 | "@apidevtools/swagger-parser": "^12.1.0", | 15 | "@apidevtools/swagger-parser": "^12.1.0", |
| 16 | "@effect/platform": "^0.96.0", | 16 | "@effect/platform": "catalog:", |
| 17 | "@effect/platform-node": "^0.106.0", | 17 | "@effect/platform-node": "catalog:", |
| 18 | "@executor/sdk": "workspace:*", | 18 | "@executor/sdk": "workspace:*", |
| 19 | "effect": "catalog:", | 19 | "effect": "catalog:", |
| 20 | "openapi-types": "^12.1.3", | 20 | "openapi-types": "^12.1.3", |