@instruktlabs/kiln 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +74 -0
- package/README.md +7 -0
- package/dist/agent-run.mjs +6392 -1477
- package/dist/build.json +23 -23
- package/dist/cli.mjs +8453 -3407
- package/dist/evaluator-worker.mjs +16608 -12387
- package/dist/mcp-engine.mjs +6746 -1725
- package/dist/mcp-server.mjs +4 -4
- package/dist/viewer/app.js +203 -199
- package/dist/viewer/chat.html +209 -205
- package/dist/viewer/style.css +10 -0
- package/docs/atlas-provenance.md +23 -0
- package/docs/community-exporter.md +27 -0
- package/docs/export-profiles.md +20 -0
- package/docs/material-library.md +9 -5
- package/docs/procedural-surfaces-v3.md +276 -0
- package/docs/projects-and-live-review.md +1 -1
- package/docs/rendering.md +41 -0
- package/docs/sdk.md +53 -0
- package/docs/tools-operations.md +2 -2
- package/docs/tools.md +3 -3
- package/lib/asset-materials-node.d.ts +3 -3
- package/lib/asset-materials-node.js +29 -33
- package/lib/assets-node.d.ts +1 -1
- package/lib/assets-node.js +11 -4
- package/lib/assets.d.ts +4 -2
- package/lib/assets.js +61 -16
- package/lib/atlas-provenance.d.ts +86 -0
- package/lib/atlas-provenance.js +448 -0
- package/lib/character.d.ts +11 -2
- package/lib/character.js +90 -2
- package/lib/community-exporter.d.ts +3 -2
- package/lib/community-exporter.js +139 -3
- package/lib/discovery/helper-contracts.js +161 -7
- package/lib/discovery/helper-specs.js +49 -4
- package/lib/discovery/shapes.js +20 -7
- package/lib/engine-identity.d.ts +1 -1
- package/lib/engine-identity.js +1 -1
- package/lib/evaluator/authoring-diagnostic.d.ts +1 -1
- package/lib/evaluator/authoring-diagnostic.js +12 -0
- package/lib/evaluator/protocol.d.ts +2 -2
- package/lib/evaluator/protocol.js +16 -6
- package/lib/evaluator/subprocess.js +2 -2
- package/lib/exporter-node.js +9 -1
- package/lib/geometry-budget.d.ts +7 -0
- package/lib/geometry-budget.js +8 -0
- package/lib/gltf-texture-binding.d.ts +6 -0
- package/lib/gltf-texture-binding.js +54 -0
- package/lib/material-authoring-node.d.ts +6 -0
- package/lib/material-authoring-node.js +49 -0
- package/lib/material-authoring-schema.d.ts +871 -0
- package/lib/material-authoring-schema.js +310 -0
- package/lib/material-export.d.ts +5 -0
- package/lib/material-export.js +21 -0
- package/lib/material-library-node.d.ts +34 -8
- package/lib/material-library-node.js +691 -11
- package/lib/material-library.d.ts +3704 -4
- package/lib/material-library.js +272 -0
- package/lib/mcp-core.d.ts +1 -1
- package/lib/pinned-material-map.d.ts +33 -0
- package/lib/pinned-material-map.js +1 -0
- package/lib/portable-material-runtime.d.ts +5 -0
- package/lib/portable-material-runtime.js +160 -0
- package/lib/portable-sampler-runtime.d.ts +4 -0
- package/lib/portable-sampler-runtime.js +26 -0
- package/lib/portable-sampler.d.ts +11 -0
- package/lib/portable-sampler.js +42 -0
- package/lib/primitives.d.ts +15 -3
- package/lib/primitives.js +24 -4
- package/lib/procedural-material-v2.d.ts +2 -0
- package/lib/procedural-material-v2.js +2 -1
- package/lib/procedural-material-v3.d.ts +72 -0
- package/lib/procedural-material-v3.js +162 -0
- package/lib/procedural-texture-v2-compiler.d.ts +31 -0
- package/lib/procedural-texture-v2-compiler.js +172 -0
- package/lib/procedural-texture-v3-contract.d.ts +125 -0
- package/lib/procedural-texture-v3-contract.js +333 -0
- package/lib/procedural-texture-v3.d.ts +12 -0
- package/lib/procedural-texture-v3.js +165 -0
- package/lib/procedural-texture.d.ts +9 -31
- package/lib/procedural-texture.js +43 -170
- package/lib/project-bundle-node.d.ts +1 -1
- package/lib/project-bundle-node.js +70 -13
- package/lib/project-bundle.d.ts +91 -3
- package/lib/project-bundle.js +48 -7
- package/lib/qa/atlas.d.ts +21 -0
- package/lib/qa/atlas.js +474 -0
- package/lib/qa/index.d.ts +1 -0
- package/lib/qa/index.js +1 -0
- package/lib/qa/material.js +2 -0
- package/lib/qa/skin-integrity.d.ts +18 -0
- package/lib/qa/skin-integrity.js +221 -0
- package/lib/render-service-host.js +4 -7
- package/lib/render.d.ts +3 -3
- package/lib/render.js +108 -16
- package/lib/skin-binding.d.ts +20 -0
- package/lib/skin-binding.js +144 -0
- package/lib/texture-atlas-contract.d.ts +97 -0
- package/lib/texture-atlas-contract.js +414 -0
- package/lib/texture-atlas-pixels.d.ts +73 -0
- package/lib/texture-atlas-pixels.js +290 -0
- package/lib/texture-atlas.d.ts +10 -0
- package/lib/texture-atlas.js +143 -0
- package/lib/texture-bake.d.ts +3 -0
- package/lib/texture-bake.js +66 -11
- package/lib/texture-resolver.d.ts +22 -0
- package/lib/texture-resolver.js +24 -0
- package/lib/tools/materials.js +8 -7
- package/lib/tools/registry.js +5 -16
- package/lib/tools/review.js +1 -1
- package/lib/uv-data.d.ts +32 -0
- package/lib/uv-data.js +172 -0
- package/lib/uv-shapes.js +3 -0
- package/lib/uv.d.ts +9 -3
- package/lib/uv.js +53 -82
- package/lib/views/camera.d.ts +3 -3
- package/lib/views/camera.js +32 -28
- package/lib/views/face-policy.d.ts +9 -0
- package/lib/views/face-policy.js +16 -0
- package/lib/views/glb.js +218 -24
- package/lib/views/pose.d.ts +7 -1
- package/lib/views/pose.js +63 -12
- package/lib/views/raster.d.ts +6 -2
- package/lib/views/raster.js +49 -37
- package/lib/views/scene-copy.d.ts +6 -0
- package/lib/views/scene-copy.js +73 -0
- package/lib/views/scene-raster.js +2 -1
- package/lib/views/triangle-coverage.d.ts +8 -0
- package/lib/views/triangle-coverage.js +58 -0
- package/lib/workspace-node.js +7 -3
- package/lib/workspace.d.ts +2 -2
- package/package.json +3 -1
- package/plugin.json +1 -1
- package/plugins/kiln-engine/.claude-plugin/plugin.json +1 -1
- package/plugins/kiln-engine/README.md +3 -3
- package/plugins/kiln-engine/package-provenance.json +6 -6
- package/plugins/kiln-engine/plugin.json +1 -1
- package/plugins/kiln-engine/runtime.json +1 -1
- package/skills/kiln-author-asset/references/geometry-recipes.md +124 -0
- package/skills/kiln-author-asset/references/projects-and-materials.md +32 -2
- package/skills/kiln-compose-scene/references/runtime-scenes.md +19 -0
- package/skills/kiln-qa-asset/references/integration-checks.md +37 -2
- package/src/asset-materials-node.ts +38 -45
- package/src/assets-node.ts +22 -5
- package/src/assets.ts +61 -20
- package/src/atlas-provenance.ts +522 -0
- package/src/character.ts +107 -2
- package/src/community-exporter.ts +143 -3
- package/src/discovery/helper-contracts.ts +188 -7
- package/src/discovery/helper-specs.ts +69 -4
- package/src/discovery/shapes.ts +25 -9
- package/src/engine-identity.ts +1 -1
- package/src/evaluator/authoring-diagnostic.ts +19 -1
- package/src/evaluator/protocol.ts +19 -9
- package/src/evaluator/subprocess.ts +2 -2
- package/src/exporter-node.ts +12 -1
- package/src/generated/mcp-manifest.json +3 -3
- package/src/geometry-budget.ts +8 -0
- package/src/gltf-texture-binding.ts +60 -0
- package/src/material-authoring-node.ts +68 -0
- package/src/material-authoring-schema.ts +343 -0
- package/src/material-export.ts +25 -0
- package/src/material-library-node.ts +840 -16
- package/src/material-library.ts +348 -5
- package/src/pinned-material-map.ts +43 -0
- package/src/portable-material-runtime.ts +200 -0
- package/src/portable-sampler-runtime.ts +40 -0
- package/src/portable-sampler.ts +54 -0
- package/src/primitives.ts +98 -4
- package/src/procedural-material-v2.ts +2 -1
- package/src/procedural-material-v3.ts +224 -0
- package/src/procedural-texture-v2-compiler.ts +234 -0
- package/src/procedural-texture-v3-contract.ts +437 -0
- package/src/procedural-texture-v3.ts +220 -0
- package/src/procedural-texture.ts +61 -229
- package/src/project-bundle-node.ts +106 -14
- package/src/project-bundle.ts +61 -18
- package/src/project-cli.ts +29 -17
- package/src/qa/atlas.ts +597 -0
- package/src/qa/index.ts +1 -0
- package/src/qa/material.ts +2 -0
- package/src/qa/skin-integrity.ts +291 -0
- package/src/render-service-host.ts +4 -6
- package/src/render.ts +133 -15
- package/src/skin-binding.ts +225 -0
- package/src/texture-atlas-contract.ts +558 -0
- package/src/texture-atlas-pixels.ts +456 -0
- package/src/texture-atlas.ts +185 -0
- package/src/texture-bake.ts +88 -10
- package/src/texture-resolver.ts +55 -0
- package/src/tools/materials.ts +15 -11
- package/src/tools/registry.ts +5 -15
- package/src/tools/review.ts +1 -1
- package/src/uv-data.ts +238 -0
- package/src/uv-shapes.ts +3 -0
- package/src/uv.ts +73 -128
- package/src/viewer/app.ts +37 -0
- package/src/viewer/live-panel.ts +57 -1
- package/src/viewer/material-preview-panel.ts +140 -0
- package/src/viewer/material-preview.ts +138 -0
- package/src/viewer/materials-panel.ts +34 -5
- package/src/viewer/navigation.ts +2 -0
- package/src/views/camera.ts +37 -40
- package/src/views/face-policy.ts +20 -0
- package/src/views/glb.ts +294 -17
- package/src/views/pose.ts +71 -13
- package/src/views/raster.ts +73 -46
- package/src/views/scene-copy.ts +86 -0
- package/src/views/scene-raster.ts +2 -1
- package/src/views/triangle-coverage.ts +78 -0
- package/src/workspace-node.ts +11 -3
- package/src/workspace.ts +2 -2
package/dist/build.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"entries": {
|
|
4
4
|
"worker": {
|
|
5
|
-
"identity": "sha256:
|
|
6
|
-
"engineVersion": "1.2.
|
|
5
|
+
"identity": "sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7",
|
|
6
|
+
"engineVersion": "1.2.3",
|
|
7
7
|
"toolchain": "bun@1.4.2",
|
|
8
|
-
"sourceHash": "
|
|
8
|
+
"sourceHash": "d7c02792ba7fd4ae326b2f05a3c7a2d89a42b9b7234e2b7b28273710e282b0a2",
|
|
9
9
|
"rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",
|
|
10
10
|
"dependencyHash": "bb179f2715f8fd9059898ef3a2028947e8f5f7e7979ad7eafe59d7a464c18f9f",
|
|
11
11
|
"dependencies": {
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"target": "node",
|
|
38
38
|
"file": "evaluator-worker.mjs",
|
|
39
|
-
"bundleHash": "sha256:
|
|
39
|
+
"bundleHash": "sha256:99eb47d45e4f699266159fc83631fffa9828eeccb11865fb22556c341e56375c"
|
|
40
40
|
},
|
|
41
41
|
"agent-run": {
|
|
42
|
-
"identity": "sha256:
|
|
43
|
-
"engineVersion": "1.2.
|
|
42
|
+
"identity": "sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7",
|
|
43
|
+
"engineVersion": "1.2.3",
|
|
44
44
|
"toolchain": "bun@1.4.2",
|
|
45
|
-
"sourceHash": "
|
|
45
|
+
"sourceHash": "d7c02792ba7fd4ae326b2f05a3c7a2d89a42b9b7234e2b7b28273710e282b0a2",
|
|
46
46
|
"rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",
|
|
47
47
|
"dependencyHash": "bb179f2715f8fd9059898ef3a2028947e8f5f7e7979ad7eafe59d7a464c18f9f",
|
|
48
48
|
"dependencies": {
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
},
|
|
74
74
|
"target": "node",
|
|
75
75
|
"file": "agent-run.mjs",
|
|
76
|
-
"bundleHash": "sha256:
|
|
76
|
+
"bundleHash": "sha256:33fa8302be73cae8268a1eda69376053be626a48ebaf1114e66ff30daea95e36"
|
|
77
77
|
},
|
|
78
78
|
"agent-providers": {
|
|
79
|
-
"identity": "sha256:
|
|
80
|
-
"engineVersion": "1.2.
|
|
79
|
+
"identity": "sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7",
|
|
80
|
+
"engineVersion": "1.2.3",
|
|
81
81
|
"toolchain": "bun@1.4.2",
|
|
82
|
-
"sourceHash": "
|
|
82
|
+
"sourceHash": "d7c02792ba7fd4ae326b2f05a3c7a2d89a42b9b7234e2b7b28273710e282b0a2",
|
|
83
83
|
"rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",
|
|
84
84
|
"dependencyHash": "bb179f2715f8fd9059898ef3a2028947e8f5f7e7979ad7eafe59d7a464c18f9f",
|
|
85
85
|
"dependencies": {
|
|
@@ -113,10 +113,10 @@
|
|
|
113
113
|
"bundleHash": "sha256:9d6faf03d307321bc2e3bd5ce5bdee0bbbf61e0ebed8bfebfa1fb072287b83fa"
|
|
114
114
|
},
|
|
115
115
|
"mcp": {
|
|
116
|
-
"identity": "sha256:
|
|
117
|
-
"engineVersion": "1.2.
|
|
116
|
+
"identity": "sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7",
|
|
117
|
+
"engineVersion": "1.2.3",
|
|
118
118
|
"toolchain": "bun@1.4.2",
|
|
119
|
-
"sourceHash": "
|
|
119
|
+
"sourceHash": "d7c02792ba7fd4ae326b2f05a3c7a2d89a42b9b7234e2b7b28273710e282b0a2",
|
|
120
120
|
"rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",
|
|
121
121
|
"dependencyHash": "bb179f2715f8fd9059898ef3a2028947e8f5f7e7979ad7eafe59d7a464c18f9f",
|
|
122
122
|
"dependencies": {
|
|
@@ -147,13 +147,13 @@
|
|
|
147
147
|
},
|
|
148
148
|
"target": "node",
|
|
149
149
|
"file": "mcp-server.mjs",
|
|
150
|
-
"bundleHash": "sha256:
|
|
150
|
+
"bundleHash": "sha256:0976f6cbeb0fcb605b4cd473ade1b975e21962f407fe69a1f73d6ba1be314d0d"
|
|
151
151
|
},
|
|
152
152
|
"cli": {
|
|
153
|
-
"identity": "sha256:
|
|
154
|
-
"engineVersion": "1.2.
|
|
153
|
+
"identity": "sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7",
|
|
154
|
+
"engineVersion": "1.2.3",
|
|
155
155
|
"toolchain": "bun@1.4.2",
|
|
156
|
-
"sourceHash": "
|
|
156
|
+
"sourceHash": "d7c02792ba7fd4ae326b2f05a3c7a2d89a42b9b7234e2b7b28273710e282b0a2",
|
|
157
157
|
"rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",
|
|
158
158
|
"dependencyHash": "bb179f2715f8fd9059898ef3a2028947e8f5f7e7979ad7eafe59d7a464c18f9f",
|
|
159
159
|
"dependencies": {
|
|
@@ -184,13 +184,13 @@
|
|
|
184
184
|
},
|
|
185
185
|
"target": "node",
|
|
186
186
|
"file": "cli.mjs",
|
|
187
|
-
"bundleHash": "sha256:
|
|
187
|
+
"bundleHash": "sha256:b898e224487278e0293c48c3d11d66eda08a451c34d1860ef58d8148b960c002"
|
|
188
188
|
},
|
|
189
189
|
"engine": {
|
|
190
|
-
"identity": "sha256:
|
|
191
|
-
"engineVersion": "1.2.
|
|
190
|
+
"identity": "sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7",
|
|
191
|
+
"engineVersion": "1.2.3",
|
|
192
192
|
"toolchain": "bun@1.4.2",
|
|
193
|
-
"sourceHash": "
|
|
193
|
+
"sourceHash": "d7c02792ba7fd4ae326b2f05a3c7a2d89a42b9b7234e2b7b28273710e282b0a2",
|
|
194
194
|
"rendererSourceHash": "27927c48b377f7694251a76c0cecd05216fcbbb8a7d03e8bf2bd681dabb5573a",
|
|
195
195
|
"dependencyHash": "bb179f2715f8fd9059898ef3a2028947e8f5f7e7979ad7eafe59d7a464c18f9f",
|
|
196
196
|
"dependencies": {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
},
|
|
222
222
|
"target": "node",
|
|
223
223
|
"file": "mcp-engine.mjs",
|
|
224
|
-
"bundleHash": "sha256:
|
|
224
|
+
"bundleHash": "sha256:52ef387a8baa1d0164648299fb89af8197c1a1e2e7401bf6de2edf030dfd2867"
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
}
|