Files
kwcode/extension/package.json
Val-sss a502c9db63 feat: v1.4.0 多语言AST + FastAPI Server + Textual TUI + VSCode插件
三个模块按顺序实施,424测试全绿:

模块A - 多语言支持:
- ast-grep预定义模板查询(LLM只填参数不写pattern)
- TreeSitterParser扩展支持JS/TS/Go/Rust/Java(可选依赖)
- 多语言Verifier(jest/go test/cargo test/mvn test)
- 4个新SKILL.md(golang/typescript/rust/java)

模块B - Server + TUI:
- FastAPI + SSE事件流,端口7355
- kwcode serve命令 + kwcode --tui选项
- Textual TUI(文件树+事件流+输入框)
- pipeline_factory共享构建

模块C - VSCode插件:
- 薄客户端连接kwcode server
- SSE事件流 + Webview面板
- 文件保存触发RIG刷新

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 14:57:16 +08:00

63 lines
1.5 KiB
JSON

{
"name": "kwcode",
"displayName": "KwCode",
"description": "KwCode - Local model coding agent. Thin client connecting to kwcode server.",
"version": "0.1.0",
"publisher": "val1813",
"engines": {
"vscode": "^1.85.0"
},
"categories": ["Programming Languages", "Machine Learning"],
"activationEvents": [
"onCommand:kwcode.openPanel"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "kwcode.openPanel",
"title": "KwCode: Open Panel",
"category": "KwCode"
},
{
"command": "kwcode.submitTask",
"title": "KwCode: Submit Task",
"category": "KwCode"
}
],
"configuration": {
"title": "KwCode",
"properties": {
"kwcode.serverUrl": {
"type": "string",
"default": "http://127.0.0.1:7355",
"description": "KwCode server URL"
},
"kwcode.autoRefreshRig": {
"type": "boolean",
"default": true,
"description": "Auto-refresh rig.json on file save"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/node": "^20.0.0",
"typescript": "^5.3.0",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/val1813/kwcode"
}
}