- 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 package.json (1 of 26 files). Show all
Unified · Split
| @@ -9,6 +9,10 @@ · 8 unmodified lines | |||
| 9 | ], | 9 | ], |
| 10 | "catalog": { | 10 | "catalog": { |
| 11 | "effect": "^3.21.0", | 11 | "effect": "^3.21.0", |
| 12 | "@effect/cluster": "^0.58.0", | ||
| 13 | "@effect/platform": "^0.96.0", | ||
| 14 | "@effect/platform-bun": "^0.89.0", | ||
| 15 | "@effect/platform-node": "^0.106.0", | ||
| 12 | "@effect/vitest": "^0.27.0", | 16 | "@effect/vitest": "^0.27.0", |
| 13 | "@types/node": "^24.3.1", | 17 | "@types/node": "^24.3.1", |
| 14 | "bun-types": "^1.2.22", | 18 | "bun-types": "^1.2.22", |