sera-code 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/README.md +9 -1
  2. package/bin/sera.mjs +31 -0
  3. package/dist/bundle/chunks/{chunk-OXMPCU7P.js → chunk-DFRGGJWV.js} +1 -1
  4. package/dist/bundle/chunks/{chunk-KO3Z5BTR.js → chunk-EMXTNOOJ.js} +5 -5
  5. package/dist/bundle/chunks/{chunk-KXU77PUU.js → chunk-ET2ARYK4.js} +1 -1
  6. package/dist/bundle/chunks/{chunk-ZNCN2NGY.js → chunk-G5BGS7HZ.js} +2 -2
  7. package/dist/bundle/chunks/{chunk-HODJBMOY.js → chunk-GSGPISRE.js} +3 -4
  8. package/dist/bundle/chunks/{chunk-46WGNYIE.js → chunk-NMUS7OCP.js} +1 -1
  9. package/dist/bundle/chunks/{chunk-HQBQWHLD.js → chunk-RCQXVPCE.js} +1 -1
  10. package/dist/bundle/chunks/{cli-MML2DU4A.js → cli-NOCFT7AL.js} +1 -1
  11. package/dist/bundle/chunks/{execute-HXDNZ26B.js → execute-S2O3RL6V.js} +1 -1
  12. package/dist/bundle/chunks/github-copilot.js +1 -1
  13. package/dist/bundle/chunks/{runtime-JAH75CB5.js → runtime-BRT7AUXY.js} +1 -1
  14. package/dist/bundle/chunks/{virtual-modules-OE2CSJ4W.js → virtual-modules-QR2XYBMY.js} +1 -1
  15. package/dist/bundle/cli-runtime.js +1 -1
  16. package/dist/bundle/index.js +1 -1
  17. package/dist/bundle/rpc-entry.js +1 -1
  18. package/lib/postinstall.js +16 -0
  19. package/lib/update.js +85 -0
  20. package/lib/win-setup.js +96 -0
  21. package/package.json +4 -1
  22. package/sera-core/skills/ambalaj-tasarim/NOTICE +1 -0
  23. package/sera-core/skills/ambalaj-tasarim/SKILL.md +34 -0
  24. package/sera-core/skills/ambalaj-tasarim/dieline.mjs +17 -0
  25. package/sera-core/skills/ambalaj-tasarim/sera-pack.js +535 -0
  26. package/sera-core/skills/animasyonlu-site/NOTICE +1 -0
  27. package/sera-core/skills/animasyonlu-site/SKILL.md +26 -0
  28. package/sera-core/skills/animasyonlu-site/sera-motion.js +310 -0
  29. package/sera-core/skills/animate/LICENSE +21 -0
  30. package/sera-core/skills/animate/NOTICE +2 -0
  31. package/sera-core/skills/animate/RECIPES.md +324 -0
  32. package/sera-core/skills/animate/SKILL.md +209 -0
  33. package/sera-core/skills/astryx-ui/SKILL.md +37 -0
  34. package/sera-core/skills/awwwards/LICENSE +21 -0
  35. package/sera-core/skills/awwwards/NOTICE +5 -0
  36. package/sera-core/skills/awwwards/SKILL.md +357 -0
  37. package/sera-core/skills/awwwards/references/anatomy.md +103 -0
  38. package/sera-core/skills/awwwards/references/art-direction.md +114 -0
  39. package/sera-core/skills/awwwards/references/astro.md +235 -0
  40. package/sera-core/skills/awwwards/references/concepts.md +110 -0
  41. package/sera-core/skills/awwwards/references/content.md +88 -0
  42. package/sera-core/skills/awwwards/references/engine.md +751 -0
  43. package/sera-core/skills/awwwards/references/layout.md +81 -0
  44. package/sera-core/skills/awwwards/references/motion.md +463 -0
  45. package/sera-core/skills/awwwards/references/nextjs.md +386 -0
  46. package/sera-core/skills/awwwards/references/patterns.md +123 -0
  47. package/sera-core/skills/awwwards/references/quality-bar.md +151 -0
  48. package/sera-core/skills/awwwards/references/quality.md +91 -0
  49. package/sera-core/skills/awwwards/references/ship.md +36 -0
  50. package/sera-core/skills/awwwards/references/typography.md +135 -0
  51. package/sera-core/skills/awwwards/references/webgl.md +430 -0
  52. package/sera-core/skills/awwwards/scripts/audit.mjs +243 -0
  53. package/sera-core/skills/awwwards/scripts/browser.mjs +54 -0
  54. package/sera-core/skills/awwwards/scripts/font.mjs +87 -0
  55. package/sera-core/skills/awwwards/scripts/og.mjs +20 -0
  56. package/sera-core/skills/awwwards/scripts/photos.mjs +65 -0
  57. package/sera-core/skills/awwwards/scripts/serve.mjs +48 -0
  58. package/sera-core/skills/awwwards/scripts/shoot.mjs +675 -0
  59. package/sera-core/skills/beceri-yaz/SKILL.md +39 -0
  60. package/sera-core/skills/brag-slim/LICENSE +21 -0
  61. package/sera-core/skills/brag-slim/NOTICE +2 -0
  62. package/sera-core/skills/brag-slim/SKILL.md +108 -0
  63. package/sera-core/skills/brainstorming/LICENSE +21 -0
  64. package/sera-core/skills/brainstorming/NOTICE +5 -0
  65. package/sera-core/skills/brainstorming/SKILL.md +298 -0
  66. package/sera-core/skills/brainstorming/builder-check-prompt.md +23 -0
  67. package/sera-core/skills/copywriting/LICENSE +21 -0
  68. package/sera-core/skills/copywriting/NOTICE +5 -0
  69. package/sera-core/skills/copywriting/SKILL.md +343 -0
  70. package/sera-core/skills/copywriting/references/ai-tells.md +309 -0
  71. package/sera-core/skills/copywriting/references/copy-frameworks.md +432 -0
  72. package/sera-core/skills/copywriting/references/natural-transitions.md +256 -0
  73. package/sera-core/skills/cro/LICENSE +21 -0
  74. package/sera-core/skills/cro/NOTICE +5 -0
  75. package/sera-core/skills/cro/SKILL.md +198 -0
  76. package/sera-core/skills/cro/references/experiments.md +248 -0
  77. package/sera-core/skills/cro/references/form.md +422 -0
  78. package/sera-core/skills/derin-arastirma/referanslar/arastirma-yontem.md +11 -0
  79. package/sera-core/skills/emil-design-eng/LICENSE +21 -0
  80. package/sera-core/skills/emil-design-eng/NOTICE +2 -0
  81. package/sera-core/skills/emil-design-eng/SKILL.md +684 -0
  82. package/sera-core/skills/frontend-design/LICENSE.txt +177 -0
  83. package/sera-core/skills/frontend-design/NOTICE +2 -0
  84. package/sera-core/skills/frontend-design/SKILL.md +71 -0
  85. package/sera-core/skills/gorsel-denetim/SKILL.md +30 -0
  86. package/sera-core/skills/hallmark/LICENSE +21 -0
  87. package/sera-core/skills/hallmark/NOTICE +5 -0
  88. package/sera-core/skills/hallmark/SKILL.md +154 -0
  89. package/sera-core/skills/hallmark/references/anatomy.md +71 -0
  90. package/sera-core/skills/hallmark/references/brand-truth.md +40 -0
  91. package/sera-core/skills/hallmark/references/comp.md +104 -0
  92. package/sera-core/skills/hallmark/references/craft.md +116 -0
  93. package/sera-core/skills/hallmark/references/dark-mode.md +49 -0
  94. package/sera-core/skills/hallmark/references/data-viz.md +48 -0
  95. package/sera-core/skills/hallmark/references/design-md.md +53 -0
  96. package/sera-core/skills/hallmark/references/direction.md +52 -0
  97. package/sera-core/skills/hallmark/references/export-formats.md +80 -0
  98. package/sera-core/skills/hallmark/references/flow.md +131 -0
  99. package/sera-core/skills/hallmark/references/fonts.md +58 -0
  100. package/sera-core/skills/hallmark/references/gates.md +243 -0
  101. package/sera-core/skills/hallmark/references/genres/atmospheric.md +24 -0
  102. package/sera-core/skills/hallmark/references/genres/editorial.md +24 -0
  103. package/sera-core/skills/hallmark/references/genres/modern-minimal.md +24 -0
  104. package/sera-core/skills/hallmark/references/genres/playful.md +24 -0
  105. package/sera-core/skills/hallmark/references/imagery.md +99 -0
  106. package/sera-core/skills/hallmark/references/interaction-and-states.md +89 -0
  107. package/sera-core/skills/hallmark/references/layout.md +104 -0
  108. package/sera-core/skills/hallmark/references/macrostructures/01-bento-grid.md +21 -0
  109. package/sera-core/skills/hallmark/references/macrostructures/02-long-document.md +35 -0
  110. package/sera-core/skills/hallmark/references/macrostructures/03-marquee-hero.md +21 -0
  111. package/sera-core/skills/hallmark/references/macrostructures/04-stat-led.md +21 -0
  112. package/sera-core/skills/hallmark/references/macrostructures/05-workbench.md +21 -0
  113. package/sera-core/skills/hallmark/references/macrostructures/06-conversational-faq.md +28 -0
  114. package/sera-core/skills/hallmark/references/macrostructures/07-manifesto.md +28 -0
  115. package/sera-core/skills/hallmark/references/macrostructures/08-photographic.md +21 -0
  116. package/sera-core/skills/hallmark/references/macrostructures/09-quote-led.md +21 -0
  117. package/sera-core/skills/hallmark/references/macrostructures/10-specimen.md +21 -0
  118. package/sera-core/skills/hallmark/references/macrostructures/11-catalogue.md +21 -0
  119. package/sera-core/skills/hallmark/references/macrostructures/12-letter.md +21 -0
  120. package/sera-core/skills/hallmark/references/macrostructures/13-index-first.md +21 -0
  121. package/sera-core/skills/hallmark/references/macrostructures/14-narrative-workflow.md +21 -0
  122. package/sera-core/skills/hallmark/references/macrostructures/15-split-studio.md +21 -0
  123. package/sera-core/skills/hallmark/references/macrostructures/16-feature-stack.md +23 -0
  124. package/sera-core/skills/hallmark/references/macrostructures/17-type-specimen.md +19 -0
  125. package/sera-core/skills/hallmark/references/macrostructures/18-portfolio-grid.md +21 -0
  126. package/sera-core/skills/hallmark/references/macrostructures/19-map-diagram.md +21 -0
  127. package/sera-core/skills/hallmark/references/macrostructures/20-ecosystem-index.md +19 -0
  128. package/sera-core/skills/hallmark/references/macrostructures/21-component-playground.md +21 -0
  129. package/sera-core/skills/hallmark/references/macrostructures.md +119 -0
  130. package/sera-core/skills/hallmark/references/microinteractions.md +80 -0
  131. package/sera-core/skills/hallmark/references/patterns.md +202 -0
  132. package/sera-core/skills/hallmark/references/redesign.md +88 -0
  133. package/sera-core/skills/hallmark/references/responsive.md +46 -0
  134. package/sera-core/skills/hallmark/references/review-finish.md +19 -0
  135. package/sera-core/skills/hallmark/references/review-hero.md +20 -0
  136. package/sera-core/skills/hallmark/references/scroll-choreography.md +110 -0
  137. package/sera-core/skills/hallmark/references/texture.md +90 -0
  138. package/sera-core/skills/hallmark/references/themes/README.md +58 -0
  139. package/sera-core/skills/hallmark/references/themes/almanac.md +103 -0
  140. package/sera-core/skills/hallmark/references/themes/arcade.md +102 -0
  141. package/sera-core/skills/hallmark/references/themes/atelier.md +98 -0
  142. package/sera-core/skills/hallmark/references/themes/bloom.md +102 -0
  143. package/sera-core/skills/hallmark/references/themes/blueprint.md +103 -0
  144. package/sera-core/skills/hallmark/references/themes/broadside.md +108 -0
  145. package/sera-core/skills/hallmark/references/themes/brutal.md +95 -0
  146. package/sera-core/skills/hallmark/references/themes/carnival.md +104 -0
  147. package/sera-core/skills/hallmark/references/themes/cobalt.md +101 -0
  148. package/sera-core/skills/hallmark/references/themes/console.md +99 -0
  149. package/sera-core/skills/hallmark/references/themes/coral.md +102 -0
  150. package/sera-core/skills/hallmark/references/themes/darkroom.md +99 -0
  151. package/sera-core/skills/hallmark/references/themes/dose.md +98 -0
  152. package/sera-core/skills/hallmark/references/themes/dusk.md +105 -0
  153. package/sera-core/skills/hallmark/references/themes/editorial.md +97 -0
  154. package/sera-core/skills/hallmark/references/themes/formwork.md +107 -0
  155. package/sera-core/skills/hallmark/references/themes/furrow.md +98 -0
  156. package/sera-core/skills/hallmark/references/themes/garden.md +97 -0
  157. package/sera-core/skills/hallmark/references/themes/grid.md +101 -0
  158. package/sera-core/skills/hallmark/references/themes/halftone.md +106 -0
  159. package/sera-core/skills/hallmark/references/themes/hedgerow.md +104 -0
  160. package/sera-core/skills/hallmark/references/themes/hum.md +99 -0
  161. package/sera-core/skills/hallmark/references/themes/ink.md +106 -0
  162. package/sera-core/skills/hallmark/references/themes/kiln.md +108 -0
  163. package/sera-core/skills/hallmark/references/themes/loom.md +106 -0
  164. package/sera-core/skills/hallmark/references/themes/lumen.md +103 -0
  165. package/sera-core/skills/hallmark/references/themes/manifesto.md +101 -0
  166. package/sera-core/skills/hallmark/references/themes/midnight.md +97 -0
  167. package/sera-core/skills/hallmark/references/themes/newsprint.md +102 -0
  168. package/sera-core/skills/hallmark/references/themes/overprint.md +101 -0
  169. package/sera-core/skills/hallmark/references/themes/pasteup.md +100 -0
  170. package/sera-core/skills/hallmark/references/themes/piste.md +99 -0
  171. package/sera-core/skills/hallmark/references/themes/refract.md +101 -0
  172. package/sera-core/skills/hallmark/references/themes/ribbon.md +106 -0
  173. package/sera-core/skills/hallmark/references/themes/rim.md +96 -0
  174. package/sera-core/skills/hallmark/references/themes/riso.md +98 -0
  175. package/sera-core/skills/hallmark/references/themes/solstice.md +104 -0
  176. package/sera-core/skills/hallmark/references/themes/specimen.md +100 -0
  177. package/sera-core/skills/hallmark/references/themes/spore.md +104 -0
  178. package/sera-core/skills/hallmark/references/themes/sport.md +101 -0
  179. package/sera-core/skills/hallmark/references/themes/squeeze.md +99 -0
  180. package/sera-core/skills/hallmark/references/themes/sticker.md +106 -0
  181. package/sera-core/skills/hallmark/references/themes/studio.md +99 -0
  182. package/sera-core/skills/hallmark/references/themes/terminal.md +96 -0
  183. package/sera-core/skills/hallmark/references/themes/terrazzo.md +106 -0
  184. package/sera-core/skills/hallmark/references/themes/ultraviolet.md +106 -0
  185. package/sera-core/skills/hallmark/references/themes/vantage.md +99 -0
  186. package/sera-core/skills/hallmark/references/themes/vellum.md +105 -0
  187. package/sera-core/skills/hallmark/references/themes/wayfind.md +105 -0
  188. package/sera-core/skills/hallmark/references/themes/werkstatt.md +105 -0
  189. package/sera-core/skills/hallmark/scripts/capture.mjs +132 -0
  190. package/sera-core/skills/hallmark/scripts/refcheck.mjs +405 -0
  191. package/sera-core/skills/hallmark/scripts/sloplint-render.mjs +1283 -0
  192. package/sera-core/skills/hallmark/scripts/sloplint.mjs +4426 -0
  193. package/sera-core/skills/hallmark/scripts/theme.mjs +660 -0
  194. package/sera-core/skills/kurum-ici-iletisim/SKILL.md +40 -0
  195. package/sera-core/skills/launch/LICENSE +21 -0
  196. package/sera-core/skills/launch/NOTICE +5 -0
  197. package/sera-core/skills/launch/SKILL.md +385 -0
  198. package/sera-core/skills/launch/references/shipped-changes.md +84 -0
  199. package/sera-core/skills/launch/references/site-launch-qa.md +57 -0
  200. package/sera-core/skills/marka-kimligi/SKILL.md +30 -0
  201. package/sera-core/skills/mcp-yaz/SKILL.md +41 -0
  202. package/sera-core/skills/mobil-arayuz/SKILL.md +12 -0
  203. package/sera-core/skills/mvp-scoping/LICENSE +21 -0
  204. package/sera-core/skills/mvp-scoping/NOTICE +5 -0
  205. package/sera-core/skills/mvp-scoping/SKILL.md +95 -0
  206. package/sera-core/skills/ortak-yazarlik/SKILL.md +32 -0
  207. package/sera-core/skills/oyun-turleri/SKILL.md +176 -0
  208. package/sera-core/skills/paralel-sadelestirme/SKILL.md +33 -0
  209. package/sera-core/skills/phaser-core/LICENSE +201 -0
  210. package/sera-core/skills/phaser-core/NOTICE +5 -0
  211. package/sera-core/skills/phaser-core/NOTICE-UPSTREAM +15 -0
  212. package/sera-core/skills/phaser-core/SKILL.md +245 -0
  213. package/sera-core/skills/phaser-core/references/scene-flow.md +177 -0
  214. package/sera-core/skills/pitch-deck/LICENSE +21 -0
  215. package/sera-core/skills/pitch-deck/NOTICE +5 -0
  216. package/sera-core/skills/pitch-deck/SKILL.md +103 -0
  217. package/sera-core/skills/sera-3d-oyun/NOTICE +1 -0
  218. package/sera-core/skills/sera-3d-oyun/SKILL.md +12 -0
  219. package/sera-core/skills/sera-3d-oyun/sera-3d.js +3697 -0
  220. package/sera-core/skills/sera-diyagram/SKILL.md +43 -0
  221. package/sera-core/skills/sera-ofis-dosya/SKILL.md +3 -0
  222. package/sera-core/skills/sera-ofis-dosya/referanslar/ofis-ileri.md +46 -0
  223. package/sera-core/skills/sera-ui-site/NOTICE +1 -0
  224. package/sera-core/skills/sera-ui-site/SKILL.md +10 -0
  225. package/sera-core/skills/sera-ui-site/sera-ui.js +83 -0
  226. package/sera-core/skills/sera-veri-gorsel/SKILL.md +3 -0
  227. package/sera-core/skills/sera-veri-gorsel/referanslar/palet-dogrula.mjs +80 -0
  228. package/sera-core/skills/sistem-tarama/SKILL.md +49 -0
  229. package/sera-core/skills/sistem-tarama/referanslar/komutlar.md +78 -0
  230. package/sera-core/skills/tasarim-stilleri/SKILL.md +113 -0
  231. package/sera-core/skills/teardown/LICENSE +22 -0
  232. package/sera-core/skills/teardown/NOTICE +3 -0
  233. package/sera-core/skills/teardown/SKILL.md +144 -0
  234. package/sera-core/skills/teardown/package-lock.json +545 -0
  235. package/sera-core/skills/teardown/package.json +18 -0
  236. package/sera-core/skills/teardown/paths.mjs +30 -0
  237. package/sera-core/skills/teardown/run_sfx.py +10 -0
  238. package/sera-core/skills/teardown/sfx/__init__.py +10 -0
  239. package/sera-core/skills/teardown/sfx/__main__.py +64 -0
  240. package/sera-core/skills/teardown/sfx/dsp.py +453 -0
  241. package/sera-core/skills/teardown/sfx/loudness.py +72 -0
  242. package/sera-core/skills/teardown/sfx/mix.py +111 -0
  243. package/sera-core/skills/teardown/sfx/samples/SOURCES.md +23 -0
  244. package/sera-core/skills/teardown/sfx/samples/fs-258269-mouth-pop.ogg +0 -0
  245. package/sera-core/skills/teardown/sfx/samples/fs-323432-typing.ogg +0 -0
  246. package/sera-core/skills/teardown/sfx/samples/fs-329533-room-tone-in-an-apartment-livi.ogg +0 -0
  247. package/sera-core/skills/teardown/sfx/samples/fs-329569-roomtone-bedroom-yew.ogg +0 -0
  248. package/sera-core/skills/teardown/sfx/samples/fs-339521-vhs-rewind-forward-and-eject.ogg +0 -0
  249. package/sera-core/skills/teardown/sfx/samples/fs-349504-triangle-open-04.ogg +0 -0
  250. package/sera-core/skills/teardown/sfx/samples/fs-416777-digital-typing-wav.ogg +0 -0
  251. package/sera-core/skills/teardown/sfx/samples/fs-426767-apartment-room-tone-wav.ogg +0 -0
  252. package/sera-core/skills/teardown/sfx/samples/fs-447909-keyboard-typing.ogg +0 -0
  253. package/sera-core/skills/teardown/sfx/samples/fs-447910-plop.ogg +0 -0
  254. package/sera-core/skills/teardown/sfx/samples/fs-79388-keyboard-typing-wav.ogg +0 -0
  255. package/sera-core/skills/teardown/sfx/samples/fs-824189-pop-in-sfx.ogg +0 -0
  256. package/sera-core/skills/teardown/sfx/score_kit.py +206 -0
  257. package/sera-core/skills/teardown/sfx/synth.py +294 -0
  258. package/sera-core/skills/teardown/sheet.mjs +127 -0
  259. package/sera-core/skills/teardown/sims/beats.py +212 -0
  260. package/sera-core/skills/teardown/sims/build.mjs +141 -0
  261. package/sera-core/skills/teardown/sims/capture.mjs +211 -0
  262. package/sera-core/skills/teardown/sims/cessna-film/main.js +4 -0
  263. package/sera-core/skills/teardown/sims/cessna-film/timeline.json +1 -0
  264. package/sera-core/skills/teardown/sims/cessna-live/main.js +5 -0
  265. package/sera-core/skills/teardown/sims/cessna-shared/console.js +288 -0
  266. package/sera-core/skills/teardown/sims/cessna-shared/film.js +254 -0
  267. package/sera-core/skills/teardown/sims/cessna-shared/flight.js +53 -0
  268. package/sera-core/skills/teardown/sims/cessna-shared/gear.js +364 -0
  269. package/sera-core/skills/teardown/sims/cessna-shared/live.js +351 -0
  270. package/sera-core/skills/teardown/sims/cessna-shared/score.py +41 -0
  271. package/sera-core/skills/teardown/sims/cessna-shared/stage.js +248 -0
  272. package/sera-core/skills/teardown/sims/kit/director.js +300 -0
  273. package/sera-core/skills/teardown/sims/kit/hud.js +194 -0
  274. package/sera-core/skills/teardown/sims/kit/runtime.js +168 -0
  275. package/sera-core/skills/teardown/sims/kit/stage3d.js +114 -0
  276. package/sera-core/skills/teardown/sims/kit/style.css +137 -0
  277. package/sera-core/skills/teardown/sims/kit/util.js +79 -0
  278. package/sera-core/skills/teardown/sims/kit/warm.js +66 -0
  279. package/sera-core/skills/teardown/sims/strandbeest-film/main.js +4 -0
  280. package/sera-core/skills/teardown/sims/strandbeest-film/timeline.json +1 -0
  281. package/sera-core/skills/teardown/sims/strandbeest-live/main.js +5 -0
  282. package/sera-core/skills/teardown/sims/strandbeest-shared/beast.js +419 -0
  283. package/sera-core/skills/teardown/sims/strandbeest-shared/console.js +375 -0
  284. package/sera-core/skills/teardown/sims/strandbeest-shared/film.js +352 -0
  285. package/sera-core/skills/teardown/sims/strandbeest-shared/jansen.js +67 -0
  286. package/sera-core/skills/teardown/sims/strandbeest-shared/live.js +420 -0
  287. package/sera-core/skills/teardown/sims/strandbeest-shared/score.py +85 -0
  288. package/sera-core/skills/teardown/sims/strandbeest-shared/stage.js +463 -0
  289. package/sera-core/skills/teardown/sims/v8-film/main.js +4 -0
  290. package/sera-core/skills/teardown/sims/v8-film/timeline.json +1 -0
  291. package/sera-core/skills/teardown/sims/v8-live/main.js +5 -0
  292. package/sera-core/skills/teardown/sims/v8-shared/console.js +339 -0
  293. package/sera-core/skills/teardown/sims/v8-shared/engine.js +624 -0
  294. package/sera-core/skills/teardown/sims/v8-shared/film.js +239 -0
  295. package/sera-core/skills/teardown/sims/v8-shared/kin.js +86 -0
  296. package/sera-core/skills/teardown/sims/v8-shared/live.js +374 -0
  297. package/sera-core/skills/teardown/sims/v8-shared/score.py +60 -0
  298. package/sera-core/skills/teardown/sims/v8-shared/stage.js +173 -0
  299. package/sera-core/skills/teardown/wave.mjs +67 -0
  300. package/sera-core/skills/toplu-degisiklik/SKILL.md +39 -0
  301. package/sera-core/skills/ui-ux-pro-max/LICENSE +21 -0
  302. package/sera-core/skills/ui-ux-pro-max/NOTICE +5 -0
  303. package/sera-core/skills/ui-ux-pro-max/SKILL.md +13 -0
  304. package/sera-core/skills/ui-ux-pro-max/references/pro-rules.md +117 -0
  305. package/sera-core/skills/ui-ux-pro-max/references/quick-reference.md +266 -0
  306. package/sera-core/skills/unslop/LICENSE.md +410 -0
  307. package/sera-core/skills/unslop/SKILL.md +217 -0
  308. package/sera-core/skills/unslop/references/effects.md +113 -0
  309. package/sera-core/skills/unslop/references/refs/unslop-dashboard-after.webp +0 -0
  310. package/sera-core/skills/unslop/references/refs/unslop-hero-after.webp +0 -0
  311. package/sera-core/skills/unslop/references/refs.md +16 -0
  312. package/sera-core/skills/unslop/references/rtl.md +72 -0
  313. package/sera-core/skills/unslop/references/signs.md +125 -0
  314. package/sera-core/skills/unslop/references/tokens.md +137 -0
  315. package/sera-core/skills/unslop/references/visuals.md +84 -0
  316. package/sera-core/skills/unslop/scripts/snapshot.mjs +197 -0
  317. package/sera-core/skills/uretken-sanat/SKILL.md +42 -0
  318. package/sera-core/skills/verification-before-completion/LICENSE +21 -0
  319. package/sera-core/skills/verification-before-completion/NOTICE +5 -0
  320. package/sera-core/skills/verification-before-completion/SKILL.md +120 -0
  321. package/sera-core/skills/web-yayin-listesi/SKILL.md +3 -0
  322. package/sera-core/src/app-master.ts +2 -2
  323. package/sera-core/src/app-verify.ts +33 -0
  324. package/sera-core/src/extension.ts +16 -2
  325. package/sera-core/src/generated/build-rules.ts +81 -17
  326. package/sera-core/src/generated/quality-probe.ts +2 -0
  327. package/sera-core/src/generated/zero-knowledge.ts +36 -9
  328. package/sera-core/src/image-tool.ts +12 -2
  329. package/sera-core/src/link-data-tools.ts +411 -0
  330. package/sera-core/src/skills.ts +54 -18
  331. package/sera-core/src/video-tool.ts +51 -0
  332. package/sera-core/src/zk.ts +7 -3
