castle-web-cli 0.4.176 → 0.4.178
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/dist/agent-failures.js +4 -4
- package/dist/agent-prompts.d.ts +9 -1
- package/dist/agent-prompts.js +15 -2
- package/dist/agent.js +98 -34
- package/dist/deckLocatorShape.d.ts +16 -0
- package/dist/deckLocatorShape.js +28 -0
- package/dist/editorConfig.d.ts +1 -0
- package/dist/serve.js +3 -1
- package/dist/shell/assets/index-C890YbXX.css +1 -0
- package/dist/shell/assets/index-z6shfW4S.js +447 -0
- package/dist/shell/index.html +2 -2
- package/kits/base/CLAUDE.md +3 -0
- package/kits/base/castle.json +21 -11
- package/kits/physics-2d/CLAUDE.md +41 -8
- package/kits/physics-2d/behaviors/AnalogStick.jsx +80 -4
- package/kits/physics-2d/behaviors/Slingshot.jsx +14 -2
- package/kits/physics-2d/behaviors/Sprite.jsx +17 -8
- package/kits/physics-2d/behaviors/Style.jsx +270 -0
- package/kits/physics-2d/behaviors/Text.jsx +213 -0
- package/kits/physics-2d/behaviors/Video.jsx +8 -4
- package/kits/physics-2d/blueprints/text.scene +12 -0
- package/kits/physics-2d/castle.json +10 -6
- package/kits/physics-2d/editors/SceneEditor.jsx +41 -0
- package/kits/physics-2d/editors/deckFont.js +65 -55
- package/kits/physics-2d/editors/fontPreview.js +6 -38
- package/kits/physics-2d/editors/pixelInspector.jsx +4 -154
- package/kits/physics-2d/engine/blueprint.js +28 -0
- package/kits/physics-2d/engine/fonts.js +125 -23
- package/kits/physics-2d/engine/paletteField.jsx +235 -0
- package/kits/physics-2d/engine/physics/controls.js +5 -81
- package/kits/physics-2d/engine/popoverDismiss.js +17 -0
- package/kits/physics-2d/engine/scene.js +12 -3
- package/kits/physics-2d/engine/spriteField.jsx +2 -15
- package/kits/physics-2d/engine/tap.js +90 -0
- package/kits/physics-2d/engine/text.js +94 -0
- package/kits/physics-2d/engine/ui.jsx +20 -0
- package/kits/physics-2d/engine/ui.module.css +10 -2
- package/kits/physics-3d/castle.json +4 -2
- package/package.json +7 -3
- package/dist/shell/assets/index-BWOEraUy.js +0 -447
- package/dist/shell/assets/index-BkVF1OXc.css +0 -1
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"new": "New scene",
|
|
37
37
|
"icon": "globe",
|
|
38
38
|
"editor": "kit",
|
|
39
|
-
"data": true
|
|
39
|
+
"data": true,
|
|
40
|
+
"width": 650
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
"ext": ".pxmodel",
|
|
@@ -44,7 +45,8 @@
|
|
|
44
45
|
"new": "New model",
|
|
45
46
|
"icon": "cube-transparent",
|
|
46
47
|
"editor": "kit",
|
|
47
|
-
"data": true
|
|
48
|
+
"data": true,
|
|
49
|
+
"width": 480
|
|
48
50
|
},
|
|
49
51
|
{
|
|
50
52
|
"ext": ".jsx",
|
package/package.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "castle-web-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.178",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/castle-xyz/castle-experimental-web.git"
|
|
7
|
+
},
|
|
4
8
|
"type": "module",
|
|
5
9
|
"bin": {
|
|
6
|
-
"castle-web": "
|
|
10
|
+
"castle-web": "dist/index.js"
|
|
7
11
|
},
|
|
8
12
|
"scripts": {
|
|
9
13
|
"build": "rm -rf dist && tsc && chmod +x dist/index.js && vite build && cp -R src/castle-host dist/castle-host && chmod -R u+w kits 2>/dev/null; rm -rf kits && cp -R ../kits kits && chmod -R u+w kits && rm -rf kits/*/imports",
|
|
10
14
|
"dev": "tsc --watch",
|
|
11
|
-
"check": "node ../scripts/sync-tokens.mjs --check && node ../scripts/tests/icon-registry.mjs && eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
|
|
15
|
+
"check": "node ../scripts/sync-tokens.mjs --check && node ../scripts/tests/icon-registry.mjs && node ../scripts/tests/sandbox-graphql-fields.mjs && eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
|
|
12
16
|
},
|
|
13
17
|
"jscpd": {
|
|
14
18
|
"path": [
|