Installation
Install canary Yolk packages with matching lockstep versions.
Yolk packages currently publish on the canary channel and release in lockstep. Keep every @yolk-sdk/* dependency on the same version.
pnpm add @yolk-sdk/agent@canary effect@4.2.0effect is a peer dependency of every package (~4.2.0, tested on 4.2.0), so the host installs
it and every package shares that one copy. Effect patch releases satisfy the range; a new Effect
minor needs a new Yolk canary, because Yolk calls Effect's unstable http, process, and socket
modules. Install @effect/platform-node at the same version as effect when you use
@yolk-sdk/mcp/client/node. Check both when upgrading canaries.
Add sibling packages as needed:
pnpm add @yolk-sdk/mcp@canary @yolk-sdk/knowledge@canary @yolk-sdk/connectors@canary
pnpm add @yolk-sdk/sandbox@canary @yolk-sdk/vercel-workflows@canary workflow@^5.0.0-beta.42
pnpm add @yolk-sdk/harness@canary @yolk-sdk/codemode@canary @yolk-sdk/extractors@canary
pnpm add @yolk-sdk/files@canary @yolk-sdk/pool@canary
# Only for XLSX extraction with @yolk-sdk/extractors: SheetJS from its CDN, not the npm `xlsx`.
pnpm add https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgzFor tests, add the experimental conformance and emulator packages as dev dependencies:
pnpm add -D @yolk-sdk/conformance@canary @yolk-sdk/emulators@canary@yolk-sdk/harness is available from 0.1.0-canary.77. @yolk-sdk/codemode,
@yolk-sdk/conformance, and @yolk-sdk/emulators are available from 0.1.0-canary.96; they are
unavailable in 0.1.0-canary.95 and earlier. @yolk-sdk/extractors is available from
0.1.0-canary.98, @yolk-sdk/files from 0.1.0-canary.114, and @yolk-sdk/pool from
0.1.0-canary.116. @yolk-sdk/conformance and
@yolk-sdk/emulators are experimental and meant for tests only; see Test with emulators.
Keep every package on the same lockstep version as the other public packages.
Runtime expectations
| Requirement | Notes |
|---|---|
| Node | Packages declare >=22; @yolk-sdk/codemode requires >=22.19.0 |
| Module format | ESM only |
| Effect | Peer (effect ~4.2.0) of every package; @yolk-sdk/mcp also has an optional @effect/platform-node peer for ./client/node |
| React | Optional peer only for @yolk-sdk/agent/react |
| SheetJS | Optional peer (xlsx >=0.20.3) only for XLSX extraction in @yolk-sdk/extractors/node; install the tarball from cdn.sheetjs.com |
| Workflow | Required only by @yolk-sdk/vercel-workflows hosts; workflow@^5.0.0-beta.42 (5.x region-pins runs — 4.x streams were iad1-only and burst cross-region) |
Canary policy
Canary means APIs are useful but unstable. Expect breaking changes before 1.0.0. Prefer explicit imports and small host adapters so package movement is easy to absorb.