MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / summarizeUi

Function summarizeUi

scripts/integration/cli.mjs:1755–1763  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

1753}
1754
1755function summarizeUi(snapshot) {
1756 const lines = snapshot
1757 .split("\n")
1758 .filter(
1759 (line) => line.startsWith("source:") || line.trim().startsWith("- "),
1760 )
1761 .slice(0, 6);
1762 return lines.join(" | ").slice(0, 500);
1763}
1764
1765function simdeckText(args, options = {}) {
1766 return runText(simdeck, ["--server-url", serverUrl, ...args], {

Callers 1

verifyUiWithDescribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected