ENG-10963 refactor(log): hosting CLI shares the reflex-base console and logging (4/5)
Merged
FA
3mo ago+1045+1045+0123456789012345678901234567890123456789-899-899-012345678901234567890123456789
reflex-hosting-cli now depends on reflex-base: its forked console module and LogLevel enum become shims over the shared ones, and its logging goes through standard python logging.
- The base
console.askgains the same str-typed overloads the forked console had (the flatstr | Nonesignature broke typing at the hosting call sites). - Intentional behavior deltas: debug output renders purple (was blue), errors go to stderr (was stdout), success messages are hidden at
--loglevel warning. - The temporary
LogLevelconversion mapper inreflex/reflex.pyis removed. - The hosting-cli dev pin (
reflex-base >= 0.9.8.post19.dev0) must be re-pinned at the 0.9.9 release.
Stack (ENG-10963)
#6863 → #6864 → #6865 → this → deprecate.
Merge in order; each PR is based on the previous branch.