refactor(cli): split commands into focused modules (#5175)

This commit is contained in:
chengyongru authored and GitHub committed 2026-07-30 15:01:35 +08:00
1 parent ad6900e56c
commit e2563e2e74
24 files changed
+3190 -2781

No files matched your search

+1 -1
View File
@@ -311,7 +311,7 @@ async def cmd_new(ctx: CommandContext) -> OutboundMessage:
loop.sessions.save(session)
loop.sessions.invalidate(session.key)
if snapshot and runtime is not None:
loop._schedule_background( # pyright: ignore[reportPrivateUsage]
loop.schedule_background(
loop.consolidator.archive( # pyright: ignore[reportUnknownMemberType]
snapshot,
runtime=runtime,