@riddledc/riddle-proof 0.7.177 → 0.7.178
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/dist/cli.cjs +13 -0
- package/dist/cli.js +13 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -16646,6 +16646,19 @@ function profileSetupSummaryMarkdown(result) {
|
|
|
16646
16646
|
return receipts.map((receipt) => ({ name, receipt }));
|
|
16647
16647
|
});
|
|
16648
16648
|
const pressDetails = pressGroups.flat();
|
|
16649
|
+
for (const group of pressGroups.slice(0, 8)) {
|
|
16650
|
+
if (!group.length) continue;
|
|
16651
|
+
const name = group[0].name;
|
|
16652
|
+
const keys = group.map(({ receipt }) => cliString(receipt.key) || "key").filter(Boolean);
|
|
16653
|
+
const ordinals = group.map(({ receipt }) => cliFiniteNumber(receipt.ordinal)).filter((value) => value !== void 0);
|
|
16654
|
+
const visibleKeys = keys.slice(0, 16);
|
|
16655
|
+
const omittedKeyCount = Math.max(0, keys.length - visibleKeys.length);
|
|
16656
|
+
const visibleOrdinals = ordinals.slice(0, 16);
|
|
16657
|
+
const omittedOrdinalCount = Math.max(0, ordinals.length - visibleOrdinals.length);
|
|
16658
|
+
const keyText = visibleKeys.join(",");
|
|
16659
|
+
const ordinalText = visibleOrdinals.join(",");
|
|
16660
|
+
lines.push(`- ${name} press_sequence: keys ${markdownInlineCode(keyText, 200)}${omittedKeyCount ? ` (+${omittedKeyCount} omitted)` : ""}${ordinalText ? `, ordinals ${markdownInlineCode(ordinalText, 120)}${omittedOrdinalCount ? ` (+${omittedOrdinalCount} omitted)` : ""}` : ""}`);
|
|
16661
|
+
}
|
|
16649
16662
|
const sampledPressDetails = balancedSetupReceiptDetails(pressGroups, 12);
|
|
16650
16663
|
for (const { name, receipt } of sampledPressDetails) {
|
|
16651
16664
|
const key = cliString(receipt.key) || "key";
|
package/dist/cli.js
CHANGED
|
@@ -929,6 +929,19 @@ function profileSetupSummaryMarkdown(result) {
|
|
|
929
929
|
return receipts.map((receipt) => ({ name, receipt }));
|
|
930
930
|
});
|
|
931
931
|
const pressDetails = pressGroups.flat();
|
|
932
|
+
for (const group of pressGroups.slice(0, 8)) {
|
|
933
|
+
if (!group.length) continue;
|
|
934
|
+
const name = group[0].name;
|
|
935
|
+
const keys = group.map(({ receipt }) => cliString(receipt.key) || "key").filter(Boolean);
|
|
936
|
+
const ordinals = group.map(({ receipt }) => cliFiniteNumber(receipt.ordinal)).filter((value) => value !== void 0);
|
|
937
|
+
const visibleKeys = keys.slice(0, 16);
|
|
938
|
+
const omittedKeyCount = Math.max(0, keys.length - visibleKeys.length);
|
|
939
|
+
const visibleOrdinals = ordinals.slice(0, 16);
|
|
940
|
+
const omittedOrdinalCount = Math.max(0, ordinals.length - visibleOrdinals.length);
|
|
941
|
+
const keyText = visibleKeys.join(",");
|
|
942
|
+
const ordinalText = visibleOrdinals.join(",");
|
|
943
|
+
lines.push(`- ${name} press_sequence: keys ${markdownInlineCode(keyText, 200)}${omittedKeyCount ? ` (+${omittedKeyCount} omitted)` : ""}${ordinalText ? `, ordinals ${markdownInlineCode(ordinalText, 120)}${omittedOrdinalCount ? ` (+${omittedOrdinalCount} omitted)` : ""}` : ""}`);
|
|
944
|
+
}
|
|
932
945
|
const sampledPressDetails = balancedSetupReceiptDetails(pressGroups, 12);
|
|
933
946
|
for (const { name, receipt } of sampledPressDetails) {
|
|
934
947
|
const key = cliString(receipt.key) || "key";
|