demoman 0.7.1 → 0.7.2

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.
@@ -16194,8 +16194,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16194
16194
  background: NEUTRAL_BACKGROUND,
16195
16195
  logo: null,
16196
16196
  /**
16197
- * 8%: Screen Studio's margin, near enough (measured 8.4% on 2026-10-05),
16198
- * and the smallest padding that draws the default logo at full size.
16197
+ * 8%: the margin of a polished recording, near enough (8.4% measured on
16198
+ * 2026-10-05), and the smallest padding that draws the default logo at
16199
+ * full size.
16199
16200
  * `placeLogo` keeps a mark 0.02 × short in from the edge and clear of the
16200
16201
  * recording, so a logo of size `s` fits only when the padding is at least
16201
16202
  * `s + 0.02`, and `LOGO_DEFAULTS.size` is 0.06.
@@ -26588,6 +26589,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
26588
26589
  var TILT_TAP_MS = 20;
26589
26590
  var TILT_SETTLE_MS = TILT_VELOCITY_MS + (TILT_TAPS - 1) * TILT_TAP_MS;
26590
26591
 
26592
+ // ../../packages/compositor/dist/render/target.js
26593
+ var LANDSCAPE_1440P = {
26594
+ format: "mp4",
26595
+ width: 2560,
26596
+ height: 1440,
26597
+ fps: 60,
26598
+ bitrate: 18e6,
26599
+ cornerRadius: 24,
26600
+ fit: "contain"
26601
+ };
26602
+ var VERTICAL_1080 = {
26603
+ format: "mp4",
26604
+ width: 1080,
26605
+ height: 1920,
26606
+ fps: 60,
26607
+ bitrate: 12e6,
26608
+ cornerRadius: 24,
26609
+ fit: "cover"
26610
+ };
26611
+ var HIGH_LANDSCAPE = {
26612
+ ...LANDSCAPE_1440P,
26613
+ bitrate: 8e6
26614
+ };
26615
+ var HIGH_VERTICAL = {
26616
+ ...VERTICAL_1080,
26617
+ bitrate: HIGH_LANDSCAPE.bitrate
26618
+ };
26619
+
26591
26620
  // dist/entry-globals.js
26592
26621
  var MUX_ENTRY_GLOBAL = "__demomanMux";
26593
26622
 
@@ -16425,8 +16425,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16425
16425
  background: NEUTRAL_BACKGROUND,
16426
16426
  logo: null,
16427
16427
  /**
16428
- * 8%: Screen Studio's margin, near enough (measured 8.4% on 2026-10-05),
16429
- * and the smallest padding that draws the default logo at full size.
16428
+ * 8%: the margin of a polished recording, near enough (8.4% measured on
16429
+ * 2026-10-05), and the smallest padding that draws the default logo at
16430
+ * full size.
16430
16431
  * `placeLogo` keeps a mark 0.02 × short in from the edge and clear of the
16431
16432
  * recording, so a logo of size `s` fits only when the padding is at least
16432
16433
  * `s + 0.02`, and `LOGO_DEFAULTS.size` is 0.06.
@@ -47493,6 +47494,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
47493
47494
  }
47494
47495
 
47495
47496
  // ../../packages/compositor/dist/render/target.js
47497
+ var LANDSCAPE_1440P = {
47498
+ format: "mp4",
47499
+ width: 2560,
47500
+ height: 1440,
47501
+ fps: 60,
47502
+ bitrate: 18e6,
47503
+ cornerRadius: 24,
47504
+ fit: "contain"
47505
+ };
47506
+ var VERTICAL_1080 = {
47507
+ format: "mp4",
47508
+ width: 1080,
47509
+ height: 1920,
47510
+ fps: 60,
47511
+ bitrate: 12e6,
47512
+ cornerRadius: 24,
47513
+ fit: "cover"
47514
+ };
47515
+ var HIGH_LANDSCAPE = {
47516
+ ...LANDSCAPE_1440P,
47517
+ bitrate: 8e6
47518
+ };
47519
+ var HIGH_VERTICAL = {
47520
+ ...VERTICAL_1080,
47521
+ bitrate: HIGH_LANDSCAPE.bitrate
47522
+ };
47496
47523
  var SHARE_QUALITY_FLOOR = 0.35;
47497
47524
  function verticalCameraIntents(intents) {
47498
47525
  return intents.map((intent) => {
package/dist/recipe.md CHANGED
@@ -362,7 +362,7 @@ Refused with `nothingToRerecord` when no step that acts is left.
362
362
  | drift from the earlier take | the app | report it |
363
363
 
364
364
  A finding that is Demoman's earns no run, and is not passed on: the
365
- user takes the video as it is or changes it in the studio. A step's
365
+ user takes the video as it is or changes it in the Studio. A step's
366
366
  `roomMs` is Demoman's own pacing, not a stall.
367
367
  4. Tighten a step whose `candidates` is above 1 or whose `strategy` is weaker
368
368
  than the target you named.
@@ -385,9 +385,9 @@ too.
385
385
  until the outcome is none of `exporting`, `stillRunning`. A second export, run
386
386
  or snapshot while one is in progress is refused (`busy`, `alreadyRunning`).
387
387
  `fileType` picks the file: `mp4` (the default), `gif` (plays inline in
388
- a GitHub PR or issue), or `stills` (one PNG per step, in a folder). Ask
389
- for a GIF or stills only when the user did. An MP4 is as small as stays
390
- crisp; `quality: "full"` is the largest.
388
+ a GitHub PR or issue), or `stills` (a PNG per step, in a folder). Ask
389
+ for a GIF or stills only if the user did. An MP4 follows Settings
390
+ (unset: ~1 MB/s); `quality: "full"` is largest.
391
391
  `export({ takeId, maxMB: 9.5 })` fits GitHub's 10 MB drag-in, or says
392
392
  it could not (it lowers fps, then size, then quality: the summary says
393
393
  what it cost).
@@ -417,9 +417,9 @@ too.
417
417
  (`run({ takeId })`, or `derive` then `run` when a step's verb changed).
418
418
  Re-record only on request.
419
419
  `links` holds the export's one-click actions for the user, each present
420
- only where it works: `studio`, `reveal` (Finder) and `copy` (the file to
421
- the clipboard; none for stills). `linksError`, set instead, says why
422
- there are none: tell the user in one line.
420
+ only where it works: `studio`, `file` (the file itself) and `copy` (the
421
+ file to the clipboard; none for stills). `linksError`, set instead, says
422
+ why there are none: tell the user in one line.
423
423
  Every export report carries a `summary`, whatever its outcome
424
424
  (`stillRunning`, this server's own answer, does not).
425
425
  3. `renderFailed` - export **once** more; never re-run the script for an
@@ -456,7 +456,7 @@ section 7. An export that did not save comes back as the export's answer.
456
456
 
457
457
  Hand back, on `saved`, two lines and nothing else: the `summary` as it is,
458
458
  then the `links` as markdown links on one line, in this order and only
459
- those present: `[Open in studio](links.studio) · [Reveal in Finder](links.reveal) · [Copy video](links.copy)`
459
+ those present: `[Open in Studio](links.studio) · [<file name>](links.file) · [Copy video](links.copy)`
460
460
  (`Copy GIF` for a GIF). Add one line only for `look.brandKitError`,
461
461
  `size.error`, `linksError`, or something you could not fix. For any other
462
462
  outcome, say it with its `error` or `detail`, quoted.
@@ -570,7 +570,7 @@ recorded action each step came from (`recorded`, in `recordedFrom`):
570
570
  | `unconfirmed` | `attach` (`notAttached`) | Unknown what landed: the PR shows nothing new, or could not be read back. Do not post again; tell the user to look at it. |
571
571
  | `copyFailed` | `attach` (`notAttached`) | The video could not be copied to post it; nothing was posted. Hand the user the capped export's file. |
572
572
  | `windowDidNotOpen` | `snapshot`; `run` (`refusedBeforeRun`); `studio` | The window would not open; try once more. |
573
- | `studioDidNotStart` | `studio` | The studio did not start; `detail` quotes the end of `~/.demoman/studio.log`. Tell the user, quoting it. |
573
+ | `studioDidNotStart` | `studio` | The Studio did not start; `detail` quotes the end of `~/.demoman/studio.log`. Tell the user, quoting it. |
574
574
  | `alreadyRunning` | `snapshot`, `run`, `derive` | A run, snapshot or export is in progress. Call `report(id)` on it and try again when it settles. |
575
575
  | `busy` | `export` (`refusedBeforeExport`) | The same, for an export: a run or snapshot is in progress. Call `report(id)` on that call first. |
576
576
  | `browserSilent` | `status`, `takes`, `derive`, `report` | Demoman's browser did not answer within about 50 s (frozen, or still starting). Call `status` once; if it answers this again, tell the user. From `report`, the run may still be going: call `report(id)` again. |