English that follows from/import in running prose ("from providers like X") and config keys named like a
moved package (plugins.enabled, providers.<id>.api_key) were rewritten to hermes_agent.* names.
- from M import ... / import M / -m M are rewritten only as code: in a code span, a code fence, a >>> line, or
an import statement that parses as Python and starts its line. A bare top-level word alone is never
rewritten. import M becomes from hermes_agent import M.
- A dotted name is rewritten when it names a moved module or package, or a moved module plus an attribute it
defines; a bare package that is also a config section (agent, plugins, providers, ...) needs the attribute.
- DEFAULT_CONFIG keys (shared reader in renames.py, found wherever hermes_cli moved to) and i18n keys
(locales/en.yaml, first argument of t()) are left alone.
- Files generate_shims.py wrote are skipped.