-
6298069: Add single-pass multi-granularity conversion. The
convert-uscandconvert-ecfrcommands now accept--granularities section,chapter,title[,part]together with--output-chapter,--output-title, and--output-part(eCFR only) to produce every requested granularity from one parse of the source XML. The builders'emitAtoption accepts aReadonlySet<LevelType>in addition to a singleLevelType, and deeper levels emit first so that higher-level emissions see the complete subtree. Update scripts (update-usc.sh,update-ecfr.sh) collapse their Nconvert-*invocations into one, yielding a ~40-50% reduction in the incremental convert step's wall-clock on multi-granularity runs.Back-compat: the existing
-g/--granularity+-o/--outputsingle-granularity form continues to work unchanged and is mutually exclusive with--granularities.
- Updated dependencies [6298069]
- @lexbuild/core@1.25.0
-
28c1862: Fix eCFR title- and part-granularity emission.
convert-ecfr -g titleandconvert-ecfr -g partpreviously emitted stub files containing only frontmatter and an empty heading, because the builder's emit condition used>=instead of strict equality on the level index — every intermediate level (section, part, chapter) emitted standalone instead of aggregating into the parent's children tree.Align
EcfrASTBuilderwith the USLM builder's strict-equality behavior and populatetitle_namefromnode.headingwhen the emitted node itself is a title (a title has no title ancestor). Title-granularity output grows from ~289 bytes per title to ~400 KB per title with full chapter/part/section content inlined; part-granularity output now includes section content. -
Updated dependencies [28c1862]
- @lexbuild/core@1.24.1
- Updated dependencies [f1cf97f]
- @lexbuild/core@1.23.3
- Add @lexbuild/mcp package — Model Context Protocol server for LexBuild
- Updated dependencies
- @lexbuild/core@1.22.0
- fe043bf: Add incremental content update pipeline and documentation
- Updated dependencies [fe043bf]
- @lexbuild/core@1.19.0
- bee35c5: Docs update; Version bump
- Updated dependencies [bee35c5]
- @lexbuild/core@1.18.1
- 434ecfe: Bump version for docs site version sync
- Updated dependencies [434ecfe]
- @lexbuild/core@1.18.0
- Updated dependencies [66af7d2]
- @lexbuild/core@1.17.3
- 47a48df: Use PBKDF2 for API key hashing and fix CI test runner
- 0fef14e: Phase 5 of the Data API implementation. Adds full-text search across all three sources with faceted filtering, highlighting, and sort.
- e63fd69: Refactor shared API key schema and hashing to @lexbuild/core
- 92698e7: Phase 4 of the Data API implementation. Adds paginated document listings
- 62e6ad0: Data API Phase 0 implementation
- a94fa11: Phase 7 of the Data API implementation. Adds deploy script modes for API code and database deployment, and updates documentation across the monorepo.
- a63e95e: Data API Phase 1
- 2033419: Phase 3 of the Data API implementation.
- 9b7b181: Phase 6 of the Data API implementation. Adds API key management with SQLite-backed storage, tiered rate limiting, usage tracking, and CLI commands for key lifecycle management.
- Updated dependencies [47a48df]
- Updated dependencies [0fef14e]
- Updated dependencies [e63fd69]
- Updated dependencies [92698e7]
- Updated dependencies [62e6ad0]
- Updated dependencies [a94fa11]
- Updated dependencies [a63e95e]
- Updated dependencies [2033419]
- Updated dependencies [9b7b181]
- @lexbuild/core@1.17.2
- 16aae5b: Prettier Formatting
- Updated dependencies [16aae5b]
- @lexbuild/core@1.17.1
- 15c21c9: Meilisearch Docker Container
- Updated dependencies [15c21c9]
- @lexbuild/core@1.17.0
- ae8e01c: Update documentation and CLAUDE.md files
- Updated dependencies [ae8e01c]
- @lexbuild/core@1.16.1
- deb4785: Enrich FR with API JSON metadata
- Updated dependencies [deb4785]
- @lexbuild/core@1.16.0
- 62f5fd3: Prettier Formatting
- 4599ccb: Cleanup and enhance comments throughout monorepo for better consistency
- Updated dependencies [62f5fd3]
- Updated dependencies [4599ccb]
- @lexbuild/core@1.15.3
- c59e3a7: Patch Bump
- Updated dependencies [c59e3a7]
- @lexbuild/core@1.15.2
- 428aaeb: Package README.md updates
- Updated dependencies [428aaeb]
- @lexbuild/core@1.15.1
- 0d01106: Implement Federal Register
- 974392c: Implement bulk xml downloader for federal register
- c873f5c: Update packages CLAUDE.md files
- 889a9c1: Fix parser error
- 89a630b: Fix FR conversion
- c3bec41: Implement concurrent downloads for FR
- c612cb6: Fix formatting issues with FR raw and rendered text
- 424d10c: Fix Federal Register downloader progress status; change 100ms request delay to 25ms for 4x faster throughput
- Updated dependencies [c873f5c]
- Updated dependencies [0d01106]
- Updated dependencies [889a9c1]
- Updated dependencies [89a630b]
- Updated dependencies [c3bec41]
- Updated dependencies [c612cb6]
- Updated dependencies [974392c]
- Updated dependencies [424d10c]
- @lexbuild/core@1.15.0
- da51df3: bump version
- Updated dependencies [da51df3]
- @lexbuild/core@1.14.1
- 9af2c94: @lexbuild/fr
- f2118bd: Phase 1 implementing Federal Register source
- 2a6e3f2: Implement Federal Register source
- d2e2520: Fix Claude PR Review Issues
- 9a8a655: Update CLAUDE.md files
- 67049b9: Update documentation for Federal Register source
- c8e6e86: Implement fixes for Claude PR Review issues
- 0c52c73: Fix ESLint errors
- Updated dependencies [d2e2520]
- Updated dependencies [9af2c94]
- Updated dependencies [9a8a655]
- Updated dependencies [f2118bd]
- Updated dependencies [2a6e3f2]
- Updated dependencies [67049b9]
- Updated dependencies [c8e6e86]
- Updated dependencies [0c52c73]
- @lexbuild/core@1.14.0
- a8b9cc1: Fix dependabot security vulnerabilities
- Updated dependencies [a8b9cc1]
- @lexbuild/core@1.13.3
- cab1c2c: Add download progress indicators
- f6d7281: fix: address PR review findings for download progress
- Updated dependencies [cab1c2c]
- Updated dependencies [f6d7281]
- @lexbuild/core@1.13.2
- Updated dependencies [f89a4ee]
- @lexbuild/core@1.13.1
- cb27ce5: Astro SEO enhancements, JSON-LD, Twitter card support, and robots.txt
- Updated dependencies [cb27ce5]
- @lexbuild/core@1.13.0
- 17cf9bf: add list-release-points to CLI command and release point history API
- Updated dependencies [17cf9bf]
- @lexbuild/core@1.12.0
- d22de4d: Bump version
- Updated dependencies [d22de4d]
- @lexbuild/core@1.11.0
- 59c12a1: feat: per title data resolution and retry logic for eCFR API downloads
- 275f041: Address PR review feedback for download, highlights, and packaging
- c735a6f: Update convert command summary footer for titles, chapters, parts, and sections
- 82fb6cc: Manage Shiki's memory with forked child processes instead of a single process. Each child is 10k files and its memory is released back to the OS once highlighting is complete.
- 7fde270: Implement hierarchical filenames for downloaded .md files (i.e. usc-title-01-chapter-01-section-1.md)
- 95e44f5: eCFR data api fallbacks for when update is in progress; display date info during download
- 0305588: Prettier formatting issue fixes; pnpm format
- Updated dependencies [59c12a1]
- Updated dependencies [275f041]
- Updated dependencies [c735a6f]
- Updated dependencies [82fb6cc]
- Updated dependencies [7fde270]
- Updated dependencies [95e44f5]
- Updated dependencies [0305588]
- @lexbuild/core@1.10.1
- 268dc81: Update eCFR downloader to handle govinfo eCFR XML or eCFR.gov API XML
- 2abf796: Update monorepo README.md
- af2ea01: Fix eCFR frontmatter panel info
- 791ca5e: Set the eCFR data API as the default eCFR source (govinfo still available if desired)
- 65539ac: Update README.md files
- d71a5d8: Auto detect latest release of the USC and add options to choose previous release points
- Updated dependencies [2abf796]
- Updated dependencies [af2ea01]
- Updated dependencies [791ca5e]
- Updated dependencies [65539ac]
- Updated dependencies [d71a5d8]
- Updated dependencies [268dc81]
- @lexbuild/core@1.10.0
- 6a7111a: Add ENFILE/EMFILE retry wrapper for file writes in converters
- Updated dependencies [6a7111a]
- @lexbuild/core@1.9.4
- 93b4e78: refactor: remove Next.js web application, add Astro SSR app for browsing converted legal content
- Updated dependencies [93b4e78]
- @lexbuild/core@1.9.3
-
#44
077dad9Thanks @chris-c-thomas! - Update turbo configuations and build scripts to better align with best practices -
Updated dependencies [
077dad9]:- @lexbuild/core@1.9.2
-
d32b3edThanks @chris-c-thomas! - Publish @lexbuild/ecfr to npm registry -
Updated dependencies []:
- @lexbuild/core@1.9.1
-
#40
3ecddf0Thanks @chris-c-thomas! - Refactor core packages for multiple source XML; add eCRF source; convert bulk eCRF XML to structured markdown. -
#40
e14242cThanks @chris-c-thomas! - Refactor download/convert commands to be namespaced to their respective sources -
#40
2a400d2Thanks @chris-c-thomas! - Add fourth granularity option to eCFR converter; by chapter