opencode-agent[bot] 2 mesi fa
parent
commit
a09447bc9b

+ 126 - 14
artifacts/glm52-rise-video/src/data.ts

@@ -14,20 +14,132 @@ export type Day = {
 }
 
 export const days: Day[] = [
-  { date: "Jun 12", total: 2_283_799_449_383, glm: 0, dsf: 1_176_701_653_509, dsp: 569_527_034_307, mm: 159_016_250_684, others: 378_554_510_883 },
-  { date: "Jun 13", total: 2_008_462_388_420, glm: 0, dsf: 995_338_131_997, dsp: 445_817_536_548, mm: 211_743_241_967, others: 355_563_477_908 },
-  { date: "Jun 14", total: 2_007_785_405_251, glm: 0, dsf: 983_954_176_228, dsp: 428_151_999_341, mm: 262_476_527_930, others: 333_202_701_752 },
-  { date: "Jun 15", total: 2_694_736_103_062, glm: 0, dsf: 1_255_893_953_859, dsp: 632_223_338_376, mm: 352_507_442_991, others: 454_111_367_836 },
-  { date: "Jun 16", total: 2_838_153_758_908, glm: 0, dsf: 1_336_625_283_800, dsp: 676_480_415_730, mm: 305_268_829_013, others: 519_779_230_365 },
-  { date: "Jun 17", total: 2_778_964_711_109, glm: 70_095_977_043, dsf: 1_339_831_523_555, dsp: 660_414_395_220, mm: 251_302_096_157, others: 457_320_719_134 },
-  { date: "Jun 18", total: 2_806_992_430_656, glm: 201_130_231_172, dsf: 1_295_599_996_869, dsp: 595_665_008_776, mm: 322_205_104_324, others: 392_392_089_515 },
-  { date: "Jun 19", total: 2_419_611_630_232, glm: 199_086_413_910, dsf: 1_115_750_468_802, dsp: 475_965_869_304, mm: 303_586_698_735, others: 325_222_179_481 },
-  { date: "Jun 20", total: 2_188_278_916_865, glm: 193_931_516_396, dsf: 1_050_194_681_012, dsp: 395_303_435_278, mm: 281_998_000_337, others: 266_851_283_842 },
-  { date: "Jun 21", total: 2_042_309_961_344, glm: 181_894_043_118, dsf: 985_164_570_580, dsp: 368_194_079_542, mm: 259_812_551_324, others: 247_244_716_780 },
-  { date: "Jun 22", total: 2_893_934_325_663, glm: 301_759_048_475, dsf: 1_298_124_282_989, dsp: 581_012_596_194, mm: 371_581_117_839, others: 341_457_280_166 },
-  { date: "Jun 23", total: 3_109_009_321_480, glm: 282_277_235_158, dsf: 1_423_571_678_821, dsp: 627_374_654_587, mm: 429_416_300_508, others: 346_369_452_406 },
-  { date: "Jun 24", total: 2_939_149_971_595, glm: 256_497_442_533, dsf: 1_373_583_023_234, dsp: 601_270_997_775, mm: 391_586_493_231, others: 316_212_014_822 },
-  { date: "Jun 25", total: 3_029_641_552_948, glm: 256_279_657_734, dsf: 1_481_084_002_776, dsp: 602_077_167_287, mm: 375_985_302_874, others: 314_215_422_277 },
+  {
+    date: "Jun 12",
+    total: 2_283_799_449_383,
+    glm: 0,
+    dsf: 1_176_701_653_509,
+    dsp: 569_527_034_307,
+    mm: 159_016_250_684,
+    others: 378_554_510_883,
+  },
+  {
+    date: "Jun 13",
+    total: 2_008_462_388_420,
+    glm: 0,
+    dsf: 995_338_131_997,
+    dsp: 445_817_536_548,
+    mm: 211_743_241_967,
+    others: 355_563_477_908,
+  },
+  {
+    date: "Jun 14",
+    total: 2_007_785_405_251,
+    glm: 0,
+    dsf: 983_954_176_228,
+    dsp: 428_151_999_341,
+    mm: 262_476_527_930,
+    others: 333_202_701_752,
+  },
+  {
+    date: "Jun 15",
+    total: 2_694_736_103_062,
+    glm: 0,
+    dsf: 1_255_893_953_859,
+    dsp: 632_223_338_376,
+    mm: 352_507_442_991,
+    others: 454_111_367_836,
+  },
+  {
+    date: "Jun 16",
+    total: 2_838_153_758_908,
+    glm: 0,
+    dsf: 1_336_625_283_800,
+    dsp: 676_480_415_730,
+    mm: 305_268_829_013,
+    others: 519_779_230_365,
+  },
+  {
+    date: "Jun 17",
+    total: 2_778_964_711_109,
+    glm: 70_095_977_043,
+    dsf: 1_339_831_523_555,
+    dsp: 660_414_395_220,
+    mm: 251_302_096_157,
+    others: 457_320_719_134,
+  },
+  {
+    date: "Jun 18",
+    total: 2_806_992_430_656,
+    glm: 201_130_231_172,
+    dsf: 1_295_599_996_869,
+    dsp: 595_665_008_776,
+    mm: 322_205_104_324,
+    others: 392_392_089_515,
+  },
+  {
+    date: "Jun 19",
+    total: 2_419_611_630_232,
+    glm: 199_086_413_910,
+    dsf: 1_115_750_468_802,
+    dsp: 475_965_869_304,
+    mm: 303_586_698_735,
+    others: 325_222_179_481,
+  },
+  {
+    date: "Jun 20",
+    total: 2_188_278_916_865,
+    glm: 193_931_516_396,
+    dsf: 1_050_194_681_012,
+    dsp: 395_303_435_278,
+    mm: 281_998_000_337,
+    others: 266_851_283_842,
+  },
+  {
+    date: "Jun 21",
+    total: 2_042_309_961_344,
+    glm: 181_894_043_118,
+    dsf: 985_164_570_580,
+    dsp: 368_194_079_542,
+    mm: 259_812_551_324,
+    others: 247_244_716_780,
+  },
+  {
+    date: "Jun 22",
+    total: 2_893_934_325_663,
+    glm: 301_759_048_475,
+    dsf: 1_298_124_282_989,
+    dsp: 581_012_596_194,
+    mm: 371_581_117_839,
+    others: 341_457_280_166,
+  },
+  {
+    date: "Jun 23",
+    total: 3_109_009_321_480,
+    glm: 282_277_235_158,
+    dsf: 1_423_571_678_821,
+    dsp: 627_374_654_587,
+    mm: 429_416_300_508,
+    others: 346_369_452_406,
+  },
+  {
+    date: "Jun 24",
+    total: 2_939_149_971_595,
+    glm: 256_497_442_533,
+    dsf: 1_373_583_023_234,
+    dsp: 601_270_997_775,
+    mm: 391_586_493_231,
+    others: 316_212_014_822,
+  },
+  {
+    date: "Jun 25",
+    total: 3_029_641_552_948,
+    glm: 256_279_657_734,
+    dsf: 1_481_084_002_776,
+    dsp: 602_077_167_287,
+    mm: 375_985_302_874,
+    others: 314_215_422_277,
+  },
 ]
 
 export const launchIndex = 5 // Jun 17, first day of GLM-5.2 usage

