cozyclay 1.1.0 → 1.3.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/CHANGELOG.md +85 -0
- package/README.md +91 -25
- package/THIRD_PARTY_NOTICES.md +68 -1
- package/bin/cozyclay.mjs +71 -8
- package/dist/CNAME +1 -0
- package/dist/ai-camera-control/index.html +406 -0
- package/dist/app/index.html +57 -0
- package/dist/assets/app-B3U5aut1.js +4811 -0
- package/dist/assets/app-BrRF0wso.css +1 -0
- package/dist/assets/vision_bundle-jFkh-fIS.js +41 -0
- package/dist/favicon.ico +0 -0
- package/dist/fonts/InstrumentSerif-OFL.txt +93 -0
- package/dist/fonts/Inter-OFL.txt +92 -0
- package/dist/fonts/README.md +15 -0
- package/dist/icons/apple-touch-icon.png +0 -0
- package/dist/icons/icon-192.png +0 -0
- package/dist/icons/icon-32.png +0 -0
- package/dist/icons/icon-512.png +0 -0
- package/dist/icons/icon-maskable-512.png +0 -0
- package/dist/index.html +450 -5
- package/dist/manifest.webmanifest +42 -0
- package/dist/media/cozyclay-demo-poster.jpg +0 -0
- package/dist/media/cozyclay-logo.png +0 -0
- package/dist/robots.txt +4 -0
- package/dist/sitemap.xml +15 -0
- package/dist/sw.js +127 -0
- package/mcp/LIVE-PROTOCOL.md +63 -0
- package/mcp/README.md +142 -0
- package/mcp/ardy-prompts.mjs +170 -0
- package/mcp/live-hub.mjs +105 -0
- package/mcp/package.json +24 -0
- package/mcp/server.mjs +1394 -0
- package/package.json +122 -78
- package/src/App.jsx +4235 -1047
- package/src/ardy/client.js +5 -4
- package/src/ardy/cskel27.js +7 -2
- package/src/ardy/ik.js +25 -15
- package/src/ardy/mp4-duration.js +102 -0
- package/src/ardy/npz.js +64 -3
- package/src/ardy/playback.js +31 -1
- package/src/ardy/prompt-clips.js +7 -2
- package/src/ardy/retime.js +211 -0
- package/src/ardy/timeline-coordinates.js +24 -0
- package/src/ardy/timeline.jsx +650 -70
- package/src/ardy/to-cskel27.js +34 -12
- package/src/ardy/trim.js +33 -0
- package/src/ardy/waypoints.js +14 -9
- package/src/asset-pane.jsx +36 -0
- package/src/camera-block.js +60 -0
- package/src/camera-follow.js +49 -10
- package/src/camera-rail-schedule.js +176 -0
- package/src/controls.jsx +16 -2
- package/src/cuts.js +184 -0
- package/src/dualview.jsx +14 -8
- package/src/generation/client.js +56 -0
- package/src/generation/session.js +47 -0
- package/src/generation/shot-spec.js +40 -0
- package/src/generation/use-generation.js +55 -0
- package/src/hierarchy-model.js +104 -30
- package/src/hierarchy-panel.jsx +306 -26
- package/src/live-control.js +122 -0
- package/src/locale-toggle.jsx +18 -0
- package/src/locale.js +34 -0
- package/src/main.jsx +5 -0
- package/src/matte-editor.js +543 -0
- package/src/matte.js +503 -0
- package/src/multimodel-ingest.js +344 -0
- package/src/object-catalog.jsx +32 -3
- package/src/object-gizmo.jsx +43 -15
- package/src/planview.jsx +208 -89
- package/src/pose-extract/browser.js +42 -0
- package/src/pose-extract/detector.js +75 -0
- package/src/pose-extract/fit.js +194 -0
- package/src/pose-extract/index.js +56 -0
- package/src/pose-extract/keyframes.js +74 -0
- package/src/pose-extract/landmarks.js +162 -0
- package/src/pose-extract/take.js +87 -0
- package/src/pose-extract/video-frames.js +91 -0
- package/src/pose-thumbs.js +152 -0
- package/src/poses.js +114 -0
- package/src/posestudio.jsx +434 -22
- package/src/project-browser.jsx +135 -0
- package/src/project.js +289 -0
- package/src/props.jsx +69 -3
- package/src/pwa.js +42 -0
- package/src/result-modal.jsx +124 -0
- package/src/room.jsx +14 -35
- package/src/scene-asset-cache.js +125 -0
- package/src/scene-assets.js +288 -0
- package/src/scene-objects.js +245 -7
- package/src/scenes.js +404 -0
- package/src/shot-authoring.js +246 -77
- package/src/shot.js +8 -4
- package/src/styles.css +2151 -183
- package/src/ui.jsx +54 -5
- package/tools/ardy/BRIDGE.md +73 -6
- package/tools/ardy/README.md +64 -5
- package/tools/ardy/bridge.mjs +146 -390
- package/tools/ardy/bvh-cskel27.mjs +1209 -0
- package/tools/ardy/cclay_constrained_generate.py +561 -0
- package/tools/ardy/cclay_motion_edit.py +74 -9
- package/tools/ardy/cclay_sequence_generate.py +117 -7
- package/tools/ardy/cclay_worker.py +304 -0
- package/tools/ardy/extract.mjs +367 -0
- package/tools/ardy/footage.mjs +462 -0
- package/tools/ardy/merge-text-encoder.py +160 -0
- package/tools/ardy/npz.mjs +74 -9
- package/tools/ardy/run-local.mjs +233 -0
- package/tools/ardy/run-on-box.sh +25 -0
- package/tools/ardy/run-sequence-on-box.sh +15 -0
- package/tools/ardy/runners/index.mjs +23 -0
- package/tools/ardy/runners/local.mjs +452 -0
- package/tools/ardy/runners/proc.mjs +125 -0
- package/tools/ardy/runners/remote.mjs +252 -0
- package/tools/ardy/setup-local.mjs +189 -0
- package/tools/ardy/setup-text-encoder-on-box.sh +93 -0
- package/tools/ardy/setup-text-encoder.py +296 -0
- package/tools/generation/README.md +29 -0
- package/tools/generation/bridge.mjs +149 -0
- package/tools/generation/job-store.mjs +51 -0
- package/tools/generation/providers/kling.mjs +76 -0
- package/tools/generation/providers/runway.mjs +101 -0
- package/tools/generation/providers/seedance.mjs +87 -0
- package/tools/generation/providers/shared.mjs +49 -0
- package/tools/generation/providers/veo.mjs +84 -0
- package/tools/metrics/archive-traffic.mjs +138 -0
- package/dist/assets/index-BW_S1YRy.js +0 -4395
- package/dist/assets/index-nRmmJgap.css +0 -1
- package/tools/ardy/__pycache__/cclay_sequence_generate.cpython-313.pyc +0 -0
- package/tools/ardy/out/gen-1786443326924-c6019e-generated.npz +0 -0
- package/tools/ardy/out/gen-1786443609325-0053db-generated.npz +0 -0
- package/tools/ardy/out/gen-1786443835628-749ed1-generated.npz +0 -0
- package/tools/ardy/out/gen-1786462605247-03cb19-generated.npz +0 -0
- package/tools/qa-browser.mjs +0 -84
- package/tools/qa-crop3.mjs +0 -22
- package/tools/qa-playview.mjs +0 -49
- package/tools/qa-screenshot.mjs +0 -24
- package/tools/qa-visual.mjs +0 -51
package/package.json
CHANGED
|
@@ -1,80 +1,124 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
2
|
+
"name": "cozyclay",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Open source previs software in the browser: block a scene, pose characters, author camera moves and cuts, then take the same shots to an AI video model.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "node tools/dev-full.mjs --host 127.0.0.1 --port 5180",
|
|
7
|
+
"dev:ui": "vite",
|
|
8
|
+
"build": "vite build && cp -r public/fonts dist/",
|
|
9
|
+
"test:lifecycle": "node test/process/verify-lifecycle.mjs",
|
|
10
|
+
"test:hierarchy": "node test/verify-hierarchy.mjs",
|
|
11
|
+
"test:history": "node test/verify-history.mjs",
|
|
12
|
+
"test:scene-objects": "node test/verify-scene-objects.mjs",
|
|
13
|
+
"test:scene-assets": "node test/verify-scene-assets.mjs",
|
|
14
|
+
"test:matte": "node test/verify-matte.mjs",
|
|
15
|
+
"test:matte-editor": "node test/verify-matte-editor.mjs",
|
|
16
|
+
"test:scenes": "node test/verify-scenes.mjs",
|
|
17
|
+
"test:camera-move": "node test/verify-camera-move.mjs",
|
|
18
|
+
"test:cuts": "node test/verify-cuts.mjs",
|
|
19
|
+
"test:objects": "node tools/qa-browser.mjs -- node test/verify-object-gizmo.mjs",
|
|
20
|
+
"test:theme": "node test/verify-theme.mjs",
|
|
21
|
+
"test:appearance": "node test/verify-appearance.mjs",
|
|
22
|
+
"test:layout": "node test/verify-layout.mjs",
|
|
23
|
+
"test:timeline-camera": "node test/verify-timeline-camera.mjs",
|
|
24
|
+
"test:timeline-shots": "node test/verify-timeline-shots.mjs",
|
|
25
|
+
"preview": "vite preview",
|
|
26
|
+
"ardy:rest": "node tools/ardy/extract-rest.mjs",
|
|
27
|
+
"ardy:pose": "node tools/ardy/pose-to-npz.mjs",
|
|
28
|
+
"test:ardy": "for t in fk rest pose-shape fill npz compare-npz playback-skinning sequence-bridge; do node test/ardy/verify-$t.mjs || exit 1; done && node test/ardy/verify-browser-motion.mjs && node test/ik/verify-ik.mjs",
|
|
29
|
+
"test:ik-browser": "node tools/qa-browser.mjs -- node test/verify-ik-browser.mjs",
|
|
30
|
+
"bridge": "node tools/ardy/bridge.mjs",
|
|
31
|
+
"ardy:setup": "node tools/ardy/setup-local.mjs",
|
|
32
|
+
"dev:full": "node tools/dev-full.mjs --host 127.0.0.1 --port 5180",
|
|
33
|
+
"qa:browser": "node tools/qa-browser.mjs --",
|
|
34
|
+
"test:shot-authoring": "node test/verify-shot-authoring.mjs",
|
|
35
|
+
"test:camera-follow": "node test/verify-camera-follow.mjs",
|
|
36
|
+
"test:pose-extract": "node test/verify-pose-extract.mjs",
|
|
37
|
+
"test:pwa": "node test/verify-pwa.mjs",
|
|
38
|
+
"test:localization": "node test/verify-korean-ui.mjs",
|
|
39
|
+
"test:korean-ui": "node test/verify-korean-ui.mjs",
|
|
40
|
+
"prepack": "npm run build",
|
|
41
|
+
"metrics:traffic": "node tools/metrics/archive-traffic.mjs",
|
|
42
|
+
"test:multimodel": "node test/verify-multimodel-ingest.mjs",
|
|
43
|
+
"test:video-frames": "node test/verify-video-frames.mjs",
|
|
44
|
+
"test:retime": "node test/verify-retime.mjs",
|
|
45
|
+
"test:trim": "node test/verify-trim.mjs",
|
|
46
|
+
"test:footage-bridge": "node test/verify-footage-bridge.mjs",
|
|
47
|
+
"test:bvh-cskel27": "node test/verify-bvh-cskel27.mjs"
|
|
48
|
+
},
|
|
49
|
+
"license": "GPL-3.0-or-later",
|
|
50
|
+
"type": "module",
|
|
51
|
+
"dependencies": {},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@mediapipe/tasks-vision": "0.10.17",
|
|
54
|
+
"@react-three/drei": "^10.7.7",
|
|
55
|
+
"@react-three/fiber": "^9.7.0",
|
|
56
|
+
"@vitejs/plugin-react": "^6.0.5",
|
|
57
|
+
"react": "^19.2.8",
|
|
58
|
+
"react-dom": "^19.2.8",
|
|
59
|
+
"three": "^0.185.1",
|
|
60
|
+
"vite": "^8.2.0"
|
|
61
|
+
},
|
|
62
|
+
"bin": {
|
|
63
|
+
"cozyclay": "bin/cozyclay.mjs"
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"bin",
|
|
67
|
+
"dist",
|
|
68
|
+
"!dist/media/*.mp4",
|
|
69
|
+
"src",
|
|
70
|
+
"tools",
|
|
71
|
+
"!tools/ardy/out",
|
|
72
|
+
"!tools/qa-*.mjs",
|
|
73
|
+
"mcp/server.mjs",
|
|
74
|
+
"mcp/live-hub.mjs",
|
|
75
|
+
"mcp/ardy-prompts.mjs",
|
|
76
|
+
"mcp/package.json",
|
|
77
|
+
"mcp/README.md",
|
|
78
|
+
"mcp/LIVE-PROTOCOL.md",
|
|
79
|
+
"README.md",
|
|
80
|
+
"CHANGELOG.md",
|
|
81
|
+
"LICENSE",
|
|
82
|
+
"THIRD_PARTY_NOTICES.md"
|
|
83
|
+
],
|
|
84
|
+
"exports": {
|
|
85
|
+
"./package.json": "./package.json",
|
|
86
|
+
"./src/*": "./src/*",
|
|
87
|
+
"./mcp/*": "./mcp/*"
|
|
88
|
+
},
|
|
89
|
+
"peerDependencies": {
|
|
90
|
+
"three": ">=0.180"
|
|
91
|
+
},
|
|
92
|
+
"peerDependenciesMeta": {
|
|
93
|
+
"three": {
|
|
94
|
+
"optional": true
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">=22"
|
|
99
|
+
},
|
|
100
|
+
"keywords": [
|
|
101
|
+
"3d",
|
|
102
|
+
"previs",
|
|
103
|
+
"animation",
|
|
104
|
+
"blocking",
|
|
105
|
+
"threejs",
|
|
106
|
+
"react-three-fiber",
|
|
107
|
+
"webgl",
|
|
108
|
+
"motion",
|
|
109
|
+
"ardy",
|
|
110
|
+
"storyboard",
|
|
111
|
+
"previz"
|
|
112
|
+
],
|
|
113
|
+
"repository": {
|
|
114
|
+
"type": "git",
|
|
115
|
+
"url": "git+https://github.com/HaD0Yun/CozyClay.git"
|
|
116
|
+
},
|
|
117
|
+
"homepage": "https://cozyclay.org/",
|
|
118
|
+
"bugs": {
|
|
119
|
+
"url": "https://github.com/HaD0Yun/CozyClay/issues"
|
|
120
|
+
},
|
|
121
|
+
"publishConfig": {
|
|
122
|
+
"access": "public"
|
|
123
|
+
}
|
|
80
124
|
}
|