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:
Ben Stull
2026-06-10 06:53:13 -07:00
parent e5817eef0a
commit 1bc7a369b7
5 changed files with 447 additions and 18 deletions
+28 -3
View File
@@ -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",