F2 SLICE-3: ThreadController on the Comments API + thread mutations (#4)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+28
-3
@@ -12,15 +12,40 @@
|
||||
},
|
||||
"categories": ["Other"],
|
||||
"main": "./out/extension.cjs",
|
||||
"activationEvents": [],
|
||||
"activationEvents": ["onStartupFinished"],
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "cowriting.showClineSdkInfo",
|
||||
"title": "Cowriting: Show Cline SDK Info",
|
||||
"category": "Cowriting"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"command": "cowriting.createThread",
|
||||
"title": "Cowriting: Add Coauthoring Thread on Selection",
|
||||
"category": "Cowriting"
|
||||
},
|
||||
{ "command": "cowriting.reply", "title": "Reply", "category": "Cowriting" },
|
||||
{ "command": "cowriting.resolveThread", "title": "Resolve Thread", "category": "Cowriting" },
|
||||
{ "command": "cowriting.reopenThread", "title": "Reopen Thread", "category": "Cowriting" }
|
||||
],
|
||||
"menus": {
|
||||
"comments/commentThread/context": [
|
||||
{ "command": "cowriting.reply", "group": "inline", "when": "commentController == cowriting.threads" }
|
||||
],
|
||||
"comments/commentThread/title": [
|
||||
{
|
||||
"command": "cowriting.resolveThread",
|
||||
"group": "inline",
|
||||
"when": "commentController == cowriting.threads && commentThread =~ /^open$/"
|
||||
},
|
||||
{
|
||||
"command": "cowriting.reopenThread",
|
||||
"group": "inline",
|
||||
"when": "commentController == cowriting.threads && commentThread =~ /^resolved$/"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node esbuild.mjs",
|
||||
|
||||
Reference in New Issue
Block a user