maple-effect-style

Installation
SKILL.md

Maple Effect style

For Effect apps, use @maple-dev/effect-sdk. It wraps Effect's built-in Otlp.layerJson exporter and handles batching, shutdown, and resource attributes.

Install

npm install @maple-dev/effect-sdk effect

The current release requires Effect 4 (effect >= 4.0.0-rc.113). For Effect 3, install @maple-dev/effect-sdk@effect-v3 effect @effect/platform @effect/opentelemetry. The API and import paths are the same.

Bootstrap

Pick the entry point per runtime. Each has different lifecycle requirements:

  • Server (Node.js, Bun, Deno): background-export fiber, env-var auto-detection, graceful shutdown.
  • Browser: explicit config (no env vars), browser metadata baked in.
  • Cloudflare Workers: manual flush() in ctx.waitUntil, lazy env resolution, in-isolate buffering.
Installs
8
GitHub Stars
1.9K
First Seen
Sep 1, 2026