Kiln for VS CodeOpen a project you built in Kiln in your editor, work on it with your own tools, and push it back as a new version — without leaving the window. Getting startedThe shortest way in is Open in VS Code, in the ⋯ menu on any project in your Kiln dashboard: it brings you here, asks where to put the folder, and downloads it. Everything below is the manual route, and works just as well.
It is a real static site, not an export you can only look at.
That's the whole loop. What you push shows up in the browser immediately, as a version, so Undo in the site's history reaches it like any other edit. Asking instead of typingKiln: Ask the assistant… opens a panel beside your files. Say what you want changed in ordinary words. It reads the project first — including which files are shared between pages, which is the difference between a tweak and an accidental redesign — then proposes an edit. Nothing is stored until you accept it. Click a changed file to read it as a real diff against what is stored; accept, and it lands as one version with one label, through the same door your own pushes go through. Your folder is then a version behind, and it offers to pull. The conversation lives on the server, not in the panel, so it is the same thread in the browser and in the editor — and closing the panel mid-answer costs nothing. Re-open it and the answer is still arriving. The dropdown in the panel's header chooses which model answers. It lists only what your Kiln can actually reach, so there is nothing in it that fails when you pick it, and your choice is remembered for every project. Commands
The status bar shows the project, its version, and how many files you have changed. Click it to push when there is something to push, and to see the changes when there is not. What it will not do to youPush is a version, never an overwrite. Undo in the browser reaches it, and so does Kiln: History… here. You can read a change before you send it. The push box has a diff button, and the comparison is against what is stored right now rather than the copy you pulled — those differ exactly when somebody else has been working, which is the one time it matters. Going back does not throw anything away. The versions after the one you return to stay in the history. It asks before it overwrites you. Pulling replaces the files on disk, so a pull over unsaved changes stops and says how many are at stake. The button that keeps your work is always the first one. Every refusal offers the way through it. A version conflict, a missing file that would delete a page, a script that will not parse — each is a decision you're entitled to make, so each is a button rather than a wall. The override is never the default; a dialog answered by reflex should not be what discards work. A compiled React tree cannot be pushed at all. Its pages are generated from the static source, so storing them back would overwrite the originals with the build. That one has no override, because there is no version of it that is what somebody meant. The guards that decide what may actually be stored live on the server — not in this extension. It being wrong cannot damage a project. Running your own KilnThe extension talks to the hosted instance by default. If you run your own, set it in Settings → Extensions → Kiln, or:
Developing this extensionIt is the
TestsTwo layers, because they answer different questions. The decisions, in The editor, in
That covers the half that only an editor can answer: that activation happens on a pulled folder, that the commands are really registered, that editing a buffer and pushing from the palette lands a version on the server — and that a conflict and an unparseable script are both refused, with the override never the reflex answer. There is a second, much faster suite that needs neither a fixture nor a signed-in CLI — it checks what a brand-new user meets:
It existed for a while with nothing running it and nothing mentioning it, which is the same as not existing. It needs a display and a backend on |