Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: bound a path helper's concise body by its semicolon, not the next newline
[._.]/ Adam Eivy4f56257a5984
diff --git a/server/lib/clientApiPaths.js b/server/lib/clientApiPaths.jsindex a8f048792c..27d37cdb18 100644--- a/server/lib/clientApiPaths.js+++ b/server/lib/clientApiPaths.js@@ -201,7 +201,10 @@ function parsePathHelpers(source) {if (!arrow) continue;const bodyStart = end + 1 + arrow[0].length;if (source[bodyStart] === '{') continue;- const { text: body } = scanTo(source, bodyStart, [';', '\n']);+ // Bounded by the declaration's own semicolon, NOT by the newline: a concise+ // body wrapped across lines would otherwise be truncated to its first line+ // and fold to a WRONG path instead of failing loudly.+ const { text: body } = scanTo(source, bodyStart, [';']);helpers.set(match[1], {parameters: splitArguments(parameterText).map(parseParameter),body: body.trim(),