Packages1 MIN READ85 / 116

Internal module guide. This module is now part of @astrology/vedic; use the public package README for application setup.

drishti module

Policy-aware Vedic graha drishti relationships: the whole-sign aspects a planet casts by counting signs from its own. Public imports use the package root. See the package specification and task plan (V-18).

Run pnpm --filter @astrology/vedic build, check, and test after building dependencies (pnpm build:vedic builds all).

Drishti

evaluateDrishti(snapshot, policy) calls the existing resolveDrishti primitive for every body and returns directed relationships: caster, inclusive count, aspected sign, the bodies (and lagna, the ascendant, when angles exist) occupying it, and a rule id naming the policy branch. Casters without a rule are listed in unserved, kept distinct from casters whose rules match nothing.

PARASHARI_GRAHA_POLICY reuses the semantics PARASHARI_DRISHTI table with nodes: null. Node rules are accepted only under an explicitly named school; PARASHARI_NODES_POLICY (parashari-graha-nodes@1) adds the nodes-5-7-9 school, where Rahu and Ketu (the lunar nodes) cast Jupiter’s counts. The feature is supported only when the profile selects exactly the policy identity it was created with.