|
3529 | 3529 | "chat/chatSessions": [ |
3530 | 3530 | { |
3531 | 3531 | "command": "pr.openChanges", |
3532 | | - "when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent", |
| 3532 | + "when": "resourceScheme == copilot-swe-agent || resourceScheme == copilot-cloud-agent", |
3533 | 3533 | "group": "inline" |
3534 | 3534 | }, |
3535 | 3535 | { |
3536 | 3536 | "command": "pr.checkoutChatSessionPullRequest", |
3537 | | - "when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent", |
| 3537 | + "when": "resourceScheme == copilot-swe-agent || resourceScheme == copilot-cloud-agent", |
3538 | 3538 | "group": "context" |
3539 | 3539 | }, |
3540 | 3540 | { |
3541 | 3541 | "command": "pr.closeChatSessionPullRequest", |
3542 | | - "when": "chatSessionType == copilot-swe-agent", |
| 3542 | + "when": "resourceScheme == copilot-swe-agent", |
3543 | 3543 | "group": "context" |
3544 | 3544 | }, |
3545 | 3545 | { |
3546 | 3546 | "command": "pr.cancelCodingAgent", |
3547 | | - "when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent", |
| 3547 | + "when": "resourceScheme == copilot-swe-agent || resourceScheme == copilot-cloud-agent", |
3548 | 3548 | "group": "context" |
3549 | 3549 | } |
3550 | 3550 | ], |
3551 | 3551 | "chat/multiDiff/context": [ |
3552 | 3552 | { |
3553 | 3553 | "command": "pr.checkoutFromDescription", |
3554 | | - "when": "chatSessionType == copilot-swe-agent || chatSessionType == 'copilot-cloud-agent'" |
| 3554 | + "when": "resourceScheme == copilot-swe-agent || resourceScheme == 'copilot-cloud-agent'" |
3555 | 3555 | }, |
3556 | 3556 | { |
3557 | 3557 | "command": "pr.applyChangesFromDescription", |
3558 | | - "when": "chatSessionType == copilot-swe-agent || chatSessionType == 'copilot-cloud-agent'" |
| 3558 | + "when": "resourceScheme == copilot-swe-agent || resourceScheme == 'copilot-cloud-agent'" |
3559 | 3559 | } |
3560 | 3560 | ] |
3561 | 3561 | }, |
|
0 commit comments