Repository navigation
Commit b28290c
fix(models-config): wire plugin-catalog writes into ensureOpenClawModelsJson (restore main parity)
The cache-fingerprint rewrite of ensureOpenClawModelsJson dropped main's plugin-catalog
writing: mergeGeneratedPluginCatalogProvidersIntoExistingParsed (merge generated plugin
provider catalogs into existingParsed before planning) and writePluginCatalogsForModelsJson
(write the catalogs in the skip/noop/write paths). Both functions were defined but never
called, so generated plugin provider catalogs were no longer written alongside models.json.
Restore the calls, mirroring main's skip/noop/write structure. main's mtime-based cache
helpers (readFileMtimeMs/readPluginCatalogMtimes) stay intentionally removed — superseded
by this branch's content fingerprint. models-config + plugin-catalog suite: 40/40.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>1 parent 450151b commit b28290c
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
732 | 737 | | |
733 | 738 | | |
734 | 739 | | |
735 | 740 | | |
736 | 741 | | |
737 | 742 | | |
738 | 743 | | |
739 | | - | |
| 744 | + | |
740 | 745 | | |
741 | 746 | | |
742 | 747 | | |
| |||
752 | 757 | | |
753 | 758 | | |
754 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
755 | 764 | | |
756 | 765 | | |
757 | 766 | | |
758 | 767 | | |
759 | | - | |
| 768 | + | |
760 | 769 | | |
761 | 770 | | |
762 | 771 | | |
763 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
764 | 777 | | |
765 | 778 | | |
766 | 779 | | |
767 | 780 | | |
768 | 781 | | |
769 | | - | |
| 782 | + | |
770 | 783 | | |
771 | 784 | | |
772 | 785 | | |
773 | 786 | | |
774 | 787 | | |
775 | 788 | | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
776 | 793 | | |
777 | 794 | | |
778 | 795 | | |
| |||
0 commit comments