@instruktlabs/kiln 1.1.0 → 1.2.1
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 +28 -0
- package/dist/agent-run.mjs +224 -151
- package/dist/build.json +22 -22
- package/dist/cli.mjs +229 -151
- package/dist/mcp-engine.mjs +400 -147
- package/dist/mcp-server.mjs +6 -6
- package/dist/viewer/app.js +180 -180
- package/dist/viewer/chat.html +183 -183
- package/docs/sdk.md +23 -0
- package/docs/tools-operations.md +1529 -0
- package/lib/asset-widget-uri.d.ts +1 -1
- package/lib/asset-widget-uri.js +1 -1
- package/lib/discovery/index.d.ts +1 -1
- package/lib/discovery/index.js +2 -2
- package/lib/discovery/service.d.ts +3 -1
- package/lib/discovery/service.js +4 -2
- package/lib/engine-identity.d.ts +1 -1
- package/lib/engine-identity.js +1 -1
- package/lib/mcp-core.d.ts +2 -1
- package/lib/mcp-core.js +1 -0
- package/lib/mcp-engine.d.ts +2 -0
- package/lib/mcp-engine.js +8 -3
- package/lib/tools/discovery.d.ts +1 -1
- package/lib/tools/discovery.js +11 -9
- package/lib/tools/materials.d.ts +1 -1
- package/lib/tools/materials.js +44 -14
- package/lib/tools/operation-contract.d.ts +8 -0
- package/lib/tools/operation-contract.js +37 -0
- package/lib/tools/operations.d.ts +3 -0
- package/lib/tools/operations.js +154 -0
- package/lib/tools/registry.d.ts +7 -4
- package/lib/tools/registry.js +73 -24
- package/package.json +2 -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/src/asset-widget-uri.ts +1 -1
- package/src/discovery/index.ts +2 -0
- package/src/discovery/service.ts +3 -1
- package/src/engine-identity.ts +1 -1
- package/src/generated/mcp-manifest.json +4 -4
- package/src/mcp-core.ts +3 -0
- package/src/mcp-engine.ts +11 -1
- package/src/tools/discovery.ts +20 -10
- package/src/tools/materials.ts +59 -15
- package/src/tools/operation-contract.ts +51 -0
- package/src/tools/operations.ts +177 -0
- package/src/tools/registry.ts +102 -21
- package/src/viewer/chat-app.ts +6 -2
- package/src/viewer/glb-loader.ts +78 -0
- package/src/viewer/scene.ts +9 -26
package/dist/mcp-server.mjs
CHANGED
|
@@ -1749,13 +1749,13 @@ var mcp_manifest_default = {
|
|
|
1749
1749
|
},
|
|
1750
1750
|
_meta: {
|
|
1751
1751
|
ui: {
|
|
1752
|
-
resourceUri: "ui://kiln/asset-
|
|
1752
|
+
resourceUri: "ui://kiln/asset-v6.html",
|
|
1753
1753
|
visibility: [
|
|
1754
1754
|
"model"
|
|
1755
1755
|
]
|
|
1756
1756
|
},
|
|
1757
|
-
"openai/outputTemplate": "ui://kiln/asset-
|
|
1758
|
-
"ui/resourceUri": "ui://kiln/asset-
|
|
1757
|
+
"openai/outputTemplate": "ui://kiln/asset-v6.html",
|
|
1758
|
+
"ui/resourceUri": "ui://kiln/asset-v6.html"
|
|
1759
1759
|
},
|
|
1760
1760
|
outputSchema: {
|
|
1761
1761
|
type: "object",
|
|
@@ -2034,7 +2034,7 @@ var mcp_manifest_default = {
|
|
|
2034
2034
|
],
|
|
2035
2035
|
resources: [
|
|
2036
2036
|
{
|
|
2037
|
-
uri: "ui://kiln/asset-
|
|
2037
|
+
uri: "ui://kiln/asset-v6.html",
|
|
2038
2038
|
name: "kiln-asset-viewer",
|
|
2039
2039
|
mimeType: "text/html;profile=mcp-app",
|
|
2040
2040
|
description: "Interactive Kiln asset viewer and downloads",
|
|
@@ -2082,10 +2082,10 @@ import {
|
|
|
2082
2082
|
import { readFile } from "node:fs/promises";
|
|
2083
2083
|
|
|
2084
2084
|
// src/asset-widget-uri.ts
|
|
2085
|
-
var KILN_ASSET_WIDGET_URI = "ui://kiln/asset-
|
|
2085
|
+
var KILN_ASSET_WIDGET_URI = "ui://kiln/asset-v6.html";
|
|
2086
2086
|
|
|
2087
2087
|
// src/engine-identity.ts
|
|
2088
|
-
var ENGINE_VERSION = "1.1
|
|
2088
|
+
var ENGINE_VERSION = "1.2.1";
|
|
2089
2089
|
var ENGINE_INSTALL_URL = new URL("../", import.meta.url).href;
|
|
2090
2090
|
|
|
2091
2091
|
// src/requirements-json.ts
|