Make a game from nothing to a released, playable WarpEngine
catalog entry without leaving VS Code.
WarpEngine is the engine behind a game catalog: a repository holds one line
(platform: c64), the host generates its pipeline, the build is published into the
catalog and goes out to the web, the desktop client and the store feeds. The toolbox is
the developer's side of it.
It needs a WarpEngine host. The toolbox works against a site that runs WarpEngine 3.9 or
later (for example teletypegames.org); it ships no host of its own,
so set warpengine.url first. Without one, there is nothing for it to do.

What it does
|
|
| New Game… |
Pick a platform, name the game, and get a project from the host's template (and demo): Makefile, tasks, pipeline marker (with app: for the variant you pick, such as Go's cli or gui), metadata, README, LICENSE (for MIT), a git repository. |
| Add WarpEngine to This Project |
The marker, the metadata and the template's files for a project you already have; your own files are kept. |
| Dev container |
A template with a dev container gives the project .devcontainer/ on the platform's CI builder image: with Docker alone on the computer, the project builds with the same toolchain as the pipeline (see Develop with only Docker). Add Dev Container adds it to a project you have. |
| Connect |
One step on the host: repository on the host's git server, CI for it, a CI token in its secret and a draft catalog entry. The working copy gets the remote and is pushed: the first build starts. |
| Metadata |
metadata.json is validated against the host's schema for the platform (or edited in a form), and on every save the host says what a publish would refuse. TIC-80 headers are read the same way. |
| Pipeline marker |
Completion and hover in .woodpecker.yaml: the platforms, and the keys and values the platform takes (release, app, build…, as the host describes them); a lens that shows the full pipeline the host serves. |
| CI Settings… |
A form for the options of the pipeline marker (.woodpecker.yaml or .woodpecker/warp.yaml), built from what the host says about the platform: see CI Settings. |
| Build |
The Makefile's targets as tasks with problem matchers (ACME, cc65, gcc-style, Lua), and Build Like CI: the same builder image the pipeline uses, in Docker. |
| Play |
Builds and plays the game in a panel: in the runtime its release will play in on the web (EmulatorJS, TIC-80 …) with your local build, or its own web build. One click starts it: the browser lets the game's sound start only after a click. |
| Platform docs |
A book button on the platform in the project panel opens the host's page about the platform (the docs link of its tooling), when the host gives one. |
| Pipeline |
The status bar follows the run of your current commit, wherever it was pushed from; when it ends, a notification says so: a failure with its log, a published release with Play. |
| Release… |
Asks for the version in one list (the stable bumps, the betas such as 1.3.0-beta.1), connects the project first when it has no remote, bumps the version where the platform reads it, writes the changelog from the commits, tags and pushes; the CI publishes. |
| This branch |
On a branch other than the default one: its development build (not listed in the catalog), with a play link to share with testers; a notification when a push has built it. |
| Catalog |
Your own game first, then your host's softwares, releases with an asset checklist, images, links, CI repositories and download statistics; it redraws by itself when a build publishes; status, category and highlight can be changed in place; Delete from Catalog… removes a software once you type its slug (its catalog name), Delete Release… removes a release after a confirmation. A host that refuses the stored token shows Not authorized: one click signs in again. |
| Images |
A software's gallery under Images in the catalog: Add Image… uploads PNG, JPEG, GIF or WebP files, a star makes one the default, the order changes with Move Up / Move Down. |
| Admin page |
The project panel links the software's page in the host's admin web UI. |
| Local CI |
When the local engine runs a git server and a CI, the toolbox offers to set the open project up on them (a wplocal remote); Release… asks which remote a tag goes to. |
| Local Server |
Shown only when a local engine is among the hosts (one running here, or a saved host on 127.0.0.1/localhost), like Sync. The WarpEngine containers on this machine (the engine, the git server, the CI) with their state and ports, and the dev containers of the projects (a stopped one can be started there, a running one stopped); Purge Local Engine… removes all of the WarpEngine's: containers, data, volumes, network and images. |
| Dashboard |
WarpEngine: Open Dashboard (the dashboard button of the project panel) opens a tab that sums up the sidebar in tables: health with its fixes, the latest pipeline runs, the releases with play links, the local containers, the sync partners and the catalog as a table — with Open on the entries whose project you opened in VS Code before; its buttons run the same commands. |
| Health |
What is set up and what is not — the host, the sign-in, the local engine and its CI, the project's metadata, catalog entry, CI repository and last run — green, yellow or red; a click on a gap runs the step that fixes it. |
| Sync |
A local engine's releases go on to another WarpEngine instance (e.g. https://games.example.org): Sync to… pairs them once, the Sync view shows each partner, its channels and what went over. |
| Clone, Fork |
A software whose catalog entry gives a source: Clone… on its node clones it into a folder of yours and opens it; Fork… (when the author allows it) makes it your own version under a new name on a host you can connect to; Forks lists the versions others made (see Clone and fork). |
| AI |
The host's Admin API is registered as an MCP server, so Copilot or Claude in the editor see the catalog and the CI repositories. |
A template repository can say exactly what a new game gets in a warp-template.json:
{
"files": { "example-makefile.make": "Makefile", "hello/hello.inc": "{name}.inc", "hello/Cargo.toml": "Cargo.toml" },
"fill": ["hello/Cargo.toml"]
}
files maps a template path to its place in the project; {name} in a target becomes the
game's name. The files under fill get the placeholders replaced in their content: {name},
{title}, {author}, {description}, {catalogUrl} (the address of the host the toolbox is
connected to) and {builderImage} (the platform's CI builder image, from the host). json sets fields of a JSON file by dotted path, with the placeholders filled in
the values. templateOnly lists the template files a project gets only when it starts without
the demo (the Hello World the demo replaces). Without a manifest the template's top-level example-* files are taken
(example-makefile.make → Makefile).
devcontainer gives the project a dev container: its files are copied (and filled when listed
under its fill), and the tasks of its tasks file are merged into .vscode/tasks.json by
label, the project's own tasks and comments kept. A toolbox that does not know the key leaves it
out, so a template can carry it before every user has a toolbox that understands it:
{
"devcontainer": {
"files": { "example-devcontainer.json": ".devcontainer/devcontainer.json", "example-devcontainer.Dockerfile": ".devcontainer/Dockerfile" },
"fill": ["example-devcontainer.json", "example-devcontainer.Dockerfile"],
"tasks": "example-devcontainer-tasks.json"
}
}
A demo repository may carry a warp-template.json too, for the demo's own files: fill, json,
and keep for files a demo copy otherwise leaves out (its LICENSE, README, CI and
metadata.json). The demo keeps working values in its own repository; the new project gets them
rewritten. The WarpEngine Desktop is the electron platform's demo this way:
{
"keep": ["LICENSE"],
"json": {
"package.json": {
"name": "{name}",
"warpEngine.brand": { "name": "{title}", "catalogUrl": "{catalogUrl}" },
"warpEngine.registryUrl": "{catalogUrl}/api/stores"
}
}
}
Everything a platform needs — what it publishes, where its metadata and version live, how it
plays on the web, its builder image, template and documentation — comes from the host
(GET /build/platforms). A platform the host adds works here without a new toolbox.
Themes
Three color themes in the look of teletypegames.org come with the toolbox; pick one with
Preferences: Color Theme (the toolbox never switches the theme itself):
| Theme |
|
| WarpEngine - Dark |
zinc greys and the green accent of the site's dark mode |
| WarpEngine - Light |
the same in the site's light mode |
| WarpEngine - Retro |
the wiki's retro mode: black editor, CGA-blue panels, white lines, bright yellow, cyan and green code |
And one per platform, in its own colors:
| Theme |
Its look |
| WarpEngine - C64 |
the BASIC boot screen: blue editor in a light blue frame |
| WarpEngine - Plus/4 |
the BASIC 3.5 boot screen: white editor in a light purple frame, black text |
| WarpEngine - TIC-80 |
Sweetie 16, the TIC-80 default palette |
| WarpEngine - LÖVE |
LÖVE's pink and light blue on deep blue |
| WarpEngine - Phaser |
neon arcade: deep violet, magenta and cyan |
| WarpEngine - Ebitengine |
the Go look: white, Go blue, the gopher's yellow on the current line |
| WarpEngine - Godot |
the Godot editor's slate blue and script colors |
| WarpEngine - DOS |
the blue editor of the classic DOS IDEs: yellow text, a grey menu and status bar |
| WarpEngine - Electron |
charcoal with Electron's teal |
| WarpEngine - Go |
Go after dark: a deep Go-blue editor, Go blue, aqua and the gopher's yellow |
| WarpEngine - Batocera |
a retro gaming front end at night: near-black with warm amber |
| WarpEngine - RetroArch |
the deep blue of RetroArch's classic XMB menu |
Keywords take the green accent, types its lighter shade, strings amber, numbers blue, comments
the muted grey (the platform themes take their palette's colors instead); every text color passes a contrast check (4.5:1, comments 3:1). The remote
indicator is green, so a window in a dev container shows at a glance. A font is not part of a
theme: for the retro look set editor.fontFamily to a monospace like Lucida Console yourself.
In the editor


More on the wiki page.
CI Settings
WarpEngine: CI Settings…, or CI Settings… in the project panel, opens the options of the
project's pipeline marker as a form. The fields, their captions, help texts and allowed values come
from the host's description of the platform, in three sections: Build, Check and Release.
- A choice left on (not set: default) is not written: the host's default applies.
- Turned off (
disable) takes several of the kinds the platform can turn off; a list of names (such
as DOS programs) takes names separated by spaces, checked against the host's rule and count.
- Save writes only the keys that changed: comments, the order of the lines and keys the form does
not show stay as they are; a key set back to not set is removed, a new one goes at the end.
- Check with the host asks the host whether it serves a pipeline for the marker as the form has
it, without writing. After a save the host is asked as well; what it refuses is shown in the form
and in the Problems view on the marker file.
- A key the platform does not know stays in the file and is shown as a problem; remove it with
Open as text.
WarpEngine Paint
A pixel-art sprite editor for .aseprite and .ase files, inside a WarpEngine project whose
platform the host gives a graphics profile (TIC-80, C64, Plus/4, DOS, Phaser, Electron, Godot, LÖVE, Ebitengine). Elsewhere
it does not edit.
- WarpEngine: New Image… offers the canvases of the platform's profile (a C64 hires or
multicolor sprite, a TIC-80 tile, sprite or bank, …) and, where there are several, its palettes;
the new file opens in Paint. An existing
.aseprite or .ase file (Aseprite, LibreSprite) opens
in Paint too; outside a WarpEngine project with Paint it opens read-only, saying why.
- The editor is laid out like LibreSprite and Pixelorama: the tools as icons on the left, the
current tool's settings in the bar on top (with the mirror, tile and snap switches and the zoom),
the colors, the palette and the preview on the right, the timeline at the bottom (a row per
layer with its visibility, lock and background switches, a cell per frame — filled for a cel
with pixels, a ring for a linked one — the tags as bars over their frames), and a status bar
with the pixel and color under the pointer. Every button has a tooltip with its key.
- WarpEngine: Import Image… makes a new sprite of a PNG on the project's palette: the whole
image as one frame, or a sprite sheet cut into frames (cell size, offset, gap; empty cells left
out). The PNG is not touched; Paint says first how many pixels change color.
- Tools: pencil (B), eraser (E), fill (G; Shift: every pixel of that color on the layer),
eyedropper (I, or Alt), line (L), rectangle (R), ellipse (O), curve (K: a drag for the ends, one
for each control point), polygon (P: a click on the first corner closes it), filled contour (D),
select (M), lasso (Q), magic wand (W), move (V). Left button the primary color, right button the
secondary; brush size 1–16 (
[ and ]), square or round, or a brush made from the selection.
- Options: filled shapes; the ink — paint, a dither between the two colors with its level, or
shading one step along the palette from the primary to the secondary color (right button: back);
pixel-perfect lines; mirror X and Y; tile X and Y (the canvas repeats around itself and strokes
wrap, for seamless tiles); snapping to the tile grid.
- Selection: Shift adds, Alt takes away; Ctrl+C, Ctrl+X, Ctrl+V (then move), Delete, Ctrl+D;
flip, rotate 90°, scale ×2, Scale2x; Mask by Color, Replace Color (Shift: every layer and
frame), Autocrop, Crop to selection, New sprite from selection, Selection as grid.
- Layers and frames: add, delete, move, rename (double click), show, lock, preview opacity;
frames added empty or duplicated, deleted, each with its duration; ← and → step (inside the
selected tag); a cel linked to the previous frame's, or unlinked; frames reversed; a loop section.
- Tags: name, range, direction (forward, reverse, ping-pong, ping-pong reverse), repeat and
color. The onion skin shows up to three frames before (red) and after (blue). The preview
plays the loop section, the selected tag or all frames, with its own zoom, and saves the
animation as a GIF.
- Palette: on an editable palette (TIC-80) change a color, add or remove one, make a ramp
between the primary and the secondary color, drag a swatch to reorder (the pixels keep their
colors); on a fixed palette (C64) switch to another palette of the profile. Import and export
JASC
.pal, GIMP .gpl and Lospec .hex (also WarpEngine: Import Palette…).
- Reference image: drawn half-transparent under the canvas, remembered with the sprite,
never exported.
- Undo, save, revert are VS Code's own (Ctrl+Z, Ctrl+S, Revert File); unsaved changes
survive a restart.
- The file keeps its format and color mode, as in LibreSprite and Aseprite (they open it): an
indexed file is edited on its palette and stays indexed; an RGB file (RGBA or grayscale) is edited
in RGB mode, any number of colors — a pixel is its color, the palette only a set of swatches (the
file's own), the color picker sets any color — and saved back as it was, every pixel unchanged.
Convert to indexed… (in the palette tools) makes a new indexed file next to it,
<name>.indexed.aseprite, on the file's palette, the colors it uses or a palette of the profile,
after saying how many pixels change color. What a save would not keep (group layers, tilemaps,
slices, blend modes) is listed when the file opens.
- WarpEngine: Export Sprite (the editor's title bar or the command palette) writes the sprite in
the game's own format, as the platform's profile says; what it asks the first time is kept in the
sprite (undoable) or in the project's
.warpengine/paint.json:
- TIC-80: the frames go into the text cart's
-- <TILES> or -- <SPRITES> section side by
side from the first tile you choose; only the sprite's own tiles are written, a sprite whose
tiles overlap another's is refused, and when the cart's tiles changed since the last export
(edited in TIC-80) Paint asks before overwriting — or saves the cart's version next to the file.
The message tells the spr() call for a frame. The screen preset writes an indexed PNG.
- C64: hires and multicolor sprites (64 bytes a frame), character sets, hires bitmaps and
Koala pictures, packed pictures (the distinct cells and one run-length packed table of cell indexes and colors)
and cell figures (cells with their own colors and see-through pixels) into a generated include file (
gfx/<name>.asm, .c or .bin) the game pulls
in with !src; Paint never writes into a file with code. The colors every multicolor sprite or
cell shares ($D021, $D022/$D023, $D025/$D026) are the project's, asked once; the palette marks
them with their registers (a multicolor sprite with its bit pairs) and follows
.warpengine/paint.json when it changes. Cells — and sprite frames — with more colors than the
mode allows are framed in red while you draw, and the export refuses them.
- Plus/4: hires and multicolor character sets, and hires (320×200) and multicolor (160×200)
bitmaps as the TED shows them:
<name>_bitmap (8000 bytes), <name>_screen (the cells' color
codes) and <name>_attributes (their luminances), 1000 bytes each; a palette index is a TED
attribute plus one (luminance in the high nibble). The shared colors ($FF15, $FF16, $FF17) are
asked once from the 128 TED colors and kept under plus4 in .warpengine/paint.json.
- DOS: linear 8-bit pixels (VGA mode 13h, every frame after the other; a transparent pixel is
color 0) as a binary or a C array, and the palette next to it as a 768-byte
.pal of 6-bit
values; the canvas shows the 320×200 screen's 5:6 pixels.
- An RGB sprite goes to TIC-80, the C64, the Plus/4 and DOS as TIC-80 imports an image: every pixel takes the
nearest color of the palette (the hardware's, or on TIC-80 the sprite's swatches — the cart's
colors), and the message says how many pixels did.
- Import Image… can dither (ordered or error diffusion) and, for a cell-based preset of the
same size, keeps each cell to the colors the mode allows.
- The bottom layer can be the background: there the eraser paints the background color.
- Backgrounds are cut into 8×8 tiles, each distinct tile once: on TIC-80 (Background (map),
240×136) the tiles go into TILES from the first tile you choose and the cells into the cart's MAP
at the cell you choose — the message names the
map() call. A background whose tiles would overlap
another sprite's is refused; Paint asks before overwriting tiles drawn in TIC-80 in its range, or
its own tiles or map cells changed in the cart since the last export, and says when a moved
background left its old cells on the map. On the C64 (Background
(characters), 320×200) the include file holds the character set, the screen and the color map.
- Phaser, Electron, Godot, LÖVE, Ebitengine: a sprite sheet (an indexed PNG, or RGBA for an RGB sprite, the frames left to
right;
warpengine.export.columns in the sprite's properties sets the frames per row,
warpengine.export.padding the transparent pixels between them and warpengine.export.extrude how
many times their edge pixels are repeated around them) and the
engine's animation data next to it: Aseprite's JSON (Phaser this.load.aseprite +
this.anims.createFromAseprite, Electron, Ebitengine), a Godot SpriteFrames .tres (an
animation per tag, the texture by its res:// path; set the PNG's filter to Nearest) or a LÖVE
Lua module (frames for love.graphics.newQuad, tags).
- On the modern engines a sprite may have any size up to 2048×2048: New Sprite… offers
Custom size…, and WarpEngine: Canvas Size… resizes the canvas around an anchor.
- WarpEngine: Export All Sprites exports every sprite of the project that was exported once
(with the answers it keeps); the others are named. With
warpengine.sprite.exportOnSave on, a
sprite is exported each time it is saved.
Paint on the command line
warpengine-paint runs the same export without the editor: in CI, in a script, or for an agent that
writes a game. It is one file with no dependencies, attached to every Toolbox release
(warpengine-paint.cjs, Node 22) and inside the extension (dist/cli/). It reads the project's
platform from .woodpecker.yaml and the graphics profile from the host.
node warpengine-paint.cjs export # every sprite, with the answers it keeps
node warpengine-paint.cjs export assets_src/hero.aseprite
node warpengine-paint.cjs check # exit 1 when an export is not what Paint writes
node warpengine-paint.cjs presets # the platform's presets and palettes
node warpengine-paint.cjs new assets_src/hero.aseprite --preset sprite_hires \
--pixels hero.txt --set warpengine.export.wrapper=acme
- check exports everything into memory and fails (exit 1) when a committed export differs or is
missing, when a sprite's stored answers would change, or when a sprite needs an answer; nothing is
written. Exit 2 is a wrong call or an unreachable host.
- new makes a sprite from a preset, empty, from a PNG (
--png, the nearest palette colors) or
from text pixel art (--pixels): one character a pixel, . see-through, 0–9 a–z A–Z
the palette's colors (on the C64 its color numbers), --- the next frame, # a comment line; the
art is drawn from the canvas's top-left corner. --set key=value stores the answers an export
needs (warpengine.export.wrapper, warpengine.export.path, warpengine.tic80.place, …), so the
export asks nothing.
- Options:
--project <folder>, --platform <name>, --host <url> (or WARPENGINE_HOST, default
teletypegames.org), --platforms <file.json> (a saved GET /build/platforms, offline).
- A sprite that needs an answer, or whose TIC-80 tiles were edited in the cart, is reported and left
for the editor, where the question is asked.
Signing in
WarpEngine: Sign In asks the host for an Admin API token through the device grant: a
browser opens the host's Tool Sign In page, an administrator approves the code, and the
token lands in VS Code's secret storage. Signing in is only needed for Connect, the catalog,
the pipeline status and releases; templates, metadata checks, builds and play work without it.
Hosts
The toolbox knows no host of its own: set warpengine.url to the address of the site that runs
WarpEngine (or run WarpEngine: Set Host…, which asks for it). warpengine.hosts may list more
hosts for Set Host to switch between; in its list the pencil of a saved host changes its address or name and the bin removes it (a host only found running on this machine has neither). A host needs WarpEngine 4.0 or later (3.9 works without the release channels).
A local engine
WarpEngine Local is a WarpEngine on
your own machine: one container, one port, installed by one command (WarpEngine: Install
Local Engine runs the installer in a terminal). The toolbox looks for it on every start and
refresh: it asks http://127.0.0.1:<port>/.well-known/warp-engine (the port from
~/.warpengine/config.json, or 7470; warpengine.localPort sets another), lists it as
Local among the hosts, makes it the host when none is set, and offers to connect.
Connecting signs in with the engine's token file (~/.warpengine/local-token;
warpengine.localData names another folder) — no device code, no approval. A local engine
needs WarpEngine 5.2 or later.
When the host does not answer
Every "cannot be reached" — a view, a notification, the Health line — comes with Fix…
(WarpEngine: Fix Host Connection…). It looks at why and offers the step that puts it right:
| What it finds |
The steps |
| a host on another machine does not answer |
Try Again, Open in Browser, Set Host… |
| Docker is not installed |
Get Docker, Docker Command Setting (warpengine.docker) |
| Docker does not run |
Start Docker: opens OrbStack or Docker Desktop (macOS, Windows), runs sudo systemctl start docker in a terminal (Linux), and waits for it |
the engine is not installed (its data may still be in ~/.warpengine) |
Reinstall (the installer with --yes: the saved answers and the data stay), Remove Its Data…, Set Host… |
| the engine or its CI is stopped |
Start, Reinstall, Remove…, Set Host… |
| the engine answers at another port than the host set |
Use that address |
| the engine runs but does not answer |
Restart, Show Log, Reinstall |
When the host set is a local engine that does not answer, the toolbox offers Fix… by itself,
once per window, and again whenever the installer closes without the engine answering. A dev
container from a current template mounts the computer's Docker socket, so Fix… starts and
restarts the engine from there too; installing or removing it needs a window on the computer
(Reopen Folder Locally), since the installer writes its data folder there.
Local CI
The local engine's installer asks whether you want a local CI: a git server (Gitea,
127.0.0.1:7471) and a CI (Woodpecker) beside the engine, started and wired by it — no sign-in,
no browser (--ci on later turns it on, --ci off stops it). With it running, the toolbox
offers to set up a project without a CI repository there (Not for this project stops asking);
Set up local CI in the project panel and in the command palette does it any time:
- puts the project into the local catalog if it is not there, and gives it its repository, CI
and CI token on the local git server;
- adds the
wplocal git remote (a push token in its URL) to the repository open in VS Code and
pushes: the first build starts.
Release… asks which remote the tag goes to (Release to) when the repository has more than
one: wplocal builds it on the local Woodpecker with the pipeline the engine serves, publishes
it on the local engine, and Sync sends it on; origin builds it where it always did.
Local Server
The Local Server view lists the containers the local engine's installer and the engine started
(label org.teletypegames.warp-engine.local=1): warp-engine-local, warp-engine-local-gitea,
warp-engine-local-woodpecker and its agent, with their state and ports; a click opens the
engine or the git server, a stopped one has a start button (Start the Local Engine starts
every stopped one). Purge Local Engine… (the trash button) asks once, then removes the
containers, the data folder (~/.warpengine: the catalog, the releases, the token — also when
the containers are gone already), the volumes, the network and the images — the same as the
installer's --uninstall --purge. When Docker does not answer, the view says so with Start
Docker. In a dev container the view lists the computer's containers through the mounted Docker
socket; a dev container built before the socket was part of the template says so, with Reopen
Folder Locally.
The Catalog and Local Server views start collapsed. While the WarpEngine sidebar is open, the
toolbox opens Local Server when no local engine is installed (its Install Local Engine line
shows), and Catalog once, the first time it has something to show. It never closes a view: one
you open or close yourself stays as you left it.
Reset
WarpEngine: Reset… (also a button on the Dashboard) removes what WarpEngine left on this
computer. Pick any of the parts, or Everything:
| Part |
What goes |
| Local engine |
its containers (engine, git server, CI), volumes, network, images and its data folder (~/.warpengine) — also when the containers are gone already |
| Dev containers |
every VS Code dev container on this computer with its image and named volumes (including the Dev Containers' shared vscode volume); windows open in them close |
| WarpEngine Toolbox |
its settings (user, workspace and folder), the sign-ins of every host, its stored state, then the extension itself; a reload finishes it |
One confirmation lists what goes, with the counts; nothing is undone. In a window in a dev
container Reset… offers Reopen Folder Locally instead, as it would remove its own container.
Health
The Health view checks everything the toolbox depends on, in three groups: the host
(set, answering, signed in, the token taken), the local engine (shown when it is installed
or it is the host: its container, its git server and CI) and the project (its platform, the
host's publish check of its metadata, its catalog entry, CI repository and last run). A click on a
yellow or red line runs the step that fixes it — Fix…, Start Docker, Start the Local
Engine, Set Host…, Sign in, Sign In Again, Install Local Engine, Connect, Set up local
CI, Edit Metadata, Add WarpEngine to This Project — or opens the page that tells more (a
run's log, the admin page). The same buttons come with the error messages.
When a host refuses the stored token, the status bar, the views and Health offer Sign In
Again. On the local engine the sign-in tries the token file and then the token the running
container gives, and keeps the one the engine takes, so a reinstalled engine does not leave the
toolbox stuck on an old token.
Sync
WarpEngine: Sync to… (the Sync view's cloud button) pairs your local engine with another
WarpEngine, so its releases go on there by themselves:
- pick the engine — the known hosts whose
/.well-known/warp-engine says they take pairing
(WarpEngine 5.3 with sync { inbound { enabled true } }), or another address;
- sign in to it if you have not (the toolbox switches to it for the sign-in and back);
- choose the channels that go (stable and beta by default) and the name it calls your engine.
The toolbox pairs on the other engine (POST /sync_pairings: an inbound peer of your own and
its token), adds the outbound peer on your local engine with that token, and checks that the
other side takes it. An engine on this machine (localhost) is reached from the container
through host.docker.internal. From then on every release published on the local engine — and
the software's images — goes over by itself; Push Now sends what is there already.
The Sync view lists the partners with their channels and the last pushes; per partner: Push
Now, Edit Channels…, Check Connection, Disconnect (removes the pairing on both sides when
you are signed in to the other engine). The other engine must allow pairing: an admin:write
sign-in always may, any signed-in tool where it says pairing :anyone.
Clone and fork
The Catalog view reads the host's public catalog (/api/software, no sign-in needed) beside the
admin one. A software node whose entry gives a source gets Clone… in its context menu, one
whose host allows forking it also Fork…, and on hosts that count forks (WECP api: 3) the node
has a Forks child: the versions made of it, with the engine they live on (this engine when
it is the same). An older host gives none of these, and the toolbox shows none.
Clone… asks for a parent folder and clones the source into <folder>/<name>: over SSH when
the source gives an SSH address that answers without asking, over HTTPS otherwise, without the
blobs of the old history (--filter=blob:none). Then it offers to open the folder, in its dev
container when it has one. A folder that exists, a repository that cannot be reached, is not
found or does not let git sign in each get Try Again….
Fork… shows the original's owner and licence (and warns when it has none: ask the author
before you publish your version), then asks:
- the host the fork goes to — only the configured hosts you are signed in to;
- its name —
<name>-<you> on that host, -2, -3 while it is taken there, checked as you type;
- its title and the parent folder.
It clones the whole history, renames origin to upstream, writes the new name and title
into the metadata, removes repo and records the parent in fork_of_engine, fork_of_name,
fork_of_version and fork_of_repo, and commits Fork of from . When the
original has no licence it asks for one (MIT, GPL-3.0, CC-BY-4.0, CC0-1.0 or none). Then the
chosen host becomes the current one and Connect runs on the fork: a repository, the CI, a
catalog entry that already knows its parent, the first push. Last, it offers to open the fork.
WarpEngine: Pull from Upstream fetches a fork's upstream and merges its default branch into
yours. Conflicts stay in the working copy for the editor's merge view; commit when they are solved.
Develop with only Docker
A project with .devcontainer/devcontainer.json builds in its dev container — the platform's CI
builder image with git and a dev user — so ACME, cc65, Go or Rust never have to be installed on
the computer:
- In a window on this computer the
warpengine tasks (build, clear, rebuild, and the
build Play runs) go into the container through the Dev Containers CLI that comes with the
toolbox, on the editor's own Node: nothing to install but Docker. The first task starts the
container; the ones this window started stop when it closes, and one left running (the editor
crashed) shows in Local Server with a stop button.
- Reopened in the container (the Dev Containers extension; New Game offers Open in
Container) the toolbox runs there and the tasks run as they are.
- dev image builds the container image ahead of time; play builds and plays the game in
the host's web runtime — the way to try it, as the container has no emulator window. A task
with
"host": true (the template's run (VICE)) builds in the container, then runs its
target on this computer, for a local emulator.
- Play needs the host: its runtime page and files come from there.
The Dev Containers extension connects to /var/run/docker.sock; with OrbStack or Colima turn on
their compatibility link (OrbStack: Use admin privileges for enhanced compatibility). The
toolbox's own route follows the Docker CLI's context and needs none. Inside the container the
toolbox reaches a local engine on this computer at host.docker.internal (its HTTP API and its
git server alike), and the computer's Docker through the socket the template mounts (the
container has the Docker CLI, and dev joins the socket's group when the container starts): one
local engine per computer, used from every window, contained or not. Mounting the socket gives
the container the computer's Docker; that socket must exist, so a Docker without
/var/run/docker.sock needs its compatibility link here too.
Requirements
- VS Code 1.101 or later and git; for a project with a dev container, Docker is enough.
- Without a dev container:
make and the platform's own tools for local builds (make deps in a
new project installs them where the template knows how), and Docker (or OrbStack) for Build
Like CI.
Development
The code is a domain core with VS Code adapters around it; STRUCTURE.md describes
the layers, the naming and the rules ESLint holds them to.
make check # typecheck, lint, documentation gate, l10n check, unit tests
make docs # the API reference (TypeDoc) in doc/
make package # dist/warpengine-toolbox.vsix
make localinstall # package and install it into your VS Code (code --install-extension --force)
make uninstall
The API reference is built from the TSDoc comments of the source and published on every release tag: wiki.teletypegames.org/typedoc/warp-engine-toolbox, with a generated Commands and Settings page. CLAUDE.md has the rules; CI fails while anything is undocumented.
npm run test:integration runs the extension in a downloaded VS Code against the default host.
npm run test:walkthrough plays a new studio's first hour against the WarpEngine example stack
(bin/setup in warp-engine-example, COMPOSE_PROJECT_NAME=warpkittest): New Game, Sign In, Connect, the
first published release, then Release and the second one. The dialogs get scripted answers, VS Code's own
access prompt is skipped, and the admin's approval is given with docker exec on the app container
(WALK_APP_CONTAINER, default warpkittest-app-1). WARPENGINE_TEST_URL points it at another host, WALK_PLATFORM (default phaser) picks the platform and
WALK_START=template starts from the template instead of the demo.
The interface speaks English and Hungarian (l10n/, package.nls*.json). npm run l10n rewrites the
English bundle from the code; npm run l10n:check fails while a text has no Hungarian translation.
Press F5 in this folder to run it in an Extension Development Host.
| |