@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.
Files changed (56) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +28 -0
  4. package/dist/agent-run.mjs +224 -151
  5. package/dist/build.json +22 -22
  6. package/dist/cli.mjs +229 -151
  7. package/dist/mcp-engine.mjs +400 -147
  8. package/dist/mcp-server.mjs +6 -6
  9. package/dist/viewer/app.js +180 -180
  10. package/dist/viewer/chat.html +183 -183
  11. package/docs/sdk.md +23 -0
  12. package/docs/tools-operations.md +1529 -0
  13. package/lib/asset-widget-uri.d.ts +1 -1
  14. package/lib/asset-widget-uri.js +1 -1
  15. package/lib/discovery/index.d.ts +1 -1
  16. package/lib/discovery/index.js +2 -2
  17. package/lib/discovery/service.d.ts +3 -1
  18. package/lib/discovery/service.js +4 -2
  19. package/lib/engine-identity.d.ts +1 -1
  20. package/lib/engine-identity.js +1 -1
  21. package/lib/mcp-core.d.ts +2 -1
  22. package/lib/mcp-core.js +1 -0
  23. package/lib/mcp-engine.d.ts +2 -0
  24. package/lib/mcp-engine.js +8 -3
  25. package/lib/tools/discovery.d.ts +1 -1
  26. package/lib/tools/discovery.js +11 -9
  27. package/lib/tools/materials.d.ts +1 -1
  28. package/lib/tools/materials.js +44 -14
  29. package/lib/tools/operation-contract.d.ts +8 -0
  30. package/lib/tools/operation-contract.js +37 -0
  31. package/lib/tools/operations.d.ts +3 -0
  32. package/lib/tools/operations.js +154 -0
  33. package/lib/tools/registry.d.ts +7 -4
  34. package/lib/tools/registry.js +73 -24
  35. package/package.json +2 -1
  36. package/plugin.json +1 -1
  37. package/plugins/kiln-engine/.claude-plugin/plugin.json +1 -1
  38. package/plugins/kiln-engine/README.md +3 -3
  39. package/plugins/kiln-engine/package-provenance.json +6 -6
  40. package/plugins/kiln-engine/plugin.json +1 -1
  41. package/plugins/kiln-engine/runtime.json +1 -1
  42. package/src/asset-widget-uri.ts +1 -1
  43. package/src/discovery/index.ts +2 -0
  44. package/src/discovery/service.ts +3 -1
  45. package/src/engine-identity.ts +1 -1
  46. package/src/generated/mcp-manifest.json +4 -4
  47. package/src/mcp-core.ts +3 -0
  48. package/src/mcp-engine.ts +11 -1
  49. package/src/tools/discovery.ts +20 -10
  50. package/src/tools/materials.ts +59 -15
  51. package/src/tools/operation-contract.ts +51 -0
  52. package/src/tools/operations.ts +177 -0
  53. package/src/tools/registry.ts +102 -21
  54. package/src/viewer/chat-app.ts +6 -2
  55. package/src/viewer/glb-loader.ts +78 -0
  56. package/src/viewer/scene.ts +9 -26
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kiln",
3
3
  "description": "Build and revise 3D assets with your coding agent. Write JavaScript, inspect selected views, edit saved source revisions, and export GLB files locally.",
4
- "version": "1.1.0",
4
+ "version": "1.2.1",
5
5
  "author": {
6
6
  "name": "Matthew Kissinger"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kiln",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "Create, review, save, and refine procedural 3D assets with portable source and GLB collections.",
5
5
  "author": {
6
6
  "name": "Matthew Kissinger"
package/CHANGELOG.md CHANGED
@@ -5,6 +5,34 @@ Source releases and installable package publication are separate milestones.
5
5
  Published versions and tags are recorded by the npm registry; changing this file
6
6
  does not publish a package.
7
7
 
8
+ ## 1.2.1 (unpublished)
9
+
10
+ - Load embedded viewer textures through the browser image path, retaining
11
+ pixels, sampler settings and UV transforms under restrictive MCP Apps CSP.
12
+ This uses the shared viewer and existing presentation tool; local and hosted
13
+ tool counts remain unchanged.
14
+ - Reject failed texture decoding instead of silently showing white geometry.
15
+ The chat component labels its saved-preview fallback and can recover when
16
+ another asset is presented. Advance the widget resource URI to invalidate
17
+ cached component bytes.
18
+ - Generate the MCP manifest before building sibling runtimes so one complete
19
+ build keeps their identities consistent after a package or widget update.
20
+
21
+ Actual ChatGPT-host acceptance and hosted production deployment remain separate
22
+ from local browser regression evidence and package publication.
23
+
24
+ ## 1.2.0
25
+
26
+ - Add an opt-in named MCP operation presentation generated from the shared
27
+ registry, including consolidated asset search, material browsing and typed
28
+ material creation. Existing grouped local tools remain the default.
29
+ - Share action requirements with schema generation and reject unclassified
30
+ fields/actions instead of silently dropping required inputs.
31
+ - Omit unsupported renderer controls from the named presentation and use its
32
+ available tool names in capability guidance and resource-recovery messages.
33
+
34
+ This additive SDK contract does not establish production-hosting readiness.
35
+
8
36
  ## 1.1.0
9
37
 
10
38
  Existing-project setup, public host interfaces and simpler onboarding. Hosted