-
Notifications
You must be signed in to change notification settings - Fork 758
Closed
Labels
Description
I asked Copilot CLI (via internal SDK) to make some changes.
I got a response about a Plan file and Shift+Tab to exit the Plan mode.
Copilot Version 0.0.400
I don't think the shift+tab keyboard shortcuts should be mentioned in sdk
Also there's no proper way to expose the plan feature via sdk
I think we should have a way to opt out of the plan mode until we have this supported in SDK (or internal sdk)
By supported:
- I'd expect to see a different message (without keyboard shortcuts)
- A structured message that lets clients intercept them and display the plan to the user (having user to open the file doesn't feel right).
The next obvious step is for user to open and read the plan.md file, hence the plan should ideally be display to the user in a response.
I can see the following session option, but that doesn't seem the right option to use
It is interactive and I don't want to lose other features
/** Whether the CLI is running in interactive mode. Defaults to true. When false, uses non-interactive identity and excludes plan mode instructions. */
runningInInteractiveMode?: boolean;