-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
1091 lines (1091 loc) · 34.9 KB
/
Copy pathpackage.json
File metadata and controls
1091 lines (1091 loc) · 34.9 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "dev-toolkit",
"displayName": "Dev Toolkit",
"description": "Developer utilities: file size display, console log removal, AI-enhanced code explanation, reference tracking, session productivity tracking, and clipboard security scanning",
"version": "1.3.0",
"publisher": "sidkr222003",
"icon": "resources/dev-toolkit.png",
"repository": {
"type": "git",
"url": "https://github.com/sidkr222003/dev-toolkit"
},
"engines": {
"vscode": "^1.93.0"
},
"categories": [
"Other",
"Education",
"Programming Languages"
],
"keywords": [
"security",
"secrets",
"linter",
"clipboard",
"paste",
"scanner",
"api keys",
"credentials",
"enterprise",
"policy",
"compliance",
"audit",
"history",
"secret management",
"custom patterns",
"pii",
"vulnerability"
],
"activationEvents": [
"onStartupFinished",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"package": "npx @vscode/vsce package",
"publish": "npx @vscode/vsce publish"
},
"dependencies": {
"@babel/parser": "^7.29.2",
"@babel/types": "^7.29.0",
"@vscode/codicons": "^0.0.45",
"minimatch": "^9.0.9",
"typescript": "^5.5.0"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^20.19.39",
"@types/vscode": "^1.93.0"
},
"contributes": {
"configuration": {
"title": "Dev Toolkit",
"properties": {
"devToolkit.enableCopilotFallback": {
"type": "boolean",
"default": true,
"description": "Use GitHub Copilot (mini model) to enhance code explanations with AI. Disable to use static analysis only."
},
"devToolkit.sessionTracker.idleDetection": {
"type": "boolean",
"default": true,
"description": "Pause the session timer when no keyboard or editor activity is detected within the idle timeout window."
},
"devToolkit.sessionTracker.idleThresholdMinutes": {
"type": "number",
"default": 2,
"minimum": 1,
"maximum": 10,
"description": "Minutes of inactivity before the session is considered idle. Range: 1\u201310 (default: 2)."
},
"devToolkit.sessionTracker.breakReminderInterval": {
"type": "number",
"default": 45,
"minimum": 5,
"maximum": 240,
"description": "Minutes of continuous active coding after which a break reminder notification is shown."
},
"devToolkit.sessionTracker.flowStateThresholdMinutes": {
"type": "number",
"default": 25,
"minimum": 5,
"maximum": 120,
"description": "Minimum uninterrupted active minutes required to qualify a session as a flow state. Default: 25."
},
"devToolkit.sessionTracker.dailyGoalMinutes": {
"type": "number",
"default": 120,
"minimum": 15,
"maximum": 720,
"description": "Daily coding goal in minutes. Shown as a progress ring in the Goals tab. Default: 120 (2 hours)."
},
"devToolkit.sessionTracker.statusBarFormat": {
"type": "string",
"default": "timeAndStreak",
"enum": [
"timeOnly",
"timeAndStreak",
"timeAndLanguage",
"iconOnly"
],
"enumDescriptions": [
"Show active time only: 1h 42m",
"Show time and daily streak: 1h 42m 7d",
"Show time and current language: 1h 42m TypeScript",
"Show a single icon with no text"
],
"description": "Controls what the Session Tracker status bar item displays."
},
"devToolkit.sessionTracker.notifications": {
"type": "object",
"default": {
"achievementToasts": true,
"dailySummary": true,
"goalReminders": true,
"breakReminders": true
},
"properties": {
"achievementToasts": {
"type": "boolean",
"description": "Show a notification when a new achievement is unlocked."
},
"dailySummary": {
"type": "boolean",
"description": "Show a summary card on first open each day summarising yesterday's session."
},
"goalReminders": {
"type": "boolean",
"description": "Notify when the daily coding goal is reached."
},
"breakReminders": {
"type": "boolean",
"description": "Show break reminders after sustained focus periods."
}
},
"description": "Fine-grained control over which Session Tracker notifications are shown."
},
"devToolkit.sessionTracker.workHoursStart": {
"type": "number",
"default": 9,
"minimum": 0,
"maximum": 23,
"description": "Start of your working hours window (24-hour format). Used for the 9-to-5er achievement."
},
"devToolkit.sessionTracker.workHoursEnd": {
"type": "number",
"default": 17,
"minimum": 1,
"maximum": 24,
"description": "End of your working hours window (24-hour format). Used for the 9-to-5er achievement."
},
"devToolkit.sessionTracker.excludedFileTypes": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "File extensions to exclude from active-time tracking. Example: [\".md\", \".json\", \".lock\"]"
},
"pasteShield.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable PasteShield clipboard scanning.",
"scope": "window"
},
"pasteShield.silentMode": {
"type": "boolean",
"default": false,
"description": "Enable silent mode: scan clipboard and log to sidebar without blocking paste. Ideal for new users who want visibility without interruption.",
"scope": "window"
},
"pasteShield.ignoredPatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Pattern names to skip during scanning. Example: `[\"eval() Call\", \"innerHTML Assignment\"]`. Run **PasteShield: Show Last Scan Report** to see all pattern names.",
"scope": "resource"
},
"pasteShield.showInlineDecorations": {
"type": "boolean",
"default": true,
"description": "Show a temporary inline gutter decoration at the insertion point after a warned paste (auto-clears after 10 seconds).",
"scope": "window"
},
"pasteShield.minimumSeverity": {
"type": "string",
"default": "medium",
"enum": [
"critical",
"high",
"medium",
"low"
],
"enumDescriptions": [
"Only warn for critical issues (API keys, private keys, database credentials).",
"Warn for high and critical issues (adds JWTs, hardcoded passwords, prototype pollution).",
"Warn for medium, high, and critical issues \u2014 recommended (adds eval, innerHTML, document.write).",
"Warn for all detected patterns including low-severity ones (adds setTimeout/setInterval strings)."
],
"description": "Minimum severity level that triggers a PasteShield warning.",
"scope": "window"
},
"pasteShield.ignoredLanguages": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Language IDs where PasteShield paste scanning is disabled. Example: `[\"markdown\", \"plaintext\"]`. Note: `.env` and `.env.local` files are always excluded from paste interception regardless of this setting.",
"scope": "resource"
},
"pasteShield.showCodeLens": {
"type": "boolean",
"default": true,
"description": "Show inline CodeLens warnings above detected secrets and unsafe patterns in open files. Each lens includes severity, a details link, and a one-click ignore action.",
"scope": "window"
},
"pasteShield.codeLensExcludedFiles": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Additional file basenames to exclude from CodeLens scanning (e.g. `[\".env.production\", \".env.staging\"]`). Note: paste interception is always skipped for `.env` and `.env.local` regardless of this list.",
"scope": "resource"
},
"pasteShield.enableHistory": {
"type": "boolean",
"default": true,
"description": "Enable persistent scan history tracking in the sidebar.",
"scope": "window"
},
"pasteShield.autoRefreshHistory": {
"type": "boolean",
"default": true,
"description": "Automatically refresh the history view when new scans are completed.",
"scope": "window"
},
"pasteShield.workspaceIgnoreFile": {
"type": "string",
"default": ".pasteshieldignore",
"markdownDescription": "Name of the workspace-level ignore pattern file (similar to `.gitignore`). Patterns in this file apply only to the current workspace.",
"scope": "resource"
},
"pasteShield.useGitignorePatterns": {
"type": "boolean",
"default": true,
"description": "Use patterns from `.gitignore` files to also ignore matching files from secret scanning.",
"scope": "resource"
},
"pasteShield.secretRotationReminderDays": {
"type": "number",
"default": 90,
"description": "Number of days after which to show a reminder to rotate detected secrets.",
"scope": "window"
},
"pasteShield.enableAuditLogging": {
"type": "boolean",
"default": true,
"description": "Enable audit logging for compliance reporting. Logs all detections and actions taken.",
"scope": "machine"
},
"pasteShield.auditLogPath": {
"type": "string",
"default": "",
"markdownDescription": "Custom path for audit log export. Leave empty to use default VS Code storage. Supports absolute paths.",
"scope": "machine"
},
"pasteShield.customPatterns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Unique name for this pattern"
},
"regex": {
"type": "string",
"description": "Regular expression pattern"
},
"severity": {
"type": "string",
"enum": [
"critical",
"high",
"medium",
"low"
],
"description": "Severity level"
},
"description": {
"type": "string",
"description": "Description of what this pattern detects"
},
"category": {
"type": "string",
"description": "Category for grouping (e.g., 'Custom', 'Company-Specific')"
},
"enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable this pattern"
}
},
"required": [
"name",
"regex",
"severity"
]
},
"default": [],
"markdownDescription": "Custom user-defined regex patterns with severity levels. Each pattern must have a unique name, valid regex, and severity.",
"scope": "application"
},
"pasteShield.secretManagerProvider": {
"type": "string",
"default": "none",
"enum": [
"none",
"vault",
"aws",
"azure",
"gcp"
],
"enumDescriptions": [
"No secret manager configured \u2014 detected secrets are stored in VS Code SecretStorage (OS keychain)",
"HashiCorp Vault \u2014 credentials are stored securely via VS Code SecretStorage",
"AWS Secrets Manager \u2014 credentials are stored securely via VS Code SecretStorage",
"Azure Key Vault \u2014 credentials are stored securely via VS Code SecretStorage",
"Google Secret Manager \u2014 credentials are stored securely via VS Code SecretStorage"
],
"description": "Select the secret management provider. All provider credentials are stored via VS Code SecretStorage (OS-level keychain) \u2014 never in settings.json.",
"scope": "application"
},
"pasteShield.vaultUrl": {
"type": "string",
"default": "",
"description": "HashiCorp Vault server URL (e.g., https://vault.example.com:8200)",
"scope": "application"
},
"pasteShield.awsRegion": {
"type": "string",
"default": "us-east-1",
"description": "AWS region for Secrets Manager",
"scope": "application"
},
"pasteShield.azureVaultUrl": {
"type": "string",
"default": "",
"description": "Azure Key Vault URL (e.g., https://myvault.vault.azure.net/)",
"scope": "application"
},
"pasteShield.gcpProjectId": {
"type": "string",
"default": "",
"description": "Google Cloud Project ID for Secret Manager",
"scope": "application"
},
"pasteShield.enterpriseMode": {
"type": "boolean",
"default": false,
"description": "Enable enterprise mode for team-wide policy enforcement",
"scope": "machine"
},
"pasteShield.teamPolicyUrl": {
"type": "string",
"default": "",
"markdownDescription": "URL to a shared `.pasteshield-policy.json` file (e.g. hosted on GitHub). Updates propagate to all team members automatically. Enables sticky enterprise tier.",
"scope": "machine"
},
"pasteShield.teamMembers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"type": "string"
},
"role": {
"type": "string",
"enum": [
"admin",
"developer",
"auditor"
]
},
"groups": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"default": [],
"description": "Team members configuration for enterprise deployments",
"scope": "machine"
},
"commitScorer.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable real-time commit message scoring."
},
"commitScorer.conventionalOnly": {
"type": "boolean",
"default": false,
"description": "When true, commit messages that do not follow Conventional Commits format receive a score of 0 for the Format dimension."
},
"commitScorer.bannedWords": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"wip",
"changes",
"update",
"updates",
"fix",
"fixes",
"misc",
"stuff",
"things"
],
"description": "Words that reduce the Clarity score when used as the sole content of a commit subject line."
},
"commitScorer.greenThreshold": {
"type": "number",
"default": 80,
"minimum": 0,
"maximum": 100,
"description": "Minimum score (inclusive) to be considered a green (good) commit message."
},
"commitScorer.yellowThreshold": {
"type": "number",
"default": 50,
"minimum": 0,
"maximum": 100,
"description": "Minimum score (inclusive) to be considered a yellow (acceptable) commit message. Scores below this are red."
},
"commitScorer.showStatusBar": {
"type": "boolean",
"default": true,
"description": "Show the commit score in the VS Code status bar while typing a commit message."
},
"commitScorer.showInlineDecoration": {
"type": "boolean",
"default": true,
"description": "Show inline score hint next to the first line when editing a COMMIT_EDITMSG file."
},
"commitScorer.showQuickFixes": {
"type": "boolean",
"default": true,
"description": "Enable quick-fix actions that can rewrite the commit message to improve its score."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "devToolkit",
"title": "Dev Toolkit",
"icon": "resources/dev-toolkit.svg"
}
]
},
"views": {
"devToolkit": [
{
"id": "devToolkit.codeExplainer",
"type": "webview",
"name": "Code Explainer",
"icon": "$(book)"
},
{
"id": "devToolkit.sessionTracker",
"type": "webview",
"name": "Session Tracker",
"icon": "$(pulse)"
}
],
"explorer": [
{
"id": "pasteShieldHistory",
"name": "PasteShield History",
"icon": "$(history)",
"contextualTitle": "PasteShield"
}
]
},
"commands": [
{
"command": "devToolkit.showFileSize",
"title": "Show File Size",
"category": "Dev Toolkit",
"icon": "$(file)"
},
{
"command": "devToolkit.removeConsoleLogs",
"title": "Remove Console Logs",
"category": "Dev Toolkit",
"icon": "$(trash)"
},
{
"command": "devToolkit.removeUnusedImports",
"title": "Remove Unused Imports",
"category": "Dev Toolkit",
"icon": "$(symbol-namespace)"
},
{
"command": "devToolkit.projectCleanup",
"title": "One-Click Project Cleanup",
"category": "Dev Toolkit",
"icon": "$(clear-all)"
},
{
"command": "devToolkit.explainSelectedCode",
"title": "Explain Selected Code",
"category": "Dev Toolkit",
"icon": "$(book)"
},
{
"command": "devToolkit.showFunctionReferences",
"title": "Show Function References",
"category": "Dev Toolkit",
"icon": "$(references)"
},
{
"command": "devToolkit.showReadTime",
"title": "Show Read Time",
"category": "Dev Toolkit",
"icon": "$(clock)"
},
{
"command": "devToolkit.refreshReferences",
"title": "Refresh Reference Data",
"category": "Dev Toolkit",
"icon": "$(refresh)"
},
{
"command": "devToolkit.showSessionMetrics",
"title": "Show Session Metrics",
"category": "Session Tracker"
},
{
"command": "devToolkit.toggleSessionTracking",
"title": "Toggle Session Tracking",
"category": "Session Tracker"
},
{
"command": "devToolkit.startSession",
"title": "Start Session",
"category": "Session Tracker",
"icon": "$(play)"
},
{
"command": "devToolkit.endSession",
"title": "End Session",
"category": "Session Tracker",
"icon": "$(debug-stop)"
},
{
"command": "devToolkit.openSessionDashboard",
"title": "Open Dashboard",
"category": "Session Tracker",
"icon": "$(graph)"
},
{
"command": "devToolkit.viewAchievements",
"title": "View Achievements",
"category": "Session Tracker",
"icon": "$(star)"
},
{
"command": "devToolkit.viewBadges",
"title": "View Badges",
"category": "Session Tracker",
"icon": "$(verified)"
},
{
"command": "devToolkit.viewHistory",
"title": "View History",
"category": "Session Tracker",
"icon": "$(history)"
},
{
"command": "devToolkit.exportSessionData",
"title": "Export Data",
"category": "Session Tracker",
"icon": "$(export)"
},
{
"command": "devToolkit.resetToday",
"title": "Reset Today",
"category": "Session Tracker",
"icon": "$(discard)"
},
{
"command": "devToolkit.setDailyGoal",
"title": "Set Daily Goal",
"category": "Session Tracker",
"icon": "$(target)"
},
{
"command": "pasteShield.paste",
"title": "Paste (with security scan)",
"category": "PasteShield",
"icon": "$(shield)"
},
{
"command": "pasteShield.toggle",
"title": "Toggle On/Off",
"category": "PasteShield",
"icon": "$(shield)"
},
{
"command": "pasteShield.showLastReport",
"title": "Show Last Scan Report",
"category": "PasteShield",
"icon": "$(output)"
},
{
"command": "pasteShield.showHistory",
"title": "Show History",
"category": "PasteShield",
"icon": "$(history)"
},
{
"command": "pasteShield.codeLensDetails",
"title": "Show Detection Details",
"category": "PasteShield",
"icon": "$(info)"
},
{
"command": "pasteShield.codeLensIgnore",
"title": "Ignore This Pattern",
"category": "PasteShield",
"icon": "$(mute)"
},
{
"command": "pasteShield.codeLensFix",
"title": "Open Ignored Patterns Settings",
"category": "PasteShield",
"icon": "$(settings-gear)"
},
{
"command": "pasteShield.refreshHistory",
"title": "Refresh History",
"category": "PasteShield",
"icon": "$(refresh)"
},
{
"command": "pasteShield.clearHistory",
"title": "Clear History",
"category": "PasteShield",
"icon": "$(clear-all)"
},
{
"command": "pasteShield.exportHistoryJson",
"title": "Export History as JSON",
"category": "PasteShield",
"icon": "$(json)"
},
{
"command": "pasteShield.exportHistoryText",
"title": "Export History as Text",
"category": "PasteShield",
"icon": "$(file-text)"
},
{
"command": "pasteShield.showDetectionDetails",
"title": "Show Detection Details",
"category": "PasteShield",
"icon": "$(info)"
},
{
"command": "pasteShield.showStatistics",
"title": "Show Statistics Dashboard",
"category": "PasteShield",
"icon": "$(graph)"
},
{
"command": "pasteShield.exportAuditLog",
"title": "Export Audit Log",
"category": "PasteShield",
"icon": "$(output)"
},
{
"command": "pasteShield.showRotationReminders",
"title": "Show Secret Rotation Reminders",
"category": "PasteShield",
"icon": "$(clock)"
},
{
"command": "pasteShield.addToWorkspaceIgnore",
"title": "Add to Workspace Ignore List",
"category": "PasteShield",
"icon": "$(list-unordered)"
},
{
"command": "pasteShield.manageCustomPatterns",
"title": "Manage Custom Patterns",
"category": "PasteShield",
"icon": "$(settings-gear)"
},
{
"command": "pasteShield.configureSecretManager",
"title": "Configure Secret Manager",
"category": "PasteShield",
"icon": "$(key)"
},
{
"command": "pasteShield.listStoredSecrets",
"title": "List Stored Secrets",
"category": "PasteShield",
"icon": "$(lock)"
},
{
"command": "pasteShield.showEnterprisePolicy",
"title": "Show Enterprise Policy",
"category": "PasteShield",
"icon": "$(shield)"
},
{
"command": "pasteShield.exportComplianceReport",
"title": "Export Compliance Report",
"category": "PasteShield",
"icon": "$(output)"
},
{
"command": "commitScorer.showQuickFix",
"title": "Commit Scorer: Show Quick Fixes",
"category": "Dev Toolkit",
"icon": "$(graph)"
},
{
"command": "commitScorer.toggle",
"title": "Commit Scorer: Toggle Enable/Disable",
"category": "Dev Toolkit"
},
{
"command": "commitScorer.showReport",
"title": "Commit Scorer: Show Score Report",
"category": "Dev Toolkit"
},
{
"command": "commitScorer.convertToConventional",
"title": "Commit Scorer: Convert to Conventional Commits Format",
"category": "Dev Toolkit"
},
{
"command": "commitScorer.addScope",
"title": "Commit Scorer: Add Scope to Commit Message",
"category": "Dev Toolkit"
}
],
"menus": {
"commandPalette": [
{
"command": "devToolkit.showFunctionReferences",
"when": "false"
},
{
"command": "devToolkit.refreshReferences",
"when": "editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact'"
},
{
"command": "devToolkit.removeUnusedImports",
"when": "editorTextFocus && !editorReadonly && (editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact')"
},
{
"command": "devToolkit.projectCleanup",
"when": "editorTextFocus && !editorReadonly && (editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact')"
},
{
"command": "devToolkit.startSession"
},
{
"command": "devToolkit.endSession"
},
{
"command": "devToolkit.openSessionDashboard"
},
{
"command": "devToolkit.viewAchievements"
},
{
"command": "devToolkit.viewBadges"
},
{
"command": "devToolkit.viewHistory"
},
{
"command": "devToolkit.exportSessionData"
},
{
"command": "devToolkit.resetToday"
},
{
"command": "devToolkit.setDailyGoal"
},
{
"command": "pasteShield.paste",
"when": "false"
},
{
"command": "pasteShield.toggle"
},
{
"command": "pasteShield.showLastReport"
},
{
"command": "pasteShield.showHistory"
},
{
"command": "pasteShield.showStatistics"
},
{
"command": "pasteShield.exportAuditLog"
},
{
"command": "pasteShield.showRotationReminders"
},
{
"command": "pasteShield.addToWorkspaceIgnore"
},
{
"command": "pasteShield.manageCustomPatterns"
},
{
"command": "pasteShield.configureSecretManager"
},
{
"command": "pasteShield.listStoredSecrets"
},
{
"command": "pasteShield.showEnterprisePolicy"
},
{
"command": "pasteShield.exportComplianceReport"
},
{
"command": "pasteShield.codeLensDetails",
"when": "false"
},
{
"command": "pasteShield.codeLensIgnore",
"when": "false"
},
{
"command": "pasteShield.codeLensFix",
"when": "false"
},
{
"command": "pasteShield.refreshHistory",
"when": "false"
},
{
"command": "pasteShield.clearHistory",
"when": "false"
},
{
"command": "pasteShield.showDetectionDetails",
"when": "false"
}
],
"explorer/context": [
{
"command": "devToolkit.showFileSize",
"when": "!explorerResourceIsFolder"
},
{
"command": "devToolkit.removeConsoleLogs",
"when": "!explorerResourceIsFolder"
}
],
"editor/context": [
{
"command": "devToolkit.showFileSize",
"when": "editorTextFocus"
},
{
"command": "devToolkit.removeConsoleLogs",
"when": "editorTextFocus && !editorReadonly"
},
{
"command": "devToolkit.removeUnusedImports",
"when": "editorTextFocus && !editorReadonly && (editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact')"
},
{
"command": "devToolkit.projectCleanup",
"when": "editorTextFocus && !editorReadonly && (editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact')",
"group": "modification"
},
{
"command": "devToolkit.explainSelectedCode",
"when": "editorTextFocus && editorHasSelection"
},
{
"command": "devToolkit.showFunctionReferences",
"when": "editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact'",
"group": "references"
},
{
"submenu": "pasteShield.editorMenu",
"group": "9_cutcopypaste@5"
},
{
"command": "pasteShield.toggle",
"when": "editorTextFocus",
"group": "pasteShield@1"
},
{
"command": "pasteShield.showLastReport",
"when": "editorTextFocus",
"group": "pasteShield@2"
}
],
"editor/title": [
{
"command": "devToolkit.refreshReferences",
"when": "editorLangId == 'javascript' || editorLangId == 'typescript' || editorLangId == 'javascriptreact' || editorLangId == 'typescriptreact'",
"group": "navigation"
}
],
"pasteShield.editorMenu": [
{
"command": "pasteShield.paste",
"group": "1_paste@1"
},
{
"command": "pasteShield.toggle",
"group": "2_actions@1"
},
{
"command": "pasteShield.showLastReport",
"group": "2_actions@2"
},
{
"command": "pasteShield.showHistory",
"group": "2_actions@3"
},
{
"command": "pasteShield.showStatistics",
"group": "3_analysis@1"
},
{
"command": "pasteShield.manageCustomPatterns",
"group": "4_advanced@1"
},
{
"command": "pasteShield.configureSecretManager",
"group": "4_advanced@2"
},
{
"command": "pasteShield.showEnterprisePolicy",
"group": "4_advanced@3"
}
],
"view/title": [
{
"command": "pasteShield.refreshHistory",
"when": "view == pasteShieldHistory",
"group": "navigation"
},
{
"command": "pasteShield.clearHistory",
"when": "view == pasteShieldHistory",
"group": "navigation"
},
{
"command": "pasteShield.exportHistoryJson",
"when": "view == pasteShieldHistory",
"group": "secondary"
},
{