Commit c6b7c62
fix(tool_registry): wrap crash-safe README example in activity block
The simple-loop example was already wrapped in `activity :analyze do`,
but the crash-safe example jumped straight to `run_with_session`. The
wrapper is required (heartbeat reads need an activity context); add it
for consistency with the other five SDK READMEs.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent bc9b6c3 commit c6b7c62
1 file changed
Lines changed: 13 additions & 11 deletions
Lines changed: 13 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
0 commit comments