@kubohiroya/turbowarp-realtime-motion-capture-app 0.1.3 → 0.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/README.ja.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TurboWarp Realtime Motion Capture Apps
2
2
 
3
- [English](README.md) | **日本語**
3
+ [English](README.md) | 日本語
4
4
 
5
5
  複数のカメラで人物の2D姿勢を推定し、復元した3D姿勢を演出に利用する、TurboWarpベースのアプリケーション
6
6
  です。カメラごとに動かす`camera app`、各カメラの結果を集約する`fusion app`、1台のPCに接続した複数の
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TurboWarp Realtime Motion Capture Apps
2
2
 
3
- **English** | [日本語](README.ja.md)
3
+ English | [日本語](README.ja.md)
4
4
 
5
5
  TurboWarp-based applications that estimate the 2D pose of people from several cameras and use the
6
6
  reconstructed 3D pose to drive a performance. Three SB3s are provided: a `camera app` that runs once
@@ -7,13 +7,13 @@
7
7
  "check": "node ../../scripts/ensure-source-directories.ts camera-app && sb3-toolchain check source"
8
8
  },
9
9
  "devDependencies": {
10
- "@kubohiroya/turbowarp-camera-source": "0.19.3",
11
- "@kubohiroya/turbowarp-diagnostic-overlay": "0.4.0",
12
- "@kubohiroya/turbowarp-jsqr": "0.4.4",
13
- "@kubohiroya/turbowarp-realtime-motion-capture": "0.8.4",
14
- "@kubohiroya/turbowarp-time-space-sync": "0.3.4",
15
- "@kubohiroya/turbowarp-title-menu": "0.2.6",
16
- "@kubohiroya/turbowarp-webrtc": "0.4.0",
17
- "@kubohiroya/turbowarp-webrtc-qrcode-pairing": "0.2.7"
10
+ "@kubohiroya/turbowarp-camera-source": "0.20.0",
11
+ "@kubohiroya/turbowarp-diagnostic-overlay": "0.6.0",
12
+ "@kubohiroya/turbowarp-jsqr": "0.5.0",
13
+ "@kubohiroya/turbowarp-realtime-motion-capture": "0.9.0",
14
+ "@kubohiroya/turbowarp-time-space-sync": "0.4.0",
15
+ "@kubohiroya/turbowarp-title-menu": "0.3.0",
16
+ "@kubohiroya/turbowarp-webrtc": "0.5.0",
17
+ "@kubohiroya/turbowarp-webrtc-qrcode-pairing": "0.3.0"
18
18
  }
19
19
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "formatVersion": 1,
3
3
  "state": "candidate",
4
- "sourceIdentity": "sha256:633ba8edfa792c1ee6aa815670f46c0227c3ee66e908a0ce93542dc09f61640b",
4
+ "sourceIdentity": "sha256:dec37976ab1359c45be7f685ceddf7a913d7ebfdd9165f05830793594465218a",
5
5
  "artifact": {
6
6
  "filename": "camera-app.sb3",
7
- "sha256": "aefbaa66135f547bb8383a3470aa6dba3c354a73649d834cf786969ce908e601",
8
- "size": 7699595
7
+ "sha256": "c17c3983470e8e0014067e30dfad680eaf654717e0419ccd3e660606c7e063aa",
8
+ "size": 7827068
9
9
  },
10
10
  "publication": {}
11
11
  }
