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.
- package/README.md +6 -5
- package/THIRD_PARTY_NOTICES +161 -1
- package/dist/demoman.mjs +749 -412
- package/dist/page/mux-entry.js +31 -2
- package/dist/page/render-entry.js +29 -2
- package/dist/recipe.md +9 -9
- package/dist/studio/assets/{confirm-dialog-DkCVzKzd.js → confirm-dialog-CN_GqXY_.js} +4 -4
- package/dist/studio/assets/editor-Cy1V14-4.js +4 -0
- package/dist/studio/assets/{library-C8XIahb7.js → library-CQtDqEvE.js} +1 -1
- package/dist/studio/assets/settings-C4OPkolR.js +1 -0
- package/dist/studio/assets/view-DsZQo9AJ.js +1 -0
- package/dist/studio/editor.html +3 -3
- package/dist/studio/icon/32.png +0 -0
- package/dist/studio/images/icon.svg +3 -6
- package/dist/studio/images/lockup_dark.svg +10 -13
- package/dist/studio/images/lockup_light.svg +10 -13
- package/dist/studio/images/logomark.svg +2 -8
- package/dist/studio/library.html +2 -2
- package/dist/studio/settings.html +3 -3
- package/dist/studio/studio-build.json +3 -3
- package/package.json +10 -1
- package/dist/studio/assets/controls-BoAnJbcP.js +0 -1
- package/dist/studio/assets/editor-APtBBZEt.js +0 -4
- package/dist/studio/assets/settings-Cs1_sqqR.js +0 -1
- package/dist/studio/icon/128.png +0 -0
- package/dist/studio/icon/16.png +0 -0
- package/dist/studio/icon/48.png +0 -0
- package/dist/studio/icon/recording/128.png +0 -0
- package/dist/studio/icon/recording/16.png +0 -0
- package/dist/studio/icon/recording/32.png +0 -0
- package/dist/studio/icon/recording/48.png +0 -0
package/dist/page/mux-entry.js
CHANGED
|
@@ -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%:
|
|
16198
|
-
* and the smallest padding that draws the default logo at
|
|
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%:
|
|
16429
|
-
* and the smallest padding that draws the default logo at
|
|
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
|
|
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` (
|
|
389
|
-
for a GIF or stills only
|
|
390
|
-
|
|
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`, `
|
|
421
|
-
the clipboard; none for stills). `linksError`, set instead, says
|
|
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
|
|
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
|
|
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. |
|