Skip to content

Add screen-recording and microphone permission API#23

Merged
kemsta merged 1 commit into
mainfrom
permissions-api
Jun 10, 2026
Merged

Add screen-recording and microphone permission API#23
kemsta merged 1 commit into
mainfrom
permissions-api

Conversation

@kemsta

@kemsta kemsta commented Jun 10, 2026

Copy link
Copy Markdown
Owner

No description provided.

screen_capture_access(prompt) wraps CGPreflight/CGRequestScreenCaptureAccess;
microphone_access(prompt) wraps AVCaptureDevice authorization. Exposed as
macloop.screen_capture_access() / macloop.microphone_access() for callers
that need to check TCC permissions before starting capture.
@kemsta kemsta force-pushed the permissions-api branch from b12a6e4 to 2bd4bc2 Compare June 10, 2026 09:35
@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 2.85714% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.81%. Comparing base (571e742) to head (2bd4bc2).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
core_engine/src/permissions.rs 0.00% 21 Missing ⚠️
python_ffi/src/lib.rs 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   68.47%   68.81%   +0.34%     
==========================================
  Files          14       15       +1     
  Lines        5421     6106     +685     
==========================================
+ Hits         3712     4202     +490     
- Misses       1709     1904     +195     
Flag Coverage Δ
python 94.19% <100.00%> (+4.01%) ⬆️
rust 65.86% <0.00%> (-0.61%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kemsta kemsta merged commit 705c8ca into main Jun 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant