Skip to content

Commit 15deac5

Browse files
abrichrclaude
andcommitted
feat: make send_profile opt-in CLI flag, add magic-wormhole as regular dep
Profiling data is no longer auto-sent via wormhole after every recording. Use --send_profile flag to opt in. Also promotes magic-wormhole from optional [share] extra to a regular dependency since sharing is core functionality. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 888b603 commit 15deac5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

openadapt_capture/recorder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,8 +1820,9 @@ def join_tasks(task_names: list[str]) -> None:
18201820
f"FPS={config.SCREEN_CAPTURE_FPS}")
18211821
print("=========================\n")
18221822

1823-
# Auto-send profiling via wormhole
1824-
_send_profiling_via_wormhole(_profile_path)
1823+
# Auto-send profiling via wormhole if requested
1824+
if send_profile:
1825+
_send_profiling_via_wormhole(_profile_path)
18251826
except Exception as exc:
18261827
logger.warning(f"Profiling save/send failed: {exc}")
18271828

0 commit comments

Comments
 (0)