-
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