POC scaffold: extension manifest + tooling config (Feature #2)

Manifest declares the cowriting.showClineSdkInfo command; esbuild + vitest +
tsc tooling. @cline/sdk@0.0.46 as a runtime dependency. Per issue #2 (epic #1).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-06-09 23:55:39 -07:00
parent 038d78176a
commit b343f0754a
5 changed files with 6341 additions and 0 deletions
+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"],
},
});