Skip to content

armgit / kiln

Public Imported from GitHub
0

Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.

Sync site versions with the verified npm release record (#165)

Matthew Kissingerc17b4a0b6f70
diff --git a/.github/published-candidate.json b/.github/published-candidate.json
index 4d87a65f..80515d27 100644
--- a/.github/published-candidate.json
+++ b/.github/published-candidate.json
@@ -1,8 +1,8 @@
{
"name": "@instruktlabs/kiln",
- "version": "1.2.0",
+ "version": "1.2.1",
"tag": "latest",
- "sha256": "11ac92d032c5df8bf310ca253dad18d82ef7c5528b6ba5d96cb695a55e814442",
- "sourceCommit": "aabe0d1111b52f82b1196aa126ec0cdb42944086",
- "publicationRun": "37954792408"
+ "sha256": "cbd57e7a529fb3f28ab1f902170ce24dd317c8ea18fb6359735668b2198c74fd",
+ "sourceCommit": "b3185d4ac3e55e94937878c99d6c5e80509cced5",
+ "publicationRun": "37999759951"
}
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index 044e584a..39f0f348 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -26,9 +26,11 @@ on:
- 'scripts/authorship.ts'
- 'README.md'
- '.github/workflows/pages.yml'
+ - '.github/published-candidate.json'
workflow_dispatch:
pull_request:
paths:
+ - '.github/published-candidate.json'
- 'scripts/example-archive.mjs'
- 'site/**'
- 'scenes/**'
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d8195372..75fe12c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ Source releases and installable package publication are separate milestones.
Published versions and tags are recorded by the npm registry; changing this file
does not publish a package.
-## 1.2.1 (unpublished)
+## 1.2.1
- Load embedded viewer textures through the browser image path, retaining
pixels, sampler settings and UV transforms under restrictive MCP Apps CSP.
diff --git a/docs/install.md b/docs/install.md
index caa1ab96..a1b41d65 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -483,7 +483,7 @@ The v1 local plugin below uses a smaller bundle and creates an explicit workspac
## Local Claude Code and Codex plugins
-The commands below select the 1.1.0 plugin, which supports new workspaces and
+The commands below select the 1.2.1 plugin, which supports new workspaces and
existing-project adoption. Use them once the matching GitHub tag and npm version
are available. To qualify an unpublished candidate, select its exact source ref
and supply the matching local engine archive as described in its bundled setup
@@ -498,14 +498,14 @@ does not start a second global Kiln MCP server.
For Claude Code:
```sh
-claude plugin marketplace add instruktlabs/kiln#v1.1.0 --sparse .claude-plugin plugins/kiln-engine
+claude plugin marketplace add instruktlabs/kiln#v1.2.1 --sparse .claude-plugin plugins/kiln-engine
claude plugin install kiln-engine@instruktlabs
```
For Codex:
```sh
-codex plugin marketplace add instruktlabs/kiln --ref v1.1.0 --sparse .agents/plugins --sparse plugins/kiln-engine
+codex plugin marketplace add instruktlabs/kiln --ref v1.2.1 --sparse .agents/plugins --sparse plugins/kiln-engine
codex plugin add kiln-engine@instruktlabs
```
diff --git a/docs/releasing.md b/docs/releasing.md
index c7ce88fa..8151ef21 100644
--- a/docs/releasing.md
+++ b/docs/releasing.md
@@ -1,10 +1,11 @@
# Publishing Kiln
This is the maintainer runbook for `@instruktlabs/kiln`. npm publishing access is
-configured and stable `1.1.0` is published under `latest`. Follow-up changes need
+configured. The [verified publication record](../.github/published-candidate.json)
+identifies the current qualified registry release. Follow-up changes need
a new version and the qualification process below. Development, registry publication,
hosted deployment and directory acceptance have separate evidence requirements.
-See the [release status](reviews/2026-10-07-release-status.md) for current status.
+The [October 7 release status](reviews/2026-10-07-release-status.md) is historical.
The official hosted application has its own private `instruktlabs/kiln-hosted`
repository, dependency lockfile, CI and deployment runbooks. Its source and
@@ -134,6 +135,13 @@ and commit. Retain registry URL, version/tag, digest, run IDs, installed receipt
and the owner's approval. Create the approved GitHub release/tag with matching
notes and archive identity only after these checks.
+Update `.github/published-candidate.json` from the verified publication receipt.
+The website reads that same record for its version labels, release/download links
+and generated share cards; there is no separate site version to edit. Its CI runs
+when the record changes. A site build reflects the recorded published release,
+not an unreleased `package.json` bump. Review and deploy the resulting site build
+through the normal site publication process.
+
Publication failure does not authorize a rebuild under an existing version. Before
promotion, reject and replace an incorrect stage. After publication, stop rollout
and prepare a newly versioned correction; consider deprecation or tag changes only
diff --git a/site/README.md b/site/README.md
index 4b7ea179..0ef7682f 100644
--- a/site/README.md
+++ b/site/README.md
@@ -2,7 +2,8 @@
The public documentation, gallery, asset packs and interactive scenes live at
[kilnstudio.tools](https://kilnstudio.tools). This is a static Astro site on
-Cloudflare Pages. It is separate from the deferred hosted MCP application.
+Cloudflare Pages. It is separate from the private hosted MCP application, which
+has not launched publicly.
## Develop and check
@@ -36,7 +37,7 @@ build as qualifying the gallery or scenes. Release checks use packs enabled.
| Content | Source |
| --- | --- |
| Installation and API guides | `../docs/`; `src/lib/docs-navigation.ts` selects published pages |
-| npm release identity and install command | `src/data/release.json` and `src/lib/config.ts` |
+| npm release identity and install command | `../.github/published-candidate.json` and `src/lib/config.ts` |
| Homepage | `src/pages/index.astro` |
| Gallery, packs and download records | `src/data/packs/`, `src/data/standalone/` and sealed delivery manifests |
| Historical gallery programs and credits | Pinned Git history restored to `../.cache/example-archive/` by `../scripts/example-archive.mjs` |
@@ -50,7 +51,9 @@ inside an Astro template. Include new public guides in the navigation allowlist.
The build generates the agent-readable `llms.txt` and skills discovery index from
the same maintained sources.
-The release value describes the published npm package. An unreleased checkout
+Version labels, release/download links and share cards read the same verified
+publication record used by package CI. Update that record after verifying a
+registry publication; no separate site version edit is needed. An unreleased checkout
must label its new features accordingly. Package promotion and static website
deployment are separate release steps.
diff --git a/site/scripts/build-site-media.mjs b/site/scripts/build-site-media.mjs
index 7ea5120e..fe87f9b8 100644
--- a/site/scripts/build-site-media.mjs
+++ b/site/scripts/build-site-media.mjs
@@ -60,7 +60,7 @@ async function buildMedia() {
await sharp(Buffer.from(logo)).resize(size, size).flatten({ background: '#eee9df' }).png().toFile(join(publicDir, file));
}
- const release = await json(join(site, 'src/data/release.json'));
+ const release = await json(join(site, '../.github/published-candidate.json'));
const farm = await json(join(site, 'src/data/packs/farm.json'));
const vehicles = await json(join(site, 'src/data/packs/vehicles.json'));
const bridge = await json(join(site, 'src/data/standalone/golden-gate-bridge.json'));
diff --git a/site/scripts/social-cards.test.ts b/site/scripts/social-cards.test.ts
index f7e74eda..4c5cbdc5 100644
--- a/site/scripts/social-cards.test.ts
+++ b/site/scripts/social-cards.test.ts
@@ -1,5 +1,6 @@
import { expect, test } from 'bun:test';
-import release from '../src/data/release.json';
+import published from '../../.github/published-candidate.json';
+import { VERSION, RELEASE_TAG, PACKAGE_TARBALL } from '../src/lib/config';
import foundryFloor from '../src/data/foundry-floor.json';
import hero from '../src/data/hero.json';
import farm from '../src/data/packs/farm.json';
@@ -7,8 +8,16 @@ import vehicles from '../src/data/packs/vehicles.json';
import bridge from '../src/data/standalone/golden-gate-bridge.json';
import { SOCIAL_CARD, socialCardAlt, socialCardPath, socialCards } from '../src/lib/social-cards.mjs';
+const release = published;
const data = { release, farm, vehicles, bridge, hero, foundryFloor, archive: [{ name: 'robot-arm', thumb: 'thumbs/robot-arm.webp' }] };
+test('site release labels and downloads follow the verified published package', () => {
+ expect(VERSION).toBe(published.version);
+ expect(RELEASE_TAG).toBe(`v${published.version}`);
+ expect(PACKAGE_TARBALL).toBe(`instruktlabs-kiln-${published.version}.tgz`);
+ expect(release.version).toBe(published.version);
+});
+
// Engineering review, finding 4: the declared type follows the card's real format.
test('share cards are JPEG files at 1200 x 630 and declare image/jpeg', () => {
expect(SOCIAL_CARD).toEqual({ extension: '.jpg', type: 'image/jpeg', width: 1200, height: 630 });
@@ -20,7 +29,7 @@ test('one card per slug; the home card pictures the hero poster; the pre-upload
expect(new Set(cards.map((card) => card.slug)).size).toBe(cards.length);
expect(cards.find((card) => card.slug === 'home')?.poster?.src).toBe(hero.poster.src);
expect(cards.find((card) => card.slug === 'golden-gate-bridge')?.poster?.alt).toBe(bridge.poster.alt);
- // The home card names the release in `release.json` without a `.0` patch: "0.10", not "0.10.0" (and never a number
+ // The home card names the verified published release without a `.0` patch: "0.10", not "0.10.0" (and never a number
// written into this test, which broke on the 0.10.0 bump).
expect(release.version).toMatch(/^\d+\.\d+\.\d+$/);
expect(cards.find((card) => card.slug === 'home')?.note).toBe(`Kiln · ${release.version.replace(/\.0$/, '')} release package`);
diff --git a/site/src/data/release.json b/site/src/data/release.json
deleted file mode 100644
index fabbd9ad..00000000
--- a/site/src/data/release.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "version": "1.1.0"
-}
diff --git a/site/src/lib/config.ts b/site/src/lib/config.ts
index f6b21f51..2723332e 100644
--- a/site/src/lib/config.ts
+++ b/site/src/lib/config.ts
@@ -1,4 +1,4 @@
-import release from '../data/release.json';
+import release from '../../../.github/published-candidate.json';
export const VERSION = release.version;
export const VERSION_SHORT = VERSION.replace(/\.0$/, '');
export const RELEASE_TAG = `v${VERSION}`;
diff --git a/site/src/lib/social.ts b/site/src/lib/social.ts
index f0674533..e730257a 100644
--- a/site/src/lib/social.ts
+++ b/site/src/lib/social.ts
@@ -1,6 +1,6 @@
import { existsSync, readFileSync } from 'node:fs';
import { resolve } from 'node:path';
-import release from '../data/release.json';
+import release from '../../../.github/published-candidate.json';
import foundryFloor from '../data/foundry-floor.json';
import { hero } from './hero';
import { farm, vehicles, bridge } from './catalog';