Skip to content

[Feature] Explicit exports for cluster/http/io in the root barrel #556

Description

@pathosDev

Use case

src/index.ts (805 lines) exports most modules explicitly, but three are export *: ./cluster, ./http, ./io. That makes the public surface implicit — any addition to those barrels silently becomes root API — and has already produced one collision workaround (root Status shadowing, documented in a comment). Inconsistent with the explicitly-enumerated persistence block.

Proposed approach

Replace the three export * with explicit re-export lists (mechanical; generate the initial list from the current barrel contents so the surface is unchanged at first, then prune obvious internals). Evaluate together with #414 (subpath exports) — if actor-ts/cluster etc. become subpaths, the root barrel can shrink instead of grow.

Acceptance criteria

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowNice-to-have / niche / demand-driven

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions