From 337ae05ed893a4796cd19ac8f121aaece07c0a30 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 12 Dec 2025 18:40:09 +0000 Subject: [PATCH] build(mac): enable time-sensitive notifications --- docs/clawdis-mac.md | 2 +- scripts/codesign-mac-app.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/clawdis-mac.md b/docs/clawdis-mac.md index f992dfdd6..b2970e7f3 100644 --- a/docs/clawdis-mac.md +++ b/docs/clawdis-mac.md @@ -64,7 +64,7 @@ struct Response { ok: Bool; message?: String; payload?: Data } ## CLI (`clawdis-mac`) - Subcommands (JSON out, non-zero exit on failure): - - `notify --title --body [--sound]` + - `notify --title --body [--sound] [--priority passive|active|timeSensitive]` - `ensure-permissions --cap accessibility --cap screenRecording [--interactive]` - `screenshot [--display-id N | --window-id N] [--out path]` - `run -- cmd args... [--cwd] [--env KEY=VAL] [--timeout 30] [--needs-screen-recording]` diff --git a/scripts/codesign-mac-app.sh b/scripts/codesign-mac-app.sh index 34bf93ad9..25f000527 100755 --- a/scripts/codesign-mac-app.sh +++ b/scripts/codesign-mac-app.sh @@ -49,6 +49,8 @@ cat > "$ENT_TMP" <<'PLIST' + com.apple.developer.usernotifications.time-sensitive + com.apple.security.hardened-runtime com.apple.security.cs.allow-jit