MCPcopy Index your code
hub / github.com/github/copilot-sdk / registerExitPlanModeHandler

Method registerExitPlanModeHandler

nodejs/src/session.ts:923–925  ·  view source on GitHub ↗

* Registers the exit-plan-mode handler for this session. * * @param handler - The handler to invoke when the server dispatches an exit-plan-mode request * @internal This method is typically called internally when creating/resuming a session.

(handler?: ExitPlanModeHandler)

Source from the content-addressed store, hash-verified

921 * @internal This method is typically called internally when creating/resuming a session.
922 */
923 registerExitPlanModeHandler(handler?: ExitPlanModeHandler): void {
924 this.exitPlanModeHandler = handler;
925 }
926
927 /**
928 * Registers the auto-mode-switch handler for this session.

Callers 2

initializeSessionMethod · 0.95
resumeSessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected