Relocate the ~6k-file docs tree from the repo root into plugins/document-navigator/docs/ so the plugin is self-contained and portable. docs/superpowers/ (specs and plans) stays at the repo root. Moved via cp+rm rather than git mv because directory rename() fails with EPERM on this WSL /mnt DrvFs mount; git rename-detection pairs the identical-content files at commit time. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@suaveplan/geo-planet - Configurable planet surface geometry from PlanetConfig — ellipsoid, atmosphere, satellites, and orbital elements.
Summary
Configurable planet surface geometry from PlanetConfig — ellipsoid, atmosphere, satellites, and orbital elements.
Documentation tree
- atmospheric — (no submodules)
- atmospheric — (no submodules)
- planet-surface — (no submodules)
- planet-surface — (no submodules)
- types — (no submodules)
- types — (no submodules)- atmospheric — (no submodules)- planet-surface — (no submodules)- planet-surface — (no submodules)- types — (no submodules)- schemas — The
schemasmodule exposes Zod runtime schemas mirroring every public type declared intypes.ts. Validation is the… - types — (no submodules)- atmospheric — (no submodules)- planet-surface — (no submodules)- planet-surface — (no submodules)- types — (no submodules)- schemas — The
schemasmodule exposes Zod runtime schemas mirroring every public type declared intypes.ts. Validation is the… - types — (no submodules)- atmospheric — (no submodules)- planet-surface — (no submodules) - planet-surface — (no submodules)- types — (no submodules) - schemas — The
schemasmodule exposes Zod runtime schemas mirroring every public type declared intypes.ts. Validation is the… - types — (no submodules)
Install
bun add @suaveplan/geo-planet
Quick start
import { PlanetSurface, PlanetConfigSchema } from "@suaveplan/geo-planet";
const config = PlanetConfigSchema.parse({
name: "Mars",
mass: 6.39e23,
radius: 3_396_200,
polarRadius: 3_376_200,
surfaceGravity: 3.72,
rotationPeriod: 88_620,
axialTilt: 25.2,
atmosphere: null,
satellites: [],
});
const surface = new PlanetSurface(config);
console.log(surface.distance(a, b, "kilometre"));