+ 7 - 2
artifacts/glm52-rise-video/src/flash.tsx

@@ -56,7 +56,10 @@ export function FlashShare() {
   const { fps } = useVideoConfig()
 
   const grow = (i: number) =>
-    Math.min(1, Math.max(0, spring({ frame: frame - 18 - i * 7, fps, config: { damping: 18, stiffness: 120, mass: 0.6 } })))
+    Math.min(
+      1,
+      Math.max(0, spring({ frame: frame - 18 - i * 7, fps, config: { damping: 18, stiffness: 120, mass: 0.6 } })),
+    )
 
   return (
     <AbsoluteFill style={{ background: c.bg, color: c.ink, fontFamily: MONO, padding: 72, boxSizing: "border-box" }}>
@@ -72,7 +75,9 @@ export function FlashShare() {
           <div style={{ fontSize: 23, fontWeight: 600, color: c.muted, letterSpacing: 2 }}>
             OPENCODE GO · SHARE OF TOKENS
           </div>
-          <div style={{ display: "flex", justifyContent: "space-between", alignItems: "baseline", gap: 24, marginTop: 14 }}>
+          <div
+            style={{ display: "flex", justifyContent: "space-between", alignItems: "baseline", gap: 24, marginTop: 14 }}
+          >
             <div style={{ fontSize: 62, fontWeight: 600, letterSpacing: -2, lineHeight: 1 }}>DeepSeek V4 Flash</div>
             <div
               style={{

+ 16 - 2
artifacts/glm52-rise-video/src/index.tsx

@@ -11,9 +11,23 @@ function Root() {
     <>
       <Composition id="GLM52Rise" component={GLM52Rise} durationInFrames={240} fps={30} width={1080} height={1080} />
       <Composition id="NZSheep" component={NZSheep} durationInFrames={150} fps={30} width={1080} height={1080} />
-      <Composition id="NovelTokens" component={NovelTokens} durationInFrames={150} fps={30} width={1080} height={1080} />
+      <Composition
+        id="NovelTokens"
+        component={NovelTokens}
+        durationInFrames={150}
+        fps={30}
+        width={1080}
+        height={1080}
+      />
       <Composition id="FlashShare" component={FlashShare} durationInFrames={165} fps={30} width={1080} height={1080} />
-      <Composition id="MiniMaxClimb" component={MiniMaxClimb} durationInFrames={165} fps={30} width={1080} height={1080} />
+      <Composition
+        id="MiniMaxClimb"
+        component={MiniMaxClimb}
+        durationInFrames={165}
+        fps={30}
+        width={1080}
+        height={1080}
+      />
       <Composition id="JuneTotals" component={JuneTotals} durationInFrames={1} fps={30} width={1080} height={1080} />
     </>
   )

+ 8 - 1
artifacts/glm52-rise-video/src/june.tsx

@@ -95,7 +95,14 @@ export function JuneTotals() {
           <div style={{ fontSize: 25, fontWeight: 600, color: c.muted, letterSpacing: 3 }}>OPENCODE GO · JUNE 2026</div>
           <div style={{ marginTop: 14 }}>
             <div
-              style={{ fontSize: 300, fontWeight: 600, letterSpacing: -10, lineHeight: 0.82, color: c.accent, marginLeft: -22 }}
+              style={{
+                fontSize: 300,
+                fontWeight: 600,
+                letterSpacing: -10,
+                lineHeight: 0.82,
+                color: c.accent,
+                marginLeft: -22,
+              }}
             >
               73T
             </div>

+ 11 - 3
artifacts/glm52-rise-video/src/minimax.tsx

@@ -57,7 +57,10 @@ export function MiniMaxClimb() {
   const { fps } = useVideoConfig()
 
   const grow = (i: number) =>
-    Math.min(1, Math.max(0, spring({ frame: frame - 22 - i * 9, fps, config: { damping: 18, stiffness: 110, mass: 0.6 } })))
+    Math.min(
+      1,
+      Math.max(0, spring({ frame: frame - 22 - i * 9, fps, config: { damping: 18, stiffness: 110, mass: 0.6 } })),
+    )
 
   return (
     <AbsoluteFill style={{ background: c.bg, color: c.ink, fontFamily: MONO, padding: 72, boxSizing: "border-box" }}>
@@ -73,7 +76,9 @@ export function MiniMaxClimb() {
           <div style={{ fontSize: 23, fontWeight: 600, color: c.muted, letterSpacing: 2 }}>
             OPENCODE GO · WEEKLY TOKENS
           </div>
-          <div style={{ display: "flex", justifyContent: "space-between", alignItems: "baseline", gap: 24, marginTop: 14 }}>
+          <div
+            style={{ display: "flex", justifyContent: "space-between", alignItems: "baseline", gap: 24, marginTop: 14 }}
+          >
             <div style={{ fontSize: 62, fontWeight: 600, letterSpacing: -2, lineHeight: 1 }}>MiniMax M3</div>
             <div style={{ textAlign: "right", flexShrink: 0 }}>
               <div
@@ -145,7 +150,10 @@ export function MiniMaxClimb() {
                         fontWeight: w.latest ? 600 : 500,
                         color: w.latest ? c.accent : c.muted,
                         fontVariantNumeric: "tabular-nums",
-                        opacity: interpolate(g, [0.5, 1], [0, 1], { extrapolateLeft: "clamp", extrapolateRight: "clamp" }),
+                        opacity: interpolate(g, [0.5, 1], [0, 1], {
+                          extrapolateLeft: "clamp",
+                          extrapolateRight: "clamp",
+                        }),
                       }}
                     >
                       {w.t.toFixed(2)}T

+ 4 - 1
artifacts/glm52-rise-video/src/novel.tsx

@@ -48,7 +48,10 @@ export function NovelTokens() {
       }),
   )
 
-  const zoom = interpolate(frame, [0, 150], [1.06, 1.12], { extrapolateRight: "clamp", easing: Easing.inOut(Easing.quad) })
+  const zoom = interpolate(frame, [0, 150], [1.06, 1.12], {
+    extrapolateRight: "clamp",
+    easing: Easing.inOut(Easing.quad),
+  })
 
   return (
     <AbsoluteFill style={{ background: "#0c0c0c", overflow: "hidden" }}>

+ 4 - 1
artifacts/glm52-rise-video/src/sheep.tsx

@@ -50,7 +50,10 @@ export function NZSheep() {
   )
 
   // slow Ken Burns push-in (scale up only — never reveals an edge)
-  const zoom = interpolate(frame, [0, 150], [1.06, 1.12], { extrapolateRight: "clamp", easing: Easing.inOut(Easing.quad) })
+  const zoom = interpolate(frame, [0, 150], [1.06, 1.12], {
+    extrapolateRight: "clamp",
+    easing: Easing.inOut(Easing.quad),
+  })
 
   return (
     <AbsoluteFill style={{ background: "#0c0c0c", overflow: "hidden" }}>

+ 15 - 2
artifacts/glm52-rise-video/src/video.tsx

@@ -73,7 +73,11 @@ export function GLM52Rise() {
   // token number climbs as the camera pulls back and the headline re-enters frame
   const tokensT =
     glmWeekTokensT *
-    interpolate(frame, [150, 202], [0, 1], { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing: Easing.out(Easing.cubic) })
+    interpolate(frame, [150, 202], [0, 1], {
+      extrapolateLeft: "clamp",
+      extrapolateRight: "clamp",
+      easing: Easing.out(Easing.cubic),
+    })
 
   // chart geometry
   const chartH = 440
@@ -83,7 +87,16 @@ export function GLM52Rise() {
 
   return (
     <AbsoluteFill style={{ background: c.bg, overflow: "hidden" }}>
-      <div style={{ position: "absolute", width: W, height: W, background: c.bg, transformOrigin: "0 0", transform: camera }}>
+      <div
+        style={{
+          position: "absolute",
+          width: W,
+          height: W,
+          background: c.bg,
+          transformOrigin: "0 0",
+          transform: camera,
+        }}
+      >
         <div
           style={{
             width: W,