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
/**
* Pure prose helpers, from the module that owns them on both sides.
*
* `escapeRegExp`, `countWords`, `isStr`, `isNonBlankStr` and `pluralize` are named
* re-exports of `server/lib/textUtils.js` — imported rather than copied so the
* two runtimes cannot drift: the word count the Writers Room and autobiography
* editors show beside a draft is the same `\S+` rule the server stores for it,
* and the "has text" check the Songs views and FableLoom readiness use is the
* same non-blank predicate the server's sanitizers apply (#6837). Named rather
* than `export *` so this file stays the list of what the browser bundle has a
* caller for; the file itself stays so every `lib/textUtils` import path in the
* client is unchanged.
*/
export { countWords, escapeRegExp, isStr, isNonBlankStr, pluralize } from '../../../server/lib/textUtils.js';