File size: 2,301 Bytes
7bedc79 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | {
"name": "agentlens",
"displayName": "AgentLens — AI Agent Rules & Code QA",
"description": "迁移 AI Agent 规则配置(CLAUDE.md / .cursor/rules / AGENTS.md 等),并对 AI 写的代码做对抗式体检。",
"version": "0.1.0",
"publisher": "agentlens",
"license": "MIT",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"keywords": [
"ai",
"cursor",
"claude",
"codex",
"code-review",
"config"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "agentlens.scan",
"title": "AgentLens: 扫描项目中的 Agent 配置"
},
{
"command": "agentlens.move",
"title": "AgentLens: 迁移规则到其他 Agent"
},
{
"command": "agentlens.drift",
"title": "AgentLens: 检测配置漂移"
},
{
"command": "agentlens.checkFile",
"title": "AgentLens: 体检当前文件"
},
{
"command": "agentlens.checkWorkspace",
"title": "AgentLens: 体检工作区变更"
},
{
"command": "agentlens.openPanel",
"title": "AgentLens: 打开设置面板"
}
],
"menus": {
"editor/context": [
{
"command": "agentlens.checkFile",
"group": "agentlens"
}
],
"view/title": [
{
"command": "agentlens.scan",
"when": "view == agentlens.panel"
}
]
},
"configuration": {
"title": "AgentLens",
"properties": {
"agentlens.autoCheckOnSave": {
"type": "boolean",
"default": false,
"description": "保存文件时自动体检当前文件"
},
"agentlens.severityThreshold": {
"type": "string",
"enum": [
"critical",
"warning",
"info"
],
"default": "warning",
"description": "体检报告显示的最低严重级别"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.90.0",
"@types/node": "^22.0.0",
"typescript": "^5.6.0"
}
}
|