The best way to control Claude Code, Codex and more from any computer or phone
fix(desktop): declare Calendar access for hosted commands (#21592)
Co-authored-by: maria-rcks <maria@kuuro.net>
Lenori committed
Nov 8, 2026 at 21:43 UTC
bc929737227655404caae7805ae54b6f32c1e6c7
2 files changed
+33
scripts/build-desktop-artifact.test.ts
+27
@@ -547,6 +547,33 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
547
),
548
);
549
550
+ it.effect("declares Calendar access for hosted commands in macOS builds", () =>
551
+ Effect.gen(function* () {
552
+ for (const version of ["0.1.0", "0.1.1-nightly.20261019.1"]) {
553
+ for (const signed of [false, true]) {
554
+ const config = yield* createBuildConfig(
555
+ "mac",
556
+ "dmg",
557
+ version,
558
+ signed,
559
+ false,
560
+ undefined,
561
+ undefined,
562
+ );
563
+ const mac = config.mac as { extendInfo: Record<string, unknown> };
564
+ for (const key of [
565
+ "NSCalendarsUsageDescription",
566
+ "NSCalendarsFullAccessUsageDescription",
567
+ "NSCalendarsWriteOnlyAccessUsageDescription",
568
+ ]) {
569
+ assert.isString(mac.extendInfo[key], `${version}, signed=${signed}: ${key}`);
570
+ assert.isNotEmpty(mac.extendInfo[key]);
571
+ }
572
+ }
573
+ }
574
+ }),
575
+ );
576
+
577
// pnpm writes "set this to true or false" placeholders into allowBuilds when a
578
// tarball changes. pnpm ignores them, but the release build decode rejects them.
579
it.effect("decodes the repo allowBuilds and every file: tarball it names exists", () =>
scripts/build-desktop-artifact.ts
+6
@@ -2837,6 +2837,12 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
2837
NSAutoFillRequiresTextContentTypeForOneTimeCodeOnMac: true,
2838
NSLocalNetworkUsageDescription:
2839
"T3 Code connects to devices on your local network for remote environments and commands run by terminals and coding agents.",
2840
+ NSCalendarsUsageDescription:
2841
+ "Commands you run in T3 Code may need access to your calendars.",
2842
+ NSCalendarsFullAccessUsageDescription:
2843
+ "Commands you run in T3 Code may need to read and write your calendar events.",
2844
+ NSCalendarsWriteOnlyAccessUsageDescription:
2845
+ "Commands you run in T3 Code may need to add events to your calendars.",
2846
NSScreenCaptureUsageDescription:
2847
"T3 Code captures the active window when you use the window capture shortcut.",
2848
NSCameraUsageDescription: