Skip to content

Commit 8cb3324

Browse files
committed
chore: add input monitoring privileges and update privilege descriptions
1 parent d7795c1 commit 8cb3324

File tree

3 files changed

+57
-29
lines changed

3 files changed

+57
-29
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"full-disk-access",
1212
"screen-recording",
1313
"microphone",
14-
"camera"
14+
"camera",
15+
"input-monitoring"
1516
],
1617
"repository": {
1718
"type": "git",

permissions/autogenerated/reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Default permissions for the plugin
44

5+
#### This default permission set includes the following:
6+
57
- `allow-check-accessibility-permission`
68
- `allow-request-accessibility-permission`
79
- `allow-check-full-disk-access-permission`

permissions/schemas/schema.json

Lines changed: 53 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"minimum": 1.0
5050
},
5151
"description": {
52-
"description": "Human-readable description of what the permission does. Tauri convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
52+
"description": "Human-readable description of what the permission does. Tauri convention is to use `<h4>` headings in markdown content for Tauri documentation generation purposes.",
5353
"type": [
5454
"string",
5555
"null"
@@ -111,7 +111,7 @@
111111
"type": "string"
112112
},
113113
"description": {
114-
"description": "Human-readable description of what the permission does. Tauri internal convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
114+
"description": "Human-readable description of what the permission does. Tauri internal convention is to use `<h4>` headings in markdown content for Tauri documentation generation purposes.",
115115
"type": [
116116
"string",
117117
"null"
@@ -297,127 +297,152 @@
297297
{
298298
"description": "Enables the check_accessibility_permission command without any pre-configured scope.",
299299
"type": "string",
300-
"const": "allow-check-accessibility-permission"
300+
"const": "allow-check-accessibility-permission",
301+
"markdownDescription": "Enables the check_accessibility_permission command without any pre-configured scope."
301302
},
302303
{
303304
"description": "Denies the check_accessibility_permission command without any pre-configured scope.",
304305
"type": "string",
305-
"const": "deny-check-accessibility-permission"
306+
"const": "deny-check-accessibility-permission",
307+
"markdownDescription": "Denies the check_accessibility_permission command without any pre-configured scope."
306308
},
307309
{
308310
"description": "Enables the check_camera_permission command without any pre-configured scope.",
309311
"type": "string",
310-
"const": "allow-check-camera-permission"
312+
"const": "allow-check-camera-permission",
313+
"markdownDescription": "Enables the check_camera_permission command without any pre-configured scope."
311314
},
312315
{
313316
"description": "Denies the check_camera_permission command without any pre-configured scope.",
314317
"type": "string",
315-
"const": "deny-check-camera-permission"
318+
"const": "deny-check-camera-permission",
319+
"markdownDescription": "Denies the check_camera_permission command without any pre-configured scope."
316320
},
317321
{
318322
"description": "Enables the check_full_disk_access_permission command without any pre-configured scope.",
319323
"type": "string",
320-
"const": "allow-check-full-disk-access-permission"
324+
"const": "allow-check-full-disk-access-permission",
325+
"markdownDescription": "Enables the check_full_disk_access_permission command without any pre-configured scope."
321326
},
322327
{
323328
"description": "Denies the check_full_disk_access_permission command without any pre-configured scope.",
324329
"type": "string",
325-
"const": "deny-check-full-disk-access-permission"
330+
"const": "deny-check-full-disk-access-permission",
331+
"markdownDescription": "Denies the check_full_disk_access_permission command without any pre-configured scope."
326332
},
327333
{
328334
"description": "Enables the check_input_monitoring_permission command without any pre-configured scope.",
329335
"type": "string",
330-
"const": "allow-check-input-monitoring-permission"
336+
"const": "allow-check-input-monitoring-permission",
337+
"markdownDescription": "Enables the check_input_monitoring_permission command without any pre-configured scope."
331338
},
332339
{
333340
"description": "Denies the check_input_monitoring_permission command without any pre-configured scope.",
334341
"type": "string",
335-
"const": "deny-check-input-monitoring-permission"
342+
"const": "deny-check-input-monitoring-permission",
343+
"markdownDescription": "Denies the check_input_monitoring_permission command without any pre-configured scope."
336344
},
337345
{
338346
"description": "Enables the check_microphone_permission command without any pre-configured scope.",
339347
"type": "string",
340-
"const": "allow-check-microphone-permission"
348+
"const": "allow-check-microphone-permission",
349+
"markdownDescription": "Enables the check_microphone_permission command without any pre-configured scope."
341350
},
342351
{
343352
"description": "Denies the check_microphone_permission command without any pre-configured scope.",
344353
"type": "string",
345-
"const": "deny-check-microphone-permission"
354+
"const": "deny-check-microphone-permission",
355+
"markdownDescription": "Denies the check_microphone_permission command without any pre-configured scope."
346356
},
347357
{
348358
"description": "Enables the check_screen_recording_permission command without any pre-configured scope.",
349359
"type": "string",
350-
"const": "allow-check-screen-recording-permission"
360+
"const": "allow-check-screen-recording-permission",
361+
"markdownDescription": "Enables the check_screen_recording_permission command without any pre-configured scope."
351362
},
352363
{
353364
"description": "Denies the check_screen_recording_permission command without any pre-configured scope.",
354365
"type": "string",
355-
"const": "deny-check-screen-recording-permission"
366+
"const": "deny-check-screen-recording-permission",
367+
"markdownDescription": "Denies the check_screen_recording_permission command without any pre-configured scope."
356368
},
357369
{
358370
"description": "Enables the request_accessibility_permission command without any pre-configured scope.",
359371
"type": "string",
360-
"const": "allow-request-accessibility-permission"
372+
"const": "allow-request-accessibility-permission",
373+
"markdownDescription": "Enables the request_accessibility_permission command without any pre-configured scope."
361374
},
362375
{
363376
"description": "Denies the request_accessibility_permission command without any pre-configured scope.",
364377
"type": "string",
365-
"const": "deny-request-accessibility-permission"
378+
"const": "deny-request-accessibility-permission",
379+
"markdownDescription": "Denies the request_accessibility_permission command without any pre-configured scope."
366380
},
367381
{
368382
"description": "Enables the request_camera_permission command without any pre-configured scope.",
369383
"type": "string",
370-
"const": "allow-request-camera-permission"
384+
"const": "allow-request-camera-permission",
385+
"markdownDescription": "Enables the request_camera_permission command without any pre-configured scope."
371386
},
372387
{
373388
"description": "Denies the request_camera_permission command without any pre-configured scope.",
374389
"type": "string",
375-
"const": "deny-request-camera-permission"
390+
"const": "deny-request-camera-permission",
391+
"markdownDescription": "Denies the request_camera_permission command without any pre-configured scope."
376392
},
377393
{
378394
"description": "Enables the request_full_disk_access_permission command without any pre-configured scope.",
379395
"type": "string",
380-
"const": "allow-request-full-disk-access-permission"
396+
"const": "allow-request-full-disk-access-permission",
397+
"markdownDescription": "Enables the request_full_disk_access_permission command without any pre-configured scope."
381398
},
382399
{
383400
"description": "Denies the request_full_disk_access_permission command without any pre-configured scope.",
384401
"type": "string",
385-
"const": "deny-request-full-disk-access-permission"
402+
"const": "deny-request-full-disk-access-permission",
403+
"markdownDescription": "Denies the request_full_disk_access_permission command without any pre-configured scope."
386404
},
387405
{
388406
"description": "Enables the request_input_monitoring_permission command without any pre-configured scope.",
389407
"type": "string",
390-
"const": "allow-request-input-monitoring-permission"
408+
"const": "allow-request-input-monitoring-permission",
409+
"markdownDescription": "Enables the request_input_monitoring_permission command without any pre-configured scope."
391410
},
392411
{
393412
"description": "Denies the request_input_monitoring_permission command without any pre-configured scope.",
394413
"type": "string",
395-
"const": "deny-request-input-monitoring-permission"
414+
"const": "deny-request-input-monitoring-permission",
415+
"markdownDescription": "Denies the request_input_monitoring_permission command without any pre-configured scope."
396416
},
397417
{
398418
"description": "Enables the request_microphone_permission command without any pre-configured scope.",
399419
"type": "string",
400-
"const": "allow-request-microphone-permission"
420+
"const": "allow-request-microphone-permission",
421+
"markdownDescription": "Enables the request_microphone_permission command without any pre-configured scope."
401422
},
402423
{
403424
"description": "Denies the request_microphone_permission command without any pre-configured scope.",
404425
"type": "string",
405-
"const": "deny-request-microphone-permission"
426+
"const": "deny-request-microphone-permission",
427+
"markdownDescription": "Denies the request_microphone_permission command without any pre-configured scope."
406428
},
407429
{
408430
"description": "Enables the request_screen_recording_permission command without any pre-configured scope.",
409431
"type": "string",
410-
"const": "allow-request-screen-recording-permission"
432+
"const": "allow-request-screen-recording-permission",
433+
"markdownDescription": "Enables the request_screen_recording_permission command without any pre-configured scope."
411434
},
412435
{
413436
"description": "Denies the request_screen_recording_permission command without any pre-configured scope.",
414437
"type": "string",
415-
"const": "deny-request-screen-recording-permission"
438+
"const": "deny-request-screen-recording-permission",
439+
"markdownDescription": "Denies the request_screen_recording_permission command without any pre-configured scope."
416440
},
417441
{
418-
"description": "Default permissions for the plugin",
442+
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-check-accessibility-permission`\n- `allow-request-accessibility-permission`\n- `allow-check-full-disk-access-permission`\n- `allow-request-full-disk-access-permission`\n- `allow-check-screen-recording-permission`\n- `allow-request-screen-recording-permission`\n- `allow-check-microphone-permission`\n- `allow-request-microphone-permission`\n- `allow-check-camera-permission`\n- `allow-request-camera-permission`\n- `allow-check-input-monitoring-permission`\n- `allow-request-input-monitoring-permission`",
419443
"type": "string",
420-
"const": "default"
444+
"const": "default",
445+
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-check-accessibility-permission`\n- `allow-request-accessibility-permission`\n- `allow-check-full-disk-access-permission`\n- `allow-request-full-disk-access-permission`\n- `allow-check-screen-recording-permission`\n- `allow-request-screen-recording-permission`\n- `allow-check-microphone-permission`\n- `allow-request-microphone-permission`\n- `allow-check-camera-permission`\n- `allow-request-camera-permission`\n- `allow-check-input-monitoring-permission`\n- `allow-request-input-monitoring-permission`"
421446
}
422447
]
423448
}

0 commit comments

Comments
 (0)