@@ -0,0 +1,54 @@
1
+ // Generated from jury/scripts/browser.mjs by tests/_gen/build.py; edit there, not here.
2
+ // Resolve a Chromium for Playwright without forcing a download: bundled → any cached build →
3
+ // system Chrome/Edge. Requires `playwright` (or `playwright-core`) resolvable from the project.
4
+ import fs from 'node:fs';
5
+ import path from 'node:path';
6
+ import os from 'node:os';
7
+ import { createRequire } from 'node:module';
8
+
9
+ const req = createRequire(path.join(process.cwd(), 'noop.js'));
10
+ async function loadPlaywright() {
11
+ for (const name of ['playwright', 'playwright-core']) {
12
+ try { return await import(req.resolve(name).replace(/\\/g, '/').replace(/^([A-Za-z]):/, 'file:///$1:')); } catch {}
13
+ try { return await import(name); } catch {}
14
+ }
15
+ console.error('Playwright not found. Run in the project: npm i -D playwright');
16
+ process.exit(1);
17
+ }
18
+
19
+ function cachedChromes() {
20
+ const roots = [
21
+ process.env.PLAYWRIGHT_BROWSERS_PATH,
22
+ process.env.LOCALAPPDATA && path.join(process.env.LOCALAPPDATA, 'ms-playwright'),
23
+ path.join(os.homedir(), '.cache', 'ms-playwright'),
24
+ path.join(os.homedir(), 'Library', 'Caches', 'ms-playwright'),
25
+ ].filter(Boolean);
26
+ const found = [];
27
+ for (const root of roots) {
28
+ if (!fs.existsSync(root)) continue;
29
+ for (const dir of fs.readdirSync(root).filter((d) => /^chromium-\d+/.test(d)).sort().reverse()) {
30
+ for (const rel of ['chrome-win64/chrome.exe', 'chrome-win/chrome.exe', 'chrome-linux64/chrome', 'chrome-linux/chrome',
31
+ 'chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing',
32
+ 'chrome-mac/Chromium.app/Contents/MacOS/Chromium']) {
33
+ const p = path.join(root, dir, rel);
34
+ if (fs.existsSync(p)) found.push(p);
35
+ }
36
+ }
37
+ }
38
+ return found;
39
+ }
40
+
41
+ export async function launch() {
42
+ const pw = await loadPlaywright();
43
+ const chromium = pw.chromium || pw.default?.chromium;
44
+ const args = ['--enable-unsafe-swiftshader', '--ignore-gpu-blocklist'];
45
+ try { return await chromium.launch({ args }); } catch {}
46
+ for (const executablePath of cachedChromes()) {
47
+ try { return await chromium.launch({ executablePath, args }); } catch {}
48
+ }
49
+ for (const channel of ['chrome', 'msedge']) {
50
+ try { return await chromium.launch({ channel, args }); } catch {}
51
+ }
52
+ console.error('No Chromium found. Run: npx playwright install chromium');
53
+ process.exit(1);
54
+ }
@@ -0,0 +1,87 @@
1
+ #!/usr/bin/env node
2
+ // Self-host a font (performance + no third-party request): downloads woff2 files and prints
3
+ // @font-face CSS plus <link rel="preload"> tags, or with --next a next/font/local snippet.
4
+ // node font.mjs fontshare <slug> <weights> e.g. fontshare satoshi 400,500,700
5
+ // node font.mjs google "<Family Name>" <weights> e.g. google "Inter Tight" 400,600 (variable: 100..900)
6
+ // axes: google "Instrument Sans" "wdth,wght@75..100,400..700"
7
+ // options: --italic --ext (also latin-ext: Polish, Czech, Turkish...) --dir public/fonts --as "Display"
8
+ // --next write to src/fonts and print a next/font/local block for src/app/fonts.ts
9
+ import fs from 'node:fs';
10
+ import path from 'node:path';
11
+
12
+ const args = process.argv.slice(2);
13
+ const flags = new Set(args.filter((a) => a === '--italic' || a === '--ext' || a === '--next'));
14
+ const opt = (k, d) => { const i = args.indexOf(`--${k}`); return i > -1 ? args[i + 1] : d; };
15
+ const [provider, family, weights = '400'] = args.filter((a, i) => !a.startsWith('--') && !['--dir', '--as'].includes(args[i - 1]));
16
+ if (!provider || !family) {
17
+ console.error('usage: node font.mjs <fontshare|google> <family> <weights> [--italic] [--as Name] [--dir public/fonts]');
18
+ process.exit(1);
19
+ }
20
+ const next = flags.has('--next');
21
+ const dir = path.resolve(opt('dir', next ? 'src/fonts' : 'public/fonts'));
22
+ fs.mkdirSync(dir, { recursive: true });
23
+ const UA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0 Safari/537.36';
24
+
25
+ let cssUrl;
26
+ if (provider === 'fontshare') {
27
+ const ws = weights.split(',').flatMap((w) => (flags.has('--italic') ? [w, `${+w + 1}`] : [w])).join(',');
28
+ cssUrl = `https://api.fontshare.com/v2/css?f[]=${family}@${ws}&display=swap`;
29
+ } else if (provider === 'google') {
30
+ // Raw axis spec passes through, e.g. "wdth,wght@75..100,400..700" for a width axis.
31
+ const range = weights.includes('..') ? weights : weights.split(',').join(';');
32
+ const axis = weights.includes('@') ? weights
33
+ : flags.has('--italic') ? `ital,wght@${range.split(';').flatMap((w) => [`0,${w}`, `1,${w}`]).join(';')}` : `wght@${range}`;
34
+ cssUrl = `https://fonts.googleapis.com/css2?family=${encodeURIComponent(family).replace(/%20/g, '+')}:${axis}&display=swap`;
35
+ } else { console.error('provider must be fontshare or google'); process.exit(1); }
36
+
37
+ const res = await fetch(cssUrl, { headers: { 'user-agent': UA } });
38
+ if (!res.ok) { console.error(`font CSS request failed ${res.status}: ${cssUrl}`); process.exit(1); }
39
+ const css = await res.text();
40
+ const blocks = css.match(/@font-face\s*{[^}]+}/g) || [];
41
+ // Google splits by unicode subset; keep latin + latin-ext only.
42
+ const keep = blocks.filter((b, i) => provider !== 'google' || /\/\* latin(-ext)? \*\//.test(css.slice(css.lastIndexOf('/*', css.indexOf(b)), css.indexOf(b))) || !/unicode-range/.test(b));
43
+ const name = opt('as', family.replace(/(^|-)(\w)/g, (_, s, c) => (s ? ' ' : '') + c.toUpperCase()));
44
+ const out = [];
45
+ const preloads = [];
46
+ const local = [];
47
+ const seen = new Set();
48
+ const wanted = new Set(weights.split(','));
49
+ for (const b of keep) {
50
+ const src = (b.match(/url\(['"]?([^'")]+\.woff2)['"]?\)/) || [])[1];
51
+ if (!src) continue;
52
+ const weight = (b.match(/font-weight:\s*([^;]+);/) || [])[1]?.trim() || '400';
53
+ const style = (b.match(/font-style:\s*([^;]+);/) || [])[1]?.trim() || 'normal';
54
+ const range = (b.match(/unicode-range:\s*([^;]+);/) || [])[1]?.trim();
55
+ const stretch = (b.match(/font-stretch:\s*([^;]+);/) || [])[1]?.trim();
56
+ const subset = range && /U\+0100/.test(range) && !/U\+0000/.test(range) ? '-ext' : '';
57
+ if (subset && !flags.has('--ext')) continue;
58
+ if (provider === 'fontshare' && !wanted.has(String(+weight - (style === 'italic' ? 1 : 0))) && !wanted.has(weight)) continue;
59
+ const key = `${weight}|${style}|${subset}`;
60
+ if (seen.has(key)) continue;
61
+ seen.add(key);
62
+ const file = `${name.toLowerCase().replace(/\s+/g, '-')}-${weight.replace(/\s+/g, '_')}-${style}${subset}.woff2`;
63
+ const buf = Buffer.from(await (await fetch(src.startsWith('//') ? `https:${src}` : src, { headers: { 'user-agent': UA } })).arrayBuffer());
64
+ fs.writeFileSync(path.join(dir, file), buf);
65
+ out.push(`@font-face {\n font-family: '${name}';\n src: url('/fonts/${file}') format('woff2');\n font-weight: ${weight};\n font-style: ${style};${stretch ? `\n font-stretch: ${stretch};` : ''}\n font-display: swap;${range ? `\n unicode-range: ${range};` : ''}\n}`);
66
+ const rel = path.relative(path.resolve('src/app'), path.join(dir, file)).split(path.sep).join('/');
67
+ local.push(` { path: '${rel.startsWith('.') ? rel : `./${rel}`}', weight: '${weight}', style: '${style}' },`);
68
+ if (!subset && style === 'normal') preloads.push(`<link rel="preload" href="/fonts/${file}" as="font" type="font/woff2" crossorigin />`);
69
+ console.error(`saved ${file} (${Math.round(buf.length / 1024)} KB)`);
70
+ }
71
+ if (!out.length) { console.error('no woff2 found in provider CSS'); process.exit(1); }
72
+ if (next) {
73
+ const id = name.replace(/[^a-z0-9]+(.)?/gi, (_, c) => (c ? c.toUpperCase() : '')).replace(/^./, (c) => c.toLowerCase());
74
+ const cssVar = `--font-${name.toLowerCase().replace(/[^a-z0-9]+/g, '-')}`;
75
+ console.log(`// src/app/fonts.ts (add ${id}.variable to <html className>, use var(${cssVar}) in CSS)
76
+ import localFont from 'next/font/local';
77
+ export const ${id} = localFont({
78
+ src: [
79
+ ${local.join('\n')}
80
+ ],
81
+ variable: '${cssVar}',
82
+ display: 'swap',
83
+ });`);
84
+ process.exit(0);
85
+ }
86
+ console.log(`/* ${family} (${provider}) */\n${out.join('\n')}`);
87
+ console.log(`\n<!-- preload in the layout <head> (only fonts used above the fold) -->\n${[...new Set(preloads)].slice(0, 2).join('\n')}`);
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+ // Render a 1200x630 Open Graph image from the live hero (after the loader), into public/og.png.
3
+ // node og.mjs <url> [--out public/og.png] [--wait 4500]
4
+ import path from 'node:path';
5
+ import { launch } from './browser.mjs';
6
+
7
+ const args = process.argv.slice(2);
8
+ const url = args.find((a) => !a.startsWith('--'));
9
+ const opt = (k, d) => { const i = args.indexOf(`--${k}`); return i > -1 ? args[i + 1] : d; };
10
+ if (!url) { console.error('usage: node og.mjs <url> [--out public/og.png]'); process.exit(1); }
11
+ const out = path.resolve(opt('out', 'public/og.png'));
12
+ const browser = await launch();
13
+ const page = await (await browser.newContext({ viewport: { width: 1200, height: 630 }, deviceScaleFactor: 1 })).newPage();
14
+ await page.goto(url, { waitUntil: 'load' });
15
+ await page.waitForFunction(() => { const l = document.getElementById('loader'); return !l || l.hidden || getComputedStyle(l).display === 'none'; }, null, { timeout: 9000 }).catch(() => {});
16
+ await page.waitForTimeout(+opt('wait', '2500'));
17
+ await page.evaluate(() => document.getElementById('cursor')?.remove());
18
+ await page.screenshot({ path: out });
19
+ await browser.close();
20
+ console.log(`wrote ${out}`);
@@ -0,0 +1,65 @@
1
+ #!/usr/bin/env node
2
+ // Curate free-license placeholder photos (Unsplash photos served by Lorem Picsum) when the brief
3
+ // needs imagery and none was provided. Always mark them as placeholders and credit the authors.
4
+ // node photos.mjs sheet [--out .photos] contact sheets of ~1000 photos with ids (read the PNGs)
5
+ // node photos.mjs get <id> <id> ... [--dir public/photos] [--size 1600x1067]
6
+ // downloads JPGs + credits.json (author, source url)
7
+ import fs from 'node:fs';
8
+ import path from 'node:path';
9
+
10
+ const args = process.argv.slice(2);
11
+ const cmd = args[0];
12
+ const opt = (k, d) => { const i = args.indexOf(`--${k}`); return i > -1 ? args[i + 1] : d; };
13
+ const ids = args.slice(1).filter((a, i, all) => !a.startsWith('--') && !['--out', '--dir', '--size'].includes(all[i - 1]));
14
+
15
+ async function list() {
16
+ let all = [];
17
+ for (let p = 1; p <= 11; p++) {
18
+ const r = await fetch(`https://picsum.photos/v2/list?page=${p}&limit=100`);
19
+ if (!r.ok) break;
20
+ const page = await r.json();
21
+ if (!page.length) break;
22
+ all = all.concat(page);
23
+ }
24
+ return all;
25
+ }
26
+
27
+ if (cmd === 'sheet') {
28
+ const out = path.resolve(opt('out', '.photos'));
29
+ fs.mkdirSync(out, { recursive: true });
30
+ const all = await list();
31
+ fs.writeFileSync(path.join(out, 'list.json'), JSON.stringify(all, null, 1));
32
+ const { launch } = await import('./browser.mjs');
33
+ const browser = await launch();
34
+ const page = await browser.newPage({ viewport: { width: 1600, height: 1000 } });
35
+ const per = 192;
36
+ for (let i = 0; i * per < all.length; i++) {
37
+ const chunk = all.slice(i * per, (i + 1) * per);
38
+ await page.setContent(`<body style="margin:0;background:#222;display:grid;grid-template-columns:repeat(16,1fr);gap:3px;font:bold 13px sans-serif;color:#ff0">${chunk
39
+ .map((a) => `<div style="position:relative"><img src="https://picsum.photos/id/${a.id}/200/134" style="width:100%;display:block"><span style="position:absolute;left:2px;top:1px;background:#000;padding:0 3px">${a.id}</span></div>`)
40
+ .join('')}</body>`, { waitUntil: 'networkidle' });
41
+ const file = path.join(out, `sheet-${i}.png`);
42
+ await page.screenshot({ path: file, fullPage: true });
43
+ console.log(`wrote ${file}`);
44
+ }
45
+ await browser.close();
46
+ console.log('Read the sheets, pick ids that fit the art direction (one coherent eye), then: node photos.mjs get <ids>');
47
+ } else if (cmd === 'get' && ids.length) {
48
+ const dir = path.resolve(opt('dir', 'public/photos'));
49
+ const [w, h] = opt('size', '1600x1067').split('x');
50
+ fs.mkdirSync(dir, { recursive: true });
51
+ const credits = [];
52
+ for (const id of ids) {
53
+ const info = await (await fetch(`https://picsum.photos/id/${id}/info`)).json();
54
+ const img = await fetch(`https://picsum.photos/id/${id}/${w}/${h}`);
55
+ if (!img.ok) { console.error(`failed ${id}`); continue; }
56
+ fs.writeFileSync(path.join(dir, `${id}.jpg`), Buffer.from(await img.arrayBuffer()));
57
+ credits.push({ id, file: `${id}.jpg`, author: info.author, source: info.url, license: 'Unsplash License', placeholder: true });
58
+ console.log(`saved ${id}.jpg by ${info.author}`);
59
+ }
60
+ fs.writeFileSync(path.join(dir, 'credits.json'), JSON.stringify(credits, null, 2));
61
+ console.log(`credits → ${path.join(dir, 'credits.json')} (credit them in a colophon; flag for replacement)`);
62
+ } else {
63
+ console.error('usage: node photos.mjs sheet [--out .photos] | node photos.mjs get <id...> [--dir public/photos] [--size 1600x1067]');
64
+ process.exit(1);
65
+ }
@@ -0,0 +1,48 @@
1
+ #!/usr/bin/env node
2
+ // Generated from jury/scripts/serve.mjs by tests/_gen/build.py; edit there, not here.
3
+ // Zero-dependency static server for a built site (clean URLs, 404.html, correct MIME types).
4
+ // For static output folders (Astro dist/, Next `output: 'export'` out/, Vite dist/).
5
+ // node serve.mjs [dist] [--port 4400]
6
+ import http from 'node:http';
7
+ import fs from 'node:fs';
8
+ import path from 'node:path';
9
+ import { fileURLToPath } from 'node:url';
10
+
11
+ const types = {
12
+ '.html': 'text/html; charset=utf-8', '.js': 'text/javascript', '.mjs': 'text/javascript', '.css': 'text/css',
13
+ '.json': 'application/json', '.svg': 'image/svg+xml', '.png': 'image/png', '.jpg': 'image/jpeg', '.jpeg': 'image/jpeg',
14
+ '.webp': 'image/webp', '.avif': 'image/avif', '.gif': 'image/gif', '.ico': 'image/x-icon', '.woff2': 'font/woff2',
15
+ '.woff': 'font/woff', '.ttf': 'font/ttf', '.mp4': 'video/mp4', '.webm': 'video/webm', '.xml': 'application/xml',
16
+ '.txt': 'text/plain', '.glb': 'model/gltf-binary', '.mp3': 'audio/mpeg',
17
+ };
18
+
19
+ /** Serve `dir` on 127.0.0.1:`port` (0 = any free port). Resolves to the http.Server. */
20
+ export function serve(dir, port = 4400) {
21
+ const root = path.resolve(dir);
22
+ const resolve = (p) => {
23
+ const clean = path.normalize(decodeURIComponent(p.split('?')[0])).replace(/^([/\\])+/, '');
24
+ const base = path.join(root, clean);
25
+ if (!base.startsWith(root)) return null;
26
+ for (const c of [base, path.join(base, 'index.html'), base + '.html']) {
27
+ try { if (fs.statSync(c).isFile()) return c; } catch {}
28
+ }
29
+ return null;
30
+ };
31
+ const server = http.createServer((req, res) => {
32
+ const file = resolve(req.url || '/');
33
+ const f = file || path.join(root, '404.html');
34
+ if (!fs.existsSync(f)) { res.writeHead(404); return res.end('Not found'); }
35
+ res.writeHead(file ? 200 : 404, { 'content-type': types[path.extname(f)] || 'application/octet-stream', 'cache-control': 'no-cache' });
36
+ fs.createReadStream(f).pipe(res);
37
+ });
38
+ return new Promise((ok) => server.listen(port, '127.0.0.1', () => ok(server)));
39
+ }
40
+
41
+ if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
42
+ const args = process.argv.slice(2);
43
+ const dir = args.find((a, i) => !a.startsWith('--') && args[i - 1] !== '--port') || 'dist';
44
+ const pi = args.indexOf('--port');
45
+ if (!fs.existsSync(dir)) { console.error(`No folder ${path.resolve(dir)}. Build first.`); process.exit(1); }
46
+ const server = await serve(dir, pi > -1 ? +args[pi + 1] : 4400);
47
+ console.log(`serving ${path.resolve(dir)} at http://127.0.0.1:${server.address().port}/`);
48
+ }