waveterm/cmd
Evan Simkowitz 39fff9ecfd
Allow separate directories for each config part, add dropdown for editing AI presets (#1074)
Adds new functionality on the backend that will merge any file from the
config directory that matches `<partName>.json` or `<partName>/*.json`
into the corresponding config part (presets, termthemes, etc.). This
lets us separate the AI presets into `presets/ai.json` so that we can
add a dropdown in the AI preset selector that will directly open the
file so a user can edit it more easily. Right now, this will create a
preview block in the layout, but in the future we can look into making
this block disconnected from the layout.

If you put AI presets in the regular presets.json file, it will still
work, since all the presets get merged. Same for any other config part.
2024-10-21 16:51:18 -07:00
..
generatego vdom 3 (#1033) 2024-10-17 14:50:36 -07:00
generatets conditionally write generated files (#890) 2024-09-27 13:46:10 -07:00
server Allow separate directories for each config part, add dropdown for editing AI presets (#1074) 2024-10-21 16:51:18 -07:00
test vdom 3 (#1033) 2024-10-17 14:50:36 -07:00
wsh vdom 3 (#1033) 2024-10-17 14:50:36 -07:00