Commit 983eccc
chore(types): prune unused bundled generated modules
The generated_poc/bundled tree is built from self-contained inlined JSON
schemas, so each bundled message re-emits its own copy of the shared
provenance/verification/asset sub-schemas. That accounts for ~92% of the
generated tree (~27.8k of ~30k class definitions), yet only one bundled
module is imported anywhere: protocol/get_adcp_capabilities_response (via
adcp.types.capabilities). consolidate_exports.py already excludes bundled
from the public namespace, and the tree is not loaded at import adcp.
Remove the 95 unreferenced bundled modules and add a post-generation prune
step to generate_types.py so regeneration does not recreate them. Generation
runs unchanged; the step only deletes unreferenced output, leaving every
retained module byte-identical.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 7c81056 commit 983eccc
96 files changed
Lines changed: 52 additions & 625024 deletions
File tree
- scripts
- src/adcp/types/generated_poc/bundled
- content_standards
- core
- creative
- media_buy
- property
- protocol
- signals
- sponsored_intelligence
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
50 | 67 | | |
51 | 68 | | |
52 | 69 | | |
| |||
495 | 512 | | |
496 | 513 | | |
497 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
498 | 547 | | |
499 | 548 | | |
500 | 549 | | |
| |||
561 | 610 | | |
562 | 611 | | |
563 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
564 | 616 | | |
565 | 617 | | |
566 | 618 | | |
| |||
Lines changed: 0 additions & 3 deletions
This file was deleted.
0 commit comments