Maintained examples
Exact source paths, contracts, commands, prerequisites, and limits for the examples kept in this checkout.
2 minute read
These examples are maintained in the Aether source checkout. They are not separate public starter repositories or published npm packages.
| Contract | Package and source | Verify | Prerequisite and current limit |
|---|---|---|---|
| Document schemas, native sheets, initiative, automation | @aether/demo-system, systems/demo-system/src/index.ts | bun run --filter @aether/demo-system typecheck | Register it in a host app; source-composed only |
| Hosted-safe 5E 2024 SRD system | @aether/dnd5e-srd, systems/dnd5e-srd/src/artifact.ts | bun run --filter @aether/dnd5e-srd test | Builds one verified dnd5e@0.0.1 artifact with mounted reference libraries |
| Runtime type definitions and content pack | @aether/module-worldbuilding, modules/worldbuilding/src/index.ts | bun run --filter @aether/module-worldbuilding typecheck | Host must compose or list the pack; first-party Marketplace delivery only |
| Native sheet or view artifact | @aether/demo-system, systems/demo-system/src/index.ts | bun run --filter @aether/demo-system typecheck | Production behavior requires a projected world document |
| Local native-sheet preview | @aether/docs, apps/docs/src/components/docs/previews.tsx | bun test apps/docs/test/previews.test.ts | Uses the production renderer with a local host, not server authority |
| Custom sandbox app panel scaffold | CLI template, apps/cli/src/scaffold.ts | bun test apps/cli/test/scaffold.test.ts | Generated app must be built and locally installed; not auto-published |
| Chat command, semantic action, settings, and card rolls | @aether/mod-spell-cards, mods/spell-cards | bun run --filter @aether/mod-spell-cards build | Requires visible srd.spell documents and approved grants |
| Scene tools and shared fog state | @aether/mod-fog-of-war, mods/fog-of-war/public/mod.json and src/main.ts | bun run --filter @aether/mod-fog-of-war build | GM-only scene writes; first-party Marketplace or local manifest |
| Shared scene-object presentation | @aether/mod-dice-roller, mods/dice-roller/src/presentation.ts | bun test mods/dice-roller/test | Visualizes projected authoritative rolls; maximum 24 physical dice in this mod |
| QuickJS automation host | @aether/automation, packages/automation/test/sandbox.test.ts | bun test packages/automation/test/sandbox.test.ts | No file, process, or network access; server revalidates emitted patches |
#Choosing one
Start with the demo system when defining game data. Start with worldbuilding when importing validated content. Start with Spell Cards for a host-integrated mod, Fog of War for scene input and persistent shared scene data, and Aether 3D Dice for bounded temporary visuals.
The examples deliberately show different boundaries. Combining them does not remove those boundaries: a mod still needs grants, a system still needs registry composition, and a content pack still contains data rather than server code.
Was this page helpful?