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.
Files changed (35) hide show
  1. package/README.md +697 -697
  2. package/README.zh-CN.md +696 -696
  3. package/ROADMAP.md +1775 -1720
  4. package/SKILL.md +631 -629
  5. package/docs/RELEASE.md +197 -196
  6. package/docs/SNAPSHOT-BOOKMARK.md +47 -0
  7. package/package.json +70 -69
  8. package/references/dashboard/public/app.js +2079 -1832
  9. package/references/dashboard/public/style.css +1660 -1573
  10. package/references/dashboard/server.js +197 -4
  11. package/references/lib/core/backups.js +509 -492
  12. package/references/lib/core/core.test.js +1761 -1616
  13. package/references/lib/core/snapshot.js +441 -369
  14. package/references/mcp/mcp.test.js +381 -362
  15. package/references/mcp/server.js +404 -347
  16. package/references/vscode-extension/dist/{cursor-guard-ide-4.9.9.vsix → cursor-guard-ide-4.9.15.vsix} +0 -0
  17. package/references/vscode-extension/dist/dashboard/public/app.js +2079 -1832
  18. package/references/vscode-extension/dist/dashboard/public/style.css +1660 -1573
  19. package/references/vscode-extension/dist/dashboard/server.js +197 -4
  20. package/references/vscode-extension/dist/extension.js +780 -704
  21. package/references/vscode-extension/dist/guard-version.json +1 -1
  22. package/references/vscode-extension/dist/lib/auto-setup.js +201 -192
  23. package/references/vscode-extension/dist/lib/core/backups.js +509 -492
  24. package/references/vscode-extension/dist/lib/core/snapshot.js +441 -369
  25. package/references/vscode-extension/dist/lib/poller.js +161 -21
  26. package/references/vscode-extension/dist/lib/sidebar-webview.js +22 -0
  27. package/references/vscode-extension/dist/mcp/server.js +152 -35
  28. package/references/vscode-extension/dist/package.json +7 -1
  29. package/references/vscode-extension/dist/skill/ROADMAP.md +1775 -1720
  30. package/references/vscode-extension/dist/skill/SKILL.md +631 -629
  31. package/references/vscode-extension/extension.js +780 -704
  32. package/references/vscode-extension/lib/auto-setup.js +201 -192
  33. package/references/vscode-extension/lib/poller.js +161 -21
  34. package/references/vscode-extension/lib/sidebar-webview.js +22 -0
  35. 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.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.addToProtect",
63
- "title": "Add to Protected",
64
- "category": "Cursor Guard",
65
- "icon": "$(shield)"
66
- },
67
- {
68
- "command": "cursorGuard.addToIgnore",
69
- "title": "Exclude from Protection",
70
- "category": "Cursor Guard",
71
- "icon": "$(circle-slash)"
72
- },
73
- {
74
- "command": "cursorGuard.refreshTree",
75
- "title": "Refresh",
76
- "category": "Cursor Guard",
77
- "icon": "$(refresh)"
78
- }
79
- ],
80
- "viewsContainers": {
81
- "activitybar": [
82
- {
83
- "id": "cursorGuard",
84
- "title": "Cursor Guard",
85
- "icon": "media/guard-icon.svg"
86
- }
87
- ]
88
- },
89
- "views": {
90
- "cursorGuard": [
91
- {
92
- "id": "cursorGuardProjects",
93
- "name": "Projects"
94
- },
95
- {
96
- "id": "cursorGuardDashboard",
97
- "name": "Dashboard",
98
- "type": "webview"
99
- }
100
- ]
101
- },
102
- "menus": {
103
- "view/title": [
104
- {
105
- "command": "cursorGuard.openDashboard",
106
- "when": "view == cursorGuardProjects",
107
- "group": "navigation"
108
- },
109
- {
110
- "command": "cursorGuard.refreshTree",
111
- "when": "view == cursorGuardProjects",
112
- "group": "navigation"
113
- }
114
- ],
115
- "explorer/context": [
116
- {
117
- "command": "cursorGuard.addToProtect",
118
- "group": "cursorGuard@1",
119
- "when": "explorerResourceIsFolder || resourceScheme == file"
120
- },
121
- {
122
- "command": "cursorGuard.addToIgnore",
123
- "group": "cursorGuard@2",
124
- "when": "explorerResourceIsFolder || resourceScheme == file"
125
- }
126
- ],
127
- "editor/title/context": [
128
- {
129
- "command": "cursorGuard.addToProtect",
130
- "group": "cursorGuard@1"
131
- },
132
- {
133
- "command": "cursorGuard.addToIgnore",
134
- "group": "cursorGuard@2"
135
- }
136
- ]
137
- },
138
- "submenus": []
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
+ }