@@ -17,9 +17,9 @@
17
17
  "source": {
18
18
  "provider": "npm",
19
19
  "package": "@kubohiroya/turbowarp-title-menu",
20
- "version": "0.2.6",
20
+ "version": "0.3.0",
21
21
  "artifact": "dist/turbowarp-title-menu.js",
22
- "integrity": "sha256-68VWqP02prH4OrrdTD6r8Swtpi2/bTPp4UvE+yUgNxo=",
22
+ "integrity": "sha256-sFzO0iNpiDWJX7qWm5IUyh6+9U09GBTm7R89mxiRxnY=",
23
23
  "apiManifest": {
24
24
  "artifact": "dist/extension-manifest.json",
25
25
  "path": "extensions/kubohiroyaturbowarptitlemenu.manifest.json",
@@ -37,9 +37,9 @@
37
37
  "source": {
38
38
  "provider": "npm",
39
39
  "package": "@kubohiroya/turbowarp-camera-source",
40
- "version": "0.19.3",
40
+ "version": "0.20.0",
41
41
  "artifact": "dist/camera-source.js",
42
- "integrity": "sha256-BcxIQL6kxBh4EddhfD4mjXEIwCkMNTPL2j6qGh3cuZw=",
42
+ "integrity": "sha256-oo7pQFOr4JUK/XvknCmWsnfEobL/hphyV93kIQxqpVI=",
43
43
  "apiManifest": {
44
44
  "artifact": "dist/extension-manifest.json",
45
45
  "path": "extensions/kubohiroyacamerasource.manifest.json",
@@ -57,9 +57,9 @@
57
57
  "source": {
58
58
  "provider": "npm",
59
59
  "package": "@kubohiroya/turbowarp-jsqr",
60
- "version": "0.4.4",
60
+ "version": "0.5.0",
61
61
  "artifact": "dist/jsqr.js",
62
- "integrity": "sha256-EOTZbt6T4CA9r7t8wAxv6uw/+XZq7En32BIFcHHcZnE=",
62
+ "integrity": "sha256-yLn3sebyIA0uLz4/lOSqDnJFZNcPz+HpwNi9JmETu8A=",
63
63
  "apiManifest": {
64
64
  "artifact": "dist/extension-manifest.json",
65
65
  "path": "extensions/kubohiroyajsqr.manifest.json",
@@ -77,9 +77,9 @@
77
77
  "source": {
78
78
  "provider": "npm",
79
79
  "package": "@kubohiroya/turbowarp-webrtc",
80
- "version": "0.4.0",
80
+ "version": "0.5.0",
81
81
  "artifact": "dist/turbowarp-webrtc.js",
82
- "integrity": "sha256-+o4ZO5V0C6aZ1A/vzVqYEDOZFP9pVc16AAtviJQBPgI=",
82
+ "integrity": "sha256-UgVi3AVAnFKQ3NrXy0w6/MYZdxcKQvbGNEAaTWRkglw=",
83
83
  "apiManifest": {
84
84
  "artifact": "dist/extension-manifest.json",
85
85
  "path": "extensions/kubohiroyawebrtc.manifest.json",
@@ -97,9 +97,9 @@
97
97
  "source": {
98
98
  "provider": "npm",
99
99
  "package": "@kubohiroya/turbowarp-webrtc-qrcode-pairing",
100
- "version": "0.2.7",
100
+ "version": "0.3.0",
101
101
  "artifact": "dist/webrtc-qrcode-pairing.js",
102
- "integrity": "sha256-C0T8A2B7vc6o5fWDgTyFwXZjyQ39/jAb76K3fL/8NvY=",
102
+ "integrity": "sha256-NMI3pjsz6Qbjqvhy7w+Jk6v936Geci9G9g/VHOYXCR4=",
103
103
  "apiManifest": {
104
104
  "artifact": "dist/extension-manifest.json",
105
105
  "path": "extensions/kubohiroyawebrtcqrcodepairing.manifest.json",
@@ -117,9 +117,9 @@
117
117
  "source": {
118
118
  "provider": "npm",
119
119
  "package": "@kubohiroya/turbowarp-time-space-sync",
120
- "version": "0.3.4",
120
+ "version": "0.4.0",
121
121
  "artifact": "dist/time-space-sync.js",
122
- "integrity": "sha256-/zqwaeeXI6EM1/zNna/f9HFdzgg5nzFwuoMNNdiUtd0=",
122
+ "integrity": "sha256-j5GarZGisWAg4i54puU51iueO3zYBWTp7zn1hm0oelU=",
123
123
  "apiManifest": {
124
124
  "artifact": "dist/extension-manifest.json",
125
125
  "path": "extensions/kubohiroyatimespacesync.manifest.json",
@@ -137,9 +137,9 @@
137
137
  "source": {
138
138
  "provider": "npm",
139
139
  "package": "@kubohiroya/turbowarp-realtime-motion-capture",
140
- "version": "0.8.4",
140
+ "version": "0.9.0",
141
141
  "artifact": "dist/turbowarp-realtime-motion-capture.js",
142
- "integrity": "sha256-dI0on3CyaKjSZTUH7SyCiH6Nlg5Q9Irh5vOhJgguO9Q=",
142
+ "integrity": "sha256-XiznUHvcbp+QB9l/ESSdQJ3kE6jC1ZII0FoV/zTTUKs=",
143
143
  "apiManifest": {
144
144
  "artifact": "dist/extension-manifest.json",
145
145
  "path": "extensions/kubohiroyarealtimemotioncapture.manifest.json",
@@ -157,9 +157,9 @@
157
157
  "source": {
158
158
  "provider": "npm",
159
159
  "package": "@kubohiroya/turbowarp-diagnostic-overlay",
160
- "version": "0.4.0",
160
+ "version": "0.6.0",
161
161
  "artifact": "dist/diagnostic-overlay.js",
162
- "integrity": "sha256-HfY7EQ6gzX1yrl4u+qQJc0IwcrEkSBBBTFxyk7zd6r4=",
162
+ "integrity": "sha256-dTAsmFSnnoK0PjqFP90vB3h19h7T2w0f9wYSjY9kRBI=",
163
163
  "apiManifest": {
164
164
  "artifact": "dist/extension-manifest.json",
165
165
  "path": "extensions/kubohiroyadiagnosticoverlay.manifest.json",
@@ -7,16 +7,16 @@
7
7
  "check": "node ../../scripts/ensure-source-directories.ts fusion-app && sb3-toolchain check source"
8
8
  },
9
9
  "devDependencies": {
10
- "@kubohiroya/turbowarp-aframe": "0.5.0",
11
- "@kubohiroya/turbowarp-asset-cache": "0.3.1",
12
- "@kubohiroya/turbowarp-camera-source": "0.19.3",
13
- "@kubohiroya/turbowarp-diagnostic-overlay": "0.4.0",
14
- "@kubohiroya/turbowarp-jsqr": "0.4.4",
15
- "@kubohiroya/turbowarp-realtime-motion-capture": "0.8.4",
16
- "@kubohiroya/turbowarp-time-space-sync": "0.3.4",
17
- "@kubohiroya/turbowarp-title-menu": "0.2.6",
18
- "@kubohiroya/turbowarp-webrtc": "0.4.0",
19
- "@kubohiroya/turbowarp-webrtc-qrcode-pairing": "0.2.7",
20
- "@kubohiroya/turbowarp-yaml-json": "0.3.0"
10
+ "@kubohiroya/turbowarp-aframe": "0.9.0",
11
+ "@kubohiroya/turbowarp-asset-cache": "0.4.0",
12
+ "@kubohiroya/turbowarp-camera-source": "0.20.0",
13
+ "@kubohiroya/turbowarp-diagnostic-overlay": "0.6.0",
14
+ "@kubohiroya/turbowarp-jsqr": "0.5.0",
15
+ "@kubohiroya/turbowarp-realtime-motion-capture": "0.9.0",
16
+ "@kubohiroya/turbowarp-time-space-sync": "0.4.0",
17
+ "@kubohiroya/turbowarp-title-menu": "0.3.0",
18
+ "@kubohiroya/turbowarp-webrtc": "0.5.0",
19
+ "@kubohiroya/turbowarp-webrtc-qrcode-pairing": "0.3.0",
20
+ "@kubohiroya/turbowarp-yaml-json": "0.5.0"
21
21
  }
22
22
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "formatVersion": 1,
3
3
  "state": "candidate",
4
- "sourceIdentity": "sha256:63a94d57c61d1abd3d451c41a6f93dd81a16d171fc74c06a852b199c00a95068",
4
+ "sourceIdentity": "sha256:bd46b7e4cc998879e89ad02e2ec5a710afa398dd111859b6c2cb4a46026e6ea5",
5
5
  "artifact": {
6
6
  "filename": "fusion-app.sb3",
7
- "sha256": "33447d97a8cf714efff52677f1e933b0d2853fa5dd72c3325d5e77f46e797b96",
8
- "size": 8111784
7
+ "sha256": "1476a293bb737fd1aac626477546d30e90530057b2ed8f3fc2aa96d5c382d26c",
8
+ "size": 8364889
9
9
  },
10
10
  "publication": {}
11
11
  }
@@ -17,9 +17,9 @@
17
17
  "source": {
18
18
  "provider": "npm",
19
19
  "package": "@kubohiroya/turbowarp-title-menu",
20
- "version": "0.2.6",
20
+ "version": "0.3.0",
21
21
  "artifact": "dist/turbowarp-title-menu.js",
22
- "integrity": "sha256-68VWqP02prH4OrrdTD6r8Swtpi2/bTPp4UvE+yUgNxo=",
22
+ "integrity": "sha256-sFzO0iNpiDWJX7qWm5IUyh6+9U09GBTm7R89mxiRxnY=",
23
23
  "apiManifest": {
24
24
  "artifact": "dist/extension-manifest.json",
25
25
  "path": "extensions/kubohiroyaturbowarptitlemenu.manifest.json",
@@ -37,9 +37,9 @@
37
37
  "source": {
38
38
  "provider": "npm",
39
39
  "package": "@kubohiroya/turbowarp-camera-source",
40
- "version": "0.19.3",
40
+ "version": "0.20.0",
41
41
  "artifact": "dist/camera-source.js",
42
- "integrity": "sha256-BcxIQL6kxBh4EddhfD4mjXEIwCkMNTPL2j6qGh3cuZw=",
42
+ "integrity": "sha256-oo7pQFOr4JUK/XvknCmWsnfEobL/hphyV93kIQxqpVI=",
43
43
  "apiManifest": {
44
44
  "artifact": "dist/extension-manifest.json",
45
45
  "path": "extensions/kubohiroyacamerasource.manifest.json",
@@ -57,9 +57,9 @@
57
57
  "source": {
58
58
  "provider": "npm",
59
59
  "package": "@kubohiroya/turbowarp-jsqr",
60
- "version": "0.4.4",
60
+ "version": "0.5.0",
61
61
  "artifact": "dist/jsqr.js",
62
- "integrity": "sha256-EOTZbt6T4CA9r7t8wAxv6uw/+XZq7En32BIFcHHcZnE=",
62
+ "integrity": "sha256-yLn3sebyIA0uLz4/lOSqDnJFZNcPz+HpwNi9JmETu8A=",
63
63
  "apiManifest": {
64
64
  "artifact": "dist/extension-manifest.json",
65
65
  "path": "extensions/kubohiroyajsqr.manifest.json",
@@ -77,9 +77,9 @@
77
77
  "source": {
78
78
  "provider": "npm",
79
79
  "package": "@kubohiroya/turbowarp-webrtc",
80
- "version": "0.4.0",
80
+ "version": "0.5.0",
81
81
  "artifact": "dist/turbowarp-webrtc.js",
82
- "integrity": "sha256-+o4ZO5V0C6aZ1A/vzVqYEDOZFP9pVc16AAtviJQBPgI=",
82
+ "integrity": "sha256-UgVi3AVAnFKQ3NrXy0w6/MYZdxcKQvbGNEAaTWRkglw=",
83
83
  "apiManifest": {
84
84
  "artifact": "dist/extension-manifest.json",
85
85
  "path": "extensions/kubohiroyawebrtc.manifest.json",
@@ -97,9 +97,9 @@
97
97
  "source": {
98
98
  "provider": "npm",
99
99
  "package": "@kubohiroya/turbowarp-webrtc-qrcode-pairing",
100
- "version": "0.2.7",
100
+ "version": "0.3.0",
101
101
  "artifact": "dist/webrtc-qrcode-pairing.js",
102
- "integrity": "sha256-C0T8A2B7vc6o5fWDgTyFwXZjyQ39/jAb76K3fL/8NvY=",
102
+ "integrity": "sha256-NMI3pjsz6Qbjqvhy7w+Jk6v936Geci9G9g/VHOYXCR4=",
103
103
  "apiManifest": {
104
104
  "artifact": "dist/extension-manifest.json",
105
105
  "path": "extensions/kubohiroyawebrtcqrcodepairing.manifest.json",
@@ -117,9 +117,9 @@
117
117
  "source": {
118
118
  "provider": "npm",
119
119
  "package": "@kubohiroya/turbowarp-time-space-sync",
120
- "version": "0.3.4",
120
+ "version": "0.4.0",
121
121
  "artifact": "dist/time-space-sync.js",
122
- "integrity": "sha256-/zqwaeeXI6EM1/zNna/f9HFdzgg5nzFwuoMNNdiUtd0=",
122
+ "integrity": "sha256-j5GarZGisWAg4i54puU51iueO3zYBWTp7zn1hm0oelU=",
123
123
  "apiManifest": {
124
124
  "artifact": "dist/extension-manifest.json",
125
125
  "path": "extensions/kubohiroyatimespacesync.manifest.json",
@@ -137,9 +137,9 @@
137
137
  "source": {
138
138
  "provider": "npm",
139
139
  "package": "@kubohiroya/turbowarp-yaml-json",
140
- "version": "0.3.0",
140
+ "version": "0.5.0",
141
141
  "artifact": "dist/turbowarp-yaml-json.js",
142
- "integrity": "sha256-7nyPt7lmQXoJ4BVwSwRd7aPMehoyddto/MShATmtgLg=",
142
+ "integrity": "sha256-Py4KYRmXT0JevmaELnrNLqGCxxSuygeylMTYDkO6wY0=",
143
143
  "apiManifest": {
144
144
  "artifact": "dist/extension-manifest.json",
145
145
  "path": "extensions/kubohiroyayamljson.manifest.json",
@@ -157,9 +157,9 @@
157
157
  "source": {
158
158
  "provider": "npm",
159
159
  "package": "@kubohiroya/turbowarp-realtime-motion-capture",
160
- "version": "0.8.4",
160
+ "version": "0.9.0",
161
161
  "artifact": "dist/turbowarp-realtime-motion-capture.js",
162
- "integrity": "sha256-dI0on3CyaKjSZTUH7SyCiH6Nlg5Q9Irh5vOhJgguO9Q=",
162
+ "integrity": "sha256-XiznUHvcbp+QB9l/ESSdQJ3kE6jC1ZII0FoV/zTTUKs=",
163
163
  "apiManifest": {
164
164
  "artifact": "dist/extension-manifest.json",
165
165
  "path": "extensions/kubohiroyarealtimemotioncapture.manifest.json",
@@ -177,9 +177,9 @@
177
177
  "source": {
178
178
  "provider": "npm",
179
179
  "package": "@kubohiroya/turbowarp-asset-cache",
180
- "version": "0.3.1",
180
+ "version": "0.4.0",
181
181
  "artifact": "dist/asset-cache.js",
182
- "integrity": "sha256-t+ieNdJHP3LQ2UyzQwbRdYuME/+//OC2YvHWebkxV7Y="
182
+ "integrity": "sha256-JzGp7+3dXeGul21UROS4x9d7CvR24qmOdJB17faKakE="
183
183
  }
184
184
  },
185
185
  {
@@ -191,9 +191,9 @@
191
191
  "source": {
192
192
  "provider": "npm",
193
193
  "package": "@kubohiroya/turbowarp-aframe",
194
- "version": "0.5.0",
194
+ "version": "0.9.0",
195
195
  "artifact": "dist/turbowarp-aframe.js",
196
- "integrity": "sha256-fzDhMLuPM+3ZQVE11NvIgmi1VKDTkWrzXsN2wbolJ4o=",
196
+ "integrity": "sha256-b5hMA+63lD8UlykOIqFWq35SqQiXrA4sGBrIFq7UP2A=",
197
197
  "apiManifest": {
198
198
  "artifact": "dist/extension-manifest.json",
199
199
  "path": "extensions/turbowarpaframe.manifest.json",
@@ -218,9 +218,9 @@
218
218
  "source": {
219
219
  "provider": "npm",
220
220
  "package": "@kubohiroya/turbowarp-diagnostic-overlay",
221
- "version": "0.4.0",
221
+ "version": "0.6.0",
222
222
  "artifact": "dist/diagnostic-overlay.js",
223
- "integrity": "sha256-HfY7EQ6gzX1yrl4u+qQJc0IwcrEkSBBBTFxyk7zd6r4=",
223
+ "integrity": "sha256-dTAsmFSnnoK0PjqFP90vB3h19h7T2w0f9wYSjY9kRBI=",
224
224
  "apiManifest": {
225
225
  "artifact": "dist/extension-manifest.json",
226
226
  "path": "extensions/kubohiroyadiagnosticoverlay.manifest.json",
@@ -7,12 +7,12 @@
7
7
  "check": "node ../../scripts/ensure-source-directories.ts local-app && sb3-toolchain check source"
8
8
  },
9
9
  "devDependencies": {
10
- "@kubohiroya/turbowarp-aframe": "0.5.0",
11
- "@kubohiroya/turbowarp-camera-source": "0.19.3",
12
- "@kubohiroya/turbowarp-diagnostic-overlay": "0.4.0",
13
- "@kubohiroya/turbowarp-realtime-motion-capture": "0.8.4",
14
- "@kubohiroya/turbowarp-time-space-sync": "0.3.4",
15
- "@kubohiroya/turbowarp-title-menu": "0.2.6",
16
- "@kubohiroya/turbowarp-yaml-json": "0.3.0"
10
+ "@kubohiroya/turbowarp-aframe": "0.9.0",
11
+ "@kubohiroya/turbowarp-camera-source": "0.20.0",
12
+ "@kubohiroya/turbowarp-diagnostic-overlay": "0.6.0",
13
+ "@kubohiroya/turbowarp-realtime-motion-capture": "0.9.0",
14
+ "@kubohiroya/turbowarp-time-space-sync": "0.4.0",
15
+ "@kubohiroya/turbowarp-title-menu": "0.3.0",
16
+ "@kubohiroya/turbowarp-yaml-json": "0.5.0"
17
17
  }
18
18
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "formatVersion": 1,
3
3
  "state": "candidate",
4
- "sourceIdentity": "sha256:833ca52f12dc0b85d5b2315dc3da718a72f6fb686e396ed7be261e7e33cccb93",
4
+ "sourceIdentity": "sha256:828ab1d50b7cc373423130d755d8f3f7a3e3f3db115a19b2d1f1efd2c3a78ed8",
5
5
  "artifact": {
6
6
  "filename": "local-app.sb3",
7
- "sha256": "dbf8b5b1ea37d7d6b98c0814497030a7c1cad76b493c2142cb983f6837e5a7a5",
8
- "size": 7215783
7
+ "sha256": "46d1fa223a1a4899b24ce21ea9607c4578018bf3594b345f6e4c209ea6f298d9",
8
+ "size": 7466699
9
9
  },
10
10
  "publication": {}
11
11
  }
@@ -17,9 +17,9 @@
17
17
  "source": {
18
18
  "provider": "npm",
19
19
  "package": "@kubohiroya/turbowarp-title-menu",
20
- "version": "0.2.6",
20
+ "version": "0.3.0",
21
21
  "artifact": "dist/turbowarp-title-menu.js",
22
- "integrity": "sha256-68VWqP02prH4OrrdTD6r8Swtpi2/bTPp4UvE+yUgNxo=",
22
+ "integrity": "sha256-sFzO0iNpiDWJX7qWm5IUyh6+9U09GBTm7R89mxiRxnY=",
23
23
  "apiManifest": {
24
24
  "artifact": "dist/extension-manifest.json",
25
25
  "path": "extensions/kubohiroyaturbowarptitlemenu.manifest.json",
@@ -37,9 +37,9 @@
37
37
  "source": {
38
38
  "provider": "npm",
39
39
  "package": "@kubohiroya/turbowarp-camera-source",
40
- "version": "0.19.3",
40
+ "version": "0.20.0",
41
41
  "artifact": "dist/camera-source.js",
42
- "integrity": "sha256-BcxIQL6kxBh4EddhfD4mjXEIwCkMNTPL2j6qGh3cuZw=",
42
+ "integrity": "sha256-oo7pQFOr4JUK/XvknCmWsnfEobL/hphyV93kIQxqpVI=",
43
43
  "apiManifest": {
44
44
  "artifact": "dist/extension-manifest.json",
45
45
  "path": "extensions/kubohiroyacamerasource.manifest.json",
@@ -57,9 +57,9 @@
57
57
  "source": {
58
58
  "provider": "npm",
59
59
  "package": "@kubohiroya/turbowarp-time-space-sync",
60
- "version": "0.3.4",
60
+ "version": "0.4.0",
61
61
  "artifact": "dist/time-space-sync.js",
62
- "integrity": "sha256-/zqwaeeXI6EM1/zNna/f9HFdzgg5nzFwuoMNNdiUtd0=",
62
+ "integrity": "sha256-j5GarZGisWAg4i54puU51iueO3zYBWTp7zn1hm0oelU=",
63
63
  "apiManifest": {
64
64
  "artifact": "dist/extension-manifest.json",
65
65
  "path": "extensions/kubohiroyatimespacesync.manifest.json",
@@ -77,9 +77,9 @@
77
77
  "source": {
78
78
  "provider": "npm",
79
79
  "package": "@kubohiroya/turbowarp-yaml-json",
80
- "version": "0.3.0",
80
+ "version": "0.5.0",
81
81
  "artifact": "dist/turbowarp-yaml-json.js",
82
- "integrity": "sha256-7nyPt7lmQXoJ4BVwSwRd7aPMehoyddto/MShATmtgLg=",
82
+ "integrity": "sha256-Py4KYRmXT0JevmaELnrNLqGCxxSuygeylMTYDkO6wY0=",
83
83
  "apiManifest": {
84
84
  "artifact": "dist/extension-manifest.json",
85
85
  "path": "extensions/kubohiroyayamljson.manifest.json",
@@ -97,9 +97,9 @@
97
97
  "source": {
98
98
  "provider": "npm",
99
99
  "package": "@kubohiroya/turbowarp-realtime-motion-capture",
100
- "version": "0.8.4",
100
+ "version": "0.9.0",
101
101
  "artifact": "dist/turbowarp-realtime-motion-capture.js",
102
- "integrity": "sha256-dI0on3CyaKjSZTUH7SyCiH6Nlg5Q9Irh5vOhJgguO9Q=",
102
+ "integrity": "sha256-XiznUHvcbp+QB9l/ESSdQJ3kE6jC1ZII0FoV/zTTUKs=",
103
103
  "apiManifest": {
104
104
  "artifact": "dist/extension-manifest.json",
105
105
  "path": "extensions/kubohiroyarealtimemotioncapture.manifest.json",
@@ -117,9 +117,9 @@
117
117
  "source": {
118
118
  "provider": "npm",
119
119
  "package": "@kubohiroya/turbowarp-aframe",
120
- "version": "0.5.0",
120
+ "version": "0.9.0",
121
121
  "artifact": "dist/turbowarp-aframe.js",
122
- "integrity": "sha256-fzDhMLuPM+3ZQVE11NvIgmi1VKDTkWrzXsN2wbolJ4o=",
122
+ "integrity": "sha256-b5hMA+63lD8UlykOIqFWq35SqQiXrA4sGBrIFq7UP2A=",
123
123
  "apiManifest": {
124
124
  "artifact": "dist/extension-manifest.json",
125
125
  "path": "extensions/turbowarpaframe.manifest.json",
@@ -144,9 +144,9 @@
144
144
  "source": {
145
145
  "provider": "npm",
146
146
  "package": "@kubohiroya/turbowarp-diagnostic-overlay",
147
- "version": "0.4.0",
147
+ "version": "0.6.0",
148
148
  "artifact": "dist/diagnostic-overlay.js",
149
- "integrity": "sha256-HfY7EQ6gzX1yrl4u+qQJc0IwcrEkSBBBTFxyk7zd6r4=",
149
+ "integrity": "sha256-dTAsmFSnnoK0PjqFP90vB3h19h7T2w0f9wYSjY9kRBI=",
150
150
  "apiManifest": {
151
151
  "artifact": "dist/extension-manifest.json",
152
152
  "path": "extensions/kubohiroyadiagnosticoverlay.manifest.json",
@@ -18,11 +18,11 @@
18
18
  "role": "app-ui",
19
19
  "repository": "kubohiroya/turbowarp-title-menu",
20
20
  "package": "@kubohiroya/turbowarp-title-menu",
21
- "version": "0.2.6",
21
+ "version": "0.3.0",
22
22
  "extensionId": "kubohiroyaturbowarptitlemenu",
23
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-title-menu@0.2.6/dist/turbowarp-title-menu.js",
24
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-title-menu@0.2.6/dist/extension-manifest.json",
25
- "sha256": "ebc556a8fd36a6b1f83abadd4c3eabf12c2da62dbf6d33e9e14bc4fb2520371a",
23
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-title-menu@0.3.0/dist/turbowarp-title-menu.js",
24
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-title-menu@0.3.0/dist/extension-manifest.json",
25
+ "sha256": "b05cced223698835895fba969b9214ca1ebef54d3d1814e6ed1f3d9b1891c676",
26
26
  "status": "ready",
27
27
  "embeddedIn": [
28
28
  "camera-app",
@@ -140,11 +140,11 @@
140
140
  "role": "camera-source",
141
141
  "repository": "kubohiroya/turbowarp-camera-source",
142
142
  "package": "@kubohiroya/turbowarp-camera-source",
143
- "version": "0.19.3",
143
+ "version": "0.20.0",
144
144
  "extensionId": "kubohiroyacamerasource",
145
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-source@0.19.3/dist/camera-source.js",
146
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-source@0.19.3/dist/extension-manifest.json",
147
- "sha256": "05cc4840bea4c4187811d7617c3e268d7108c0290c3533cbda3eaa1a1ddcb99c",
145
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-source@0.20.0/dist/camera-source.js",
146
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-source@0.20.0/dist/extension-manifest.json",
147
+ "sha256": "a28ee94053abe0950afd7be49c2996b277c4a1b2ff86987257dde4210c6aa552",
148
148
  "status": "ready",
149
149
  "embeddedIn": [
150
150
  "camera-app",
@@ -429,11 +429,11 @@
429
429
  "role": "qr-reader",
430
430
  "repository": "kubohiroya/turbowarp-jsqr",
431
431
  "package": "@kubohiroya/turbowarp-jsqr",
432
- "version": "0.4.4",
432
+ "version": "0.5.0",
433
433
  "extensionId": "kubohiroyajsqr",
434
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-jsqr@0.4.4/dist/jsqr.js",
435
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-jsqr@0.4.4/dist/extension-manifest.json",
436
- "sha256": "10e4d96ede93e0203dafbb7cc00c6feaec3ff9766aec49f7d812057071dc6671",
434
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-jsqr@0.5.0/dist/jsqr.js",
435
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-jsqr@0.5.0/dist/extension-manifest.json",
436
+ "sha256": "c8b9f7b1e6f2200d2e2f3e3f94e4aa0e724564d70fcfe1e9c0d8bd266113bbc0",
437
437
  "status": "ready",
438
438
  "embeddedIn": [
439
439
  "camera-app",
@@ -461,11 +461,11 @@
461
461
  "role": "webrtc-transport",
462
462
  "repository": "kubohiroya/turbowarp-webrtc",
463
463
  "package": "@kubohiroya/turbowarp-webrtc",
464
- "version": "0.4.0",
464
+ "version": "0.5.0",
465
465
  "extensionId": "kubohiroyawebrtc",
466
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc@0.4.0/dist/turbowarp-webrtc.js",
467
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc@0.4.0/dist/extension-manifest.json",
468
- "sha256": "fa8e193b95740ba699d40fefcd5a9810339914ff6955cd7a000b6f8894013e02",
466
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc@0.5.0/dist/turbowarp-webrtc.js",
467
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc@0.5.0/dist/extension-manifest.json",
468
+ "sha256": "520562dc05409c5290dcdad7cb4c3afcc61977170a42f6c634401a4d6464825c",
469
469
  "status": "ready",
470
470
  "embeddedIn": [
471
471
  "camera-app",
@@ -759,11 +759,11 @@
759
759
  "role": "qr-pairing",
760
760
  "repository": "kubohiroya/turbowarp-webrtc-qrcode-pairing",
761
761
  "package": "@kubohiroya/turbowarp-webrtc-qrcode-pairing",
762
- "version": "0.2.7",
762
+ "version": "0.3.0",
763
763
  "extensionId": "kubohiroyawebrtcqrcodepairing",
764
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc-qrcode-pairing@0.2.7/dist/webrtc-qrcode-pairing.js",
765
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc-qrcode-pairing@0.2.7/dist/extension-manifest.json",
766
- "sha256": "0b44fc03607bbdcea8e5f583813c85c17663c90dfdfe301befa2b77cbffc36f6",
764
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc-qrcode-pairing@0.3.0/dist/webrtc-qrcode-pairing.js",
765
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-webrtc-qrcode-pairing@0.3.0/dist/extension-manifest.json",
766
+ "sha256": "34c237a63b33e906e3aaf872ef0f8993abfddfa19e722f46f60fd51ce617091e",
767
767
  "status": "ready",
768
768
  "embeddedIn": [
769
769
  "camera-app",
@@ -930,11 +930,11 @@
930
930
  "role": "time-space-sync",
931
931
  "repository": "kubohiroya/turbowarp-time-space-sync",
932
932
  "package": "@kubohiroya/turbowarp-time-space-sync",
933
- "version": "0.3.4",
933
+ "version": "0.4.0",
934
934
  "extensionId": "kubohiroyatimespacesync",
935
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-time-space-sync@0.3.4/dist/time-space-sync.js",
936
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-time-space-sync@0.3.4/dist/extension-manifest.json",
937
- "sha256": "ff3ab069e79723a10cd7fccd9dafdff4715dce08399f3170ba830d35d894b5dd",
935
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-time-space-sync@0.4.0/dist/time-space-sync.js",
936
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-time-space-sync@0.4.0/dist/extension-manifest.json",
937
+ "sha256": "8f919aad91a2b16020e22e78a6e539d62b9e3b7cd80564e9ef39f5866d287a55",
938
938
  "status": "ready",
939
939
  "embeddedIn": [
940
940
  "camera-app",
@@ -1250,11 +1250,11 @@
1250
1250
  "role": "dsl-json-schema",
1251
1251
  "repository": "kubohiroya/turbowarp-yaml-json",
1252
1252
  "package": "@kubohiroya/turbowarp-yaml-json",
1253
- "version": "0.3.0",
1253
+ "version": "0.5.0",
1254
1254
  "extensionId": "kubohiroyayamljson",
1255
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-yaml-json@0.3.0/dist/turbowarp-yaml-json.js",
1256
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-yaml-json@0.3.0/dist/extension-manifest.json",
1257
- "sha256": "ee7c8fb7b966417a09e015704b045deda3cc7a1a3275db68fcc4a10139ad80b8",
1255
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-yaml-json@0.5.0/dist/turbowarp-yaml-json.js",
1256
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-yaml-json@0.5.0/dist/extension-manifest.json",
1257
+ "sha256": "3f2e0a6119974f425ebe66842e7acd2ea182c714aeca07b294c4d80e43bac18d",
1258
1258
  "status": "ready",
1259
1259
  "embeddedIn": [
1260
1260
  "fusion-app",
@@ -1335,11 +1335,11 @@
1335
1335
  "role": "asset-runtime",
1336
1336
  "repository": "kubohiroya/turbowarp-asset-cache",
1337
1337
  "package": "@kubohiroya/turbowarp-asset-cache",
1338
- "version": "0.3.1",
1338
+ "version": "0.4.0",
1339
1339
  "extensionId": "kubohiroyaassetcache",
1340
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js",
1341
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/extension-manifest.json",
1342
- "sha256": "b7e89e35d2473f72d0d94cb34306d1758b8c13ffbffce0b662f1d679b93157b6",
1340
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.4.0/dist/asset-cache.js",
1341
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.4.0/dist/extension-manifest.json",
1342
+ "sha256": "2731a9efeddd5de1ae976d5444e4b8c7d77b0af476e2a98e749075edf68a6a41",
1343
1343
  "status": "ready",
1344
1344
  "embeddedIn": [
1345
1345
  "fusion-app"
@@ -1427,11 +1427,11 @@
1427
1427
  "role": "3d-avatar-renderer",
1428
1428
  "repository": "kubohiroya/turbowarp-aframe",
1429
1429
  "package": "@kubohiroya/turbowarp-aframe",
1430
- "version": "0.5.0",
1430
+ "version": "0.9.0",
1431
1431
  "extensionId": "turbowarpaframe",
1432
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-aframe@0.5.0/dist/turbowarp-aframe.js",
1433
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-aframe@0.5.0/dist/extension-manifest.json",
1434
- "sha256": "7f30e130bb8f33edd9415135d4dbc88268b554a0d3916af35ec376c1ba25278a",
1432
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-aframe@0.9.0/dist/turbowarp-aframe.js",
1433
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-aframe@0.9.0/dist/extension-manifest.json",
1434
+ "sha256": "6f984c03eeb7943f1497290e22a156ab7e52a90897ac0e2c181ac816aed43f60",
1435
1435
  "status": "ready",
1436
1436
  "embeddedIn": [
1437
1437
  "fusion-app",
@@ -1533,11 +1533,11 @@
1533
1533
  "role": "diagnostic-ui",
1534
1534
  "repository": "kubohiroya/turbowarp-diagnostic-overlay",
1535
1535
  "package": "@kubohiroya/turbowarp-diagnostic-overlay",
1536
- "version": "0.4.0",
1536
+ "version": "0.6.0",
1537
1537
  "extensionId": "kubohiroyadiagnosticoverlay",
1538
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.4.0/dist/diagnostic-overlay.js",
1539
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.4.0/dist/extension-manifest.json",
1540
- "sha256": "1df63b110ea0cd7d72ae5e2efaa40973423072b1244810414c5c7293bcddeabe",
1538
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.6.0/dist/diagnostic-overlay.js",
1539
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.6.0/dist/extension-manifest.json",
1540
+ "sha256": "75302c9854a79e82b43e3a853fdd2f077875f61ed3db0d1ff706128d8f644412",
1541
1541
  "status": "ready",
1542
1542
  "embeddedIn": [
1543
1543
  "camera-app",
@@ -1598,11 +1598,11 @@
1598
1598
  "role": "multiview-high-level-blocks",
1599
1599
  "repository": "kubohiroya/turbowarp-realtime-motion-capture",
1600
1600
  "package": "@kubohiroya/turbowarp-realtime-motion-capture",
1601
- "version": "0.8.4",
1601
+ "version": "0.9.0",
1602
1602
  "extensionId": "kubohiroyarealtimemotioncapture",
1603
- "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.8.4/dist/turbowarp-realtime-motion-capture.js",
1604
- "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.8.4/dist/extension-manifest.json",
1605
- "sha256": "748d289f70b268a8d2653507ed2c82887e8d960e50f48ae1e6f3a126082e3bd4",
1603
+ "artifact": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.9.0/dist/turbowarp-realtime-motion-capture.js",
1604
+ "manifest": "https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.9.0/dist/extension-manifest.json",
1605
+ "sha256": "5e2ce7507bdc6e9f9007d97f11249d409de413a8c2d59208d05a15ff34d350ab",
1606
1606
  "status": "ready",
1607
1607
  "embeddedIn": [
1608
1608
  "camera-app",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubohiroya/turbowarp-realtime-motion-capture-app",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "private": false,
5
5
  "description": "Reproducible source workspace for the TurboWarp Realtime Motion Capture camera and fusion apps.",
6
6
  "license": "MPL-2.0",
@@ -88,8 +88,8 @@
88
88
  },
89
89
  "devDependencies": {
90
90
  "@eslint/js": "9.39.5",
91
- "@kubohiroya/qrcode-structured-append": "0.1.0",
92
- "@kubohiroya/sb3-toolchain": "0.12.0",
91
+ "@kubohiroya/qrcode-structured-append": "^0.1.1",
92
+ "@kubohiroya/sb3-toolchain": "^0.17.0",
93
93
  "@turbowarp/packager": "3.13.0",
94
94
  "@types/node": "24.13.3",
95
95
  "eslint": "9.39.5",
@@ -101,6 +101,6 @@
101
101
  "zxing-wasm": "3.1.4"
102
102
  },
103
103
  "dependencies": {
104
- "@kubohiroya/turbowarp-app-shell": "0.3.1"
104
+ "@kubohiroya/turbowarp-app-shell": "^0.4.0"
105
105
  }
106
106
  }
@@ -10,11 +10,11 @@
10
10
  "check": "pnpm run typecheck && pnpm run test && pnpm run build"
11
11
  },
12
12
  "dependencies": {
13
- "@kubohiroya/turbowarp-app-shell": "0.3.1"
13
+ "@kubohiroya/turbowarp-app-shell": "0.4.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@kubohiroya/turbowarp-camera-source": "0.19.3",
17
- "@kubohiroya/vite-plugin-turbowarp-extension": "0.5.0",
16
+ "@kubohiroya/turbowarp-camera-source": "0.20.0",
17
+ "@kubohiroya/vite-plugin-turbowarp-extension": "0.8.0",
18
18
  "@types/node": "24.13.3",
19
19
  "typescript": "5.9.3",
20
20
  "vite": "8.2.2",
@@ -10,7 +10,7 @@
10
10
  "check": "pnpm run typecheck && pnpm run test && pnpm run build"
11
11
  },
12
12
  "devDependencies": {
13
- "@kubohiroya/vite-plugin-turbowarp-extension": "0.5.0",
13
+ "@kubohiroya/vite-plugin-turbowarp-extension": "0.8.0",
14
14
  "@types/node": "24.13.3",
15
15
  "typescript": "5.9.3",
16
16
  "vite": "8.2.2",
@@ -33,4 +33,19 @@ minimumReleaseAgeExclude:
33
33
  - '@kubohiroya/turbowarp-app-shell@0.2.1 || 0.3.0'
34
34
  - '@kubohiroya/turbowarp-named-data@0.1.0'
35
35
 
36
+ - '@kubohiroya/turbowarp-app-shell@0.4.0'
37
+ - '@kubohiroya/sb3-toolchain@0.17.0'
38
+ - '@kubohiroya/vite-plugin-turbowarp-extension@0.8.0'
39
+ - '@kubohiroya/turbowarp-aframe@0.9.0'
40
+ - '@kubohiroya/turbowarp-asset-cache@0.4.0'
41
+ - '@kubohiroya/turbowarp-camera-source@0.20.0'
42
+ - '@kubohiroya/turbowarp-diagnostic-overlay@0.6.0'
43
+ - '@kubohiroya/turbowarp-jsqr@0.5.0'
44
+ - '@kubohiroya/turbowarp-realtime-motion-capture@0.9.0'
45
+ - '@kubohiroya/turbowarp-time-space-sync@0.4.0'
46
+ - '@kubohiroya/turbowarp-title-menu@0.3.0'
47
+ - '@kubohiroya/turbowarp-webrtc@0.5.0'
48
+ - '@kubohiroya/turbowarp-webrtc-qrcode-pairing@0.3.0'
49
+ - '@kubohiroya/turbowarp-yaml-json@0.5.0'
50
+
36
51
  onlyBuiltDependencies: []
@@ -0,0 +1,85 @@
1
+ import assert from 'node:assert/strict';
2
+ import { execFileSync } from 'node:child_process';
3
+ import path from 'node:path';
4
+ import { setTimeout } from 'node:timers/promises';
5
+ import { fileURLToPath } from 'node:url';
6
+
7
+ type Run = (args: string[]) => string;
8
+
9
+ /** Complete a verified release; trial publications must not call this operation. */
10
+ export async function finalizeReleaseTags(
11
+ name: string,
12
+ version: string,
13
+ {
14
+ run = (args: string[]) => execFileSync('npm', args, { encoding: 'utf8' }),
15
+ sleep = () => setTimeout(10_000),
16
+ attempts = 60,
17
+ }: { run?: Run; sleep?: () => Promise<void>; attempts?: number } = {},
18
+ ) {
19
+ assert.match(name, /^@kubohiroya\/[a-z0-9-]+$/u);
20
+ assert.match(version, /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u);
21
+ let visible = false;
22
+ for (let attempt = 0; attempt < attempts; attempt += 1) {
23
+ let output: string;
24
+ try {
25
+ output = run([
26
+ 'view',
27
+ `${name}@${version}`,
28
+ 'version',
29
+ '--json',
30
+ '--prefer-online',
31
+ ]);
32
+ } catch (error) {
33
+ const stdout = (error as { stdout?: string }).stdout;
34
+ if (!stdout || JSON.parse(stdout).error?.code !== 'E404') throw error;
35
+ if (attempt + 1 < attempts) await sleep();
36
+ continue;
37
+ }
38
+ assert.equal(
39
+ JSON.parse(output),
40
+ version,
41
+ 'Registry version differs from the release.',
42
+ );
43
+ visible = true;
44
+ break;
45
+ }
46
+ assert(visible, 'Release is not visible in npm; tags were not changed.');
47
+ const readTags = () =>
48
+ JSON.parse(
49
+ run(['view', name, 'dist-tags', '--json', '--prefer-online']),
50
+ ) as Record<string, string>;
51
+ const before = readTags();
52
+ for (const tag of ['latest', 'next']) {
53
+ if (before[tag] !== version)
54
+ run(['dist-tag', 'add', `${name}@${version}`, tag]);
55
+ }
56
+ // Tag writes and registry reads can be served by different replicas.
57
+ for (let attempt = 0; attempt < attempts; attempt += 1) {
58
+ const tags = readTags();
59
+ if (tags.latest === version && tags.next === version) return tags;
60
+ if (attempt + 1 < attempts) await sleep();
61
+ }
62
+ throw new Error(
63
+ 'Release is incomplete: latest and next do not both match the release.',
64
+ );
65
+ }
66
+
67
+ if (
68
+ process.argv[1] &&
69
+ path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)
70
+ ) {
71
+ const [name, version] = process.argv.slice(2);
72
+ assert(
73
+ name && version,
74
+ 'Usage: finalize-release-tags.ts <package> <version>',
75
+ );
76
+ const tags = await finalizeReleaseTags(name, version);
77
+ console.log(
78
+ JSON.stringify({
79
+ package: name,
80
+ version,
81
+ latest: tags.latest,
82
+ next: tags.next,
83
+ }),
84
+ );
85
+ }
@@ -0,0 +1,99 @@
1
+ import assert from 'node:assert/strict';
2
+ import { test } from 'vitest';
3
+
4
+ import { finalizeReleaseTags } from '../scripts/finalize-release-tags.js';
5
+
6
+ const name = '@kubohiroya/turbowarp-kamishibai-app';
7
+ const version = '4.0.0-rc.58';
8
+ const sleep = async () => {};
9
+
10
+ test('waits for publication and verifies both tags after promotion', async () => {
11
+ const commands: string[][] = [];
12
+ let visible = false;
13
+ const tags = { latest: '4.0.0-rc.49', next: version };
14
+ const result = await finalizeReleaseTags(name, version, {
15
+ sleep,
16
+ run(args) {
17
+ commands.push(args);
18
+ if (args[2] === 'version') {
19
+ if (!visible) {
20
+ visible = true;
21
+ throw Object.assign(new Error('pending'), {
22
+ stdout: JSON.stringify({ error: { code: 'E404' } }),
23
+ });
24
+ }
25
+ return JSON.stringify(version);
26
+ }
27
+ if (args[0] === 'dist-tag') {
28
+ tags.latest = version;
29
+ return '';
30
+ }
31
+ return JSON.stringify(tags);
32
+ },
33
+ });
34
+ assert.deepEqual(result, { latest: version, next: version });
35
+ assert.deepEqual(
36
+ commands.filter(([command]) => command === 'dist-tag'),
37
+ [['dist-tag', 'add', `${name}@${version}`, 'latest']],
38
+ );
39
+ });
40
+
41
+ test('already completed releases require no tag writes', async () => {
42
+ await finalizeReleaseTags(name, version, {
43
+ sleep,
44
+ run(args) {
45
+ assert.equal(args[0], 'view');
46
+ return JSON.stringify(
47
+ args[2] === 'version' ? version : { latest: version, next: version },
48
+ );
49
+ },
50
+ });
51
+ });
52
+
53
+ test('unpublished versions never change tags', async () => {
54
+ await assert.rejects(
55
+ finalizeReleaseTags(name, version, {
56
+ sleep,
57
+ attempts: 2,
58
+ run(args) {
59
+ assert.equal(args[0], 'view');
60
+ throw Object.assign(new Error('pending'), {
61
+ stdout: JSON.stringify({ error: { code: 'E404' } }),
62
+ });
63
+ },
64
+ }),
65
+ /not visible/u,
66
+ );
67
+ });
68
+
69
+ test('permission errors fail completion', async () => {
70
+ const denied = new Error('OIDC permission denied');
71
+ await assert.rejects(
72
+ finalizeReleaseTags(name, version, {
73
+ sleep,
74
+ run(args) {
75
+ if (args[0] === 'dist-tag') throw denied;
76
+ return JSON.stringify(
77
+ args[2] === 'version' ? version : { next: version },
78
+ );
79
+ },
80
+ }),
81
+ denied,
82
+ );
83
+ });
84
+
85
+ test('an unsuccessful tag write cannot be reported as a completed release', async () => {
86
+ await assert.rejects(
87
+ finalizeReleaseTags(name, version, {
88
+ sleep,
89
+ attempts: 2,
90
+ run(args) {
91
+ if (args[0] === 'dist-tag') return '';
92
+ return JSON.stringify(
93
+ args[2] === 'version' ? version : { next: version },
94
+ );
95
+ },
96
+ }),
97
+ /incomplete/u,
98
+ );
99
+ });