cursor-guard 4.9.9 → 4.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +697 -697
- package/README.zh-CN.md +696 -696
- package/ROADMAP.md +1775 -1720
- package/SKILL.md +631 -629
- package/docs/RELEASE.md +197 -196
- package/docs/SNAPSHOT-BOOKMARK.md +47 -0
- package/package.json +70 -69
- package/references/dashboard/public/app.js +2079 -1832
- package/references/dashboard/public/style.css +1660 -1573
- package/references/dashboard/server.js +197 -4
- package/references/lib/core/backups.js +509 -492
- package/references/lib/core/core.test.js +1761 -1616
- package/references/lib/core/snapshot.js +441 -369
- package/references/mcp/mcp.test.js +381 -362
- package/references/mcp/server.js +404 -347
- package/references/vscode-extension/dist/{cursor-guard-ide-4.9.9.vsix → cursor-guard-ide-4.9.15.vsix} +0 -0
- package/references/vscode-extension/dist/dashboard/public/app.js +2079 -1832
- package/references/vscode-extension/dist/dashboard/public/style.css +1660 -1573
- package/references/vscode-extension/dist/dashboard/server.js +197 -4
- package/references/vscode-extension/dist/extension.js +780 -704
- package/references/vscode-extension/dist/guard-version.json +1 -1
- package/references/vscode-extension/dist/lib/auto-setup.js +201 -192
- package/references/vscode-extension/dist/lib/core/backups.js +509 -492
- package/references/vscode-extension/dist/lib/core/snapshot.js +441 -369
- package/references/vscode-extension/dist/lib/poller.js +161 -21
- package/references/vscode-extension/dist/lib/sidebar-webview.js +22 -0
- package/references/vscode-extension/dist/mcp/server.js +152 -35
- package/references/vscode-extension/dist/package.json +7 -1
- package/references/vscode-extension/dist/skill/ROADMAP.md +1775 -1720
- package/references/vscode-extension/dist/skill/SKILL.md +631 -629
- package/references/vscode-extension/extension.js +780 -704
- package/references/vscode-extension/lib/auto-setup.js +201 -192
- package/references/vscode-extension/lib/poller.js +161 -21
- package/references/vscode-extension/lib/sidebar-webview.js +22 -0
- package/references/vscode-extension/package.json +146 -140
|
@@ -1,140 +1,146 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cursor-guard-ide",
|
|
3
|
-
"displayName": "Cursor Guard",
|
|
4
|
-
"description": "AI code protection dashboard embedded in your IDE — real-time alerts, backup history, one-click snapshots",
|
|
5
|
-
"version": "4.9.
|
|
6
|
-
"publisher": "zhangqiang8vipp",
|
|
7
|
-
"license": "BUSL-1.1",
|
|
8
|
-
"engines": {
|
|
9
|
-
"vscode": "^1.74.0"
|
|
10
|
-
},
|
|
11
|
-
"categories": ["Other", "Visualization"],
|
|
12
|
-
"keywords": ["cursor", "ai-safety", "code-protection", "git-backup", "dashboard"],
|
|
13
|
-
"icon": "media/icon.png",
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "https://github.com/zhangqiang8vipp/cursor-guard"
|
|
17
|
-
},
|
|
18
|
-
"main": "./extension.js",
|
|
19
|
-
"activationEvents": [
|
|
20
|
-
"workspaceContains:.cursor-guard.json",
|
|
21
|
-
"onStartupFinished"
|
|
22
|
-
],
|
|
23
|
-
"contributes": {
|
|
24
|
-
"commands": [
|
|
25
|
-
{
|
|
26
|
-
"command": "cursorGuard.openDashboard",
|
|
27
|
-
"title": "Open Dashboard",
|
|
28
|
-
"category": "Cursor Guard",
|
|
29
|
-
"icon": "$(dashboard)"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"command": "cursorGuard.snapshotNow",
|
|
33
|
-
"title": "Snapshot Now",
|
|
34
|
-
"category": "Cursor Guard",
|
|
35
|
-
"icon": "$(device-camera)"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"command": "cursorGuard.startWatcher",
|
|
39
|
-
"title": "Start Watcher",
|
|
40
|
-
"category": "Cursor Guard",
|
|
41
|
-
"icon": "$(eye)"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"command": "cursorGuard.stopWatcher",
|
|
45
|
-
"title": "Stop Watcher",
|
|
46
|
-
"category": "Cursor Guard",
|
|
47
|
-
"icon": "$(eye-closed)"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"command": "cursorGuard.quickRestore",
|
|
51
|
-
"title": "Quick Restore",
|
|
52
|
-
"category": "Cursor Guard",
|
|
53
|
-
"icon": "$(history)"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"command": "cursorGuard.doctor",
|
|
57
|
-
"title": "Run Diagnostics",
|
|
58
|
-
"category": "Cursor Guard",
|
|
59
|
-
"icon": "$(search)"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"command": "cursorGuard.
|
|
63
|
-
"title": "
|
|
64
|
-
"category": "Cursor Guard",
|
|
65
|
-
"icon": "$(
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"command": "cursorGuard.
|
|
69
|
-
"title": "
|
|
70
|
-
"category": "Cursor Guard",
|
|
71
|
-
"icon": "$(
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"command": "cursorGuard.
|
|
75
|
-
"title": "
|
|
76
|
-
"category": "Cursor Guard",
|
|
77
|
-
"icon": "$(
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
"group": "
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "cursor-guard-ide",
|
|
3
|
+
"displayName": "Cursor Guard",
|
|
4
|
+
"description": "AI code protection dashboard embedded in your IDE — real-time alerts, backup history, one-click snapshots",
|
|
5
|
+
"version": "4.9.15",
|
|
6
|
+
"publisher": "zhangqiang8vipp",
|
|
7
|
+
"license": "BUSL-1.1",
|
|
8
|
+
"engines": {
|
|
9
|
+
"vscode": "^1.74.0"
|
|
10
|
+
},
|
|
11
|
+
"categories": ["Other", "Visualization"],
|
|
12
|
+
"keywords": ["cursor", "ai-safety", "code-protection", "git-backup", "dashboard"],
|
|
13
|
+
"icon": "media/icon.png",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/zhangqiang8vipp/cursor-guard"
|
|
17
|
+
},
|
|
18
|
+
"main": "./extension.js",
|
|
19
|
+
"activationEvents": [
|
|
20
|
+
"workspaceContains:.cursor-guard.json",
|
|
21
|
+
"onStartupFinished"
|
|
22
|
+
],
|
|
23
|
+
"contributes": {
|
|
24
|
+
"commands": [
|
|
25
|
+
{
|
|
26
|
+
"command": "cursorGuard.openDashboard",
|
|
27
|
+
"title": "Open Dashboard",
|
|
28
|
+
"category": "Cursor Guard",
|
|
29
|
+
"icon": "$(dashboard)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"command": "cursorGuard.snapshotNow",
|
|
33
|
+
"title": "Snapshot Now",
|
|
34
|
+
"category": "Cursor Guard",
|
|
35
|
+
"icon": "$(device-camera)"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"command": "cursorGuard.startWatcher",
|
|
39
|
+
"title": "Start Watcher",
|
|
40
|
+
"category": "Cursor Guard",
|
|
41
|
+
"icon": "$(eye)"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"command": "cursorGuard.stopWatcher",
|
|
45
|
+
"title": "Stop Watcher",
|
|
46
|
+
"category": "Cursor Guard",
|
|
47
|
+
"icon": "$(eye-closed)"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"command": "cursorGuard.quickRestore",
|
|
51
|
+
"title": "Quick Restore",
|
|
52
|
+
"category": "Cursor Guard",
|
|
53
|
+
"icon": "$(history)"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"command": "cursorGuard.doctor",
|
|
57
|
+
"title": "Run Diagnostics",
|
|
58
|
+
"category": "Cursor Guard",
|
|
59
|
+
"icon": "$(search)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"command": "cursorGuard.setupSkill",
|
|
63
|
+
"title": "Install Agent Skill",
|
|
64
|
+
"category": "Cursor Guard",
|
|
65
|
+
"icon": "$(book)"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"command": "cursorGuard.addToProtect",
|
|
69
|
+
"title": "Add to Protected",
|
|
70
|
+
"category": "Cursor Guard",
|
|
71
|
+
"icon": "$(shield)"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"command": "cursorGuard.addToIgnore",
|
|
75
|
+
"title": "Exclude from Protection",
|
|
76
|
+
"category": "Cursor Guard",
|
|
77
|
+
"icon": "$(circle-slash)"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"command": "cursorGuard.refreshTree",
|
|
81
|
+
"title": "Refresh",
|
|
82
|
+
"category": "Cursor Guard",
|
|
83
|
+
"icon": "$(refresh)"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"viewsContainers": {
|
|
87
|
+
"activitybar": [
|
|
88
|
+
{
|
|
89
|
+
"id": "cursorGuard",
|
|
90
|
+
"title": "Cursor Guard",
|
|
91
|
+
"icon": "media/guard-icon.svg"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"views": {
|
|
96
|
+
"cursorGuard": [
|
|
97
|
+
{
|
|
98
|
+
"id": "cursorGuardProjects",
|
|
99
|
+
"name": "Projects"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "cursorGuardDashboard",
|
|
103
|
+
"name": "Dashboard",
|
|
104
|
+
"type": "webview"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"menus": {
|
|
109
|
+
"view/title": [
|
|
110
|
+
{
|
|
111
|
+
"command": "cursorGuard.openDashboard",
|
|
112
|
+
"when": "view == cursorGuardProjects",
|
|
113
|
+
"group": "navigation"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"command": "cursorGuard.refreshTree",
|
|
117
|
+
"when": "view == cursorGuardProjects",
|
|
118
|
+
"group": "navigation"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"explorer/context": [
|
|
122
|
+
{
|
|
123
|
+
"command": "cursorGuard.addToProtect",
|
|
124
|
+
"group": "cursorGuard@1",
|
|
125
|
+
"when": "explorerResourceIsFolder || resourceScheme == file"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"command": "cursorGuard.addToIgnore",
|
|
129
|
+
"group": "cursorGuard@2",
|
|
130
|
+
"when": "explorerResourceIsFolder || resourceScheme == file"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"editor/title/context": [
|
|
134
|
+
{
|
|
135
|
+
"command": "cursorGuard.addToProtect",
|
|
136
|
+
"group": "cursorGuard@1"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"command": "cursorGuard.addToIgnore",
|
|
140
|
+
"group": "cursorGuard@2"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"submenus": []
|
|
145
|
+
}
|
|
146
|
+
}
|