feat: add configurable operator appearance and layout

This commit is contained in:
2026-07-23 11:14:10 +09:00
parent cf117de144
commit f43483533a
34 changed files with 5942 additions and 740 deletions

View File

@@ -40,9 +40,12 @@ if ([string]$audit.result -cne 'PASS' -or
[string]$audit.expectedSourceSha256 -cne
'1EE76BC464FB1C44C8B6546E99CDC21C726C0E2C24AD344F5C19AE41BFC0D2F2' -or
[int]$audit.expectedSourceRows -ne 8 -or
[string]$audit.expectedInitialDestinationSha256 -cne
[string]$audit.expectedFreshDestinationSha256 -cne
'13C07BA64587549EDA9C1A694F3DFA19875CB1F888F02C9E071F17C47739E087' -or
[int]$audit.expectedInitialDestinationRows -ne 1 -or
[int]$audit.expectedFreshDestinationRows -ne 1 -or
[string]$audit.expectedImportedDestinationSha256 -cne
'2575C2420800670B0022EBEE819BA3D9640DB14E9552426DF46075D079F1F697' -or
[int]$audit.expectedImportedDestinationRows -ne 9 -or
$audit.sendInputClickAvailable -ne $true -or
$audit.sendInputEscapeAvailable -ne $true) {
throw 'The static audit does not expose the closed input/file contract.'
@@ -79,7 +82,8 @@ foreach ($token in @(
'"choose-operator-folder"',
'"folder-picker-click-cancel"',
'"observe-local-files"',
'receipt?.addedPairCount === 8',
'receipt?.addedPairCount === expectedFirstAdded',
'receipt?.skippedDuplicateCount === expectedFirstSkipped',
'receipt?.addedPairCount === 0',
'process.stdin.unref',
'allowMissingState: true',
@@ -100,6 +104,7 @@ if ($wrapperText -match '(?im)^\s*(?:Remove-Item|Stop-Process|taskkill)\b' -or
physicalClicks = 9
pickerCancels = 3
observations = 4
importAdded = 8
freshImportAdded = 8
alreadyImportedAdded = 0
idempotentAdded = 0
} | ConvertTo-Json -Compress