feat(coding-agent): add ctx.reload and reload-runtime example closes #1371
This commit is contained in:
@@ -295,6 +295,9 @@ export async function runRpcMode(session: AgentSession): Promise<never> {
|
||||
const success = await session.switchSession(sessionPath);
|
||||
return { cancelled: !success };
|
||||
},
|
||||
reload: async () => {
|
||||
await session.reload();
|
||||
},
|
||||
},
|
||||
shutdownHandler: () => {
|
||||
shutdownRequested = true;
|
||||
|
||||
Reference in New Issue
Block a user