chore: add ajv devDependency + F5 implementation plan (F5 SLICE-1, #14)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-06-10 22:53:18 -07:00
parent 8591fc5de4
commit 0ddeaba5a6
3 changed files with 1615 additions and 16 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -16,6 +16,7 @@
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"@types/vscode": "^1.90.0", "@types/vscode": "^1.90.0",
"@vscode/test-electron": "^2.4.0", "@vscode/test-electron": "^2.4.0",
"ajv": "^8.20.0",
"esbuild": "^0.23.0", "esbuild": "^0.23.0",
"glob": "^11.0.0", "glob": "^11.0.0",
"mocha": "^10.7.0", "mocha": "^10.7.0",
+73 -16
View File
@@ -10,9 +10,13 @@
"vscode": "^1.90.0", "vscode": "^1.90.0",
"node": ">=22" "node": ">=22"
}, },
"categories": ["Other"], "categories": [
"Other"
],
"main": "./out/extension.cjs", "main": "./out/extension.cjs",
"activationEvents": ["onStartupFinished"], "activationEvents": [
"onStartupFinished"
],
"contributes": { "contributes": {
"commands": [ "commands": [
{ {
@@ -25,22 +29,70 @@
"title": "Cowriting: Add Coauthoring Thread on Selection", "title": "Cowriting: Add Coauthoring Thread on Selection",
"category": "Cowriting" "category": "Cowriting"
}, },
{ "command": "cowriting.reply", "title": "Reply", "category": "Cowriting" }, {
{ "command": "cowriting.resolveThread", "title": "Resolve Thread", "category": "Cowriting" }, "command": "cowriting.reply",
{ "command": "cowriting.reopenThread", "title": "Reopen Thread", "category": "Cowriting" }, "title": "Reply",
{ "command": "cowriting.toggleAttribution", "title": "Toggle Attribution", "category": "Cowriting" }, "category": "Cowriting"
{ "command": "cowriting.applyAgentEdit", "title": "Apply Agent Edit (internal seam)", "category": "Cowriting" }, },
{ "command": "cowriting.editSelection", "title": "Ask Claude to Edit Selection", "category": "Cowriting" }, {
{ "command": "cowriting.acceptProposal", "title": "✓ Accept Proposal", "category": "Cowriting" }, "command": "cowriting.resolveThread",
{ "command": "cowriting.rejectProposal", "title": "✗ Reject Proposal", "category": "Cowriting" }, "title": "Resolve Thread",
{ "command": "cowriting.proposeAgentEdit", "title": "Propose Agent Edit (internal seam)", "category": "Cowriting" } "category": "Cowriting"
},
{
"command": "cowriting.reopenThread",
"title": "Reopen Thread",
"category": "Cowriting"
},
{
"command": "cowriting.toggleAttribution",
"title": "Toggle Attribution",
"category": "Cowriting"
},
{
"command": "cowriting.applyAgentEdit",
"title": "Apply Agent Edit (internal seam)",
"category": "Cowriting"
},
{
"command": "cowriting.editSelection",
"title": "Ask Claude to Edit Selection",
"category": "Cowriting"
},
{
"command": "cowriting.acceptProposal",
"title": "✓ Accept Proposal",
"category": "Cowriting"
},
{
"command": "cowriting.rejectProposal",
"title": "✗ Reject Proposal",
"category": "Cowriting"
},
{
"command": "cowriting.proposeAgentEdit",
"title": "Propose Agent Edit (internal seam)",
"category": "Cowriting"
}
], ],
"menus": { "menus": {
"commandPalette": [ "commandPalette": [
{ "command": "cowriting.applyAgentEdit", "when": "false" }, {
{ "command": "cowriting.proposeAgentEdit", "when": "false" }, "command": "cowriting.applyAgentEdit",
{ "command": "cowriting.acceptProposal", "when": "false" }, "when": "false"
{ "command": "cowriting.rejectProposal", "when": "false" } },
{
"command": "cowriting.proposeAgentEdit",
"when": "false"
},
{
"command": "cowriting.acceptProposal",
"when": "false"
},
{
"command": "cowriting.rejectProposal",
"when": "false"
}
], ],
"editor/context": [ "editor/context": [
{ {
@@ -55,7 +107,11 @@
} }
], ],
"comments/commentThread/context": [ "comments/commentThread/context": [
{ "command": "cowriting.reply", "group": "inline", "when": "commentController == cowriting.threads" } {
"command": "cowriting.reply",
"group": "inline",
"when": "commentController == cowriting.threads"
}
], ],
"comments/commentThread/title": [ "comments/commentThread/title": [
{ {
@@ -99,6 +155,7 @@
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"@types/vscode": "^1.90.0", "@types/vscode": "^1.90.0",
"@vscode/test-electron": "^2.4.0", "@vscode/test-electron": "^2.4.0",
"ajv": "^8.20.0",
"esbuild": "^0.23.0", "esbuild": "^0.23.0",
"glob": "^11.0.0", "glob": "^11.0.0",
"mocha": "^10.7.0", "mocha": "^10.7.0",