Stacking both features on the same event produces duplicate, delayed notifications — delivery is async and continues firing after the process exits, so matches on end-of-run markers (SUMMARY, DONE, PASS) arrive after the agent has already polled/waited and moved on. Updates both the terminal tool JSON schema description and the terminal_tool() function docstring to make the split explicit: - watch_patterns: mid-process signals only (errors, readiness markers, intermediate steps you want to react to before the process exits) - notify_on_complete: end-of-run completion signal No behavioural change.
74 KiB
74 KiB