Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 2d87edd

Browse files
SannidhyaSahSannidhya
authored andcommitted
feat: add mode dropdown to change skill mode dynamically (#10513) (#11102)
Co-authored-by: Sannidhya <sann@Sannidhyas-MacBook-Pro.local>
1 parent bcb8c81 commit 2d87edd

44 files changed

Lines changed: 3202 additions & 82 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/types/src/vscode-extension-host.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,12 @@ export interface WebviewMessage {
608608
| "createWorktreeInclude"
609609
| "checkoutBranch"
610610
| "browseForWorktreePath"
611+
// Skills messages
612+
| "requestSkills"
613+
| "createSkill"
614+
| "deleteSkill"
615+
| "moveSkill"
616+
| "openSkillFile"
611617
text?: string
612618
editedMessageContent?: string
613619
tab?: "settings" | "history" | "mcp" | "modes" | "chat" | "marketplace" | "cloud"
@@ -641,7 +647,11 @@ export interface WebviewMessage {
641647
modeConfig?: ModeConfig
642648
timeout?: number
643649
payload?: WebViewMessagePayload
644-
source?: "global" | "project"
650+
source?: "global" | "project" | "built-in"
651+
skillName?: string // For skill operations (createSkill, deleteSkill, moveSkill, openSkillFile)
652+
skillMode?: string // For skill operations (current mode restriction)
653+
newSkillMode?: string // For moveSkill (target mode)
654+
skillDescription?: string // For createSkill (skill description)
645655
requestId?: string
646656
ids?: string[]
647657
terminalOperation?: "continue" | "abort"

0 commit comments

Comments
 (0)