@kition/scene-darwin-arm64 0.0.0-stage → 0.1.0

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/README.md CHANGED
@@ -1,3 +1,13 @@
1
- # Temporary Holding Version
1
+ # Kition Scene for darwin-arm64
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The headless executable of Kition Scene for darwin-arm64, with the kit's `kit.json`. [`kition`](https://github.com/KitionAI/kition-sdk/blob/main/docs/sdk/cli.md) installs it (`kition kit install scene`); it is not meant to be installed by hand.
4
+
5
+ Kition Scene: a 3D scene editor, for people and AI agents.
6
+
7
+ GitHub: https://github.com/KitionAI/kition-scene · The editor: [`@kition/scene`](https://www.npmjs.com/package/@kition/scene)
8
+
9
+ Part of Kition: https://github.com/KitionAI
10
+
11
+ ## License
12
+
13
+ Apache-2.0 ([LICENSE](https://github.com/KitionAI/kition-scene/blob/main/LICENSE)).
package/kit.json ADDED
@@ -0,0 +1,282 @@
1
+ {
2
+ "$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
3
+ "khp": "1.0",
4
+ "level": "basic",
5
+ "id": "kit.scene",
6
+ "name": "Scene",
7
+ "version": "0.1.0",
8
+ "license": "Apache-2.0",
9
+ "distribution": "plugin",
10
+ "engine": {
11
+ "runtime": "rust-wasm",
12
+ "module": "kition_scene_kit",
13
+ "class": "SceneDocument",
14
+ "contract": 2,
15
+ "crate": "kition-scene-kit",
16
+ "editorState": ["/selection", "/view", "/mode", "/transform", "/tool", "/animation/frame", "/animation/selectedKeyFrames", "keyedNow"]
17
+ },
18
+ "formats": [
19
+ {
20
+ "id": "kscene",
21
+ "extensions": [
22
+ "kscene"
23
+ ],
24
+ "mime": "application/vnd.kition.scene+zip",
25
+ "role": "edit"
26
+ }
27
+ ],
28
+ "creates": [
29
+ {
30
+ "id": "scene",
31
+ "extension": "kscene",
32
+ "baseName": "Untitled scene",
33
+ "size": {
34
+ "width": 1280,
35
+ "height": 720
36
+ }
37
+ }
38
+ ],
39
+ "exports": [
40
+ {
41
+ "extension": "glb",
42
+ "mime": "model/gltf-binary",
43
+ "command": "file.export"
44
+ },
45
+ {
46
+ "extension": "gltf",
47
+ "mime": "model/gltf+json",
48
+ "command": "file.export"
49
+ },
50
+ {
51
+ "extension": "obj",
52
+ "mime": "model/obj",
53
+ "command": "file.export"
54
+ },
55
+ {
56
+ "extension": "stl",
57
+ "mime": "model/stl",
58
+ "command": "file.export"
59
+ },
60
+ {
61
+ "extension": "fbx",
62
+ "mime": "application/octet-stream",
63
+ "command": "file.export"
64
+ },
65
+ {
66
+ "extension": "usda",
67
+ "mime": "model/vnd.usda",
68
+ "command": "file.export"
69
+ },
70
+ {
71
+ "extension": "usdc",
72
+ "mime": "application/octet-stream",
73
+ "command": "file.export"
74
+ },
75
+ {
76
+ "extension": "usdz",
77
+ "mime": "model/vnd.usdz+zip",
78
+ "command": "file.export"
79
+ },
80
+ {
81
+ "extension": "png",
82
+ "mime": "image/png",
83
+ "command": "file.export"
84
+ }
85
+ ],
86
+ "imports": [
87
+ {
88
+ "extensions": [
89
+ "glb",
90
+ "gltf",
91
+ "obj",
92
+ "stl",
93
+ "fbx",
94
+ "usd",
95
+ "usda",
96
+ "usdc",
97
+ "usdz",
98
+ "blend"
99
+ ],
100
+ "action": "place"
101
+ }
102
+ ],
103
+ "files": {
104
+ "read": [
105
+ "glb",
106
+ "gltf",
107
+ "obj",
108
+ "stl",
109
+ "fbx",
110
+ "usd",
111
+ "usda",
112
+ "usdc",
113
+ "usdz",
114
+ "blend",
115
+ "png",
116
+ "jpg",
117
+ "jpeg"
118
+ ],
119
+ "create": [
120
+ "glb",
121
+ "gltf",
122
+ "obj",
123
+ "stl",
124
+ "fbx",
125
+ "usda",
126
+ "usdc",
127
+ "usdz",
128
+ "png"
129
+ ]
130
+ },
131
+ "capabilities": [
132
+ "engine-tools",
133
+ "lent-files",
134
+ "files",
135
+ "kdm"
136
+ ],
137
+ "extras": {
138
+ "traceStep": {
139
+ "params": [
140
+ "budgetMs: f64"
141
+ ],
142
+ "returns": "string",
143
+ "description": "Advances the path-traced render started with render.trace.start by about budgetMs milliseconds: { samples, target, fraction, done, width, height }."
144
+ },
145
+ "traceShard": {
146
+ "params": [
147
+ "json: string"
148
+ ],
149
+ "returns": "string",
150
+ "description": "Starts tracing one shard of a render split across workers (every count-th row from row index): { index, count, samples, bounces, denoise, seed, frame }; answers its progress as JSON."
151
+ },
152
+ "traceSums": {
153
+ "params": [],
154
+ "returns": "Uint8Array",
155
+ "description": "The rows of the render under way so far (sample counts and summed radiance, albedo, and normal), for traceMerge."
156
+ },
157
+ "traceMerge": {
158
+ "params": [
159
+ "sums: Uint8Array"
160
+ ],
161
+ "returns": "string",
162
+ "description": "Merges a shard's traceSums into the render started with render.trace.start { collect: true }; answers its progress as JSON. The merged picture is the single tracer's."
163
+ },
164
+ "traceSnapshot": {
165
+ "params": [],
166
+ "returns": "Uint8Array",
167
+ "description": "The scene as it is now, as .kscene bytes, for trace workers to open (nothing is marked saved)."
168
+ },
169
+ "traceImage": {
170
+ "params": [],
171
+ "returns": "Uint8Array",
172
+ "description": "The path-traced render so far, as PNG bytes (once done, through the compositing group when compositing is on)."
173
+ },
174
+ "renderImage": {
175
+ "params": [
176
+ "samples: u32"
177
+ ],
178
+ "returns": "Uint8Array",
179
+ "description": "The scene rendered through its camera at the render size and through its compositing group when compositing is on, as PNG bytes (samples per pixel side, 1 to 4)."
180
+ },
181
+ "imageBytes": {
182
+ "params": [
183
+ "hash: string"
184
+ ],
185
+ "returns": "Uint8Array",
186
+ "description": "A material image's encoded bytes by hash (empty when the scene has no such image)."
187
+ },
188
+ "imagePreview": {
189
+ "params": [
190
+ "hash: string",
191
+ "side: u32"
192
+ ],
193
+ "returns": "Uint8Array",
194
+ "description": "An image of the scene as a PNG at most side pixels on its longer side (HDR clipped), for thumbnails; empty when there is no such image."
195
+ },
196
+ "glScene": {
197
+ "params": [],
198
+ "returns": "string",
199
+ "description": "One frame of the editor's GPU viewport as JSON: the view and its matrices, shading, world, lights, drawn objects (world matrix, material, geometry key, selection class), overlays (edit selection, selected origins, gizmo lines, peers), and whether the GPU viewport can show this state."
200
+ },
201
+ "glMesh": {
202
+ "params": [
203
+ "id: u32",
204
+ "raw: bool",
205
+ "tangents: bool"
206
+ ],
207
+ "returns": "Uint8Array",
208
+ "description": "One object's geometry for the GPU viewport: header KGL1 and counts, then per triangle corner position, normal, uv, face index (and tangents), the mesh's vertex positions, and its edges."
209
+ }
210
+ },
211
+ "ui": {
212
+ "mode": "embedded",
213
+ "display": "menus",
214
+ "entry": "ui/index.html",
215
+ "menus": [
216
+ "File",
217
+ "Edit",
218
+ "View",
219
+ "Add",
220
+ "Object",
221
+ "Mesh",
222
+ "Modifier",
223
+ "Material",
224
+ "Render"
225
+ ],
226
+ "layout": "canvas",
227
+ "brand": {
228
+ "light": "#9a5a22",
229
+ "dark": "#e3a46b"
230
+ }
231
+ },
232
+ "agent": {
233
+ "prefix": "scene",
234
+ "tools": "document",
235
+ "exclude": [
236
+ "view.scheme",
237
+ "view.state",
238
+ "view.restore"
239
+ ],
240
+ "drafts": true,
241
+ "objectModel": true,
242
+ "layout": false,
243
+ "render": "file.render",
244
+ "describe": {
245
+ "noun": "3D scene",
246
+ "fileTypes": ".kscene",
247
+ "reports": "its objects (meshes, curves, texts, lattices, armatures, lights, cameras, empties) with transforms, materials, modifiers, constraints, and animation, the images, and the frame range; not the editor's selection, mode, current frame or viewport",
248
+ "covers": "adding primitives, curves, and text, transforms, parenting, edit-mode modeling (extrude, inset, bevel, loop cut, knife, dissolve, bridge, bisect, spin), sculpting (sculpt.stroke, sculpt.gesture, dynamic topology, multires, face sets), modifiers (including shrinkwrap and lattice), seams and UV unwrapping, image and normal-map textures, materials, lights, cameras, armatures, skinning, constraints and IK, shape keys, keyframe animation with drivers, actions, and keying sets, rigid body and cloth physics with constraints and force fields, particles and hair, Geometry Nodes (node.*), fast and path-traced rendering with a compositor (compositor.*), glTF/FBX/USD (usda, usdc, usdz)/OBJ/STL import and export, and .blend import; rotations are in degrees and Z is up",
249
+ "queries": "`cube`, `extrude`, or `modifier`",
250
+ "example": "object.addCube"
251
+ }
252
+ },
253
+ "headless": {
254
+ "executable": "kition-scene",
255
+ "protocol": "kition-kit/1",
256
+ "features": [
257
+ "view.describe",
258
+ "file.check",
259
+ "model.open",
260
+ "model.import",
261
+ "model.export",
262
+ "model.save",
263
+ "model.describe",
264
+ "model.batch",
265
+ "file.identity"
266
+ ]
267
+ },
268
+ "model": {
269
+ "schema": "crates/kdm/kdm-model/model/schema.json",
270
+ "schemaVersion": 1
271
+ },
272
+ "collaboration": {
273
+ "merge": [
274
+ "structured"
275
+ ],
276
+ "leases": [],
277
+ "serverValidation": false
278
+ },
279
+ "objectModel": {
280
+ "namespace": "Scene"
281
+ }
282
+ }
package/kition-scene ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,50 @@
1
1
  {
2
2
  "name": "@kition/scene-darwin-arm64",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Kition Scene: a 3D scene editor, for people and AI agents (darwin-arm64 executable)",
5
+ "keywords": [
6
+ "kition",
7
+ "kit",
8
+ "khp",
9
+ "scene",
10
+ "headless",
11
+ "mcp",
12
+ "ai-agents"
13
+ ],
14
+ "homepage": "https://github.com/KitionAI/kition-scene",
15
+ "bugs": {
16
+ "url": "https://github.com/KitionAI/kition-scene/issues"
17
+ },
18
+ "license": "Apache-2.0",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/KitionAI/kition-scene.git"
22
+ },
23
+ "os": [
24
+ "darwin"
25
+ ],
26
+ "cpu": [
27
+ "arm64"
28
+ ],
29
+ "files": [
30
+ "README.md",
31
+ "kit.json",
32
+ "kition-scene"
33
+ ],
34
+ "kition": {
35
+ "kit": "scene",
36
+ "id": "kit.scene",
37
+ "name": "Scene",
38
+ "version": "0.1.0",
39
+ "role": "headless",
40
+ "platform": "darwin-arm64",
41
+ "protocol": "kition-kit/1",
42
+ "extensions": [
43
+ "kscene"
44
+ ],
45
+ "views": [],
46
+ "build": {
47
+ "commit": "4d06faf014535fbeaf189b7e3f26736041839f50"
48
+ }
49
+ }
50
+ }