Skip to content

Resili v0.2.0-alpha.3 — Core Hardening

Pre-release
Pre-release

Choose a tag to compare

@nkcodedev nkcodedev released this 25 Aug 10:23
· 24 commits to main since this release

Resili v0.2.0-alpha.3

This release hardens Resili's core runtime and aligns the HTTP and LLM package lines on @resili/core@0.2.0-alpha.3.

Core Hardening

  • cache is now a valid relative policy-order anchor
  • RequestStarted and RequestCompleted are emitted once per top-level execution
  • stats().totals.retries now tracks additional retry attempts
  • Added rate limiter onLimit: "wait" support with maxWaitMs
  • Rate limiter waiting is FIFO per key and respects cancellation and timeout

circuit, bulkhead, and rateLimiter policy maps in stats() remain empty in this alpha. Live policy-state aggregation is not included yet.

HTTP Packages

The HTTP adapters have been republished against the hardened core. Adapter behavior itself is unchanged.

  • @resili/core@0.2.0-alpha.3
  • @resili/fetch@0.2.0-alpha.3
  • @resili/axios@0.2.0-alpha.3
  • @resili/undici@0.2.0-alpha.3

LLM Compatibility Line

The LLM packages have been republished so the entire public package graph resolves to @resili/core@0.2.0-alpha.3.

  • @resili/llm@0.1.0-alpha.2
  • @resili/llm-openai@0.1.0-alpha.2
  • @resili/llm-anthropic@0.1.0-alpha.2

No LLM provider runtime behavior changed in this compatibility release.

Install

Core:

npm install @resili/core@alpha

Fetch:

npm install @resili/core@alpha @resili/fetch@alpha

LLM + OpenAI:

npm install @resili/core@alpha @resili/llm@alpha @resili/llm-openai@alpha openai

LLM + Anthropic:

npm install @resili/core@alpha @resili/llm@alpha @resili/llm-anthropic@alpha @anthropic-ai/sdk
Verification

The release was verified from a clean external npm consumer using only packages downloaded from the public registry.

ESM imports: passed
CommonJS imports: passed
Single deduplicated @resili/core@0.2.0-alpha.3: passed
Single deduplicated @resili/llm@0.1.0-alpha.2: passed
Core hardening smoke tests: passed
Fetch / Axios / Undici adapter smoke tests: passed
OpenAI adapter regression: passed
Anthropic adapter regression: passed
No workspace:* dependency leakage
Alpha Notice

Resili is still in public alpha. APIs and behavior may evolve before the stable release.

Use the alpha dist-tag to explicitly install the current alpha line.