- Merged latest main branch changes into token-tracking feature branch - Resolved conflicts in session types, database schema, and UI components - Combined token tracking features with commit mode functionality - Added new commit mode columns to database and session interfaces - Integrated project view and commit mode indicator components - Preserved token usage display functionality from PR - Updated session creation to include base commit/branch parameters 馃 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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