Files
IC-Coder-Plugin/package.json
Roe-xin 53e91fc5a0 feat: 集成 VSCode Authentication API 实现用户登录
- 新增 Authentication Provider,登录信息显示在左下角
- 支持浏览器登录并自动回调
- 登录/登出后自动刷新窗口
- 侧边栏根据登录状态显示不同按钮
2025-12-29 18:25:21 +08:00

136 lines
3.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "iccoder",
"displayName": "IC Coder",
"description": "Agentic Verilog Coding Platform for Real-World FPGAs",
"version": "0.0.2",
"publisher": "ICCoder",
"engines": {
"vscode": "^1.80.0"
},
"icon": "media/icon.png",
"categories": [
"Other"
],
"keywords": [
"IC",
"coder",
"verilog",
"FPGA",
"eda",
"assistant"
],
"license": "SEE LICENSE IN LICENSE",
"activationEvents": [
"onCommand:ic-coder.openPanel",
"onView:ic-coder-sidebar",
"onLanguage:verilog",
"onLanguage:vhdl",
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ic-coder.openPanel",
"title": "打开 IC Coder 助手",
"category": "IC Coder"
},
{
"command": "ic-coder.openChat",
"title": "IC Coder: 打开聊天",
"category": "IC Coder"
},
{
"command": "ic-coder.openVCDViewer",
"title": "打开 VCD 波形查看器",
"category": "IC Coder"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "ic-coder-sidebar",
"title": "IC Coder",
"icon": "media/sidebar-icon.png"
}
]
},
"views": {
"ic-coder-sidebar": [
{
"id": "ic-coder.mainView",
"name": "IC Coder",
"type": "webview"
}
]
},
"authentication": [
{
"id": "iccoder",
"label": "IC Coder"
}
],
"configuration": {
"title": "IC Coder",
"properties": {
"icCoder.backendUrl": {
"type": "string",
"default": "http://192.168.1.108:2233",
"description": "后端服务地址"
},
"icCoder.timeout": {
"type": "number",
"default": 60000,
"description": "请求超时时间(毫秒)"
},
"icCoder.userId": {
"type": "string",
"default": "default-user",
"description": "用户ID临时配置"
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src",
"test": "vscode-test",
"build": "pnpm run compile"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.80.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"eslint": "^9.39.1",
"ts-loader": "^9.5.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.1",
"webpack": "^5.103.0",
"webpack-cli": "^6.0.1"
},
"files": [
"dist",
"media",
"tools"
],
"dependencies": {
"@wavedrom/doppler": "^1.14.0",
"eventsource-parser": "^3.0.6",
"iconv-lite": "^0.7.1",
"onml": "^2.1.0",
"style-mod": "^4.1.3",
"vcd-stream": "^1.5.0",
"vcdrom": "^1.6.0",
"waveql": "^1.9.0"
}
}