POC: runnable VS Code extension on @cline/sdk (Feature #2) #3

Merged
benstull merged 5 commits from poc/cline-sdk-extension into main 2026-06-10 06:56:34 +00:00
5 changed files with 6341 additions and 0 deletions
Showing only changes of commit b343f0754a - Show all commits
+3
View File
@@ -0,0 +1,3 @@
node_modules/
out/
*.vsix
+6273
View File
File diff suppressed because it is too large Load Diff
+42
View File
@@ -0,0 +1,42 @@
{
"name": "vscode-cowriting-plugin",
"displayName": "Cowriting (Cline SDK POC)",
"description": "Non-shippable POC: a standalone VS Code extension that drives @cline/sdk.",
"version": "0.0.1",
"private": true,
"license": "Apache-2.0",
"publisher": "benstull",
"engines": {
"vscode": "^1.90.0",
"node": ">=22"
},
"categories": ["Other"],
"main": "./out/extension.cjs",
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "cowriting.showClineSdkInfo",
"title": "Cowriting: Show Cline SDK Info",
"category": "Cowriting"
}
]
},
"scripts": {
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"vscode:prepublish": "node esbuild.mjs"
},
"dependencies": {
"@cline/sdk": "0.0.46"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/vscode": "^1.90.0",
"esbuild": "^0.23.0",
"typescript": "^5.5.0",
"vitest": "^2.0.0"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ES2022",
"lib": ["ES2022"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"noEmit": true,
"types": ["node"]
},
"include": ["src", "test", "esbuild.mjs"]
}
+8
View File
@@ -0,0 +1,8 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
include: ["test/**/*.test.ts"],
},
});