Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
feat(web): expand store screenshots and add creative PNG exports (#1071)
Gener8011613baa1f
diff --git a/assets/app-store/creative/alook-header-3840x1646.png b/assets/app-store/creative/alook-header-3840x1646.pngnew file mode 100644index 000000000..4e8a1b35bBinary files /dev/null and b/assets/app-store/creative/alook-header-3840x1646.png differdiff --git a/assets/app-store/creative/alook-search-1920x1280.png b/assets/app-store/creative/alook-search-1920x1280.pngnew file mode 100644index 000000000..61261558eBinary files /dev/null and b/assets/app-store/creative/alook-search-1920x1280.png differdiff --git a/assets/app-store/creative/manifest.json b/assets/app-store/creative/manifest.jsonnew file mode 100644index 000000000..94940cdc4--- /dev/null+++ b/assets/app-store/creative/manifest.json@@ -0,0 +1,247 @@+{+ "renderer": "156.0.8078.48",+ "encoding": "RGB PNG",+ "locale": "en-US",+ "timezone": "UTC",+ "repositoryHead": "59973b36bd0be527985168ae8fd610631ece6c6c",+ "approvedPrototypeSha256": "f17b90df66ed06777834687e843137711b4ee48fdf42f4fb1c2097c49563b6a2",+ "inputs": {+ "package.json": "5eb3c9d2bdaee86d76275a56325ae621d8c44d5fae115d7403897073d404beec",+ "pnpm-lock.yaml": "77e604bc7004bdd8073e9e035c910b0997b482c17192d7336903b4b29ff63397",+ "src/web/app-store-capture/assets/face-blue.svg": "6ba47540a0c02a03d3955dc26219c2b248537890f55cb7ceafd09b080e454598",+ "src/web/app-store-capture/assets/face-purple.svg": "2ec902464f75486fe3433b80ad65c30de4a4fcf947403bba8a38c4c54e0e162b",+ "src/web/app-store-capture/assets/face-red.svg": "d762e20ec379a14a492ca1cd438fb608267ed1870e20d0ed17d6acf16dd8924a",+ "src/web/app-store-capture/assets/face-teal.svg": "6b53ffd30e7ae6935eaea4dffb31e7bb096d03163c99c2855c5846aec8b375e0",+ "src/web/app-store-capture/creative/artwork.css": "1385e7911ac73a9a61da25f4fe2ea983a449dee1a5e82d8aef29cc1343fc31e6",+ "src/web/app-store-capture/creative/capture.mjs": "f6b7673341448a039b7e6624c2d5338861919981630fe8f00b6f14b3f36d333b",+ "src/web/app-store-capture/creative/noise.svg": "2e971d9c2cd03b14873ff01911b5d2ce13f1990e6ac67efdc0a094c5a183b96e",+ "src/web/app-store-capture/creative/source.json": "268198d8b4d183ed71c4b08ecce7716e7f5936129b4e63f33ebd0c24dbfe5279",+ "src/web/public/alook.svg": "93752523cd171706887d8c70b6511f99727478386d3842fd1efab764c119988e",+ "src/web/src/app/fonts/caveat-latin.woff2": "891951df5e8b5b0f0bc760d31375405e795c666b5add70437de12d4a6482b33f",+ "src/web/src/app/fonts/dm-sans-latin.woff2": "9fea608a947e67020c33cad9a6fe3d60c54119dfb8cff87768a8117a15ed7543"+ },+ "outputs": [+ {+ "path": "alook-header-3840x1646.png",+ "asset": "header",+ "width": 3840,+ "height": 1646,+ "sha256": "6c1ea659a7f9b4a18ba56313374e35e00a88df16f256e5873e91f0bc6be5d980",+ "safeArea": {+ "x": 1097,+ "y": 493,+ "width": 1646,+ "height": 661+ },+ "fontsLoaded": true,+ "images": [+ {+ "path": "/alook.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-teal.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-purple.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-blue.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-red.svg",+ "width": 150,+ "height": 150+ }+ ],+ "criticalBounds": [+ {+ "name": "brand",+ "x": 1200,+ "y": 508.8000183105469,+ "width": 1440,+ "height": 350.3999938964844+ },+ {+ "name": "logo",+ "x": 1474.91259765625,+ "y": 552,+ "width": 264,+ "height": 264.00006103515625+ },+ {+ "name": "headline",+ "x": 1123.2000732421875,+ "y": 897.6000366210938,+ "width": 1593.5999755859375,+ "height": 156.22503662109375+ },+ {+ "name": "subline",+ "x": 1140,+ "y": 1068,+ "width": 1560,+ "height": 74.85009765625+ },+ {+ "name": "face-teal",+ "x": 2476.042724609375,+ "y": 508.04266357421875,+ "width": 217.5146484375,+ "height": 217.51470947265625+ },+ {+ "name": "face-purple",+ "x": 1186.1572265625,+ "y": 701.357177734375,+ "width": 176.485595703125,+ "height": 176.4857177734375+ },+ {+ "name": "face-blue",+ "x": 1135.47802734375,+ "y": 511.4779357910156,+ "width": 210.6441650390625,+ "height": 210.64413452148438+ },+ {+ "name": "face-red",+ "x": 2494.1572265625,+ "y": 701.357177734375,+ "width": 176.485595703125,+ "height": 176.4857177734375+ }+ ],+ "resources": [+ "/",+ "/alook.svg",+ "/artwork.css",+ "/faces/face-blue.svg",+ "/faces/face-purple.svg",+ "/faces/face-red.svg",+ "/faces/face-teal.svg",+ "/fonts/caveat.woff2",+ "/fonts/dm-sans.woff2",+ "/noise.svg"+ ]+ },+ {+ "path": "alook-search-1920x1280.png",+ "asset": "search",+ "width": 1920,+ "height": 1280,+ "sha256": "576f7a8e98109048e10cfad648550252f590beaf75f518974200241bf5bb66fd",+ "safeArea": {+ "x": 418,+ "y": 382.5,+ "width": 1084,+ "height": 515+ },+ "fontsLoaded": true,+ "images": [+ {+ "path": "/alook.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-blue.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-teal.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-purple.svg",+ "width": 150,+ "height": 150+ },+ {+ "path": "/faces/face-red.svg",+ "width": 150,+ "height": 150+ }+ ],+ "criticalBounds": [+ {+ "name": "brand",+ "x": 480,+ "y": 392,+ "width": 960,+ "height": 233.60003662109375+ },+ {+ "name": "logo",+ "x": 663.2750244140625,+ "y": 420.8000183105469,+ "width": 176,+ "height": 175.99996948242188+ },+ {+ "name": "headline",+ "x": 432,+ "y": 668.7999877929688,+ "width": 1056,+ "height": 104.1500244140625+ },+ {+ "name": "subline",+ "x": 440,+ "y": 816,+ "width": 1040,+ "height": 56.1500244140625+ },+ {+ "name": "face-blue",+ "x": 436.9853210449219,+ "y": 396.98529052734375,+ "width": 140.42941284179688,+ "height": 140.429443359375+ },+ {+ "name": "face-teal",+ "x": 1346.6951904296875,+ "y": 394.6950988769531,+ "width": 145.009765625,+ "height": 145.00979614257812+ },+ {+ "name": "face-purple",+ "x": 470.7714538574219,+ "y": 523.5714721679688,+ "width": 117.65713500976562,+ "height": 117.6571044921875+ },+ {+ "name": "face-red",+ "x": 1366.771484375,+ "y": 523.5714721679688,+ "width": 117.6571044921875,+ "height": 117.6571044921875+ }+ ],+ "resources": [+ "/",+ "/alook.svg",+ "/artwork.css",+ "/faces/face-blue.svg",+ "/faces/face-purple.svg",+ "/faces/face-red.svg",+ "/faces/face-teal.svg",+ "/fonts/caveat.woff2",+ "/fonts/dm-sans.woff2",+ "/noise.svg"+ ]+ }+ ]+}diff --git a/assets/app-store/duo-2007x2853/01-share-agents.jpg b/assets/app-store/duo-2007x2853/01-share-agents.jpgnew file mode 100644index 000000000..eaaf18bcfBinary files /dev/null and b/assets/app-store/duo-2007x2853/01-share-agents.jpg differdiff --git a/assets/app-store/duo-2007x2853/02-teamwork.jpg b/assets/app-store/duo-2007x2853/02-teamwork.jpgnew file mode 100644index 000000000..cda4eca4dBinary files /dev/null and b/assets/app-store/duo-2007x2853/02-teamwork.jpg differdiff --git a/assets/app-store/duo-2007x2853/03-companion.jpg b/assets/app-store/duo-2007x2853/03-companion.jpgnew file mode 100644index 000000000..6d17f93f1Binary files /dev/null and b/assets/app-store/duo-2007x2853/03-companion.jpg differdiff --git a/assets/app-store/duo-2007x2853/04-context.jpg b/assets/app-store/duo-2007x2853/04-context.jpgnew file mode 100644index 000000000..96b504347Binary files /dev/null and b/assets/app-store/duo-2007x2853/04-context.jpg differdiff --git a/assets/app-store/duo-2007x2853/05-phone.jpg b/assets/app-store/duo-2007x2853/05-phone.jpgnew file mode 100644index 000000000..ea3470554Binary files /dev/null and b/assets/app-store/duo-2007x2853/05-phone.jpg differdiff --git a/assets/app-store/duo-2007x2853/06-existing-setup.jpg b/assets/app-store/duo-2007x2853/06-existing-setup.jpgindex 0c70c86bd..ddebc36da 100644Binary files a/assets/app-store/duo-2007x2853/06-existing-setup.jpg and b/assets/app-store/duo-2007x2853/06-existing-setup.jpg differdiff --git a/assets/app-store/manifest.json b/assets/app-store/manifest.jsonindex c53326e12..e7051f938 100644--- a/assets/app-store/manifest.json+++ b/assets/app-store/manifest.json@@ -4,7 +4,7 @@"clock": "2026-10-25T00:00:00Z","locale": "en-US","timezone": "UTC",- "repositoryHead": "30cc2f9be9aff68c76e68c4584d4b0fbb0f74012",+ "repositoryHead": "fbc21fd2078f3f3588e74bf8e26eae4954a12cba","inputs": {"pnpm-lock.yaml": "77e604bc7004bdd8073e9e035c910b0997b482c17192d7336903b4b29ff63397","src/web/app-store-capture/app/globals.css": "e54b13c04636964ae7738e52668de9f1356006aec256ace8bd0a9d554873124f",@@ -16,9 +16,9 @@"src/web/app-store-capture/assets/face-purple.svg": "2ec902464f75486fe3433b80ad65c30de4a4fcf947403bba8a38c4c54e0e162b","src/web/app-store-capture/assets/face-red.svg": "d762e20ec379a14a492ca1cd438fb608267ed1870e20d0ed17d6acf16dd8924a","src/web/app-store-capture/assets/face-teal.svg": "6b53ffd30e7ae6935eaea4dffb31e7bb096d03163c99c2855c5846aec8b375e0",- "src/web/app-store-capture/capture.mjs": "098f62d5a43683ed9066f963268e2a4474063dbc60163acd33be5daffc6db10f",- "src/web/app-store-capture/captures/poster.css": "caa813453a47bb316b8c568231e44a4ab34c2e96a0a548573e81d1c4d3047dbe",- "src/web/app-store-capture/captures/poster.tsx": "d4b039b6e1603c2b86e6fa5decda46cf13a6943eae272494ae573c309a3b027a",+ "src/web/app-store-capture/capture.mjs": "c74c5f7a368e54634290e278358474bbba3b7f5aa6be4f3ac6f14f292e4e3538",+ "src/web/app-store-capture/captures/poster.css": "b5e4ce4ff0a91d1862358c4544276ced9e09fc640e06c4802557151cb49ee375",+ "src/web/app-store-capture/captures/poster.tsx": "12c2202d70a350d424c0dda80c647bd3662202d949d0372c5ba72643722f208e","src/web/app-store-capture/captures/surface.tsx": "85cbb9cceb479761978b5d9c0b91f8a2a6c6f2867dd3e0d1327a16df83e78a98","src/web/app-store-capture/next.config.ts": "5950152b533fccc7b4731c2453556a737554f8ee67b284a8a5e086cc4bced98f","src/web/app-store-capture/postcss.config.mjs": "d8c6ca24e85236776ac135ad5ee2f92f5accb400c48ec4ad6146a1fe52546d26",@@ -54,7 +54,7 @@"path": "phone-1206x2622/01-share-agents.jpg","width": 1206,"height": 2622,- "sha256": "c288263e05f53b2ba44f014cf9b870b383411eb284bfc46609652a0409f1060f",+ "sha256": "317f52c3130c1f590ff4d0da86b0266b87441573cd25a096ed4d8381697a4069","surfaces": [{"scene": "workspace",@@ -80,7 +80,7 @@"path": "phone-1206x2622/02-teamwork.jpg","width": 1206,"height": 2622,- "sha256": "34cf1e59f682cde447700a4a28006b45b129fc44a1dea83d620bceda5662a8c7",+ "sha256": "add088d8ee0e7025b12319633bfbe64531ab660841faa0f8fa2de06c65b245cb","surfaces": [{"scene": "workspace",@@ -106,7 +106,7 @@"path": "phone-1206x2622/03-companion.jpg","width": 1206,"height": 2622,- "sha256": "b7296b797e2c3ab4cf84583f8046ad41a8e4bdd9b85aab2c442fe4f2a18e5a89",+ "sha256": "9e8ae789f8055d1251c6f526cadb9f8aeff7231383d7fba352f6c84d032fa58e","surfaces": [{"scene": "identity",@@ -132,7 +132,7 @@"path": "phone-1206x2622/04-context.jpg","width": 1206,"height": 2622,- "sha256": "cc57121ba1d021cd324d11a73d0a764f9777fb804e4dc431ed32f84e1a68fe9a",+ "sha256": "7aff1b04edb171c5379077c092d212cad2e190339394724ce75db3d42ed430ff","surfaces": [{"scene": "continuity",@@ -167,7 +167,7 @@"path": "phone-1206x2622/05-phone.jpg","width": 1206,"height": 2622,- "sha256": "9bb4dcb6859e22ff71e6f18dfbecf5edc119c3e8eb8f71d6672fe6f2d3a6bed0",+ "sha256": "48b911e0b0fd0abf337b6f66cbe85a3cbc83e10b8733a2f95d2030f4ef697f99","surfaces": [{"scene": "workspace",@@ -193,7 +193,7 @@"path": "phone-1206x2622/06-existing-setup.jpg","width": 1206,"height": 2622,- "sha256": "04a166c157245c45198ea739270e429ec5e55910a8037a7df70d0bc09de9962c",+ "sha256": "ef7716e477d72e694ae3f9e27ba359507109034474f8bfc20871eef3835b5e6d","surfaces": [{"scene": "workspace",@@ -219,7 +219,7 @@"path": "phone-1320x2868/01-share-agents.jpg","width": 1320,"height": 2868,- "sha256": "d37c16eb5d0d97d253ce163e0e14ce3abcd475724ad260b1f0eea236a0dfa46f",+ "sha256": "790356303bfe6813119d3df4f1f441a9c199875a60566604ee3f3f6b1d930b52","surfaces": [{"scene": "workspace",@@ -245,7 +245,7 @@"path": "phone-1320x2868/02-teamwork.jpg","width": 1320,"height": 2868,- "sha256": "e8428d8e97b8311bf2e3e3d358c12bdff11c03384d4df1c6efbefe71c16c99e5",+ "sha256": "346908178928b218416f52fef18c0f61d0f5d4e7e5a1228332cf004593032dde","surfaces": [{"scene": "workspace",@@ -271,7 +271,7 @@"path": "phone-1320x2868/03-companion.jpg","width": 1320,"height": 2868,- "sha256": "58c43d8d6ad737dcfa0aee874800273a0278b24c37755fa56071bd7dad9d3a2f",+ "sha256": "93dbabe22c7e77bc0fb1c9e3b24a42c859d1700c067b3c39a811907102ed09f9","surfaces": [{"scene": "identity",@@ -297,7 +297,7 @@"path": "phone-1320x2868/04-context.jpg","width": 1320,"height": 2868,- "sha256": "d6f337a5222a2e7b20e800df7f5d4c8a9f8b8f0ce44d68b4c5acf472472a017c",+ "sha256": "58bc2850948f57ba04f74a12ec90654de400b4c327ac4c5b5a3f24b142a89a0b","surfaces": [{"scene": "continuity",@@ -332,7 +332,7 @@"path": "phone-1320x2868/05-phone.jpg","width": 1320,"height": 2868,- "sha256": "9466ba7dee6a453c135c862e6ebc22fbeb04db46cff16ef95a64e9fdc8049fc3",+ "sha256": "270e04dedb164cbf854c5596fcb20461cfb927d616fdc0c67578a0c5af627a2d","surfaces": [{"scene": "workspace",@@ -358,7 +358,7 @@"path": "phone-1320x2868/06-existing-setup.jpg","width": 1320,"height": 2868,- "sha256": "6f084b5eacf1d904bdc1de90bc43249607f04d90dca73a145ad7f9e8db72af08",+ "sha256": "2233e52d9f379900773604602ed8425796438bf00db0371702dedb88db3578e0","surfaces": [{"scene": "workspace",@@ -381,10 +381,10 @@]},{- "path": "tablet-2064x2752/01-share-agents.jpg",- "width": 2064,- "height": 2752,- "sha256": "2edf07846c4eee4ec778466148080c2ecf0194f26f841c955abb664f19b21235",+ "path": "tablet-2752x2064/01-share-agents.jpg",+ "width": 2752,+ "height": 2064,+ "sha256": "de922b70ed059e7b6728ac3a1903ddc19efc05be2649d0f2c59bf2862996014d","surfaces": [{"scene": "workspace",@@ -394,6 +394,293 @@"sharedShell": true,"messageRows": 12,"positioningSkeletons": 0+ },+ {+ "scene": "reply",+ "width": 600,+ "height": 130,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "tablet-2752x2064/02-teamwork.jpg",+ "width": 2752,+ "height": 2064,+ "sha256": "6deb347b840adc93c2f638c7e5eec7a685c14682c5a1840ff1f608ed539a78af",+ "surfaces": [+ {+ "scene": "workspace",+ "width": 1280,+ "height": 800,+ "rootFontSize": "16px",+ "sharedShell": true,+ "messageRows": 12,+ "positioningSkeletons": 0+ },+ {+ "scene": "reply",+ "width": 600,+ "height": 130,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "tablet-2752x2064/03-companion.jpg",+ "width": 2752,+ "height": 2064,+ "sha256": "be6315e33c113a0a346378ef8f0853a1c8616dc0557ca86e2d0ff8aff778ee74",+ "surfaces": [+ {+ "scene": "identity",+ "width": 1120,+ "height": 660,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ },+ {+ "scene": "profile",+ "width": 300,+ "height": 308,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "tablet-2752x2064/04-context.jpg",+ "width": 2752,+ "height": 2064,+ "sha256": "236d43a931eed51052dcbfd58462cc64036c0a6d4ea4a02a5a8c3bc368da2562",+ "surfaces": [+ {+ "scene": "continuity",+ "width": 1120,+ "height": 660,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ },+ {+ "scene": "continuity-ask",+ "width": 500,+ "height": 130,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ },+ {+ "scene": "continuity-answer",+ "width": 500,+ "height": 110,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "tablet-2752x2064/05-phone.jpg",+ "width": 2752,+ "height": 2064,+ "sha256": "f5f1998a4efdbae47d10b766e60214e4729f180aa7521e76b14acc1bcb552f96",+ "surfaces": [+ {+ "scene": "workspace",+ "width": 1280,+ "height": 800,+ "rootFontSize": "16px",+ "sharedShell": true,+ "messageRows": 12,+ "positioningSkeletons": 0+ },+ {+ "scene": "composer",+ "width": 700,+ "height": 90,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "tablet-2752x2064/06-existing-setup.jpg",+ "width": 2752,+ "height": 2064,+ "sha256": "272ae91e22e5f81efe6b30b697d4efffe74365343b058f28421dd78971b058d9",+ "surfaces": [+ {+ "scene": "workspace",+ "width": 1280,+ "height": 800,+ "rootFontSize": "16px",+ "sharedShell": true,+ "messageRows": 12,+ "positioningSkeletons": 0+ },+ {+ "scene": "provider",+ "width": 1120,+ "height": 660,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "duo-2007x2853/01-share-agents.jpg",+ "width": 2007,+ "height": 2853,+ "sha256": "fb4279a58b374aa38a4082e5f9309bb29cfe42d9ab8be0925026870fccb8d236",+ "surfaces": [+ {+ "scene": "workspace",+ "width": 951,+ "height": 669,+ "rootFontSize": "16px",+ "sharedShell": true,+ "messageRows": 12,+ "positioningSkeletons": 0+ },+ {+ "scene": "reply",+ "width": 550,+ "height": 130,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "duo-2007x2853/02-teamwork.jpg",+ "width": 2007,+ "height": 2853,+ "sha256": "f80c716832ce414f78d4d941e685909eaac95420446690cc0cac64aad73f2bcf",+ "surfaces": [+ {+ "scene": "workspace",+ "width": 951,+ "height": 669,+ "rootFontSize": "16px",+ "sharedShell": true,+ "messageRows": 12,+ "positioningSkeletons": 0+ },+ {+ "scene": "reply",+ "width": 550,+ "height": 130,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "duo-2007x2853/03-companion.jpg",+ "width": 2007,+ "height": 2853,+ "sha256": "16fb5c0b82b4acc8bb97697c498ad5e4dab0ceb6f9e3536eabed7672a22a3525",+ "surfaces": [+ {+ "scene": "identity",+ "width": 1120,+ "height": 660,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ },+ {+ "scene": "profile",+ "width": 300,+ "height": 437,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "duo-2007x2853/04-context.jpg",+ "width": 2007,+ "height": 2853,+ "sha256": "da0b64238634143f107affbcc7b20ad98819c68374aaea266f9af1e4a535eced",+ "surfaces": [+ {+ "scene": "continuity",+ "width": 1120,+ "height": 660,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ },+ {+ "scene": "continuity-ask",+ "width": 500,+ "height": 130,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ },+ {+ "scene": "continuity-answer",+ "width": 500,+ "height": 110,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0+ }+ ]+ },+ {+ "path": "duo-2007x2853/05-phone.jpg",+ "width": 2007,+ "height": 2853,+ "sha256": "073a43adf519295d84cf19faac7441e595f64083b5a4be54b21e285884fabc5f",+ "surfaces": [+ {+ "scene": "workspace",+ "width": 466,+ "height": 678,+ "rootFontSize": "16px",+ "sharedShell": true,+ "messageRows": 12,+ "positioningSkeletons": 0+ },+ {+ "scene": "composer",+ "width": 600,+ "height": 100,+ "rootFontSize": "16px",+ "sharedShell": false,+ "messageRows": 0,+ "positioningSkeletons": 0}]},@@ -401,7 +688,7 @@"path": "duo-2007x2853/06-existing-setup.jpg","width": 2007,"height": 2853,- "sha256": "8ad80e749c6c4c6c96bbf12c650b3d20775c442281ba3102e6c9e2f62621ad6c",+ "sha256": "30d0e499accd874fb2f5794ac385fe9f6cca1e7acf1a918c1e1a5e4f304657a4","surfaces": [{"scene": "workspace",@@ -423,5 +710,139 @@}]}+ ],+ "renderBatches": [+ {+ "renderer": "156.0.8078.48",+ "encoding": "RGB JPEG quality 80",+ "clock": "2026-10-25T00:00:00Z",+ "locale": "en-US",+ "timezone": "UTC",+ "repositoryHead": "fbc21fd2078f3f3588e74bf8e26eae4954a12cba",+ "inputs": {+ "pnpm-lock.yaml": "77e604bc7004bdd8073e9e035c910b0997b482c17192d7336903b4b29ff63397",+ "src/web/app-store-capture/app/globals.css": "e54b13c04636964ae7738e52668de9f1356006aec256ace8bd0a9d554873124f",+ "src/web/app-store-capture/app/layout.tsx": "8b3cc05ec699f99b766dd6fa69127e089ce11b74681d92b80898b95a650aa110",+ "src/web/app-store-capture/app/page.tsx": "73fb0fff70da74672f854baa19ddd957ed9357b3f5a11e898f3105231fa57ef3",+ "src/web/app-store-capture/app/surface/page.tsx": "fd708a2d4eebc1483840dd4eec466f737a309508c78aac91932748f5b8792e8d",+ "src/web/app-store-capture/assets/face-blue.svg": "6ba47540a0c02a03d3955dc26219c2b248537890f55cb7ceafd09b080e454598",+ "src/web/app-store-capture/assets/face-orange.svg": "b26fccaf217060bd67c3874776f11d329401dc79b33a49a5168a33d3458d240e",+ "src/web/app-store-capture/assets/face-purple.svg": "2ec902464f75486fe3433b80ad65c30de4a4fcf947403bba8a38c4c54e0e162b",+ "src/web/app-store-capture/assets/face-red.svg": "d762e20ec379a14a492ca1cd438fb608267ed1870e20d0ed17d6acf16dd8924a",+ "src/web/app-store-capture/assets/face-teal.svg": "6b53ffd30e7ae6935eaea4dffb31e7bb096d03163c99c2855c5846aec8b375e0",+ "src/web/app-store-capture/capture.mjs": "c74c5f7a368e54634290e278358474bbba3b7f5aa6be4f3ac6f14f292e4e3538",+ "src/web/app-store-capture/captures/poster.css": "70b6044117e39c6eee7efd968fe8985ef103b37572e72cc67e5ae5a2c1ddb6be",+ "src/web/app-store-capture/captures/poster.tsx": "a6dcf7a1fcb300e961fc04868966529d32ea8b6c156861b2d2a7ddf326c108b1",+ "src/web/app-store-capture/captures/surface.tsx": "85cbb9cceb479761978b5d9c0b91f8a2a6c6f2867dd3e0d1327a16df83e78a98",+ "src/web/app-store-capture/next.config.ts": "5950152b533fccc7b4731c2453556a737554f8ee67b284a8a5e086cc4bced98f",+ "src/web/app-store-capture/postcss.config.mjs": "d8c6ca24e85236776ac135ad5ee2f92f5accb400c48ec4ad6146a1fe52546d26",+ "src/web/app-store-capture/tsconfig.json": "4ca3402309398dbb7db42b0ca67e4380b680d9a01d362449dff6eb856d32796e",+ "src/web/public/alook.svg": "93752523cd171706887d8c70b6511f99727478386d3842fd1efab764c119988e",+ "src/web/public/landing/people/alex.webp": "758f2f0cc12c446b974f74499ed123355679947171b4e7da9c198aa50d105c78",+ "src/web/public/landing/people/lin.webp": "4ece7b3297ef9484b7abfc6bb025c2ec2b8e79f6e5a0b67fa4f1cd75ad0c99ef",+ "src/web/public/landing/people/nina.webp": "a46cdfff5c81e14b9bbe8dde8fa6ddb0b8351639315b8317a20312b66397c708",+ "src/web/public/landing/people/priya.webp": "66785a80d418fcae8873f718407480ec2cacae7d39614414162575b01932d92c",+ "src/web/public/landing/people/sam.webp": "4532092fb06f8b46f8db89a91a7ef11f72abd049a41ac27798033c0e333ac750",+ "src/web/src/app/favicon.ico": "baf23e7451dca00a358f04a49a674a5776fabe56d417ae1b60131e5ef262ab87",+ "src/web/src/app/fonts.ts": "0ed0de9e0bdc5ff3e76a8aca45ae3c6d2e5879a4b4f49ff72ae84ade3d1ee092",+ "src/web/src/app/fonts/caveat-latin.woff2": "891951df5e8b5b0f0bc760d31375405e795c666b5add70437de12d4a6482b33f",+ "src/web/src/app/fonts/dm-mono-latin-400.woff2": "e1896b13b2b1bb112fac2f9571bd6c40e118746e77a4511edbf43fbb41bf3e1e",+ "src/web/src/app/fonts/dm-sans-latin.woff2": "9fea608a947e67020c33cad9a6fe3d60c54119dfb8cff87768a8117a15ed7543",+ "src/web/src/app/fonts/instrument-serif-latin-400-italic.woff2": "5a51946dfffa82972bc98745359c46761515641fda557c25116459a9f83da4a7",+ "src/web/src/app/fonts/instrument-serif-latin-400.woff2": "5eb09b5ac0e28b67c2f041c8ba6d244604ca0c0980d65912ab2d47fed84ddc31",+ "src/web/src/app/fonts/literata-latin.woff2": "9adbeac5b167fe5ad6c49d9e29aa0c76e2f1bb3b46bf4ebf12a9eca7d3525384",+ "src/web/src/app/fonts/vt323-latin-400.woff2": "8ddbebcc1048154132e1d78eb9b1f7850bca1b7d857035ccf1cb4318ebc615b6",+ "src/web/src/app/globals.css": "98c7bce2964a19dd5df1dee12cfad1c7b6b638c384e942aab31ace654ebaf834",+ "src/web/src/components/home/landing-demo-copy.ts": "4cca071697a56d0a6f452e782d192c215dd7d9a7514a67b1855aef85068ac9ea",+ "src/web/src/components/home/landing-human-avatars.ts": "ff8ecf3907d8b03dae2296ab2749df9ae7c4b74a17fe339d64fdd20d860ddb3f",+ "src/web/src/components/home/landing-interactive-shell-data.ts": "94348c7f5beebc49a3da5d87cbeea1e40b635d038bc8451c96449f55c2babce7",+ "src/web/src/components/home/landing-interactive-shell.module.css": "fc20425992b69444cbab96cc2fe3275dbad820b0b8e55bd52f88b569a407466f",+ "src/web/src/components/home/landing-interactive-shell.tsx": "a6a5c30c749f667f492437cf6636c521713a95f7b9df4eccddf68ff432718fb6",+ "src/web/src/components/home/landing-profile-content.tsx": "b39df0bda2cd07876772428c4f7ab3c0c67bfeea3f1d22bd6c06b6d4f69e8812",+ "src/web/src/components/home/landing-shell-motion-timeline.ts": "3d97b9cd687226a6a39df4e5fc5b0f370914e0970d87f8d5e11b26d6f655cd14",+ "src/web/src/components/home/landing-shell-motion.module.css": "76d407f5ac035e9cc70cdcaef59a29325fba2b738537e0e59d2e75ef490c5113",+ "src/web/src/components/home/landing-shell-motion.tsx": "d515bfa5ed01383fb0d338862da3373d21a0efba75c32dc67619295154cfec2d"+ },+ "outputPaths": [+ "phone-1206x2622/01-share-agents.jpg",+ "phone-1206x2622/02-teamwork.jpg",+ "phone-1206x2622/03-companion.jpg",+ "phone-1206x2622/04-context.jpg",+ "phone-1206x2622/05-phone.jpg",+ "phone-1206x2622/06-existing-setup.jpg",+ "phone-1320x2868/01-share-agents.jpg",+ "phone-1320x2868/02-teamwork.jpg",+ "phone-1320x2868/03-companion.jpg",+ "phone-1320x2868/04-context.jpg",+ "phone-1320x2868/05-phone.jpg",+ "phone-1320x2868/06-existing-setup.jpg",+ "tablet-2752x2064/01-share-agents.jpg",+ "tablet-2752x2064/02-teamwork.jpg",+ "tablet-2752x2064/03-companion.jpg",+ "tablet-2752x2064/04-context.jpg",+ "tablet-2752x2064/05-phone.jpg",+ "tablet-2752x2064/06-existing-setup.jpg"+ ]+ },+ {+ "renderer": "156.0.8078.48",+ "encoding": "RGB JPEG quality 80",+ "clock": "2026-10-25T00:00:00Z",+ "locale": "en-US",+ "timezone": "UTC",+ "repositoryHead": "fbc21fd2078f3f3588e74bf8e26eae4954a12cba",+ "inputs": {+ "pnpm-lock.yaml": "77e604bc7004bdd8073e9e035c910b0997b482c17192d7336903b4b29ff63397",+ "src/web/app-store-capture/app/globals.css": "e54b13c04636964ae7738e52668de9f1356006aec256ace8bd0a9d554873124f",+ "src/web/app-store-capture/app/layout.tsx": "8b3cc05ec699f99b766dd6fa69127e089ce11b74681d92b80898b95a650aa110",+ "src/web/app-store-capture/app/page.tsx": "73fb0fff70da74672f854baa19ddd957ed9357b3f5a11e898f3105231fa57ef3",+ "src/web/app-store-capture/app/surface/page.tsx": "fd708a2d4eebc1483840dd4eec466f737a309508c78aac91932748f5b8792e8d",+ "src/web/app-store-capture/assets/face-blue.svg": "6ba47540a0c02a03d3955dc26219c2b248537890f55cb7ceafd09b080e454598",+ "src/web/app-store-capture/assets/face-orange.svg": "b26fccaf217060bd67c3874776f11d329401dc79b33a49a5168a33d3458d240e",+ "src/web/app-store-capture/assets/face-purple.svg": "2ec902464f75486fe3433b80ad65c30de4a4fcf947403bba8a38c4c54e0e162b",+ "src/web/app-store-capture/assets/face-red.svg": "d762e20ec379a14a492ca1cd438fb608267ed1870e20d0ed17d6acf16dd8924a",+ "src/web/app-store-capture/assets/face-teal.svg": "6b53ffd30e7ae6935eaea4dffb31e7bb096d03163c99c2855c5846aec8b375e0",+ "src/web/app-store-capture/capture.mjs": "c74c5f7a368e54634290e278358474bbba3b7f5aa6be4f3ac6f14f292e4e3538",+ "src/web/app-store-capture/captures/poster.css": "b5e4ce4ff0a91d1862358c4544276ced9e09fc640e06c4802557151cb49ee375",+ "src/web/app-store-capture/captures/poster.tsx": "12c2202d70a350d424c0dda80c647bd3662202d949d0372c5ba72643722f208e",+ "src/web/app-store-capture/captures/surface.tsx": "85cbb9cceb479761978b5d9c0b91f8a2a6c6f2867dd3e0d1327a16df83e78a98",+ "src/web/app-store-capture/next.config.ts": "5950152b533fccc7b4731c2453556a737554f8ee67b284a8a5e086cc4bced98f",+ "src/web/app-store-capture/postcss.config.mjs": "d8c6ca24e85236776ac135ad5ee2f92f5accb400c48ec4ad6146a1fe52546d26",+ "src/web/app-store-capture/tsconfig.json": "4ca3402309398dbb7db42b0ca67e4380b680d9a01d362449dff6eb856d32796e",+ "src/web/public/alook.svg": "93752523cd171706887d8c70b6511f99727478386d3842fd1efab764c119988e",+ "src/web/public/landing/people/alex.webp": "758f2f0cc12c446b974f74499ed123355679947171b4e7da9c198aa50d105c78",+ "src/web/public/landing/people/lin.webp": "4ece7b3297ef9484b7abfc6bb025c2ec2b8e79f6e5a0b67fa4f1cd75ad0c99ef",+ "src/web/public/landing/people/nina.webp": "a46cdfff5c81e14b9bbe8dde8fa6ddb0b8351639315b8317a20312b66397c708",+ "src/web/public/landing/people/priya.webp": "66785a80d418fcae8873f718407480ec2cacae7d39614414162575b01932d92c",+ "src/web/public/landing/people/sam.webp": "4532092fb06f8b46f8db89a91a7ef11f72abd049a41ac27798033c0e333ac750",+ "src/web/src/app/favicon.ico": "baf23e7451dca00a358f04a49a674a5776fabe56d417ae1b60131e5ef262ab87",+ "src/web/src/app/fonts.ts": "0ed0de9e0bdc5ff3e76a8aca45ae3c6d2e5879a4b4f49ff72ae84ade3d1ee092",+ "src/web/src/app/fonts/caveat-latin.woff2": "891951df5e8b5b0f0bc760d31375405e795c666b5add70437de12d4a6482b33f",+ "src/web/src/app/fonts/dm-mono-latin-400.woff2": "e1896b13b2b1bb112fac2f9571bd6c40e118746e77a4511edbf43fbb41bf3e1e",+ "src/web/src/app/fonts/dm-sans-latin.woff2": "9fea608a947e67020c33cad9a6fe3d60c54119dfb8cff87768a8117a15ed7543",+ "src/web/src/app/fonts/instrument-serif-latin-400-italic.woff2": "5a51946dfffa82972bc98745359c46761515641fda557c25116459a9f83da4a7",+ "src/web/src/app/fonts/instrument-serif-latin-400.woff2": "5eb09b5ac0e28b67c2f041c8ba6d244604ca0c0980d65912ab2d47fed84ddc31",+ "src/web/src/app/fonts/literata-latin.woff2": "9adbeac5b167fe5ad6c49d9e29aa0c76e2f1bb3b46bf4ebf12a9eca7d3525384",+ "src/web/src/app/fonts/vt323-latin-400.woff2": "8ddbebcc1048154132e1d78eb9b1f7850bca1b7d857035ccf1cb4318ebc615b6",+ "src/web/src/app/globals.css": "98c7bce2964a19dd5df1dee12cfad1c7b6b638c384e942aab31ace654ebaf834",+ "src/web/src/components/home/landing-demo-copy.ts": "4cca071697a56d0a6f452e782d192c215dd7d9a7514a67b1855aef85068ac9ea",+ "src/web/src/components/home/landing-human-avatars.ts": "ff8ecf3907d8b03dae2296ab2749df9ae7c4b74a17fe339d64fdd20d860ddb3f",+ "src/web/src/components/home/landing-interactive-shell-data.ts": "94348c7f5beebc49a3da5d87cbeea1e40b635d038bc8451c96449f55c2babce7",+ "src/web/src/components/home/landing-interactive-shell.module.css": "fc20425992b69444cbab96cc2fe3275dbad820b0b8e55bd52f88b569a407466f",+ "src/web/src/components/home/landing-interactive-shell.tsx": "a6a5c30c749f667f492437cf6636c521713a95f7b9df4eccddf68ff432718fb6",+ "src/web/src/components/home/landing-profile-content.tsx": "b39df0bda2cd07876772428c4f7ab3c0c67bfeea3f1d22bd6c06b6d4f69e8812",+ "src/web/src/components/home/landing-shell-motion-timeline.ts": "3d97b9cd687226a6a39df4e5fc5b0f370914e0970d87f8d5e11b26d6f655cd14",+ "src/web/src/components/home/landing-shell-motion.module.css": "76d407f5ac035e9cc70cdcaef59a29325fba2b738537e0e59d2e75ef490c5113",+ "src/web/src/components/home/landing-shell-motion.tsx": "d515bfa5ed01383fb0d338862da3373d21a0efba75c32dc67619295154cfec2d"+ },+ "outputPaths": [+ "duo-2007x2853/01-share-agents.jpg",+ "duo-2007x2853/02-teamwork.jpg",+ "duo-2007x2853/03-companion.jpg",+ "duo-2007x2853/04-context.jpg",+ "duo-2007x2853/05-phone.jpg",+ "duo-2007x2853/06-existing-setup.jpg"+ ]+ }]}diff --git a/assets/app-store/phone-1206x2622/01-share-agents.jpg b/assets/app-store/phone-1206x2622/01-share-agents.jpgindex 0c99c1b4f..f6e90ff97 100644Binary files a/assets/app-store/phone-1206x2622/01-share-agents.jpg and b/assets/app-store/phone-1206x2622/01-share-agents.jpg differdiff --git a/assets/app-store/phone-1206x2622/02-teamwork.jpg b/assets/app-store/phone-1206x2622/02-teamwork.jpgindex 6ceea778f..2cf01610a 100644Binary files a/assets/app-store/phone-1206x2622/02-teamwork.jpg and b/assets/app-store/phone-1206x2622/02-teamwork.jpg differdiff --git a/assets/app-store/phone-1206x2622/03-companion.jpg b/assets/app-store/phone-1206x2622/03-companion.jpgindex 532420e99..b252bbef5 100644Binary files a/assets/app-store/phone-1206x2622/03-companion.jpg and b/assets/app-store/phone-1206x2622/03-companion.jpg differdiff --git a/assets/app-store/phone-1206x2622/04-context.jpg b/assets/app-store/phone-1206x2622/04-context.jpgindex b0fe689d4..33d8fd47b 100644Binary files a/assets/app-store/phone-1206x2622/04-context.jpg and b/assets/app-store/phone-1206x2622/04-context.jpg differdiff --git a/assets/app-store/phone-1206x2622/05-phone.jpg b/assets/app-store/phone-1206x2622/05-phone.jpgindex 35a4481d9..4370a3589 100644Binary files a/assets/app-store/phone-1206x2622/05-phone.jpg and b/assets/app-store/phone-1206x2622/05-phone.jpg differdiff --git a/assets/app-store/phone-1206x2622/06-existing-setup.jpg b/assets/app-store/phone-1206x2622/06-existing-setup.jpgindex a56f87d69..ff8201b1c 100644Binary files a/assets/app-store/phone-1206x2622/06-existing-setup.jpg and b/assets/app-store/phone-1206x2622/06-existing-setup.jpg differdiff --git a/assets/app-store/phone-1320x2868/01-share-agents.jpg b/assets/app-store/phone-1320x2868/01-share-agents.jpgindex ed00cf918..08fd7f09e 100644Binary files a/assets/app-store/phone-1320x2868/01-share-agents.jpg and b/assets/app-store/phone-1320x2868/01-share-agents.jpg differdiff --git a/assets/app-store/phone-1320x2868/02-teamwork.jpg b/assets/app-store/phone-1320x2868/02-teamwork.jpgindex b69d3e1a6..587a9ef76 100644Binary files a/assets/app-store/phone-1320x2868/02-teamwork.jpg and b/assets/app-store/phone-1320x2868/02-teamwork.jpg differdiff --git a/assets/app-store/phone-1320x2868/03-companion.jpg b/assets/app-store/phone-1320x2868/03-companion.jpgindex 22effd425..c1ed3bca9 100644Binary files a/assets/app-store/phone-1320x2868/03-companion.jpg and b/assets/app-store/phone-1320x2868/03-companion.jpg differdiff --git a/assets/app-store/phone-1320x2868/04-context.jpg b/assets/app-store/phone-1320x2868/04-context.jpgindex 0d2c006b8..04983d0c2 100644Binary files a/assets/app-store/phone-1320x2868/04-context.jpg and b/assets/app-store/phone-1320x2868/04-context.jpg differdiff --git a/assets/app-store/phone-1320x2868/05-phone.jpg b/assets/app-store/phone-1320x2868/05-phone.jpgindex db45533e7..8c5bc4311 100644Binary files a/assets/app-store/phone-1320x2868/05-phone.jpg and b/assets/app-store/phone-1320x2868/05-phone.jpg differdiff --git a/assets/app-store/phone-1320x2868/06-existing-setup.jpg b/assets/app-store/phone-1320x2868/06-existing-setup.jpgindex dd8e089ee..447a63bf2 100644Binary files a/assets/app-store/phone-1320x2868/06-existing-setup.jpg and b/assets/app-store/phone-1320x2868/06-existing-setup.jpg differdiff --git a/assets/app-store/tablet-2064x2752/01-share-agents.jpg b/assets/app-store/tablet-2064x2752/01-share-agents.jpgdeleted file mode 100644index 5506f9c76..000000000Binary files a/assets/app-store/tablet-2064x2752/01-share-agents.jpg and /dev/null differdiff --git a/assets/app-store/tablet-2752x2064/01-share-agents.jpg b/assets/app-store/tablet-2752x2064/01-share-agents.jpgnew file mode 100644index 000000000..803ec9ac1Binary files /dev/null and b/assets/app-store/tablet-2752x2064/01-share-agents.jpg differdiff --git a/assets/app-store/tablet-2752x2064/02-teamwork.jpg b/assets/app-store/tablet-2752x2064/02-teamwork.jpgnew file mode 100644index 000000000..a5a424908Binary files /dev/null and b/assets/app-store/tablet-2752x2064/02-teamwork.jpg differdiff --git a/assets/app-store/tablet-2752x2064/03-companion.jpg b/assets/app-store/tablet-2752x2064/03-companion.jpgnew file mode 100644index 000000000..4a3ba7329Binary files /dev/null and b/assets/app-store/tablet-2752x2064/03-companion.jpg differdiff --git a/assets/app-store/tablet-2752x2064/04-context.jpg b/assets/app-store/tablet-2752x2064/04-context.jpgnew file mode 100644index 000000000..f18341fa4Binary files /dev/null and b/assets/app-store/tablet-2752x2064/04-context.jpg differdiff --git a/assets/app-store/tablet-2752x2064/05-phone.jpg b/assets/app-store/tablet-2752x2064/05-phone.jpgnew file mode 100644index 000000000..77b0998ebBinary files /dev/null and b/assets/app-store/tablet-2752x2064/05-phone.jpg differdiff --git a/assets/app-store/tablet-2752x2064/06-existing-setup.jpg b/assets/app-store/tablet-2752x2064/06-existing-setup.jpgnew file mode 100644index 000000000..bd67b4fbfBinary files /dev/null and b/assets/app-store/tablet-2752x2064/06-existing-setup.jpg differdiff --git a/package.json b/package.jsonindex d75319a16..c63cb1c48 100644--- a/package.json+++ b/package.json@@ -44,6 +44,7 @@"readme:badges:test": "node --test scripts/generate-readme-badges.test.mjs","readme:capture": "node src/web/readme-capture/capture.mjs","app-store:capture": "node src/web/app-store-capture/capture.mjs",+ "app-store:creative": "node src/web/app-store-capture/creative/capture.mjs","prepare": "simple-git-hooks"},"simple-git-hooks": {diff --git a/scripts/ci/app-store-capture.test.ts b/scripts/ci/app-store-capture.test.tsindex e330af60f..7f54c8083 100644--- a/scripts/ci/app-store-capture.test.ts+++ b/scripts/ci/app-store-capture.test.ts@@ -8,20 +8,22 @@ import { createRequire } from "node:module"import { resolve } from "node:path"import sharp from "sharp"import { describe, expect, it, vi } from "vitest"-import { captures, captureArtwork, captureInputHashes, main, stopCaptureProcess } from "../../src/web/app-store-capture/capture.mjs"+import { captures, selectCaptures, captureArtwork, captureInputHashes, main, stopCaptureProcess } from "../../src/web/app-store-capture/capture.mjs"const root = resolve(import.meta.dirname, "../..")const captureRoot = resolve(root, "src/web/app-store-capture")const { chromium } = createRequire(resolve(root, "src/web/package.json"))("@playwright/test")describe("component-rendered App Store artwork", () => {- it("maps fourteen RGB artwork canvases outside the production router", async () => {- expect(captures).toHaveLength(14)- expect(new Set(captures.map(capture => capture.filename)).size).toBe(14)+ it("maps twenty-four RGB artwork canvases outside the production router", async () => {+ expect(captures).toHaveLength(24)+ expect(new Set(captures.map(capture => capture.filename)).size).toBe(24)expect(captures.filter(capture => capture.width === 1206 && capture.height === 2622)).toHaveLength(6)expect(captures.filter(capture => capture.width === 1320 && capture.height === 2868)).toHaveLength(6)- expect(captures[12]).toMatchObject({ width: 2064, height: 2752, url: "/?kind=tablet" })- expect(captures[13]).toMatchObject({ width: 2007, height: 2853, url: "/?kind=duo" })+ expect(selectCaptures({ device: "tablet" })).toHaveLength(6)+ expect(captures[12]).toMatchObject({ width: 2752, height: 2064, url: "/?kind=tablet&story=1" })+ expect(selectCaptures({ device: "duo" })).toHaveLength(6)+ expect(captures[18]).toMatchObject({ width: 2007, height: 2853, url: "/?kind=duo&story=1" })expect(existsSync(resolve(captureRoot, "app/page.tsx"))).toBe(true)expect(existsSync(resolve(root, "src/web/src/app/app-store-capture/page.tsx"))).toBe(false)const readme = await readFile(resolve(captureRoot, "README.md"), "utf8")@@ -68,9 +70,21 @@ describe("component-rendered App Store artwork", () => {}}}- const duo = manifest.outputs.find(output => output.path.startsWith("duo-"))+ const duo = manifest.outputs.find(output => output.path === "duo-2007x2853/06-existing-setup.jpg")expect(duo.surfaces.map(surface => [surface.width, surface.height])).toEqual([[951, 669], [466, 678]])expect(manifest.inputs).toEqual(await captureInputHashes())+ if (manifest.renderBatches) {+ const paths = manifest.renderBatches.flatMap(batch => batch.outputPaths)+ expect(paths.length).toBe(new Set(paths).size)+ expect([...paths].sort()).toEqual(captures.map(capture => capture.filename).sort())+ for (const batch of manifest.renderBatches) {+ expect(batch.renderer).toMatch(/^\d+\./)+ expect(batch.clock).toBe(manifest.clock)+ expect(Object.keys(batch.inputs).sort()).toEqual(Object.keys(manifest.inputs).sort())+ expect(Object.values(batch.inputs).every(hash => typeof hash === "string" && /^[a-f0-9]{64}$/.test(hash))).toBe(true)+ }+ expect(manifest.renderBatches.at(-1).inputs).toEqual(manifest.inputs)+ }})it("keeps the original source-package manifests as history rather than live screenshot inputs", async () => {@@ -85,6 +99,17 @@ describe("component-rendered App Store artwork", () => {expect(inputs.some(input => /demo-(phone|desktop)\.png|duo-(open|closed)-demo\.jpg|\.html$/.test(input))).toBe(false)})+ it("selects each requested device/story without recapturing unrelated artwork", () => {+ expect(selectCaptures()).toEqual(captures)+ expect(selectCaptures({ story: 3 }).map(capture => capture.filename)).toEqual([+ "phone-1206x2622/03-companion.jpg", "phone-1320x2868/03-companion.jpg",+ "tablet-2752x2064/03-companion.jpg", "duo-2007x2853/03-companion.jpg",+ ])+ expect(selectCaptures({ device: "duo", story: 5 })).toEqual([expect.objectContaining({ filename: "duo-2007x2853/05-phone.jpg", url: "/?kind=duo&story=5" })])+ for (const story of [0, 7, 1.5, Number.NaN, "3"]) expect(() => selectCaptures({ story })).toThrow("Invalid story")+ expect(() => selectCaptures({ device: "watch" })).toThrow("Invalid device")+ })+it("stops its owned process group and leaves an unrelated listener alive", async () => {const unrelated = createServer((_request, response) => response.end("unrelated"))unrelated.listen(0, "127.0.0.1")@@ -112,6 +137,8 @@ describe("component-rendered App Store artwork", () => {const launch = vi.spyOn(chromium, "launch")try {await expect(captureArtwork({ signal: AbortSignal.abort(new Error("cancelled")) })).rejects.toThrow("cancelled")+ await expect(main(["--device", "watch"])).rejects.toThrow("Invalid device")+ for (const args of [["--device"], ["--story"], ["--story", "7"], ["--story", "1.5"]]) await expect(main(args)).rejects.toThrow("Usage:")expect(launch).not.toHaveBeenCalled()} finally { vi.restoreAllMocks() }})diff --git a/scripts/ci/app-store-creative.test.ts b/scripts/ci/app-store-creative.test.tsnew file mode 100644index 000000000..ed34ba6b7--- /dev/null+++ b/scripts/ci/app-store-creative.test.ts@@ -0,0 +1,114 @@+import { createHash } from "node:crypto"+import { readFile } from "node:fs/promises"+import { createServer, Server } from "node:http"+import { createRequire } from "node:module"+import { resolve } from "node:path"+import sharp from "sharp"+import { describe, expect, it, vi } from "vitest"+import { creativeCaptures, selectCreatives, creativeInputHashes, startCreativeServer, captureCreatives, main } from "../../src/web/app-store-capture/creative/capture.mjs"++const root = resolve(import.meta.dirname, "../..")+const { chromium } = createRequire(resolve(root, "src/web/package.json"))("@playwright/test")++async function close(server: Server) {+ server.closeAllConnections()+ await new Promise<void>((resolve, reject) => server.close(error => error ? reject(error) : resolve()))+}++describe("App Store creative PNG capture", () => {+ it("selects the two approved canvases together or independently", () => {+ expect(selectCreatives()).toEqual(creativeCaptures)+ expect(creativeCaptures.map(({ asset, width, height, filename }) => ({ asset, width, height, filename }))).toEqual([+ { asset: "header", width: 3840, height: 1646, filename: "alook-header-3840x1646.png" },+ { asset: "search", width: 1920, height: 1280, filename: "alook-search-1920x1280.png" },+ ])+ for (const asset of ["header", "search"]) expect(selectCreatives(asset).map(capture => capture.asset)).toEqual([asset])+ expect(() => selectCreatives("unknown")).toThrow("Invalid creative asset")+ })++ it("serves the local document and only declared resources, then closes its own listener", async () => {+ const unrelated = createServer((_request, response) => response.end("unrelated"))+ await new Promise<void>(resolve => unrelated.listen(0, "127.0.0.1", resolve))+ const address = unrelated.address()+ if (!address || typeof address === "string") throw new Error("Missing fixture address")+ const server = await startCreativeServer()+ try {+ for (const asset of ["header", "search"]) {+ const response = await fetch(`${server.origin}/?asset=${asset}`)+ expect(response.status).toBe(200)+ expect(response.headers.get("content-type")).toContain("text/html")+ expect(await response.text()).toContain(`canvas ${asset}-art`)+ }+ const expected = [+ ["/artwork.css", "text/css"], ["/noise.svg", "image/svg+xml"], ["/alook.svg", "image/svg+xml"],+ ["/fonts/caveat.woff2", "font/woff2"], ["/fonts/dm-sans.woff2", "font/woff2"],+ ...["blue", "teal", "purple", "red"].map(color => [`/faces/face-${color}.svg`, "image/svg+xml"]),+ ]+ for (const [pathname, type] of expected) {+ const response = await fetch(`${server.origin}${pathname}`)+ expect(response.status).toBe(200)+ expect(response.headers.get("content-type")).toContain(type)+ expect((await response.arrayBuffer()).byteLength).toBeGreaterThan(100)+ }+ for (const pathname of ["/unknown", "/../package.json", "/%2e%2e/AGENTS.md", "/faces/face-orange.svg"]) expect((await fetch(`${server.origin}${pathname}`)).status).toBe(404)+ expect((await fetch(`${server.origin}/?asset=invalid`)).status).toBe(400)+ expect((await fetch(server.origin, { method: "POST" })).status).toBe(405)+ } finally { await server.close() }+ try {+ await server.close()+ await expect(fetch(server.origin)).rejects.toThrow()+ expect(await (await fetch(`http://127.0.0.1:${address.port}`)).text()).toBe("unrelated")+ } finally { await close(unrelated) }+ })++ it("rejects invalid selection and pre-aborted work before resource launch", async () => {+ const launch = vi.spyOn(chromium, "launch")+ const listen = vi.spyOn(Server.prototype, "listen")+ try {+ await expect(captureCreatives({ asset: "bad" })).rejects.toThrow("Invalid creative asset")+ await expect(captureCreatives({ signal: AbortSignal.abort(new Error("cancelled")) })).rejects.toThrow("cancelled")+ for (const args of [["--unknown"], ["--asset"], ["--output"]]) await expect(main(args)).rejects.toThrow("Usage:")+ await expect(main(["--asset", "bad"])).rejects.toThrow("Invalid creative asset")+ expect(launch).not.toHaveBeenCalled()+ expect(listen).not.toHaveBeenCalled()+ } finally { vi.restoreAllMocks() }+ })++ it("closes its real server when Chrome cannot launch", async () => {+ vi.spyOn(chromium, "launch").mockRejectedValue(new Error("Chrome unavailable"))+ const listen = vi.spyOn(Server.prototype, "listen")+ try {+ await expect(captureCreatives()).rejects.toThrow("Chrome unavailable")+ expect(listen).toHaveBeenCalledTimes(1)+ expect(listen.mock.contexts.every(server => server.address() === null)).toBe(true)+ } finally { vi.restoreAllMocks() }+ })++ it("ships two RGB PNGs with actual resources, safe geometry and source hashes", async () => {+ const directory = resolve(root, "assets/app-store/creative")+ const manifest = JSON.parse(await readFile(resolve(directory, "manifest.json"), "utf8"))+ const source = JSON.parse(await readFile(resolve(root, "src/web/app-store-capture/creative/source.json"), "utf8"))+ expect(manifest.approvedPrototypeSha256).toBe(source.approvedPrototypeSha256)+ expect(manifest.encoding).toBe("RGB PNG")+ expect(manifest.outputs.map(output => output.path)).toEqual(creativeCaptures.map(capture => capture.filename))+ expect(manifest.inputs).toEqual(await creativeInputHashes())+ for (const capture of creativeCaptures) {+ const bytes = await readFile(resolve(directory, capture.filename))+ expect(await sharp(bytes).metadata()).toMatchObject({ format: "png", width: capture.width, height: capture.height, channels: 3, hasAlpha: false, space: "srgb" })+ const output = manifest.outputs.find(output => output.asset === capture.asset)+ expect(output.sha256).toBe(createHash("sha256").update(bytes).digest("hex"))+ expect(output.fontsLoaded).toBe(true)+ expect(output.images).toHaveLength(5)+ expect(output.criticalBounds).toHaveLength(8)+ expect(output.resources).toEqual(expect.arrayContaining(["/artwork.css", "/noise.svg", "/alook.svg", "/fonts/caveat.woff2", "/fonts/dm-sans.woff2"]))+ expect(output.resources).not.toContain("/faces/face-orange.svg")+ expect(output.safeArea).toEqual(capture.safeArea)+ for (const rect of output.criticalBounds) {+ expect(rect.x).toBeGreaterThanOrEqual(capture.safeArea.x - .1)+ expect(rect.y).toBeGreaterThanOrEqual(capture.safeArea.y - .1)+ expect(rect.x + rect.width).toBeLessThanOrEqual(capture.safeArea.x + capture.safeArea.width + .1)+ expect(rect.y + rect.height).toBeLessThanOrEqual(capture.safeArea.y + capture.safeArea.height + .1)+ }+ }+ })+})diff --git a/src/web/app-store-capture/README.md b/src/web/app-store-capture/README.mdindex 978b211c2..4058f715a 100644--- a/src/web/app-store-capture/README.md+++ b/src/web/app-store-capture/README.md@@ -1,46 +1,70 @@# App Store artwork capture-Generate the warm-orange marketing compositions from the repository root:+Generate the complete six-story screenshot set from the repository root:```bashpnpm install --frozen-lockfilepnpm app-store:capture```-This standalone Next app follows `readme-capture` and lives outside the production router. `captures/poster.tsx` draws the marketing layout. Each device contains a local iframe with its own logical viewport, importing real Web components and the homepage's existing demo data through `captures/surface.tsx`. No screenshot bitmap or hand-written App markup supplies the screen UI.+This standalone Next app follows `readme-capture` and lives outside the production router. Each scene imports real Web components and the homepage's existing demo data through `captures/surface.tsx`, inside its own logical iframe viewport. Screenshot bitmaps and hand-written App UI are not inputs. The marketing headlines, illustrated devices and surrounding face artwork belong to the capture composition.-Workspace scenes use `LandingInteractiveShell`, including the shared rail, sidebar, header, message list, composer and user bar. Identity, continuity and profile scenes reuse `LandingShellMotion`, `LandingProfileContent` and their existing fixtures. Enlarged messages use the real `Message` component with the original fixture objects. Only the marketing headline, device illustrations and surrounding artwork are capture-specific.--The normal App root size is 16px; the public demo's 14px preview modifier is not applied. Desktop workspaces use 1280×800 logical pixels; phone scenes use 402×874. Duo uses 951×669 and 466×678 screen-reference rectangles. These are browser layout inputs, not measurements of a native WebView's usable safe area. See [SOURCES.md](SOURCES.md) for the geometry and evidence boundaries.--The generator starts its own Next process group on an unused loopback port and launches installed Chrome with `channel: "chrome"`, without an existing profile. It opens the mobile general channel using its actual control, waits for frame readiness, fonts and images, rejects external requests/resource errors, captures the poster and validates RGB JPEG dimensions. Success, errors and signals close its owned browser and Next group; unrelated services are not stopped. Fixtures use local providers without account credentials or backend writes.+The 24 screenshots have no outer Logo/wordmark or page counter. Actual UI branding remains part of the application. Two phone sizes each show six stories. Landscape iPad has six layouts around its broad workspace. Duo has six dedicated compositions: expanded collaboration, identity/profile across both forms, continuity with message details, closed-device check-in and both forms for the existing setup story. Device-specific headlines keep the same feature meaning.## OutputsPaths are relative to `assets/app-store/`:-| Story | 1206×2622 phone | 1320×2868 phone |-| --- | --- | --- |-| Share your agents | `phone-1206x2622/01-share-agents.jpg` | `phone-1320x2868/01-share-agents.jpg` |-| Let teammates talk to your agent | `phone-1206x2622/02-teamwork.jpg` | `phone-1320x2868/02-teamwork.jpg` |-| A companion of your own | `phone-1206x2622/03-companion.jpg` | `phone-1320x2868/03-companion.jpg` |-| Pick up where you left off | `phone-1206x2622/04-context.jpg` | `phone-1320x2868/04-context.jpg` |-| Check in from your phone | `phone-1206x2622/05-phone.jpg` | `phone-1320x2868/05-phone.jpg` |-| Keep your existing setup | `phone-1206x2622/06-existing-setup.jpg` | `phone-1320x2868/06-existing-setup.jpg` |+| Story | 1206×2622 phone | 1320×2868 phone | 2752×2064 iPad | 2007×2853 Duo |+| --- | --- | --- | --- | --- |+| Share your agents | `phone-1206x2622/01-share-agents.jpg` | `phone-1320x2868/01-share-agents.jpg` | `tablet-2752x2064/01-share-agents.jpg` | `duo-2007x2853/01-share-agents.jpg` |+| Let teammates talk to your agent | `phone-1206x2622/02-teamwork.jpg` | `phone-1320x2868/02-teamwork.jpg` | `tablet-2752x2064/02-teamwork.jpg` | `duo-2007x2853/02-teamwork.jpg` |+| A companion of your own | `phone-1206x2622/03-companion.jpg` | `phone-1320x2868/03-companion.jpg` | `tablet-2752x2064/03-companion.jpg` | `duo-2007x2853/03-companion.jpg` |+| Pick up where you left off | `phone-1206x2622/04-context.jpg` | `phone-1320x2868/04-context.jpg` | `tablet-2752x2064/04-context.jpg` | `duo-2007x2853/04-context.jpg` |+| Check in from your device | `phone-1206x2622/05-phone.jpg` | `phone-1320x2868/05-phone.jpg` | `tablet-2752x2064/05-phone.jpg` | `duo-2007x2853/05-phone.jpg` |+| Keep your existing setup | `phone-1206x2622/06-existing-setup.jpg` | `phone-1320x2868/06-existing-setup.jpg` | `tablet-2752x2064/06-existing-setup.jpg` | `duo-2007x2853/06-existing-setup.jpg` |++All 24 are three-channel sRGB JPEGs without alpha. The former single portrait-tablet image has been retired. File sequence numbers organize output paths; no page numbering is drawn into the screenshots.++The normal App root font size is 16px. Workspace viewports are 1280×800 for phone desktop details/iPad, 402×874 for phone screens, and 951×669 / 466×678 for expanded / folded Duo workspaces. Identity/continuity motion stages retain their own 1120×660 viewport and fit the illustrated aperture without stretching. These browser inputs and CSS hardware frames do not measure native safe insets.++## Selection and review++Capture one device family, one feature across families, or one specific composition:++```bash+pnpm app-store:capture --device tablet --output /tmp/alook-ipad-review+pnpm app-store:capture --story 3 --output /tmp/alook-companion-review+pnpm app-store:capture --device duo --story 5 --output /tmp/alook-duo-check-in+pnpm app-store:capture --device tablet --overview --output /tmp/alook-ipad-overview+```++`--device` accepts `phone`, `tablet` or `duo`. `phone` generates both phone sizes. `--story` accepts integers 1–6. No filter generates all 24. Invalid options fail before the owned service/browser launches.++`--overview` adds a review sheet of the first six selected outputs to the same manifest. Each tile preserves its original aspect ratio with cream padding. It composites existing output bytes rather than taking another UI capture. For an unfiltered run these are the six smaller-phone stories. Use separate output directories for separate selections: each successful run's `manifest.json` describes that run's output set. The command overwrites declared outputs and its manifest without clearing unrelated destination files. Failure can leave partial images or an older manifest; use a run only after success.++## Reproducibility and boundaries++The generator starts its own Next process group on an unused loopback port and launches installed Chrome with `channel: "chrome"`, without an existing profile. It opens the narrow community general channel through its actual control, waits for real surfaces, fonts and images, rejects unexpected external requests/resource errors, captures each poster and validates RGB JPEG metadata. Success, errors and signals close its owned browser and Next group. Fixtures require no private account, backend write or production credentials.++`manifest.json` records actual Chrome version, direct input hashes, repository HEAD, fixed fixture reference clock (2026-10-25 UTC), locale/timezone, measured viewports and output hashes. An optional `renderBatches` list preserves the actual renderer/input hashes and output paths when unchanged images are retained across a targeted rerender. The committed Duo-only revision retains the eighteen phone/iPad images under their earlier batch; the latest `inputs` belong to the new six-image Duo batch. A complete default run replaces this with a fresh single-run manifest. Uncommitted candidates additionally need their full review tree/file binding. Direct hashes are not a transitive dependency graph; browser/font rasterization can change bytes. Review actual composition and native-size changed regions as well as hashes.++See [SOURCES.md](SOURCES.md) for component, reference and geometry provenance. Edit a composition or fixture consumer, regenerate the affected complete set and review every story/crop. Keep production rendering free of capture flags. Creative product-page headers/search artwork are separate from these screenshots; their central template safe area does not constrain these screenshot layouts. These marketing renders do not prove native layout parity, store acceptance or a particular installed build.-The tablet is `tablet-2064x2752/01-share-agents.jpg` (2064×2752), retaining the complete desktop navigation and user bar. The Duo is `duo-2007x2853/06-existing-setup.jpg` (2007×2853).+## Product-page header and search creatives-All 14 are three-channel sRGB JPEGs without alpha. `manifest.json` records actual Chrome version, direct input hashes, reference clock, locale/timezone, component viewports and output hashes. Browser time is fixed to 2026-10-25 UTC for stable fixture date labels; fixture timestamps are unchanged. The repository HEAD identifies the baseline; an uncommitted candidate also needs its review tree/file binding. Direct hashes are not a complete transitive dependency graph. Browser/font rasterization can change JPEG bytes between runs, so hashes do not prove visual equivalence.+The separate approved centered-brand composition exports PNG artwork through the same capture tool directory and installed Chrome/sharp, without starting the gallery's Next app:```bash-pnpm app-store:capture --output /tmp/alook-store-artwork-pnpm app-store:capture --overview --output /tmp/alook-store-review+pnpm app-store:creative+pnpm app-store:creative --asset header --output /tmp/alook-header+pnpm app-store:creative --asset search --output /tmp/alook-search```-`--overview` composites a 1206×1679 review sheet from the six generated small-phone images and adds it to that run's manifest. It does not recapture a second set of live UI frames. The command overwrites only its declared images and manifest, without clearing unrelated destination files. A failure can leave partial images or a previous manifest; use outputs only after the command succeeds.+Default `--asset all` writes `creative/alook-header-3840x1646.png`, `creative/alook-search-1920x1280.png` and their own `creative/manifest.json` under `assets/app-store/`. Single-asset selections emit only the selected PNG and a run-specific manifest; use separate directories for separate selections. The gallery command, default 24 JPEGs and existing gallery manifest are unchanged.-## Source and updates+A small owned loopback server serves only the artwork document, CSS/noise and declared local fonts/Logo/four face SVGs. It has no production route, account or backend state. The generator waits for loaded fonts/images, rejects external/resource errors, measures eight critical subjects against the placement's Apple safe rectangle, validates three-channel RGB PNG output without alpha, and closes its owned context/browser/server on success, failure or interruption. Unrelated destination files and services are retained. A failed run can leave partial files; rely on a manifest only after success.-See [SOURCES.md](SOURCES.md). Normal generation is local and needs no online page, private account, database or credentials. Public asset links are relative to repository logo, fonts and homepage avatars. The five face SVGs retain the official logo paths and approved crops.+The composition uses the final approved HTML cascade: large centered wordmark and four supporting blue/teal/purple/red faces, with no interface thumbnail or standalone orange face. The header keeps its one-line headline. Actual critical element boxes, local resources, renderer and input/output hashes are recorded. CSS filter blur is outside element-box measurements; visual comparison against the supplied originals remains necessary. See source provenance below and in [SOURCES.md](SOURCES.md).-Edit capture composition or shared fixture consumers, regenerate all 14, review all stories/crops and update contracts and provenance for intentional changes. Keep production rendering free of capture flags. The old static package manifests are historical; their former byte freeze does not constrain this component implementation. These marketing outputs do not prove native layout parity, store acceptance or a particular installed build.+The supplied reference PNGs were converted from browser JPEG previews. The generator captures clear PNG directly; JPEG compression pixels are not part of the composition contract. The approved HTML remains the source for fonts, assets, geometry and crop.diff --git a/src/web/app-store-capture/SOURCES.md b/src/web/app-store-capture/SOURCES.mdindex a0709dc48..690876e6f 100644--- a/src/web/app-store-capture/SOURCES.md+++ b/src/web/app-store-capture/SOURCES.md@@ -19,11 +19,19 @@ The capture imports production global CSS and local fonts, keeping normal 16px r`assets/app-store/manifest.json` records direct source/asset hashes, actual renderer, fixture clock, logical viewports and generated JPEG hashes. Transitive shared code is identified by the complete review tree or committed source, not only the direct input list. Encoding and subpixel rasterization can differ across Chrome versions or repeated captures; a byte hash is not a visual comparison.+## Six-story device compositions++The current screenshot set has six stories for each of two phone dimensions, landscape iPad and Duo: 24 RGB JPEGs. The screenshot surround omits the former wordmark and page counter; existing App UI stays intact. Phone spacing reuses the story group after reclaiming that top band. iPad uses its own wide title/device layout. Duo's companion, continuity, closed-device check-in and dual-form setup scenes select different real component surfaces and hardware arrangements. Expanded devices have no decorative central crease overlay. A Duo-only rerender retains the eighteen unchanged phone/iPad files under their original input/renderer batch in the aggregate manifest; it does not present them as newly rendered from the later source.++Reference decisions were checked against [Apple's product page guidance](https://developer.apple.com/app-store/product-page/), [screenshot specifications](https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications/), and actual phone/tablet screenshots from [Discord's official App Store listing](https://apps.apple.com/us/app/discord-talk-play-hang-out/id985746746) (public Apple lookup, US, version 350.0). References informed feature hierarchy and the landscape tablet arrangement; their images are not repository or output inputs. The selected 2752×2064 landscape iPad and 2007×2853 Duo store canvases are distinct from the CSS UI viewports.++Each screenshot uses canvas-specific title margins and device framing. The central ART SAFE AREA in Apple's separate creative-header/search templates is not applied to the screenshot group. The old fourteen-image count and lone portrait iPad/one-story Duo composition no longer define the generator contract.+## Duo geometryBoth illustrated CSS bodies use 10px/mm before perspective: unfolded 1646×1178 and folded 841×1178. The dimensions follow [Apple technical specifications](https://www.apple.com/iphone-duo/specs/): 164.6×117.8mm and 84.1×117.8mm. Screen apertures retain hardware ratios 2670:1878 and 1398:2034, with component frames fitted without stretching. Bezel widths, corners, crease, hinge, buttons and perspective remain illustration approximations.-The 2007×2853 poster is a store canvas listed in [Apple screenshot specifications](https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications/), distinct from the inner hardware panel's 1878×2670 pixels. Neither defines a CSS viewport. Duo's browser frames are 951×669 and 466×678 logical pixels, derived from simulator screen descriptors at UI scale 3 as reference rectangles. They do not establish the current native WebView's usable area, which can exclude safe insets. [Apple development guidance](https://developer.apple.com/iphone-duo/prepare/) requires layouts to follow the current window/view.+The 2007×2853 poster is a store canvas listed in [Apple screenshot specifications](https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications/), distinct from the inner hardware panel's 1878×2670 pixels. Neither defines a CSS viewport. Duo's workspace browser frames are 951×669 and 466×678 logical pixels, derived from simulator screen descriptors at UI scale 3 as reference rectangles. Identity/continuity motion scenes retain their 1120×660 logical stage and fit without distortion. These frames do not establish the current native WebView's usable area, which can exclude safe insets. [Apple development guidance](https://developer.apple.com/iphone-duo/prepare/) requires layouts to follow the current window/view.These are browser marketing compositions, not screenshots from a native build. Reusing Web components does not prove native status-bar/safe-area parity or a successful store submission. No private simulator screenshot is a pipeline input.@@ -36,3 +44,15 @@ The previous implementation and its rendered files remain in Git history. The cu- `duo-refinement.json` is the historical physical-scale-v2 HTML binding at commit `30cc2f9be9aff68c76e68c4584d4b0fbb0f74012`. It is not a live template manifest for the component generator.Those packages used public homepage/demo scenes, not private conversations or native runtime evidence. The historical static HTML and bitmap inputs have been retired from this directory. Original manifests are preserved for attribution, while current source/output metadata is recorded separately.++## Centered-brand creative exports++`creative/source.json` identifies the approved standalone HTML with SHA-256 `f17b90df66ed06777834687e843137711b4ee48fdf42f4fb1c2097c49563b6a2` and the two original reference PNGs. `creative/artwork.css` is the flattened final cascade from that source; the document omits its preview controls, hidden old thumbnail and unused standalone orange face. No store-account screenshot or private coordination record is a production/repository input.++The embedded original Caveat, DM Sans, official Logo and four face SVG bytes were matched to their existing repository inputs. The 247-byte noise SVG is extracted unchanged from that HTML. The header uses a 1600×685.833333 logical canvas at scale 2.4; search uses 1200×800 at scale 1.6. Colors, positions, rotations and crop follow the approved source, rather than being reconstructed from a preview screenshot.++Placement safety rectangles come from [Apple's creative template](https://devimages-cdn.apple.com/design/resources/download/app-store/creative_assets-templates.sketch), SHA-256 `0f6f6f86e89ccf8a74f9214b29481c6748e21fc677ecc72fbc623ae3470d8957`: header (1097,493,1646,661) on 3840×1646; search (418,382.5,1084,515) on 1920×1280. The generator records actual element bounds and resource readiness. These bounds belong to creative placements, not gallery screenshots or a native safe-area claim.++The creative manifest records the real Chrome renderer, direct local input hashes, original composition identity and generated PNG hashes. Original PNG hashes identify references; another PNG encoder or browser rasterizer can produce different file bytes. Compare decoded appearance, typography and crop as well as metadata. A reproducible export does not imply store processing/review approval or App submission.++The supplied reference PNGs were converted from browser JPEG previews. The generator captures clear PNG directly; JPEG compression pixels are not part of the composition contract. The approved HTML remains the source for fonts, assets, geometry and crop.diff --git a/src/web/app-store-capture/capture.mjs b/src/web/app-store-capture/capture.mjsindex 08213b798..306bdb547 100644--- a/src/web/app-store-capture/capture.mjs+++ b/src/web/app-store-capture/capture.mjs@@ -17,11 +17,21 @@ const stories = ["share-agents", "teamwork", "companion", "context", "phone", "econst require = createRequire(import.meta.url)export const captures = [- ...[{ width: 1206, height: 2622 }, { width: 1320, height: 2868 }].flatMap(({ width, height }) =>- stories.map((story, index) => ({ width, height, url: `/?story=${index + 1}${width === 1320 ? "&large=1" : ""}`, filename: `phone-${width}x${height}/${String(index + 1).padStart(2, "0")}-${story}.jpg` }))),- { width: 2064, height: 2752, url: "/?kind=tablet", filename: "tablet-2064x2752/01-share-agents.jpg" },- { width: 2007, height: 2853, url: "/?kind=duo", filename: "duo-2007x2853/06-existing-setup.jpg" },-]+ { device: "phone", width: 1206, height: 2622 },+ { device: "phone", width: 1320, height: 2868 },+ { device: "tablet", width: 2752, height: 2064 },+ { device: "duo", width: 2007, height: 2853 },+].flatMap(({ device, width, height }) => stories.map((name, index) => ({+ device, story: index + 1, width, height,+ url: `/?kind=${device}&story=${index + 1}${width === 1320 ? "&large=1" : ""}`,+ filename: `${device}-${width}x${height}/${String(index + 1).padStart(2, "0")}-${name}.jpg`,+})))++export function selectCaptures({ device, story } = {}) {+ if (device !== undefined && !["phone", "tablet", "duo"].includes(device)) throw new Error("Invalid device: use phone, tablet or duo")+ if (story !== undefined && (!Number.isInteger(story) || story < 1 || story > stories.length)) throw new Error("Invalid story: use 1 through 6")+ return captures.filter(capture => (!device || capture.device === device) && (story === undefined || capture.story === story))+}export async function captureInputHashes() {const files = ["capture.mjs", "next.config.ts", "postcss.config.mjs", "tsconfig.json"].map(file => path.join(captureRoot, file))@@ -149,7 +159,8 @@ async function render(browser, origin, capture) {} finally { await context.close() }}-export async function captureArtwork({ output = path.join(repositoryRoot, "assets/app-store"), overview = false, signal } = {}) {+export async function captureArtwork({ output = path.join(repositoryRoot, "assets/app-store"), overview = false, device, story, signal } = {}) {+ const selected = selectCaptures({ device, story })signal?.throwIfAborted()const app = await startCaptureApp({ signal })let browser@@ -159,7 +170,7 @@ export async function captureArtwork({ output = path.join(repositoryRoot, "assetsignal?.throwIfAborted()signal?.addEventListener("abort", abort, { once: true })const outputs = []- for (const capture of captures) {+ for (const capture of selected) {signal?.throwIfAborted()const { bytes, surfaces } = await render(browser, app.origin, capture)const metadata = await sharp(bytes).metadata()@@ -170,10 +181,14 @@ export async function captureArtwork({ output = path.join(repositoryRoot, "assetoutputs.push({ path: capture.filename, width: metadata.width, height: metadata.height, sha256: createHash("sha256").update(bytes).digest("hex"), surfaces })}if (overview) {- const tiles = await Promise.all(outputs.slice(0, 6).map(async (entry, index) => ({ input: await sharp(path.join(output, entry.path)).resize(368, 800).toBuffer(), left: 28 + (index % 3) * 391, top: 28 + Math.floor(index / 3) * 823 })))- const bytes = await sharp({ create: { width: 1206, height: 1679, channels: 3, background: "#f3e6d4" } }).composite(tiles).jpeg({ quality: 80 }).toBuffer()+ const first = outputs.slice(0, 6)+ const columns = Math.min(first.length, 3)+ const width = 56 + columns * 368 + (columns - 1) * 23+ const height = 56 + Math.ceil(first.length / columns) * 800 + (Math.ceil(first.length / columns) - 1) * 23+ const tiles = await Promise.all(first.map(async (entry, index) => ({ input: await sharp(path.join(output, entry.path)).resize(368, 800, { fit: "contain", background: "#f3e6d4" }).toBuffer(), left: 28 + (index % columns) * 391, top: 28 + Math.floor(index / columns) * 823 })))+ const bytes = await sharp({ create: { width, height, channels: 3, background: "#f3e6d4" } }).composite(tiles).jpeg({ quality: 80 }).toBuffer()await writeFile(path.join(output, "overview.jpg"), bytes)- outputs.push({ path: "overview.jpg", width: 1206, height: 1679, sha256: createHash("sha256").update(bytes).digest("hex"), surfaces: [] })+ outputs.push({ path: "overview.jpg", width, height, sha256: createHash("sha256").update(bytes).digest("hex"), surfaces: [] })}const { stdout } = await promisify(execFile)("git", ["rev-parse", "HEAD"], { cwd: repositoryRoot })const manifest = { renderer: browser.version(), encoding: "RGB JPEG quality 80", clock: "2026-10-25T00:00:00Z", locale: "en-US", timezone: "UTC", repositoryHead: stdout.trim(), inputs: await captureInputHashes(), outputs }@@ -189,8 +204,10 @@ export async function main(args = process.argv.slice(2)) {const options = {}for (let index = 0; index < args.length; index++) {if (args[index] === "--overview") options.overview = true+ else if (args[index] === "--device" && args[index + 1] && !args[index + 1].startsWith("--")) options.device = args[++index]+ else if (args[index] === "--story" && args[index + 1] && /^[1-6]$/.test(args[index + 1])) options.story = Number(args[++index])else if (args[index] === "--output" && args[index + 1] && !args[index + 1].startsWith("--")) options.output = path.resolve(args[++index])- else throw new Error("Usage: pnpm app-store:capture [--output directory] [--overview]")+ else throw new Error("Usage: pnpm app-store:capture [--output directory] [--overview] [--device phone|tablet|duo] [--story 1..6]")}const controller = new AbortController()const interrupt = () => {diff --git a/src/web/app-store-capture/captures/poster.css b/src/web/app-store-capture/captures/poster.cssindex 694243cec..7bd66d82e 100644--- a/src/web/app-store-capture/captures/poster.css+++ b/src/web/app-store-capture/captures/poster.css@@ -3,9 +3,6 @@*{box-sizing:border-box}.phone-poster{position:relative;width:1206px;height:2622px;overflow:hidden;background:linear-gradient(165deg,#fff8ec 0%,#fff0dc 30%,#ffd8a5 62%,#ff9b43 100%)}.phone-poster:before{content:"";position:absolute;width:1750px;height:1750px;border:2px solid #fff8ecaa;border-radius:50%;left:-380px;top:1100px;box-shadow:0 0 0 160px #fff8ec33,0 0 0 320px #fff8ec22}-.phone-poster .brand{position:absolute;left:87px;top:91px;display:flex;align-items:center;gap:18px;font-family:Caveat,cursive;font-size:94px;font-weight:700;letter-spacing:-4px;line-height:1}-.phone-poster .brand img{width:75px;height:75px}-.phone-poster .number{position:absolute;right:90px;top:127px;font-size:26px;font-weight:700;letter-spacing:5px;color:#715340}.phone-poster .headline{position:absolute;left:84px;right:60px;top:247px;margin:0;font-size:137px;font-weight:1000;line-height:1.01;letter-spacing:-6px}.phone-poster .headline .accent{color:#b94f13}.phone-poster .subtitle{position:absolute;left:90px;right:90px;top:718px;font-size:47px;line-height:1.3;letter-spacing:-1px;margin:0;color:#715340;max-width:1000px}@@ -92,52 +89,60 @@.phone-poster .reach-red{left:1015px;top:930px;width:150px;transform:rotate(12deg)}.phone-poster .composer-crop{position:relative;margin:14px;width:1089px;height:128px;border-radius:65px;overflow:hidden;background:#e8e5de}.phone-poster .composer-focus .composer-crop img{left:-14px;top:-2290px}-.tablet-poster{position:relative;margin:0;width:2064px;height:2752px;overflow:hidden;background:linear-gradient(165deg,#fff8ec,#fff0dc 35%,#ffd8a5 65%,#ff9b43);color:#192625;font-family:DMSans,Arial,sans-serif}-.tablet-poster .brand{position:absolute;left:142px;top:108px;display:flex;align-items:center;gap:24px;font-family:Caveat,cursive;font-size:132px;font-weight:700;letter-spacing:-5px;line-height:1}-.tablet-poster .brand img{width:110px;height:110px}-.tablet-poster .number{position:absolute;right:140px;top:160px;color:#715340;font-size:32px;letter-spacing:6px;font-weight:700}-.tablet-poster h1{position:absolute;left:134px;top:320px;font-size:240px;letter-spacing:-8px;line-height:1.03;font-weight:1000;margin:0}-.tablet-poster .accent{color:#b94f13}-.tablet-poster .subtitle{position:absolute;left:142px;top:865px;font-size:78px;color:#192625;margin:0;line-height:1.3}-.tablet-poster .window{position:absolute;left:130px;top:1120px;width:1804px;height:1460px;overflow:hidden;background:#fff;border:18px solid #192625;border-radius:58px;box-shadow:0 55px 100px #7a482c35;transform:rotate(-2deg)}-.tablet-poster .window img{position:absolute;display:block;width:1768px;left:0;top:-580px}-.tablet-poster .reply{position:absolute;left:610px;top:1830px;width:1320px;height:219px;background:#fff;border:17px solid #fff8ec;border-radius:44px;overflow:hidden;transform:rotate(2deg);box-shadow:0 35px 80px #7a482c35}-.tablet-poster .reply img{position:absolute;display:block;width:2010px;left:-750px;top:-1450px}-.tablet-poster .footer{position:absolute;bottom:47px;left:145px;font-size:30px;color:#715340;letter-spacing:1px}-.tablet-poster .window{left:122px;top:1130px;width:1820px;height:1156px;border:24px solid #192625;border-radius:72px;transform:rotate(-3deg);overflow:hidden}-.tablet-poster .window img{position:static;display:block;width:100%;height:100%;object-fit:contain;background:#fff}-.tablet-poster .art-face{position:absolute;object-fit:contain;filter:drop-shadow(0 12px 0 #fff8ec) drop-shadow(0 22px 25px #7a482c28);z-index:4}-.tablet-poster .tablet-purple{left:52px;top:990px;width:170px;transform:rotate(-14deg)}-.tablet-poster .tablet-orange{left:142px;top:2360px;width:260px;transform:rotate(-12deg)}-.tablet-poster .tablet-teal{left:1680px;top:2300px;width:250px;transform:rotate(12deg)}-.tablet-poster .clean .footer{display:none}+.phone-story-content{position:absolute;inset:0;transform:translateY(-135px)}+.tablet-poster{position:relative;width:2752px;height:2064px;overflow:hidden;background:linear-gradient(165deg,#fff8ec,#fff0dc 35%,#ffd8a5 65%,#ff9b43);color:#192625}+.tablet-poster .headline{position:absolute;left:100px;right:100px;top:85px;margin:0;text-align:center;font-size:164px;line-height:1.02;letter-spacing:-6px;font-weight:1000}+.tablet-poster .headline>span,.duo-poster .headline>span{display:block}+.tablet-poster .accent,.duo-poster .accent{color:#b94f13}+.tablet-poster .subtitle{position:absolute;left:160px;right:160px;top:448px;text-align:center;font-size:46px;line-height:1.3;letter-spacing:-1px;margin:0;color:#715340}+.tablet-poster.hero .headline{top:117px;font-size:191px}+.tablet-poster.hero .subtitle{top:352px;font-size:58px}+.tablet-poster .tablet-window{position:absolute;left:336px;top:625px;width:2080px;border:24px solid #192625;border-radius:60px;overflow:hidden;background:#fff;transform:rotate(-1.5deg);box-shadow:0 42px 90px #7a482c38}+.tablet-poster.hero .tablet-window{top:540px}+.tablet-poster .tablet-detail,.duo-poster .duo-detail{position:absolute;border:16px solid #fff8ec;border-radius:44px;overflow:hidden;background:#fff;box-shadow:0 28px 64px #7a482c38;z-index:4}+.tablet-poster .tablet-reply{left:810px;top:1580px;transform:rotate(2deg)}+.tablet-poster.hero .tablet-reply{left:660px;top:1510px;transform:rotate(-2deg)}+.tablet-poster .tablet-profile{left:1780px;top:1080px;transform:rotate(3deg)}+.tablet-poster .tablet-ask{left:160px;top:1320px;transform:rotate(-2deg)}+.tablet-poster .tablet-answer{left:1290px;top:1680px;transform:rotate(2deg)}+.tablet-poster .tablet-composer{left:470px;top:1630px;transform:rotate(-2deg)}+.tablet-poster.setup .tablet-window{left:145px;transform:rotate(-2deg)}+.tablet-poster .tablet-setup{left:1620px;top:1280px;transform:rotate(4deg)}+.tablet-poster .art-face{position:absolute;object-fit:contain;filter:drop-shadow(0 10px 0 #fff8ec) drop-shadow(0 18px 24px #7a482c28);z-index:5}+.tablet-poster .tablet-left{left:90px;top:1660px;width:205px;transform:rotate(-13deg)}+.tablet-poster .tablet-right{left:2440px;top:650px;width:180px;transform:rotate(14deg)}.duo-poster{--mm:10px;position:relative;width:2007px;height:2853px;overflow:hidden;background:linear-gradient(165deg,#fff8ec 0%,#fff0dc 30%,#ffd8a5 62%,#ff9b43 100%)}.duo-poster:before{content:"";position:absolute;width:2500px;height:2500px;border:3px solid #fff8ecaa;border-radius:50%;left:-600px;top:1050px;box-shadow:0 0 0 210px #fff8ec33,0 0 0 420px #fff8ec22}-.duo-poster .brand{position:absolute;left:132px;top:112px;display:flex;align-items:center;gap:26px;font-family:Caveat,cursive;font-size:144px;font-weight:700;letter-spacing:-5px;line-height:1}-.duo-poster .brand img{width:114px;height:114px}-.duo-poster .number{position:absolute;right:139px;top:166px;font-size:35px;font-weight:700;letter-spacing:7px;color:#715340}-.duo-poster h1{position:absolute;left:126px;right:110px;top:345px;margin:0;font-size:226px;font-weight:1000;line-height:1.01;letter-spacing:-9px}-.duo-poster .accent{color:#b94f13}-.duo-poster .subtitle{position:absolute;left:136px;top:1060px;margin:0;color:#715340;font-size:65px;line-height:1.3;letter-spacing:-1px}+.duo-poster .headline{position:absolute;left:126px;right:110px;top:135px;margin:0;font-size:210px;font-weight:1000;line-height:1.01;letter-spacing:-8px}+.duo-poster .subtitle{position:absolute;left:136px;right:120px;top:850px;margin:0;color:#715340;font-size:59px;line-height:1.3;letter-spacing:-1px}+.duo-poster.hero .headline{font-size:248px}+.duo-poster.hero .subtitle{top:705px;font-size:70px}+.duo-poster.team .headline{font-size:195px}.duo-poster .device{position:absolute;display:flex;align-items:center;justify-content:center;height:calc(117.8 * var(--mm));background:linear-gradient(105deg,#ded7ce,#7f7a70 20%,#f2eee5 45%,#403f3c 65%,#b1aca3);border:2px solid #4d4c49;box-shadow:0 2px 0 3px #fff8ec,0 48px 85px #7a482c55}.duo-poster .screen{position:relative;flex-shrink:0;overflow:hidden;background:#11110f}-.duo-poster .screen img{display:block;width:100%;height:100%;object-fit:contain}-.duo-poster .unfolded{left:150px;top:1300px;width:calc(164.6 * var(--mm));border-radius:83px;transform:perspective(3500px) rotateY(-7deg) rotateZ(-5deg);z-index:1}+.duo-poster .unfolded{left:170px;top:1130px;width:calc(164.6 * var(--mm));border-radius:83px;transform:perspective(3500px) rotateY(-7deg) rotateZ(-4deg);z-index:1}+.duo-poster.hero .unfolded{top:1010px}+.duo-poster.team .unfolded{left:100px;top:1150px;transform:perspective(3500px) rotateY(5deg) rotateZ(3deg)}.duo-poster .unfolded .screen{width:calc(100% - 24px);aspect-ratio:2670 / 1878;border-radius:68px}-.duo-poster .crease{position:absolute;left:calc(50% - 26px);top:0;bottom:0;width:52px;background:linear-gradient(90deg,transparent,#00000032 38%,#ffffff16 55%,transparent);pointer-events:none}.duo-poster .hinge-top,.duo-poster .hinge-bottom{position:absolute;width:24px;height:18px;left:calc(50% - 12px);background:linear-gradient(90deg,#484943,#ddd6cb,#545650);z-index:2}.duo-poster .hinge-top{top:-6px;border-radius:0 0 5px 5px}.duo-poster .hinge-bottom{bottom:-6px;border-radius:5px 5px 0 0}-.duo-poster .folded{left:1005px;top:1545px;width:calc(84.1 * var(--mm));border-radius:86px;transform:perspective(2500px) rotateY(-10deg) rotateZ(7deg);z-index:3}+.duo-poster .folded{left:1005px;top:1500px;width:calc(84.1 * var(--mm));border-radius:86px;transform:perspective(2500px) rotateY(-10deg) rotateZ(7deg);z-index:3}.duo-poster .folded .screen{height:calc(100% - 24px);aspect-ratio:1398 / 2034;border-radius:70px}.duo-poster .folded:before{content:"";position:absolute;right:-14px;top:80px;bottom:78px;width:17px;background:linear-gradient(90deg,#d5d0c5,#56564f,#c3bdae);border-radius:0 10px 10px 0;z-index:-1}.duo-poster .folded:after{content:"";position:absolute;right:-20px;top:250px;width:8px;height:127px;background:#69685f;border:1px solid #d8d2c6;border-radius:0 5px 5px 0}+.duo-poster .duo-reply{left:160px;top:2140px;transform:rotate(-2deg)}+.duo-poster.hero .duo-reply{left:220px;top:2180px;transform:rotate(2deg)}+.duo-poster .duo-ask{left:90px;top:1910px;transform:rotate(-3deg)}+.duo-poster .duo-answer{left:320px;top:2380px;transform:rotate(3deg)}+.duo-poster.reach .folded{left:570px;top:1110px;transform:rotate(-4deg)}+.duo-poster .duo-composer{left:210px;top:2370px;transform:rotate(2deg)}.duo-poster .face{position:absolute;object-fit:contain;filter:drop-shadow(0 12px 0 #fff8ec) drop-shadow(0 22px 25px #7a482c28);z-index:5}-.duo-poster .purple{left:50px;top:1150px;width:180px;transform:rotate(-17deg)}-.duo-poster .teal{left:1750px;top:1010px;width:180px;transform:rotate(12deg)}-.duo-poster .orange{left:110px;top:2610px;width:210px;transform:rotate(-11deg)}-.duo-poster .blue{left:720px;top:2640px;width:155px;transform:rotate(14deg)}-.duo-poster .red{left:1840px;top:2690px;width:135px;transform:rotate(16deg)}+.duo-poster .purple{left:50px;top:1030px;width:160px;transform:rotate(-17deg)}+.duo-poster .teal{left:1750px;top:900px;width:160px;transform:rotate(12deg)}+.duo-poster .orange{left:110px;top:2630px;width:170px;transform:rotate(-11deg)}+.duo-poster .blue{left:800px;top:2680px;width:125px;transform:rotate(14deg)}+.duo-poster .red{left:1820px;top:2690px;width:120px;transform:rotate(16deg)}.capture-canvas { position: relative; overflow: hidden; background: #fff8ec; color: #192625; font-family: DMSans, sans-serif; }.surface-frame { position: relative; overflow: hidden; background: var(--background, #fff); }.surface-frame iframe { display: block; position: absolute; border: 0; transform-origin: top left; }diff --git a/src/web/app-store-capture/captures/poster.tsx b/src/web/app-store-capture/captures/poster.tsxindex d7bee9efb..65a6e4756 100644--- a/src/web/app-store-capture/captures/poster.tsx+++ b/src/web/app-store-capture/captures/poster.tsx@@ -10,10 +10,6 @@ function Surface({ scene = "workspace", width, height, viewport = [1280, 800], b</div>}-function Brand() {- return <div className="brand"><img src="/alook.svg" alt="" />Alook</div>-}-function Face({ color, className }: { color: string; className: string }) {return <img className={className} src={`/faces/face-${color}.svg`} alt="" />}@@ -34,7 +30,7 @@ function Mobile({ width }: { width: number }) {function PhonePoster({ story, large = false }: { story: number; large?: boolean }) {const data = stories[story - 1]return <section className={`poster phone-poster ${data.kind}`} data-story={story} style={large ? { transform: `scale(${1320 / 1206})`, transformOrigin: "top left" } : undefined}>- <Brand /><div className="number">{String(story).padStart(2, "0")} / 06</div>+ <div className="phone-story-content"><h1 className="headline">{data.lines.map((line, index) => <span key={line}>{index > 0 && <br />}<span className={index === data.lines.length - 1 ? "accent" : undefined}>{line}</span></span>)}</h1><p className="subtitle">{data.subtitle}</p>{story === 1 && <>@@ -70,27 +66,69 @@ function PhonePoster({ story, large = false }: { story: number; large?: boolean<div className="mobile-device"><Mobile width={436} /></div>{["red", "purple", "teal", "blue", "orange"].map(color => <Face key={color} color={color} className={`scattered-face face-${color}`} />)}</>}+ </div></section>}-function TabletPoster() {- return <section className="tablet-poster"><Brand /><div className="number">01 / 06</div><h1>SHARE YOUR<br /><span className="accent">AGENTS.</span></h1><p className="subtitle">with people you trust.</p>- <div className="window"><Surface width={1772} height={1108} /></div>- <Face color="purple" className="art-face tablet-purple" /><Face color="orange" className="art-face tablet-orange" /><Face color="teal" className="art-face tablet-teal" />+function StoryHeading({ story, tablet = false }: { story: number; tablet?: boolean }) {+ const data = stories[story - 1]+ const lines = tablet ? [+ ["SHARE YOUR AGENTS."], ["LET TEAMMATES TALK", "TO YOUR AGENT."], ["A COMPANION", "OF YOUR OWN."],+ ["PICK UP WHERE", "YOU LEFT OFF."], ["CHECK IN FROM", "YOUR IPAD."], ["KEEP YOUR", "EXISTING SETUP."],+ ][story - 1] : story === 5 ? ["CHECK IN", "ON THE", "GO."] : data.lines+ return <>+ <h1 className="headline">{lines.map((line, index) => <span key={line} className={lines.length > 1 && index === lines.length - 1 ? "accent" : undefined}>{lines.length === 1 ? <>{line.slice(0, line.lastIndexOf(" ") + 1)}<span className="accent">{line.slice(line.lastIndexOf(" ") + 1)}</span></> : line}</span>)}</h1>+ <p className="subtitle">{data.subtitle}</p>+ </>+}++function TabletPoster({ story }: { story: number }) {+ const data = stories[story - 1]+ const scene = story === 3 ? "identity" : story === 4 ? "continuity" : "workspace"+ return <section className={`tablet-poster ${data.kind}`} data-story={story}>+ <StoryHeading story={story} tablet />+ <div className="tablet-window"><Surface scene={scene} beat={story === 3 ? 14 : 9} width={2032} height={1270} viewport={scene === "workspace" ? [1280, 800] : [1120, 660]} /></div>+ {(story === 1 || story === 2) && <div className="tablet-detail tablet-reply"><Surface scene="reply" width={1640} height={360} viewport={[600, 130]} /></div>}+ {story === 3 && <div className="tablet-detail tablet-profile"><Surface scene="profile" width={750} height={770} viewport={[300, 308]} /></div>}+ {story === 4 && <>+ <div className="tablet-detail tablet-ask"><Surface scene="continuity-ask" width={1320} height={350} viewport={[500, 130]} /></div>+ <div className="tablet-detail tablet-answer"><Surface scene="continuity-answer" width={1260} height={280} viewport={[500, 110]} /></div>+ </>}+ {story === 5 && <div className="tablet-detail tablet-composer"><Surface scene="composer" width={1840} height={240} viewport={[700, 90]} /></div>}+ {story === 6 && <div className="tablet-detail tablet-setup"><Surface scene="provider" width={1008} height={594} viewport={[1120, 660]} /></div>}+ <Face color={story === 3 ? "purple" : "orange"} className="art-face tablet-left" />+ <Face color={story === 4 ? "red" : "teal"} className="art-face tablet-right" /></section>}-function DuoPoster() {- return <section className="duo-poster"><Brand /><div className="number">06 / 06</div><h1>KEEP YOUR<br />EXISTING<br /><span className="accent">SETUP.</span></h1><p className="subtitle">Connect the agent you already use.</p>- <div className="device unfolded"><div className="screen"><Surface width={1618} height={1138.05} viewport={[951, 669]} /><div className="crease" /></div><div className="hinge-top" /><div className="hinge-bottom" /></div>- <div className="device folded"><div className="screen"><Surface width={790.406} height={1150} viewport={[466, 678]} /></div></div>+function DuoDevice({ form, scene = "workspace", beat = 9 }: { form: "unfolded" | "folded"; scene?: string; beat?: number }) {+ const open = form === "unfolded"+ const viewport: [number, number] = open ? scene === "workspace" ? [951, 669] : [1120, 660] : scene === "profile" ? [300, 437] : [466, 678]+ return <div className={`device ${form}`}>+ <div className="screen"><Surface scene={scene} beat={beat} width={open ? 1618 : 790.406} height={open ? 1138.05 : 1150} viewport={viewport} /></div>+ {open && <><div className="hinge-top" /><div className="hinge-bottom" /></>}+ </div>+}++function DuoPoster({ story }: { story: number }) {+ const data = stories[story - 1]+ return <section className={`duo-poster ${data.kind}`} data-story={story}>+ <StoryHeading story={story} />+ {story !== 5 && <DuoDevice form="unfolded" scene={story === 3 ? "identity" : story === 4 ? "continuity" : "workspace"} beat={story === 3 ? 14 : 9} />}+ {(story === 3 || story === 5 || story === 6) && <DuoDevice form="folded" scene={story === 3 ? "profile" : "workspace"} />}+ {(story === 1 || story === 2) && <div className="duo-detail duo-reply"><Surface scene="reply" width={1620} height={400} viewport={[550, 130]} /></div>}+ {story === 4 && <>+ <div className="duo-detail duo-ask"><Surface scene="continuity-ask" width={1600} height={420} viewport={[500, 130]} /></div>+ <div className="duo-detail duo-answer"><Surface scene="continuity-answer" width={1510} height={335} viewport={[500, 110]} /></div>+ </>}+ {story === 5 && <div className="duo-detail duo-composer"><Surface scene="composer" width={1570} height={260} viewport={[600, 100]} /></div>}{["purple", "teal", "orange", "blue", "red"].map(color => <Face key={color} color={color} className={`face ${color}`} />)}</section>}export function Artwork({ kind, story, large }: { kind: string; story: number; large: boolean }) {- const dimensions = kind === "duo" ? [2007, 2853] : kind === "tablet" ? [2064, 2752] : large ? [1320, 2868] : [1206, 2622]+ const dimensions = kind === "duo" ? [2007, 2853] : kind === "tablet" ? [2752, 2064] : large ? [1320, 2868] : [1206, 2622]return <div id="capture-poster" className="capture-canvas" style={{ width: dimensions[0], height: dimensions[1] } as CSSProperties}>- {kind === "duo" ? <DuoPoster /> : kind === "tablet" ? <TabletPoster /> : <PhonePoster story={story} large={large} />}+ {kind === "duo" ? <DuoPoster story={story} /> : kind === "tablet" ? <TabletPoster story={story} /> : <PhonePoster story={story} large={large} />}</div>}diff --git a/src/web/app-store-capture/creative/artwork.css b/src/web/app-store-capture/creative/artwork.cssnew file mode 100644index 000000000..c7daa06f2--- /dev/null+++ b/src/web/app-store-capture/creative/artwork.css@@ -0,0 +1,30 @@+@font-face{font-family:Brand;src:url(/fonts/caveat.woff2) format('woff2');font-weight:400 700;font-display:block}+@font-face{font-family:Sans;src:url(/fonts/dm-sans.woff2) format('woff2');font-weight:100 1000;font-display:block}+*{box-sizing:border-box}+body{margin:0;background:#f6f4ee;color:#192625;font-family:Sans,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}+#capture-creative{position:relative;overflow:hidden}+.canvas{position:absolute;left:0;top:0;overflow:hidden;transform-origin:top left;color:#192625;background:linear-gradient(133deg,#fff9ee 0%,#fff0dc 39%,#ffdab0 68%,#ffa34b 100%)}+.header-art{width:1600px;height:685.833333px}.search-art{width:1200px;height:800px}+.canvas:before{content:"";position:absolute;border:1.5px solid #fff8ec9c;border-radius:50%;width:1060px;height:1060px;right:-240px;top:-100px;box-shadow:0 0 0 100px #fff8ec26,0 0 0 200px #fff8ec1f;pointer-events:none}+.canvas:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.11;background-image:url(/noise.svg);mix-blend-mode:multiply}+.brand{position:absolute;display:flex;align-items:center;justify-content:center;font-family:Brand,cursive;font-weight:700;font-size:146px;line-height:1;letter-spacing:-4px;width:600px;gap:20px;z-index:5}+.brand img{width:110px;height:110px;display:block}+.headline{position:absolute;font-size:62px;letter-spacing:-1.8px;font-weight:1000;line-height:1.05;text-align:center;margin:0;z-index:3}+.headline span{display:inline}.headline .accent{color:#b94f13}+.subline{position:absolute;line-height:1.3;font-weight:450;text-align:center;margin:0;z-index:3}+.face{position:absolute;display:block;z-index:4;filter:drop-shadow(0 5px 0 #fff8ec) drop-shadow(0 12px 14px #6d3e2320)}+.header-art .brand{left:500px;top:212px}+.header-art .headline{left:468px;top:374px;width:664px;letter-spacing:-2.8px;white-space:nowrap}+.header-art .subline{left:475px;top:445px;width:650px;font-size:24px;letter-spacing:-.5px}+.header-art .face-blue{left:480px;top:220px;width:74px;transform:rotate(12deg)}+.header-art .face-teal{left:1040px;top:220px;width:74px;transform:rotate(15deg)}+.header-art .face-purple{left:500px;top:298px;width:62px;transform:rotate(-12deg)}+.header-art .face-red{left:1045px;top:298px;width:62px;transform:rotate(12deg)}+.search-art:before{right:-450px;top:195px;width:1160px;height:1160px}+.search-art .brand{left:300px;top:245px}+.search-art .headline{left:270px;top:418px;width:660px}+.search-art .subline{left:275px;top:510px;width:650px;font-size:27px;letter-spacing:-.2px}+.search-art .face-blue{left:280px;top:255px;width:74px;transform:rotate(12deg)}+.search-art .face-teal{left:850px;top:255px;width:74px;transform:rotate(15deg)}+.search-art .face-purple{left:300px;top:333px;width:62px;transform:rotate(-12deg)}+.search-art .face-red{left:860px;top:333px;width:62px;transform:rotate(12deg)}diff --git a/src/web/app-store-capture/creative/capture.mjs b/src/web/app-store-capture/creative/capture.mjsnew file mode 100644index 000000000..c19230cc3--- /dev/null+++ b/src/web/app-store-capture/creative/capture.mjs@@ -0,0 +1,168 @@+import { createHash } from "node:crypto"+import { execFile } from "node:child_process"+import { readFileSync } from "node:fs"+import { mkdir, readFile, writeFile } from "node:fs/promises"+import { createServer } from "node:http"+import path from "node:path"+import { fileURLToPath, pathToFileURL } from "node:url"+import { promisify } from "node:util"+import { chromium } from "@playwright/test"+import sharp from "sharp"++const directory = path.dirname(fileURLToPath(import.meta.url))+const captureRoot = path.dirname(directory)+const webRoot = path.dirname(captureRoot)+const repositoryRoot = path.resolve(webRoot, "../..")+const source = JSON.parse(readFileSync(path.join(directory, "source.json"), "utf8"))+const colors = ["blue", "teal", "purple", "red"]+const resources = new Map([+ ["/artwork.css", { file: path.join(directory, "artwork.css"), type: "text/css; charset=utf-8" }],+ ["/noise.svg", { file: path.join(directory, "noise.svg"), type: "image/svg+xml" }],+ ["/alook.svg", { file: path.join(webRoot, "public/alook.svg"), type: "image/svg+xml" }],+ ["/fonts/caveat.woff2", { file: path.join(webRoot, "src/app/fonts/caveat-latin.woff2"), type: "font/woff2" }],+ ["/fonts/dm-sans.woff2", { file: path.join(webRoot, "src/app/fonts/dm-sans-latin.woff2"), type: "font/woff2" }],+ ...colors.map(color => [`/faces/face-${color}.svg`, { file: path.join(captureRoot, "assets", `face-${color}.svg`), type: "image/svg+xml" }]),+])++export const creativeCaptures = source.assets++export function selectCreatives(asset = "all") {+ if (asset === "all") return creativeCaptures+ const capture = creativeCaptures.find(capture => capture.asset === asset)+ if (!capture) throw new Error("Invalid creative asset: use all, header or search")+ return [capture]+}++export function creativeDocument(asset = "header") {+ if (asset === "all") throw new Error("A document requires header or search")+ const capture = selectCreatives(asset)[0]+ const faces = asset === "header" ? ["teal", "purple", "blue", "red"] : colors+ return `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Alook creative artwork</title><link rel="icon" href="data:,"><link rel="stylesheet" href="/artwork.css"></head><body><div id="capture-creative" style="width:${capture.width}px;height:${capture.height}px"><section class="canvas ${asset}-art" style="transform:scale(${capture.width / capture.logicalWidth})" role="img" aria-label="Alook ${asset} artwork">+<div class="brand" data-creative-critical="brand"><img src="/alook.svg" alt="" data-creative-critical="logo">Alook</div>+<h2 class="headline" data-creative-critical="headline"><span>SHARE YOUR</span> <span class="accent">AGENTS.</span></h2><p class="subline" data-creative-critical="subline">with people you trust.</p>+${faces.map(color => `<img class="face face-${color}" src="/faces/face-${color}.svg" alt="" data-creative-critical="face-${color}">`).join("")}</section></div></body></html>`+}++export async function creativeInputHashes() {+ const files = new Set(["capture.mjs", "artwork.css", "noise.svg", "source.json"].map(file => path.join(directory, file)))+ for (const resource of resources.values()) files.add(resource.file)+ files.add(path.join(repositoryRoot, "package.json"))+ files.add(path.join(repositoryRoot, "pnpm-lock.yaml"))+ return Object.fromEntries(await Promise.all([...files].sort().map(async file => [path.relative(repositoryRoot, file).split(path.sep).join("/"), createHash("sha256").update(await readFile(file)).digest("hex")])))+}++export async function startCreativeServer() {+ const server = createServer((request, response) => {+ void (async () => {+ const url = new URL(request.url ?? "/", "http://127.0.0.1")+ if (request.method !== "GET") { response.writeHead(405); response.end("Method not allowed"); return }+ if (url.pathname === "/") {+ let document+ try { document = creativeDocument(url.searchParams.get("asset") ?? "header") } catch { response.writeHead(400); response.end("Unknown creative asset"); return }+ response.writeHead(200, { "Content-Type": "text/html; charset=utf-8" }); response.end(document); return+ }+ const resource = resources.get(url.pathname)+ if (!resource) { response.writeHead(404); response.end("Not found"); return }+ const bytes = await readFile(resource.file)+ response.writeHead(200, { "Content-Type": resource.type }); response.end(bytes)+ })().catch(() => { if (!response.destroyed && !response.writableEnded) { response.writeHead(500); response.end("Creative resource unavailable") } })+ })+ await new Promise((resolve, reject) => {+ server.once("error", reject)+ server.listen(0, "127.0.0.1", () => { server.removeListener("error", reject); resolve() })+ })+ const address = server.address()+ let closing+ return {+ origin: `http://127.0.0.1:${address.port}`,+ close: () => closing ??= new Promise((resolve, reject) => { server.closeAllConnections(); server.close(error => error ? reject(error) : resolve()) }),+ }+}++async function renderCreative(browser, origin, capture) {+ const context = await browser.newContext({ viewport: { width: capture.width, height: capture.height }, deviceScaleFactor: 1, colorScheme: "light", reducedMotion: "reduce", serviceWorkers: "block", locale: "en-US", timezoneId: "UTC" })+ try {+ const errors = [], requests = new Set()+ context.setDefaultTimeout(30000)+ await context.route("**/*", route => {+ const url = new URL(route.request().url())+ if (url.origin === origin) { requests.add(url.pathname); return route.continue() }+ errors.push(`External request: ${url.href}`); return route.abort()+ })+ const page = await context.newPage()+ page.on("pageerror", error => errors.push(error.message))+ page.on("console", message => { if (message.type() === "error") errors.push(message.text()) })+ page.on("requestfailed", request => errors.push(`Failed resource: ${request.url()}`))+ page.on("response", response => { if (response.status() >= 400) errors.push(`HTTP ${response.status()}: ${response.url()}`) })+ const response = await page.goto(`${origin}/?asset=${capture.asset}`, { waitUntil: "networkidle" })+ if (!response?.ok()) throw new Error(`Creative page failed: ${errors.join("\n")}`)+ const measured = await page.evaluate(async () => {+ await document.fonts.ready+ await Promise.all([...document.images].map(image => image.decode()))+ await new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve)))+ const canvas = document.querySelector("#capture-creative").getBoundingClientRect()+ return {+ width: canvas.width, height: canvas.height,+ fontsLoaded: document.fonts.check("700 146px Brand") && document.fonts.check("1000 62px Sans"),+ images: [...document.images].map(image => ({ path: new URL(image.currentSrc).pathname, width: image.naturalWidth, height: image.naturalHeight })),+ criticalBounds: [...document.querySelectorAll("[data-creative-critical]")].map(element => { const rect = element.getBoundingClientRect(); return { name: element.getAttribute("data-creative-critical"), x: rect.x - canvas.x, y: rect.y - canvas.y, width: rect.width, height: rect.height } }),+ }+ })+ if (!measured.fontsLoaded || measured.width !== capture.width || measured.height !== capture.height || measured.images.length !== 5 || measured.criticalBounds.length !== 8) throw new Error("Incomplete creative layout or fonts")+ const safe = capture.safeArea+ for (const rect of measured.criticalBounds) {+ if (rect.x < safe.x - .1 || rect.y < safe.y - .1 || rect.x + rect.width > safe.x + safe.width + .1 || rect.y + rect.height > safe.y + safe.height + .1) throw new Error(`Creative subject outside safe area: ${rect.name}`)+ }+ const screenshot = await page.locator("#capture-creative").screenshot({ type: "png", scale: "css", animations: "disabled" })+ if (errors.length) throw new Error(errors.join("\n"))+ const bytes = await sharp(screenshot).removeAlpha().toColourspace("srgb").png({ compressionLevel: 9 }).toBuffer()+ return { bytes, measured, resources: [...requests].sort() }+ } finally { await context.close() }+}++export async function captureCreatives({ output = path.join(repositoryRoot, "assets/app-store/creative"), asset = "all", signal } = {}) {+ const selected = selectCreatives(asset)+ signal?.throwIfAborted()+ const server = await startCreativeServer()+ let browser+ const interrupt = () => { void browser?.close().catch(() => {}) }+ signal?.addEventListener("abort", interrupt, { once: true })+ try {+ browser = await chromium.launch({ channel: "chrome", headless: true })+ signal?.throwIfAborted()+ const outputs = []+ for (const capture of selected) {+ signal?.throwIfAborted()+ const rendered = await renderCreative(browser, server.origin, capture)+ const metadata = await sharp(rendered.bytes).metadata()+ if (metadata.format !== "png" || metadata.width !== capture.width || metadata.height !== capture.height || metadata.channels !== 3 || metadata.hasAlpha || metadata.space !== "srgb") throw new Error(`Invalid RGB PNG: ${capture.filename}`)+ await mkdir(output, { recursive: true })+ await writeFile(path.join(output, capture.filename), rendered.bytes)+ outputs.push({ path: capture.filename, asset: capture.asset, width: capture.width, height: capture.height, sha256: createHash("sha256").update(rendered.bytes).digest("hex"), safeArea: capture.safeArea, ...rendered.measured, resources: rendered.resources })+ }+ const { stdout } = await promisify(execFile)("git", ["rev-parse", "HEAD"], { cwd: repositoryRoot })+ const manifest = { renderer: browser.version(), encoding: "RGB PNG", locale: "en-US", timezone: "UTC", repositoryHead: stdout.trim(), approvedPrototypeSha256: source.approvedPrototypeSha256, inputs: await creativeInputHashes(), outputs }+ await writeFile(path.join(output, "manifest.json"), `${JSON.stringify(manifest, null, 2)}\n`)+ return manifest+ } catch (error) { signal?.throwIfAborted(); throw error }+ finally { signal?.removeEventListener("abort", interrupt); try { await browser?.close() } finally { await server.close() } }+}++export async function main(args = process.argv.slice(2)) {+ const options = {}+ for (let index = 0; index < args.length; index++) {+ if (args[index] === "--asset" && args[index + 1] && !args[index + 1].startsWith("--")) options.asset = args[++index]+ else if (args[index] === "--output" && args[index + 1] && !args[index + 1].startsWith("--")) options.output = path.resolve(args[++index])+ else throw new Error("Usage: pnpm app-store:creative [--asset all|header|search] [--output directory]")+ }+ const controller = new AbortController()+ const interrupt = () => { process.exitCode = 1; controller.abort(new Error("Creative capture interrupted")) }+ process.once("SIGINT", interrupt); process.once("SIGTERM", interrupt)+ try {+ const manifest = await captureCreatives({ ...options, signal: controller.signal })+ process.stdout.write(`Captured ${manifest.outputs.length} App Store creative images with Chrome ${manifest.renderer}\n`)+ return manifest+ } finally { process.removeListener("SIGINT", interrupt); process.removeListener("SIGTERM", interrupt) }+}++if (process.argv[1] && pathToFileURL(path.resolve(process.argv[1])).href === import.meta.url) main().catch(error => { console.error(error.message); process.exitCode = 1 })diff --git a/src/web/app-store-capture/creative/noise.svg b/src/web/app-store-capture/creative/noise.svgnew file mode 100644index 000000000..7bdd75a51--- /dev/null+++ b/src/web/app-store-capture/creative/noise.svg@@ -0,0 +1 @@+<svg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' opacity='.3' filter='url(#n)'/></svg>\ No newline at end of filediff --git a/src/web/app-store-capture/creative/render.dom.test.ts b/src/web/app-store-capture/creative/render.dom.test.tsnew file mode 100644index 000000000..08462fcaf--- /dev/null+++ b/src/web/app-store-capture/creative/render.dom.test.ts@@ -0,0 +1,27 @@+import { describe, expect, it } from "vitest"+import { creativeCaptures, creativeDocument } from "./capture.mjs"++describe("approved creative documents", () => {+ it.each(creativeCaptures)("composes the $asset artwork without preview controls or retired imagery", capture => {+ const document = new DOMParser().parseFromString(creativeDocument(capture.asset), "text/html")+ const root = document.querySelector<HTMLElement>("#capture-creative")!+ expect([root.style.width, root.style.height]).toEqual([`${capture.width}px`, `${capture.height}px`])+ expect(root.firstElementChild?.className).toBe(`canvas ${capture.asset}-art`)+ expect((root.firstElementChild as HTMLElement).style.transform).toBe(`scale(${capture.width / capture.logicalWidth})`)+ expect(document.querySelector(".headline")?.textContent).toBe("SHARE YOUR AGENTS.")+ expect(document.querySelector(".subline")?.textContent).toBe("with people you trust.")+ expect(document.querySelector(".brand")?.textContent).toBe("Alook")+ expect([...document.querySelectorAll(".face")].map(face => face.getAttribute("src")).sort()).toEqual(["blue", "purple", "red", "teal"].map(color => `/faces/face-${color}.svg`))+ expect(document.querySelectorAll("[data-creative-critical]")).toHaveLength(8)+ expect(document.querySelector(".brand img")?.getAttribute("src")).toBe("/alook.svg")+ expect(document.querySelectorAll("img")).toHaveLength(5)+ expect(document.querySelector("iframe, .app-window, .face-orange, .margin-guide, .toolbar, button, footer")).toBeNull()+ expect(document.querySelector("script")).toBeNull()+ })++ it("rejects an unknown document instead of inserting request text", () => {+ expect(() => creativeDocument("<img src=bad>")).toThrow("Invalid creative asset")+ expect(() => creativeDocument("all")).toThrow("A document requires")+ expect(creativeDocument()).toBe(creativeDocument("header"))+ })+})diff --git a/src/web/app-store-capture/creative/source.json b/src/web/app-store-capture/creative/source.jsonnew file mode 100644index 000000000..05878a8a8--- /dev/null+++ b/src/web/app-store-capture/creative/source.json@@ -0,0 +1,37 @@+{+ "approvedPrototypeSha256": "f17b90df66ed06777834687e843137711b4ee48fdf42f4fb1c2097c49563b6a2",+ "safeAreaSource": "https://devimages-cdn.apple.com/design/resources/download/app-store/creative_assets-templates.sketch",+ "safeAreaSourceSha256": "0f6f6f86e89ccf8a74f9214b29481c6748e21fc677ecc72fbc623ae3470d8957",+ "assets": [+ {+ "asset": "header",+ "width": 3840,+ "height": 1646,+ "logicalWidth": 1600,+ "logicalHeight": 685.833333,+ "safeArea": {+ "x": 1097,+ "y": 493,+ "width": 1646,+ "height": 661+ },+ "filename": "alook-header-3840x1646.png",+ "approvedReferenceSha256": "4b7501baf829ec7c742a66e10242532bc45ff1f7fa0bbac551f5a2d476ec47bc"+ },+ {+ "asset": "search",+ "width": 1920,+ "height": 1280,+ "logicalWidth": 1200,+ "logicalHeight": 800,+ "safeArea": {+ "x": 418,+ "y": 382.5,+ "width": 1084,+ "height": 515+ },+ "filename": "alook-search-1920x1280.png",+ "approvedReferenceSha256": "fee15173da1a0884e9c28ec411c60112f53077856e7d916e99dd869d3e4c2f00"+ }+ ]+}diff --git a/src/web/app-store-capture/render.dom.test.tsx b/src/web/app-store-capture/render.dom.test.tsxindex 799dc812b..8a0c748b8 100644--- a/src/web/app-store-capture/render.dom.test.tsx+++ b/src/web/app-store-capture/render.dom.test.tsx@@ -18,8 +18,10 @@ const posterQueries: [Record<string, string | string[] | undefined>, string, str[{ story: "0" }, "phone", "1", "1206px"],[{ story: "7" }, "phone", "1", "1206px"],[{ story: "invalid", kind: ["duo"] }, "phone", "1", "1206px"],- [{ kind: "tablet" }, "tablet", null, "2064px"],- [{ kind: "duo" }, "duo", null, "2007px"],+ [{ kind: "tablet" }, "tablet", "1", "2752px"],+ [{ kind: "tablet", story: "4" }, "tablet", "4", "2752px"],+ [{ kind: "duo" }, "duo", "1", "2007px"],+ [{ kind: "duo", story: "5" }, "duo", "5", "2007px"],]describe("App Store capture document and poster entry", () => {@@ -54,13 +56,32 @@ describe("App Store capture document and poster entry", () => {}})+ it.each(["phone", "tablet", "duo"])("renders all six %s stories from their own real component scenes without outer branding", (kind) => {+ const scenes = [+ ["workspace", "reply"], ["workspace", "reply"], ["identity", "profile"],+ ["continuity", "continuity-ask", "continuity-answer"], ["workspace", "composer"],+ kind === "tablet" ? ["workspace", "provider"] : ["workspace", "workspace"],+ ]+ for (let story = 1; story <= 6; story++) {+ const document = documentFor(<Artwork kind={kind} story={story} large={false} />)+ expect(document.querySelector("[data-story]")?.getAttribute("data-story")).toBe(String(story))+ expect([...document.querySelectorAll("iframe")].map(frame => new URL(frame.src).searchParams.get("scene"))).toEqual(scenes[story - 1])+ expect(document.querySelector(".brand, .number, .crease")).toBeNull()+ expect(document.querySelector("h1")?.textContent?.length).toBeGreaterThan(10)+ if (kind === "duo") {+ expect(document.querySelector(".unfolded") !== null).toBe(story !== 5)+ expect(document.querySelector(".folded") !== null).toBe([3, 5, 6].includes(story))+ }+ }+ })+it("preserves the complete tablet viewport and independent Duo screen geometry", () => {const tablet = documentFor(<Artwork kind="tablet" story={1} large={false} />)- expect(tablet.querySelector<HTMLElement>("#capture-poster")?.style.width).toBe("2064px")- expect(tablet.querySelector<HTMLElement>("#capture-poster")?.style.height).toBe("2752px")+ expect(tablet.querySelector<HTMLElement>("#capture-poster")?.style.width).toBe("2752px")+ expect(tablet.querySelector<HTMLElement>("#capture-poster")?.style.height).toBe("2064px")expect(tablet.querySelector("iframe")?.getAttribute("width")).toBe("1280")expect(tablet.querySelector("iframe")?.getAttribute("height")).toBe("800")- expect(tablet.querySelector(".number")?.textContent).toBe("01 / 06")+ expect(tablet.querySelector(".number, .brand")).toBeNull()const duo = documentFor(<Artwork kind="duo" story={6} large={false} />)expect(duo.querySelector<HTMLElement>("#capture-poster")?.style.width).toBe("2007px")expect(duo.querySelector<HTMLElement>("#capture-poster")?.style.height).toBe("2853px")@@ -73,7 +94,7 @@ describe("App Store capture document and poster entry", () => {expect(parseFloat(frame.style.left)).toBeCloseTo((parseFloat(parent.style.width) - Number(frame.width) * scale) / 2)expect(parseFloat(frame.style.top)).toBeCloseTo((parseFloat(parent.style.height) - Number(frame.height) * scale) / 2)}- expect(duo.querySelector(".number")?.textContent).toBe("06 / 06")+ expect(duo.querySelector(".number, .brand")).toBeNull()expect(duo.querySelectorAll(".face")).toHaveLength(5)})diff --git a/src/web/knip.json b/src/web/knip.jsonindex 6461e79c7..f517bc5fd 100644--- a/src/web/knip.json+++ b/src/web/knip.json@@ -25,6 +25,8 @@"auth/index.ts","scripts/**/*.{ts,mjs}","app-store-capture/capture.mjs",+ "app-store-capture/creative/capture.mjs",+ "app-store-capture/creative/artwork.css","app-store-capture/next.config.ts","app-store-capture/postcss.config.mjs","app-store-capture/app/**/page.tsx",