Internal module guide. This module is now part of
@astrology/runtime; use the public package README for application setup.
host module
Shared host assembly for both tradition services: wraps an initialized Binder with
createBinderReader and builds one Composer with explicit probe limits (steps 1–2 of the
host assembly order).
Run pnpm --filter @astrology/runtime build, check, and test after pnpm build:chart-composer.
import { createComposeHost } from '@astrology/runtime';
const { composer, reader } = createComposeHost({
binder, // initialized by the host with its tested TT resolver (Terrestrial Time; see [TT](../../research/astrology-vocabulary/00-sky-and-clock.md#tt-terrestrial-time))
probeLimits: { maxEvaluations: 2000, maxBodies: 10, minimumStepMilliseconds: 1000, maxWindowMilliseconds: 6 * 86_400_000, maxConcurrency: 1 },
});
Omitting probeLimits leaves the probes gate closed. Pass reader instead of binder to use an
already-wrapped or fake astronomy reader. Timezone resolution, transport and caching stay with the caller.