Skip to content

Core API ​

Every exported type, constant and function of core/**, with its comment. The code is the reference.

FilesExports
core/charts/attest.ts21Attestations of a chart (alta.attestation/0.1, docs/standards/alta-attestation-0.1.md):
core/charts/bindings.ts5A chart with its needs bound (docs/standards/alta-chart-0.1.md, "Needs"):
core/charts/catalog.ts20The catalog the game reads (alta.catalog/0.2), the right of use of a paid chart (alta.license/0.2) and the pinned git source of a community chart (docs/standards/alta-chart-0.1.md §16).
core/charts/chart.ts48The Agent Chart (alta.chart/0.1, docs/standards/alta-chart-0.1.md):
core/charts/conditions.ts13
core/charts/external.ts37What a chart needs outside the machine (docs/standards/alta-chart-0.1.md §8, "External services and locality"):
core/charts/index-format.ts37The index of a chart repository (alta.index/0.1, docs/standards/alta-index-0.1.md):
core/charts/needs.ts33Needs of alta.chart/0.1 (docs/standards/alta-chart-0.1.md, "Needs"):
core/charts/quests.ts6
core/charts/repairs.ts22Repairs of alta.chart/0.1 (docs/standards/alta-chart-0.1.md §13):
core/charts/repos.ts10The repositories a machine reads charts from (alta.repos/0.1, docs/standards/alta-index-0.1.md §7):
core/charts/risk.ts10The risk level of a chart (docs/standards/alta-chart-0.1.md §8, "Risk level"):
core/charts/semver.ts10Versions and ranges of alta.chart/0.1 (docs/standards/alta-chart-0.1.md §7).
core/charts/values.ts18Values of alta.chart/0.1 (docs/standards/alta-chart-0.1.md §4):
core/cinematics/cinematics.ts10The cinematics standard (alta.cinematics/0.1, PLAN-V2 §2.3):
core/install/alta-os.ts15The contract of the single Alta OS install script (alta.install/0.1), shared by the Mac (native, no Docker) and the cloud image (its Dockerfile runs the same script):
core/layout/layout.ts5Places the neutral entities in a 2D world, deterministically:
core/missions/missions.ts12Missions (PLAN-V2 §3.3, lot M):
core/onboarding/onboarding.ts15The onboarding standard (alta.onboarding/0.2, reads 0.1):
core/platform/platform.ts28Compatibility by operating system (PLAN-V2 §2.6):
core/platform/resources.ts13What a step, a choice or an executor needs of the machine, written like Kubernetes resources (docs/standards/ resources.md):
core/quests/sources/common.ts8Shared by the quest sources (lot Q2):
core/quests/sources/index.ts6Generated quests (lot Q2):
core/quests/sources/personal.ts8Personal quests generated from the owner's tasks (PLAN-V2 P7, P8; lot Q2).
core/quests/sources/repair.ts9Repair quests generated from the map (PLAN-V2 §2.1, lot Q2):
core/quests/sources/system.ts6System quests generated from the server's probes (lot Q2):
core/quests/standard.ts78Quests in the Alta Quest Standard (schema alta.game/0.3, reads 0.1 and 0.2):
core/runs/card.ts15The plan card an executor's plan returns (POST /api/runs/plan → card), as the page reads it, and the words of a run's report lines.
core/runs/executors.ts22The closed list of executors (PLAN-V2 §3.3), as the core knows it:
core/runs/inputs.ts27What a step asks the player before its executor runs (alta.game/0.3, Step.inputs), and how the answers become the executor's arguments.
core/runs/signin.ts19Sign-in with a program's own command line, as the standard declares it (docs/standards/runs-routes-checks.md, "Sign-in").
core/universe/contract.ts12The universe contract:
core/universe/pack.ts15The universe pack (alta.universe/0.1, PLAN-V2 §2.4):
core/worldmodel/normalize.ts2Reads a system map (schema alta.map/1, written by alta-map) into the neutral WorldState.
core/worldmodel/types.ts11The neutral world model:

Alta OS is open source (MIT).