chore: import upstream snapshot with attribution
regression / regression-shards (style-16-prod style-9-prod style-17-prod iframe-render-compat variables-prod mp4-h265-sdr, shard-4) (push) Has been cancelled
regression / regression-shards (style-4-prod style-11-prod style-2-prod animejs-adapter typegpu-adapter parallel-capture-regression, shard-5) (push) Has been cancelled
regression / regression-shards (style-7-prod style-8-prod style-10-prod css-spinner-render-compat webm-transparency mp4-h264-sdr webm-vp9, shard-3) (push) Has been cancelled
regression / regression-shards (sub-composition-video style-18-prod raf-ball-render-compat font-variant-numeric sub-comp-t0 sub-comp-id-selector, shard-7) (push) Has been cancelled
Windows render verification / Detect changes (push) Has been cancelled
Windows render verification / Preflight (lint + format) (push) Has been cancelled
Windows render verification / Render on windows-latest (push) Has been cancelled
Windows render verification / Tests on windows-latest (push) Has been cancelled
CI / Detect changes (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Fallow audit (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Producer: integration tests (push) Has been cancelled
CI / Producer: unit tests (push) Has been cancelled
CI / File size check (push) Has been cancelled
CI / Test: skills (push) Has been cancelled
CI / Skills: manifest in sync (push) Has been cancelled
CI / CLI: npx shim (macos-latest) (push) Has been cancelled
CI / CLI: npx shim (ubuntu-latest) (push) Has been cancelled
CI / CLI: npx shim (windows-latest) (push) Has been cancelled
CI / SDK: unit + contract + smoke (push) Has been cancelled
CI / Test: runtime contract (push) Has been cancelled
CI / Studio: load smoke (push) Has been cancelled
CI / Smoke: global install (push) Has been cancelled
CI / CLI smoke (required) (push) Has been cancelled
CI / Semantic PR title (push) Has been cancelled
Player perf / Detect changes (push) Has been cancelled
Player perf / Preflight (lint + format) (push) Has been cancelled
Player perf / player-perf (push) Has been cancelled
Player perf / Perf: drift (push) Has been cancelled
Player perf / Perf: fps (push) Has been cancelled
Player perf / Perf: parity (push) Has been cancelled
Player perf / Perf: scrub (push) Has been cancelled
Player perf / Perf: load (push) Has been cancelled
preview-regression / Detect changes (push) Has been cancelled
preview-regression / Preflight (lint + format) (push) Has been cancelled
preview-regression / Preview parity (push) Has been cancelled
preview-regression / preview-regression (push) Has been cancelled
regression / regression (push) Has been cancelled
regression / Detect changes (push) Has been cancelled
regression / Preflight (lint + format) (push) Has been cancelled
regression / regression-shards (hdr-regression style-5-prod style-3-prod mov-prores, shard-1) (push) Has been cancelled
regression / regression-shards (overlay-montage-prod style-12-prod chat missing-host-comp-id png-sequence portrait-edge-bleed, shard-6) (push) Has been cancelled
regression / regression-shards (style-13-prod style-6-prod vignelli-stacking gsap-letters-render-compat audio-mux-parity, shard-8) (push) Has been cancelled
regression / regression-shards (style-15-prod hdr-hlg-regression style-1-prod many-cuts vfr-screen-recording render-symlinked-assets, shard-2) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docs / Validate docs (push) Has been cancelled
Sync skills to ClawHub / Publish changed skills (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:58:35 +08:00
commit 85453da49f
4031 changed files with 710987 additions and 0 deletions
@@ -0,0 +1,13 @@
{
"name": "mapbox-adapter",
"description": "Regression guard for the Mapbox GL JS runtime adapter. Uses a mock Mapbox map with procedural canvas visualization to verify the __hfMapbox adapter bridge without requiring an API key.",
"tags": ["regression", "adapter"],
"minPsnr": 30,
"maxFrameFailures": 0,
"minAudioCorrelation": 0,
"maxAudioLagWindows": 1,
"renderConfig": {
"fps": 30,
"workers": 1
}
}
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf5c77b49eb2a7d0396b2798e872a4a6708dbe8c24be6c81afa896d86a1f7886
size 213883
@@ -0,0 +1,133 @@
<!DOCTYPE html>
<html>
<head>
<style>
body { margin: 0; background: #1a1a2e; }
[data-composition-id="mapbox-test"] { position: relative; overflow: hidden; font-family: 'Segoe UI', system-ui, sans-serif; }
#map-canvas { position: absolute; top: 0; left: 0; }
#label {
position: absolute; top: 36px; left: 48px; z-index: 10;
color: #fff; font-size: 32px; font-weight: 700;
background: rgba(26, 26, 46, 0.9); padding: 12px 24px; border-radius: 10px;
border: 2px solid #e94560; opacity: 0;
}
#status {
position: absolute; bottom: 36px; right: 48px; z-index: 10;
color: #16213e; font-size: 18px; font-weight: 600; font-family: monospace;
background: #0f3460; padding: 8px 16px; border-radius: 6px;
opacity: 0; color: #e94560;
}
</style>
</head>
<body>
<div id="root" data-composition-id="mapbox-test" data-width="1920" data-height="1080" data-start="0" data-duration="4">
<canvas id="map-canvas" width="1920" height="1080"></canvas>
<div id="label">Mapbox adapter test</div>
<div id="status">mock: loaded</div>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<script>
window.__timelines = window.__timelines || {};
window.__hfMapbox = window.__hfMapbox || [];
// Draw procedural map visualization on canvas
var canvas = document.getElementById('map-canvas');
var ctx = canvas.getContext('2d');
// Background gradient
var grad = ctx.createLinearGradient(0, 0, 1920, 1080);
grad.addColorStop(0, '#16213e');
grad.addColorStop(0.5, '#0f3460');
grad.addColorStop(1, '#1a1a2e');
ctx.fillStyle = grad;
ctx.fillRect(0, 0, 1920, 1080);
// Grid lines (like a map grid)
ctx.strokeStyle = 'rgba(233, 69, 96, 0.15)';
ctx.lineWidth = 1;
for (var x = 0; x < 1920; x += 60) {
ctx.beginPath(); ctx.moveTo(x, 0); ctx.lineTo(x, 1080); ctx.stroke();
}
for (var y = 0; y < 1080; y += 60) {
ctx.beginPath(); ctx.moveTo(0, y); ctx.lineTo(1920, y); ctx.stroke();
}
// Colored regions (simulating map zones)
var regions = [
{ x: 120, y: 180, w: 360, h: 300, color: 'rgba(233, 69, 96, 0.25)' },
{ x: 540, y: 120, w: 420, h: 240, color: 'rgba(15, 52, 96, 0.5)' },
{ x: 1020, y: 300, w: 480, h: 360, color: 'rgba(233, 69, 96, 0.15)' },
{ x: 300, y: 540, w: 540, h: 300, color: 'rgba(22, 33, 62, 0.6)' },
{ x: 900, y: 660, w: 600, h: 240, color: 'rgba(233, 69, 96, 0.2)' },
{ x: 1500, y: 120, w: 300, h: 480, color: 'rgba(15, 52, 96, 0.4)' },
];
for (var i = 0; i < regions.length; i++) {
var r = regions[i];
ctx.fillStyle = r.color;
ctx.fillRect(r.x, r.y, r.w, r.h);
ctx.strokeStyle = 'rgba(233, 69, 96, 0.4)';
ctx.lineWidth = 2;
ctx.strokeRect(r.x, r.y, r.w, r.h);
}
// Dots simulating POIs
var pois = [
[240, 330], [480, 240], [720, 200], [1200, 480], [1080, 420],
[600, 660], [840, 780], [1380, 300], [1560, 360], [360, 720]
];
for (var j = 0; j < pois.length; j++) {
ctx.beginPath();
ctx.arc(pois[j][0], pois[j][1], 8, 0, Math.PI * 2);
ctx.fillStyle = '#e94560';
ctx.fill();
ctx.strokeStyle = '#fff';
ctx.lineWidth = 2;
ctx.stroke();
}
// Label on canvas
ctx.font = 'bold 24px monospace';
ctx.fillStyle = 'rgba(233, 69, 96, 0.6)';
ctx.fillText('MOCK MAPBOX GL', 1400, 1040);
// Mock Mapbox map object
var loadCallbacks = [];
var isLoaded = false;
var mockMap = {
loaded: function() { return isLoaded; },
on: function(event, cb) {
if (event === 'load') {
if (isLoaded) { cb(); }
else { loadCallbacks.push(cb); }
}
},
getCenter: function() { return { lng: -122.4194, lat: 37.7749 }; },
getZoom: function() { return 12; }
};
// Simulate async load
setTimeout(function() {
isLoaded = true;
for (var k = 0; k < loadCallbacks.length; k++) {
loadCallbacks[k]();
}
}, 100);
// Register for adapter
window.__hfMapbox = [mockMap];
// GSAP timeline
var compId = 'mapbox-test';
var tl = gsap.timeline({ paused: true });
tl.to('#label', { opacity: 1, duration: 0.5, ease: 'power2.out' }, 0.2)
.from('#label', { y: -25, duration: 0.5, ease: 'power2.out' }, 0.2)
.to('#status', { opacity: 1, duration: 0.4, ease: 'power2.out' }, 0.9)
.from('#status', { x: 20, duration: 0.4, ease: 'power2.out' }, 0.9);
window.__timelines[compId] = tl;
</script>
</div>
</body>
</html>