Revert "fix(examples): drop the dev HMR row the native source launch cannot load"

This reverts commit 8ca499e33dd2b6e1f4e80189a1a3ab9e6873ddf7.
This commit is contained in:
Yichen Jiang
2026-07-29 14:29:12 +08:00
parent 2a53abd491
commit 4bb101e002

View File

@@ -1,11 +1,14 @@
# Full-screen TUI coding agent with swappable DeepSeek and local-bash backends.
# `dsh-tui-demo` supplies the agent spine, workspace instructions, generic
# task controls, JSONL persistence, the pi-tui front door, and `main`.
# The app bin loads the gitignored root `.env` into the process environment;
# entry configs here are the composition base, while user-plane values resolve
# per request through the settings and credentials providers below.
# No dev HMR row: vendored @cordisjs/plugin-hmr uses decorators, which the
# native --experimental-transform-types source launch cannot load.
# HMR remains a leaf because it depends on Loader internals. The app bin loads
# the gitignored root `.env`; this file reads `DEEPSEEK_API_KEY` and optional
# `DEEPSEEK_BASE_URL` through `!!js`.
- id: hmr
name: '@cordisjs/plugin-hmr'
config:
root: ['.']
# User-settings document (`$DSH_HOME/settings.yaml`, hot-reloaded): a
# `llm-deepseek:` section there overrides the adapter entry below without a