- apply-recoder-branding.js generates a Recoder electron-builder config (appId/ productName/updater) leaving package.json untouched; recoder.branding.json scaffold. - analyticsManager: policy kill-switch disables PostHog unless RECODER_ENABLE_TELEMETRY. - NimbalystInstallDialog: suppressed by policy. - recoderBridge: feature-flagged RunEvent emitter (session lifecycle -> Recoder /internal/agent-os/events), grounded in packages/agent-os event contract. - convergence panel MVP: convergenceManager + ipc + ConvergencePanel emit an approval_requested RunEvent (N->1 proposal); backend stays source of truth.
Scripts Directory
This directory contains build and maintenance scripts for the Crystal application.
generate-notices.js
Generates a NOTICES file containing all third-party licenses for dependencies included in the Crystal distribution.
Usage
# Generate NOTICES file
pnpm run generate-notices
# Or run directly
node scripts/generate-notices.js
How it works
- Scans all node_modules directories in the workspace
- Collects license information from LICENSE files and package.json
- Excludes development-only dependencies that aren't distributed
- Creates a NOTICES file in the project root
When to run
- Automatically runs during
pnpm run build:macandpnpm run release:mac - Should be run whenever dependencies change
- CI/CD runs this in the license-compliance workflow
License compliance
The script helps ensure Crystal complies with open source license requirements by:
- Including all third-party license texts in distributions
- Identifying packages with missing license information
- Supporting the license-compliance GitHub workflow