Commit Graph

5 Commits

Author SHA1 Message Date
邹永赫 ba884f7643 refactor: align ssl helper namespace and confirm usage 2026-02-10 16:30:47 +09:00
邹永赫 191b0c5f18 refactor: simplify runtime tls bootstrap and tighten confirm typing 2026-02-10 16:03:39 +09:00
邹永赫 82c43f5b32 fix: harden runtime bootstrap and unify confirm handling
- Simplify bootstrap log buffering and add a public initialize hook for non-main startup paths.

- Guard aiohttp TLS patching with feature/type checks and keep graceful fallback when internals are unavailable.

- Standardize dashboard confirmation flow via shared confirm helpers across composition and options API components.
2026-02-10 15:43:43 +09:00
邹永赫 7e9d8599f1 fix: capture runtime bootstrap logs after logger init
- Add bootstrap record buffer in runtime_bootstrap for early TLS patch logs before logger is ready.

- Flush buffered bootstrap logs to astrbot logger at process startup in main.py.

- Include concrete exception details for TLS bootstrap failures to improve diagnosis.
2026-02-10 15:27:59 +09:00
邹永赫 d4df9ba2e8 refactor: bootstrap TLS setup before core imports 2026-02-10 10:47:54 +09:00