932
total weekly downloads
25 packages
@pleasantmachines/kento-accounts
Accounts for a game with no vendor, no password and no email address. A player signs in with a provider they already have (Discord, Google, GitHub, or any the host lists), a passkey, or Google One Tap, which gives them an account across devices; lets a se
@pleasantmachines/kento-agent
An MCP tool server for any running Kento game. Agents drive a game through it instead of hand-written Playwright scripts: list systems and actions, run actions, step, snapshot and restore, fork, forecast, rewind, read digests and slices, run invariants, q
@pleasantmachines/kento-animation
The engine's one animation system, as plain data. A game writes how its figures choose what they play as content (blend trees and state machines, checked by `npm run content:check`); the animator steps a machine by the caller's fixed time into frames of w
@pleasantmachines/kento-arena
A strategy map's ground as data: a square grid of levels joined by ramps, authored once for seat 0 and copied for the others by the map's symmetry, rasterised to the masks a game walks and builds by, and checked for the things that make a map unplayable o
@pleasantmachines/kento-assets
One pipeline from an outside file to what a game ships: a GLB, an image or a sound comes in with its provenance, becomes the output of a registered content definition (`asset.profile`): optimized, compressed, with build-time levels of detail; keyed, cache
@pleasantmachines/kento-attention
What a player is told, in what order, and what each distance shows. A game produces more events than anyone can take in, and the event that matters is not the loudest. This package holds the model that decides, so a game's alarm, voice, pings, on-screen l
@pleasantmachines/kento-audio
Kento's sound, the one audio system: the mixer graph (buses, sends, ducking, snapshots, limits), cue playback, spatial sound (distance models, occlusion from the game's physics, reverb zones), the beat clock and adaptive music on instruments that are cont
@pleasantmachines/kento-authority
The durable command authority, view publication to replicas, and the desync detector. Depends on the kernel and `@kento/debug` (the detector reads the registry's digests). `index.ts` is the public entry; the kernel's durability and checkpoint contract (en
@pleasantmachines/kento-bots
Goal-driven headless players: the QA team for a game mostly built by agents. A bot pursues a goal through the game's real command path, using only what the game's systems say a player may do, and reports where play breaks. It knows no game: the game suppl
@pleasantmachines/kento-cargo
Things carried inside other things: a transport's hold, a wagon's bed, a garrisoned post, a creature that lifts one other. A carrier has a **hold** of a capacity; occupants **board** it one at a time, each taking its size of the capacity, ride hidden from
@pleasantmachines/kento-characters
Every way the engine draws and moves units and people. The skinned crowd: thousands of smooth-skinned GLBs on baked pose palettes, one draw a kind, part and material, with far versions, outlines, silhouettes and gait measures (`src/crowd`). Motion written
@pleasantmachines/kento-combat
A deterministic, headless, real-time fight between combatants organised in bands under orders, with abilities, morale and bonds as data, stepped at a fixed 60 Hz by the authority. This is its contract, and its plan (Planned, below). It knows no game: the
@pleasantmachines/kento-content
One definition model for every kind of content. Design and phases: [../CONTENT.md](../CONTENT.md).
@pleasantmachines/kento-contract
Tests of `@kento/runtime` and the packages above it (`@kento/authority`, `@kento/navigation`, `@kento/frames`, `@kento/fuzz`) through whole games, where an engine test with a toy game would not show the contract holding for a real consumer (save codecs, i
@pleasantmachines/kento-debug
The debug registry and what reads it: systems register debug modules, a host mounts them, agents drive them through the script API, and scene views say what a running game shows. Split out of `@kento/runtime`; it depends only on the kernel (tapes, timelin
@pleasantmachines/kento-diagnostics
`@kento/diagnostics` (see ../README.md and ARCHITECTURE.md). It finds out what went wrong in a running game and packages the moment for whoever fixes it. The game decides what is worth noticing, what a report holds and where it goes; this package knows no
@pleasantmachines/kento-dialogue
Branching conversations as content. A conversation belongs to people (or anyone), opens when its conditions hold, and walks nodes: each node says an l10n message, offers the choices whose conditions hold now, and a choice returns its effects for the game
@pleasantmachines/kento-director
The situation director: a data-driven, deterministic storyteller. Each tick it looks at what is true (facts from context providers), finds the situations that could happen now and the actors they would happen to, and draws one paced by a storyteller profi
@pleasantmachines/kento-ecs
The engine's one world model. Every engine system keeps its state as entities and components in one plain-data `World`, runs as a system in a fixed order, and is saved, hashed, rewound and shared over the network as part of that one value. Systems move on
@pleasantmachines/kento-editor
A document of placed items edited as transactions, and where placements land. For any game where a player or a tool places, moves, turns, wires and removes things: a machine builder's parts, a level editor's props, a base builder's pieces. It knows no gam
@pleasantmachines/kento-flows
A flow on a graph: things that **make**, things that **use**, and **links** that carry between them. Whatever joins makes one network; a network shares what it makes among what it uses; a thing on no link has only itself. It knows no game: what flows (pow
@pleasantmachines/kento-forms
Forms from content schemas. An editor draws a form for any content (a mission, a map's metadata, a unit) from the schema its kind already has, with no code per field: a field added to a schema appears in every form drawn from it. It draws nothing; the gam
@pleasantmachines/kento-frames
Nested frames, surfaces, carriers, surface locomotion, interaction picking and placement between maps. Depends on the kernel (validation) and `@kento/debug` (the view types `frameEntities` fills). `index.ts` is the public entry. Capabilities: `frames`, `i
@pleasantmachines/kento-fuzz
Depends on the kernel and `@kento/debug`. `index.ts` is the public entry; the contract-game fuzz suite is in `@kento/contract`.
@pleasantmachines/kento-three
JavaScript 3D library